:root {
  --navy: #08233b;
  --navy-2: #0c3559;
  --navy-3: #061725;
  --gold: #d9ab4f;
  --gold-light: #f3d693;
  --cream: #f7f3ea;
  --white: #ffffff;
  --text: #12202c;
  --muted: #64717d;
  --line: rgba(8, 35, 59, .12);
  --shadow: 0 24px 70px rgba(6, 23, 37, .13);
  --radius: 24px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
.container { width: min(calc(100% - 40px), var(--max)); margin: 0 auto; }
.section { padding: 92px 0; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(6, 23, 37, .96);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  backdrop-filter: blur(14px);
}
.nav-wrap { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--white); min-width: 0; }
.brand-icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 14px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); font-size: 22px; flex: 0 0 auto; }
.brand-copy { display: flex; flex-direction: column; line-height: 1.08; min-width: 0; }
.brand-copy strong { font-size: 12px; letter-spacing: .12em; white-space: nowrap; }
.brand-copy span { margin-top: 5px; color: var(--gold-light); font-size: 11px; letter-spacing: .19em; }
.menu { display: flex; align-items: center; gap: 24px; color: rgba(255,255,255,.76); font-size: 13px; }
.menu a { transition: color .2s ease, transform .2s ease; }
.menu a:hover { color: var(--white); }
.menu-whatsapp { padding: 11px 16px; border-radius: 999px; background: var(--gold); color: var(--navy-3) !important; font-weight: 900; }
.menu-button { display: none; width: 46px; height: 42px; border: 0; border-radius: 12px; background: rgba(255,255,255,.08); padding: 10px; cursor: pointer; }
.menu-button span { display: block; height: 2px; margin: 5px 0; border-radius: 4px; background: var(--white); }

.hero {
  position: relative;
  min-height: 680px;
  display: flex;
  align-items: center;
  padding: 92px 0 126px;
  color: var(--white);
  background:
    radial-gradient(circle at 75% 35%, rgba(217,171,79,.16), transparent 28%),
    linear-gradient(130deg, #061725 0%, #082b49 58%, #0b3c65 100%);
  overflow: hidden;
}
.hero::after { content: ""; position: absolute; inset: auto -10% -150px -10%; height: 280px; border-radius: 50%; background: rgba(255,255,255,.035); transform: rotate(-3deg); }
.hero-glow { position: absolute; border-radius: 50%; border: 1px solid rgba(255,255,255,.08); pointer-events: none; }
.hero-glow-one { width: 520px; height: 520px; right: -80px; top: 40px; }
.hero-glow-two { width: 340px; height: 340px; right: 80px; top: 130px; }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: 74px; }
.country-line { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px; font-size: 22px; }
.eyebrow { margin: 0; color: var(--gold-light); font-size: 12px; font-weight: 900; letter-spacing: .16em; }
.eyebrow.dark { color: #9b7228; }
.hero h1 { max-width: 760px; margin: 16px 0 12px; font-size: clamp(46px, 6vw, 82px); line-height: .98; letter-spacing: -.055em; }
.hero-callout { margin: 0; color: var(--gold-light); font-size: clamp(23px, 3vw, 35px); font-weight: 850; }
.hero-mode { margin: 24px 0 0; color: rgba(255,255,255,.78); font-size: 15px; font-weight: 800; letter-spacing: .04em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 13px 20px; border-radius: 999px; font-size: 13px; font-weight: 900; letter-spacing: .02em; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: #24c86a; color: #062817; box-shadow: 0 14px 34px rgba(36,200,106,.22); }
.button-outline { color: var(--white); border: 1px solid rgba(255,255,255,.24); background: rgba(255,255,255,.06); }
.button-gold { color: var(--navy-3); background: var(--gold-light); }
.button-large { min-height: 56px; padding-inline: 25px; }

.hero-art { position: relative; min-height: 420px; }
.scale-card { position: absolute; left: 50%; top: 50%; width: 250px; height: 250px; transform: translate(-50%,-50%); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; border-radius: 50%; background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.15); box-shadow: 0 28px 65px rgba(0,0,0,.2); backdrop-filter: blur(10px); text-align: center; }
.scale-card span { font-size: 58px; }
.scale-card strong { font-size: 16px; letter-spacing: .14em; }
.country-card, .online-chip { position: absolute; display: flex; align-items: center; gap: 9px; padding: 13px 16px; border-radius: 999px; background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.15); backdrop-filter: blur(10px); box-shadow: 0 18px 42px rgba(0,0,0,.16); font-size: 12px; }
.country-card span { font-size: 22px; }
.country-card-mx { left: 0; top: 62px; }
.country-card-us { right: 0; top: 118px; }
.online-chip { left: 58px; bottom: 48px; }
.route-line { position: absolute; left: 15%; right: 15%; top: 53%; height: 1px; background: linear-gradient(90deg, transparent, rgba(243,214,147,.65), transparent); transform: rotate(-8deg); }

.services-overview { position: relative; z-index: 4; margin-top: -52px; }
.service-links { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.service-link { min-height: 100px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; padding: 20px 22px; border: 1px solid var(--line); border-radius: 22px; background: var(--white); box-shadow: var(--shadow); transition: transform .2s ease, box-shadow .2s ease; }
.service-link:hover { transform: translateY(-5px); box-shadow: 0 28px 74px rgba(6,23,37,.18); }
.service-emoji { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 14px; background: var(--cream); font-size: 24px; }
.service-link strong { font-size: 13px; }
.arrow { color: #9b7228; font-size: 24px; }

.section-soft { background: linear-gradient(180deg, #fbfaf7, var(--cream)); }
.section-heading { max-width: 760px; margin-bottom: 34px; }
.section-heading h2 { margin: 12px 0 0; font-size: clamp(34px, 4.5vw, 58px); line-height: 1; letter-spacing: -.04em; }
.section-heading.light h2 { color: var(--white); }
.cards { display: grid; gap: 18px; }
.cards-three { grid-template-columns: repeat(3,1fr); }
.card, .passport-card { min-height: 220px; position: relative; overflow: hidden; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: 0 15px 40px rgba(6,23,37,.07); transition: transform .2s ease, box-shadow .2s ease; }
.card:hover, .passport-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.card::after { content: ""; position: absolute; width: 150px; height: 150px; right: -55px; bottom: -70px; border-radius: 50%; border: 1px solid rgba(217,171,79,.24); }
.card-number { color: #9b7228; font-weight: 950; letter-spacing: .16em; }
.card h3, .passport-card h3 { margin: 64px 0 0; font-size: 25px; line-height: 1.15; }
.section-action { margin-top: 34px; text-align: center; }

.legal-section { position: relative; overflow: hidden; color: var(--white); background: linear-gradient(135deg, #061725, #0a2e4e); }
.legal-section::before { content: ""; position: absolute; width: 500px; height: 500px; right: -190px; top: -180px; border-radius: 50%; border: 1px solid rgba(243,214,147,.12); }
.legal-cards { display: grid; grid-template-columns: repeat(6,1fr); gap: 16px; }
.legal-card { grid-column: span 2; min-height: 220px; padding: 28px; border-radius: var(--radius); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.11); display: flex; flex-direction: column; justify-content: space-between; transition: transform .2s ease, background .2s ease; }
.legal-card:hover { transform: translateY(-5px); background: rgba(255,255,255,.1); }
.legal-card-wide { grid-column: span 4; }
.legal-card span { font-size: 34px; }
.legal-card h3 { margin: 52px 0 0; font-size: 26px; line-height: 1.1; }

.passport-card { background: linear-gradient(180deg, #fff, #fbfaf7); }
.passport-card > span { display: inline-flex; min-height: 31px; align-items: center; padding: 0 12px; border-radius: 999px; background: var(--navy); color: var(--gold-light); font-size: 10px; font-weight: 950; letter-spacing: .14em; }

.attention-section { background: var(--white); }
.attention-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 20px; }
.attention-panel { border-radius: 30px; padding: 38px; }
.mode-panel { color: var(--white); background: linear-gradient(145deg, #08243c, #0d3e68); }
.location-panel { background: var(--cream); border: 1px solid var(--line); }
.attention-panel h2 { margin: 14px 0 28px; font-size: clamp(31px, 4vw, 47px); line-height: 1.02; letter-spacing: -.04em; }
.mode-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 14px; }
.mode-grid div { min-height: 135px; padding: 22px; border-radius: 18px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.13); display: flex; flex-direction: column; justify-content: space-between; }
.mode-grid span { font-size: 32px; }
.locations { display: grid; grid-template-columns: repeat(2,1fr); gap: 12px; }
.locations div { min-height: 60px; display: flex; align-items: center; gap: 10px; padding: 15px 16px; border-radius: 16px; background: var(--white); border: 1px solid var(--line); }
.locations span { font-size: 21px; }

.contact-section { padding: 28px 0 38px; }
.contact-box { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 28px; padding: 42px; border-radius: 30px; color: var(--white); background: linear-gradient(120deg, #061725, #0b365c); box-shadow: var(--shadow); }
.contact-box h2 { max-width: 780px; margin: 12px 0; font-size: clamp(31px, 4vw, 50px); line-height: 1.04; letter-spacing: -.035em; }
.whatsapp-number { margin: 0; color: var(--gold-light); font-weight: 900; }
.notice-section { padding: 0 0 76px; }
.notice { display: flex; align-items: flex-start; gap: 14px; padding: 22px 24px; border-radius: 18px; border: 1px solid rgba(217,171,79,.38); background: #fff9ea; color: #59471f; }
.notice-icon { font-size: 25px; }
.notice p { margin: 0; line-height: 1.55; }

.footer { padding: 46px 0 26px; color: var(--white); background: #04111d; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; padding-bottom: 24px; }
.footer p { color: rgba(255,255,255,.52); }
.footer-right { display: flex; flex-direction: column; align-items: flex-end; gap: 9px; color: rgba(255,255,255,.72); }
.footer-right a { color: var(--gold-light); font-weight: 900; }
.footer-note { padding-top: 18px; border-top: 1px solid rgba(255,255,255,.08); color: rgba(255,255,255,.45); font-size: 12px; }

.whatsapp-float { position: fixed; right: 20px; bottom: 20px; z-index: 95; display: flex; align-items: center; gap: 9px; padding: 9px 14px 9px 9px; border-radius: 999px; color: #fff; background: #20c766; box-shadow: 0 16px 42px rgba(0,0,0,.23); font-size: 12px; font-weight: 900; transition: transform .2s ease; }
.whatsapp-float:hover { transform: translateY(-3px); }
.whatsapp-circle { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.16); }

/* El contenido es visible por defecto. JS solo añade mejoras visuales. */
.reveal { opacity: 1; transform: none; }
.js-ready .reveal { transition: transform .55s ease, box-shadow .2s ease; }
.js-ready .reveal.in-view { transform: translateY(0); }

@media (max-width: 980px) {
  .menu-button { display: block; }
  .menu { position: fixed; left: 0; right: 0; top: 78px; display: flex; flex-direction: column; align-items: stretch; gap: 0; padding: 18px 20px 28px; background: rgba(6,23,37,.99); border-top: 1px solid rgba(255,255,255,.08); transform: translateY(-140%); visibility: hidden; transition: transform .25s ease, visibility .25s ease; }
  .menu.open { transform: translateY(0); visibility: visible; }
  .menu a { padding: 14px 2px; border-bottom: 1px solid rgba(255,255,255,.07); }
  .menu-whatsapp { margin-top: 12px; text-align: center; border-bottom: 0 !important; }
  .hero { min-height: auto; }
  .hero-grid { grid-template-columns: 1fr; gap: 34px; }
  .hero-art { min-height: 360px; }
  .service-links, .cards-three { grid-template-columns: 1fr; }
  .legal-cards { grid-template-columns: repeat(2,1fr); }
  .legal-card, .legal-card-wide { grid-column: span 1; }
  .attention-grid { grid-template-columns: 1fr; }
  .contact-box { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .container { width: min(calc(100% - 28px), var(--max)); }
  .section { padding: 72px 0; }
  .nav-wrap { min-height: 70px; }
  .menu { top: 70px; }
  .brand-icon { width: 40px; height: 40px; }
  .brand-copy strong { font-size: 10px; letter-spacing: .09em; }
  .brand-copy span { font-size: 9px; }
  .hero { padding: 68px 0 104px; }
  .hero h1 { font-size: clamp(42px, 13vw, 62px); }
  .hero-art { min-height: 310px; }
  .scale-card { width: 190px; height: 190px; }
  .scale-card span { font-size: 46px; }
  .country-card { padding: 10px 12px; font-size: 10px; }
  .country-card-mx { top: 34px; }
  .country-card-us { top: 93px; }
  .online-chip { left: 20px; bottom: 34px; font-size: 10px; }
  .services-overview { margin-top: -36px; }
  .service-link { min-height: 88px; }
  .legal-cards { grid-template-columns: 1fr; }
  .mode-grid, .locations { grid-template-columns: 1fr; }
  .attention-panel { padding: 28px 22px; }
  .contact-box { padding: 30px 24px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-right { align-items: flex-start; }
  .whatsapp-float { right: 12px; bottom: 12px; }
  .whatsapp-float > span:last-child { display: none; }
  .whatsapp-float { padding: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
