/* === Tokens === */
:root {
  --color-primary: #18181B;
  --color-secondary: #27272A;
  --color-accent: #F8FAFC;
  --color-neutral-dark: #09090B;
  --color-neutral-light: #FAFAFA;
  --color-border: rgba(9,9,11,0.12);
  --color-muted: #52525B;
  --font-heading: 'Lora', Georgia, serif;
  --font-body: 'Source Sans 3', system-ui, sans-serif;
  --sidebar-w: 240px;
  --content-max: 780px;
}

/* === Base === */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--color-secondary);
  background: var(--color-neutral-light);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: var(--font-heading); color: var(--color-primary); font-weight: 600; line-height: 1.2; letter-spacing: -0.005em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.25rem); margin: 0 0 1.25rem; }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin: 0 0 1rem; }
h3 { font-size: 1.2rem; margin: 0 0 0.6rem; }
p { margin: 0 0 1.15rem; }
a { color: var(--color-primary); text-decoration: underline; text-underline-offset: 3px; }
a:hover { color: var(--color-secondary); }
img { max-width: 100%; height: auto; display: block; }
address { font-style: normal; line-height: 1.7; }

/* === Layout === */
.layout { display: block; }
.sidebar {
  background: var(--color-neutral-dark);
  color: var(--color-neutral-light);
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  position: sticky; top: 0; z-index: 40;
}
.sidebar .logo img { height: 56px; width: auto; filter: invert(1) brightness(1.4); }
.sidebar-nav { flex-basis: 100%; display: none; }
.sidebar-nav.is-open { display: block; }
.sidebar-nav ul { list-style: none; padding: 0; margin: 0.5rem 0 0; display: flex; flex-direction: column; gap: 0.25rem; }
.sidebar-nav a { color: var(--color-neutral-light); text-decoration: none; display: block; padding: 0.6rem 0.25rem; border-bottom: 1px solid rgba(255,255,255,0.08); font-size: 0.95rem; letter-spacing: 0.02em; }
.sidebar-nav a.is-active, .sidebar-nav a:hover { color: #fff; border-color: rgba(255,255,255,0.35); }
.sidebar-foot { display: none; font-size: 0.8rem; color: rgba(250,250,250,0.55); margin: 0; }
.nav-toggle { background: transparent; color: var(--color-neutral-light); border: 1px solid rgba(255,255,255,0.25); border-radius: 6px; padding: 0.4rem 0.55rem; cursor: pointer; }

.main-wrap { display: flex; flex-direction: column; min-height: 100vh; }
main { padding: 2rem 1.25rem 3rem; max-width: var(--content-max); margin: 0 auto; width: 100%; }

/* === Hero === */
.hero { padding: 1rem 0 2.5rem; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.78rem; color: var(--color-muted); margin: 0 0 0.75rem; font-weight: 600; }
.hero .sub { font-size: 1.15rem; color: var(--color-secondary); max-width: 58ch; margin-bottom: 1.5rem; }
.hero-img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 8px; margin-top: 2rem; background: #eee; }

/* === Section === */
.section { padding: 2.25rem 0; border-top: 1px solid var(--color-border); }
.section-head { margin-bottom: 1.75rem; }
.section-head .lede { color: var(--color-muted); max-width: 60ch; margin: 0; }

/* === Buttons === */
.btn { display: inline-block; background: var(--color-primary); color: var(--color-neutral-light); padding: 0.75rem 1.4rem; border-radius: 4px; text-decoration: none; font-weight: 600; font-size: 0.95rem; letter-spacing: 0.02em; border: 1px solid var(--color-primary); transition: background 0.15s ease; }
.btn:hover { background: var(--color-secondary); color: #fff; }
.btn-ghost { background: transparent; color: var(--color-neutral-light); border-color: rgba(255,255,255,0.5); }
.btn-ghost:hover { background: rgba(255,255,255,0.1); color: #fff; }

/* === Grid === */
.grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
.card { background: #fff; border: 1px solid var(--color-border); border-radius: 8px; padding: 1.5rem; transition: transform 0.15s ease, box-shadow 0.15s ease; }
.card .icon { color: var(--color-primary); margin-bottom: 0.75rem; }
.card p { margin-bottom: 0; color: var(--color-secondary); }
a.card-link { display: block; text-decoration: none; color: inherit; }
a.card-link:hover { transform: translateY(-2px); box-shadow: 0 12px 32px -20px rgba(0,0,0,0.35); }

/* === Testimonial === */
.testimonial blockquote { margin: 0; padding: 2rem 1rem; text-align: center; max-width: 60ch; margin-inline: auto; }
.testimonial p { font-family: var(--font-heading); font-size: 1.35rem; line-height: 1.5; color: var(--color-primary); font-style: italic; }
.testimonial cite { display: block; margin-top: 1rem; font-style: normal; font-size: 0.9rem; color: var(--color-muted); letter-spacing: 0.05em; text-transform: uppercase; }

/* === CTA band === */
.cta-band { background: var(--color-primary); color: var(--color-neutral-light); padding: 2.75rem 1.5rem; text-align: center; border-radius: 8px; margin: 2.5rem 0; }
.cta-band h2 { color: var(--color-neutral-light); }
.cta-band p { color: rgba(250,250,250,0.8); margin-bottom: 1.25rem; }
.cta-band .contact-line { font-size: 0.95rem; }
.cta-band a { color: var(--color-neutral-light); }

/* === Article === */
.article { max-width: 65ch; margin-inline: auto; }
.article-head { margin-bottom: 1.5rem; }
.article-sub { font-size: 1.2rem; color: var(--color-muted); margin-top: -0.5rem; }
.article-img { aspect-ratio: 16 / 9; object-fit: cover; margin-block: 2rem; border-radius: 8px; }
.article p { font-size: 1.08rem; line-height: 1.75; margin-block: 1.15rem; }
.article-foot { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--color-border); }
.back-link { text-decoration: none; color: var(--color-primary); font-weight: 600; }
.back-link:hover { text-decoration: underline; }

/* === Contact form === */
.contact-form { display: grid; gap: 1rem; max-width: 560px; }
.field { display: flex; flex-direction: column; gap: 0.35rem; }
.field label { font-size: 0.9rem; font-weight: 600; color: var(--color-secondary); }
.field input, .field textarea { font: inherit; padding: 0.7rem 0.85rem; 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-primary); outline-offset: 1px; }
.form-consent { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.9rem; color: var(--color-muted); line-height: 1.5; }
.form-consent input { margin-top: 0.2rem; }

/* === Footer === */
.site-footer { background: var(--color-neutral-dark); color: rgba(250,250,250,0.75); padding: 3rem 1.5rem 1.5rem; margin-top: auto; display: grid; gap: 2rem; grid-template-columns: 1fr; }
.site-footer h3 { color: var(--color-neutral-light); font-size: 1rem; margin-bottom: 0.75rem; }
.site-footer a { color: rgba(250,250,250,0.85); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.4rem; }
.legal-links { margin-top: 1rem; font-size: 0.9rem; }
.foot-col .logo-foot img { height: 48px; width: auto; filter: invert(1) brightness(1.4); margin-bottom: 0.75rem; }
.copy { grid-column: 1 / -1; font-size: 0.8rem; color: rgba(250,250,250,0.5); text-align: center; margin: 1rem 0 0; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.08); }

/* === 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 -15px rgba(0,0,0,0.5); max-width: 640px; margin-inline: auto; font-size: 0.92rem; }
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 0.9rem; color: rgba(250,250,250,0.85); }
.cookie-banner__actions { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.cookie-banner button { font: inherit; padding: 0.55rem 1rem; border-radius: 4px; border: 1px solid rgba(255,255,255,0.25); background: transparent; color: var(--color-neutral-light); cursor: pointer; }
.cookie-banner [data-cookie-accept] { background: var(--color-accent); color: var(--color-neutral-dark); border-color: var(--color-accent); font-weight: 600; }
.cookie-banner__prefs { margin-top: 1rem; display: flex; flex-direction: column; gap: 0.5rem; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,0.15); }
.cookie-banner__prefs label { display: flex; align-items: center; gap: 0.5rem; }

/* === Responsive === */
@media (min-width: 640px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 900px) {
  body { font-size: 18px; }
  .layout { display: grid; grid-template-columns: var(--sidebar-w) 1fr; 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; gap: 1.5rem; }
  .sidebar .logo img { height: 72px; }
  .sidebar-nav { display: block !important; flex-basis: auto; width: 100%; }
  .sidebar-nav ul { flex-direction: column; gap: 0.1rem; }
  .sidebar-nav a { padding: 0.7rem 0; border-bottom: 1px solid rgba(255,255,255,0.06); }
  .sidebar-foot { display: block; margin-top: auto; }
  .nav-toggle { display: none; }
  main { padding: 3.5rem 3rem; }
  .hero { padding: 1.5rem 0 3rem; }
  .site-footer { grid-template-columns: 2fr 1fr 1.5fr; padding: 3.5rem 3rem 2rem; }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 1200px) {
  main { padding: 4rem 4rem; }
}

.disclaimer-bar { position: relative; z-index: 1000; background: #fdf7e8; border-bottom: 2px solid #c9a227; color: #4a4335; padding: 0.875rem 1.5rem; }
.disclaimer-bar p { max-width: 68rem; margin: 0 auto; font-size: 0.8125rem; line-height: 1.6; text-align: center; }
.disclaimer-bar strong { text-transform: uppercase; letter-spacing: 0.04em; }
.disclaimer-bar__icon { font-size: 1rem; }
