/* === Tokens === */
:root {
  --color-primary: #A04A2E;
  --color-secondary: #F0E0C0;
  --color-accent: #3D5A47;
  --color-neutral-dark: #2A1F18;
  --color-neutral-light: #FBF5E8;
  --font-heading: 'Lora', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --max-content: 960px;
  --radius: 10px;
  --shadow-soft: 0 20px 50px -30px rgba(42, 31, 24, 0.35);
}

/* === Reset === */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
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; }

/* === Typography === */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--color-neutral-dark);
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin: 0 0 1rem;
}
h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1rem; }
.eyebrow {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-primary);
  margin: 0 0 1.25rem;
}

/* === Layout — hero-sidebar-nav === */
.layout { display: block; }
.sidebar {
  position: relative;
  padding: 1.25rem 1.5rem;
  background: var(--color-neutral-dark);
  color: var(--color-neutral-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.sidebar__brand { margin: 0; }
.logo img { height: 60px; width: auto; display: block; }
.sidebar__nav { display: none; width: 100%; flex-direction: column; gap: 0.25rem; margin-top: 1rem; }
.sidebar__nav.is-open { display: flex; }
.sidebar__nav a {
  color: var(--color-secondary);
  padding: 0.7rem 0.25rem;
  border-bottom: 1px solid rgba(240, 224, 192, 0.12);
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}
.sidebar__nav a.is-active { color: var(--color-neutral-light); font-weight: 600; }
.sidebar__nav a:hover { color: var(--color-neutral-light); text-decoration: none; }
.sidebar__toggle {
  background: transparent;
  border: 1px solid rgba(240, 224, 192, 0.3);
  color: var(--color-secondary);
  padding: 0.5rem;
  border-radius: 6px;
  cursor: pointer;
}
.sidebar__foot { display: none; font-size: 0.75rem; color: rgba(240, 224, 192, 0.55); margin: 0; }
.main { padding: 0 1.25rem; }

@media (min-width: 900px) {
  .layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    min-height: 100vh;
  }
  .sidebar {
    position: sticky;
    top: 0;
    height: 100vh;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: 2.5rem 1.75rem;
    gap: 2rem;
  }
  .sidebar__brand { text-align: left; }
  .logo img { height: 96px; }
  .sidebar__nav {
    display: flex !important;
    flex-direction: column;
    margin-top: 0;
    gap: 0.1rem;
  }
  .sidebar__nav a {
    padding: 0.55rem 0;
    border-bottom: none;
    font-size: 0.95rem;
  }
  .sidebar__nav a.is-active { border-left: 2px solid var(--color-primary); padding-left: 0.75rem; }
  .sidebar__toggle { display: none; }
  .sidebar__foot { display: block; margin-top: auto; }
  .main { padding: 0 3rem; }
}

/* === Hero === */
.hero {
  padding: 3rem 0 2rem;
  max-width: var(--max-content);
  margin-inline: auto;
}
.hero h1 { max-width: 20ch; }
.hero__sub {
  font-size: 1.15rem;
  color: rgba(42, 31, 24, 0.75);
  max-width: 55ch;
  margin-bottom: 1.75rem;
}
.hero__cta { margin-bottom: 2.5rem; }
.hero__figure {
  margin: 2rem 0 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.hero__figure img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}
@media (min-width: 900px) {
  .hero { padding: 4.5rem 0 3rem; }
}

/* === Buttons === */
.btn {
  display: inline-block;
  padding: 0.85rem 1.6rem;
  border-radius: 6px;
  font-family: var(--font-body);
  font-weight: 500;
  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;
}
.btn--primary {
  background: var(--color-primary);
  color: var(--color-neutral-light);
}
.btn--primary:hover { background: #8a3f27; color: var(--color-neutral-light); text-decoration: none; transform: translateY(-1px); }
.btn--light {
  background: var(--color-neutral-light);
  color: var(--color-neutral-dark);
}
.btn--light:hover { text-decoration: none; transform: translateY(-1px); }
.btn--ghost {
  background: transparent;
  color: var(--color-neutral-light);
  border: 1px solid rgba(251, 245, 232, 0.45);
}
.btn--ghost:hover { background: rgba(251, 245, 232, 0.08); text-decoration: none; }

/* === Section === */
.section {
  max-width: var(--max-content);
  margin: 0 auto;
  padding: 3rem 0;
}
.section__head {
  max-width: 32ch;
  margin-bottom: 2rem;
}
.section--intro { padding: 2rem 0; }

.intro-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}
.intro-grid__text p {
  color: rgba(42, 31, 24, 0.8);
  font-size: 1.02rem;
}
.intro-grid__figure {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.intro-grid__figure img { aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.intro-grid--single { grid-template-columns: 1fr; max-width: 68ch; }

@media (min-width: 800px) {
  .intro-grid { grid-template-columns: 1.1fr 1fr; gap: 3.5rem; }
  .intro-grid--single { grid-template-columns: 1fr; }
  .section { padding: 4.5rem 0; }
}

/* === Cards === */
.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 620px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1000px) {
  .cards { grid-template-columns: repeat(3, 1fr); }
  .cards--three { grid-template-columns: repeat(3, 1fr); }
}
.card {
  background: #fff;
  border: 1px solid rgba(42, 31, 24, 0.08);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow-soft); }
.card__icon {
  color: var(--color-primary);
  margin-bottom: 1rem;
  display: block;
}
.card h3 { margin-bottom: 0.6rem; }
.card p { font-size: 0.95rem; color: rgba(42, 31, 24, 0.78); margin: 0; }

/* === Testimonial === */
.testimonial {
  text-align: center;
  max-width: 68ch;
}
.testimonial blockquote {
  margin: 0;
  padding: 2.5rem 1rem;
  position: relative;
}
.testimonial blockquote::before {
  content: '“';
  font-family: var(--font-heading);
  font-size: 5rem;
  color: var(--color-primary);
  opacity: 0.35;
  position: absolute;
  top: -0.5rem;
  left: 50%;
  transform: translateX(-50%);
  line-height: 1;
}
.testimonial blockquote p {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-style: italic;
  line-height: 1.5;
  color: var(--color-neutral-dark);
  margin: 1rem 0;
}
.testimonial cite {
  font-style: normal;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  color: var(--color-primary);
  text-transform: uppercase;
}

/* === CTA band === */
.cta-band {
  background: var(--color-primary);
  color: var(--color-neutral-light);
  margin: 3rem 0;
  border-radius: var(--radius);
}
.cta-band__inner {
  max-width: var(--max-content);
  margin: 0 auto;
  padding: 3rem 2rem;
  text-align: center;
}
.cta-band h2 { color: var(--color-neutral-light); max-width: 28ch; margin: 0 auto 0.75rem; }
.cta-band p { color: rgba(251, 245, 232, 0.9); max-width: 55ch; margin: 0 auto 1.5rem; }

/* === Contact === */
.contact-details__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
@media (min-width: 800px) {
  .contact-details__grid { grid-template-columns: 1fr 1.3fr; gap: 3.5rem; }
}
address { font-style: normal; line-height: 1.8; }
.contact-form {
  background: #fff;
  padding: 2rem;
  border-radius: var(--radius);
  border: 1px solid rgba(42, 31, 24, 0.08);
}
.field { margin-bottom: 1.15rem; }
.field label { display: block; font-size: 0.85rem; font-weight: 500; margin-bottom: 0.35rem; color: var(--color-neutral-dark); }
.field input,
.field textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 1px solid rgba(42, 31, 24, 0.15);
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  background: var(--color-neutral-light);
  color: var(--color-neutral-dark);
}
.field input:focus,
.field textarea:focus { outline: 2px solid var(--color-primary); outline-offset: 1px; border-color: transparent; }
.form-consent {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  font-size: 0.85rem;
  color: rgba(42, 31, 24, 0.78);
  margin: 0.5rem 0 1.25rem;
  line-height: 1.5;
  flex-wrap: wrap;
}
.form-consent input { margin-top: 0.15rem; }

/* === Footer === */
.footer {
  border-top: 1px solid rgba(42, 31, 24, 0.1);
  margin-top: 3rem;
  padding: 3rem 0 2rem;
  font-size: 0.9rem;
  color: rgba(42, 31, 24, 0.75);
}
.footer__cols {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: var(--max-content);
  margin: 0 auto;
}
@media (min-width: 700px) {
  .footer__cols { grid-template-columns: repeat(3, 1fr); }
}
.footer__brand { font-family: var(--font-heading); font-size: 1.35rem; color: var(--color-neutral-dark); margin: 0 0 0.35rem; }
.footer nav { display: flex; flex-direction: column; gap: 0.4rem; }
.footer nav a { color: rgba(42, 31, 24, 0.78); }
.footer__legal { margin-top: 1rem; font-size: 0.8rem; }
.footer__legal a { color: rgba(42, 31, 24, 0.65); }
.footer__copy {
  text-align: center;
  margin: 2.5rem 0 0;
  font-size: 0.8rem;
  color: rgba(42, 31, 24, 0.55);
}

/* === 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.5);
  max-width: 640px;
  margin: 0 auto;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 1rem; font-size: 0.9rem; color: rgba(251, 245, 232, 0.85); }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.cookie-banner__actions .btn { font-size: 0.85rem; padding: 0.55rem 1rem; }
.cookie-banner__prefs { margin-top: 1rem; display: flex; flex-direction: column; gap: 0.5rem; }
.cookie-banner__prefs label { display: flex; align-items: center; gap: 0.5rem; font-size: 0.9rem; }
.cookie-banner__prefs .btn { align-self: flex-start; margin-top: 0.5rem; }
