:root {
  --navy: #092b52;
  --navy-2: #123f70;
  --ink: #10263b;
  --gold: #c9a64b;
  --gold-2: #e2c676;
  --sky: #e9f8fb;
  --sky-2: #f6fbfc;
  --white: #ffffff;
  --muted: #5f7184;
  --line: rgba(9, 43, 82, .13);
  --shadow: 0 22px 55px rgba(8, 35, 67, .14);
  --shadow-soft: 0 12px 30px rgba(8, 35, 67, .10);
  --radius: 24px;
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
::selection { background: var(--gold-2); color: var(--navy); }

.skip-link {
  position: fixed;
  left: 14px;
  top: -80px;
  z-index: 9999;
  background: var(--navy);
  color: white;
  padding: 10px 14px;
  border-radius: 10px;
}
.skip-link:focus { top: 14px; }

.container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.section-pad { padding: 100px 0; }
.section-soft { background: linear-gradient(180deg, #f8fcfd 0%, #eef9fb 100%); }
.section-dark { background: #071e37; color: white; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(9, 43, 82, .08);
}
.header-shell {
  width: min(1260px, calc(100% - 28px));
  margin: 0 auto;
  min-height: 82px;
  display: grid;
  grid-template-columns: 190px 1fr auto;
  align-items: center;
  gap: 28px;
}
.brand {
  display: block;
  height: 62px;
  border-radius: 14px;
  overflow: hidden;
  background: #e9e9e9;
  box-shadow: 0 6px 22px rgba(9, 43, 82, .08);
}
.brand img { width: 100%; height: 100%; object-fit: cover; object-position: center 52%; }
.main-nav { display: flex; align-items: center; justify-content: center; gap: 28px; }
.main-nav a { font-size: .93rem; font-weight: 650; color: #29445e; position: relative; white-space: nowrap; }
.main-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -8px; height: 2px; background: var(--gold); transition: .25s ease; }
.main-nav a:hover::after, .main-nav a.active::after { right: 0; }
.header-cta { display: inline-flex; align-items: center; gap: 8px; padding: 11px 16px; border-radius: 999px; background: var(--navy); color: white; font-size: .9rem; font-weight: 750; box-shadow: var(--shadow-soft); }
.wa-icon { width: 25px; height: 25px; display: grid; place-items: center; border-radius: 50%; background: #25D366; color: white; }
.menu-toggle { display: none; border: 0; background: none; padding: 8px; cursor: pointer; }
.menu-toggle span { width: 26px; height: 2px; background: var(--navy); display: block; margin: 5px 0; transition: .25s; }

.hero {
  position: relative;
  min-height: 760px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 88% 14%, rgba(201,166,75,.18), transparent 20%),
    linear-gradient(135deg, #f7fbfd 0%, #edf8fb 48%, #ffffff 100%);
}
.hero::before {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  right: -180px;
  top: 150px;
  border: 1px solid rgba(9,43,82,.08);
  border-radius: 50%;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 74px; align-items: center; position: relative; z-index: 2; }
.hero-copy { max-width: 660px; }
.eyebrow { display: inline-block; color: var(--gold); text-transform: uppercase; letter-spacing: .16em; font-size: .73rem; font-weight: 850; margin-bottom: 15px; }
.eyebrow-light { color: var(--gold-2); }
.hero h1, .section-heading h2, .feature-copy h2, .profile-copy h2, .program-copy h2, .contact-copy h2, .cta-panel h2 {
  margin: 0;
  font-family: var(--serif);
  color: var(--navy);
  letter-spacing: -.025em;
  line-height: 1.03;
}
.hero h1 { font-size: clamp(3.1rem, 6vw, 6.2rem); max-width: 800px; }
.hero h1 span { color: var(--gold); display: block; }
.hero-lead { margin: 24px 0 4px; font-weight: 700; font-size: 1.15rem; color: #28445f; }
.hero-slogan { margin: 0 0 22px; color: var(--navy); font-weight: 900; letter-spacing: .04em; }
.hero-person { border-left: 3px solid var(--gold); padding-left: 18px; display: grid; gap: 2px; margin: 26px 0 30px; }
.hero-person strong { font-family: var(--serif); font-size: 1.45rem; color: var(--navy); }
.hero-person span { color: var(--muted); font-size: .95rem; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn { display: inline-flex; justify-content: center; align-items: center; min-height: 50px; padding: 0 21px; border-radius: 14px; font-weight: 800; font-size: .92rem; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--navy); color: white; box-shadow: 0 12px 24px rgba(9,43,82,.18); }
.btn-primary:hover { background: var(--navy-2); }
.btn-ghost { border: 1px solid rgba(9,43,82,.16); background: rgba(255,255,255,.75); color: var(--navy); }
.btn-gold { background: var(--gold); color: #06192c; }
.btn-outline-light { border: 1px solid rgba(255,255,255,.28); color: white; background: rgba(255,255,255,.06); }
.hero-contact-strip { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 30px; color: #52708b; font-size: .86rem; }
.hero-contact-strip a:hover { color: var(--navy); }

.hero-visual { position: relative; }
.hero-card { margin: 0; padding: 12px; background: rgba(255,255,255,.82); border: 1px solid rgba(9,43,82,.11); border-radius: 34px; box-shadow: 0 34px 80px rgba(9,43,82,.19); transform: rotate(1.5deg); }
.hero-card img { width: 100%; border-radius: 25px; aspect-ratio: 1 / 1; object-fit: cover; }
.hero-badge { position: absolute; left: -25px; bottom: 28px; background: var(--navy); color: white; border: 1px solid rgba(255,255,255,.2); border-radius: 18px; padding: 14px 18px; box-shadow: var(--shadow); display: grid; }
.hero-badge span { font-size: .72rem; text-transform: uppercase; letter-spacing: .14em; color: #a8c3dc; }
.hero-badge strong { font-family: var(--serif); font-size: 1.3rem; }

.trust-strip { background: var(--navy); color: white; }
.trust-grid { display: grid; grid-template-columns: repeat(4,1fr); }
.trust-grid > div { padding: 27px 26px; min-height: 116px; display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 14px; border-right: 1px solid rgba(255,255,255,.1); align-items: center; }
.trust-grid > div:last-child { border-right: 0; }
.trust-grid span { grid-row: span 2; font-family: var(--serif); color: var(--gold-2); font-size: 1.55rem; }
.trust-grid strong { font-size: .98rem; }
.trust-grid small { color: #b9c9d8; font-size: .75rem; line-height: 1.3; }

.section-heading { max-width: 720px; margin-bottom: 45px; }
.section-heading h2, .feature-copy h2, .profile-copy h2, .program-copy h2, .contact-copy h2 { font-size: clamp(2.4rem, 4vw, 4.4rem); }
.section-heading p, .feature-copy > p, .profile-copy > p, .program-copy > p, .contact-copy > p { color: var(--muted); font-size: 1.02rem; margin-top: 15px; }
.section-heading-light h2 { color: white; }
.section-heading-light p { color: #bac8d5; }

.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.service-card { min-height: 190px; padding: 24px; border-radius: 20px; border: 1px solid var(--line); background: #fff; display: flex; flex-direction: column; justify-content: space-between; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-soft); border-color: rgba(201,166,75,.5); }
.service-card h3 { margin: 34px 0 0; color: var(--navy); font-family: var(--serif); font-size: 1.25rem; line-height: 1.2; }
.service-number { font-size: .72rem; font-weight: 900; color: var(--gold); letter-spacing: .12em; }
.service-card-accent { background: var(--navy); border-color: var(--navy); }
.service-card-accent h3 { color: white; }

.feature-grid, .profile-grid, .program-grid, .contact-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 72px; align-items: center; }
.feature-media, .program-media, .profile-visual { margin: 0; padding: 10px; background: white; border-radius: 30px; border: 1px solid rgba(9,43,82,.11); box-shadow: var(--shadow); overflow: hidden; }
.feature-media img, .program-media img, .profile-visual img { width: 100%; height: auto; border-radius: 22px; }
.check-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 28px 0 26px; }
.check-grid span { position: relative; padding: 13px 14px 13px 42px; border-radius: 14px; background: rgba(255,255,255,.78); border: 1px solid rgba(9,43,82,.1); color: #29465f; font-size: .9rem; }
.check-grid span::before { content: "✓"; position: absolute; left: 14px; top: 12px; width: 20px; height: 20px; border-radius: 50%; background: rgba(201,166,75,.18); color: #8e6d18; display: grid; place-items: center; font-size: .75rem; font-weight: 900; }
.text-link { display: inline-flex; align-items: center; gap: 10px; color: var(--navy); font-weight: 850; }
.text-link span { color: var(--gold); font-size: 1.4rem; }

.legal-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.legal-list { border-top: 1px solid var(--line); }
.legal-list > div { display: grid; grid-template-columns: 64px 1fr; align-items: center; min-height: 72px; border-bottom: 1px solid var(--line); }
.legal-list b { color: var(--gold); font-size: .78rem; letter-spacing: .1em; }
.legal-list span { color: var(--navy); font-family: var(--serif); font-size: 1.18rem; }
.legal-media { margin: 0; overflow: hidden; border-radius: 30px; padding: 10px; border: 1px solid rgba(9,43,82,.12); box-shadow: var(--shadow); background: #fff; }
.legal-media img { width: 100%; border-radius: 22px; }

.cta-section { padding-top: 30px; padding-bottom: 30px; }
.cta-panel { background: linear-gradient(130deg, #082847, #0f467a); border-radius: 32px; padding: 50px; color: white; display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center; box-shadow: 0 30px 70px rgba(9,43,82,.22); position: relative; overflow: hidden; }
.cta-panel::after { content: ""; position: absolute; width: 260px; height: 260px; right: -50px; top: -90px; border-radius: 50%; border: 1px solid rgba(255,255,255,.14); }
.cta-panel h2 { color: white; font-size: clamp(2rem, 4vw, 3.5rem); }
.cta-panel p { margin: 12px 0 0; color: var(--gold-2); font-weight: 900; letter-spacing: .08em; }
.cta-actions { display: flex; flex-direction: column; align-items: stretch; gap: 12px; position: relative; z-index: 2; }

.profile-grid { grid-template-columns: 1.05fr .95fr; }
.profile-role { color: var(--gold) !important; font-weight: 850; }
.profile-facts { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin-top: 28px; }
.profile-facts div { padding: 18px; border-radius: 16px; background: white; border: 1px solid rgba(9,43,82,.1); }
.profile-facts small { display: block; color: var(--muted); font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 5px; }
.profile-facts strong { color: var(--navy); font-size: .88rem; line-height: 1.3; display: block; }
.profile-visual { position: relative; }
.profile-quote { margin: 10px 3px 2px; padding: 14px; border-radius: 16px; background: var(--navy); color: var(--gold-2); text-align: center; font-weight: 900; }

.timeline { position: relative; max-width: 900px; margin-left: 8px; }
.timeline::before { content: ""; position: absolute; left: 12px; top: 8px; bottom: 8px; width: 1px; background: linear-gradient(var(--gold), rgba(201,166,75,.1)); }
.timeline-item { display: grid; grid-template-columns: 26px 1fr; gap: 24px; padding: 0 0 30px; }
.timeline-item > span { width: 25px; height: 25px; border-radius: 50%; border: 7px solid white; background: var(--gold); box-shadow: 0 0 0 1px rgba(201,166,75,.5); z-index: 2; }
.timeline-item h3 { margin: 0 0 6px; color: var(--navy); font-family: var(--serif); font-size: 1.32rem; }
.timeline-item p { margin: 0; color: var(--muted); }

.program-grid { grid-template-columns: .8fr 1.2fr; }
.program-copy .btn { margin-top: 12px; }
.program-media img { max-height: 650px; object-fit: contain; background: #f7f7f7; }

.coverage-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.coverage-grid span { padding: 14px 18px; border-radius: 999px; background: #f2f8fa; border: 1px solid rgba(9,43,82,.1); color: var(--navy); font-weight: 750; }
.hours-card { margin-top: 34px; display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; }
.hours-card div { padding: 24px; display: grid; gap: 4px; border-right: 1px solid var(--line); }
.hours-card div:last-child { border-right: 0; }
.hours-card small { text-transform: uppercase; letter-spacing: .1em; color: var(--gold); font-size: .7rem; font-weight: 850; }
.hours-card strong { color: var(--navy); }

.pdf-shell { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.15); border-radius: 28px; padding: 12px; box-shadow: 0 34px 90px rgba(0,0,0,.28); }
.pdf-toolbar { min-height: 54px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 0 12px 10px; color: #c8d4df; font-size: .84rem; }
.pdf-toolbar a { color: var(--gold-2); font-weight: 800; }
.pdf-viewer { width: 100%; height: 760px; border: 0; border-radius: 20px; background: white; display: block; }
.pdf-fallback { min-height: 460px; display: grid; place-items: center; align-content: center; gap: 15px; color: var(--ink); text-align: center; padding: 30px; }
.privacy-note { margin: 18px 4px 0; color: #aebfce; font-size: .82rem; }

.contact-grid { align-items: stretch; }
.contact-list { display: grid; margin-top: 28px; border-top: 1px solid var(--line); }
.contact-list > * { display: flex; justify-content: space-between; gap: 24px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.contact-list span { color: var(--muted); }
.contact-list strong { color: var(--navy); text-align: right; }
.contact-list a:hover strong { color: var(--gold); }
.contact-card { border-radius: 30px; padding: 32px; background: linear-gradient(160deg, #f8fcfd, #edf8fb); border: 1px solid rgba(9,43,82,.1); box-shadow: var(--shadow); display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; }
.contact-logo-wrap { width: min(100%, 460px); height: 220px; overflow: hidden; border-radius: 22px; box-shadow: var(--shadow-soft); }
.contact-logo-wrap img { width: 100%; height: 100%; object-fit: cover; object-position: center 54%; }
.contact-card h3 { margin: 23px 0 2px; font-family: var(--serif); color: var(--navy); font-size: 1.55rem; }
.contact-card p { margin: 0 0 20px; color: var(--gold); font-weight: 800; }
.contact-card-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }

.site-footer { background: #04172b; color: #c2cfda; padding: 38px 0; }
.footer-grid { display: grid; grid-template-columns: 1.2fr .8fr .8fr; gap: 30px; align-items: center; }
.footer-grid > div { display: grid; gap: 3px; }
.footer-grid strong { color: white; font-family: var(--serif); letter-spacing: .02em; }
.footer-grid span, .footer-grid a { font-size: .85rem; }
.footer-grid a:hover { color: var(--gold-2); }

.floating-whatsapp { position: fixed; right: 22px; bottom: 22px; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: #25D366; color: white; box-shadow: 0 16px 34px rgba(0,0,0,.22); z-index: 900; font-size: 1.45rem; border: 3px solid white; transition: transform .2s ease; }
.floating-whatsapp:hover { transform: translateY(-4px) scale(1.03); }

.reveal { opacity: 1; transform: none; }
.reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: no-preference) {
  .reveal { animation: reveal-up .62s ease both; }
  @keyframes reveal-up {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
  }
}

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

@media (max-width: 1040px) {
  .header-shell { grid-template-columns: 170px 1fr auto; }
  .main-nav { gap: 16px; }
  .main-nav a { font-size: .84rem; }
  .header-cta { display: none; }
  .hero-grid { gap: 42px; }
  .service-grid { grid-template-columns: repeat(3, 1fr); }
  .feature-grid, .profile-grid, .program-grid, .contact-grid { gap: 42px; }
}

@media (max-width: 820px) {
  .section-pad { padding: 76px 0; }
  .container { width: min(100% - 28px, 720px); }
  .header-shell { min-height: 72px; grid-template-columns: 150px 1fr auto; gap: 10px; }
  .brand { height: 52px; }
  .menu-toggle { display: block; grid-column: 3; }
  .main-nav { position: absolute; top: 72px; left: 14px; right: 14px; display: grid; gap: 0; padding: 10px; background: white; border: 1px solid rgba(9,43,82,.1); border-radius: 18px; box-shadow: var(--shadow); transform-origin: top; opacity: 0; visibility: hidden; transform: translateY(-10px); transition: .2s ease; }
  .main-nav.open { opacity: 1; visibility: visible; transform: translateY(0); }
  .main-nav a { padding: 13px 12px; border-radius: 10px; }
  .main-nav a:hover { background: #f2f8fa; }
  .main-nav a::after { display: none; }
  .hero { min-height: auto; padding-top: 64px; }
  .hero-grid, .feature-grid, .profile-grid, .program-grid, .contact-grid, .legal-layout { grid-template-columns: 1fr; }
  .hero-copy { order: 1; }
  .hero-visual { order: 2; width: min(100%, 620px); margin: 0 auto; }
  .hero h1 { font-size: clamp(2.9rem, 12vw, 5rem); }
  .hero-badge { left: 12px; bottom: 14px; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .trust-grid > div:nth-child(2) { border-right: 0; }
  .trust-grid > div:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.1); }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .legal-media { order: -1; }
  .cta-panel { grid-template-columns: 1fr; padding: 38px 28px; }
  .profile-visual { order: -1; }
  .profile-facts { grid-template-columns: 1fr; }
  .hours-card { grid-template-columns: 1fr; }
  .hours-card div { border-right: 0; border-bottom: 1px solid var(--line); }
  .hours-card div:last-child { border-bottom: 0; }
  .pdf-viewer { height: 650px; }
  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .footer-grid > div { justify-items: center; }
}

@media (max-width: 560px) {
  .container { width: min(100% - 22px, 520px); }
  .section-pad { padding: 62px 0; }
  .hero { padding-top: 48px; }
  .hero h1 { font-size: 2.75rem; }
  .hero-lead { font-size: 1rem; }
  .hero-actions .btn { width: 100%; }
  .hero-contact-strip { font-size: .8rem; }
  .hero-card { border-radius: 24px; padding: 8px; }
  .hero-card img { border-radius: 18px; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-grid > div { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.1); }
  .trust-grid > div:last-child { border-bottom: 0; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 140px; }
  .check-grid { grid-template-columns: 1fr; }
  .cta-panel { border-radius: 24px; padding: 30px 20px; }
  .cta-actions .btn { width: 100%; }
  .contact-list > * { display: grid; gap: 3px; }
  .contact-list strong { text-align: left; word-break: break-word; }
  .pdf-shell { padding: 8px; border-radius: 20px; }
  .pdf-toolbar { align-items: flex-start; flex-direction: column; padding: 8px 8px 12px; gap: 4px; }
  .pdf-viewer { height: 540px; border-radius: 14px; }
  .contact-card { padding: 22px 16px; }
  .contact-logo-wrap { height: 170px; }
  .floating-whatsapp { width: 54px; height: 54px; right: 15px; bottom: 15px; }
}
