:root {
  --color-primary: #0891B2;
  --color-secondary: #22D3EE;
  --color-accent: #22C55E;
  --color-neutral-dark: #164E63;
  --color-neutral-light: #ECFEFF;
  --color-bg: #ffffff;
  --color-text: #0f2a33;
  --color-muted: #4a6a75;
  --color-border: rgba(22, 78, 99, 0.12);
  --font-heading: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Inter', sans-serif;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 2px 20px rgba(15, 42, 51, 0.06);
  --shadow-md: 0 12px 40px -20px rgba(15, 42, 51, 0.35);
  --shadow-lg: 0 30px 80px -30px rgba(8, 145, 178, 0.35);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-hover: cubic-bezier(0.4, 0, 0.2, 1);
}

/* === Reset === */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--color-primary); text-decoration: none; transition: color .2s var(--ease-hover); }
a:hover { color: var(--color-neutral-dark); }
h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--color-neutral-dark); line-height: 1.2; letter-spacing: -0.015em; margin: 0 0 .75rem; }
h1 { font-weight: 800; }
h2 { font-weight: 700; font-size: clamp(1.6rem, 3vw, 2.25rem); }
h3 { font-weight: 600; font-size: 1.25rem; }
p { margin: 0 0 1rem; }

.container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: 1.25rem; }
.container--narrow { max-width: 780px; }
.container--wide { max-width: 1280px; }

.eyebrow {
  font-family: var(--font-heading);
  text-transform: uppercase;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .12em;
  color: var(--color-primary);
  margin: 0 0 1rem;
}

/* === Header / Nav === */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid var(--color-border);
  transition: background .3s var(--ease-hover), box-shadow .3s var(--ease-hover);
}
.site-header.scrolled {
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 8px 32px -20px rgba(15, 42, 51, 0.2);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: .75rem;
  gap: 1rem;
}
.logo { display: inline-flex; align-items: center; }
.logo img { height: 72px; width: auto; display: block; }
.logo--footer img { height: 64px; }

.nav-toggle {
  background: transparent;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  color: var(--color-neutral-dark);
  padding: .5rem;
  cursor: pointer;
  display: inline-flex;
}
.primary-nav {
  display: none;
  flex-direction: column;
  gap: .25rem;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #fff;
  padding: 1rem 1.25rem 1.5rem;
  border-bottom: 1px solid var(--color-border);
  box-shadow: 0 20px 40px -20px rgba(15,42,51,.2);
}
.primary-nav.is-open { display: flex; }
.primary-nav a {
  color: var(--color-neutral-dark);
  font-weight: 500;
  padding: .6rem .25rem;
  position: relative;
}
.primary-nav a[aria-current="page"] { color: var(--color-primary); }
.nav-cta {
  background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark));
  color: #fff !important;
  padding: .55rem 1rem !important;
  border-radius: 999px;
  text-align: center;
  margin-top: .5rem;
}

@media (min-width: 900px) {
  .logo img { height: 96px; }
  .logo--footer img { height: 72px; }
  .nav-toggle { display: none; }
  .primary-nav {
    display: flex;
    flex-direction: row;
    position: static;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    align-items: center;
    gap: 1.75rem;
  }
  .primary-nav a { padding: .25rem 0; }
  .primary-nav a:not(.nav-cta)::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: -4px;
    height: 2px;
    background: var(--color-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .25s var(--ease-hover);
  }
  .primary-nav a:not(.nav-cta):hover::after,
  .primary-nav a[aria-current="page"]:not(.nav-cta)::after { transform: scaleX(1); }
  .nav-cta { margin-top: 0; }
}

/* === Buttons === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 600;
  padding: .85rem 1.5rem;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  font-size: 1rem;
  transition: transform .2s var(--ease-hover), box-shadow .2s var(--ease-hover), background .2s var(--ease-hover);
  text-decoration: none;
  line-height: 1.2;
}
.btn-primary {
  background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark));
  color: #fff;
  box-shadow: 0 10px 30px -12px rgba(8, 145, 178, 0.6);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -12px rgba(8, 145, 178, 0.75); color: #fff; }
.btn-ghost {
  background: transparent;
  color: var(--color-neutral-dark);
  border-color: var(--color-border);
}
.btn-ghost:hover { background: var(--color-neutral-light); transform: translateY(-2px); }
.btn:focus-visible { outline: 3px solid var(--color-secondary); outline-offset: 3px; }

/* === Hero === */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: 3rem 4rem;
  background: linear-gradient(180deg, var(--color-neutral-light) 0%, #ffffff 70%);
}
.hero__glow {
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 620px;
  background: radial-gradient(circle at 50% 20%, rgba(34, 211, 238, 0.35), transparent 60%),
              radial-gradient(circle at 20% 40%, rgba(34, 197, 94, 0.15), transparent 55%);
  pointer-events: none;
  z-index: 0;
}
.hero-centered .hero__inner {
  position: relative;
  z-index: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero__title {
  font-size: clamp(2.25rem, 5vw, 4rem);
  max-width: 22ch;
  margin-bottom: 1.25rem;
  letter-spacing: -0.025em;
}
.hero__sub {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: var(--color-muted);
  max-width: 55ch;
  margin: 0 auto 2rem;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; margin-bottom: 3rem; }
.hero__image {
  margin: 2rem 0 0;
  width: 100%;
  max-width: 1000px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 16 / 9;
  background: #ddd;
}
.hero__image img { width: 100%; height: 100%; object-fit: cover; }

@media (min-width: 768px) {
  .hero { padding-block: 5rem 6rem; }
}

/* === Sections === */
.section { padding-block: 3.5rem; }
.section--intro { text-align: center; }
.section--intro h2 { max-width: 24ch; margin-inline: auto; }
.section__header { text-align: center; margin-bottom: 2.5rem; }
.section__header h2 { max-width: 28ch; margin-inline: auto; }
.section__header p { color: var(--color-muted); max-width: 60ch; margin-inline: auto; }
@media (min-width: 768px) {
  .section { padding-block: 5rem; }
}

/* === Cards === */
.card-grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 640px) {
  .card-grid--3, .card-grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .card-grid--3 { grid-template-columns: repeat(3, 1fr); }
  .card-grid--4 { grid-template-columns: repeat(4, 1fr); }
}
.card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease-hover), box-shadow .25s var(--ease-hover), border-color .25s var(--ease-hover);
  color: var(--color-text);
  display: flex;
  flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(8, 145, 178, 0.35); }
.card p { color: var(--color-muted); margin-bottom: 0; }
.card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--color-neutral-light), rgba(34, 211, 238, 0.25));
  color: var(--color-primary);
  margin-bottom: 1rem;
}
.card-link { text-decoration: none; }
.card-link:hover h3 { color: var(--color-primary); }
.card h3 { transition: color .2s var(--ease-hover); }

.card--stat .stat {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
  margin-bottom: .5rem;
  display: block;
}

/* === Quote === */
.section--quote { background: var(--color-neutral-light); }
.quote {
  margin: 0;
  text-align: center;
  padding: 1rem;
  position: relative;
}
.quote p {
  font-family: var(--font-heading);
  font-size: clamp(1.15rem, 2.2vw, 1.6rem);
  color: var(--color-neutral-dark);
  font-weight: 500;
  line-height: 1.4;
  margin: 0 auto 1rem;
  max-width: 60ch;
}
.quote cite { font-style: normal; color: var(--color-muted); font-size: .95rem; }

/* === CTA band === */
.cta-band {
  background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark));
  color: #fff;
  padding-block: 3rem;
  border-radius: 0;
}
.cta-band__inner {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: flex-start;
}
.cta-band h2 { color: #fff; margin-bottom: .5rem; }
.cta-band p { color: rgba(236, 254, 255, 0.9); margin: 0; max-width: 60ch; }
.cta-band .btn-primary {
  background: #fff;
  color: var(--color-neutral-dark);
  box-shadow: 0 10px 30px -12px rgba(0,0,0,.4);
}
.cta-band .btn-primary:hover { background: var(--color-neutral-light); color: var(--color-neutral-dark); }
@media (min-width: 768px) {
  .cta-band { padding-block: 4rem; }
  .cta-band__inner { flex-direction: row; align-items: center; justify-content: space-between; }
}

/* === Contact grid === */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 900px) {
  .contact-grid { grid-template-columns: 1fr 1.2fr; gap: 3rem; align-items: start; }
}
.contact-card {
  background: var(--color-neutral-light);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--color-border);
}
.contact-card address { font-style: normal; margin-bottom: 1.5rem; line-height: 1.7; }
.hours { width: 100%; border-collapse: collapse; font-size: .95rem; }
.hours th, .hours td { padding: .5rem 0; text-align: left; border-bottom: 1px solid var(--color-border); font-weight: 400; }
.hours th { color: var(--color-neutral-dark); font-weight: 500; }

.contact-form {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-weight: 500; margin-bottom: .35rem; color: var(--color-neutral-dark); font-size: .95rem; }
.field input, .field textarea {
  width: 100%;
  padding: .75rem .9rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 1rem;
  color: var(--color-text);
  background: #fff;
  transition: border-color .2s var(--ease-hover), box-shadow .2s var(--ease-hover);
}
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(8, 145, 178, .18);
}
.form-consent {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  font-size: .9rem;
  color: var(--color-muted);
  margin: 1rem 0 1.5rem;
  line-height: 1.5;
}
.form-consent input { margin-top: .2rem; flex-shrink: 0; }

/* === FAQ === */
.section--faq details.faq {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  margin-bottom: .75rem;
  transition: box-shadow .2s var(--ease-hover);
}
.faq[open] { box-shadow: var(--shadow-sm); }
.faq summary {
  cursor: pointer;
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--color-neutral-dark);
  list-style: none;
  padding-right: 2rem;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 0; top: 0;
  font-size: 1.4rem;
  color: var(--color-primary);
  transition: transform .2s var(--ease-hover);
}
.faq[open] summary::after { content: "−"; }
.faq p { margin-top: .75rem; color: var(--color-muted); margin-bottom: 0; }

/* === Footer === */
.site-footer {
  background: var(--color-neutral-dark);
  color: rgba(236, 254, 255, 0.85);
  padding-block: 3rem 1.5rem;
  margin-top: 2rem;
}
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: .75rem; }
.site-footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
@media (min-width: 768px) {
  .site-footer__grid { grid-template-columns: 1.2fr 1fr 1.2fr; }
}
.site-footer a { color: rgba(236, 254, 255, 0.85); }
.site-footer a:hover { color: var(--color-secondary); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer ul li { margin-bottom: .35rem; }
.site-footer address { font-style: normal; line-height: 1.7; margin-bottom: 1rem; }
.footer-tag { color: rgba(236, 254, 255, 0.65); font-size: .95rem; margin-top: .75rem; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 1rem; }
.site-footer__copy { padding-top: 1.5rem; color: rgba(236, 254, 255, 0.55); font-size: .875rem; }

/* === Reveal === */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); will-change: opacity, transform; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* === Cookie banner === */
.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  display: none;
  z-index: 9999;
  background: var(--color-neutral-dark);
  color: var(--color-neutral-light);
  padding: 1.25rem;
  border-radius: var(--radius-md);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.4);
  max-width: 560px;
  margin-inline: auto;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 1rem; font-size: .95rem; line-height: 1.5; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.cookie-banner .btn { padding: .55rem 1rem; font-size: .9rem; }
.cookie-banner .btn-ghost { color: var(--color-neutral-light); border-color: rgba(255,255,255,.25); }
.cookie-banner .btn-ghost:hover { background: rgba(255,255,255,.08); }
.cookie-banner__prefs { margin-top: 1rem; display: flex; flex-direction: column; gap: .5rem; }
.cookie-banner__prefs label { display: flex; align-items: center; gap: .5rem; font-size: .9rem; }
.cookie-banner__prefs .btn { align-self: flex-start; margin-top: .5rem; }
