/* === Tokens === */
:root {
  --color-primary: #0369A1;
  --color-secondary: #0EA5E9;
  --color-accent: #F97316;
  --color-neutral-dark: #0C4A6E;
  --color-neutral-light: #F0F9FF;
  --color-text: #0C4A6E;
  --color-text-muted: #4B6A83;
  --color-surface: #FFFFFF;
  --color-border: rgba(12, 74, 110, 0.12);
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 4px 14px -8px rgba(12, 74, 110, 0.25);
  --shadow-md: 0 20px 50px -30px rgba(12, 74, 110, 0.35);
}

/* === Reset === */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--color-text);
  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-neutral-dark); line-height: 1.2; margin: 0 0 0.6em; font-weight: 600; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.25rem, 5.5vw, 3.75rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }

/* === Layout === */
.container { width: 100%; max-width: 1120px; margin-inline: auto; padding-inline: 1.25rem; }
.container.narrow { max-width: 720px; }
.center { text-align: center; }
.section { padding-block: 4rem; }
.section-alt { background: var(--color-neutral-light); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 2.5rem; }
.section-head.center { text-align: center; }
.section-sub { color: var(--color-text-muted); font-size: 1.05rem; max-width: 56ch; margin-inline: auto; }

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

/* === 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-border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; padding-block: 0.75rem; 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; } }
.primary-nav { display: none; gap: 1.75rem; }
.primary-nav a { color: var(--color-neutral-dark); font-weight: 500; font-size: 0.98rem; }
.primary-nav a[aria-current="page"] { color: var(--color-primary); }
.nav-toggle {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 42px; height: 42px; padding: 10px;
  background: transparent; border: 1px solid var(--color-border); border-radius: 8px; cursor: pointer;
}
.nav-toggle span { display: block; height: 2px; width: 100%; background: var(--color-neutral-dark); border-radius: 2px; }
@media (min-width: 768px) {
  .primary-nav { display: flex; }
  .nav-toggle { display: none; }
}
.primary-nav.is-open {
  display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0;
  background: #fff; padding: 1.25rem 1.5rem; gap: 1rem; border-bottom: 1px solid var(--color-border);
}

/* === Buttons === */
.btn {
  display: inline-block; padding: 0.85rem 1.6rem; border-radius: 999px;
  font-weight: 600; font-size: 0.98rem; letter-spacing: 0.01em;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  border: 1px solid transparent; cursor: pointer;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.btn-primary { background: var(--color-primary); color: #fff; }
.btn-primary:hover { background: var(--color-neutral-dark); }
.btn-accent { background: var(--color-accent); color: #fff; }
.btn-accent:hover { background: #ea6a0a; }

/* === Hero === */
.hero { padding-block: 3.5rem 2rem; text-align: center; background: linear-gradient(180deg, var(--color-neutral-light) 0%, #fff 100%); }
.hero h1 { max-width: 22ch; margin-inline: auto; }
.hero-sub { max-width: 52ch; margin: 0 auto 1.75rem; color: var(--color-text-muted); font-size: 1.15rem; }
.hero-cta { margin-bottom: 3rem; }
.hero-figure { margin: 0; }
.hero-figure img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); aspect-ratio: 16 / 9; object-fit: cover; }
@media (min-width: 768px) { .hero { padding-block: 5.5rem 3rem; } }

/* === Prose === */
.prose-section h2 { text-align: center; }
.prose-section .section-sub { text-align: center; margin-bottom: 1.5rem; }
.prose-section p { font-size: 1.075rem; color: var(--color-text); }

/* === Grid & Cards === */
.grid { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 720px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
.card {
  background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius);
  padding: 1.75rem; box-shadow: var(--shadow-sm);
}
.card .icon { color: var(--color-primary); margin-bottom: 0.9rem; }
.card h3 { margin-bottom: 0.5rem; }
.card p { color: var(--color-text-muted); font-size: 0.98rem; margin: 0; }

/* === Testimonial === */
.testimonial-section { background: var(--color-neutral-light); }
.testimonial { margin: 0; padding: 2rem 1rem; text-align: center; }
.testimonial p { font-family: var(--font-heading); font-size: clamp(1.25rem, 2.5vw, 1.65rem); line-height: 1.5; color: var(--color-neutral-dark); font-style: italic; }
.testimonial cite { display: block; margin-top: 1rem; font-style: normal; color: var(--color-text-muted); font-size: 0.95rem; }

/* === CTA band === */
.cta-band { background: var(--color-primary); color: #fff; padding-block: 4rem; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,0.9); max-width: 56ch; margin-inline: auto; }
.cta-band a { color: #fff; }

/* === FAQ === */
.faq details {
  border-bottom: 1px solid var(--color-border);
  padding: 1.25rem 0;
}
.faq summary {
  font-family: var(--font-heading); font-size: 1.15rem; color: var(--color-neutral-dark);
  cursor: pointer; list-style: none; position: relative; padding-right: 2rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 0; color: var(--color-primary); font-weight: 600; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin-top: 0.75rem; color: var(--color-text-muted); }

/* === Contact form === */
.contact-form { display: grid; gap: 1.1rem; background: #fff; padding: 2rem; border-radius: var(--radius); border: 1px solid var(--color-border); box-shadow: var(--shadow-sm); }
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field label { font-weight: 500; font-size: 0.92rem; color: var(--color-neutral-dark); }
.field input, .field textarea {
  font: inherit; padding: 0.75rem 0.9rem; border: 1px solid var(--color-border);
  border-radius: 8px; background: #fff; color: var(--color-text);
}
.field input:focus, .field textarea:focus { outline: 2px solid var(--color-secondary); outline-offset: 1px; border-color: var(--color-secondary); }
.form-consent { display: flex; align-items: flex-start; gap: 0.6rem; font-size: 0.9rem; color: var(--color-text-muted); }
.form-consent input { margin-top: 0.2rem; }
.contact-form .btn { justify-self: start; }

/* === Hours === */
.hours { width: 100%; max-width: 520px; margin-inline: auto; border-collapse: collapse; }
.hours th, .hours td { padding: 0.75rem 1rem; text-align: left; border-bottom: 1px solid var(--color-border); font-size: 0.98rem; }
.hours th { color: var(--color-neutral-dark); font-weight: 500; }
.hours td { color: var(--color-text-muted); text-align: right; }

/* === Footer === */
.site-footer { background: var(--color-neutral-dark); color: rgba(255,255,255,0.85); padding-block: 3.5rem 1.5rem; margin-top: 2rem; }
.footer-grid { display: grid; gap: 2.5rem; grid-template-columns: 1fr; }
.site-footer h4 { color: #fff; font-family: var(--font-body); font-weight: 600; font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 1rem; }
.site-footer a { color: rgba(255,255,255,0.85); }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.5rem; }
.site-footer address { font-style: normal; line-height: 1.75; margin-bottom: 1rem; }
.footer-logo img { height: 60px; background: #fff; padding: 6px 10px; border-radius: 8px; }
.tagline { color: rgba(255,255,255,0.7); font-size: 0.95rem; max-width: 30ch; }
.legal-links { display: flex !important; flex-direction: row; flex-wrap: wrap; gap: 1rem !important; margin-top: 0.5rem; }
.copyright { padding-top: 1.5rem; margin-top: 2rem; border-top: 1px solid rgba(255,255,255,0.12); font-size: 0.88rem; color: rgba(255,255,255,0.6); }
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1.2fr; 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 50px -20px rgba(0,0,0,0.4);
  max-width: 560px;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 0.9rem; font-size: 0.92rem; line-height: 1.55; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.cookie-banner button {
  font: inherit; font-size: 0.9rem; padding: 0.55rem 1rem; border-radius: 999px;
  border: 1px solid rgba(240,249,255,0.3); background: transparent; color: var(--color-neutral-light); cursor: pointer;
}
.cookie-banner [data-cookie-accept] { background: var(--color-accent); border-color: var(--color-accent); color: #fff; }
.cookie-banner [data-cookie-accept]:hover { background: #ea6a0a; }
.cookie-banner__prefs { display: grid; gap: 0.5rem; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid rgba(240,249,255,0.15); font-size: 0.9rem; }
.cookie-banner__prefs label { display: flex; align-items: center; gap: 0.5rem; }
.cookie-banner__prefs [data-cookie-save] { justify-self: start; margin-top: 0.4rem; background: var(--color-neutral-light); color: var(--color-neutral-dark); border-color: var(--color-neutral-light); }
