:root {
  --color-primary: #0369A1;
  --color-secondary: #0EA5E9;
  --color-accent: #CA8A04;
  --color-neutral-dark: #0C4A6E;
  --color-neutral-light: #F0F9FF;
  --color-text: #0C4A6E;
  --color-muted: #4B6A85;
  --color-border: rgba(12, 74, 110, 0.14);
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --radius: 12px;
  --shadow-card: 0 12px 30px -18px rgba(12, 74, 110, 0.35);
}

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

/* === Layout === */
.container { width: 100%; max-width: 1160px; margin-inline: auto; padding-inline: 1.25rem; }
.section { padding-block: 4rem; }
.section--alt { background: var(--color-neutral-light); }
.section--narrow .container { max-width: 780px; }
.section-head { text-align: center; max-width: 60ch; margin: 0 auto 3rem; }
.section-sub { color: var(--color-muted); font-size: 1.05rem; }
.body-text { font-size: 1.075rem; color: #1e3a52; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.8rem; color: var(--color-secondary); font-weight: 600; margin: 0 0 1rem; }
.lede { font-size: 1.2rem; color: var(--color-muted); max-width: 48ch; }

/* === Header === */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-border);
}
.site-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; }
.nav-toggle {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 4px;
  width: 40px; height: 40px;
  background: transparent; border: 1px solid var(--color-border); border-radius: 8px;
  padding: 0 8px; cursor: pointer;
}
.nav-toggle span { display: block; height: 2px; background: var(--color-neutral-dark); width: 100%; }
.primary-nav {
  display: none;
  flex-direction: column;
  gap: 0.75rem;
  position: absolute; top: 100%; left: 0; right: 0;
  background: #fff;
  padding: 1rem 1.25rem 1.5rem;
  border-bottom: 1px solid var(--color-border);
}
.primary-nav.is-open { display: flex; }
.primary-nav a { color: var(--color-neutral-dark); font-weight: 500; padding: 0.5rem 0; }
.primary-nav a.is-current { color: var(--color-primary); }

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .primary-nav {
    display: flex; position: static; flex-direction: row; gap: 2rem;
    padding: 0; background: transparent; border: 0;
  }
  .logo img { height: 96px; }
}

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

/* === Hero split === */
.hero-split { padding-block: 3rem 4rem; background: linear-gradient(180deg, var(--color-neutral-light) 0%, #fff 100%); }
.hero-split__grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: center; }
.hero-split__text .lede { margin-bottom: 1.75rem; }
.hero-split__media img {
  width: 100%; aspect-ratio: 4/5; object-fit: cover;
  border-radius: var(--radius);
  box-shadow: 0 30px 60px -30px rgba(12, 74, 110, 0.4);
}
@media (min-width: 800px) {
  .hero-split { padding-block: 5rem 6rem; }
  .hero-split__grid { grid-template-columns: 1fr 1fr; gap: 4rem; }
}

/* === Grids and cards === */
.grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 640px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
}
.card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow-card);
}
.card h3 { margin-top: 0.75rem; }
.card p { color: var(--color-muted); margin: 0; font-size: 0.98rem; }
.icon { width: 32px; height: 32px; color: var(--color-primary); }

/* === Testimonial === */
.testimonial-section { background: var(--color-neutral-dark); color: var(--color-neutral-light); }
.testimonial { max-width: 780px; margin: 0 auto; text-align: center; }
.testimonial p {
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 2.2vw, 1.75rem);
  line-height: 1.4;
  color: var(--color-neutral-light);
  font-style: italic;
}
.testimonial cite {
  display: block;
  margin-top: 1.25rem;
  font-style: normal;
  font-family: var(--font-body);
  color: var(--color-secondary);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

/* === CTA band === */
.cta-band { background: var(--color-primary); color: #fff; padding-block: 3.5rem; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,0.9); margin: 0; }
.cta-band__inner {
  display: flex; flex-direction: column; gap: 1.5rem;
  align-items: flex-start;
}
@media (min-width: 800px) {
  .cta-band__inner { flex-direction: row; align-items: center; justify-content: space-between; gap: 2rem; }
}

/* === Split block (home) === */
.split-block { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: center; }
@media (min-width: 800px) { .split-block { grid-template-columns: 1.1fr 1fr; gap: 4rem; } }
.split-block__media img {
  border-radius: var(--radius); aspect-ratio: 4/3; object-fit: cover;
  box-shadow: var(--shadow-card);
}

/* === FAQ === */
.faq { max-width: 780px; margin: 0 auto; display: grid; gap: 0.75rem; }
.faq details {
  background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius);
  padding: 1rem 1.25rem;
}
.faq summary {
  cursor: pointer; font-weight: 600; color: var(--color-neutral-dark);
  font-size: 1.05rem; list-style: none; padding-right: 1.5rem; position: relative;
}
.faq summary::after {
  content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  color: var(--color-primary); font-size: 1.4rem; font-weight: 400;
}
.faq details[open] summary::after { content: "−"; }
.faq details p { margin-top: 0.75rem; 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 1.2fr; gap: 3rem; } }
.contact-card {
  background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius);
  padding: 1.75rem;
}
.contact-card p { margin: 0 0 1rem; color: var(--color-muted); }
.contact-card strong { color: var(--color-neutral-dark); }
.hours { width: 100%; border-collapse: collapse; font-size: 0.95rem; margin-top: 0.5rem; }
.hours th, .hours td { padding: 0.4rem 0; text-align: left; border-bottom: 1px solid var(--color-border); }
.hours th { color: var(--color-neutral-dark); font-weight: 500; }
.hours td { color: var(--color-muted); text-align: right; }

/* === Form === */
.contact-form-wrap {
  background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius);
  padding: 1.75rem;
}
.field { display: block; margin-bottom: 1.1rem; }
.field label { display: block; font-weight: 500; margin-bottom: 0.35rem; color: var(--color-neutral-dark); font-size: 0.95rem; }
.field input, .field textarea {
  width: 100%; padding: 0.7rem 0.85rem;
  border: 1px solid var(--color-border); border-radius: 8px;
  font-family: inherit; font-size: 1rem; color: var(--color-text); background: #fff;
}
.field input:focus, .field textarea:focus { outline: 2px solid var(--color-secondary); outline-offset: 1px; }
.form-consent { display: flex; gap: 0.6rem; align-items: flex-start; margin-bottom: 1.25rem; font-size: 0.9rem; color: var(--color-muted); }
.form-consent input { margin-top: 0.25rem; }

/* === Footer === */
.site-footer { background: var(--color-neutral-dark); color: rgba(240, 249, 255, 0.85); padding-block: 3.5rem 1.5rem; margin-top: 0; }
.site-footer a { color: rgba(240, 249, 255, 0.9); }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1.3fr; } }
.site-footer h3 { color: #fff; font-family: var(--font-body); font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.5rem; }
.site-footer address { font-style: normal; margin-bottom: 1rem; line-height: 1.7; }
.legal-links { border-top: 1px solid rgba(240, 249, 255, 0.15); padding-top: 1rem; margin-top: 1rem; font-size: 0.9rem; }
.logo--footer img { height: 60px; filter: brightness(0) invert(1); margin-bottom: 1rem; }
.footer-bottom { border-top: 1px solid rgba(240, 249, 255, 0.15); margin-top: 2.5rem; padding-top: 1.25rem; text-align: center; font-size: 0.85rem; color: rgba(240, 249, 255, 0.6); }
.footer-bottom p { margin: 0; }

/* === Thanks === */
.section--thanks { padding-block: 5rem 4rem; text-align: center; }
.section--thanks .lede { margin-inline: auto; }
.section--thanks .eyebrow { text-align: center; }

/* === 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 -10px rgba(0,0,0,0.35);
  max-width: 560px;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 0.85rem; font-size: 0.95rem; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.cookie-banner button {
  border: 1px solid rgba(240,249,255,0.35);
  background: transparent; color: var(--color-neutral-light);
  padding: 0.5rem 1rem; border-radius: 999px;
  font: inherit; cursor: pointer; font-size: 0.9rem;
}
.cookie-banner [data-cookie-accept] { background: var(--color-accent); border-color: var(--color-accent); color: #fff; font-weight: 600; }
.cookie-banner [data-cookie-accept]:hover { background: #a56f04; }
.cookie-banner__prefs { margin-top: 0.85rem; display: grid; gap: 0.5rem; font-size: 0.9rem; }
.cookie-banner__prefs label { display: flex; gap: 0.5rem; align-items: center; }
.cookie-banner__prefs button { justify-self: start; margin-top: 0.5rem; }

@media (min-width: 640px) {
  .cookie-banner { left: auto; right: 1.5rem; bottom: 1.5rem; }
}
