/* === Reset & tokens === */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; }
img { max-width: 100%; display: block; }
a { color: inherit; }

:root {
  --color-primary: #78350F;
  --color-secondary: #92400E;
  --color-accent: #FBBF24;
  --color-neutral-dark: #451A03;
  --color-neutral-light: #FEF3C7;
  --color-page: #FBF5E5;
  --color-body: #3B1F09;
  --color-muted: #6B4423;
  --color-line: rgba(69, 26, 3, 0.14);
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --container: 1200px;
  --radius: 10px;
}

body {
  font-family: var(--font-body);
  color: var(--color-body);
  background: var(--color-page);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
}

h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--color-neutral-dark); font-weight: 600; line-height: 1.15; letter-spacing: -0.005em; margin: 0 0 0.75rem; }
h1 { font-size: clamp(2.25rem, 5vw, 4rem); }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1rem; }

.eyebrow { font-family: var(--font-body); font-size: 0.75rem; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 500; color: var(--color-secondary); margin: 0 0 1rem; }

/* === Header === */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(251, 245, 229, 0.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--color-line); }
.site-header__inner { max-width: var(--container); margin: 0 auto; padding: 0.75rem 1.25rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.logo { display: inline-flex; }
.logo img { height: 72px; width: auto; display: block; }
.nav-toggle { background: transparent; border: 1px solid var(--color-line); color: var(--color-neutral-dark); padding: 0.4rem; border-radius: 8px; cursor: pointer; display: inline-flex; }
.primary-nav { display: none; flex-direction: column; gap: 0.25rem; }
.primary-nav.is-open { display: flex; position: absolute; top: 100%; left: 0; right: 0; background: var(--color-page); padding: 1rem 1.25rem; border-bottom: 1px solid var(--color-line); }
.primary-nav a { text-decoration: none; padding: 0.6rem 0.25rem; font-size: 0.95rem; color: var(--color-neutral-dark); border-bottom: 1px solid var(--color-line); }
.primary-nav a[aria-current="page"] { color: var(--color-primary); font-weight: 500; }

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

/* === Hero (fullscreen) === */
.hero--fullscreen { position: relative; min-height: 100vh; 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(69, 26, 3, 0.45), rgba(69, 26, 3, 0.68)); z-index: 1; }
.hero__content { position: relative; z-index: 2; padding: 4rem 1.25rem; max-width: 880px; }
.hero__content .eyebrow { color: var(--color-accent); }
.hero h1 { color: var(--color-neutral-light); max-width: 22ch; margin-inline: auto; }
.hero__sub { font-size: clamp(1rem, 1.6vw, 1.25rem); color: rgba(254, 243, 199, 0.9); max-width: 52ch; margin: 1.25rem auto 2rem; }

.hero--compact { padding: 8rem 1.25rem 4rem; text-align: center; background: linear-gradient(180deg, var(--color-neutral-light), var(--color-page)); }
.hero--compact .hero__content { max-width: 720px; margin: 0 auto; }

/* === Buttons === */
.btn { display: inline-block; padding: 0.9rem 1.75rem; border-radius: 999px; font-weight: 500; text-decoration: none; font-size: 0.95rem; letter-spacing: 0.02em; transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease; cursor: pointer; border: 0; font-family: inherit; }
.btn--primary { background: var(--color-accent); color: var(--color-neutral-dark); box-shadow: 0 12px 28px -14px rgba(251, 191, 36, 0.7); }
.btn--primary:hover { transform: translateY(-1px); background: #FDCE4E; }
.btn--accent { background: var(--color-neutral-light); color: var(--color-neutral-dark); }
.btn--accent:hover { background: #fff; transform: translateY(-1px); }

/* === Sections === */
.section { max-width: var(--container); margin: 0 auto; padding: 4rem 1.25rem; }
.section--muted { background: var(--color-neutral-light); max-width: none; margin: 0; padding: 4rem 1.25rem; }
.section--muted > * { max-width: var(--container); margin-inline: auto; }
.section--intro { max-width: 820px; }
.section--quote { max-width: 820px; padding: 3rem 1.25rem; }
.section__header { text-align: center; margin-bottom: 2.5rem; }
.section__sub { color: var(--color-muted); max-width: 60ch; margin: 0 auto; font-size: 1.05rem; }

.prose { max-width: 65ch; margin: 0 auto; }
.prose h2 { text-align: center; margin-bottom: 1.5rem; }
.prose p { font-size: 1.05rem; line-height: 1.75; }

.intro-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: center; }
.intro-grid__figure { margin: 0; }
.intro-grid__figure img { border-radius: var(--radius); aspect-ratio: 4/5; object-fit: cover; }

@media (min-width: 800px) {
  .intro-grid { grid-template-columns: 1.1fr 0.9fr; gap: 4rem; }
}

/* === Cards === */
.cards { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
.card { background: var(--color-page); border: 1px solid var(--color-line); border-radius: var(--radius); padding: 1.75rem; }
.card__icon { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: var(--color-neutral-light); color: var(--color-primary); margin-bottom: 0.75rem; }
.card h3 { color: var(--color-neutral-dark); }
.card p { color: var(--color-muted); margin: 0; font-size: 0.98rem; }
.card-link { text-decoration: none; display: block; transition: transform 0.2s ease, box-shadow 0.2s ease; }
.card-link:hover { transform: translateY(-3px); box-shadow: 0 20px 40px -24px rgba(69, 26, 3, 0.35); }
.section--muted .card { background: #fff; }

@media (min-width: 700px) {
  .cards--3 { grid-template-columns: repeat(3, 1fr); }
  .cards--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1000px) {
  .cards--4 { grid-template-columns: repeat(4, 1fr); }
}

/* === Quote === */
.quote { margin: 0; text-align: center; max-width: 65ch; margin-inline: auto; }
.quote p { font-family: var(--font-heading); font-size: clamp(1.15rem, 2vw, 1.5rem); line-height: 1.5; color: var(--color-neutral-dark); font-style: italic; margin: 0 0 1rem; }
.quote cite { font-style: normal; color: var(--color-secondary); font-size: 0.9rem; letter-spacing: 0.1em; text-transform: uppercase; }

/* === CTA Band === */
.cta-band { background: var(--color-primary); color: var(--color-neutral-light); }
.cta-band__inner { max-width: var(--container); margin: 0 auto; padding: 4rem 1.25rem; text-align: center; }
.cta-band h2 { color: var(--color-neutral-light); }
.cta-band p { color: rgba(254, 243, 199, 0.85); max-width: 55ch; margin: 0 auto 1.75rem; }

/* === FAQ === */
.faq { max-width: 800px; margin: 0 auto; }
.faq details { border-top: 1px solid var(--color-line); padding: 1.25rem 0; }
.faq details:last-of-type { border-bottom: 1px solid var(--color-line); }
.faq summary { list-style: none; cursor: pointer; font-family: var(--font-heading); font-size: 1.15rem; color: var(--color-neutral-dark); display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq summary::after { content: '+'; font-size: 1.5rem; color: var(--color-primary); font-family: var(--font-body); }
.faq details[open] summary::after { content: '−'; }
.faq details p { margin-top: 0.75rem; color: var(--color-muted); }

/* === Contact === */
.contact-band { display: grid; grid-template-columns: 1fr; gap: 2rem; max-width: var(--container); margin: 0 auto; align-items: center; }
.contact-band__map img { border-radius: var(--radius); aspect-ratio: 16/10; object-fit: cover; }
@media (min-width: 800px) { .contact-band { grid-template-columns: 1fr 1fr; gap: 3rem; } }

.contact-form { max-width: 640px; margin: 0 auto; display: flex; flex-direction: column; gap: 1rem; }
.form-row { display: flex; flex-direction: column; gap: 0.35rem; }
.form-row label { font-size: 0.85rem; font-weight: 500; color: var(--color-neutral-dark); letter-spacing: 0.05em; text-transform: uppercase; }
.form-row input, .form-row textarea { font: inherit; padding: 0.75rem 0.9rem; border: 1px solid var(--color-line); border-radius: 8px; background: #fff; color: var(--color-body); }
.form-row input:focus, .form-row textarea:focus { outline: 2px solid var(--color-accent); outline-offset: 1px; border-color: var(--color-accent); }
.form-consent { display: flex; align-items: flex-start; gap: 0.6rem; font-size: 0.88rem; color: var(--color-muted); line-height: 1.5; }
.form-consent input { margin-top: 0.2rem; }
.form-consent a { color: var(--color-primary); }
.contact-form .btn { align-self: flex-start; margin-top: 0.5rem; }

/* === Footer === */
.site-footer { background: var(--color-neutral-dark); color: var(--color-neutral-light); padding: 3.5rem 1.25rem 2rem; margin-top: 4rem; }
.site-footer__grid { max-width: var(--container); margin: 0 auto; display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
.site-footer__brand { font-family: var(--font-heading); font-size: 1.4rem; margin: 0 0 0.3rem; color: var(--color-neutral-light); }
.site-footer__tag { color: rgba(254, 243, 199, 0.7); font-size: 0.92rem; margin: 0; }
.site-footer nav { display: flex; flex-direction: column; gap: 0.5rem; }
.site-footer nav a { color: rgba(254, 243, 199, 0.82); text-decoration: none; font-size: 0.95rem; }
.site-footer nav a:hover { color: var(--color-accent); }
.site-footer address { font-style: normal; color: rgba(254, 243, 199, 0.82); font-size: 0.92rem; line-height: 1.7; }
.site-footer address a { color: inherit; text-decoration: none; }
.site-footer__legal { margin-top: 1rem; font-size: 0.85rem; }
.site-footer__legal a { color: rgba(254, 243, 199, 0.7); text-decoration: none; margin-right: 0.25rem; }
.site-footer__copy { max-width: var(--container); margin: 2.5rem auto 0; padding-top: 1.5rem; border-top: 1px solid rgba(254, 243, 199, 0.14); font-size: 0.82rem; color: rgba(254, 243, 199, 0.6); text-align: center; }
@media (min-width: 800px) { .site-footer__grid { grid-template-columns: 1.4fr 1fr 1.2fr; gap: 3rem; } }

/* === 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: 12px; box-shadow: 0 20px 40px -15px rgba(0,0,0,0.4); max-width: 640px; margin-inline: auto; }
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 1rem; font-size: 0.92rem; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.cookie-banner button { font: inherit; padding: 0.55rem 1rem; border-radius: 999px; border: 1px solid rgba(254, 243, 199, 0.35); background: transparent; color: var(--color-neutral-light); cursor: pointer; font-size: 0.88rem; }
.cookie-banner [data-cookie-accept] { background: var(--color-accent); color: var(--color-neutral-dark); border-color: var(--color-accent); font-weight: 500; }
.cookie-banner__prefs { margin-top: 1rem; display: flex; flex-direction: column; gap: 0.5rem; font-size: 0.9rem; }
.cookie-banner__prefs label { display: flex; align-items: center; gap: 0.5rem; }
.cookie-banner__prefs button { margin-top: 0.75rem; align-self: flex-start; }
