:root {
  --color-primary: #18181B;
  --color-secondary: #27272A;
  --color-accent: #F8FAFC;
  --color-neutral-dark: #09090B;
  --color-neutral-light: #FAFAFA;
  --color-border: rgba(9, 9, 11, 0.12);
  --color-muted: #52525B;
  --font-heading: 'Lora', Georgia, serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --container: 1200px;
  --radius: 8px;
}

/* === Base === */
* { 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%; height: auto; display: block; }
a { color: var(--color-primary); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--color-secondary); }
h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--color-neutral-dark); line-height: 1.2; margin: 0 0 1rem; font-weight: 600; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.25rem, 5vw, 4rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1rem; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 1.25rem; }
.narrow { max-width: 720px; margin: 0 auto; }

/* === Header === */
.site-header {
  border-bottom: 1px solid var(--color-border);
  background: var(--color-neutral-light);
  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-block; text-decoration: none; }
.logo img { height: 72px; width: auto; display: block; }
.primary-nav { display: none; gap: 2rem; }
.primary-nav a { text-decoration: none; font-weight: 500; color: var(--color-secondary); }
.primary-nav a[aria-current="page"] { color: var(--color-neutral-dark); }
.primary-nav a:hover { color: var(--color-neutral-dark); }
.nav-toggle {
  background: transparent; border: 0; padding: 0.5rem;
  display: inline-flex; flex-direction: column; gap: 5px; cursor: pointer;
}
.nav-toggle span { display: block; width: 26px; height: 2px; background: var(--color-neutral-dark); }
.primary-nav.is-open { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--color-neutral-light); padding: 1.25rem; border-bottom: 1px solid var(--color-border); gap: 1rem; }

@media (min-width: 800px) {
  .nav-toggle { display: none; }
  .primary-nav { display: flex; position: static; padding: 0; border: 0; flex-direction: row; }
  .logo img { height: 96px; }
}

/* === Hero centered === */
.hero { padding-block: 3rem; text-align: center; background: var(--color-neutral-light); }
.hero .container { display: flex; flex-direction: column; align-items: center; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.15em; font-size: 0.8rem; color: var(--color-muted); margin: 0 0 1rem; font-weight: 500; }
.hero h1 { max-width: 24ch; margin-inline: auto; }
.hero-sub { max-width: 52ch; margin: 0.5rem auto 1.75rem; font-size: 1.125rem; color: var(--color-secondary); }
.hero-cta { margin-bottom: 2.5rem; }
.hero-figure { width: 100%; max-width: 1080px; margin: 0 auto; }
.hero-figure img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); }

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

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

/* === Sections === */
.section { padding-block: 3.5rem; }
.section.alt { background: #F4F4F5; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 2.5rem; }
.section-head p { color: var(--color-muted); }

@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); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* === Card === */
.card {
  background: #fff; border: 1px solid var(--color-border);
  padding: 1.75rem; border-radius: var(--radius);
  display: flex; flex-direction: column; gap: 0.5rem;
}
.card .icon { color: var(--color-secondary); margin-bottom: 0.5rem; }
.card h3 { margin-bottom: 0.25rem; }
.card p { color: var(--color-secondary); font-size: 0.98rem; margin: 0; }
.card-link { text-decoration: none; color: inherit; transition: transform .15s ease, box-shadow .15s ease; }
.card-link:hover { transform: translateY(-2px); box-shadow: 0 12px 30px -20px rgba(0,0,0,0.25); }

/* === Intro === */
.intro { text-align: center; }
.intro p { color: var(--color-secondary); font-size: 1.05rem; }

/* === Testimonial === */
.testimonial-section { background: var(--color-primary); color: var(--color-neutral-light); }
.testimonial-section .testimonial { text-align: center; margin: 0; }
.testimonial p { font-family: var(--font-heading); font-size: clamp(1.25rem, 2.5vw, 1.6rem); font-style: italic; line-height: 1.5; color: var(--color-neutral-light); }
.testimonial cite { display: block; margin-top: 1.25rem; font-style: normal; font-size: 0.95rem; letter-spacing: 0.05em; color: rgba(250,250,250,0.7); }

/* === CTA band === */
.cta-band { background: var(--color-neutral-dark); color: var(--color-neutral-light); padding-block: 3.5rem; text-align: center; }
.cta-band h2 { color: var(--color-neutral-light); }
.cta-band p { color: rgba(250,250,250,0.8); max-width: 56ch; margin-inline: auto; }

@media (min-width: 768px) { .cta-band { padding-block: 5rem; } }

/* === Contact band === */
.contact-band { background: #F4F4F5; text-align: center; }
.contact-band p { color: var(--color-secondary); }

/* === Contact grid === */
.contact-grid { display: grid; gap: 2.5rem; grid-template-columns: 1fr; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.contact-info h2, .contact-form h2 { margin-bottom: 1rem; }
.hours { display: grid; gap: 0.35rem; margin: 1rem 0 0; padding: 0; }
.hours > div { display: flex; justify-content: space-between; padding: 0.4rem 0; border-bottom: 1px solid var(--color-border); font-size: 0.95rem; }
.hours dt { font-weight: 500; margin: 0; }
.hours dd { margin: 0; color: var(--color-muted); }

/* === Form === */
.contact-form { display: flex; flex-direction: column; gap: 1rem; background: #fff; padding: 2rem; border-radius: var(--radius); border: 1px solid var(--color-border); }
.contact-form label { display: flex; flex-direction: column; gap: 0.35rem; font-size: 0.9rem; font-weight: 500; color: var(--color-secondary); }
.contact-form input, .contact-form textarea {
  font-family: inherit; font-size: 1rem; padding: 0.7rem 0.85rem;
  border: 1px solid var(--color-border); border-radius: 6px; background: var(--color-neutral-light);
  color: var(--color-neutral-dark);
}
.contact-form input:focus, .contact-form textarea:focus { outline: 2px solid var(--color-neutral-dark); outline-offset: 1px; }
.contact-form textarea { resize: vertical; min-height: 140px; }
.form-consent { flex-direction: row !important; align-items: flex-start; gap: 0.6rem; font-weight: 400 !important; font-size: 0.85rem !important; color: var(--color-muted) !important; }
.form-consent input { margin-top: 0.25rem; }

/* === FAQ === */
.faq details { border-bottom: 1px solid var(--color-border); padding: 1.1rem 0; }
.faq summary { cursor: pointer; font-weight: 600; font-family: var(--font-heading); font-size: 1.1rem; list-style: none; position: relative; padding-right: 2rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 0; top: 0; font-size: 1.5rem; color: var(--color-muted); }
.faq details[open] summary::after { content: '−'; }
.faq details p { margin-top: 0.75rem; color: var(--color-secondary); }

/* === Article === */
.article { max-width: 65ch; margin-inline: auto; padding: 3rem 1.25rem; }
.article-head { margin-bottom: 2rem; }
.article-head h1 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.15; margin-bottom: 1rem; }
.article-sub { font-size: 1.2rem; color: var(--color-muted); font-family: var(--font-heading); font-style: italic; }
.article-figure { margin: 2rem 0; }
.article-figure img { aspect-ratio: 16/9; object-fit: cover; border-radius: var(--radius); width: 100%; }
.article h2 { margin-top: 2.5rem; }
.article p { font-size: 1.125rem; line-height: 1.75; margin-block: 1.25rem; }
.article-foot { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--color-border); }
.back-link { text-decoration: none; font-weight: 500; color: var(--color-secondary); }
.back-link:hover { color: var(--color-neutral-dark); }

/* === Footer === */
.site-footer { background: var(--color-primary); color: var(--color-neutral-light); padding: 3.5rem 0 1.5rem; margin-top: 2rem; }
.site-footer h3 { color: var(--color-neutral-light); font-size: 1rem; margin-bottom: 1rem; font-family: var(--font-body); text-transform: uppercase; letter-spacing: 0.1em; font-weight: 600; }
.site-footer a { color: rgba(250,250,250,0.85); text-decoration: none; }
.site-footer a:hover { color: var(--color-neutral-light); text-decoration: underline; }
.site-footer .logo img { filter: invert(1) brightness(1.5); }
.footer-tag { color: rgba(250,250,250,0.7); margin-top: 0.75rem; }
.footer-grid { display: grid; gap: 2.5rem; grid-template-columns: 1fr; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.2fr 1fr 1.4fr; } }
.footer-nav { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-contact p { color: rgba(250,250,250,0.85); margin: 0.25rem 0; }
.footer-legal { margin-top: 1rem !important; font-size: 0.9rem; }
.copyright { border-top: 1px solid rgba(250,250,250,0.15); margin-top: 2.5rem; padding-top: 1.5rem; font-size: 0.85rem; color: rgba(250,250,250,0.6); }

/* === 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 50px -20px rgba(0,0,0,0.5);
  max-width: 640px; margin-inline: auto;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { color: var(--color-neutral-light); font-size: 0.92rem; margin: 0 0 0.85rem; }
.cookie-banner__actions { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.cookie-banner button {
  font-family: inherit; font-size: 0.88rem; padding: 0.55rem 1rem;
  border-radius: 6px; border: 1px solid rgba(250,250,250,0.3);
  background: transparent; color: var(--color-neutral-light); cursor: pointer;
}
.cookie-banner [data-cookie-accept] { background: var(--color-accent); color: var(--color-neutral-dark); border-color: var(--color-accent); }
.cookie-banner button:hover { background: rgba(250,250,250,0.1); }
.cookie-banner [data-cookie-accept]:hover { background: #fff; }
.cookie-banner__prefs { margin-top: 1rem; 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] { align-self: flex-start; margin-top: 0.5rem; background: var(--color-accent); color: var(--color-neutral-dark); border-color: var(--color-accent); }
