:root {
  --color-primary: #1E3A8A;
  --color-secondary: #1E40AF;
  --color-accent: #B45309;
  --color-neutral-dark: #0F172A;
  --color-neutral-light: #F8FAFC;
  --color-muted: #475569;
  --color-border: rgba(15, 23, 42, 0.12);
  --font-heading: 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;
  --radius: 10px;
  --shadow-sm: 0 4px 16px -8px rgba(15, 23, 42, 0.18);
  --shadow-lg: 0 30px 60px -30px rgba(15, 23, 42, 0.35);
}

/* === Reset & base === */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-neutral-dark);
  background: var(--color-neutral-light);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 {
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.2;
  color: var(--color-neutral-dark);
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); margin: 0 0 1rem; }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); margin: 0 0 1rem; }
h3 { font-size: 1.2rem; margin: 0 0 0.5rem; }
p { margin: 0 0 1rem; }
a { color: var(--color-secondary); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }

.eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-accent);
  margin: 0 0 1rem;
}

/* === Header === */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  background: var(--color-neutral-light);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 100;
}
.logo img {
  height: 72px;
  width: auto;
  display: block;
}
.logo--footer img { height: 56px; }
.nav-toggle {
  background: transparent;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  padding: 0.5rem;
  color: var(--color-neutral-dark);
  cursor: pointer;
}
.primary-nav {
  display: none;
  flex-direction: column;
  gap: 0.5rem;
  width: 100%;
  padding: 1rem 0 0;
}
.primary-nav.is-open { display: flex; }
.primary-nav a {
  color: var(--color-neutral-dark);
  font-weight: 500;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--color-border);
}
.primary-nav a[aria-current="page"] { color: var(--color-primary); }

@media (min-width: 768px) {
  .site-header { padding: 1.25rem 2.5rem; }
  .logo img { height: 96px; }
  .logo--footer img { height: 72px; }
  .nav-toggle { display: none; }
  .primary-nav {
    display: flex;
    flex-direction: row;
    gap: 2rem;
    width: auto;
    padding: 0;
  }
  .primary-nav a { border-bottom: none; padding: 0; }
  .primary-nav a:hover { color: var(--color-primary); text-decoration: none; }
}

/* === Hero fullscreen === */
.hero-fullscreen {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: var(--color-neutral-light);
}
.hero-fullscreen--short { min-height: 70vh; }
.hero-fullscreen__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero-fullscreen__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(15, 23, 42, 0.55), rgba(15, 23, 42, 0.75));
  z-index: 1;
}
.hero-fullscreen__content {
  position: relative;
  z-index: 2;
  max-width: 780px;
  padding: 3rem 1.5rem;
  text-align: center;
}
.hero-fullscreen__content .eyebrow { color: #FBBF77; }
.hero-fullscreen__content h1 {
  color: var(--color-neutral-light);
  font-weight: 700;
}
.hero-sub {
  font-size: 1.125rem;
  color: rgba(248, 250, 252, 0.88);
  max-width: 56ch;
  margin: 0 auto 2rem;
}
.hero-sub--dark { color: var(--color-muted); }

/* === Buttons === */
.btn {
  display: inline-block;
  padding: 0.875rem 1.75rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-family: var(--font-heading);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  font-size: 1rem;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.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-light); }
.btn--accent:hover { background: #92400e; }

/* === Sections === */
.section {
  padding: 4rem 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}
.section--narrow { max-width: 780px; }
.section--alt { background: #EEF2F9; max-width: none; }
.section--alt > * { max-width: 1200px; margin-left: auto; margin-right: auto; }
.section--top { padding-top: 5rem; }
.section__header { text-align: center; margin-bottom: 3rem; max-width: 640px; margin-left: auto; margin-right: auto; }
.section__header p { color: var(--color-muted); font-size: 1.05rem; }

@media (min-width: 768px) {
  .section { padding: 6rem 2.5rem; }
}

.intro-block { max-width: 65ch; margin: 0 auto; }
.intro-block--center { text-align: center; }
.intro-block p { color: var(--color-muted); font-size: 1.075rem; }
.intro-figure {
  margin: 2rem 0 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.intro-figure img { aspect-ratio: 16/9; object-fit: cover; width: 100%; }

/* === Grid & cards === */
.grid { display: grid; gap: 1.5rem; }
.grid--2 { grid-template-columns: 1fr; }
.grid--3 { grid-template-columns: 1fr; }
@media (min-width: 640px) {
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
}
.card {
  background: var(--color-neutral-light);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.card__icon { color: var(--color-primary); margin-bottom: 1rem; }
.card p { color: var(--color-muted); margin-bottom: 0; }
.card-link {
  display: block;
  color: inherit;
  text-decoration: none;
}
.card-link:hover { text-decoration: none; }
.card-link h3 { color: var(--color-neutral-dark); }
.card__more {
  display: inline-block;
  margin-top: 1rem;
  color: var(--color-primary);
  font-weight: 600;
  font-size: 0.95rem;
}

/* === Testimonial === */
.testimonial-section { text-align: center; }
.testimonial {
  max-width: 720px;
  margin: 0 auto;
  padding: 2rem 1rem;
  border-left: 3px solid var(--color-accent);
  text-align: left;
}
.testimonial p {
  font-size: 1.25rem;
  line-height: 1.5;
  color: var(--color-neutral-dark);
  font-style: italic;
  margin-bottom: 1rem;
}
.testimonial cite {
  font-style: normal;
  color: var(--color-muted);
  font-size: 0.95rem;
  font-weight: 500;
}

/* === CTA band === */
.cta-band {
  background: var(--color-primary);
  color: var(--color-neutral-light);
  padding: 4rem 1.5rem;
  text-align: center;
}
.cta-band__inner { max-width: 680px; margin: 0 auto; }
.cta-band h2 { color: var(--color-neutral-light); }
.cta-band p { color: rgba(248, 250, 252, 0.85); margin-bottom: 2rem; font-size: 1.1rem; }

/* === Form === */
.contact-form {
  background: var(--color-neutral-light);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}
.contact-form h2 { margin-bottom: 1.5rem; }
.form-row { margin-bottom: 1.25rem; display: flex; flex-direction: column; gap: 0.4rem; }
.form-row label { font-weight: 500; font-size: 0.95rem; }
.form-row input,
.form-row textarea {
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  font-family: inherit;
  font-size: 1rem;
  background: #fff;
  color: var(--color-neutral-dark);
}
.form-row input:focus,
.form-row textarea:focus {
  outline: 2px solid var(--color-primary);
  outline-offset: 1px;
  border-color: var(--color-primary);
}
.form-consent {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  font-size: 0.9rem;
  color: var(--color-muted);
  margin: 1rem 0 1.5rem;
  line-height: 1.4;
}
.form-consent input { margin-top: 3px; flex-shrink: 0; }

/* === Article === */
.article {
  max-width: 65ch;
  margin: 0 auto;
  padding: 3rem 1.25rem 4rem;
}
.article__header { margin-bottom: 1.5rem; }
.article__header h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
  margin-bottom: 1.25rem;
}
.article__sub {
  font-size: 1.2rem;
  color: var(--color-muted);
  line-height: 1.5;
}
.article__hero {
  margin: 2rem 0;
  border-radius: var(--radius);
  overflow: hidden;
}
.article__hero img { aspect-ratio: 16/9; object-fit: cover; width: 100%; }
.article h2 {
  font-size: 1.5rem;
  margin: 2.5rem 0 1rem;
}
.article p {
  font-size: 1.075rem;
  line-height: 1.75;
  color: var(--color-neutral-dark);
  margin-bottom: 1.25rem;
}
.article__footer {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--color-border);
}
.back-link {
  color: var(--color-primary);
  font-weight: 600;
}

/* === Footer === */
.site-footer {
  background: var(--color-neutral-dark);
  color: rgba(248, 250, 252, 0.85);
  padding: 3.5rem 1.5rem 2rem;
}
.site-footer__grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
  max-width: 1200px;
  margin: 0 auto;
}
.site-footer a { color: var(--color-neutral-light); }
.site-footer h3 {
  color: var(--color-neutral-light);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}
.footer-tagline { color: rgba(248, 250, 252, 0.7); margin-top: 0.75rem; }
.footer-nav { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-contact p { margin-bottom: 0.5rem; }
.footer-legal { margin-top: 1.25rem; font-size: 0.9rem; }
.site-footer__copy {
  max-width: 1200px;
  margin: 2.5rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(248, 250, 252, 0.15);
  font-size: 0.9rem;
  color: rgba(248, 250, 252, 0.6);
}
@media (min-width: 768px) {
  .site-footer__grid { grid-template-columns: 1.2fr 1fr 1.3fr; 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);
  box-shadow: var(--shadow-lg);
  max-width: 640px;
  margin: 0 auto;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { color: rgba(248, 250, 252, 0.9); margin-bottom: 1rem; font-size: 0.95rem; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.cookie-banner button {
  padding: 0.55rem 1rem;
  border-radius: 6px;
  border: 1px solid rgba(248, 250, 252, 0.2);
  background: transparent;
  color: var(--color-neutral-light);
  font-family: inherit;
  font-size: 0.9rem;
  cursor: pointer;
}
.cookie-banner button[data-cookie-accept] {
  background: var(--color-accent);
  border-color: var(--color-accent);
}
.cookie-banner button:hover { opacity: 0.9; }
.cookie-banner__prefs {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(248, 250, 252, 0.15);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.cookie-banner__prefs label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
}
.cookie-banner__prefs [data-cookie-save] {
  margin-top: 0.5rem;
  align-self: flex-start;
  background: var(--color-primary);
  border-color: var(--color-primary);
}
