:root {
  --navy: #071129;
  --navy-2: #0d1b3f;
  --gold: #d6ae42;
  --gold-light: #f4d77a;
  --ink: #172033;
  --muted: #697185;
  --paper: #f5f3ee;
  --white: #fff;
  --line: rgba(7, 17, 41, .14);
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: Arial, Helvetica, sans-serif; line-height: 1.6; }
a { color: inherit; }
.container { width: min(var(--max), calc(100% - 40px)); margin-inline: auto; }
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 100; background: var(--gold); color: var(--navy); padding: 10px 16px; font-weight: 700; }
.skip-link:focus { top: 12px; }

.topbar { background: #020713; color: rgba(255,255,255,.75); font-size: .75rem; letter-spacing: .05em; }
.topbar-inner { min-height: 34px; display: flex; justify-content: flex-end; gap: 28px; align-items: center; }
.topbar a { color: var(--gold-light); text-decoration: none; }
.site-header { position: absolute; inset: 0 0 auto; z-index: 10; color: var(--white); }
.nav { min-height: 92px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(255,255,255,.18); }
.brand { display: inline-flex; flex-direction: column; text-decoration: none; line-height: 1; }
.brand-mark { position: relative; display: inline-flex; align-items: center; gap: 8px; width: fit-content; color: var(--gold-light); font-family: Georgia, serif; font-size: 2.1rem; letter-spacing: .11em; }
.brand-mark i { width: 30px; height: 30px; border: 1px solid var(--gold); border-radius: 50%; box-shadow: 15px 0 0 -1px transparent, 15px 0 0 0 var(--gold); opacity: .85; }
.brand-mark b { font-weight: 600; }
.brand-text { margin-top: 5px; color: rgba(255,255,255,.78); font-family: Georgia, serif; font-size: .72rem; letter-spacing: .08em; }
.menu { display: flex; align-items: center; gap: 32px; font-size: .82rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.menu > a { text-decoration: none; }
.menu > a:not(.button):hover { color: var(--gold-light); }
.menu-button { display: none; width: 44px; height: 44px; border: 0; background: transparent; color: white; padding: 8px; }
.menu-button span { display: block; height: 2px; margin: 5px 0; background: currentColor; }
.menu-button em { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.button { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; padding: 0 26px; border: 1px solid var(--gold); background: var(--gold); color: var(--navy); text-decoration: none; font-weight: 800; font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; transition: transform .2s, background .2s; }
.button:hover { transform: translateY(-2px); background: var(--gold-light); }
.button-small { min-height: 42px; padding-inline: 18px; }
.hero { position: relative; min-height: 760px; display: flex; align-items: center; color: var(--white); background: var(--navy) url('../images/hero-cambio-internacional.jpg') center/cover no-repeat; overflow: hidden; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(3,9,24,.95) 0%, rgba(3,9,24,.72) 42%, rgba(3,9,24,.14) 76%), linear-gradient(0deg, rgba(3,9,24,.65), transparent 45%); }
.hero-content { position: relative; z-index: 1; padding-top: 100px; }
.eyebrow { margin: 0 0 16px; color: var(--gold-light); font-size: .73rem; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; }
.eyebrow.dark { color: #8a6a18; }
.hero h1 { max-width: 760px; margin: 0; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(3.5rem, 7.3vw, 6.5rem); font-weight: 400; line-height: .94; letter-spacing: -.045em; }
.hero h1 span { color: var(--gold-light); font-style: italic; }
.hero-copy { max-width: 590px; margin: 30px 0; color: rgba(255,255,255,.82); font-size: 1.12rem; }
.hero-actions { display: flex; align-items: center; gap: 28px; }
.text-link { color: white; font-size: .82rem; font-weight: 700; letter-spacing: .05em; text-decoration: none; text-transform: uppercase; }
.text-link span { color: var(--gold); margin-left: 8px; }
.hero-detail { position: absolute; right: 0; bottom: 0; z-index: 1; width: 30%; min-width: 260px; padding: 20px 34px; border-top: 1px solid rgba(255,255,255,.18); border-left: 1px solid rgba(255,255,255,.18); color: var(--gold-light); text-transform: uppercase; letter-spacing: .17em; font-size: .67rem; }

.section { padding: 100px 0; }
.intro { background: var(--paper); }
.intro-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 100px; align-items: start; }
.section h2 { margin: 0; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(2.2rem, 4.5vw, 4rem); font-weight: 400; line-height: 1.08; letter-spacing: -.035em; }
.intro-copy { border-left: 1px solid var(--line); padding-left: 48px; color: var(--muted); font-size: 1rem; }
.intro-copy p:first-child { margin-top: 0; color: var(--ink); font-size: 1.1rem; }
.principles { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.principles span { padding: 7px 12px; border: 1px solid var(--line); color: var(--navy); font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }

.services { background: var(--navy); color: var(--white); }
.services-head { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 55px; }
.services-head > p { max-width: 400px; margin: 0; color: rgba(255,255,255,.6); }
.service-grid { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid rgba(255,255,255,.15); border-left: 1px solid rgba(255,255,255,.15); }
.service-card { min-height: 330px; padding: 42px; border-right: 1px solid rgba(255,255,255,.15); border-bottom: 1px solid rgba(255,255,255,.15); background: rgba(255,255,255,.02); transition: background .25s, transform .25s; }
.service-card:hover { background: rgba(255,255,255,.06); }
.service-card.featured { background: linear-gradient(135deg, rgba(214,174,66,.18), rgba(255,255,255,.02)); }
.service-number { color: var(--gold); font-size: .72rem; letter-spacing: .18em; }
.service-card h3 { max-width: 430px; margin: 35px 0 22px; font-family: Georgia, serif; font-size: 1.7rem; font-weight: 400; line-height: 1.2; }
.service-card ul { margin: 0; padding: 0; list-style: none; columns: 2; column-gap: 30px; color: rgba(255,255,255,.65); font-size: .9rem; }
.service-card li { break-inside: avoid; margin-bottom: 8px; padding-left: 14px; position: relative; }
.service-card li::before { content: ''; position: absolute; left: 0; top: .7em; width: 4px; height: 4px; background: var(--gold); border-radius: 50%; }

.cta { padding-block: 0; background: var(--paper); }
.cta-card { position: relative; top: 60px; z-index: 2; display: grid; grid-template-columns: 1.3fr .7fr; gap: 70px; align-items: center; min-height: 310px; padding: 58px 65px; background: var(--gold); color: var(--navy); box-shadow: 0 25px 60px rgba(7,17,41,.16); }
.cta-card .eyebrow { color: rgba(7,17,41,.62); }
.cta-card h2 { font-size: clamp(2rem, 3.8vw, 3.3rem); }
.button-light { border-color: var(--navy); background: var(--navy); color: white; }
.button-light:hover { background: #15254f; }
.cta-actions p { margin: 20px 0 0; color: rgba(7,17,41,.68); font-size: .84rem; }
.address { padding-top: 155px; background: var(--paper); }
.address-grid { display: grid; grid-template-columns: 1fr 1fr .7fr; gap: 60px; align-items: end; }
.address address { display: flex; flex-direction: column; font-style: normal; color: var(--muted); }
.address address strong { margin-bottom: 10px; color: var(--ink); }
.legal-data { display: flex; flex-direction: column; gap: 18px; }
.legal-data span { color: var(--ink); font-size: .9rem; }
.legal-data small { display: block; color: var(--muted); font-size: .62rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.footer { padding: 46px 0; background: #020713; color: rgba(255,255,255,.55); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 40px; }
.brand-footer { flex: 0 0 auto; }
.footer p { max-width: 690px; margin: 0; text-align: right; font-size: .76rem; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 850px) {
  .topbar-inner { justify-content: space-between; gap: 10px; }
  .nav { min-height: 78px; }
  .menu-button { display: block; }
  .menu { position: absolute; top: 112px; left: 20px; right: 20px; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 20px; background: var(--navy); box-shadow: 0 18px 50px rgba(0,0,0,.35); }
  .menu.open { display: flex; }
  .menu > a { padding: 12px; }
  .hero { min-height: 700px; background-position: 60% center; }
  .hero-shade { background: linear-gradient(90deg, rgba(3,9,24,.95), rgba(3,9,24,.7)); }
  .intro-grid, .cta-card, .address-grid { grid-template-columns: 1fr; gap: 38px; }
  .intro-copy { padding-left: 0; border-left: 0; }
  .services-head { align-items: start; flex-direction: column; }
  .service-card ul { columns: 1; }
  .cta-card { padding: 46px 36px; }
  .footer-inner { align-items: start; flex-direction: column; }
  .footer p { text-align: left; }
}

@media (max-width: 600px) {
  .container { width: min(100% - 28px, var(--max)); }
  .topbar-inner span { display: none; }
  .topbar-inner { justify-content: flex-end; }
  .brand-mark { font-size: 1.7rem; }
  .brand-mark i { width: 24px; height: 24px; }
  .hero { min-height: 660px; }
  .hero h1 { font-size: clamp(3rem, 16vw, 4.7rem); }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .text-link { padding: 10px 0; }
  .hero-detail { display: none; }
  .section { padding: 74px 0; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: auto; padding: 34px 26px; }
  .cta-card { width: 100%; padding: 42px 28px; }
  .address { padding-top: 135px; }
}

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