:root {
  --color-primary: #64748B;
  --color-secondary: #94A3B8;
  --color-accent: #F97316;
  --color-neutral-dark: #334155;
  --color-neutral-light: #F8FAFC;
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Source Sans 3', sans-serif;
  --radius: 12px;
  --shadow-sm: 0 1px 2px rgba(51, 65, 85, 0.06), 0 1px 3px rgba(51, 65, 85, 0.05);
  --shadow-md: 0 8px 24px -12px rgba(51, 65, 85, 0.20);
}

/* === Base === */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--color-neutral-dark);
  background: var(--color-neutral-light);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-neutral-dark); text-decoration: underline; text-underline-offset: 3px; }
a:hover { color: var(--color-accent); }
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--color-neutral-dark);
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 0 0 0.75rem 0;
}
h1 { font-size: clamp(2.1rem, 4.5vw, 3.4rem); font-weight: 600; }
h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); font-weight: 600; }
h3 { font-size: 1.15rem; font-weight: 600; }
p { margin: 0 0 1rem 0; }

/* === Layout: sidebar + main === */
.layout { display: block; }
.sidebar {
  background: var(--color-neutral-dark);
  color: var(--color-neutral-light);
  padding: 1.25rem 1.5rem;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.sidebar__header { display: flex; align-items: center; }
.logo { display: inline-block; text-decoration: none; }
.logo img { height: 72px; width: auto; display: block; }
.sidebar__nav {
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  margin-top: 0.5rem;
}
.sidebar__nav.is-open { display: flex; }
.sidebar__nav a {
  color: var(--color-neutral-light);
  text-decoration: none;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  padding: 0.55rem 0.25rem;
  border-bottom: 1px solid rgba(248, 250, 252, 0.08);
}
.sidebar__nav a:hover,
.sidebar__nav a.is-active { color: var(--color-accent); }
.sidebar__foot {
  display: none;
  margin: auto 0 0 0;
  font-size: 0.8rem;
  color: var(--color-secondary);
}
.nav-toggle {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: transparent;
  border: 1px solid rgba(248, 250, 252, 0.2);
  color: var(--color-neutral-light);
  padding: 0.4rem;
  border-radius: 6px;
  cursor: pointer;
  display: inline-flex;
}
.main { padding: 0; }

/* === Hero === */
.hero {
  padding: 3rem 1.25rem 2rem;
  max-width: 900px;
}
.eyebrow {
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  color: var(--color-accent);
  font-weight: 600;
  margin-bottom: 0.75rem;
}
.hero h1 { max-width: 22ch; margin-bottom: 1rem; }
.hero .lede {
  font-size: 1.15rem;
  color: var(--color-primary);
  max-width: 55ch;
  margin-bottom: 1.5rem;
}
.hero__img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: var(--radius);
  margin-top: 2rem;
  box-shadow: var(--shadow-md);
}

/* === Buttons === */
.btn {
  display: inline-block;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  text-decoration: none;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  border: none;
  cursor: pointer;
}
.btn--primary {
  background: var(--color-accent);
  color: var(--color-neutral-light);
}
.btn--primary:hover {
  background: #ea6a0a;
  color: var(--color-neutral-light);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn--light {
  background: var(--color-neutral-light);
  color: var(--color-neutral-dark);
}
.btn--light:hover {
  background: #fff;
  color: var(--color-neutral-dark);
}

/* === Sections === */
.section {
  padding: 3rem 1.25rem;
  max-width: 1100px;
}
.section--narrow { max-width: 760px; }
.section--muted { background: #EEF2F6; max-width: none; }
.section--muted > * { max-width: 760px; }
.section__sub {
  color: var(--color-primary);
  font-size: 1.05rem;
  margin-bottom: 1.75rem;
}

/* === Grid & Cards === */
.grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
.card {
  background: #fff;
  border: 1px solid rgba(51, 65, 85, 0.08);
  border-radius: var(--radius);
  padding: 1.6rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.card h3 { margin-top: 0.5rem; }
.card p { color: var(--color-primary); margin-bottom: 0; }
.card-link { text-decoration: none; color: inherit; display: block; }
.card-link:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  color: inherit;
}
.icon { color: var(--color-accent); }

/* === Quote === */
.quote {
  margin: 1rem 0;
  padding: 1.75rem 1.5rem;
  background: #fff;
  border-left: 3px solid var(--color-accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  box-shadow: var(--shadow-sm);
}
.quote p {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 1.15rem;
  line-height: 1.5;
  color: var(--color-neutral-dark);
}
.quote cite {
  display: block;
  margin-top: 0.75rem;
  font-style: normal;
  font-size: 0.9rem;
  color: var(--color-primary);
}

/* === CTA band === */
.cta-band {
  background: var(--color-neutral-dark);
  color: var(--color-neutral-light);
  padding: 3rem 1.25rem;
}
.cta-band > div { max-width: 760px; }
.cta-band h2 { color: var(--color-neutral-light); }
.cta-band p { color: rgba(248, 250, 252, 0.8); }
.cta-band a:not(.btn) { color: var(--color-accent); }

/* === Contact form === */
.contact-form { display: flex; flex-direction: column; gap: 1rem; }
.form-row { display: flex; flex-direction: column; gap: 0.35rem; }
.form-row label {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--color-neutral-dark);
}
.form-row input,
.form-row textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.7rem 0.85rem;
  border: 1px solid rgba(51, 65, 85, 0.2);
  border-radius: 8px;
  background: #fff;
  color: var(--color-neutral-dark);
}
.form-row input:focus,
.form-row textarea:focus {
  outline: 2px solid var(--color-accent);
  outline-offset: 1px;
  border-color: var(--color-accent);
}
.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--color-primary);
  line-height: 1.5;
}
.form-consent input { margin-top: 0.25rem; }
.contact-form .btn { align-self: flex-start; }

/* === Footer === */
.site-footer {
  background: var(--color-neutral-dark);
  color: rgba(248, 250, 252, 0.85);
  padding: 3rem 1.25rem 1.5rem;
  margin-top: 3rem;
}
.site-footer a { color: rgba(248, 250, 252, 0.85); text-decoration: none; }
.site-footer a:hover { color: var(--color-accent); }
.site-footer__grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
  max-width: 1100px;
  margin: 0 auto 2rem;
}
.footer-brand {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--color-neutral-light);
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}
.site-footer nav ul,
.footer-legal { list-style: none; padding: 0; margin: 0; }
.site-footer nav li { margin: 0.35rem 0; }
.footer-legal { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 0.75rem; font-size: 0.9rem; }
.site-footer__copy {
  text-align: center;
  font-size: 0.85rem;
  color: var(--color-secondary);
  border-top: 1px solid rgba(248, 250, 252, 0.08);
  padding-top: 1rem;
  margin: 0;
}

/* === 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);
  box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.5);
  max-width: 640px;
  margin: 0 auto;
  font-size: 0.92rem;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 0.9rem 0; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.cookie-banner__actions button {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(248, 250, 252, 0.25);
  background: transparent;
  color: var(--color-neutral-light);
  cursor: pointer;
}
.cookie-banner__actions button[data-cookie-accept] {
  background: var(--color-accent);
  border-color: var(--color-accent);
}
.cookie-banner__prefs {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  border-top: 1px solid rgba(248, 250, 252, 0.12);
  padding-top: 1rem;
}
.cookie-banner__prefs label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
}
.cookie-banner__prefs button {
  align-self: flex-start;
  margin-top: 0.5rem;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  background: var(--color-accent);
  color: var(--color-neutral-light);
  border: none;
  cursor: pointer;
}

/* === Desktop layout === */
@media (min-width: 900px) {
  .layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    min-height: 100vh;
  }
  .sidebar {
    position: sticky;
    top: 0;
    height: 100vh;
    padding: 2rem 1.5rem;
    gap: 1.5rem;
  }
  .sidebar__nav { display: flex; }
  .sidebar__foot { display: block; }
  .nav-toggle { display: none; }
  .logo img { height: 96px; }
  .main { padding: 0 2rem; }
  .hero { padding: 5rem 0 3rem; }
  .section { padding: 4rem 0; }
  .cta-band { padding: 4rem 2rem; margin: 0 -2rem; }
  .site-footer { margin: 3rem -2rem 0; padding: 4rem 2rem 1.5rem; }
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .site-footer__grid { grid-template-columns: 1.2fr 1fr 1.2fr; }
}

@media (min-width: 1200px) {
  .layout { grid-template-columns: 280px 1fr; }
}
