:root {
  --color-primary: #4F46E5;
  --color-secondary: #6366F1;
  --color-accent: #F97316;
  --color-neutral-dark: #312E81;
  --color-neutral-light: #EEF2FF;
  --color-text: #1E1B4B;
  --color-muted: #4B4A7A;
  --color-border: rgba(49, 46, 129, 0.14);
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', system-ui, -apple-system, Segoe UI, sans-serif;
  --radius: 12px;
  --shadow-soft: 0 20px 50px -30px rgba(49, 46, 129, 0.35);
}

/* === Reset === */
*, *::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-text);
  background: #fff;
}
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.2; margin: 0 0 1rem; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.25rem, 5vw, 4rem); font-weight: 600; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1rem; }

/* === Layout === */
.container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: 1.25rem; }
.container.narrow { max-width: 760px; }
.section { padding-block: 4rem; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.8rem; font-weight: 600; color: var(--color-secondary); margin: 0 0 1rem; }
.lede { color: var(--color-muted); font-size: 1.1rem; margin-bottom: 1.5rem; }
.lede.center { text-align: center; max-width: 60ch; margin-inline: auto; }

/* === Header === */
.site-header {
  border-bottom: 1px solid var(--color-border);
  background: #fff;
  position: sticky; top: 0; z-index: 100;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; padding-block: 1rem; gap: 1rem; }
.logo img { height: 72px; width: auto; display: block; }
.primary-nav { display: none; gap: 1.75rem; align-items: center; }
.primary-nav a { color: var(--color-neutral-dark); font-weight: 500; font-size: 0.95rem; }
.primary-nav a[aria-current="page"] { color: var(--color-primary); }
.nav-toggle {
  background: none; border: 0; padding: 0.5rem; cursor: pointer;
  display: inline-flex; flex-direction: column; gap: 5px;
}
.nav-toggle span { display: block; width: 26px; height: 2px; background: var(--color-neutral-dark); transition: transform .2s; }
.primary-nav.is-open { display: flex; flex-direction: column; align-items: flex-start; 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); }

/* === Hero (centered) === */
.hero-centered { padding-block: 4rem 3rem; text-align: center; background: linear-gradient(180deg, var(--color-neutral-light) 0%, #fff 100%); }
.hero-centered h1 { max-width: 22ch; margin-inline: auto; }
.hero-sub { max-width: 52ch; margin: 1rem auto 2rem; color: var(--color-muted); font-size: 1.15rem; }
.hero-cta { margin-bottom: 3rem; }
.hero-figure { margin: 0; }
.hero-figure img { width: 100%; max-height: 520px; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-soft); }

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

/* === Intro === */
.section.intro { padding-block: 4rem; }
.section.intro.alt { background: var(--color-neutral-light); }
.section.intro h2 { text-align: center; }
.section.intro .lede { text-align: center; }
.section.intro p { max-width: 68ch; margin-inline: auto; color: var(--color-text); }

/* === Highlights grid === */
.section.highlights { background: #fff; }
.section.highlights h2 { text-align: center; }
.grid { display: grid; gap: 1.5rem; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr; }
.card {
  background: #fff; border: 1px solid var(--color-border);
  border-radius: var(--radius); padding: 1.75rem;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow-soft); border-color: rgba(79, 70, 229, 0.25); }
.card h3 { margin-top: 0.75rem; }
.card p { color: var(--color-muted); margin: 0; font-size: 0.98rem; }
.icon { color: var(--color-primary); }

/* === Gallery === */
.section.gallery figure { margin: 0; }
.section.gallery img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius); }

/* === Testimonial === */
.section.testimonial { background: var(--color-neutral-light); text-align: center; }
.section.testimonial h2 { margin-bottom: 2rem; }
.section.testimonial blockquote { margin: 0; max-width: 62ch; margin-inline: auto; }
.section.testimonial blockquote p { font-family: var(--font-heading); font-size: clamp(1.25rem, 2.4vw, 1.6rem); line-height: 1.5; color: var(--color-neutral-dark); font-style: italic; }
.section.testimonial cite { display: block; margin-top: 1rem; font-style: normal; color: var(--color-muted); font-size: 0.95rem; }

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

/* === Contact band === */
.section.contact-band { background: #fff; }
.section.contact-band .lede { text-align: left; margin-inline: 0; }
.hours-table { width: 100%; border-collapse: collapse; margin-top: 1.5rem; }
.hours-table caption { text-align: left; font-weight: 600; color: var(--color-neutral-dark); padding-bottom: 0.75rem; }
.hours-table th, .hours-table td { padding: 0.6rem 0; border-bottom: 1px solid var(--color-border); text-align: left; font-size: 0.98rem; }
.hours-table th { font-weight: 500; color: var(--color-muted); }
.map-block {
  margin-top: 2rem; background: var(--color-neutral-light);
  border-radius: var(--radius); padding: 3rem 1.5rem;
  display: flex; flex-direction: column; align-items: center; gap: 0.75rem;
  color: var(--color-neutral-dark);
}
.map-block p { margin: 0; font-weight: 500; }

/* === Contact form === */
.contact-form { display: flex; flex-direction: column; gap: 1rem; margin-top: 1.5rem; }
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field label { font-weight: 500; color: var(--color-neutral-dark); font-size: 0.95rem; }
.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-primary); outline-offset: 1px; border-color: var(--color-primary); }
.form-consent { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.9rem; color: var(--color-muted); margin-block: 0.5rem 0.25rem; }
.form-consent input { margin-top: 0.25rem; }
.contact-form .btn { align-self: flex-start; margin-top: 0.5rem; }

/* === Footer === */
.site-footer { background: var(--color-neutral-dark); color: var(--color-neutral-light); padding-block: 3.5rem 1.5rem; margin-top: 4rem; }
.site-footer a { color: var(--color-neutral-light); }
.site-footer .logo img { filter: brightness(0) invert(1); height: 60px; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
.footer-grid h3 { color: #fff; font-size: 1rem; font-family: var(--font-body); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 1rem; }
.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.7; margin-bottom: 1rem; }
.tagline { font-family: var(--font-heading); font-style: italic; margin-top: 0.5rem; opacity: 0.85; }
.legal-links { margin-top: 1rem; }
.legal-links a { font-size: 0.9rem; opacity: 0.85; }
.copyright { border-top: 1px solid rgba(255,255,255,0.15); margin-top: 2.5rem; padding-top: 1.25rem; font-size: 0.85rem; opacity: 0.75; }

/* === 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 25px 60px -20px rgba(0,0,0,0.4);
  max-width: 640px; margin-inline: auto;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 1rem; font-size: 0.92rem; line-height: 1.5; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.cookie-banner button {
  font: inherit; padding: 0.55rem 1rem; border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.3); cursor: pointer;
  background: transparent; color: var(--color-neutral-light); font-size: 0.88rem;
}
.cookie-banner button[data-cookie-accept] { background: var(--color-accent); border-color: var(--color-accent); color: #fff; font-weight: 600; }
.cookie-banner button[data-cookie-accept]:hover { background: #EA580C; }
.cookie-banner__prefs { margin-top: 1rem; display: flex; flex-direction: column; gap: 0.5rem; }
.cookie-banner__prefs label { display: flex; gap: 0.5rem; align-items: center; font-size: 0.9rem; }
.cookie-banner__prefs button { align-self: flex-start; margin-top: 0.5rem; background: var(--color-primary); border-color: var(--color-primary); }

/* === Responsive === */
@media (min-width: 640px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 768px) {
  .logo img { height: 96px; }
  .site-footer .logo img { height: 72px; }
  .primary-nav { display: flex; }
  .nav-toggle { display: none; }
  .section { padding-block: 6rem; }
  .hero-centered { padding-block: 6rem 4rem; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 2fr 1fr 1.5fr; }
}
@media (min-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}
