/* === Design tokens === */
:root {
  --color-primary: #0EA5E9;
  --color-secondary: #38BDF8;
  --color-accent: #F97316;
  --color-neutral-dark: #0C4A6E;
  --color-neutral-light: #F0F9FF;
  --color-ink: #0C4A6E;
  --color-body: #1e3a4d;
  --color-muted: #4b6b7f;
  --color-line: rgba(12,74,110,0.14);
  --color-surface: #ffffff;
  --font-heading: 'Lora', Georgia, serif;
  --font-body: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 6px 20px -12px rgba(12,74,110,0.35);
  --shadow-lg: 0 30px 60px -30px rgba(12,74,110,0.35);
  --container: 1160px;
}

/* === Base === */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--color-body);
  background: var(--color-surface);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--color-ink);
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 0.5em;
  letter-spacing: -0.005em;
}
h1 { font-size: clamp(2rem, 4.5vw, 3.4rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.15rem); margin-bottom: 0.6em; }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }

/* === Layout helpers === */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 1.25rem; }
.section { padding-block: 3.5rem; }
.section--tint { background: var(--color-neutral-light); }
.section--narrow { max-width: 780px; margin-inline: auto; }
.section__title { text-align: center; margin-bottom: 2rem; }
.prose { font-size: 1.05rem; color: var(--color-body); }
.eyebrow {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--color-primary);
  margin: 0 0 1rem;
}
.lede { font-size: 1.15rem; color: var(--color-muted); margin-bottom: 1.75rem; max-width: 48ch; }

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

/* === Header === */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding-block: 0.85rem;
  gap: 1rem;
}
.logo { display: inline-flex; align-items: center; }
.logo img { height: 72px; width: auto; display: block; }
@media (min-width: 768px) { .logo img { height: 96px; } }
.logo--footer img { height: 64px; }

.nav-toggle {
  display: inline-flex; flex-direction: column; gap: 5px;
  width: 44px; height: 44px; padding: 10px;
  background: transparent; border: 1px solid var(--color-line); border-radius: 8px;
  cursor: pointer;
}
.nav-toggle span { display: block; height: 2px; background: var(--color-ink); border-radius: 2px; }
.primary-nav { display: none; width: 100%; }
.primary-nav.is-open { display: block; }
.primary-nav ul { list-style: none; margin: 0; padding: 0.75rem 0 0.25rem; display: flex; flex-direction: column; gap: 0.15rem; }
.primary-nav a {
  display: block; padding: 0.6rem 0.25rem;
  color: var(--color-ink); font-weight: 500;
  border-bottom: 1px solid var(--color-line);
}
.primary-nav a[aria-current="page"] { color: var(--color-primary); }

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .primary-nav { display: block; width: auto; }
  .primary-nav ul { flex-direction: row; gap: 1.5rem; padding: 0; }
  .primary-nav a { border: 0; padding: 0.35rem 0; }
  .primary-nav a:hover { color: var(--color-primary); text-decoration: none; }
}

/* === Buttons === */
.btn {
  display: inline-block; padding: 0.85rem 1.5rem;
  border-radius: 999px; font-weight: 600; font-size: 0.98rem;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  text-align: center;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn--primary { background: var(--color-primary); color: #fff; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--color-neutral-dark); color: #fff; }
.btn--accent { background: var(--color-accent); color: #fff; box-shadow: var(--shadow-sm); }
.btn--accent:hover { background: #ea580c; color: #fff; }
.btn--ghost { background: transparent; color: var(--color-ink); border-color: var(--color-line); }
.btn--link { background: transparent; color: var(--color-primary); border: 0; padding: 0.85rem 0.5rem; }

/* === Hero split === */
.hero-split { padding-block: 3rem; }
.hero-split__grid {
  display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: center;
}
.hero-split__text h1 { margin-top: 0; max-width: 20ch; }
.hero-split__media img {
  width: 100%; aspect-ratio: 4/5; object-fit: cover;
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
}
@media (min-width: 900px) {
  .hero-split { padding-block: 5rem; }
  .hero-split__grid { grid-template-columns: 1.05fr 1fr; gap: 4rem; }
}

/* === Grid & cards === */
.grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid--2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid { gap: 1.75rem; }
}
.card {
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: transform .18s ease, box-shadow .18s ease;
}
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.card__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 10px;
  background: var(--color-neutral-light); color: var(--color-primary);
  margin-bottom: 1rem;
}
.card h3 { margin-bottom: 0.5rem; }
.card p { color: var(--color-muted); margin: 0; }

/* === Testimonial === */
.testimonial-section { background: var(--color-neutral-light); }
.testimonial {
  max-width: 720px; margin: 0 auto;
  text-align: center;
  font-family: var(--font-heading);
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  line-height: 1.5; color: var(--color-ink);
  padding-inline: 0.5rem;
}
.testimonial p { margin-bottom: 1.25rem; }
.testimonial cite {
  display: block;
  font-family: var(--font-body);
  font-size: 0.95rem; font-style: normal;
  color: var(--color-muted); letter-spacing: 0.02em;
}

/* === CTA band === */
.cta-band {
  background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark));
  color: #fff;
  padding-block: 3.5rem;
}
.cta-band__inner { text-align: center; max-width: 680px; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,0.88); margin-bottom: 1.75rem; }
.cta-band a { color: #fff; text-decoration: underline; }

/* === FAQ === */
.faq-wrap { max-width: 780px; }
.faq details {
  border-top: 1px solid var(--color-line);
  padding: 1.25rem 0;
}
.faq details:last-child { border-bottom: 1px solid var(--color-line); }
.faq summary {
  cursor: pointer; font-weight: 600; color: var(--color-ink);
  font-family: var(--font-heading); font-size: 1.1rem;
  list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; font-size: 1.5rem; color: var(--color-primary);
  font-family: var(--font-body); font-weight: 400;
}
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0.75rem 0 0; color: var(--color-muted); }

/* === Contact === */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1fr; gap: 3.5rem; } }
.hours { width: 100%; border-collapse: collapse; margin-top: 1rem; }
.hours caption { text-align: left; font-weight: 600; color: var(--color-ink); margin-bottom: 0.5rem; }
.hours th, .hours td { text-align: left; padding: 0.55rem 0; border-bottom: 1px solid var(--color-line); font-weight: 400; }
.hours th { color: var(--color-ink); font-weight: 500; }

/* === Form === */
.form { display: flex; flex-direction: column; gap: 1.1rem; }
.form-row { display: flex; flex-direction: column; gap: 0.4rem; }
.form-row label { font-weight: 500; color: var(--color-ink); font-size: 0.95rem; }
.form input, .form textarea, .form select {
  font: inherit; color: inherit;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--color-line); border-radius: 8px;
  background: #fff;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.form input:focus, .form textarea:focus, .form select:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(14,165,233,0.18);
}
.form-consent {
  display: flex; align-items: flex-start; gap: 0.6rem;
  font-size: 0.9rem; color: var(--color-muted); line-height: 1.5;
}
.form-consent input { margin-top: 0.25rem; }

/* === Footer === */
.site-footer {
  background: var(--color-neutral-dark);
  color: #cfe6f5;
  padding-block: 3rem 1.5rem;
  margin-top: 3rem;
}
.site-footer h4 {
  color: #fff; font-family: var(--font-body);
  font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.1em;
  margin-bottom: 1rem;
}
.site-footer a { color: #cfe6f5; }
.site-footer a:hover { color: #fff; }
.footer-grid {
  display: grid; grid-template-columns: 1fr; gap: 2rem;
}
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.5rem; }
.footer-grid address { font-style: normal; line-height: 1.8; margin-bottom: 1rem; }
.footer-tag { color: #cfe6f5; margin-top: 0.5rem; max-width: 28ch; }
.legal-links { list-style: none; padding: 0; margin: 0.75rem 0 0; display: flex; gap: 1rem; flex-wrap: wrap; font-size: 0.9rem; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  margin-top: 2rem; padding-top: 1.25rem;
  font-size: 0.85rem; color: rgba(255,255,255,0.7);
}
.footer-bottom p { margin: 0; }
@media (min-width: 800px) {
  .footer-grid { grid-template-columns: 1.2fr 1fr 1.3fr; gap: 3rem; }
}

/* === 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 1.5rem; border-radius: var(--radius);
  box-shadow: 0 20px 40px -12px rgba(0,0,0,0.4);
  max-width: 640px; margin-inline: auto;
  font-size: 0.92rem;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 1rem; color: var(--color-neutral-light); }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.cookie-banner .btn--primary { background: var(--color-accent); color: #fff; box-shadow: none; }
.cookie-banner .btn--primary:hover { background: #ea580c; }
.cookie-banner .btn--ghost { color: #fff; border-color: rgba(255,255,255,0.35); }
.cookie-banner .btn--link { color: #cfe6f5; }
.cookie-banner__prefs {
  margin-top: 1rem; padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.15);
  display: flex; flex-direction: column; gap: 0.5rem;
}
.cookie-banner__prefs label { display: flex; align-items: center; gap: 0.5rem; font-size: 0.9rem; }
