/* =============================================
   IMPERIUM COMEX GROUP — Estilos principales
   ============================================= */

/* ---------- Variables ---------- */
:root {
  --azul: #0A1A3F;
  --azul-oscuro: #081230;
  --azul-mid: #0D1B3E;
  --dorado: #D4A24E;
  --dorado-claro: #E7C57E;
  --dorado-cobre: #C99B5A;
  --crema: #F4ECDD;
  --crema-dim: rgba(244,236,221,.66);
  --crema-muted: rgba(244,236,221,.58);
  --gold-border: rgba(212,162,78,.18);
  --gold-border-hover: rgba(212,162,78,.55);
  --wa-green: #25D366;
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Jost', system-ui, sans-serif;
  --header-h: 88px;
  --radius: 6px;
  --transition: .35s cubic-bezier(.22,.61,.36,1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--azul);
  color: var(--crema);
  font-family: var(--font-sans);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
::selection { background: var(--dorado-cobre); color: var(--azul); }

/* ---------- Utilidades ---------- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 72px);
}

/* =============================================
   HEADER
   ============================================= */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--header-h);
  background: rgba(8,18,46,.45);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(212,162,78,.06);
  transition: height .4s ease, background .4s ease, border-color .4s ease;
}
.header.scrolled {
  height: 70px;
  background: rgba(8,18,46,.92);
  border-color: rgba(212,162,78,.18);
}
.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 64px);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 13px;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-name {
  font-family: var(--font-serif);
  font-size: 21px;
  font-weight: 600;
  letter-spacing: .22em;
  color: var(--crema);
}
.logo-sub {
  font-family: var(--font-sans);
  font-size: 8.5px;
  font-weight: 400;
  letter-spacing: .5em;
  color: var(--dorado);
  margin-top: 3px;
}

/* Desktop Nav */
.nav {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 40px);
}
.nav-link {
  font-family: var(--font-sans);
  font-size: 13.5px;
  font-weight: 400;
  letter-spacing: .1em;
  text-decoration: none;
  color: rgba(244,236,221,.78);
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
  transition: color .3s, border-color .3s;
}
.nav-link:hover,
.nav-link.active {
  color: var(--dorado-claro);
  border-bottom-color: var(--dorado-cobre);
}

/* CTA button in header */
.btn-cta {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .08em;
  color: var(--azul) !important;
  text-decoration: none;
  padding: 11px 22px;
  border-radius: 2px;
  background: linear-gradient(135deg, var(--dorado-claro), var(--dorado-cobre));
  box-shadow: 0 4px 18px rgba(212,162,78,.28);
  transition: transform .3s ease, box-shadow .3s ease;
  white-space: nowrap;
}
.btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 26px rgba(212,162,78,.45);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}
.hamburger-bar {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--dorado-claro);
  border-radius: 2px;
  transition: transform .35s ease, opacity .2s ease;
}
.hamburger.open .hamburger-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open .hamburger-bar:nth-child(2) { opacity: 0; }
.hamburger.open .hamburger-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(8,18,46,.97);
  backdrop-filter: blur(8px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .35s ease, visibility .35s ease;
}
.mobile-menu.open {
  opacity: 1;
  visibility: visible;
}
.mobile-menu-close {
  position: absolute;
  top: 24px; right: 24px;
  background: none;
  border: none;
  color: var(--crema);
  font-size: 22px;
  cursor: pointer;
  padding: 8px;
  opacity: .7;
}
.mobile-nav { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.mobile-nav-link {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 500;
  letter-spacing: .04em;
  text-decoration: none;
  padding: 8px 0;
  color: var(--crema);
  transition: color .3s;
}
.mobile-nav-link:hover,
.mobile-nav-link.active { color: var(--dorado-claro); }
.btn-cta--mobile { margin-top: 24px; font-size: 15px; padding: 14px 38px; }

/* =============================================
   BOTONES GLOBALES
   ============================================= */
.btn-primary {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: .06em;
  color: var(--azul);
  text-decoration: none;
  padding: 16px 38px;
  border-radius: 2px;
  background: linear-gradient(135deg, var(--dorado-claro), var(--dorado-cobre));
  box-shadow: 0 10px 30px rgba(212,162,78,.3);
  transition: transform var(--transition), box-shadow var(--transition);
  cursor: pointer;
  border: none;
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(212,162,78,.5);
}

.btn-ghost {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 400;
  letter-spacing: .06em;
  color: var(--crema);
  text-decoration: none;
  padding: 16px 34px;
  border-radius: 2px;
  border: 1px solid rgba(212,162,78,.4);
  transition: background .35s ease, border-color .35s ease;
}
.btn-ghost:hover {
  background: rgba(212,162,78,.1);
  border-color: rgba(212,162,78,.7);
}

.link-arrow {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .12em;
  color: var(--dorado-claro);
  text-decoration: none;
  border-bottom: 1px solid rgba(212,162,78,.4);
  padding-bottom: 5px;
  transition: color .3s ease, border-color .3s ease;
}
.link-arrow:hover {
  color: var(--crema);
  border-bottom-color: var(--crema);
}

/* =============================================
   SECCIONES — utilidades
   ============================================= */
.section-tag {
  display: block;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .3em;
  color: var(--dorado);
}
.section-title {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(32px, 5vw, 56px);
  margin: 14px 0 0;
  color: var(--crema);
  line-height: 1.08;
}
.section-divider {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--dorado-cobre), var(--dorado-claro));
  margin: 22px auto 0;
}
.section-header { text-align: center; margin-bottom: clamp(44px, 6vw, 72px); }
.section-cta { text-align: center; margin-top: clamp(40px, 5vw, 60px); }

/* =============================================
   HERO — INDEX
   ============================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 24px 80px;
  background: radial-gradient(ellipse 90% 70% at 50% 38%, #11244e, transparent),
              linear-gradient(180deg, #0B1838, #0A1A3F 60%, #081230);
  overflow: hidden;
}
.hero-bg-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 42%, rgba(212,162,78,.12), transparent 70%);
  pointer-events: none;
}
.hero-globe {
  position: absolute;
  top: 48%; left: 50%;
  transform: translate(-50%, -50%);
  width: min(118vw, 860px);
  height: min(118vw, 860px);
  opacity: .5;
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 880px;
}
.hero-logo-icon { margin-bottom: 0; }
.hero-float { animation: imp-float 6s ease-in-out infinite; }
.hero-brand { margin-top: 18px; }
.hero-brand-name {
  font-family: var(--font-serif);
  font-size: clamp(46px, 9vw, 104px);
  font-weight: 600;
  letter-spacing: .16em;
  line-height: .95;
  background: linear-gradient(180deg, #F4ECDD, #E7C57E 55%, #C99B5A);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-brand-sub {
  font-family: var(--font-sans);
  font-size: clamp(10px, 1.6vw, 14px);
  font-weight: 400;
  letter-spacing: .62em;
  color: var(--dorado);
  margin-top: 10px;
  padding-left: .62em;
}
.hero-headline {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(16px, 4.5vw, 40px);
  line-height: 1.25;
  margin: 30px 0 0;
  color: var(--crema);
  max-width: 200ch;
  white-space: nowrap;
}
.hero-headline em { font-style: italic; color: var(--dorado-claro); }
.hero-desc {
  font-weight: 300;
  font-size: clamp(14px, 1.7vw, 17px);
  line-height: 1.7;
  color: var(--crema-dim);
  margin: 22px 0 0;
  max-width: 200ch;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-top: 38px;
}
.hero-scroll {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-scroll-arrow {
  color: rgba(212,162,78,.6);
  animation: scroll-bounce 2s infinite;
}
@keyframes scroll-bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-8px); }
  60% { transform: translateY(-4px); }
}

/* =============================================
   SERVICIOS DESTACADOS — HOME (4 cards)
   ============================================= */
.section-services {
  position: relative;
  padding: clamp(72px, 9vw, 128px) 0;
  background: var(--azul);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(248px, 1fr));
  gap: clamp(18px, 2.4vw, 28px);
}
.service-card {
  position: relative;
  padding: 38px 30px;
  background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.012));
  border: 1px solid rgba(212,162,78,.15);
  border-radius: var(--radius);
  transition: transform .4s cubic-bezier(.22,.61,.36,1), box-shadow .4s ease, border-color .4s ease;
  cursor: default;
  overflow: hidden;
  text-align: center;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(212,162,78,.6), transparent);
  opacity: 0;
  transition: opacity .4s ease;
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 50px rgba(0,0,0,.4), 0 0 0 1px rgba(212,162,78,.35);
  border-color: rgba(212,162,78,.5);
}
.service-card:hover::before { opacity: 1; }
.service-icon {
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(212,162,78,.35);
  border-radius: 50%;
  margin: 0 auto 22px auto;
  background: linear-gradient(135deg, rgba(231,197,126,.1), transparent);
}
.service-title {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 23px;
  margin: 0 0 10px;
  color: var(--crema);
}
.service-desc {
  font-weight: 300;
  font-size: 14px;
  line-height: 1.65;
  color: var(--crema-muted);
  margin: 0;
}

/* =============================================
   POR QUÉ ELEGIRNOS — HOME
   ============================================= */
.section-why {
  position: relative;
  padding: clamp(72px, 9vw, 128px) 0;
  background: linear-gradient(180deg, #081230, var(--azul));
  overflow: hidden;
}
.section-why-glow {
  position: absolute;
  top: 50%; left: -10%;
  transform: translateY(-50%);
  width: 520px; height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212,162,78,.06), transparent 65%);
  pointer-events: none;
}
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: clamp(18px, 2.4vw, 30px);
}
.pillar {
  text-align: center;
  padding: 34px 22px;
}
.pillar-icon {
  width: 62px;
  height: 62px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(231,197,126,.16), rgba(201,155,90,.06));
  border: 1px solid rgba(212,162,78,.3);
}
.pillar-title {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 21px;
  margin: 0 0 10px;
  color: var(--dorado-claro);
}
.pillar-desc {
  font-weight: 300;
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--crema-muted);
  margin: 0;
}

/* Stats strip */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 24px;
  margin-top: clamp(48px, 6vw, 76px);
  padding: clamp(36px, 4vw, 52px) clamp(24px, 4vw, 48px);
  border-top: 1px solid rgba(212,162,78,.16);
  border-bottom: 1px solid rgba(212,162,78,.16);
}
.stat { text-align: center; }
.stat-num {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(38px, 5vw, 58px);
  line-height: 1;
  color: var(--dorado-claro);
}
.stat-label {
  font-size: 12.5px;
  font-weight: 400;
  letter-spacing: .14em;
  color: rgba(244,236,221,.6);
  margin-top: 12px;
  text-transform: uppercase;
}

/* =============================================
   CTA BAND
   ============================================= */
.section-cta-band {
  position: relative;
  padding: clamp(72px, 10vw, 140px) 0;
  background: radial-gradient(ellipse 70% 120% at 50% 0%, #112a55, var(--azul));
  text-align: center;
  overflow: hidden;
}
.cta-band-inner {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
}
.cta-band-title {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(34px, 6vw, 66px);
  line-height: 1.1;
  margin: 18px 0 0;
  color: var(--crema);
}
.cta-band-desc {
  font-weight: 300;
  font-size: clamp(14px, 1.7vw, 17px);
  line-height: 1.7;
  color: var(--crema-dim);
  margin: 22px auto 0;
  max-width: 48ch;
}
.cta-band-inner .btn-primary { margin-top: 38px; }

/* =============================================
   PAGE HERO (subpages)
   ============================================= */

.page-hero {
  position: relative;
  padding: clamp(140px, 16vh, 180px) 0 clamp(60px, 8vw, 96px);
  background: radial-gradient(ellipse 80% 90% at 70% 0%, #11244e, var(--azul) 60%);
  overflow: hidden;
}
.page-hero--center { text-align: center; }
.page-hero--center .page-hero-inner { max-width: 820px; }
.page-hero-globe {
  position: absolute;
  opacity: .32;
  pointer-events: none;
}
.page-hero-globe--right { top: -10%; right: -12%; width: min(70vw, 560px); }
.page-hero-globe--left  { top: -14%; left: -10%; width: min(70vw, 540px); }
.page-hero-globe--center { top: -30%; left: 50%; transform: translateX(-50%); width: min(110vw, 760px); }
.page-hero-inner { position: relative; max-width: 1100px; margin: 0 auto; }
.page-hero-inner--center { max-width: 780px; margin: 0 auto; }
.page-eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .32em;
  color: var(--dorado);
}

.page-hero-title {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(38px, 7vw, 82px);
  line-height: 1.05;
  margin: 18px 0 0;
  color: var(--crema);
}
.page-hero-desc {
  font-weight: 300;
  font-size: clamp(15px, 1.9vw, 19px);
  line-height: 1.75;
  color: var(--crema-dim);
  margin: 26px 0 0;
  max-width: 70ch;
}
.page-hero--center .page-hero-desc { margin-left: auto; margin-right: auto; }

/* =============================================
   NOSOTROS
   ============================================= */
.section-historia {
  padding: clamp(56px, 8vw, 110px) 0;
  background: var(--azul);
}
.historia-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(36px, 5vw, 72px);
  align-items: start;
}
.historia-text h2 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(28px, 4vw, 46px);
  margin: 14px 0 18px;
  color: var(--crema);
}
.historia-text p {
  font-weight: 300;
  font-size: 15.5px;
  line-height: 1.8;
  color: rgba(244,236,221,.66);
  margin-bottom: 16px;
}
.mv-cards { display: flex; flex-direction: column; gap: 22px; }
.mv-card {
  padding: 30px 32px;
  border: 1px solid var(--gold-border);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.01));
}
.mv-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .28em;
  color: var(--dorado);
}
.mv-text {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  font-size: 22px;
  line-height: 1.45;
  color: var(--crema);
  margin: 12px 0 0;
}

/* Valores */
.section-valores {
  padding: clamp(56px, 8vw, 110px) 0;
  background: linear-gradient(180deg, #081230, var(--azul));
}
.section-valores .section-header { margin-bottom: clamp(40px, 5vw, 64px); }
.valores-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: clamp(18px, 2.4vw, 28px);
  text-align: center; 
}
.valor {
  padding: 34px 28px;
  border-top: 2px solid rgba(212,162,78,.4);
  background: linear-gradient(180deg, rgba(255,255,255,.03), transparent);
}
.valor-num {
  font-family: var(--font-serif);
  font-size: 40px;
  font-weight: 700;
  color: rgba(212,162,78,.35);
  line-height: 1;
}
.valor h3 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 23px;
  margin: 14px 0 8px;
  color: var(--crema);
}
.valor p {
  font-weight: 300;
  font-size: 14px;
  line-height: 1.65;
  color: var(--crema-muted);
  margin: 0;
}

/* Slogan band */
.section-slogan {
  position: relative;
  padding: clamp(80px, 12vw, 160px) 0;
  text-align: center;
  background: radial-gradient(ellipse 70% 100% at 50% 50%, #11244e, #081230);
  overflow: hidden;
}
.slogan-globe {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: min(120vw, 820px);
  opacity: .28;
  pointer-events: none;
}
.slogan-quote {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(18px, 5vw, 72px);
  line-height: 1.12;
  color: var(--crema);
  margin: 0;
  white-space: nowrap;
}
.slogan-quote em { font-style: italic; color: var(--dorado-claro); }
.slogan-sub {
  font-weight: 300;
  font-size: clamp(14px, 1.7vw, 17px);
  letter-spacing: .04em;
  color: rgba(244,236,221,.6);
  margin: 28px auto 0;
  max-width: 50ch;
}

/* =============================================
   SERVICIOS (8 cards)
   ============================================= */
.section-servicios-grid {
  padding: clamp(40px, 5vw, 64px) 0 clamp(72px, 9vw, 120px);
  background: var(--azul);
}
.servicios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: clamp(16px, 2vw, 24px);
}
.servicio-card {
  position: relative;
  padding: 40px 32px;
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.012));
  border: 1px solid rgba(212,162,78,.15);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .4s cubic-bezier(.22,.61,.36,1), box-shadow .4s ease, border-color .4s ease;
  cursor: default;
  text-align: center;
}
.servicio-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(212,162,78,.6), transparent);
  opacity: 0;
  transition: opacity .4s ease;
}
.servicio-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 54px rgba(0,0,0,.42);
  border-color: rgba(212,162,78,.5);
}
.servicio-card:hover::before { opacity: 1; }
.servicio-card-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 24px;
}
.servicio-icon {
  width: 58px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(212,162,78,.35);
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(231,197,126,.1), transparent);
}
.servicio-num {
  font-family: var(--font-serif);
  font-size: 30px;
  font-weight: 700;
  color: rgba(212,162,78,.22);
}
.servicio-title {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 24px;
  line-height: 1.18;
  margin: 0 0 12px;
  color: var(--crema);
}
.servicio-desc {
  font-weight: 300;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(244,236,221,.6);
  margin: 0;
}

/* =============================================
   PROCESO — TIMELINE
   ============================================= */
.section-timeline {
  padding: clamp(40px, 6vw, 80px) 0 clamp(72px, 9vw, 120px);
  background: var(--azul);
}
.timeline-wrap {
  position: relative;
  max-width: 840px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 72px);
}
.timeline-line {
  position: absolute;
  left: calc(clamp(20px, 5vw, 72px) + 31px);
  top: 14px;
  bottom: 14px;
  width: 2px;
  background: linear-gradient(180deg,
    rgba(212,162,78,.05),
    rgba(212,162,78,.5) 12%,
    rgba(212,162,78,.5) 88%,
    rgba(212,162,78,.05)
  );
}
.timeline-step {
  position: relative;
  display: flex;
  gap: clamp(20px, 3vw, 40px);
  padding-bottom: clamp(42px, 5vw, 64px);
}
.timeline-step:last-child { padding-bottom: 0; }
.timeline-dot-wrap {
  flex: 0 0 auto;
  position: relative;
  z-index: 2;
}
.timeline-dot {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0F2350, var(--azul));
  border: 1px solid rgba(212,162,78,.45);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 26px rgba(0,0,0,.4);
  animation: imp-pulse-ring 3.2s ease-out infinite;
}
.timeline-body { flex: 1; padding-top: 5px; }
.timeline-meta {
  display: flex;
  align-items: baseline;
  gap: 14px;
  flex-wrap: wrap;
}
.timeline-step-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .22em;
  color: var(--dorado);
}
.timeline-tag {
  font-family: var(--font-serif);
  font-size: 18px;
  font-style: italic;
  color: rgba(244,236,221,.4);
}
.timeline-title {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(26px, 3.4vw, 38px);
  margin: 8px 0 12px;
  color: var(--crema);
}
.timeline-desc {
  font-weight: 300;
  font-size: 15px;
  line-height: 1.75;
  color: rgba(244,236,221,.62);
  margin: 0;
  max-width: 54ch;
}

/* =============================================
   CONTACTO
   ============================================= */
.section-contacto {
  padding: clamp(36px, 5vw, 64px) 0 clamp(72px, 9vw, 120px);
  background: var(--azul);
}
.contacto-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}
.contacto-info h2 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(26px, 3.6vw, 38px);
  margin: 0 0 6px;
  color: var(--crema);
}
.contacto-info > p {
  font-weight: 300;
  font-size: 15px;
  line-height: 1.7;
  color: rgba(244,236,221,.62);
  margin: 0 0 14px;
  max-width: 42ch;
}
.contact-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  border: 1px solid var(--gold-border);
  border-radius: var(--radius);
  text-decoration: none;
  background: linear-gradient(180deg, rgba(255,255,255,.03), transparent);
  transition: border-color .3s ease, transform .3s ease;
  margin-bottom: 10px;
}
.contact-row:hover { border-color: var(--gold-border-hover); transform: translateY(-2px); }
.contact-row-icon {
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: rgba(37,211,102,.12);
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-row-icon--gold { background: rgba(212,162,78,.12); }
.contact-row-label {
  display: block;
  font-size: 10px;
  letter-spacing: .2em;
  color: var(--dorado);
  font-weight: 600;
}
.contact-row-value {
  display: block;
  font-size: 15px;
  color: var(--crema);
  margin-top: 3px;
}
.contact-phones {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 10px;
}
.contact-social-row {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
}
.contact-location {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
  color: rgba(244,236,221,.5);
  font-size: 13.5px;
}

/* Form card */
.form-card {
  position: relative;
  padding: clamp(28px, 3.4vw, 44px);
  border: 1px solid rgba(212,162,78,.2);
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.012));
  box-shadow: 0 30px 70px rgba(0,0,0,.35);
}
.form-group { display: flex; flex-direction: column; gap: 18px; }
.form-field { display: flex; flex-direction: column; }
.form-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .16em;
  color: var(--dorado);
  margin-bottom: 8px;
}
.form-input,
.form-select,
.form-textarea {
  width: 100%;
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--crema);
  background: rgba(255,255,255,.025);
  border: 1px solid rgba(212,162,78,.2);
  border-radius: 4px;
  padding: 14px 16px;
  transition: border-color .3s ease, background .3s ease;
  appearance: none;
  -webkit-appearance: none;
}
.form-input::placeholder,
.form-textarea::placeholder { color: rgba(244,236,221,.34); }
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: rgba(212,162,78,.7);
  background: rgba(255,255,255,.05);
}
.form-input.valid  { border-color: rgba(37,211,102,.6); }
.form-input.error  { border-color: rgba(220,50,50,.6); }
.form-select option { background: #0C1E44; color: var(--crema); }
.form-textarea { resize: vertical; min-height: 120px; }
.field-msg {
  font-size: 12px;
  margin-top: 5px;
  min-height: 16px;
  transition: color .3s;
}
.field-msg.ok  { color: rgba(37,211,102,.8); }
.field-msg.err { color: rgba(220,80,80,.9); }

/* Checkbox */
.form-checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
}
.form-checkbox-row input[type="checkbox"] {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  accent-color: var(--dorado);
  margin-top: 2px;
  cursor: pointer;
}
.form-checkbox-row span {
  font-size: 13px;
  line-height: 1.5;
  color: rgba(244,236,221,.6);
}

/* Submit button states */
.btn-submit {
  width: 100%;
  margin-top: 6px;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: .06em;
  color: var(--azul);
  background: linear-gradient(135deg, var(--dorado-claro), var(--dorado-cobre));
  border: none;
  border-radius: 2px;
  padding: 16px;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(212,162,78,.28);
  transition: transform .3s ease, box-shadow .3s ease, opacity .3s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.btn-submit:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 16px 38px rgba(212,162,78,.45);
}
.btn-submit:disabled {
  opacity: .45;
  cursor: not-allowed;
  transform: none;
  box-shadow: 0 4px 12px rgba(212,162,78,.1);
}
.spinner {
  width: 18px; height: 18px;
  border: 2px solid rgba(10,26,63,.3);
  border-top-color: var(--azul);
  border-radius: 50%;
  animation: imp-spin .7s linear infinite;
  display: none;
}
.btn-submit.loading .spinner { display: block; }

/* Success state */
.form-success {
  text-align: center;
  padding: 40px 10px;
  display: none;
}
.form-success.show { display: block; animation: imp-fadein .5s ease; }
.form-success-icon {
  width: 72px; height: 72px;
  margin: 0 auto 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(231,197,126,.18), rgba(201,155,90,.05));
  border: 1px solid rgba(212,162,78,.4);
  display: flex;
  align-items: center;
  justify-content: center;
}
.form-success h3 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 30px;
  margin: 0 0 10px;
  color: var(--crema);
}
.form-success p {
  font-weight: 300;
  font-size: 15px;
  line-height: 1.7;
  color: rgba(244,236,221,.62);
  margin: 0 auto;
  max-width: 38ch;
}
.btn-ghost-sm {
  margin-top: 26px;
  font-family: var(--font-sans);
  font-size: 13px;
  letter-spacing: .08em;
  color: var(--dorado-claro);
  background: none;
  border: 1px solid rgba(212,162,78,.4);
  border-radius: 2px;
  padding: 11px 24px;
  cursor: pointer;
  transition: background .3s ease;
}
.btn-ghost-sm:hover { background: rgba(212,162,78,.1); }

/* =============================================
   GRACIAS
   ============================================= */
.gracias-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 24px 80px;
  background: radial-gradient(ellipse 80% 70% at 50% 40%, #11244e, var(--azul));
  text-align: center;
}
.gracias-inner { max-width: 600px; }
.gracias-check {
  width: 90px; height: 90px;
  margin: 0 auto 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(231,197,126,.18), rgba(201,155,90,.05));
  border: 1px solid rgba(212,162,78,.5);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: imp-scalein .8s ease forwards;
}
.gracias-title {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(36px, 6vw, 60px);
  color: var(--crema);
  margin: 0 0 14px;
}
.gracias-sub {
  font-weight: 300;
  font-size: clamp(15px, 1.8vw, 18px);
  line-height: 1.7;
  color: var(--crema-dim);
  margin: 0 0 32px;
}
.gracias-countdown {
  font-size: 13px;
  color: rgba(244,236,221,.45);
  margin-top: 24px;
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
  position: relative;
  background: linear-gradient(180deg, #081230, var(--azul));
  border-top: 1px solid rgba(212,162,78,.16);
  padding: clamp(56px, 7vw, 84px) 0 32px;
  color: var(--crema);
  overflow: hidden;
}
.footer-glow {
  position: absolute;
  top: -40%; left: 50%;
  transform: translateX(-50%);
  width: 680px; height: 680px;
  max-width: 120vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212,162,78,.07), transparent 62%);
  pointer-events: none;
}
.footer-inner {
  position: relative;
  display: grid;
  grid-template-columns: 2fr 1fr 1.2fr 1.2fr;
  gap: clamp(24px, 4vw, 56px);
}
.footer-brand { display: flex; flex-direction: column; gap: 18px; max-width: 340px; }
.footer-logo { display: flex; align-items: center; gap: 13px; }
.footer-tagline {
  font-size: 13.5px;
  line-height: 1.7;
  color: rgba(244,236,221,.6);
  margin: 0;
}
.footer-heading {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .22em;
  color: var(--dorado);
  margin: 0 0 18px;
  text-transform: uppercase;
}
.footer-nav,
.footer-contact,
.footer-social { display: flex; flex-direction: column; gap: 14px; }
.footer-link {
  font-size: 14px;
  color: rgba(244,236,221,.72);
  text-decoration: none;
  transition: color .25s ease;
  word-break: break-word;
}
.footer-link:hover { color: var(--dorado-claro); }
.footer-location { font-size: 13.5px; color: rgba(244,236,221,.5); }
.footer-social-link {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: rgba(244,236,221,.72);
  text-decoration: none;
  transition: color .25s ease;
  word-break: break-word;
}
.footer-social-link:hover { color: var(--dorado-claro); }
.footer-bottom {
  position: relative;
  margin-top: clamp(40px, 5vw, 60px);
  padding-top: 24px;
  border-top: 1px solid rgba(212,162,78,.12);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  align-items: center;
}
.footer-bottom span { font-size: 12px; color: rgba(244,236,221,.4); letter-spacing: .04em; }
.footer-tagline-bottom { letter-spacing: .16em !important; }

/* =============================================
   WHATSAPP FLOAT
   ============================================= */
.whatsapp-float {
  position: fixed;
  right: clamp(18px, 3vw, 32px);
  bottom: clamp(18px, 3vw, 32px);
  z-index: 1200;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--wa-green);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 26px rgba(37,211,102,.4);
  text-decoration: none;
  animation: imp-wa-pulse 2.4s infinite;
  transition: transform .3s ease;
}
.whatsapp-float:hover { transform: scale(1.08); }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 879px) {
  .nav { display: none; }
  .hamburger { display: flex; }
}

@media (max-width: 768px) {
  .contact-phones { grid-template-columns: 1fr; }
  .contact-social-row { flex-direction: column; }
  .footer-bottom { justify-content: center; text-align: center; flex-direction: column; gap: 16px; }
  .hero-actions { flex-direction: column; align-items: stretch; width: 100%; max-width: 320px; }
  .btn-primary, .btn-ghost { width: 100%; justify-content: center; }
  .stats-strip { grid-template-columns: repeat(2, 1fr); }

  .service-card, .servicio-card {
    padding: 28px 20px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 48px;
  }
  .footer-brand {
    margin: 0 auto;
    align-items: center;
  }
  .footer-nav, .footer-contact, .footer-social {
    align-items: center;
  }
}

@media (max-width: 480px) {
  .servicios-grid { grid-template-columns: 1fr; }
  .services-grid  { grid-template-columns: 1fr; }
  .valores-grid   { grid-template-columns: 1fr; }
  .pillars-grid   { grid-template-columns: 1fr; }
  .stats-strip    { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 769px) {
  .servicios-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .servicios-grid { grid-template-columns: repeat(4, 1fr); }
  .services-grid  { grid-template-columns: repeat(4, 1fr); }
}
