:root {
  --navy: #062b47;
  --navy-deep: #031e33;
  --ocean: #067b93;
  --turquoise: #10aeb3;
  --turquoise-dark: #078d98;
  --orange: #f3a400;
  --coral: #ff755d;
  --sky: #ecf8fb;
  --ink: #082c4d;
  --muted: #506579;
  --line: #d9eaf0;
  --shadow: 0 20px 55px rgba(4, 46, 72, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: #fff; color: var(--ink); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
svg { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
.container { width: min(1420px, calc(100% - 72px)); margin-inline: auto; }
.section { padding: 86px 0; }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(3, 37, 62, .96); box-shadow: 0 8px 30px rgba(1, 29, 49, .18); backdrop-filter: blur(14px); }
.header-inner { height: 98px; display: flex; align-items: center; gap: 36px; }
.brand { flex: 0 0 270px; }
.brand img { width: 235px; max-height: 76px; object-fit: contain; object-position: left center; }
.desktop-nav { margin-left: auto; display: flex; align-items: center; gap: clamp(16px, 1.7vw, 34px); color: rgba(255, 255, 255, .94); font-size: 15px; font-weight: 600; }
.desktop-nav a { position: relative; padding: 38px 0; }
.desktop-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 27px; height: 2px; background: var(--orange); transition: right .25s ease; }
.desktop-nav a:hover::after, .desktop-nav a:focus-visible::after { right: 0; }
.language-switcher { display: flex; align-items: center; gap: 6px; color: rgba(255,255,255,.58); font-size: 12px; font-weight: 800; }
.language-switcher a { padding: 8px 2px; color: rgba(255,255,255,.7); }
.language-switcher a:hover, .language-switcher a:focus-visible, .language-switcher a.active { color: #fff; }
.language-switcher a.active { text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.header-cta { margin-left: 4px; padding: 15px 25px; border-radius: 999px; color: #fff; font-weight: 800; white-space: nowrap; background: linear-gradient(135deg, var(--turquoise), #0f9cab); box-shadow: 0 10px 28px rgba(11, 174, 181, .25); transition: transform .2s ease, box-shadow .2s ease; }
.header-cta:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(11, 174, 181, .35); }
.mobile-menu { display: none; margin-left: auto; position: relative; }
.mobile-menu summary { width: 46px; height: 46px; border: 1px solid rgba(255,255,255,.25); border-radius: 12px; display: grid; place-content: center; gap: 5px; cursor: pointer; list-style: none; }
.mobile-menu summary::-webkit-details-marker { display: none; }
.mobile-menu summary span { width: 22px; height: 2px; background: #fff; border-radius: 9px; }
.mobile-menu nav { position: absolute; right: 0; top: 60px; width: min(310px, calc(100vw - 40px)); padding: 14px; border-radius: 18px; background: var(--navy-deep); box-shadow: var(--shadow); }
.mobile-menu nav a { display: block; color: #fff; padding: 13px 14px; border-radius: 10px; font-weight: 650; }
.mobile-menu nav a:hover { background: rgba(255,255,255,.08); }
.mobile-languages { display: flex; gap: 8px; margin-top: 8px; padding: 10px 8px 4px; border-top: 1px solid rgba(255,255,255,.12); }
.mobile-menu nav .mobile-languages a { display: grid; place-content: center; min-width: 44px; padding: 9px; text-align: center; }
.mobile-menu nav .mobile-languages a.active { color: var(--navy-deep); background: var(--orange); }

.hero { position: relative; min-height: 600px; overflow: hidden; background: #eaf5f8; }
.hero-photo { position: absolute; inset: 0 0 0 44%; background: url('../images/hero.webp') center / cover no-repeat; }
.hero-wash { position: absolute; inset: 0; background: linear-gradient(90deg, #fff 0%, #fff 34%, rgba(255,255,255,.93) 45%, rgba(255,255,255,.20) 66%, rgba(255,255,255,0) 82%); }
.wave-lines { position: absolute; left: -70px; bottom: -90px; width: 620px; height: 330px; border: 1px solid rgba(9,165,173,.13); border-radius: 50%; transform: rotate(16deg); box-shadow: 0 0 0 18px rgba(9,165,173,.035), 0 0 0 42px rgba(9,165,173,.025), 0 0 0 72px rgba(9,165,173,.02); }
.hero-inner { position: relative; min-height: 600px; display: flex; align-items: center; }
.hero-copy { width: min(630px, 49%); padding: 62px 0 42px; }
.eyebrow, .section-kicker { margin: 0 0 18px; color: var(--coral); font-size: 15px; font-weight: 750; letter-spacing: .02em; }
.eyebrow { display: flex; align-items: center; gap: 12px; }
.eyebrow span { width: 28px; height: 2px; background: currentColor; }
.hero h1 { margin: 0; max-width: 620px; color: #062a4e; font-size: clamp(48px, 4.1vw, 70px); line-height: 1.02; letter-spacing: -.045em; font-weight: 850; }
.hero-text { max-width: 570px; margin: 24px 0 0; color: #425a70; font-size: 19px; line-height: 1.62; }
.hero-actions { display: flex; gap: 18px; margin-top: 29px; }
.button { min-height: 50px; padding: 0 24px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; gap: 14px; font-size: 15px; font-weight: 800; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: #fff; background: linear-gradient(135deg, var(--turquoise), var(--turquoise-dark)); box-shadow: 0 12px 28px rgba(8,145,155,.22); }
.button-secondary { color: var(--ink); border: 1.5px solid var(--turquoise); background: rgba(255,255,255,.8); }
.button-dark { color: #fff; background: var(--navy); }
.hero-features { margin-top: 34px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; color: var(--ink); }
.hero-features > div { display: flex; align-items: center; gap: 10px; padding-right: 14px; border-right: 1px solid rgba(9, 97, 120, .15); font-size: 12px; font-weight: 750; }
.hero-features > div:last-child { border-right: 0; }
.hero-features svg { flex: 0 0 auto; color: var(--turquoise-dark); }

.programs { position: relative; overflow: hidden; background: linear-gradient(180deg, #f3fbfd 0%, #eaf7fa 100%); }
.section-heading { text-align: center; margin: 0 auto 38px; }
.section-heading h2, .why h2, .legacy h2, .contact h2 { margin: 0; color: var(--ink); font-size: clamp(34px, 3vw, 48px); line-height: 1.1; letter-spacing: -.035em; }
.section-kicker { color: var(--turquoise-dark); text-transform: uppercase; letter-spacing: .13em; font-size: 12px; }
.heading-line { display: block; width: 42px; height: 3px; margin: 18px auto 0; border-radius: 99px; background: var(--turquoise); }
.map-accent { position: absolute; color: rgba(15,159,175,.16); font-size: 70px; letter-spacing: 6px; transform: rotate(-14deg); user-select: none; }
.map-left { left: -40px; top: 85px; }
.map-right { right: -50px; top: 110px; transform: rotate(14deg); }
.program-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; }
.program-card { position: relative; overflow: hidden; padding: 12px 12px 20px; border: 1px solid rgba(7,86,111,.06); border-radius: 20px; background: #fff; box-shadow: 0 12px 30px rgba(4,61,87,.08); text-align: center; transition: transform .25s ease, box-shadow .25s ease; }
.program-card:hover { transform: translateY(-8px); box-shadow: 0 22px 42px rgba(4,61,87,.15); }
.program-image { height: 150px; overflow: hidden; border-radius: 14px; background: #dceef2; }
.program-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.program-card:hover .program-image img { transform: scale(1.045); }
.program-icon { width: 54px; height: 54px; display: grid; place-content: center; margin: -27px auto 12px; position: relative; border-radius: 50%; color: var(--turquoise-dark); background: #fff; box-shadow: 0 8px 18px rgba(4,61,87,.13); }
.program-card h3 { margin: 0; font-size: 17px; color: var(--ink); }
.program-card p { min-height: 64px; margin: 10px 4px; color: var(--muted); font-size: 12px; line-height: 1.55; }
.program-card > a { color: var(--turquoise-dark); font-size: 12px; font-weight: 850; }
.program-card > a span { margin-left: 5px; }
.trust-strip { margin-top: 28px; display: grid; grid-template-columns: repeat(5, 1fr); border-radius: 20px; background: rgba(255,255,255,.88); box-shadow: 0 10px 30px rgba(4,61,87,.07); }
.trust-item { min-height: 88px; padding: 18px; display: flex; align-items: center; justify-content: center; gap: 12px; color: var(--ink); font-size: 13px; font-weight: 700; border-right: 1px solid var(--line); }
.trust-item:last-child { border-right: 0; }
.trust-item svg { color: var(--ocean); flex: 0 0 auto; }

.why { background: #fff; }
.why-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 90px; align-items: center; }
.why-photo { min-height: 560px; border-radius: 32px; background: linear-gradient(180deg, transparent 65%, rgba(3,42,69,.2)), url('../images/hero.webp') 76% center / cover no-repeat; box-shadow: var(--shadow); }
.why-copy > p:not(.section-kicker) { max-width: 680px; color: var(--muted); font-size: 17px; line-height: 1.75; }
.why-list { display: grid; gap: 18px; margin-top: 28px; }
.why-list > div { display: flex; gap: 17px; padding: 17px; border-radius: 18px; background: var(--sky); }
.why-list > div > span { width: 50px; height: 50px; border-radius: 14px; display: grid; place-content: center; flex: 0 0 auto; color: var(--turquoise-dark); background: #fff; }
.why-list h3 { margin: 1px 0 5px; font-size: 17px; }
.why-list p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.55; }

.legacy { color: #fff; background: linear-gradient(120deg, var(--navy-deep), #075b74); }
.legacy-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 80px; align-items: center; }
.legacy .light { color: #7edade; }
.legacy h2 { color: #fff; }
.legacy p { margin: 0; color: rgba(255,255,255,.76); font-size: 18px; line-height: 1.75; }

.contact { background: #f5fbfc; }
.contact-card { padding: 48px 56px; border-radius: 28px; display: flex; align-items: center; justify-content: space-between; gap: 40px; background: #fff; box-shadow: var(--shadow); }
.contact-card > div:first-child { max-width: 760px; }
.contact-card p:not(.section-kicker) { color: var(--muted); line-height: 1.7; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; flex: 0 0 auto; }

.footer { padding-top: 68px; color: rgba(255,255,255,.72); background: var(--navy-deep); }
.footer-grid { display: grid; grid-template-columns: 1.4fr .7fr .9fr; gap: 70px; padding-bottom: 55px; }
.footer-brand img { width: 240px; }
.footer-brand p { max-width: 370px; margin-top: 20px; }
.footer h3 { margin: 0 0 18px; color: #fff; }
.footer a, .footer p { display: block; margin: 0 0 10px; line-height: 1.65; }
.footer a:hover { color: #fff; }
.footer-bottom { padding: 22px 0; border-top: 1px solid rgba(255,255,255,.1); font-size: 13px; }

.whatsapp-float { position: fixed; right: max(22px, env(safe-area-inset-right)); bottom: max(22px, env(safe-area-inset-bottom)); z-index: 60; width: 56px; height: 56px; min-height: 56px; padding: 0; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: #fff; background: #178c52; box-shadow: 0 10px 28px rgba(0, 55, 31, .28); transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.whatsapp-float:hover { transform: translateY(-2px); background: #137b47; box-shadow: 0 14px 32px rgba(0, 55, 31, .34); }
.whatsapp-float svg { flex: 0 0 auto; }

@media (max-width: 1240px) {
  .desktop-nav { gap: 18px; font-size: 14px; }
  .brand { flex-basis: 225px; }
  .brand img { width: 210px; }
  .header-cta { padding-inline: 23px; }
  .program-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 1180px) {
  .desktop-nav, .header-cta, .language-switcher { display: none; }
  .mobile-menu { display: block; }
}

@media (max-width: 980px) {
  .container { width: calc(100% - 40px); max-width: 760px; }
  .header-inner { height: 84px; }
  .desktop-nav, .header-cta, .language-switcher { display: none; }
  .mobile-menu { display: block; }
  .brand img { width: 190px; }
  .hero { min-height: 780px; }
  .hero-photo { inset: 360px 0 0 0; }
  .hero-wash { background: linear-gradient(180deg, #fff 0%, #fff 40%, rgba(255,255,255,.9) 48%, rgba(255,255,255,0) 70%); }
  .hero-inner { min-height: 780px; align-items: flex-start; }
  .hero-copy { width: 100%; padding-top: 55px; }
  .hero-copy h1, .hero-text, .hero-features { max-width: 680px; }
  .trust-strip { grid-template-columns: repeat(2, 1fr); }
  .trust-item { border-bottom: 1px solid var(--line); }
  .trust-item:nth-child(2n) { border-right: 0; }
  .trust-item:last-child { grid-column: 1 / -1; border-bottom: 0; }
  .why-grid { grid-template-columns: 1fr; gap: 48px; }
  .why-photo { min-height: 430px; }
  .legacy-inner { grid-template-columns: 1fr; gap: 30px; }
  .contact-card { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 680px) {
  .container { width: calc(100% - 28px); max-width: 560px; }
  .section { padding: 64px 0; }
  .brand { flex-basis: auto; }
  .brand img { width: 172px; }
  .hero { min-height: 800px; }
  .hero-photo { inset: 475px 0 0 0; background-position: 64% center; }
  .hero-wash { background: linear-gradient(180deg, #fff 0%, #fff 52%, rgba(255,255,255,.82) 62%, rgba(255,255,255,0) 78%); }
  .hero-copy { padding-top: 40px; }
  .eyebrow { font-size: 12px; }
  .hero h1 { font-size: 42px; }
  .hero-text { font-size: 16px; }
  .hero-actions { align-items: stretch; flex-direction: column; gap: 11px; }
  .hero-actions .button { width: 100%; }
  .hero-features { grid-template-columns: 1fr; gap: 9px; margin-top: 22px; }
  .hero-features > div { border-right: 0; }
  .program-grid { grid-template-columns: repeat(2, 1fr); gap: 13px; }
  .program-card { padding: 9px 9px 17px; }
  .program-image { height: 115px; }
  .program-card p { display: none; }
  .program-card h3 { min-height: 43px; display: grid; place-content: center; font-size: 15px; }
  .program-icon { width: 48px; height: 48px; margin-top: -24px; }
  .trust-strip { grid-template-columns: 1fr; }
  .trust-item { justify-content: flex-start; border-right: 0; }
  .trust-item:last-child { grid-column: auto; }
  .why-photo { min-height: 330px; border-radius: 24px; }
  .why-list > div { padding: 14px; }
  .legacy p { font-size: 16px; }
  .contact-card { padding: 32px 23px; }
  .contact-actions, .contact-actions .button { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .footer-bottom { padding-bottom: 94px; }
  .whatsapp-float { right: max(14px, env(safe-area-inset-right)); bottom: max(14px, env(safe-area-inset-bottom)); width: 54px; height: 54px; min-height: 54px; }
}

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