:root {
  --color-primary: #DC2626;
  --color-secondary: #F87171;
  --color-accent: #CA8A04;
  --color-neutral-dark: #450A0A;
  --color-neutral-light: #FEF2F2;
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;
  --radius: 24px;
  --radius-sm: 12px;
  --shadow: 0 30px 60px -30px rgba(69, 10, 10, 0.35);
  --shadow-sm: 0 10px 30px -20px rgba(69, 10, 10, 0.3);
}

/* === Reset === */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-neutral-dark);
  background: var(--color-neutral-light);
  line-height: 1.6;
  font-size: 16px;
}
img { max-width: 100%; display: block; height: auto; }
a { color: var(--color-primary); }

/* === Layout === */
.container {
  width: 100%;
  max-width: 1120px;
  margin-inline: auto;
  padding-inline: 1.25rem;
}
.container.narrow { max-width: 720px; }

/* === Typography === */
h1, h2, h3 { font-family: var(--font-heading); color: var(--color-neutral-dark); letter-spacing: -0.01em; margin: 0 0 0.75rem; }
h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); font-weight: 600; line-height: 1.1; }
h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 600; line-height: 1.2; }
h3 { font-size: 1.25rem; font-weight: 600; line-height: 1.3; }
p { margin: 0 0 1rem; }
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-primary);
  margin: 0 0 0.5rem;
}
.lede { font-size: 1.125rem; color: rgba(69, 10, 10, 0.75); max-width: 52ch; }

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

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

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

/* === Hero card === */
.hero {
  padding-block: 3rem 4rem;
  background: linear-gradient(140deg, var(--color-secondary) 0%, var(--color-neutral-light) 60%);
}
.hero-card__inner {
  max-width: 880px;
  margin-inline: auto;
  background: var(--color-neutral-light);
  padding: 2.25rem 1.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: left;
}
.hero-card__figure {
  margin: 2rem 0 0;
}
.hero-card__figure img {
  border-radius: var(--radius-sm);
  aspect-ratio: 16 / 9;
  object-fit: cover;
  width: 100%;
}
@media (min-width: 768px) {
  .hero { padding-block: 5rem 6rem; }
  .hero-card__inner { padding: 3.5rem 3rem; }
}

/* === Sections === */
.section { padding-block: 3.5rem; }
.section-intro { text-align: left; }
.section-intro.alt { background: rgba(248, 113, 113, 0.08); }
.section-head { margin-bottom: 2rem; }
.section-head h2 { margin-bottom: 0.5rem; }
.section-head p { color: rgba(69, 10, 10, 0.7); max-width: 60ch; }
@media (min-width: 768px) {
  .section { padding-block: 5rem; }
}

/* === Grids === */
.grid { display: grid; gap: 1.5rem; 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); }
}

/* === Cards === */
.card {
  background: var(--color-neutral-light);
  border: 1px solid rgba(69, 10, 10, 0.08);
  border-radius: var(--radius-sm);
  padding: 1.75rem;
  box-shadow: 0 1px 2px rgba(69, 10, 10, 0.04);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.card h3 { margin-top: 0.5rem; }
.card p { color: rgba(69, 10, 10, 0.78); margin: 0; font-size: 0.98rem; }
.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(220, 38, 38, 0.1);
  color: var(--color-primary);
}
.card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}
.card-link:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
  border-color: rgba(220, 38, 38, 0.25);
}
.card-more {
  display: inline-block;
  margin-top: 1rem;
  color: var(--color-primary);
  font-weight: 600;
  font-size: 0.95rem;
}

/* === Testimonial === */
.testimonial {
  margin: 0;
  text-align: center;
  padding: 2rem 0;
}
.testimonial p {
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  line-height: 1.4;
  color: var(--color-neutral-dark);
  margin-bottom: 1.25rem;
}
.testimonial cite {
  font-style: normal;
  color: var(--color-primary);
  font-weight: 600;
  font-size: 0.95rem;
}

/* === CTA band === */
.cta-band {
  background: var(--color-primary);
  color: var(--color-neutral-light);
  padding-block: 4rem;
  text-align: center;
}
.cta-band h2 { color: var(--color-neutral-light); }
.cta-band p { color: rgba(254, 242, 242, 0.9); }
.cta-band .btn-accent:hover { background: #a37003; }

/* === Contact band === */
.section-contact-band {
  background: rgba(220, 38, 38, 0.06);
  text-align: left;
  border-block: 1px solid rgba(69, 10, 10, 0.08);
}

/* === Form === */
.contact-form { display: grid; gap: 1.1rem; }
.form-row { display: flex; flex-direction: column; gap: 0.4rem; }
.form-row label { font-weight: 600; font-size: 0.95rem; }
.form-row input,
.form-row textarea {
  font: inherit;
  padding: 0.75rem 0.9rem;
  border: 1px solid rgba(69, 10, 10, 0.18);
  border-radius: 10px;
  background: var(--color-neutral-light);
  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: rgba(69, 10, 10, 0.85);
  flex-wrap: wrap;
}
.form-consent input { margin-top: 0.25rem; }

/* === Article detail === */
.article-detail {
  max-width: 65ch;
  margin-inline: auto;
  padding: 3rem 1rem 4rem;
}
.article-detail h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
  margin-bottom: 1.25rem;
}
.article-sub {
  font-size: 1.2rem;
  color: rgba(69, 10, 10, 0.7);
  margin-bottom: 1.5rem;
}
.article-hero {
  margin: 2rem 0;
}
.article-hero img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 8px;
  width: 100%;
}
.article-detail h2 {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}
.article-detail p {
  font-size: 1.1rem;
  line-height: 1.75;
  margin-block: 1.25rem;
}
.back-link {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(69, 10, 10, 0.1);
}
.back-link a {
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 600;
}
.back-link a:hover { text-decoration: underline; }

/* === Footer === */
.site-footer {
  background: var(--color-neutral-dark);
  color: var(--color-neutral-light);
  padding-block: 3rem 1.5rem;
  margin-top: 3rem;
}
.site-footer a { color: var(--color-neutral-light); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(254, 242, 242, 0.12);
}
.footer-brand {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}
.footer-grid nav { display: flex; flex-direction: column; gap: 0.6rem; }
.legal-links { margin-top: 1rem; font-size: 0.9rem; opacity: 0.85; }
.copyright {
  padding-top: 1.5rem;
  font-size: 0.85rem;
  color: rgba(254, 242, 242, 0.7);
  margin: 0;
}
@media (min-width: 768px) {
  .footer-grid { 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 1.5rem;
  border-radius: var(--radius-sm);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
  max-width: 640px;
  margin-inline: auto;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 1rem; font-size: 0.95rem; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.cookie-banner__actions button {
  font: inherit;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(254, 242, 242, 0.3);
  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);
  color: var(--color-neutral-light);
}
.cookie-banner__prefs {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.9rem;
}
.cookie-banner__prefs label { display: flex; gap: 0.5rem; align-items: center; }
.cookie-banner__prefs button {
  align-self: flex-start;
  margin-top: 0.5rem;
  font: inherit;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  border: none;
  background: var(--color-primary);
  color: var(--color-neutral-light);
  cursor: pointer;
}
