:root {
  --color-primary: #2563EB;
  --color-secondary: #3B82F6;
  --color-accent: #F97316;
  --color-neutral-dark: #1E40AF;
  --color-neutral-light: #EFF6FF;
  --color-text: #0F1E4A;
  --color-muted: #4A5D8F;
  --color-border: rgba(30, 64, 175, 0.14);
  --font-heading: 'Lora', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --radius: 10px;
  --radius-lg: 16px;
}

/* === Reset === */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background: #FFFFFF;
  line-height: 1.6;
  font-size: 16px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary); text-decoration: underline; text-underline-offset: 3px; }
a:hover { color: var(--color-neutral-dark); }
h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 600; color: var(--color-neutral-dark); line-height: 1.2; margin: 0 0 1rem; }
h1 { font-size: clamp(2rem, 5vw, 3.25rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.5rem, 3vw, 2.15rem); margin-bottom: 1rem; }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1rem; }

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

/* === Header === */
.site-header {
  border-bottom: 1px solid var(--color-border);
  background: #FFFFFF;
  position: sticky; top: 0; z-index: 50;
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  max-width: 1120px; margin-inline: auto;
}
.logo { display: inline-block; line-height: 0; text-decoration: none; }
.logo img { height: 72px; width: auto; display: block; }
.logo--footer img { height: 64px; }

.nav-toggle {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 40px; height: 40px; padding: 0; border: 1px solid var(--color-border);
  background: transparent; border-radius: 6px; cursor: pointer;
}
.nav-toggle span { display: block; height: 2px; width: 22px; background: var(--color-neutral-dark); margin-inline: auto; }
.primary-nav { display: none; flex-direction: column; gap: 0.25rem; }
.primary-nav.is-open { display: flex; position: absolute; top: 100%; left: 0; right: 0; background: #fff; padding: 1rem 1.25rem; border-bottom: 1px solid var(--color-border); }
.primary-nav a { text-decoration: none; padding: 0.5rem 0; color: var(--color-neutral-dark); font-weight: 500; }
.primary-nav a[aria-current="page"] { color: var(--color-primary); }

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

/* === Hero (stacked) === */
.hero {
  padding-block: 3rem;
  background: linear-gradient(180deg, var(--color-neutral-light) 0%, #FFFFFF 100%);
}
.hero__inner { max-width: 720px; margin-inline: auto; }
.eyebrow {
  font-family: var(--font-body);
  font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--color-secondary); font-weight: 600; margin-bottom: 0.75rem;
}
.hero h1 { margin-bottom: 2rem; }
.hero__figure { margin: 0 0 2rem; }
.hero__figure img { border-radius: var(--radius-lg); aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.hero__sub { font-size: 1.15rem; color: var(--color-muted); margin-bottom: 1.5rem; }
.hero__cta { margin: 0; }

@media (min-width: 768px) {
  .hero { padding-block: 5rem; }
  .hero__figure { margin-block: 2.5rem; }
}

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

/* === Sections === */
.section { padding-block: 3rem; }
.section--narrow .container { max-width: 720px; }
.section--tint { background: var(--color-neutral-light); }
.section__head { text-align: center; margin-bottom: 2rem; }
.section__lede { color: var(--color-muted); font-size: 1.05rem; }
@media (min-width: 768px) { .section { padding-block: 4.5rem; } }

/* === Grid & Cards === */
.grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid--2, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .grid--4 { grid-template-columns: repeat(4, 1fr); } }

.card {
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}
.card h3 { margin-top: 0.5rem; }
.card p { color: var(--color-muted); margin-bottom: 0; font-size: 0.95rem; }
.card .icon { color: var(--color-primary); }
.card-link { text-decoration: none; color: inherit; display: block; transition: transform 0.18s ease, box-shadow 0.18s ease; }
.card-link:hover { transform: translateY(-2px); box-shadow: 0 12px 30px -18px rgba(30, 64, 175, 0.4); border-color: var(--color-secondary); color: inherit; }
.card-link h3 { color: var(--color-neutral-dark); }

/* === Testimonial === */
.testimonial {
  max-width: 720px; margin: 0 auto; text-align: center;
  font-family: var(--font-heading); font-size: 1.35rem; color: var(--color-neutral-dark);
  line-height: 1.5; padding: 1rem;
}
.testimonial p { margin-bottom: 1rem; }
.testimonial cite { display: block; font-family: var(--font-body); font-size: 0.9rem; font-style: normal; color: var(--color-muted); letter-spacing: 0.02em; }

/* === CTA band === */
.cta-band { background: var(--color-primary); color: #FFFFFF; padding-block: 3rem; }
.cta-band h2 { color: #FFFFFF; margin-bottom: 0.5rem; }
.cta-band p { color: rgba(255,255,255,0.9); margin-bottom: 0; }
.cta-band__meta { font-size: 0.9rem; margin-top: 0.75rem; }
.cta-band__inner { display: flex; flex-direction: column; gap: 1.5rem; align-items: flex-start; }
@media (min-width: 768px) { .cta-band__inner { flex-direction: row; align-items: center; justify-content: space-between; } }

/* === Article detail === */
.article-detail { max-width: 65ch; margin-inline: auto; padding: 3rem 1rem; }
.article-detail h1 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.15; margin-bottom: 1.5rem; }
.article-detail__sub { font-size: 1.2rem; color: var(--color-muted); margin-bottom: 0; }
.article-detail__hero { margin: 2rem 0; }
.article-detail__hero img { aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); width: 100%; }
.article-detail p { font-size: 1.125rem; line-height: 1.75; margin-block: 1.25rem; }
.article-detail__footer { 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-primary); }
.back-link:hover { text-decoration: underline; }

/* === Contact === */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 768px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
.contact-grid h3 { font-size: 1rem; margin-top: 1rem; }
.contact-grid h3:first-child { margin-top: 0; }
.contact-grid address { font-style: normal; }
.hours { width: 100%; border-collapse: collapse; }
.hours th, .hours td { text-align: left; padding: 0.55rem 0; border-bottom: 1px solid var(--color-border); font-weight: 400; }
.hours th { color: var(--color-neutral-dark); font-weight: 500; }

/* === Form === */
.contact-form { display: flex; flex-direction: column; gap: 1.25rem; max-width: 620px; }
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field label { font-weight: 500; color: var(--color-neutral-dark); font-size: 0.95rem; }
.field input, .field textarea {
  font: inherit; padding: 0.75rem 0.9rem;
  border: 1px solid var(--color-border); border-radius: var(--radius);
  background: #FFFFFF; color: var(--color-text);
}
.field input:focus, .field textarea:focus { outline: 2px solid var(--color-primary); outline-offset: 1px; }
.form-consent { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.9rem; color: var(--color-muted); line-height: 1.45; }
.form-consent input { margin-top: 0.25rem; }

/* === FAQ === */
.faq { max-width: 780px; margin-inline: auto; }
.faq details {
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1rem 1.25rem; margin-bottom: 0.75rem; background: #FFFFFF;
}
.faq summary {
  font-weight: 600; color: var(--color-neutral-dark); cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq details[open] summary { margin-bottom: 0.75rem; }
.faq p { margin: 0; color: var(--color-muted); }

/* === Footer === */
.site-footer { background: var(--color-neutral-dark); color: rgba(255,255,255,0.85); padding: 3rem 0 1.5rem; margin-top: 3rem; }
.site-footer h3 { color: #FFFFFF; font-family: var(--font-body); font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 1rem; }
.site-footer a { color: rgba(255,255,255,0.85); text-decoration: none; }
.site-footer a:hover { color: #FFFFFF; text-decoration: underline; }
.site-footer address { font-style: normal; margin-bottom: 1rem; font-size: 0.9rem; line-height: 1.65; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { padding: 0.25rem 0; font-size: 0.9rem; }
.site-footer .tagline { color: rgba(255,255,255,0.7); font-size: 0.95rem; margin-top: 0.75rem; }
.legal-links { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,0.14); }
.site-footer__grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 768px) { .site-footer__grid { grid-template-columns: 1.2fr 1fr 1.4fr; gap: 3rem; } }
.site-footer__base { padding-top: 1.5rem; margin-top: 2rem; border-top: 1px solid rgba(255,255,255,0.14); font-size: 0.85rem; color: rgba(255,255,255,0.65); }
.site-footer__base p { 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-lg);
  box-shadow: 0 20px 60px -20px rgba(0,0,0,0.4);
  max-width: 560px;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 1rem; font-size: 0.9rem; line-height: 1.5; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.cookie-banner button {
  font: inherit; font-size: 0.85rem; padding: 0.5rem 0.9rem;
  border: 1px solid rgba(255,255,255,0.25); background: transparent;
  color: var(--color-neutral-light); border-radius: 6px; cursor: pointer;
}
.cookie-banner [data-cookie-accept] { background: var(--color-accent); border-color: var(--color-accent); color: #FFFFFF; }
.cookie-banner [data-cookie-accept]:hover { background: #EA6A0C; }
.cookie-banner__prefs { display: flex; flex-direction: column; gap: 0.5rem; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,0.14); }
.cookie-banner__prefs label { display: flex; align-items: center; gap: 0.5rem; font-size: 0.85rem; }
.cookie-banner__prefs [data-cookie-save] { align-self: flex-start; margin-top: 0.5rem; }

.site-disclaimer { position: relative; z-index: 1000; background: #f4f6f8; border-bottom: 2px solid #64748b; color: #33404d; padding: 0.875rem 1.5rem; }
.site-disclaimer p { max-width: 68rem; margin: 0 auto; font-size: 0.8125rem; line-height: 1.6; text-align: center; }
.site-disclaimer strong { text-transform: uppercase; letter-spacing: 0.04em; }
.site-disclaimer__icon { font-size: 1rem; }
