/* ==========================================================================
   SYSTEM GT — MÁS QUE SOLUCIONES, UN BUEN SERVICIO
   White Theme: OPCIÓN 1 "Tech Vibrant" + Footer Azul & Divisores Elegantes
   Primary Gradient Palette: #0761A6 -> #066FAF -> #0B80B8 -> #0492C3 -> #02A0CC
   ========================================================================== */

/* --- CSS Variables & Design Tokens --- */
:root {
  /* White Theme Background Palette */
  --color-bg-deep: #FFFFFF;
  --color-bg-graphite: #F8FAFC;
  --color-graphite: #F1F5F9;

  /* Official System GT Gradient Palette */
  --grad-stop-1: #0761A6;
  --grad-stop-2: #066FAF;
  --grad-stop-3: #0B80B8;
  --grad-stop-4: #0492C3;
  --grad-stop-5: #02A0CC;

  --color-primary: #0761A6;
  --color-primary-dark: #044375;
  --color-primary-cyan: #02A0CC;
  --color-dark: #0F172A;            /* Título y texto de alto contraste */
  --color-white: #0F172A;           /* Asignado a tono oscuro para compatibilidad de títulos */
  --color-pure-white: #FFFFFF;      /* Blanco puro para botones, iconos y badges */
  --color-gray-light: #334155;      /* Párrafos legibles en gris oscuro */
  --color-gray-muted: #64748B;

  /* Surface & Component Colors */
  --card-bg: #FFFFFF;
  --card-bg-hover: #FFFFFF;
  --card-border: rgba(7, 97, 166, 0.16);
  --card-shadow: 0 8px 24px -4px rgba(7, 97, 166, 0.10);
  --card-shadow-hover: 0 16px 36px -6px rgba(7, 97, 166, 0.22), 0 0 20px rgba(2, 160, 204, 0.14);

  /* Master Gradient (Botones, Iconos, Bordes Activos) */
  --gradient-brand: linear-gradient(135deg, #0761A6 0%, #066FAF 25%, #0B80B8 50%, #0492C3 75%, #02A0CC 100%);
  --gradient-brand-h: linear-gradient(90deg, #0761A6 0%, #066FAF 25%, #0B80B8 50%, #0492C3 75%, #02A0CC 100%);
  --gradient-text: linear-gradient(135deg, #0761A6 0%, #02A0CC 100%);
  --gradient-text-alt: linear-gradient(135deg, #02A0CC 0%, #0761A6 100%);

  /* Typography - Poppins */
  --font-heading: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Layout & Responsive Units */
  --header-height: 72px;
  --topbar-height: 46px;
  --transition-smooth: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
}

/* --- Base & Universal Reset --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  font-family: var(--font-body);
  background-color: #F8FAFC;
  color: var(--color-dark);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  width: 100%;
}

body {
  font-family: var(--font-body);
  font-weight: 300;
  background-color: #F8FAFC;
  background-image: 
    radial-gradient(ellipse 65% 45% at 85% 15%, rgba(7, 97, 166, 0.09) 0%, transparent 55%),
    radial-gradient(ellipse 55% 40% at 15% 50%, rgba(2, 160, 204, 0.08) 0%, transparent 55%),
    radial-gradient(ellipse 65% 45% at 85% 85%, rgba(7, 97, 166, 0.09) 0%, transparent 60%);
  background-attachment: fixed;
  background-size: cover;
  background-repeat: no-repeat;
  color: var(--color-gray-light);
  line-height: 1.65;
  width: 100%;
  min-height: 100vh;
  position: relative;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-smooth);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul {
  list-style: none;
}

/* --- Fluid Container --- */
.container-fluid {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4.5vw, 4rem);
  position: relative;
  z-index: 1;
}

/* --- Top Bar (Azul Corporativo Sólido con Textos Blancos) --- */
.top-bar {
  background: linear-gradient(90deg, #0761A6 0%, #066FAF 35%, #0492C3 100%);
  border-bottom: 1px solid rgba(2, 160, 204, 0.35);
  font-size: 0.8125rem;
  padding: 0.6rem 0;
  position: relative;
  z-index: 100;
  width: 100%;
  box-shadow: 0 2px 10px rgba(7, 97, 166, 0.20);
}

.top-bar__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.top-bar__socials {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.top-social-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  transition: var(--transition-smooth);
}

.top-social-icon:hover {
  background: #FFFFFF;
  color: var(--color-primary);
  border-color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

.top-bar__contacts {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.top-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.8125rem;
  color: #FFFFFF;
  letter-spacing: 0.02em;
}

.top-link:hover {
  color: #E0F2FE;
  text-decoration: underline;
}

.top-divider {
  color: rgba(255, 255, 255, 0.45);
}

/* --- Clean Centered Navigation Bar (Light Mode) --- */
.navbar--clean {
  position: sticky;
  top: 0;
  z-index: 999;
  width: 100%;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(7, 97, 166, 0.14);
  transition: background 0.5s ease, border-color 0.5s ease, box-shadow 0.5s ease;
}

.navbar--clean.scrolled {
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 2px solid var(--color-primary);
  box-shadow: 0 8px 24px rgba(7, 97, 166, 0.10);
}

.navbar__inner-clean {
  display: flex;
  align-items: center;
  justify-content: center;
  height: var(--header-height);
  position: relative;
}

/* Sticky Brand Isotype */
.navbar__sticky-brand {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%) translateX(-25px) scale(0.90);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  display: flex;
  align-items: center;
  transition: opacity 1.4s cubic-bezier(0.25, 1, 0.5, 1), transform 1.4s cubic-bezier(0.25, 1, 0.5, 1), visibility 1.4s ease;
  z-index: 10;
  will-change: opacity, transform;
}

.navbar__sticky-logo {
  height: clamp(32px, 3.5vw, 40px);
  width: auto;
  filter: drop-shadow(0 4px 12px rgba(7, 97, 166, 0.25));
  transition: transform 0.3s ease;
}

.navbar__sticky-brand:hover .navbar__sticky-logo {
  transform: scale(1.08);
}

.navbar--clean.scrolled .navbar__sticky-brand {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(-50%) translateX(0) scale(1);
}

.nav-menu--centered {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1.25rem, 3.5vw, 3rem);
}

.nav-link {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: #1E293B;
  position: relative;
  padding: 0.5rem 0;
  text-transform: uppercase;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 3px;
  background: var(--gradient-brand-h);
  transition: var(--transition-smooth);
  transform: translateX(-50%);
  border-radius: 2px;
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-primary);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* Mobile Toggle Hamburger */
.menu-toggle {
  display: none;
  position: absolute;
  right: 1.5rem;
  flex-direction: column;
  justify-content: space-around;
  width: 32px;
  height: 28px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
}

.menu-toggle .bar {
  width: 100%;
  height: 2.5px;
  background-color: #0F172A;
  border-radius: 4px;
  transition: var(--transition-smooth);
}

.menu-toggle.open .bar:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.menu-toggle.open .bar:nth-child(2) {
  opacity: 0;
}

.menu-toggle.open .bar:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  top: calc(var(--header-height) + var(--topbar-height));
  left: 0;
  width: 100%;
  height: calc(100vh - (var(--header-height) + var(--topbar-height)));
  height: calc(100dvh - (var(--header-height) + var(--topbar-height)));
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border-bottom: 2px solid var(--color-primary);
  padding: 3rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transform: translateY(-150%);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease, visibility 0.3s ease;
  z-index: 998;
}

.mobile-drawer.open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.75rem;
}

.mobile-link {
  font-family: var(--font-heading);
  font-size: clamp(1.15rem, 4.5vw, 1.5rem);
  font-weight: 600;
  color: #0F172A;
  text-transform: uppercase;
  display: block;
}

.mobile-link.active {
  color: var(--color-primary);
}

/* --- Buttons & UI Elements --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  font-family: var(--font-heading);
  font-weight: 700;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition-smooth);
  border: 1px solid transparent;
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.btn--sm {
  padding: 0.55rem 1.15rem;
  font-size: 0.8125rem;
}

.btn--md {
  padding: 0.85rem 1.75rem;
  font-size: 0.9375rem;
}

.btn--lg {
  padding: 0.95rem 2rem;
  font-size: 1rem;
}

.btn--xl {
  padding: clamp(1rem, 2.2vw, 1.35rem) clamp(2.25rem, 4.5vw, 3.5rem);
  font-size: clamp(1rem, 1.5vw, 1.25rem);
}

.btn--block {
  width: 100%;
}

.btn--primary {
  background: var(--gradient-brand);
  color: #FFFFFF;
  box-shadow: 0 6px 20px rgba(7, 97, 166, 0.35);
  position: relative;
  overflow: hidden;
}

.btn--primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.6s ease;
}

.btn--primary:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
  box-shadow: 0 8px 25px rgba(2, 160, 204, 0.45);
}

.btn--primary:hover::before {
  left: 100%;
}

.btn--secondary {
  background: rgba(7, 97, 166, 0.08);
  color: var(--color-primary);
  border-color: rgba(7, 97, 166, 0.25);
  backdrop-filter: blur(10px);
}

.btn--secondary:hover {
  background: var(--gradient-brand);
  color: #FFFFFF;
  border-color: transparent;
  transform: translateY(-2px);
}

/* Gradient Text Utilities */
.gradient-text {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-text-alt {
  background: var(--gradient-text-alt);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* --- 100% Screen Height Immersion System + Divisores Lineales Elegantes --- */
.hero--fullscreen,
.section--fullscreen {
  position: relative;
}

.section--fullscreen {
  min-height: 100vh;
  min-height: 100dvh;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(4.5rem, 8.5vh, 6.5rem) 0;
  z-index: 1;
}

/* Línea Divisoria Elegante en Degradado (Hero y Secciones) */
.hero--fullscreen::after,
.section--fullscreen::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(88%, 920px);
  height: 1.5px;
  background: linear-gradient(90deg, transparent 0%, rgba(7, 97, 166, 0.20) 25%, rgba(2, 160, 204, 0.65) 50%, rgba(7, 97, 166, 0.20) 75%, transparent 100%);
}

/* En la última sección antes del footer no se duplica el divisor */
.section--contacto::after {
  display: none;
}

.section__inner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
}

/* --- Hero Section (100vh Screen Center) --- */
.hero--fullscreen {
  min-height: calc(100vh - var(--header-height) - var(--topbar-height));
  min-height: calc(100dvh - var(--header-height) - var(--topbar-height));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 0;
}

.hero__container-centered {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
  max-width: 1100px;
}

/* 1. Hero Official Logo Presentation */
.hero__logo-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: clamp(0.5rem, 1.2vh, 0.85rem);
  width: 100%;
}

.logo-official-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.hero__official-logo-img {
  width: clamp(300px, 34vw, 440px);
  height: auto;
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0 14px 30px rgba(7, 97, 166, 0.20));
}

/* Smooth Floating Levitation */
.floating-infinity {
  animation: floatInfinity 5.5s ease-in-out infinite alternate;
}

@keyframes floatInfinity {
  0% {
    transform: translateY(0px) scale(1);
    filter: drop-shadow(0 10px 20px rgba(7, 97, 166, 0.15));
  }
  50% {
    transform: translateY(-16px) scale(1.02);
    filter: drop-shadow(0 20px 35px rgba(2, 160, 204, 0.25));
  }
  100% {
    transform: translateY(0px) scale(1);
    filter: drop-shadow(0 10px 20px rgba(7, 97, 166, 0.15));
  }
}

/* 2. Centered Slogan / Title */
.hero__title-sober {
  font-family: var(--font-heading);
  font-size: clamp(1.1rem, 2.1vw, 1.55rem);
  font-weight: 500;
  line-height: 1.4;
  color: #1E293B;
  letter-spacing: 0.02em;
  white-space: nowrap;
  max-width: 100%;
  margin: 0 auto clamp(3.5rem, 6.2vh, 4.85rem);
}

/* 3. Centered Button */
.hero__cta-center {
  display: flex;
  justify-content: center;
  width: 100%;
}

/* --- Section Global Structure --- */
.section-header {
  text-align: center;
  max-width: 820px;
  margin: 0 auto clamp(2.5rem, 5vh, 4rem);
  width: 100%;
}

.section-title {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 2.4vw, 2.1rem);
  font-weight: 800;
  line-height: 1.25;
  color: #0F172A;
  margin-bottom: 1.25rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.section-title svg,
.title-icon-esencia {
  width: 34px;
  height: 34px;
  color: var(--color-primary);
  flex-shrink: 0;
}

.section-divider {
  width: 60px;
  height: 4px;
  background: var(--gradient-brand-h);
  margin: 0 auto 1.5rem;
  border-radius: 2px;
}

.section-subtitle {
  font-size: clamp(0.95rem, 1.2vw, 1.075rem);
  color: var(--color-gray-light);
  line-height: 1.8;
  text-align: justify;
  text-justify: inter-word;
}

.section-subtitle p:not(:last-child) {
  margin-bottom: 1.25rem;
}

.section-subtitle--centered {
  text-align: center;
}

/* --- Section: Nosotros / Pillars Grid --- */
.section--nosotros {
  background: transparent;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(clamp(280px, 28vw, 380px), 1fr));
  gap: clamp(1.25rem, 2vw, 2rem);
  width: 100%;
}

.pillar-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 3.5vw, 3rem);
  box-shadow: var(--card-shadow);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Borde Superior 4px Permanente */
.pillar-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-brand-h);
  opacity: 1;
}

.pillar-card:hover {
  background: var(--card-bg-hover);
  border-color: var(--color-primary-cyan);
  transform: translateY(-5px);
  box-shadow: var(--card-shadow-hover);
}

.pillar-icon-box {
  width: 62px;
  height: 62px;
  background: var(--gradient-brand);
  border: 1px solid rgba(2, 160, 204, 0.4);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  margin-bottom: 1.5rem;
  box-shadow: 0 8px 18px rgba(7, 97, 166, 0.28);
  transition: var(--transition-smooth);
}

.pillar-card:hover .pillar-icon-box {
  transform: scale(1.08);
  box-shadow: 0 10px 24px rgba(2, 160, 204, 0.45);
}

.pillar-title {
  font-family: var(--font-heading);
  font-size: clamp(1.35rem, 1.8vw, 1.65rem);
  font-weight: 700;
  color: #0F172A;
  margin-bottom: 1rem;
  line-height: 1.25;
}

.pillar-desc {
  font-size: clamp(0.875rem, 1.1vw, 0.95rem);
  color: var(--color-gray-light);
  line-height: 1.65;
  text-align: justify;
  text-justify: inter-word;
}

/* --- Section: Servicios --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(clamp(320px, 45vw, 580px), 1fr));
  gap: clamp(1.5rem, 2.5vw, 2.25rem);
  width: 100%;
}

.service-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 3.5vw, 3rem);
  box-shadow: var(--card-shadow);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

/* Borde Superior 4px Permanente */
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-brand-h);
  opacity: 1;
}

.service-card:hover {
  background: var(--card-bg-hover);
  border-color: var(--color-primary-cyan);
  transform: translateY(-5px);
  box-shadow: var(--card-shadow-hover);
}

.service-card__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.service-icon-wrapper {
  width: 62px;
  height: 62px;
  background: var(--gradient-brand);
  border: 1px solid rgba(2, 160, 204, 0.4);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  box-shadow: 0 8px 18px rgba(7, 97, 166, 0.28);
  transition: var(--transition-smooth);
}

.service-card:hover .service-icon-wrapper {
  transform: scale(1.08);
  box-shadow: 0 10px 24px rgba(2, 160, 204, 0.45);
}

.service-number {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--color-primary);
  background: rgba(7, 97, 166, 0.08);
  border: 1px solid rgba(7, 97, 166, 0.20);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-sm);
  letter-spacing: 0.05em;
}

.service-title {
  font-family: var(--font-heading);
  font-size: clamp(1.35rem, 1.8vw, 1.65rem);
  font-weight: 700;
  color: #0F172A;
  margin-bottom: 1rem;
  line-height: 1.25;
}

.service-desc {
  font-size: clamp(0.9rem, 1.1vw, 0.975rem);
  color: var(--color-gray-light);
  line-height: 1.7;
  margin-bottom: 1.75rem;
  text-align: justify;
  text-justify: inter-word;
}

.service-features {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
  margin-top: auto;
}

.service-features li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: clamp(0.825rem, 1vw, 0.9rem);
  color: #1E293B;
  font-weight: 600;
}

.service-features svg {
  color: var(--color-primary);
  flex-shrink: 0;
  background: rgba(7, 97, 166, 0.10);
  border-radius: 50%;
  padding: 2px;
}

.service-card__cta {
  padding-top: 1.25rem;
  border-top: 1px solid rgba(7, 97, 166, 0.12);
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--color-primary);
  background: rgba(7, 97, 166, 0.08);
  border: 1px solid rgba(7, 97, 166, 0.22);
  padding: 0.55rem 1.25rem;
  border-radius: var(--radius-sm);
  transition: var(--transition-smooth);
}

.service-link:hover {
  background: var(--gradient-brand);
  color: #FFFFFF;
  border-color: transparent;
  transform: translateX(4px);
  box-shadow: 0 4px 14px rgba(7, 97, 166, 0.25);
}

/* --- Section: Formas de Pago --- */
.section--pago {
  background: transparent;
}

.payment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(clamp(320px, 45vw, 580px), 1fr));
  gap: clamp(1.5rem, 2.5vw, 2.25rem);
  margin-bottom: 2.5rem;
  width: 100%;
}

.payment-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 3.5vw, 3rem);
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

/* Borde Superior 4px */
.payment-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-brand-h);
  opacity: 1;
}

.payment-card:hover {
  background: var(--card-bg-hover);
  border-color: var(--color-primary-cyan);
  transform: translateY(-5px);
  box-shadow: var(--card-shadow-hover);
}

.payment-card__icon-box {
  width: 62px;
  height: 62px;
  background: var(--gradient-brand);
  border: 1px solid rgba(2, 160, 204, 0.4);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  margin-bottom: 1.5rem;
  box-shadow: 0 8px 18px rgba(7, 97, 166, 0.28);
  transition: var(--transition-smooth);
}

.payment-card:hover .payment-card__icon-box {
  transform: scale(1.08);
  box-shadow: 0 10px 24px rgba(2, 160, 204, 0.45);
}

.payment-card__image-box {
  margin-bottom: 1.25rem;
}

.payment-card__img {
  max-height: 52px;
  width: auto;
  object-fit: contain;
}

.payment-card__title {
  font-family: var(--font-heading);
  font-size: clamp(1.35rem, 1.8vw, 1.65rem);
  font-weight: 700;
  color: #0F172A;
  margin-bottom: 1rem;
  line-height: 1.25;
}

.payment-card__desc {
  font-size: clamp(0.9rem, 1.1vw, 0.975rem);
  color: var(--color-gray-light);
  line-height: 1.65;
  margin-bottom: 1.5rem;
  text-align: justify;
  text-justify: inter-word;
}

.payment-cta-box {
  background: linear-gradient(135deg, #0761A6 0%, #066FAF 35%, #02A0CC 100%);
  border: 1px solid rgba(2, 160, 204, 0.4);
  border-radius: var(--radius-md);
  padding: clamp(1.5rem, 3vw, 2.25rem) clamp(1.75rem, 3.5vw, 2.75rem);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  width: 100%;
  box-shadow: 0 12px 32px rgba(7, 97, 166, 0.28);
}

.payment-cta-content h4 {
  font-family: var(--font-heading);
  font-size: clamp(1.15rem, 1.5vw, 1.35rem);
  color: #FFFFFF;
  margin-bottom: 0.35rem;
}

.payment-cta-content p {
  color: rgba(255, 255, 255, 0.95);
  font-size: 0.9375rem;
}

.payment-cta-box .btn--primary {
  background: #FFFFFF;
  color: var(--color-primary);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
}

.payment-cta-box .btn--primary:hover {
  background: #F8FAFC;
  color: var(--color-primary-cyan);
}

/* --- Section: Contacto y Ubicación --- */
.section--contacto {
  background: transparent;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(clamp(320px, 45vw, 580px), 1fr));
  gap: clamp(1.75rem, 3vw, 2.75rem);
  margin-bottom: 3.5rem;
  width: 100%;
}

.contact-info-panel {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 2.2vw, 2rem);
  box-shadow: var(--card-shadow);
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

/* Borde Superior 4px */
.contact-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-brand-h);
  opacity: 1;
}

.contact-card:hover {
  background: var(--card-bg-hover);
  border-color: var(--color-primary-cyan);
  transform: translateY(-5px);
  box-shadow: var(--card-shadow-hover);
}

.contact-card__icon {
  width: 62px;
  height: 62px;
  background: var(--gradient-brand);
  border: 1px solid rgba(2, 160, 204, 0.4);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  flex-shrink: 0;
  box-shadow: 0 8px 18px rgba(7, 97, 166, 0.28);
  transition: var(--transition-smooth);
}

.contact-card:hover .contact-card__icon {
  transform: scale(1.08);
  box-shadow: 0 10px 24px rgba(2, 160, 204, 0.45);
}

.contact-card__content h4 {
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 1.5vw, 1.4rem);
  font-weight: 700;
  color: #0F172A;
  margin-bottom: 0.5rem;
  line-height: 1.25;
}

.contact-card__content p {
  font-size: 0.9rem;
  color: var(--color-gray-light);
}

.phone-highlight {
  font-size: 1.125rem !important;
  font-weight: 700;
  color: var(--color-primary) !important;
}

.contact-card__link {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-top: 0.35rem;
}

.contact-card__link:hover {
  color: var(--color-primary-cyan);
  text-decoration: underline;
}

/* Contact Form Panel (Right Column) */
.contact-form-panel {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 3.5vw, 3rem);
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.contact-form-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-brand-h);
  opacity: 1;
}

.contact-form-panel:hover {
  border-color: var(--color-primary-cyan);
  box-shadow: var(--card-shadow-hover);
}

.form-title {
  font-family: var(--font-heading);
  font-size: clamp(1.35rem, 1.8vw, 1.65rem);
  font-weight: 700;
  color: #0F172A;
  margin-bottom: 0.5rem;
  line-height: 1.25;
}

.form-desc {
  font-size: 0.9rem;
  color: var(--color-gray-light);
  margin-bottom: 1.75rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #1E293B;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.form-control {
  width: 100%;
  background: #FFFFFF;
  border: 1px solid rgba(7, 97, 166, 0.25);
  border-radius: var(--radius-sm);
  padding: 0.8rem 1rem;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: #0F172A;
  transition: var(--transition-smooth);
}

.form-control:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 15px rgba(7, 97, 166, 0.20);
  background: #FFFFFF;
}

.form-control::placeholder {
  color: #94A3B8;
}

select.form-control option {
  background: #FFFFFF;
  color: #0F172A;
}

/* Horizontal Full-Width Map Container */
.map-container {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--card-shadow);
  overflow: hidden;
  width: 100%;
  position: relative;
  transition: var(--transition-smooth);
}

.map-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-brand-h);
  opacity: 1;
  z-index: 2;
}

.map-container:hover {
  border-color: var(--color-primary-cyan);
  box-shadow: var(--card-shadow-hover);
}

.map-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem clamp(1.25rem, 2.5vw, 2rem);
  background: rgba(241, 245, 249, 0.95);
  border-bottom: 1px solid var(--card-border);
  flex-wrap: wrap;
  gap: 1rem;
}

.map-header__title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: clamp(0.85rem, 1.1vw, 0.95rem);
  font-weight: 700;
  color: #0F172A;
}

.map-header__title svg {
  color: var(--color-primary);
}

.map-iframe-wrapper {
  width: 100%;
  height: 380px;
  position: relative;
}

.map-iframe-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* --- Footer (Mismo Color Azul Corporativo de la Banda de Contacto Inicial) --- */
.footer {
  background: linear-gradient(135deg, #0761A6 0%, #066FAF 30%, #0B80B8 60%, #0492C3 100%);
  border-top: 2px solid rgba(2, 160, 204, 0.5);
  padding: 4.5rem 0 2.5rem 0;
  position: relative;
  z-index: 1;
  width: 100%;
  box-shadow: 0 -10px 35px rgba(7, 97, 166, 0.25);
  color: #FFFFFF;
}

.footer__main {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(clamp(220px, 22vw, 320px), 1fr));
  gap: clamp(2rem, 3.5vw, 3.5rem);
  padding-bottom: 3.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.20);
}

.footer__logo {
  height: clamp(120px, 11vw, 145px);
  width: auto;
  margin-bottom: 1.25rem;
  filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.35));
}

.footer__slogan {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  max-width: 280px;
}

.footer__socials {
  display: flex;
  gap: 0.75rem;
}

.social-icon {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: var(--transition-smooth);
}

.social-icon:hover {
  background: #FFFFFF;
  border-color: #FFFFFF;
  color: var(--color-primary);
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.30);
}

.footer__heading {
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer__heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2.5px;
  background: var(--color-primary-cyan);
  border-radius: 2px;
}

.footer__nav {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer__nav a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.88);
}

.footer__nav a:hover {
  color: #FFFFFF;
  padding-left: 5px;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
}

.footer__contact-col p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.90);
  margin-bottom: 0.5rem;
}

.footer__contact-col strong {
  color: #FFFFFF;
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 2rem;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.78);
}

/* --- Floating WhatsApp Button --- */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 62px;
  height: 62px;
  background: #25d366;
  border-radius: 50%;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.45);
  z-index: 1500;
  transition: var(--transition-smooth);
  animation: pulseFloat 2.5s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1) translateY(-4px);
  box-shadow: 0 15px 35px rgba(37, 211, 102, 0.65);
}

@keyframes pulseFloat {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }
  70% {
    box-shadow: 0 0 0 16px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* --- Responsive Breakpoints --- */
@media (max-width: 1024px) {
  .hero__title-sober {
    white-space: normal;
  }
  .footer__main {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .top-bar__contacts {
    display: none;
  }
  .nav-menu--centered {
    display: none;
  }
  .menu-toggle {
    display: flex;
  }
  .footer__main {
    grid-template-columns: 1fr;
  }
  .whatsapp-float {
    bottom: 1.25rem;
    right: 1.25rem;
    width: 54px;
    height: 54px;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
}
