:root {
  --color-primary: #4F46E5;
  --color-secondary: #818CF8;
  --color-accent: #F97316;
  --color-neutral-dark: #1E1B4B;
  --color-neutral-light: #EEF2FF;
  --font-heading: 'Inter', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --radius: 10px;
  --shadow-soft: 0 20px 40px -25px rgba(30, 27, 75, 0.35);
}

/* === 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-neutral-dark);
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--color-neutral-dark); line-height: 1.2; margin: 0 0 0.75rem; letter-spacing: -0.015em; }
h1 { font-size: clamp(2rem, 4.2vw, 3rem); font-weight: 700; }
h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 600; margin-bottom: 1rem; }
h3 { font-size: 1.15rem; font-weight: 600; }
p { margin: 0 0 1rem; }

/* === Layout === */
.container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 1.25rem; }
.container.narrow { max-width: 720px; }
.section { padding: 4rem 0; }
.section-alt { background: var(--color-neutral-light); }
.section-sub { color: #4a4870; max-width: 60ch; margin-bottom: 2rem; }
.center { text-align: center; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.78rem; font-weight: 600; color: var(--color-primary); margin: 0 0 1rem; }

/* === Header === */
.site-header { position: sticky; top: 0; background: rgba(255,255,255,0.92); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(30,27,75,0.08); z-index: 100; }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding-block: 0.75rem; gap: 1rem; }
.logo { display: inline-flex; align-items: center; }
.logo img { height: 72px; width: auto; }
.primary-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 1.5rem; }
.primary-nav a { color: var(--color-neutral-dark); font-weight: 500; font-size: 0.98rem; }
.primary-nav a[aria-current="page"] { color: var(--color-primary); }
.nav-toggle { display: inline-flex; flex-direction: column; gap: 5px; background: transparent; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { width: 24px; height: 2px; background: var(--color-neutral-dark); display: block; }
.primary-nav { display: none; }
.primary-nav.is-open { display: block; position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid rgba(30,27,75,0.08); padding: 1rem 1.25rem; }
.primary-nav.is-open ul { flex-direction: column; gap: 0.75rem; }

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

/* === Hero (stacked) === */
.hero { padding: 3.5rem 0 2rem; }
.hero .container { max-width: 780px; }
.hero h1 { margin-bottom: 1.5rem; }
.hero-figure { margin: 2rem 0; }
.hero-figure img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-soft); }
.hero-sub { font-size: 1.15rem; color: #3d3a68; max-width: 60ch; margin-bottom: 1.5rem; }

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

/* === Grid & Cards === */
.grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } }
.card { background: #fff; border: 1px solid rgba(30,27,75,0.08); border-radius: var(--radius); padding: 1.75rem; transition: transform 0.15s ease, box-shadow 0.15s ease; }
.card .icon { color: var(--color-primary); margin-bottom: 0.75rem; }
.card h3 { margin-bottom: 0.5rem; }
.card p { color: #3d3a68; font-size: 0.97rem; margin: 0; }
.card-link { color: inherit; text-decoration: none; display: block; }
.card-link:hover { text-decoration: none; transform: translateY(-2px); box-shadow: var(--shadow-soft); }

/* === Testimonial === */
.testimonial { margin: 2rem 0; padding: 2rem; background: var(--color-neutral-light); border-left: 4px solid var(--color-primary); border-radius: var(--radius); }
.testimonial p { font-size: 1.1rem; font-style: italic; margin-bottom: 0.75rem; }
.testimonial cite { font-style: normal; font-weight: 600; color: var(--color-neutral-dark); }

/* === CTA band === */
.cta-band { background: var(--color-primary); color: #fff; padding: 3.5rem 0; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,0.9); max-width: 55ch; margin-inline: auto; margin-bottom: 1.5rem; }

/* === Contact === */
.contact-grid { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 800px) { .contact-grid { grid-template-columns: repeat(3, 1fr); } }
.contact-grid h3 { margin-bottom: 0.5rem; }
.hours { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.hours th, .hours td { text-align: left; padding: 0.35rem 0; border-bottom: 1px solid rgba(30,27,75,0.08); font-weight: 400; }
.hours th { font-weight: 500; }
.contact-card { background: #fff; padding: 1.5rem; border-radius: var(--radius); border: 1px solid rgba(30,27,75,0.08); }

/* === Form === */
.contact-form { display: flex; flex-direction: column; gap: 1rem; }
.form-row { display: flex; flex-direction: column; gap: 0.35rem; }
.form-row label { font-weight: 500; font-size: 0.92rem; }
.form-row input, .form-row textarea { font-family: inherit; font-size: 1rem; padding: 0.7rem 0.9rem; border: 1px solid rgba(30,27,75,0.18); border-radius: 8px; background: #fff; }
.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; align-items: flex-start; gap: 0.6rem; font-size: 0.9rem; color: #3d3a68; }
.form-consent input { margin-top: 0.25rem; }

/* === 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-sub { font-size: 1.2rem; color: #3d3a68; margin-bottom: 1rem; }
.article-hero img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 8px; margin-block: 2rem; }
.article-detail p { font-size: 1.125rem; line-height: 1.75; margin-block: 1.25rem; }
.article-footer { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(30,27,75,0.1); }
.back-link { font-weight: 500; }

/* === Footer === */
.site-footer { background: var(--color-neutral-dark); color: var(--color-neutral-light); padding: 3.5rem 0 1.5rem; margin-top: 3rem; }
.site-footer h3 { color: #fff; font-size: 1rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 1rem; }
.site-footer a { color: var(--color-neutral-light); }
.site-footer .logo img { filter: brightness(0) invert(1); height: 60px; }
.footer-grid { display: grid; gap: 2rem; grid-template-columns: 1fr; padding-bottom: 2rem; border-bottom: 1px solid rgba(255,255,255,0.12); }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.2fr 1fr 1.4fr; } }
.site-footer nav ul, .legal-links { list-style: none; margin: 0; padding: 0; }
.site-footer nav li, .legal-links li { margin-bottom: 0.5rem; }
.tagline { color: rgba(238,242,255,0.75); font-size: 0.95rem; margin-top: 0.5rem; }
.site-footer address { font-style: normal; font-size: 0.95rem; line-height: 1.7; color: rgba(238,242,255,0.85); margin-bottom: 1rem; }
.legal-links { margin-top: 1rem; font-size: 0.88rem; }
.copyright { padding-top: 1.5rem; text-align: center; color: rgba(238,242,255,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 30px 60px -20px rgba(0,0,0,0.5); max-width: 720px; margin-inline: auto; }
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 1rem; font-size: 0.92rem; }
.cookie-banner a { color: var(--color-neutral-light); text-decoration: underline; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.cookie-banner__actions button { font: inherit; padding: 0.55rem 1rem; border-radius: 8px; border: 1px solid rgba(255,255,255,0.25); background: transparent; color: var(--color-neutral-light); cursor: pointer; font-size: 0.9rem; }
.cookie-banner__actions button[data-cookie-accept] { background: var(--color-accent); border-color: var(--color-accent); color: #fff; font-weight: 600; }
.cookie-banner__prefs { margin-top: 1rem; display: flex; flex-direction: column; gap: 0.5rem; font-size: 0.9rem; }
.cookie-banner__prefs label { display: flex; align-items: center; gap: 0.5rem; }
.cookie-banner__prefs button { align-self: flex-start; margin-top: 0.5rem; padding: 0.5rem 1rem; border-radius: 8px; border: 0; background: var(--color-secondary); color: #fff; font-weight: 600; cursor: pointer; }
