:root {
  --navy: #062e49;
  --navy-2: #0a4d7a;
  --ocean: #0e6ba8;
  --sky: #7fc4e8;
  --sky-soft: #cfeafa;
  --sand: #f4b740;
  --paper: #f7fafc;
  --paper-2: #eef4f8;
  --ink: #14212b;
  --ink-soft: #4a5b67;
  --white: #ffffff;
  --ring: rgba(14, 107, 168, 0.35);
  --shadow: 0 10px 30px rgba(6, 46, 73, 0.10);
  --radius: 16px;
  --maxw: 1120px;
  --font-head: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--ocean); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { width: min(var(--maxw), 92%); margin-inline: auto; }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 100;
  background: var(--navy); color: #fff; padding: .75rem 1rem; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 250, 252, 0.85);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid rgba(6, 46, 73, 0.08);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 72px; }
.brand { display: flex; align-items: center; }
.brand:hover { text-decoration: none; }
.brand-logo { height: 38px; width: auto; display: block; }
.brand-logo--light { display: none; }

.nav-menu { display: flex; align-items: center; gap: 2rem; }
.nav-links { display: flex; gap: 1.6rem; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--ink); font-weight: 500; font-size: .96rem; }
.nav-links a:hover { color: var(--ocean); text-decoration: none; }

.lang-switch { display: flex; align-items: center; gap: .35rem; color: var(--ink-soft); }
.lang-btn {
  background: none; border: none; cursor: pointer; font: inherit; font-weight: 600;
  color: var(--ink-soft); padding: .2rem .35rem; border-radius: 6px;
}
.lang-btn:hover { color: var(--ocean); }
.lang-btn.active { color: var(--ocean); background: var(--ring); }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: .5rem; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--navy); margin: 5px 0; transition: .25s; }

/* Hero */
.hero {
  position: relative;
  background:
    radial-gradient(1200px 500px at 70% -10%, rgba(127,196,232,0.35), transparent 60%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 55%, var(--ocean) 100%);
  color: #eaf4fb; text-align: center; padding: clamp(3.5rem, 8vw, 6.5rem) 0 7rem;
  overflow: hidden;
}
.hero-logo { width: min(560px, 86%); height: auto; margin: 0 auto 1.75rem; filter: drop-shadow(0 6px 18px rgba(0,0,0,.28)); }
.hero h1 {
  font-family: var(--font-head); font-weight: 700; color: #fff;
  font-size: clamp(2rem, 5vw, 3.4rem); line-height: 1.08; margin: 0 0 1rem; letter-spacing: -0.01em;
}
.hero-tagline { font-size: clamp(1.05rem, 2.2vw, 1.35rem); color: var(--sky-soft); max-width: 42ch; margin: 0 auto 2rem; }
.hero-actions { display: flex; gap: .9rem; justify-content: center; flex-wrap: wrap; }
.hero-wave { position: absolute; left: 0; right: 0; bottom: -1px; line-height: 0; }
.hero-wave svg { width: 100%; height: clamp(60px, 8vw, 110px); }
.hero-wave path { fill: var(--paper); }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .8rem 1.6rem; border-radius: 999px; font-weight: 600; font-size: .98rem;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-primary { background: var(--sand); color: #3a2a06; box-shadow: 0 8px 20px rgba(244,183,64,.35); }
.btn-primary:hover { background: #ffc851; }
.btn-ghost { border: 1.5px solid rgba(234,244,251,.6); color: #eaf4fb; }
.btn-ghost:hover { background: rgba(234,244,251,.12); }

/* Sections */
.section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.section-alt { background: var(--paper-2); }
.eyebrow { text-transform: uppercase; letter-spacing: .18em; font-size: .8rem; font-weight: 600; color: var(--ocean); margin: 0 0 .5rem; }
.section h2 { font-family: var(--font-head); font-weight: 600; color: var(--navy); font-size: clamp(1.6rem, 3.5vw, 2.4rem); line-height: 1.15; margin: 0 0 1.5rem; }
.prose { max-width: 68ch; }
.prose p { color: var(--ink-soft); margin: 0 0 1.1rem; }
.prose p:last-child { margin-bottom: 0; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2.5rem; }
.stat {
  background: var(--white); border: 1px solid rgba(6,46,73,.07); border-radius: var(--radius);
  padding: 1.6rem 1.4rem; box-shadow: var(--shadow); text-align: center;
}
.stat-num { display: block; font-family: var(--font-head); font-weight: 700; font-size: 2.2rem; color: var(--ocean); }
.stat-label { display: block; color: var(--ink-soft); font-size: .92rem; margin-top: .3rem; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; margin-top: 2rem; }
.card {
  background: var(--white); border: 1px solid rgba(6,46,73,.07); border-radius: var(--radius);
  padding: 2rem 1.6rem; box-shadow: var(--shadow);
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(6,46,73,.14); }
.card-icon { font-size: 2.4rem; line-height: 1; margin-bottom: .8rem; }
.card h3 { font-family: var(--font-head); color: var(--navy); font-size: 1.3rem; margin: 0 0 .6rem; }
.card p { color: var(--ink-soft); margin: 0; font-size: .96rem; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 2.5rem; margin-top: 2rem; align-items: start; }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.3rem; }
.contact-list li { display: grid; gap: .2rem; }
.ci-label { text-transform: uppercase; letter-spacing: .1em; font-size: .74rem; font-weight: 600; color: var(--ocean); }
.contact-list a { font-weight: 500; }
.phone-note { color: var(--ink-soft); font-size: .82rem; margin-top: 1.2rem; }
.contact-map { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid rgba(6,46,73,.08); background: var(--white); }
.contact-map iframe { width: 100%; height: 340px; border: 0; display: block; }
.map-link { display: block; text-align: center; padding: .7rem; font-size: .9rem; font-weight: 500; background: var(--white); }

/* Footer */
.site-footer { background: var(--navy); color: #cfe0ec; padding: 3rem 0; text-align: center; }
.footer-inner { display: grid; gap: 1rem; justify-items: center; }
.footer-brand { display: flex; align-items: center; justify-content: center; }
.footer-brand img { height: 50px; width: auto; }
.footer-meta, .footer-copy { margin: 0; font-size: .9rem; }
.footer-meta a, .footer-copy a { color: var(--sky); }
.footer-copy { color: #8fb0c6; font-size: .84rem; }

/* Mobile */
@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .nav-menu {
    position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 1.2rem;
    background: var(--paper); padding: 1.4rem 4%; border-bottom: 1px solid rgba(6,46,73,.1);
    box-shadow: var(--shadow); display: none;
  }
  .nav-menu.open { display: flex; }
  .nav-links { flex-direction: column; gap: 1rem; width: 100%; }
  .stats, .cards { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

@media (max-width: 480px) {
  .stats { gap: .8rem; }
}

/* Dark mode */
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #0c1a24;
    --paper-2: #10222f;
    --ink: #e8f1f7;
    --ink-soft: #a9bfcd;
    --white: #142935;
    --navy: #04202f;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  }
  .site-header { background: rgba(12,26,36,.85); border-bottom-color: rgba(255,255,255,.08); }
  .brand-logo--dark { display: none; }
  .brand-logo--light { display: block; }
  .nav-links a, .brand { color: var(--ink); }
  .nav-toggle span { background: var(--ink); }
  .stat, .card, .contact-map, .map-link { border-color: rgba(255,255,255,.08); }
  .section h2, .card h3, .brand-text strong { color: #eaf4fb; }
  .hero-wave path { fill: var(--paper); }
  .nav-menu { background: var(--paper-2); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn:hover, .card:hover { transform: none; }
}
