:root {
  --color-primary: #0F172A;
  --color-secondary: #1E3A8A;
  --color-accent: #CA8A04;
  --color-neutral-dark: #020617;
  --color-neutral-light: #F8FAFC;
  --color-border: rgba(15, 23, 42, 0.12);
  --color-muted: rgba(15, 23, 42, 0.65);
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', system-ui, -apple-system, Segoe UI, sans-serif;
  --sidebar-w: 240px;
  --max-content: 960px;
}

/* === Reset === */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
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-secondary); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { font-family: var(--font-heading); font-weight: 600; color: var(--color-primary); line-height: 1.2; margin: 0 0 1rem; }
h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1rem; }
button { font: inherit; cursor: pointer; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: -9999px; top: 0; background: var(--color-primary);
  color: var(--color-neutral-light); padding: .75rem 1rem; z-index: 1000;
}
.skip-link:focus { left: 0; }

/* === Shell + Sidebar === */
.shell { display: block; }

.sidebar {
  background: var(--color-primary);
  color: var(--color-neutral-light);
  padding: 1.25rem 1rem;
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.logo { display: inline-flex; align-items: center; }
.logo img { height: 72px; width: auto; }
.sidebar__nav { flex-basis: 100%; display: none; }
.sidebar__nav.is-open { display: block; }
.sidebar__nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .25rem; }
.sidebar__nav a {
  display: block;
  padding: .75rem .5rem;
  color: var(--color-neutral-light);
  border-radius: 6px;
  font-weight: 500;
  letter-spacing: .01em;
}
.sidebar__nav a:hover { background: rgba(255,255,255,0.08); text-decoration: none; }
.sidebar__nav a.is-active { color: var(--color-accent); }
.sidebar__foot { display: none; font-size: .75rem; color: rgba(248,250,252,0.6); margin: 0; }

.nav-toggle {
  background: transparent; border: 0; padding: .5rem; display: inline-flex;
  flex-direction: column; gap: 5px; color: var(--color-neutral-light);
}
.nav-toggle span { display: block; width: 26px; height: 2px; background: currentColor; }

.content { padding: 2rem 1.25rem 0; max-width: 100%; }

@media (min-width: 900px) {
  .shell { display: grid; grid-template-columns: var(--sidebar-w) 1fr; align-items: start; min-height: 100vh; }
  .sidebar {
    position: sticky; top: 0; height: 100vh;
    flex-direction: column; align-items: flex-start; justify-content: flex-start;
    padding: 2rem 1.5rem;
  }
  .logo img { height: 96px; }
  .sidebar__nav { display: block !important; flex-basis: auto; margin-top: 2rem; width: 100%; }
  .sidebar__foot { display: block; margin-top: auto; }
  .nav-toggle { display: none; }
  .content { padding: 3rem 3rem 0; max-width: var(--max-content); margin: 0 auto; }
}

/* === Hero === */
.hero { padding: 1rem 0 2.5rem; max-width: 780px; }
.eyebrow {
  font-family: var(--font-body); font-size: .8rem; text-transform: uppercase;
  letter-spacing: .12em; color: var(--color-secondary); font-weight: 600; margin: 0 0 1rem;
}
.hero h1 { margin-bottom: 1.25rem; }
.hero__sub { font-size: 1.15rem; color: var(--color-muted); max-width: 56ch; }
.hero__cta { margin: 1.5rem 0 2.5rem; }
.hero__figure { margin: 2rem 0 0; }
.hero__figure img { aspect-ratio: 16 / 9; object-fit: cover; border-radius: 8px; width: 100%; }

/* === Buttons === */
.btn {
  display: inline-block; padding: .85rem 1.5rem; border-radius: 4px;
  font-weight: 600; letter-spacing: .01em; text-decoration: none;
  transition: transform .15s ease, box-shadow .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: var(--color-secondary); }
.btn--accent { background: var(--color-accent); color: var(--color-neutral-dark); }
.btn--accent:hover { background: #b47903; color: var(--color-neutral-light); }

/* === Sections === */
.section { padding: 3rem 0; border-top: 1px solid var(--color-border); }
.section--narrow { max-width: 68ch; }
.section__head { margin-bottom: 2rem; max-width: 68ch; }
.section__head h2 { margin-bottom: .5rem; }
.section__head p { color: var(--color-muted); font-size: 1.05rem; }

/* === Grid + Cards === */
.grid { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 700px) { .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } }

.card {
  padding: 1.75rem; border: 1px solid var(--color-border);
  border-radius: 8px; background: #fff;
  transition: box-shadow .2s ease, transform .2s ease;
}
.card:hover { box-shadow: 0 12px 30px -20px rgba(15,23,42,0.35); }
.card__icon { color: var(--color-secondary); margin-bottom: 1rem; }
.card h3 { margin-bottom: .5rem; font-family: var(--font-heading); }
.card p { color: var(--color-muted); font-size: .95rem; margin: 0; }

/* === Testimonial === */
.testimonial { text-align: center; }
.testimonial blockquote {
  margin: 0 auto; max-width: 62ch;
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 2.2vw, 1.6rem);
  line-height: 1.5; color: var(--color-primary);
}
.testimonial blockquote p { margin: 0 0 1rem; }
.testimonial cite {
  display: block; font-family: var(--font-body); font-style: normal;
  font-size: .95rem; color: var(--color-muted); letter-spacing: .02em;
}
.testimonial--with-portrait {
  display: grid; gap: 2rem; align-items: center; text-align: left;
}
.testimonial__portrait img {
  width: 160px; height: 160px; object-fit: cover; border-radius: 50%;
  margin: 0 auto;
}
@media (min-width: 800px) {
  .testimonial--with-portrait { grid-template-columns: 200px 1fr; }
  .testimonial--with-portrait blockquote { margin: 0; }
  .testimonial__portrait img { margin: 0; }
}

/* === FAQ === */
.faq details {
  border-bottom: 1px solid var(--color-border);
  padding: 1.25rem 0;
}
.faq summary {
  cursor: pointer; list-style: none; font-weight: 600;
  font-size: 1.05rem; color: var(--color-primary); position: relative;
  padding-right: 2rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+'; position: absolute; right: 0; top: 0;
  font-size: 1.5rem; color: var(--color-secondary); line-height: 1;
}
.faq details[open] summary::after { content: '−'; }
.faq details p { margin-top: .75rem; color: var(--color-muted); }

/* === CTA band === */
.cta-band {
  margin: 3rem 0 0;
  padding: 3rem 1.5rem;
  background: var(--color-primary);
  color: var(--color-neutral-light);
  border-radius: 8px;
  text-align: center;
}
.cta-band h2, .cta-band p { color: var(--color-neutral-light); }
.cta-band p { color: rgba(248,250,252,0.85); max-width: 60ch; margin-left: auto; margin-right: auto; }
.cta-band--soft { background: var(--color-secondary); }

/* === Contact form === */
.contact-form { display: grid; gap: 1.25rem; max-width: 640px; }
.field { display: grid; gap: .4rem; }
.field label { font-weight: 500; font-size: .95rem; }
.field input, .field textarea {
  font: inherit; padding: .75rem .9rem;
  border: 1px solid var(--color-border); border-radius: 6px;
  background: #fff; color: var(--color-primary);
}
.field input:focus, .field textarea:focus {
  outline: 2px solid var(--color-secondary); outline-offset: 1px;
  border-color: var(--color-secondary);
}
.form-consent {
  display: flex; gap: .6rem; align-items: flex-start;
  font-size: .875rem; color: var(--color-muted); line-height: 1.5;
}
.form-consent input { margin-top: .2rem; flex-shrink: 0; }

/* === Footer === */
.site-footer {
  margin-top: 4rem; padding: 3rem 0 2rem;
  border-top: 1px solid var(--color-border);
}
.site-footer__grid { display: grid; gap: 2rem; grid-template-columns: 1fr; }
.site-footer__brand { font-family: var(--font-heading); font-size: 1.35rem; margin: 0 0 .5rem; color: var(--color-primary); }
.site-footer nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.site-footer nav a { color: var(--color-primary); }
.site-footer address { font-style: normal; color: var(--color-muted); font-size: .95rem; }
.site-footer address p { margin: 0 0 .5rem; }
.site-footer__legal a { color: var(--color-muted); }
.site-footer__copy {
  margin: 2rem 0 0; padding-top: 1.5rem; border-top: 1px solid var(--color-border);
  font-size: .85rem; color: var(--color-muted); text-align: center;
}
@media (min-width: 800px) {
  .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: 8px;
  box-shadow: 0 20px 50px -20px rgba(0,0,0,0.6);
  max-width: 640px; margin-left: auto; margin-right: auto;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 1rem; font-size: .9rem; line-height: 1.5; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.cookie-banner button {
  background: transparent; border: 1px solid rgba(248,250,252,0.35);
  color: var(--color-neutral-light); padding: .55rem 1rem;
  border-radius: 4px; font-size: .85rem; font-weight: 500;
}
.cookie-banner button[data-cookie-accept] {
  background: var(--color-accent); color: var(--color-neutral-dark); border-color: var(--color-accent);
}
.cookie-banner button:hover { opacity: .9; }
.cookie-banner__prefs { margin-top: 1rem; display: grid; gap: .5rem; font-size: .875rem; }
.cookie-banner__prefs label { display: flex; gap: .5rem; align-items: center; }
.cookie-banner__prefs button[data-cookie-save] {
  justify-self: start; margin-top: .5rem;
  background: var(--color-neutral-light); color: var(--color-neutral-dark); border-color: var(--color-neutral-light);
}
