:root {
  --color-primary: #0F172A;
  --color-secondary: #334155;
  --color-accent: #CA8A04;
  --color-neutral-dark: #020617;
  --color-neutral-light: #F8FAFC;
  --color-muted: #E2E8F0;
  --color-border: rgba(15, 23, 42, 0.12);
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', system-ui, -apple-system, Segoe UI, sans-serif;
  --radius: 8px;
  --radius-lg: 16px;
  --max: 1160px;
}

/* === Reset === */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-primary);
  background: var(--color-neutral-light);
  line-height: 1.6;
  font-size: 17px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary); text-decoration: underline; text-underline-offset: 3px; }
a:hover { color: var(--color-accent); }
h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--color-primary); font-weight: 600; line-height: 1.2; margin: 0 0 1rem; }
h1 { font-size: clamp(2rem, 5vw, 3.25rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.25rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1rem; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* === Header === */
.site-header {
  border-bottom: 1px solid var(--color-border);
  background: var(--color-neutral-light);
  position: sticky; top: 0; z-index: 50;
}
.site-header__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.logo { display: inline-block; text-decoration: none; }
.logo img { height: 72px; width: auto; display: block; }
.nav-toggle {
  background: transparent; border: 0; padding: .5rem;
  display: inline-flex; flex-direction: column; gap: 5px;
}
.nav-toggle__bar {
  display: block; width: 26px; height: 2px; background: var(--color-primary);
}
.primary-nav { display: none; }
.primary-nav.is-open { display: block; position: absolute; top: 100%; left: 0; right: 0; background: var(--color-neutral-light); border-bottom: 1px solid var(--color-border); }
.primary-nav ul { display: flex; flex-direction: column; padding: 1rem 1.25rem; gap: .25rem; }
.primary-nav a {
  display: block; padding: .6rem .25rem;
  text-decoration: none; color: var(--color-secondary);
  font-weight: 500;
}
.primary-nav a[aria-current="page"] { color: var(--color-primary); border-bottom: 2px solid var(--color-accent); }

@media (min-width: 768px) {
  .logo img { height: 96px; }
  .nav-toggle { display: none; }
  .primary-nav { display: block !important; position: static; border: 0; }
  .primary-nav ul { flex-direction: row; padding: 0; gap: 1.75rem; }
  .primary-nav a { padding: .25rem 0; }
}

/* === Buttons === */
.btn {
  display: inline-block;
  padding: .85rem 1.6rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform .15s ease, background .15s ease, color .15s ease;
  font-size: 1rem;
}
.btn-primary { background: var(--color-primary); color: var(--color-neutral-light); }
.btn-primary:hover { background: var(--color-secondary); color: var(--color-neutral-light); }
.btn-accent { background: var(--color-accent); color: var(--color-neutral-light); }
.btn-accent:hover { background: #a26f03; color: var(--color-neutral-light); }
.btn-ghost { background: transparent; color: var(--color-neutral-light); border-color: rgba(248, 250, 252, 0.35); }
.btn-ghost:hover { background: rgba(248, 250, 252, 0.12); color: var(--color-neutral-light); }
.btn-sm { padding: .5rem .9rem; font-size: .875rem; }

/* === Hero (stacked) === */
.hero { padding: 3rem 1.25rem 4rem; }
.hero__inner { max-width: 780px; margin: 0 auto; }
.eyebrow {
  text-transform: uppercase; letter-spacing: .12em; font-size: .78rem;
  color: var(--color-secondary); margin-bottom: 1rem; font-weight: 600;
}
.hero h1 { margin-bottom: 2rem; }
.hero__figure { margin: 2rem 0; }
.hero__figure img {
  width: 100%; aspect-ratio: 16/9; object-fit: cover;
  border-radius: var(--radius-lg);
}
.hero__sub {
  font-size: 1.15rem; color: var(--color-secondary);
  max-width: 60ch; margin-bottom: 2rem;
}
.hero__cta { margin: 0; }

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

/* === Sections === */
.section {
  padding: 4rem 1.25rem;
  max-width: var(--max);
  margin: 0 auto;
}
.section--narrow { max-width: 780px; }
.section--muted {
  background: var(--color-muted);
  max-width: none;
  padding-left: 1.25rem; padding-right: 1.25rem;
}
.section--muted > .section__head,
.section--muted > .grid { max-width: var(--max); margin-left: auto; margin-right: auto; }
.section__head { text-align: center; max-width: 60ch; margin: 0 auto 2.5rem; }
.section__head p { color: var(--color-secondary); }
.figure-wide { margin: 2rem 0; }
.figure-wide img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: var(--radius-lg); }

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

/* === Grid === */
.grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 640px) {
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
}

/* === Card === */
.card {
  background: var(--color-neutral-light);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-2px); box-shadow: 0 12px 30px -18px rgba(2, 6, 23, 0.35); }
.card .icon {
  width: 32px; height: 32px;
  color: var(--color-accent);
  margin-bottom: 1rem;
}
.card h3 { margin-bottom: .5rem; }
.card p { color: var(--color-secondary); font-size: .97rem; margin: 0; }

/* === Testimonial === */
.testimonial { text-align: center; max-width: 780px; }
.testimonial blockquote {
  margin: 0;
  font-family: var(--font-heading);
  font-style: italic;
  font-size: clamp(1.25rem, 2.2vw, 1.6rem);
  line-height: 1.4;
  color: var(--color-primary);
}
.testimonial cite {
  display: block; margin-top: 1.5rem;
  font-family: var(--font-body);
  font-style: normal; font-size: .95rem;
  color: var(--color-secondary); font-weight: 500;
}

/* === CTA band === */
.cta-band {
  background: var(--color-primary);
  color: var(--color-neutral-light);
  padding: 4rem 1.25rem;
  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(248, 250, 252, 0.85); }

/* === Contact band === */
.contact-band { text-align: center; }
.contact-band__inner { max-width: 640px; margin: 0 auto; }
.contact-band__meta { color: var(--color-secondary); margin-bottom: 2rem; }
.contact-band__meta a { color: var(--color-primary); }

/* === FAQ === */
.faq details {
  border-bottom: 1px solid var(--color-border);
  padding: 1.25rem 0;
}
.faq summary {
  cursor: pointer; font-weight: 600; font-family: var(--font-heading);
  font-size: 1.1rem; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; color: var(--color-accent); font-size: 1.5rem; font-weight: 400;
  transition: transform .2s ease;
}
.faq details[open] summary::after { content: "−"; }
.faq details p { margin-top: 1rem; color: var(--color-secondary); }

/* === Contact form === */
.contact-form { display: flex; flex-direction: column; gap: 1rem; max-width: 620px; }
.contact-form label { display: flex; flex-direction: column; gap: .4rem; font-weight: 500; font-size: .95rem; color: var(--color-secondary); }
.contact-form input, .contact-form textarea {
  font: inherit; padding: .8rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius); background: var(--color-neutral-light);
  color: var(--color-primary);
}
.contact-form input:focus, .contact-form textarea:focus {
  outline: 2px solid var(--color-accent); outline-offset: 1px; border-color: transparent;
}
.form-consent {
  flex-direction: row !important;
  align-items: flex-start; gap: .6rem;
  font-size: .85rem; color: var(--color-secondary);
}
.form-consent input { margin-top: .2rem; }
.contact-form .btn { align-self: flex-start; }

/* === Footer === */
.site-footer {
  background: var(--color-neutral-dark);
  color: rgba(248, 250, 252, 0.75);
  padding: 4rem 1.25rem 2rem;
  margin-top: 2rem;
}
.site-footer__grid {
  max-width: var(--max); margin: 0 auto;
  display: grid; gap: 2.5rem; grid-template-columns: 1fr;
}
.site-footer a { color: rgba(248, 250, 252, 0.85); }
.site-footer a:hover { color: var(--color-accent); }
.logo--footer img { height: 60px; }
.tagline { margin-top: 1rem; color: rgba(248, 250, 252, 0.7); font-size: .95rem; }
.footer-heading {
  font-family: var(--font-heading); font-size: 1rem;
  color: var(--color-neutral-light); margin-bottom: 1rem;
  text-transform: uppercase; letter-spacing: .08em;
}
.site-footer nav ul { display: flex; flex-direction: column; gap: .5rem; }
.site-footer address { font-style: normal; line-height: 1.7; margin-bottom: 1rem; }
.legal-links { display: flex; flex-direction: column; gap: .35rem; font-size: .9rem; }
.copyright {
  max-width: var(--max); margin: 3rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(248, 250, 252, 0.1);
  font-size: .85rem; color: rgba(248, 250, 252, 0.55); text-align: center;
}

@media (min-width: 768px) {
  .site-footer__grid { grid-template-columns: 1.4fr 1fr 1.4fr; 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: var(--radius-lg);
  box-shadow: 0 20px 40px -20px rgba(0,0,0,0.5);
  max-width: 560px;
  margin: 0 auto;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 1rem; font-size: .9rem; color: rgba(248, 250, 252, 0.85); }
.cookie-banner a { color: var(--color-accent); }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.cookie-banner__prefs { margin-top: 1rem; display: flex; flex-direction: column; gap: .5rem; font-size: .9rem; }
.cookie-banner__prefs label { display: flex; align-items: center; gap: .5rem; }
.cookie-banner__prefs .btn { margin-top: .5rem; align-self: flex-start; }
