:root {
  --color-primary: #A04A2E;
  --color-secondary: #F0E0C0;
  --color-accent: #3D5A47;
  --color-neutral-dark: #2A1F18;
  --color-neutral-light: #FBF5E8;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --radius: 14px;
  --shadow-soft: 0 20px 40px -28px rgba(42, 31, 24, 0.35);
}

/* === Reset === */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
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%; height: auto; display: block; }
a { color: var(--color-primary); text-decoration: none; }
a:hover, a:focus { 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, 5vw, 3.5rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1rem; }

/* === Layout (sidebar nav archetype) === */
.layout { display: block; }
.sidebar {
  background: var(--color-secondary);
  color: var(--color-neutral-dark);
  padding: 1.25rem 1.25rem 1rem;
  border-bottom: 1px solid rgba(42,31,24,0.08);
  position: sticky; top: 0; z-index: 30;
}
.logo { display: inline-block; }
.logo img { height: 72px; width: auto; }
.nav-toggle {
  margin-top: 1rem;
  background: var(--color-neutral-dark);
  color: var(--color-neutral-light);
  border: none;
  padding: 0.55rem 1rem;
  border-radius: 8px;
  font: inherit;
  cursor: pointer;
}
.primary-nav { display: none; flex-direction: column; gap: 0.25rem; margin-top: 1rem; }
.primary-nav.open { display: flex; }
.primary-nav a {
  display: block;
  padding: 0.6rem 0.75rem;
  color: var(--color-neutral-dark);
  font-weight: 500;
  border-radius: 6px;
}
.primary-nav a:hover, .primary-nav a:focus { background: rgba(160,74,46,0.1); text-decoration: none; }
.primary-nav a[aria-current="page"] { color: var(--color-primary); font-weight: 600; }
.sidebar-foot { display: none; font-size: 0.85rem; color: rgba(42,31,24,0.65); margin-top: 1.5rem; }

.main { padding: 2rem 1.25rem 3rem; max-width: 1100px; margin: 0 auto; }

/* === Hero === */
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  color: var(--color-primary);
  font-weight: 600;
  margin-bottom: 0.75rem;
}
.hero { padding-block: 1rem 2rem; }
.hero h1 { max-width: 22ch; }
.hero-sub { font-size: 1.15rem; color: rgba(42,31,24,0.78); max-width: 56ch; margin-bottom: 1.5rem; }
.hero-cta { margin-bottom: 2rem; }
.hero-figure {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.hero-figure img { aspect-ratio: 16/9; object-fit: cover; width: 100%; }

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

/* === Sections === */
.section { padding-block: 3rem; border-top: 1px solid rgba(42,31,24,0.08); }
.section.narrow { max-width: 65ch; margin-inline: auto; }

/* === Grid & cards === */
.grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
.card {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.6rem;
  border: 1px solid rgba(42,31,24,0.08);
  box-shadow: var(--shadow-soft);
}
.card-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.5rem; height: 2.5rem;
  border-radius: 50%;
  background: var(--color-secondary);
  color: var(--color-primary);
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

/* === Team === */
.team-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-soft); border: 1px solid rgba(42,31,24,0.08); }
.team-card figure { margin: 0; }
.team-card figure img { aspect-ratio: 1/1; object-fit: cover; width: 100%; }
.team-card h3 { padding: 1.25rem 1.25rem 0; }
.team-card p { padding: 0 1.25rem 1.5rem; }

/* === Testimonial === */
.testimonial-section { background: var(--color-secondary); border-radius: var(--radius); padding: 2.5rem 1.5rem; margin-block: 2.5rem; border: none; }
.testimonial { margin: 0; max-width: 60ch; margin-inline: auto; text-align: center; }
.testimonial p { font-family: var(--font-heading); font-size: 1.35rem; line-height: 1.5; color: var(--color-neutral-dark); font-style: italic; }
.testimonial cite { display: block; margin-top: 1rem; font-style: normal; font-size: 0.95rem; color: var(--color-primary); font-weight: 600; }

/* === CTA band === */
.cta-band {
  background: var(--color-primary);
  color: var(--color-neutral-light);
  padding: 3rem 1.5rem;
  border-radius: var(--radius);
  text-align: center;
  margin-block: 2.5rem;
}
.cta-band h2 { color: var(--color-neutral-light); max-width: 28ch; margin-inline: auto; }
.cta-band p { color: rgba(251,245,232,0.88); max-width: 50ch; margin-inline: auto; }

/* === FAQ === */
.faq details {
  background: #fff;
  border-radius: 10px;
  border: 1px solid rgba(42,31,24,0.08);
  padding: 1rem 1.25rem;
  margin-bottom: 0.75rem;
}
.faq summary {
  cursor: pointer;
  font-weight: 600;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  list-style: none;
  padding-right: 1.5rem;
  position: relative;
}
.faq summary::after { content: "+"; position: absolute; right: 0; top: 0; font-size: 1.4rem; color: var(--color-primary); }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin-top: 0.85rem; color: rgba(42,31,24,0.82); }

/* === Hours table === */
.hours { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-soft); }
.hours th, .hours td { padding: 0.75rem 1rem; text-align: left; border-bottom: 1px solid rgba(42,31,24,0.06); }
.hours thead th { background: var(--color-secondary); }
.hours tbody tr:last-child th, .hours tbody tr:last-child td { border-bottom: none; }

/* === Footer === */
.footer { background: var(--color-neutral-dark); color: var(--color-neutral-light); padding: 3rem 1.25rem 1.5rem; margin-top: 3rem; }
.footer a { color: var(--color-secondary); }
.footer-inner { display: grid; gap: 2rem; grid-template-columns: 1fr; max-width: 1100px; margin: 0 auto; }
.footer nav { display: flex; flex-direction: column; gap: 0.4rem; }
.footer-brand { font-family: var(--font-heading); font-size: 1.3rem; font-weight: 600; margin-bottom: 0.4rem; }
.legal-links { font-size: 0.9rem; margin-top: 0.75rem; }
.copyright { text-align: center; font-size: 0.85rem; color: rgba(251,245,232,0.6); margin-top: 2rem; max-width: 1100px; margin-inline: auto; }

/* === 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;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  z-index: 40;
  box-shadow: 0 20px 40px -10px rgba(0,0,0,0.35);
}
.cookie-banner p { margin: 0; font-size: 0.95rem; }
.cookie-banner button {
  align-self: flex-start;
  background: var(--color-accent);
  color: var(--color-neutral-light);
  border: none;
  padding: 0.55rem 1.2rem;
  border-radius: 999px;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
body.cookies-accepted .cookie-banner { display: none; }

/* === Responsive: sidebar layout from 900px === */
@media (min-width: 768px) {
  .logo img { height: 96px; }
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .footer-inner { grid-template-columns: 1.2fr 1fr 1.2fr; }
  .cookie-banner { flex-direction: row; align-items: center; left: auto; right: 1.5rem; bottom: 1.5rem; max-width: 460px; }
}

@media (min-width: 900px) {
  .layout { display: grid; grid-template-columns: 240px 1fr; align-items: start; }
  .sidebar {
    position: sticky; top: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    padding: 2rem 1.5rem;
    border-bottom: none;
    border-right: 1px solid rgba(42,31,24,0.08);
  }
  .nav-toggle { display: none; }
  .primary-nav { display: flex !important; margin-top: 2rem; }
  .sidebar-foot { display: block; margin-top: auto; }
  .main { padding: 3rem 3rem 4rem; max-width: none; }
  .hero { padding-block: 2rem 3rem; }
}

@media (min-width: 1100px) {
  .main { max-width: 980px; margin: 0 auto; }
}
