:root {
  --color-primary: #1E3A5F;
  --color-secondary: #F2EDE3;
  --color-accent: #C97B3D;
  --color-neutral-dark: #0D1A2A;
  --color-neutral-light: #FAF6EE;
  --font-heading: 'Lora', Georgia, serif;
  --font-body: 'Source Sans 3', system-ui, sans-serif;
  --radius: 8px;
  --max: 1200px;
}

/* === Reset === */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-neutral-dark);
  background: var(--color-neutral-light);
  line-height: 1.6;
  font-size: 17px;
}
img { max-width: 100%; display: block; height: auto; }
a { color: var(--color-primary); text-decoration: underline; text-underline-offset: 3px; }
a:hover { color: var(--color-accent); }
h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--color-primary); line-height: 1.2; font-weight: 600; }
h1 { font-size: clamp(2rem, 5vw, 3.25rem); margin: 0 0 1.25rem; }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); margin: 0 0 1rem; }
h3 { font-size: 1.25rem; margin: 0 0 .75rem; }
p { margin: 0 0 1rem; }

/* === Layout === */
.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: 1.25rem; }
.narrow { max-width: 720px; }
.eyebrow { text-transform: uppercase; letter-spacing: .18em; font-size: .8rem; font-weight: 600; color: var(--color-accent); margin: 0 0 1rem; }

/* === Header === */
.site-header { background: var(--color-neutral-light); border-bottom: 1px solid rgba(13,26,42,.08); position: sticky; top: 0; z-index: 50; }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 1rem; }
.logo { display: inline-block; line-height: 0; text-decoration: none; }
.logo img { height: 72px; width: auto; }
.primary-nav { display: none; }
.primary-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2rem; }
.primary-nav a { text-decoration: none; color: var(--color-neutral-dark); font-weight: 500; padding: .5rem 0; border-bottom: 2px solid transparent; }
.primary-nav a[aria-current="page"] { border-bottom-color: var(--color-accent); color: var(--color-primary); }
.primary-nav a:hover { color: var(--color-accent); }

.nav-toggle { background: none; border: 0; cursor: pointer; width: 44px; height: 44px; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px; padding: 0; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--color-primary); }

.primary-nav.is-open { display: block; position: absolute; top: 100%; left: 0; right: 0; background: var(--color-neutral-light); border-top: 1px solid rgba(13,26,42,.08); padding: 1rem 1.25rem; }
.primary-nav.is-open ul { flex-direction: column; gap: 1rem; }

@media (min-width: 768px) {
  .logo img { height: 96px; }
  .nav-toggle { display: none; }
  .primary-nav { display: block; }
}

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

/* === Hero (stacked) === */
.hero-stacked { padding-block: 3rem; background: var(--color-secondary); }
.hero__inner { max-width: 880px; margin-inline: auto; text-align: left; }
.hero h1 { margin-bottom: 2rem; }
.hero__media { margin: 2rem 0; }
.hero__media img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 12px; }
.hero__sub { font-size: 1.2rem; color: rgba(13,26,42,.78); margin-top: 1.5rem; max-width: 60ch; }
.hero__cta { margin-top: 1.75rem; }

@media (min-width: 768px) {
  .hero-stacked { padding-block: 5rem; }
  .hero h1 { font-size: clamp(2.5rem, 5vw, 3.5rem); }
}

/* === Sections === */
.section { padding-block: 3.5rem; }
.section-intro { background: var(--color-neutral-light); }
.section-highlights { background: var(--color-secondary); }
.section-testimonial { background: var(--color-neutral-light); padding-block: 4rem; }
.section-faq { background: var(--color-secondary); }
.section-contact, .section-form { background: var(--color-neutral-light); }
.section-title { text-align: center; margin-bottom: 2.5rem; }

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

/* === Grid + cards === */
.grid { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { 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); } }

.card { background: var(--color-neutral-light); border: 1px solid rgba(13,26,42,.08); border-radius: 12px; padding: 1.75rem; transition: transform .2s ease, box-shadow .2s ease; }
.card:hover { transform: translateY(-2px); box-shadow: 0 20px 40px -25px rgba(13,26,42,.25); }
.card__icon { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: var(--color-primary); color: var(--color-neutral-light); font-size: 1.25rem; margin-bottom: 1rem; }
.card h3 { color: var(--color-primary); }
.card p { margin: 0; color: rgba(13,26,42,.85); }

.card-link { display: block; text-decoration: none; color: inherit; }
.card-link:hover { color: inherit; }

/* === Testimonial === */
.testimonial { margin: 0; text-align: center; max-width: 720px; margin-inline: auto; position: relative; padding: 1rem; }
.testimonial p { font-family: var(--font-heading); font-size: clamp(1.15rem, 2.2vw, 1.5rem); color: var(--color-primary); font-style: italic; line-height: 1.5; }
.testimonial cite { display: block; margin-top: 1.5rem; font-style: normal; font-weight: 600; color: var(--color-accent); font-size: .95rem; letter-spacing: .04em; }

/* === CTA band === */
.cta-band { background: var(--color-primary); color: var(--color-neutral-light); padding-block: 4rem; text-align: center; }
.cta-band h2 { color: var(--color-neutral-light); }
.cta-band p { color: rgba(250,246,238,.88); max-width: 60ch; margin-inline: auto; }
.cta-band .btn-accent { margin-top: 1rem; }

/* === FAQ === */
.section-faq details { background: var(--color-neutral-light); border: 1px solid rgba(13,26,42,.08); border-radius: 8px; margin-bottom: .75rem; padding: 1rem 1.25rem; }
.section-faq summary { cursor: pointer; font-weight: 600; color: var(--color-primary); font-family: var(--font-heading); font-size: 1.05rem; list-style: none; padding-right: 2rem; position: relative; }
.section-faq summary::-webkit-details-marker { display: none; }
.section-faq summary::after { content: '+'; position: absolute; right: 0; top: 0; font-size: 1.4rem; color: var(--color-accent); }
.section-faq details[open] summary::after { content: '–'; }
.section-faq details p { margin-top: 1rem; margin-bottom: 0; color: rgba(13,26,42,.85); }

/* === Hours table === */
.hours-table { width: 100%; border-collapse: collapse; margin-top: 1rem; background: var(--color-neutral-light); border: 1px solid rgba(13,26,42,.08); border-radius: 8px; overflow: hidden; }
.hours-table caption { text-align: left; font-size: .9rem; color: rgba(13,26,42,.65); padding: .5rem 0; }
.hours-table th, .hours-table td { padding: .75rem 1rem; text-align: left; border-bottom: 1px solid rgba(13,26,42,.06); }
.hours-table tr:last-child th, .hours-table tr:last-child td { border-bottom: 0; }
.hours-table th { font-weight: 600; color: var(--color-primary); width: 40%; }

/* === Form === */
.contact-form { display: grid; gap: 1.25rem; }
.field { display: flex; flex-direction: column; gap: .4rem; }
.field label { font-weight: 600; color: var(--color-primary); font-size: .95rem; }
.field input, .field textarea { font-family: var(--font-body); font-size: 1rem; padding: .75rem .9rem; border: 1px solid rgba(13,26,42,.18); border-radius: 8px; background: var(--color-neutral-light); color: var(--color-neutral-dark); }
.field input:focus, .field textarea:focus { outline: 2px solid var(--color-accent); outline-offset: 1px; border-color: var(--color-accent); }
.contact-form .btn { justify-self: start; }

/* === Footer === */
.site-footer { background: var(--color-neutral-dark); color: rgba(250,246,238,.85); padding-block: 3rem 1.5rem; margin-top: 2rem; }
.site-footer h3 { color: var(--color-neutral-light); font-size: 1rem; margin-bottom: 1rem; letter-spacing: .04em; }
.site-footer a { color: rgba(250,246,238,.85); text-decoration: none; }
.site-footer a:hover { color: var(--color-accent); }
.site-footer__grid { display: grid; gap: 2rem; grid-template-columns: 1fr; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.site-footer address { font-style: normal; line-height: 1.7; margin-bottom: 1rem; }
.footer-legal { margin-top: 1rem; }
.footer-tagline { font-family: var(--font-heading); font-style: italic; color: rgba(250,246,238,.7); margin-top: 1rem; }
.logo--footer img { height: 64px; filter: brightness(0) invert(1) opacity(.95); }
.site-footer__bottom { border-top: 1px solid rgba(250,246,238,.12); margin-top: 2rem; padding-top: 1.25rem; font-size: .85rem; color: rgba(250,246,238,.6); }
.site-footer__bottom p { margin: 0; }

@media (min-width: 768px) {
  .site-footer__grid { grid-template-columns: 1.2fr 1fr 1.4fr; gap: 3rem; }
}

/* === Cookie banner === */
.cookie-banner { position: fixed; left: 1rem; right: 1rem; bottom: 1rem; background: var(--color-neutral-dark); color: var(--color-neutral-light); padding: 1rem 1.25rem; border-radius: 10px; box-shadow: 0 20px 40px -15px rgba(0,0,0,.4); z-index: 100; display: flex; flex-direction: column; gap: .75rem; max-width: 560px; margin-inline: auto; }
.cookie-banner p { margin: 0; font-size: .9rem; line-height: 1.5; }
.cookie-banner button { background: var(--color-accent); color: var(--color-neutral-light); border: 0; padding: .65rem 1.25rem; border-radius: 6px; font-weight: 600; cursor: pointer; font-family: var(--font-body); font-size: .95rem; align-self: flex-start; }
.cookie-banner button:hover { background: var(--color-primary); }
body.cookies-accepted .cookie-banner { display: none; }

@media (min-width: 600px) {
  .cookie-banner { flex-direction: row; align-items: center; justify-content: space-between; }
  .cookie-banner button { align-self: auto; flex-shrink: 0; }
}
