/* === Tokens === */
:root {
  --color-primary: #0F172A;
  --color-secondary: #1E3A8A;
  --color-accent: #CA8A04;
  --color-neutral-dark: #020617;
  --color-neutral-light: #F8FAFC;
  --color-border: rgba(2, 6, 23, 0.12);
  --color-muted: rgba(15, 23, 42, 0.68);
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --radius: 8px;
  --radius-lg: 12px;
}

/* === Reset === */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--color-primary);
  background: var(--color-neutral-light);
}
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; line-height: 1.2; color: var(--color-neutral-dark); margin: 0 0 0.75rem; letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.25rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1rem; }

/* === Layout (sidebar) === */
.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;
}
.sidebar-nav {
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  width: 100%;
  padding-top: 1rem;
}
.sidebar-nav.is-open { display: flex; }
.sidebar-nav a {
  color: var(--color-neutral-light);
  padding: 0.6rem 0;
  font-size: 0.98rem;
  border-bottom: 1px solid rgba(248, 250, 252, 0.08);
}
.sidebar-nav a[aria-current="page"] { color: var(--color-accent); font-weight: 600; }
.sidebar-nav a:hover { text-decoration: none; color: var(--color-accent); }
.sidebar-footer { display: none; font-size: 0.8rem; color: rgba(248,250,252,0.55); margin: 0; }
.nav-toggle {
  background: transparent;
  color: var(--color-neutral-light);
  border: 1px solid rgba(248,250,252,0.2);
  padding: 0.4rem 0.75rem;
  border-radius: 6px;
  font-size: 1.1rem;
  cursor: pointer;
}
.logo img { height: 72px; width: auto; display: block; }
.main { padding: 0; }

@media (min-width: 900px) {
  .layout { display: grid; grid-template-columns: 240px 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.75rem;
    gap: 2rem;
  }
  .sidebar-nav { display: flex !important; flex-direction: column; padding-top: 0; width: 100%; gap: 0.15rem; }
  .sidebar-nav a { border-bottom: none; padding: 0.5rem 0; }
  .sidebar-footer { display: block; margin-top: auto; }
  .nav-toggle { display: none; }
  .logo img { height: 96px; }
  .main { padding: 0; }
}

/* === Hero === */
.hero {
  padding: 3rem 1.25rem 2rem;
  max-width: 900px;
}
.hero .eyebrow { font-family: var(--font-body); text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.78rem; color: var(--color-secondary); font-weight: 600; margin-bottom: 0.75rem; }
.hero h1 { margin-bottom: 1rem; }
.hero .lede { font-size: 1.15rem; color: var(--color-muted); max-width: 56ch; margin-bottom: 1.5rem; }
.hero-img { margin-top: 2rem; width: 100%; border-radius: var(--radius-lg); aspect-ratio: 16 / 9; object-fit: cover; }

@media (min-width: 900px) {
  .hero { padding: 4.5rem 3rem 3rem; }
}

/* === Sections === */
.section { padding: 2.5rem 1.25rem; max-width: 1100px; }
.section.narrow { max-width: 720px; }
.section .section-sub { color: var(--color-muted); max-width: 60ch; margin-bottom: 2rem; }

@media (min-width: 900px) {
  .section { padding: 3.5rem 3rem; }
}

/* === Eyebrow / small utility === */
.eyebrow { font-family: var(--font-body); text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.78rem; color: var(--color-secondary); font-weight: 600; margin: 0 0 0.75rem; }

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

/* === Cards === */
.card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.card svg { color: var(--color-accent); margin-bottom: 0.75rem; }
.card h3 { margin-bottom: 0.5rem; }
.card p { margin: 0; color: var(--color-muted); font-size: 0.98rem; }
.card-link { display: block; color: inherit; }
.card-link:hover { text-decoration: none; transform: translateY(-2px); box-shadow: 0 12px 32px -18px rgba(2,6,23,0.35); }

/* === Testimonial === */
.testimonial blockquote {
  margin: 0 auto;
  max-width: 60ch;
  text-align: center;
  font-family: var(--font-heading);
  font-size: 1.35rem;
  line-height: 1.5;
  color: var(--color-neutral-dark);
}
.testimonial cite { display: block; margin-top: 1rem; font-family: var(--font-body); font-size: 0.95rem; font-style: normal; color: var(--color-muted); }

/* === CTA band === */
.cta-band {
  background: var(--color-primary);
  color: var(--color-neutral-light);
  padding: 3rem 1.5rem;
  text-align: center;
  margin: 2rem 0 0;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(248,250,252,0.85); max-width: 55ch; margin-left: auto; margin-right: auto; }

/* === Buttons === */
.btn {
  display: inline-block;
  padding: 0.85rem 1.5rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  border: none;
  cursor: pointer;
}
.btn-primary { background: var(--color-secondary); color: #fff; }
.btn-primary:hover { background: #1a3178; text-decoration: none; }
.btn-accent { background: var(--color-accent); color: var(--color-neutral-dark); }
.btn-accent:hover { background: #b17a03; text-decoration: none; }

/* === Contact band === */
.contact-band { text-align: center; }
.contact-band p { max-width: 65ch; margin-left: auto; margin-right: auto; }

/* === Contact form === */
.contact-form { display: flex; flex-direction: column; gap: 1rem; max-width: 560px; }
.contact-form label { display: flex; flex-direction: column; gap: 0.4rem; font-size: 0.92rem; font-weight: 500; color: var(--color-neutral-dark); }
.contact-form input,
.contact-form textarea {
  font: inherit;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  background: #fff;
  color: var(--color-neutral-dark);
}
.contact-form input:focus,
.contact-form textarea:focus { outline: 2px solid var(--color-secondary); outline-offset: 1px; }
.form-consent { flex-direction: row !important; align-items: flex-start; gap: 0.6rem; font-size: 0.85rem; font-weight: 400; color: var(--color-muted); }
.form-consent input { margin-top: 0.2rem; }
.form-success { color: var(--color-secondary); font-weight: 600; }

/* === Article === */
.article {
  max-width: 65ch;
  margin: 0 auto;
  padding: 3rem 1.25rem 2rem;
}
.article header { margin-bottom: 1.5rem; }
.article h1 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.15; margin-bottom: 1rem; }
.article .article-sub { font-size: 1.15rem; color: var(--color-muted); margin-bottom: 0; }
.article-hero { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; margin: 2rem 0; border-radius: var(--radius); }
.article h2 { font-size: 1.6rem; margin-top: 2rem; }
.article p { font-size: 1.08rem; line-height: 1.75; margin-block: 1.25rem; }
.back-link { margin-top: 2.5rem; }
.back-link a { color: var(--color-secondary); font-weight: 500; }

/* === Footer === */
.site-footer {
  background: var(--color-neutral-dark);
  color: rgba(248,250,252,0.85);
  padding: 3rem 1.5rem 1.5rem;
  margin-top: 2rem;
}
.footer-cols { display: grid; gap: 2rem; max-width: 1100px; margin: 0 auto; grid-template-columns: 1fr; }
.footer-cols strong { color: #fff; font-size: 1.1rem; display: block; margin-bottom: 0.35rem; }
.footer-cols nav { display: flex; flex-direction: column; gap: 0.4rem; }
.footer-cols a { color: rgba(248,250,252,0.85); }
.footer-cols a:hover { color: var(--color-accent); text-decoration: none; }
.legal-links { margin-top: 0.6rem; font-size: 0.88rem; }
.copy { text-align: center; margin: 2rem 0 0; color: rgba(248,250,252,0.55); font-size: 0.85rem; }
@media (min-width: 800px) {
  .footer-cols { grid-template-columns: 1.4fr 1fr 1.4fr; }
}

/* === 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;
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 60px -20px rgba(0,0,0,0.5);
  max-width: 640px;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 0.85rem; font-size: 0.92rem; line-height: 1.5; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.cookie-banner button {
  font: inherit;
  padding: 0.55rem 1rem;
  border-radius: 6px;
  border: 1px solid rgba(248,250,252,0.25);
  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: 600; }
.cookie-banner__prefs { margin-top: 1rem; display: flex; flex-direction: column; gap: 0.5rem; font-size: 0.88rem; }
.cookie-banner__prefs label { display: flex; align-items: center; gap: 0.5rem; }
.cookie-banner__prefs button { margin-top: 0.5rem; align-self: flex-start; background: var(--color-accent); color: var(--color-neutral-dark); border-color: var(--color-accent); font-weight: 600; }

.site-disclaimer { position: relative; z-index: 1000; background: #f4f6f8; border-bottom: 2px solid #64748b; color: #33404d; padding: 0.875rem 1.5rem; }
.site-disclaimer p { max-width: 68rem; margin: 0 auto; font-size: 0.8125rem; line-height: 1.6; text-align: center; }
.site-disclaimer strong { text-transform: uppercase; letter-spacing: 0.04em; }
.site-disclaimer__icon { font-size: 1rem; }
