/* === Tokens === */
:root {
  --color-primary: #2563EB;
  --color-secondary: #3B82F6;
  --color-accent: #F97316;
  --color-neutral-dark: #1E293B;
  --color-neutral-light: #F8FAFC;
  --color-border: rgba(30, 41, 59, 0.12);
  --color-muted: rgba(30, 41, 59, 0.65);
  --font-heading: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Lato', system-ui, sans-serif;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 4px 14px -6px rgba(15, 23, 42, 0.15);
  --shadow-lg: 0 30px 60px -30px rgba(15, 23, 42, 0.35);
  --container: 1160px;
}

/* === Base === */
* { 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-neutral-dark);
  background: var(--color-neutral-light);
  -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 {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--color-neutral-dark);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 1rem;
}
h1 { font-size: clamp(2.25rem, 5vw, 4rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); margin-bottom: 1.25rem; }
h3 { font-size: 1.375rem; }
p { margin: 0 0 1rem; }

.eyebrow {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-primary);
  margin: 0 0 1rem;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.25rem;
}
.container--narrow { max-width: 780px; }

/* === Header === */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(248, 250, 252, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
}
.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; display: block; }

.nav-toggle {
  background: none;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 0.5rem;
  cursor: pointer;
  color: var(--color-neutral-dark);
  display: inline-flex;
}

.primary-nav {
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--color-neutral-light);
  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);
  padding: 0.6rem 0;
  font-weight: 600;
  border-bottom: 1px solid var(--color-border);
}
.primary-nav a[aria-current="page"] { color: var(--color-primary); }

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

/* === Buttons === */
.btn {
  display: inline-block;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  text-decoration: none;
}
.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: #1d4ed8; }
.btn--accent { background: var(--color-accent); color: #fff; }
.btn--accent:hover { background: #ea580c; }
.btn--ghost { background: transparent; color: var(--color-neutral-light); border-color: rgba(248, 250, 252, 0.35); }
.btn--sm { padding: 0.55rem 1rem; font-size: 0.85rem; }

/* === Hero split === */
.hero {
  padding: 3rem 1.25rem 4rem;
}
.hero-split__grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}
.hero-split__text h1 { margin-bottom: 1.25rem; }
.hero__sub {
  font-size: 1.15rem;
  color: var(--color-muted);
  max-width: 48ch;
  margin-bottom: 1.75rem;
}
.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 { padding: 5rem 1.25rem 6rem; }
  .hero-split__grid { grid-template-columns: 1fr 1fr; gap: 4rem; }
}

/* === Sections === */
.section { padding: 4rem 0; }
.section--narrow .container { max-width: 780px; }
.section--tint { background: #eef2ff; }
.section--hero-simple { padding-top: 5rem; padding-bottom: 4rem; }
.section__figure { margin: 2.5rem 0 0; }
.section__figure img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: var(--radius);
}

/* === Grid & cards === */
.grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 700px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
}
.card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow-sm);
}
.card h3 { margin: 0.75rem 0 0.5rem; }
.card p { margin: 0; color: var(--color-muted); font-size: 0.98rem; }
.card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(37, 99, 235, 0.1);
  color: var(--color-primary);
}

/* === Testimonial === */
.testimonial {
  max-width: 780px;
  margin: 0 auto;
  padding: 2rem 1rem;
  text-align: center;
  font-family: var(--font-heading);
}
.testimonial p {
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  line-height: 1.4;
  color: var(--color-neutral-dark);
  font-style: italic;
  margin: 0 0 1rem;
}
.testimonial cite {
  font-family: var(--font-body);
  font-style: normal;
  font-size: 0.95rem;
  color: var(--color-muted);
  font-weight: 700;
}

/* === CTA band === */
.cta-band {
  background: var(--color-primary);
  color: #fff;
  padding: 4rem 1.25rem;
  text-align: center;
}
.cta-band__inner { max-width: 720px; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,0.9); margin-bottom: 1.75rem; }

/* === Contact band (about) === */
.contact-band {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}
.contact-band__media img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--radius);
}
@media (min-width: 900px) {
  .contact-band { grid-template-columns: 1fr 1fr; gap: 3rem; }
}

/* === FAQ === */
.faq details {
  border-bottom: 1px solid var(--color-border);
  padding: 1.1rem 0;
}
.faq summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 1.05rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  color: var(--color-primary);
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1;
}
.faq details[open] summary::after { content: "−"; }
.faq details p { margin-top: 0.75rem; color: var(--color-muted); }

/* === Contact form === */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: #fff;
  padding: 2rem;
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}
.contact-form label {
  display: flex;
  flex-direction: column;
  font-weight: 700;
  font-size: 0.92rem;
  gap: 0.4rem;
}
.contact-form input,
.contact-form textarea {
  font: inherit;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background: var(--color-neutral-light);
  color: var(--color-neutral-dark);
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--color-primary);
  outline-offset: 1px;
}
.form-consent {
  flex-direction: row !important;
  align-items: flex-start;
  gap: 0.6rem !important;
  font-weight: 400 !important;
  font-size: 0.88rem !important;
  color: var(--color-muted);
}
.form-consent input { margin-top: 0.25rem; }

/* === Map block === */
.map-block {
  margin-top: 1.5rem;
  background: #e2e8f0;
  border-radius: var(--radius);
  padding: 3rem 1rem;
  text-align: center;
  color: var(--color-neutral-dark);
}
.map-block svg { color: var(--color-primary); margin: 0 auto 0.75rem; }
.map-block p { margin: 0; font-weight: 700; }

/* === Hours table === */
.hours {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
}
.hours caption { text-align: left; margin-bottom: 0.5rem; font-weight: 700; }
.hours th, .hours td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--color-border);
}
.hours tr:last-child th, .hours tr:last-child td { border-bottom: 0; }
.hours th { font-weight: 700; width: 40%; }

/* === Footer === */
.site-footer {
  background: var(--color-neutral-dark);
  color: rgba(248, 250, 252, 0.85);
  padding: 3.5rem 0 1.5rem;
  margin-top: 4rem;
}
.site-footer h2 {
  font-family: var(--font-body);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(248, 250, 252, 0.6);
  margin-bottom: 1rem;
}
.site-footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.25rem;
}
.site-footer a { color: rgba(248, 250, 252, 0.9); display: block; padding: 0.15rem 0; }
.site-footer a:hover { color: #fff; }
.site-footer__tagline { color: rgba(248, 250, 252, 0.7); font-style: italic; }
.logo--footer img { height: 64px; }
.site-footer__legal { margin-top: 1rem; font-size: 0.85rem; }
.site-footer__legal a { display: inline; padding: 0; }
.site-footer__base {
  border-top: 1px solid rgba(248, 250, 252, 0.15);
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  font-size: 0.85rem;
  color: rgba(248, 250, 252, 0.6);
}
@media (min-width: 800px) {
  .site-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: var(--shadow-lg);
  max-width: 640px;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 1rem; font-size: 0.95rem; }
.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.cookie-banner__prefs {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(248, 250, 252, 0.2);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.cookie-banner__prefs label { font-size: 0.9rem; display: flex; align-items: center; gap: 0.5rem; }
@media (min-width: 640px) {
  .cookie-banner { left: auto; right: 1.5rem; bottom: 1.5rem; width: 480px; }
}
