:root {
  --color-primary: #4F46E5;
  --color-secondary: #818CF8;
  --color-accent: #F97316;
  --color-neutral-dark: #1E1B4B;
  --color-neutral-light: #EEF2FF;
  --font-heading: 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;
  --max: 1180px;
}

/* === Reset === */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-body);
  color: var(--color-neutral-dark);
  background: #fff;
  line-height: 1.6;
  -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; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.25rem, 4.5vw, 3.75rem); font-weight: 700; margin: 0 0 1rem; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); font-weight: 600; margin: 0 0 1rem; }
h3 { font-size: 1.2rem; font-weight: 600; margin: 0 0 .5rem; }
p  { margin: 0 0 1rem; }

/* === Layout === */
.container { max-width: var(--max); margin-inline: auto; padding-inline: 1.25rem; }
.narrow    { max-width: 720px; margin-inline: auto; }

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

/* === Hero (split) === */
.hero { padding-block: 3rem; background: linear-gradient(180deg, var(--color-neutral-light) 0%, #fff 100%); }
.hero-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: center; }
.hero-copy .eyebrow { text-transform: uppercase; letter-spacing: .1em; font-size: .8rem; font-weight: 600; color: var(--color-primary); margin: 0 0 1rem; }
.hero-copy .lede { font-size: 1.15rem; color: rgba(30,27,75,0.75); max-width: 48ch; margin-bottom: 1.75rem; }
.hero-image img { aspect-ratio: 4/5; object-fit: cover; border-radius: 14px; box-shadow: 0 30px 60px -30px rgba(30,27,75,0.35); }
@media (min-width: 900px) {
  .hero { padding-block: 5rem; }
  .hero-grid { grid-template-columns: 1.05fr 1fr; gap: 4rem; }
}
.hero-thanks { text-align: center; padding-block: 5rem; }

/* === Buttons === */
.btn { display: inline-block; padding: .85rem 1.5rem; border-radius: 8px; font-weight: 600; font-family: var(--font-heading); font-size: .95rem; cursor: pointer; border: none; transition: transform .15s ease, box-shadow .15s ease; }
.btn-primary { background: var(--color-primary); color: #fff; }
.btn-primary:hover { background: #4338CA; text-decoration: none; transform: translateY(-1px); box-shadow: 0 10px 24px -12px rgba(79,70,229,.6); }
.btn-accent { background: var(--color-accent); color: #fff; }
.btn-accent:hover { background: #EA580C; text-decoration: none; }

/* === Sections === */
.section { padding-block: 3.5rem; }
.section-intro { text-align: center; }
.section-intro.alt { background: var(--color-neutral-light); }
.section-intro p:not(.sub) { text-align: left; }
.section .sub { color: rgba(30,27,75,0.7); font-size: 1.05rem; margin-bottom: 1.5rem; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 2.5rem; }

/* === Grid + cards === */
.grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 640px) {
  .grid-2 { grid-template-columns: 1fr 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 {
  background: #fff;
  border: 1px solid rgba(30,27,75,0.08);
  border-radius: 12px;
  padding: 1.5rem;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.card .icon { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 8px; background: var(--color-neutral-light); color: var(--color-primary); margin-bottom: 1rem; }
.card h3 { margin-bottom: .5rem; }
.card p { color: rgba(30,27,75,0.8); font-size: .95rem; margin: 0; }
.card-link { display: block; color: inherit; text-decoration: none; }
.card-link:hover { text-decoration: none; transform: translateY(-2px); border-color: var(--color-secondary); box-shadow: 0 20px 40px -25px rgba(30,27,75,0.35); }
.card-link:hover h3 { color: var(--color-primary); }

/* === Testimonial === */
.section-testimonial { background: var(--color-neutral-light); text-align: center; }
.quote { margin: 0; padding: 0; }
.quote p { font-size: 1.2rem; font-style: italic; color: var(--color-neutral-dark); max-width: 60ch; margin: 0 auto 1rem; line-height: 1.6; }
.quote cite { font-style: normal; font-weight: 600; color: var(--color-primary); font-size: .95rem; }

/* === CTA band === */
.cta-band { background: var(--color-primary); color: #fff; padding-block: 3rem; }
.cta-band h2 { color: #fff; margin-bottom: .25rem; }
.cta-band p { color: rgba(255,255,255,0.85); margin: 0; }
.cta-inner { display: flex; flex-direction: column; gap: 1.5rem; align-items: flex-start; }
@media (min-width: 768px) {
  .cta-inner { flex-direction: row; align-items: center; justify-content: space-between; gap: 2rem; }
}

/* === Contact === */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1.1fr; gap: 3rem; } }
.contact-list { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.contact-list li { margin-bottom: 1rem; }
.hours { border-collapse: collapse; width: 100%; font-size: .95rem; }
.hours th, .hours td { text-align: left; padding: .5rem 0; border-bottom: 1px solid rgba(30,27,75,0.08); }
.hours th { font-weight: 500; color: rgba(30,27,75,0.85); }
.contact-form { background: var(--color-neutral-light); padding: 2rem; border-radius: 14px; }
.field { margin-bottom: 1rem; }
.field label { display: block; font-weight: 500; margin-bottom: .35rem; font-size: .9rem; }
.field input, .field textarea {
  width: 100%;
  padding: .7rem .9rem;
  border: 1px solid rgba(30,27,75,0.15);
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  background: #fff;
  color: var(--color-neutral-dark);
}
.field input:focus, .field textarea:focus { outline: 2px solid var(--color-primary); outline-offset: 1px; }
.form-consent { display: flex; align-items: flex-start; gap: .6rem; margin: 1rem 0 1.25rem; font-size: .85rem; color: rgba(30,27,75,0.85); }
.form-consent input { margin-top: .2rem; }

/* === Article detail === */
.article { max-width: 65ch; margin-inline: auto; padding: 2.5rem 1rem 4rem; }
.article-header { margin-bottom: 1.5rem; }
.article-header .eyebrow { text-transform: uppercase; letter-spacing: .1em; font-size: .78rem; font-weight: 600; color: var(--color-primary); margin: 0 0 .75rem; }
.article-header h1 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.15; margin-bottom: 1rem; }
.article-sub { font-size: 1.2rem; color: rgba(30,27,75,0.7); margin: 0; }
.article-hero { aspect-ratio: 16/9; object-fit: cover; margin-block: 2rem; border-radius: 10px; width: 100%; }
.article h2 { margin-top: 2.5rem; margin-bottom: 1rem; font-size: 1.5rem; }
.article p { font-size: 1.08rem; line-height: 1.75; }
.article-back { margin-top: 3rem; }
.back-link { font-weight: 500; color: var(--color-primary); }

/* === Footer === */
.site-footer { background: var(--color-neutral-dark); color: rgba(255,255,255,0.85); padding-block: 3rem 1.5rem; margin-top: 4rem; }
.site-footer h3 { color: #fff; font-size: 1rem; margin: 0 0 .75rem; }
.site-footer a { color: rgba(255,255,255,0.85); }
.site-footer a:hover { color: var(--color-secondary); }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.2fr 1fr 1.2fr; gap: 2.5rem; } }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .4rem; }
.site-footer address { font-style: normal; margin-bottom: 1rem; font-size: .95rem; }
.logo-footer img { height: 60px; }
.legal-links { margin-top: 1rem; font-size: .85rem; }
.copyright { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.1); font-size: .85rem; color: rgba(255,255,255,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: 12px;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.5);
  max-width: 640px;
  margin-inline: auto;
  font-size: .9rem;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 1rem; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.cookie-banner button {
  padding: .55rem 1rem;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.25);
  background: transparent;
  color: var(--color-neutral-light);
  font-family: inherit;
  font-size: .85rem;
  cursor: pointer;
  font-weight: 500;
}
.cookie-banner [data-cookie-accept] { background: var(--color-accent); border-color: var(--color-accent); color: #fff; }
.cookie-banner [data-cookie-accept]:hover { background: #EA580C; }
.cookie-banner__prefs { margin-top: 1rem; display: flex; flex-direction: column; gap: .5rem; }
.cookie-banner__prefs label { display: flex; align-items: center; gap: .5rem; font-size: .9rem; }
.cookie-banner__prefs [data-cookie-save] { margin-top: .5rem; align-self: flex-start; background: var(--color-primary); border-color: var(--color-primary); }

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