/* === Tokens === */
:root {
  --color-primary: #A04A2E;
  --color-secondary: #F0E0C0;
  --color-accent: #3D5A47;
  --color-neutral-dark: #2A1F18;
  --color-neutral-light: #FBF5E8;
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;
  --radius: 12px;
  --shadow-sm: 0 4px 12px -6px rgba(42, 31, 24, 0.15);
  --shadow-md: 0 20px 40px -20px rgba(42, 31, 24, 0.25);
}

/* === Reset === */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
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);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
  color: var(--color-neutral-dark);
  margin: 0 0 1rem;
}
h1 { font-size: clamp(2.25rem, 5vw, 4rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1rem; }

/* === Layout === */
.container { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: 1.25rem; }
.container.narrow { max-width: 720px; }
.section { padding-block: 4rem; }
.section-alt { background: var(--color-secondary); }
.section-title { text-align: center; margin-bottom: 2.5rem; }
.section-lede { text-align: center; max-width: 60ch; margin: 0 auto 2.5rem; color: rgba(42, 31, 24, 0.75); }

/* === Header === */
.site-header {
  background: var(--color-neutral-light);
  border-bottom: 1px solid rgba(42, 31, 24, 0.08);
  position: sticky; top: 0; z-index: 100;
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding-block: 0.75rem;
  gap: 1rem;
}
.logo { display: inline-flex; align-items: center; }
.logo img { height: 72px; width: auto; display: block; }
.nav-toggle {
  background: none; border: none; color: var(--color-neutral-dark);
  cursor: pointer; padding: 0.5rem;
}
.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-neutral-light); padding: 1rem 1.25rem; border-bottom: 1px solid rgba(42, 31, 24, 0.08); box-shadow: var(--shadow-sm); }
.primary-nav a {
  color: var(--color-neutral-dark); font-weight: 500; padding: 0.5rem 0;
  font-size: 0.95rem;
}
.primary-nav a[aria-current="page"] { color: var(--color-primary); }

/* === Buttons === */
.btn {
  display: inline-block; padding: 0.85rem 1.75rem;
  font-family: var(--font-body); font-weight: 500; font-size: 1rem;
  border-radius: var(--radius); border: 2px solid transparent;
  cursor: pointer; transition: background 0.2s, color 0.2s, transform 0.15s;
  text-decoration: none;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--color-primary); color: var(--color-neutral-light); }
.btn-primary:hover { background: #8a3f28; color: var(--color-neutral-light); }
.btn-accent { background: var(--color-neutral-light); color: var(--color-primary); }
.btn-accent:hover { background: var(--color-secondary); }

/* === Hero === */
.hero { padding-block: 3rem 4rem; text-align: center; }
.hero h1 { max-width: 22ch; margin-inline: auto; }
.hero-sub { max-width: 52ch; margin: 1rem auto 2rem; font-size: 1.15rem; color: rgba(42, 31, 24, 0.75); }
.hero-image { margin: 3rem 0 0; }
.hero-image img { border-radius: var(--radius); box-shadow: var(--shadow-md); width: 100%; aspect-ratio: 16/9; object-fit: cover; }

/* === Grid === */
.grid { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
.card {
  background: var(--color-neutral-light);
  border: 1px solid rgba(42, 31, 24, 0.08);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
}
.card .icon { color: var(--color-primary); margin-bottom: 1rem; }
.card h3 { margin-bottom: 0.5rem; }
.card p { color: rgba(42, 31, 24, 0.8); font-size: 0.98rem; margin: 0; }

/* === Testimonial === */
.testimonial-section { background: var(--color-neutral-light); }
.testimonial { margin: 0; text-align: center; }
.testimonial p {
  font-family: var(--font-heading); font-style: italic;
  font-size: clamp(1.15rem, 2vw, 1.5rem); line-height: 1.5;
  color: var(--color-neutral-dark); margin-bottom: 1.25rem;
}
.testimonial cite { font-style: normal; font-size: 0.95rem; color: var(--color-accent); font-weight: 500; }

/* === CTA Band === */
.cta-band { background: var(--color-primary); color: var(--color-neutral-light); padding-block: 4rem; text-align: center; }
.cta-band h2 { color: var(--color-neutral-light); }
.cta-band p { max-width: 55ch; margin: 0 auto 2rem; color: rgba(251, 245, 232, 0.9); }

/* === FAQ === */
.faq details {
  border-bottom: 1px solid rgba(42, 31, 24, 0.12);
  padding: 1.25rem 0;
}
.faq summary {
  cursor: pointer; font-weight: 600; font-family: var(--font-heading);
  font-size: 1.1rem; list-style: none; position: relative; padding-right: 2rem;
}
.faq summary::after {
  content: "+"; position: absolute; right: 0; top: 0;
  font-size: 1.5rem; color: var(--color-primary); transition: transform 0.2s;
}
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 1rem 0 0; color: rgba(42, 31, 24, 0.8); }

/* === Contact form === */
.contact-form { display: flex; flex-direction: column; gap: 1.25rem; }
.form-row { display: flex; flex-direction: column; gap: 0.5rem; }
.form-row label { font-weight: 500; font-size: 0.95rem; }
.form-row input, .form-row textarea {
  font-family: inherit; font-size: 1rem;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(42, 31, 24, 0.2);
  border-radius: var(--radius);
  background: var(--color-neutral-light);
  color: var(--color-neutral-dark);
}
.form-row input:focus, .form-row textarea:focus {
  outline: 2px solid var(--color-primary); outline-offset: 1px; border-color: var(--color-primary);
}
.form-consent { display: flex; align-items: flex-start; gap: 0.6rem; font-size: 0.9rem; color: rgba(42, 31, 24, 0.85); }
.form-consent input { margin-top: 0.25rem; }
.contact-form .btn { align-self: flex-start; }

/* === Footer === */
.site-footer { background: var(--color-neutral-dark); color: var(--color-neutral-light); padding-block: 3rem 1.5rem; margin-top: 4rem; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
.site-footer .logo img { height: 60px; }
.site-footer h1, .site-footer h2, .site-footer h3, .site-footer p, .site-footer a { color: var(--color-neutral-light); }
.tagline { font-family: var(--font-heading); font-style: italic; opacity: 0.85; margin-top: 0.75rem; }
.footer-nav { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-nav a { color: var(--color-neutral-light); opacity: 0.85; font-size: 0.95rem; }
.footer-nav a:hover { opacity: 1; }
.footer-contact { font-style: normal; font-size: 0.95rem; opacity: 0.9; }
.footer-contact p { margin-bottom: 0.35rem; }
.footer-contact a { color: var(--color-neutral-light); }
.legal-links { margin-top: 1rem; font-size: 0.9rem; }
.legal-links a { color: var(--color-secondary); }
.copyright { border-top: 1px solid rgba(251, 245, 232, 0.15); margin-top: 2.5rem; padding-top: 1.25rem; text-align: center; font-size: 0.85rem; opacity: 0.7; }

/* === 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 20px 50px -10px 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__actions button, .cookie-banner__prefs button {
  font-family: inherit; font-size: 0.9rem;
  padding: 0.55rem 1rem; border-radius: 8px; cursor: pointer; border: 1px solid rgba(251, 245, 232, 0.3);
  background: transparent; color: var(--color-neutral-light);
}
.cookie-banner__actions [data-cookie-accept] { background: var(--color-accent); border-color: var(--color-accent); }
.cookie-banner__actions [data-cookie-accept]:hover { background: #2f4638; }
.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 [data-cookie-save] { align-self: flex-start; margin-top: 0.5rem; background: var(--color-primary); border-color: var(--color-primary); }

/* === Responsive === */
@media (min-width: 640px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 768px) {
  .logo img { height: 96px; }
  .site-footer .logo img { height: 72px; }
  .nav-toggle { display: none; }
  .primary-nav { display: flex !important; flex-direction: row; gap: 1.5rem; position: static; padding: 0; background: none; box-shadow: none; border: none; }
  .footer-grid { grid-template-columns: 1.2fr 1fr 1.3fr; gap: 3rem; }
  .section { padding-block: 6rem; }
  .hero { padding-block: 5rem 6rem; }
}
@media (min-width: 960px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}
