:root {
  --color-primary: #1A1F2E;
  --color-secondary: #F5E8DD;
  --color-accent: #E07A5F;
  --color-neutral-dark: #0F1320;
  --color-neutral-light: #FAF0E8;
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;
  --maxw: 1100px;
  --radius: 12px;
}

/* === Reset === */
*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, h3, p, ul, ol, blockquote, figure { margin: 0; padding: 0; }
ul { list-style: none; }
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; }

/* === Base === */
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-neutral-dark);
  background: var(--color-neutral-light);
}
h1, h2, h3 { font-family: var(--font-heading); font-weight: 600; line-height: 1.2; color: var(--color-primary); }
h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.625rem, 3vw, 2.25rem); margin-bottom: 1rem; }
h3 { font-size: 1.2rem; margin-bottom: .5rem; }
p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* === Layout — sidebar nav === */
.layout { display: block; }
.sidebar {
  background: var(--color-primary);
  color: var(--color-neutral-light);
  padding: 1.25rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.sidebar .logo { display: inline-block; }
.logo img { height: 72px; width: auto; display: block; }
.sidebar-nav { display: flex; flex-direction: column; }
.nav-toggle {
  background: transparent;
  border: 1px solid rgba(250,240,232,.3);
  color: var(--color-neutral-light);
  padding: .5rem .9rem;
  font: inherit;
  border-radius: 6px;
  cursor: pointer;
  align-self: flex-start;
}
.sidebar-nav ul {
  display: none;
  flex-direction: column;
  gap: .25rem;
  margin-top: .75rem;
}
.sidebar-nav[data-open="true"] ul { display: flex; }
.sidebar-nav a {
  display: block;
  text-decoration: none;
  padding: .5rem 0;
  color: var(--color-neutral-light);
  font-weight: 500;
  border-bottom: 1px solid rgba(250,240,232,.08);
}
.sidebar-nav a[aria-current="page"] { color: var(--color-accent); }
.sidebar-foot { font-size: .8rem; opacity: .65; margin-top: auto; }

.main { padding: 2rem 1.25rem 0; max-width: var(--maxw); margin: 0 auto; }

@media (min-width: 900px) {
  .layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    min-height: 100vh;
  }
  .sidebar {
    position: sticky;
    top: 0;
    height: 100vh;
    padding: 2rem 1.5rem;
    gap: 2rem;
  }
  .logo img { height: 96px; }
  .nav-toggle { display: none; }
  .sidebar-nav ul { display: flex !important; gap: .25rem; }
  .sidebar-nav a { font-size: 1rem; padding: .6rem 0; }
  .main { padding: 3rem 3rem 0; max-width: none; }
}

/* === Hero === */
.hero {
  padding: 1rem 0 3rem;
  max-width: 880px;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: .15em;
  font-size: .75rem;
  color: var(--color-accent);
  font-weight: 600;
  margin-bottom: 1rem;
}
.hero h1 { margin-bottom: 1.25rem; }
.hero-sub {
  font-size: 1.125rem;
  color: rgba(15,19,32,.75);
  max-width: 56ch;
  margin-bottom: 1.5rem;
}
.hero-figure {
  margin-top: 2.5rem;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--color-secondary);
}
.hero-figure img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }

@media (min-width: 900px) {
  .hero { padding: 2rem 0 4rem; }
  .hero-figure { margin-top: 3rem; }
}

/* === Buttons === */
.btn {
  display: inline-block;
  padding: .9rem 1.5rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  font-size: .95rem;
  border: none;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  font-family: var(--font-body);
}
.btn-primary { background: var(--color-primary); color: var(--color-neutral-light); }
.btn-primary:hover { background: var(--color-neutral-dark); transform: translateY(-1px); }
.btn-accent { background: var(--color-accent); color: #fff; }
.btn-accent:hover { background: #c96a52; transform: translateY(-1px); }

/* === Sections === */
.section { padding: 3rem 0; border-top: 1px solid rgba(15,19,32,.08); }
.section.narrow { max-width: 65ch; }
.section.narrow p { font-size: 1.05rem; line-height: 1.75; }
.section-head { margin-bottom: 2rem; max-width: 60ch; }
.section-head p { color: rgba(15,19,32,.7); }

@media (min-width: 900px) {
  .section { padding: 4.5rem 0; }
}

/* === Grid + cards === */
.grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 720px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1080px) {
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}
.card {
  background: var(--color-secondary);
  padding: 1.75rem;
  border-radius: var(--radius);
  border: 1px solid rgba(15,19,32,.05);
}
.card-icon {
  display: inline-block;
  font-size: 1.4rem;
  color: var(--color-accent);
  margin-bottom: .75rem;
}
.card h3 { margin-bottom: .5rem; }
.card p { font-size: .95rem; color: rgba(15,19,32,.8); }

.team-card .portrait {
  margin: -1.75rem -1.75rem 1.25rem;
  overflow: hidden;
  border-radius: var(--radius) var(--radius) 0 0;
}
.team-card .portrait img { aspect-ratio: 1 / 1; object-fit: cover; width: 100%; }

/* === Testimonial === */
.testimonial-section { text-align: center; }
.testimonial {
  max-width: 60ch;
  margin: 0 auto;
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 2.2vw, 1.6rem);
  line-height: 1.4;
  color: var(--color-primary);
}
.testimonial p { margin-bottom: 1.5rem; font-style: italic; }
.testimonial cite {
  display: block;
  font-family: var(--font-body);
  font-size: .95rem;
  font-style: normal;
  color: var(--color-accent);
  font-weight: 500;
}

/* === CTA band === */
.cta-band {
  background: var(--color-primary);
  color: var(--color-neutral-light);
  padding: 3rem 1.75rem;
  border-radius: var(--radius);
  text-align: center;
  margin: 3rem 0;
}
.cta-band h2 { color: var(--color-neutral-light); }
.cta-band p { color: rgba(250,240,232,.85); max-width: 56ch; margin: 0 auto 1.5rem; }

/* === FAQ === */
.faq details {
  border-bottom: 1px solid rgba(15,19,32,.12);
  padding: 1rem 0;
}
.faq summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--color-primary);
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--color-accent); font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: '−'; }
.faq details p { margin-top: .75rem; color: rgba(15,19,32,.8); }

/* === Contact === */
.contact-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) {
  .contact-grid { grid-template-columns: 1fr 1fr; }
}
.contact-card { font-style: normal; }
.contact-card p { margin-bottom: 1rem; }
.contact-card a { color: var(--color-accent); }
.hours { width: 100%; border-collapse: collapse; }
.hours caption { text-align: left; font-weight: 600; margin-bottom: .75rem; color: var(--color-primary); }
.hours th, .hours td { padding: .5rem .25rem; border-bottom: 1px solid rgba(15,19,32,.08); text-align: left; }
.hours th { font-weight: 500; }

.contact-form { max-width: 560px; }
.contact-form label {
  display: block;
  font-weight: 600;
  font-size: .9rem;
  margin-bottom: .35rem;
  color: var(--color-primary);
}
.contact-form input, .contact-form textarea {
  width: 100%;
  padding: .75rem .9rem;
  border: 1px solid rgba(15,19,32,.2);
  border-radius: 6px;
  font: inherit;
  background: var(--color-neutral-light);
}
.contact-form input:focus, .contact-form textarea:focus {
  outline: 2px solid var(--color-accent);
  outline-offset: 1px;
}

/* === Footer === */
.site-footer {
  background: var(--color-neutral-dark);
  color: var(--color-neutral-light);
  margin-top: 4rem;
  padding: 3rem 1.5rem 1.5rem;
  border-radius: var(--radius) var(--radius) 0 0;
}
.footer-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
  max-width: var(--maxw);
  margin: 0 auto;
}
@media (min-width: 720px) {
  .footer-grid { grid-template-columns: 1.2fr 1fr 1.4fr; }
}
.footer-brand { font-family: var(--font-heading); font-size: 1.4rem; margin-bottom: .5rem; color: var(--color-neutral-light); }
.site-footer a { color: var(--color-neutral-light); text-decoration: none; }
.site-footer a:hover { color: var(--color-accent); }
.site-footer nav ul { display: flex; flex-direction: column; gap: .35rem; }
.site-footer address { font-style: normal; font-size: .95rem; }
.site-footer address p { margin-bottom: .35rem; }
.legal-links { margin-top: 1rem; display: flex; gap: 1rem; flex-wrap: wrap; }
.legal-links a { font-size: .85rem; opacity: .8; }
.copyright {
  text-align: center;
  font-size: .8rem;
  opacity: .6;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(250,240,232,.1);
}

/* === 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: var(--radius);
  box-shadow: 0 12px 32px -12px rgba(0,0,0,.4);
  display: flex;
  flex-direction: column;
  gap: .75rem;
  z-index: 100;
  font-size: .9rem;
}
.cookie-banner p { margin: 0; }
.cookie-banner button {
  background: var(--color-accent);
  color: #fff;
  border: none;
  padding: .6rem 1.2rem;
  border-radius: 6px;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  align-self: flex-start;
}
.cookie-banner button:hover { background: #c96a52; }
body.cookies-accepted .cookie-banner { display: none; }
@media (min-width: 600px) {
  .cookie-banner {
    flex-direction: row;
    align-items: center;
    left: auto;
    right: 1rem;
    max-width: 480px;
  }
  .cookie-banner button { align-self: center; flex-shrink: 0; }
}
