:root {
  --color-primary: #7A2E1F;
  --color-secondary: #E8D9B2;
  --color-accent: #1F3A2E;
  --color-neutral-dark: #1B1B1B;
  --color-neutral-light: #FAF6EE;
  --font-heading: 'Lora', serif;
  --font-body: 'Inter', sans-serif;
  --max-width: 1140px;
}

/* === 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: 16px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 600; letter-spacing: -0.01em; line-height: 1.2; margin: 0 0 1rem; }
p { margin: 0 0 1rem; }

/* === Layout helpers === */
.container { width: 100%; max-width: var(--max-width); margin-inline: auto; padding-inline: 1.25rem; }
.narrow { max-width: 720px; }

/* === Header === */
.site-header {
  background: var(--color-neutral-light);
  border-bottom: 1px solid rgba(27,27,27,0.08);
  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; }
.nav-toggle {
  background: none; border: 0; padding: .5rem; cursor: pointer;
  color: var(--color-neutral-dark);
}
.primary-nav { display: none; }
.primary-nav.is-open {
  display: flex; flex-direction: column;
  position: absolute; top: 100%; left: 0; right: 0;
  background: var(--color-neutral-light);
  padding: 1rem 1.25rem 1.5rem;
  border-bottom: 1px solid rgba(27,27,27,0.08);
  gap: .75rem;
}
.primary-nav a {
  color: var(--color-neutral-dark);
  font-weight: 500;
  padding: .35rem 0;
}
.primary-nav a[aria-current="page"] { color: var(--color-primary); }

@media (min-width: 768px) {
  .logo img { height: 96px; }
  .nav-toggle { display: none; }
  .primary-nav {
    display: flex; flex-direction: row; position: static;
    background: transparent; padding: 0; border: 0; gap: 2rem;
  }
}

/* === Hero (centered) === */
.hero {
  text-align: center;
  padding-block: 3.5rem;
  background: var(--color-neutral-light);
}
.hero h1 {
  max-width: 20ch;
  margin-inline: auto;
  font-size: clamp(2.25rem, 5vw, 4rem);
  font-weight: 600;
}
.hero__sub {
  max-width: 52ch;
  margin: 1.25rem auto 2rem;
  font-size: 1.125rem;
  color: rgba(27,27,27,0.75);
}
.hero__cta { margin-bottom: 2.5rem; }
.hero__figure {
  margin: 2.5rem auto 0;
  max-width: 960px;
}
.hero__figure img {
  width: 100%; aspect-ratio: 16/9; object-fit: cover;
  border-radius: 12px;
}

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

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

/* === Sections === */
.section { padding-block: 3.5rem; }
.section-intro { text-align: center; }
.section-intro h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); }
.section-head { text-align: center; margin-bottom: 2.5rem; }
.section-head h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); }
.section-head p { color: rgba(27,27,27,0.7); max-width: 55ch; margin-inline: auto; }

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

/* === Grid & cards === */
.grid { display: grid; gap: 1.5rem; 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: #fff;
  padding: 1.75rem;
  border-radius: 8px;
  border: 1px solid rgba(27,27,27,0.08);
  transition: transform .2s ease, box-shadow .2s ease;
}
.card h3 {
  font-size: 1.25rem;
  margin-bottom: .5rem;
  color: var(--color-neutral-dark);
}
.card p { color: rgba(27,27,27,0.75); margin: 0; }
.card__icon {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--color-secondary);
  color: var(--color-primary);
  margin-bottom: 1rem;
}
.card-link {
  display: block; color: inherit;
}
.card-link:hover {
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px -18px rgba(0,0,0,0.25);
}
.card-link h3 { color: var(--color-primary); }

/* === Testimonial === */
.section-testimonial { background: var(--color-secondary); }
.section-testimonial blockquote {
  text-align: center;
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 2.2vw, 1.6rem);
  line-height: 1.5;
  color: var(--color-neutral-dark);
}
.section-testimonial cite {
  display: block;
  margin-top: 1rem;
  font-family: var(--font-body);
  font-size: .95rem;
  font-style: normal;
  color: rgba(27,27,27,0.7);
}

/* === CTA band === */
.cta-band {
  background: var(--color-primary);
  color: var(--color-neutral-light);
  text-align: center;
  padding-block: 4rem;
}
.cta-band h2 { color: var(--color-neutral-light); font-size: clamp(1.75rem, 3vw, 2.5rem); }
.cta-band p { color: rgba(250,246,238,0.9); max-width: 55ch; margin-inline: auto 1.5rem; }

/* === Contact === */
.section-contact .contact-lede {
  text-align: center;
  max-width: 60ch;
  margin: 0 auto 2.5rem;
  color: rgba(27,27,27,0.75);
}

/* === Form === */
.contact-form { display: flex; flex-direction: column; gap: 1.25rem; margin-top: 1.5rem; }
.form-row { display: flex; flex-direction: column; gap: .35rem; }
.form-row label { font-weight: 500; font-size: .95rem; }
.form-row input, .form-row textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: .75rem .9rem;
  border: 1px solid rgba(27,27,27,0.2);
  border-radius: 4px;
  background: #fff;
}
.form-row input:focus, .form-row textarea:focus {
  outline: 2px solid var(--color-primary);
  outline-offset: 1px;
}
.form-consent {
  display: flex; gap: .6rem; align-items: flex-start;
  font-size: .9rem; color: rgba(27,27,27,0.8);
}
.form-consent input { margin-top: .25rem; }

/* === Article === */
.article {
  max-width: 65ch;
  margin: 3rem auto;
  padding-inline: 1.25rem;
}
.article__head { margin-bottom: 2rem; }
.article .eyebrow {
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--color-primary);
  font-weight: 600;
  margin: 0 0 .75rem;
}
.article h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
  margin-bottom: 1rem;
}
.article__sub { font-size: 1.2rem; color: rgba(27,27,27,0.7); }
.article__hero { margin: 2rem 0; }
.article__hero img {
  width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 8px;
}
.article h2 {
  font-size: 1.6rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}
.article p {
  font-size: 1.125rem; line-height: 1.75;
  margin-block: 1.25rem;
}
.article__foot {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(27,27,27,0.1);
}
.back-link { font-weight: 500; }

/* === Footer === */
.site-footer {
  background: var(--color-neutral-dark);
  color: var(--color-neutral-light);
  padding-top: 3rem;
  margin-top: 3rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding-bottom: 2rem;
}
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 1.2fr 1fr 1.2fr; }
}
.logo-footer img { height: 60px; margin-bottom: .75rem; filter: brightness(0) invert(1) opacity(.9); }
.footer-tag { color: rgba(250,246,238,0.7); font-style: italic; }
.site-footer h4 {
  font-family: var(--font-body);
  font-size: .9rem; text-transform: uppercase; letter-spacing: .1em;
  color: rgba(250,246,238,0.6);
  margin-bottom: 1rem;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .5rem; }
.site-footer a { color: var(--color-neutral-light); }
.site-footer a:hover { color: var(--color-secondary); }
.site-footer address { font-style: normal; margin-bottom: 1rem; line-height: 1.7; }
.legal-links { margin-top: 1rem; font-size: .9rem; }
.copyright {
  border-top: 1px solid rgba(250,246,238,0.15);
  padding-block: 1.25rem;
  color: rgba(250,246,238,0.6);
  font-size: .85rem;
}

/* === 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: 8px;
  box-shadow: 0 20px 40px -20px rgba(0,0,0,0.5);
  max-width: 640px;
  margin-inline: auto;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 1rem; font-size: .95rem; }
.cookie-banner__actions {
  display: flex; flex-wrap: wrap; gap: .5rem;
}
.cookie-banner button {
  font-family: var(--font-body);
  font-size: .9rem;
  padding: .6rem 1rem;
  border-radius: 4px;
  border: 1px solid rgba(250,246,238,0.3);
  background: transparent;
  color: var(--color-neutral-light);
  cursor: pointer;
}
.cookie-banner [data-cookie-accept] {
  background: var(--color-accent);
  border-color: var(--color-accent);
}
.cookie-banner__prefs {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(250,246,238,0.15);
  display: flex; flex-direction: column; gap: .5rem;
  font-size: .9rem;
}
.cookie-banner__prefs label { display: flex; align-items: center; gap: .5rem; }
.cookie-banner__prefs [data-cookie-save] {
  align-self: flex-start;
  margin-top: .5rem;
  background: var(--color-neutral-light);
  color: var(--color-neutral-dark);
}
