/* === Tokens === */
:root {
  --color-primary: #0891B2;
  --color-secondary: #22D3EE;
  --color-accent: #F97316;
  --color-neutral-dark: #164E63;
  --color-neutral-light: #ECFEFF;
  --color-text: #0f2a33;
  --color-muted: #4d6b74;
  --font-heading: 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --shadow-card: 0 2px 20px rgba(15, 42, 51, 0.06);
  --shadow-card-hover: 0 20px 40px -20px rgba(15, 42, 51, 0.25);
  --shadow-hero: 0 30px 60px -30px rgba(15, 42, 51, 0.35);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-ui: cubic-bezier(0.4, 0, 0.2, 1);
  --container: 1160px;
}

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

/* === Header / Nav === */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(236, 254, 255, 0.72);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid rgba(22, 78, 99, 0.08);
  transition: box-shadow .3s var(--ease-ui), background .3s var(--ease-ui);
}
.site-header.scrolled { background: rgba(255, 255, 255, 0.85); box-shadow: 0 4px 20px rgba(15, 42, 51, 0.06); }
.site-header__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0.75rem 1.25rem;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem;
}
.logo { display: inline-flex; align-items: center; }
.logo img { height: 72px; width: auto; }
.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  background: transparent; border: none; padding: 0.5rem;
  color: var(--color-neutral-dark); cursor: pointer; border-radius: 8px;
}
.nav-toggle:hover { background: rgba(22, 78, 99, 0.08); }
.primary-nav { display: none; }
.primary-nav a {
  position: relative;
  color: var(--color-neutral-dark);
  font-weight: 500;
  padding: 0.5rem 0;
}
.primary-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 2px; background: var(--color-accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform .25s var(--ease-ui);
}
.primary-nav a:hover::after, .primary-nav a[aria-current="page"]::after { transform: scaleX(1); }

@media (min-width: 900px) {
  .logo img { height: 96px; }
  .nav-toggle { display: none; }
  .primary-nav { display: flex; gap: 1.75rem; align-items: center; }
}

.site-header.is-open .primary-nav {
  display: flex; flex-direction: column;
  position: absolute; top: 100%; left: 0; right: 0;
  background: #fff; padding: 1rem 1.25rem 1.5rem; gap: 0.25rem;
  border-bottom: 1px solid rgba(22, 78, 99, 0.08);
  box-shadow: 0 10px 20px rgba(15, 42, 51, 0.08);
}
@media (min-width: 900px) {
  .site-header.is-open .primary-nav { position: static; flex-direction: row; background: transparent; padding: 0; box-shadow: none; border: none; }
}

/* === Buttons === */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  font-family: var(--font-heading);
  font-weight: 600; font-size: 0.98rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .2s var(--ease-ui), box-shadow .2s var(--ease-ui), background .2s var(--ease-ui);
}
.btn--primary {
  background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark));
  color: #fff;
  box-shadow: 0 8px 20px -8px rgba(8, 145, 178, 0.5);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 14px 26px -10px rgba(8, 145, 178, 0.65); color: #fff; }
.btn--accent {
  background: var(--color-accent);
  color: #fff;
  box-shadow: 0 8px 20px -8px rgba(249, 115, 22, 0.55);
}
.btn--accent:hover { transform: translateY(-2px); box-shadow: 0 14px 26px -10px rgba(249, 115, 22, 0.7); color: #fff; }
.btn--ghost {
  background: transparent;
  color: var(--color-neutral-dark);
  border-color: rgba(22, 78, 99, 0.25);
}
.btn--ghost:hover { background: var(--color-neutral-light); transform: translateY(-2px); }
.btn--link { background: transparent; color: var(--color-neutral-dark); padding: 0.5rem 0.75rem; }
.btn--link:hover { color: var(--color-primary); }
.btn--sm { padding: 0.55rem 1rem; font-size: 0.88rem; }
.btn:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 3px; }

/* === Layout containers === */
.section {
  max-width: var(--container);
  margin: 0 auto;
  padding: 4rem 1.25rem;
}
.section--narrow {
  max-width: 780px;
}
.section__head { max-width: 720px; margin-bottom: 2.5rem; }
.section__head p { color: var(--color-muted); font-size: 1.05rem; }

.eyebrow {
  font-family: var(--font-heading);
  font-size: 0.8rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--color-primary);
  margin: 0 0 1rem;
}
.lede { font-size: 1.15rem; color: var(--color-muted); max-width: 60ch; margin-bottom: 1.75rem; }

/* === Hero card === */
.hero {
  position: relative;
  padding: 3rem 1.25rem 4rem;
  background:
    radial-gradient(ellipse at 20% -10%, rgba(34, 211, 238, 0.28), transparent 60%),
    radial-gradient(ellipse at 85% 10%, rgba(249, 115, 22, 0.15), transparent 55%),
    linear-gradient(180deg, var(--color-neutral-light), #fff);
  overflow: hidden;
}
.hero-card__inner {
  max-width: 900px; margin: 0 auto;
  background: #ffffffdd;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(22, 78, 99, 0.08);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-hero);
  padding: 2.25rem 1.5rem;
  text-align: left;
}
.hero-card__inner h1 { max-width: 22ch; }
.cta-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 2rem; }
.hero-card__figure { margin: 1.5rem 0 0; border-radius: var(--radius-md); overflow: hidden; box-shadow: 0 10px 30px -10px rgba(15, 42, 51, 0.25); }
.hero-card__figure img { aspect-ratio: 16/10; object-fit: cover; width: 100%; }

@media (min-width: 768px) {
  .hero { padding: 5rem 1.25rem 6rem; }
  .hero-card__inner { padding: 3.5rem 3rem; }
}

/* === Cards / grids === */
.grid { display: grid; gap: 1.25rem; }
.grid--3 { grid-template-columns: 1fr; }
@media (min-width: 720px) { .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } }

.card {
  background: #fff;
  border: 1px solid rgba(22, 78, 99, 0.08);
  border-radius: var(--radius-md);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow-card);
  transition: transform .25s var(--ease-ui), box-shadow .25s var(--ease-ui), border-color .25s var(--ease-ui);
  display: block;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); border-color: rgba(8, 145, 178, 0.25); }
.card p { color: var(--color-muted); margin-bottom: 0; }
.card-link { color: inherit; text-decoration: none; }
.card-link:hover { color: inherit; }
.card__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 12px;
  background: linear-gradient(135deg, rgba(8,145,178,0.12), rgba(34,211,238,0.18));
  color: var(--color-primary);
  margin-bottom: 1rem;
}

/* === Testimonial === */
.testimonial blockquote {
  max-width: 780px; margin: 0 auto;
  text-align: center;
  font-family: var(--font-heading);
  padding: 0 1rem;
}
.testimonial p {
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  line-height: 1.5;
  color: var(--color-neutral-dark);
  font-weight: 500;
}
.testimonial cite {
  display: block;
  margin-top: 1.25rem;
  font-style: normal;
  font-size: 0.95rem;
  color: var(--color-muted);
  font-family: var(--font-body);
}

/* === CTA band === */
.cta-band {
  margin: 0;
  background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark));
  color: #fff;
  padding: 4rem 1.25rem;
}
.cta-band__inner { max-width: 780px; margin: 0 auto; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(236, 254, 255, 0.85); font-size: 1.05rem; margin-bottom: 1.75rem; }

/* === Contact === */
.contact-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1.4fr 1fr; gap: 3rem; } }

.contact-form label { display: block; margin-bottom: 1rem; }
.contact-form label > span { display: block; font-weight: 500; color: var(--color-neutral-dark); margin-bottom: 0.35rem; font-size: 0.95rem; }
.contact-form input[type="text"], .contact-form input[type="email"], .contact-form textarea {
  width: 100%; padding: 0.75rem 0.9rem;
  border: 1px solid rgba(22, 78, 99, 0.2);
  border-radius: var(--radius-sm);
  font: inherit; color: inherit;
  background: #fff;
  transition: border-color .2s var(--ease-ui), box-shadow .2s var(--ease-ui);
}
.contact-form input:focus, .contact-form textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(8, 145, 178, 0.18);
}
.form-consent { display: flex; align-items: flex-start; gap: 0.6rem; font-size: 0.9rem; color: var(--color-muted); margin: 0.5rem 0 1.25rem; }
.form-consent input { margin-top: 0.25rem; }

.contact-details { background: var(--color-neutral-light); border-radius: var(--radius-md); padding: 1.75rem; }
.contact-details address { font-style: normal; margin-bottom: 1.5rem; line-height: 1.7; }
.hours { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.hours th, .hours td { text-align: left; padding: 0.4rem 0; border-bottom: 1px dashed rgba(22, 78, 99, 0.15); }
.hours th { font-weight: 500; color: var(--color-neutral-dark); }
.hours td { color: var(--color-muted); }

/* === Footer === */
.site-footer {
  background: var(--color-neutral-dark);
  color: rgba(236, 254, 255, 0.85);
  padding: 3.5rem 1.25rem 1.5rem;
}
.site-footer__grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid; gap: 2rem;
  grid-template-columns: 1fr;
}
@media (min-width: 780px) { .site-footer__grid { grid-template-columns: 1.4fr 1fr 1.2fr; } }
.site-footer h3 { color: #fff; font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 0.4rem; }
.site-footer a { color: rgba(236, 254, 255, 0.8); }
.site-footer a:hover { color: #fff; }
.site-footer address { font-style: normal; line-height: 1.7; margin-bottom: 1rem; }
.legal-links { display: flex; flex-wrap: wrap; gap: 0.75rem 1.25rem; margin-top: 1rem; font-size: 0.9rem; }
.copyright { max-width: var(--container); margin: 2.5rem auto 0; padding-top: 1.5rem; border-top: 1px solid rgba(236, 254, 255, 0.12); font-size: 0.85rem; color: rgba(236, 254, 255, 0.6); }
.logo--footer img { height: 64px; filter: brightness(0) invert(1); }

/* === 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);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.25rem;
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.35);
  max-width: 640px;
}
@media (min-width: 720px) { .cookie-banner { left: auto; right: 1.5rem; bottom: 1.5rem; } }
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 1rem; font-size: 0.92rem; line-height: 1.55; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.cookie-banner__actions .btn--link { color: var(--color-neutral-light); }
.cookie-banner__actions .btn--ghost { color: var(--color-neutral-light); border-color: rgba(236,254,255,0.35); }
.cookie-banner__prefs { margin-top: 1rem; display: flex; flex-direction: column; gap: 0.5rem; font-size: 0.9rem; }
.cookie-banner__prefs label { display: flex; align-items: center; gap: 0.5rem; }

/* === Reveal motion === */
.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; }
}
