/* === Tokens === */
:root {
  --color-primary: #7A2E1F;
  --color-secondary: #E8D9B2;
  --color-accent: #1F3A2E;
  --color-neutral-dark: #1B1B1B;
  --color-neutral-light: #FAF6EE;
  --font-heading: 'Lora', Georgia, serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --radius: 10px;
  --radius-lg: 18px;
  --shadow-soft: 0 12px 40px -18px rgba(27,27,27,.25);
  --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);
  font-size: 17px;
  line-height: 1.6;
  color: var(--color-neutral-dark);
  background: var(--color-neutral-light);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; height: auto; }
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; line-height: 1.2; color: var(--color-neutral-dark); }
h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); letter-spacing: -0.01em; margin: 0 0 1rem; }
h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); margin: 0 0 1rem; }
h3 { font-size: 1.25rem; margin: 0 0 .5rem; }
h4 { font-size: 1rem; margin: 0 0 .75rem; text-transform: uppercase; letter-spacing: .08em; }
p { margin: 0 0 1rem; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* === Buttons === */
.btn {
  display: inline-block;
  padding: .95rem 1.75rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: .01em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s, background .2s;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn--primary { background: var(--color-primary); color: var(--color-neutral-light); }
.btn--primary:hover { background: #661d10; box-shadow: var(--shadow-soft); }
.btn--accent { background: var(--color-accent); color: var(--color-neutral-light); }
.btn--accent:hover { background: #142a20; box-shadow: var(--shadow-soft); }
.btn--ghost { background: transparent; color: var(--color-neutral-light); border-color: rgba(250,246,238,.5); }
.btn--ghost:hover { background: rgba(250,246,238,.1); }
.btn--small { padding: .55rem 1rem; font-size: .875rem; }

/* === Header === */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250,246,238,.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(27,27,27,.08);
}
.site-header__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: .75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.logo { display: inline-flex; align-items: center; }
.logo img { height: 72px; width: auto; }
.nav-toggle {
  background: transparent;
  border: 0;
  color: var(--color-neutral-dark);
  cursor: pointer;
  padding: .5rem;
  display: inline-flex;
}
.site-nav {
  display: none;
  flex-direction: column;
  gap: .25rem;
  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,.08);
}
.site-nav.is-open { display: flex; }
.site-nav a {
  color: var(--color-neutral-dark);
  padding: .65rem 0;
  font-weight: 500;
  border-bottom: 1px solid rgba(27,27,27,.06);
}
.site-nav a[aria-current="page"] { color: var(--color-primary); }

@media (min-width: 900px) {
  .logo img { height: 96px; }
  .nav-toggle { display: none; }
  .site-nav {
    display: flex;
    flex-direction: row;
    position: static;
    padding: 0;
    background: transparent;
    border: 0;
    gap: 2rem;
  }
  .site-nav a { border: 0; padding: 0; }
  .site-nav a:hover { color: var(--color-primary); text-decoration: none; }
}

/* === Hero (fullscreen) === */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--color-neutral-light);
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(27,27,27,.35), rgba(27,27,27,.65));
  z-index: 1;
}
.hero--solid { background: var(--color-primary); min-height: 60vh; }
.hero--solid .hero__overlay { display: none; }
.hero__content {
  position: relative;
  z-index: 2;
  max-width: 780px;
  padding: 5rem 1.5rem;
}
.hero__content h1 { color: var(--color-neutral-light); }
.hero__sub {
  font-size: 1.125rem;
  max-width: 52ch;
  margin: 0 auto 2rem;
  color: rgba(250,246,238,.9);
}
.eyebrow {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .8rem;
  color: var(--color-secondary);
  margin: 0 0 1rem;
  font-weight: 500;
}

/* === Sections === */
.section {
  padding: 4.5rem 1.25rem;
  max-width: var(--max);
  margin: 0 auto;
}
.section--narrow {
  max-width: 760px;
  text-align: left;
}
.section--narrow h2 { font-size: clamp(1.75rem, 3vw, 2.25rem); }
.section__sub {
  color: rgba(27,27,27,.7);
  font-size: 1.1rem;
  margin: 0 0 1.5rem;
}
.section__header { text-align: center; max-width: 640px; margin: 0 auto 2.5rem; }
.section__header .section__sub { text-align: center; }
.section__cta { margin-top: 1.75rem; }
.section--tinted {
  max-width: none;
  background: var(--color-secondary);
}
.section--tinted > .grid,
.section--tinted > .section__header,
.section--tinted > .contact-band {
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
}
.section--tinted-soft {
  background: rgba(232,217,178,.35);
  max-width: none;
}
.section--tinted-soft > * { max-width: 760px; margin-left: auto; margin-right: auto; }

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

/* === Grid / cards === */
.grid { display: grid; gap: 1.5rem; }
.grid--cards { grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid--cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid--cards { grid-template-columns: repeat(4, 1fr); } }
.card {
  background: var(--color-neutral-light);
  border: 1px solid rgba(27,27,27,.08);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: transform .25s, box-shadow .25s;
}
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow-soft); }
.card__icon {
  width: 36px;
  height: 36px;
  color: var(--color-primary);
  margin-bottom: 1rem;
  padding: .5rem;
  background: rgba(122,46,31,.08);
  border-radius: 10px;
  box-sizing: content-box;
}
.card h3 { font-family: var(--font-heading); }
.card p { color: rgba(27,27,27,.75); font-size: .97rem; margin: 0; }

/* === Quote === */
.section--quote {
  max-width: 820px;
  text-align: center;
  padding-block: 5rem;
}
.quote {
  margin: 0;
  padding: 0 1rem;
}
.quote p {
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 2.2vw, 1.65rem);
  line-height: 1.5;
  color: var(--color-neutral-dark);
  font-style: italic;
  margin: 0 0 1.25rem;
}
.quote cite {
  display: block;
  font-family: var(--font-body);
  font-style: normal;
  font-size: .95rem;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--color-primary);
}

/* === CTA band === */
.cta-band {
  background: var(--color-primary);
  color: var(--color-neutral-light);
  padding: 4.5rem 1.5rem;
  text-align: center;
}
.cta-band__inner { max-width: 720px; margin: 0 auto; }
.cta-band h2 { color: var(--color-neutral-light); }
.cta-band p { color: rgba(250,246,238,.88); font-size: 1.1rem; margin-bottom: 1.75rem; }

/* === Contact band === */
.contact-band {
  background: var(--color-neutral-light);
  padding: 2rem;
  border-radius: var(--radius-lg);
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

/* === Form === */
.form { max-width: 640px; }
.form__row { margin-bottom: 1.25rem; }
.form__row label {
  display: block;
  font-size: .9rem;
  font-weight: 500;
  margin-bottom: .4rem;
  color: var(--color-neutral-dark);
}
.form__row input,
.form__row textarea {
  width: 100%;
  font-family: inherit;
  font-size: 1rem;
  padding: .8rem 1rem;
  border: 1px solid rgba(27,27,27,.2);
  border-radius: var(--radius);
  background: var(--color-neutral-light);
  color: var(--color-neutral-dark);
  transition: border-color .2s, box-shadow .2s;
}
.form__row input:focus,
.form__row textarea:focus {
  outline: 0;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(122,46,31,.15);
}
.form-consent {
  display: flex;
  gap: .6rem;
  align-items: flex-start;
  font-size: .9rem;
  color: rgba(27,27,27,.75);
  margin: 1rem 0 1.5rem;
  line-height: 1.45;
  flex-wrap: wrap;
}
.form-consent input { margin-top: .25rem; }

/* === Footer === */
.site-footer {
  background: var(--color-neutral-dark);
  color: rgba(250,246,238,.85);
  padding: 4rem 1.25rem 2rem;
  margin-top: 2rem;
}
.site-footer__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .site-footer__inner { grid-template-columns: 1.2fr 1fr 1.2fr; gap: 3rem; }
}
.site-footer h4 { color: var(--color-secondary); }
.site-footer a { color: var(--color-neutral-light); display: block; padding: .3rem 0; }
.site-footer a:hover { color: var(--color-secondary); text-decoration: none; }
.site-footer .logo--footer img { height: 68px; margin-bottom: .75rem; filter: brightness(0) invert(1); }
.tagline { color: rgba(250,246,238,.7); font-style: italic; margin: 0; }
.site-footer address { font-style: normal; color: rgba(250,246,238,.85); margin-bottom: 1.25rem; line-height: 1.7; }
.site-footer address a { display: inline; padding: 0; }
.legal-links a { font-size: .875rem; color: rgba(250,246,238,.6); }
.site-footer__copy {
  max-width: var(--max);
  margin: 3rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(250,246,238,.1);
  font-size: .85rem;
  color: rgba(250,246,238,.55);
  text-align: center;
}

/* === 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-lg);
  box-shadow: 0 20px 60px -20px rgba(0,0,0,.5);
  max-width: 560px;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { font-size: .9rem; margin: 0 0 1rem; line-height: 1.5; }
.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}
.cookie-banner__prefs {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(250,246,238,.15);
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.cookie-banner__prefs label {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .9rem;
}
@media (min-width: 640px) {
  .cookie-banner { left: auto; right: 1.5rem; bottom: 1.5rem; }
}
