:root {
  --color-primary: #18181B;
  --color-secondary: #3F3F46;
  --color-accent: #2563EB;
  --color-neutral-dark: #09090B;
  --color-neutral-light: #FAFAFA;
  --color-border: rgba(9, 9, 11, 0.10);
  --color-muted: #71717A;
  --font-heading: 'Lora', Georgia, serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --container: 1200px;
  --radius: 12px;
}

/* === Reset === */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--color-primary);
  background: var(--color-neutral-light);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* === Typography === */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--color-neutral-dark);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin: 0 0 1rem;
}
h1 { font-size: clamp(2.25rem, 5vw, 4rem); max-width: 28ch; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1.25rem; }
.lede { color: var(--color-secondary); font-size: 1.125rem; }

/* === Layout helpers === */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 1.25rem; }
.narrow { max-width: 760px; margin-inline: auto; }
.center { text-align: center; }
.center h1, .center h2 { margin-inline: auto; }

/* === Header === */
.site-header {
  background: var(--color-neutral-light);
  border-bottom: 1px solid var(--color-border);
  position: sticky; top: 0; z-index: 100;
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding-block: 1rem; gap: 1rem;
}
.logo { display: inline-flex; align-items: center; }
.logo img { height: 72px; width: auto; }
.primary-nav {
  display: none;
  gap: 1.75rem;
}
.primary-nav a {
  color: var(--color-primary);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
}
.primary-nav a:hover { color: var(--color-accent); }
.primary-nav a[aria-current="page"] { color: var(--color-accent); }

.nav-toggle {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; padding: 10px;
  background: transparent; border: 1px solid var(--color-border); border-radius: 8px;
  cursor: pointer;
}
.nav-toggle span { display: block; height: 2px; background: var(--color-primary); border-radius: 2px; }
.primary-nav.is-open {
  display: flex; flex-direction: column;
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--color-neutral-light);
  padding: 1.5rem 1.25rem;
  border-bottom: 1px solid var(--color-border);
  gap: 1rem;
}

/* === Hero (centered) === */
.hero-centered { padding-block: 4rem 3rem; text-align: center; }
.hero-centered .container { display: flex; flex-direction: column; align-items: center; }
.hero-sub {
  max-width: 48ch; margin-inline: auto;
  color: var(--color-secondary);
  font-size: 1.2rem;
}
.hero-figure {
  margin: 3rem 0 0; width: 100%;
}
.hero-figure img {
  width: 100%; border-radius: var(--radius);
  aspect-ratio: 16/9; object-fit: cover;
}

/* === Buttons === */
.btn {
  display: inline-block;
  padding: 0.85rem 1.75rem;
  border-radius: 8px;
  font-weight: 500;
  font-size: 1rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: var(--font-body);
  transition: transform 0.15s ease, background 0.15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--color-primary); color: var(--color-neutral-light); }
.btn-primary:hover { background: var(--color-neutral-dark); }
.btn-accent { background: var(--color-accent); color: var(--color-neutral-light); }
.btn-accent:hover { background: #1D4ED8; }

/* === Sections === */
.section { padding-block: 4rem; }
.section-alt { background: #F4F4F5; }
.section-head { text-align: center; margin-bottom: 3rem; }
.section-head .lede { max-width: 60ch; margin-inline: auto; }
.section-figure { margin-top: 2.5rem; }
.section-figure img { border-radius: var(--radius); aspect-ratio: 16/9; object-fit: cover; }

/* === Grid cards === */
.grid { display: grid; gap: 1.5rem; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr; }
.card {
  background: var(--color-neutral-light);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.75rem;
}
.card h3 { margin-bottom: 0.75rem; }
.card p { margin: 0; color: var(--color-secondary); font-size: 0.98rem; }

/* === Testimonial === */
.testimonial-section { background: #F4F4F5; }
.testimonial {
  margin: 0; padding: 0; max-width: 720px; margin-inline: auto;
}
.testimonial p {
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 2.4vw, 1.65rem);
  font-style: italic;
  line-height: 1.5;
  color: var(--color-neutral-dark);
  margin-bottom: 1.25rem;
}
.testimonial cite {
  display: block;
  font-style: normal;
  color: var(--color-secondary);
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

/* === CTA band === */
.cta-band {
  background: var(--color-primary);
  color: var(--color-neutral-light);
  padding-block: 4.5rem;
  text-align: center;
}
.cta-band h2 { color: var(--color-neutral-light); max-width: 26ch; margin-inline: auto; }
.cta-band p { color: rgba(250,250,250,0.8); max-width: 55ch; margin: 0 auto 2rem; }
.contact-inline { font-size: 0.95rem; }

/* === Contact form === */
.contact-form { margin-top: 2rem; display: flex; flex-direction: column; gap: 1.25rem; }
.form-row { display: flex; flex-direction: column; gap: 0.4rem; }
.form-row label { font-weight: 500; font-size: 0.95rem; }
.form-row input, .form-row textarea {
  font-family: var(--font-body); font-size: 1rem;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--color-border); border-radius: 8px;
  background: var(--color-neutral-light);
  color: var(--color-primary);
}
.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-secondary);
}
.form-consent input { margin-top: 0.25rem; flex: 0 0 auto; }

/* === Footer === */
.site-footer {
  background: var(--color-neutral-dark);
  color: var(--color-neutral-light);
  padding-block: 3.5rem 1.5rem;
  margin-top: 2rem;
}
.site-footer .logo img { height: 60px; }
.footer-grid {
  display: grid; grid-template-columns: 1fr; gap: 2.5rem;
}
.site-footer .tagline { color: rgba(250,250,250,0.7); font-size: 0.95rem; margin-top: 1rem; }
.footer-nav { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-nav a { color: rgba(250,250,250,0.85); font-size: 0.95rem; }
.footer-nav a:hover { color: var(--color-neutral-light); }
.footer-contact { font-style: normal; color: rgba(250,250,250,0.75); font-size: 0.9rem; }
.footer-contact a { color: rgba(250,250,250,0.85); }
.legal-links { margin-top: 1rem; font-size: 0.85rem; }
.copyright {
  border-top: 1px solid rgba(250,250,250,0.1);
  margin-top: 2.5rem; padding-top: 1.25rem;
  color: rgba(250,250,250,0.6); font-size: 0.85rem;
}

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

/* === Responsive === */
@media (min-width: 640px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 768px) {
  body { font-size: 18px; }
  .logo img { height: 96px; }
  .site-footer .logo img { height: 72px; }
  .nav-toggle { display: none; }
  .primary-nav { display: flex; }
  .hero-centered { padding-block: 6rem 4rem; }
  .section { padding-block: 6rem; }
  .footer-grid { grid-template-columns: 1.2fr 1fr 1.2fr; gap: 3rem; }
}
@media (min-width: 960px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}
