:root {
  --color-primary: #4F46E5;
  --color-secondary: #818CF8;
  --color-accent: #F97316;
  --color-neutral-dark: #1E1B4B;
  --color-neutral-light: #EEF2FF;
  --color-text: #1E1B4B;
  --color-muted: #4B5563;
  --color-surface: #ffffff;
  --color-border: rgba(30, 27, 75, 0.12);
  --font-heading: 'Manrope', sans-serif;
  --font-body: 'Inter', sans-serif;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 2px 20px rgba(30, 27, 75, 0.06);
  --shadow-md: 0 12px 40px rgba(30, 27, 75, 0.10);
  --shadow-lg: 0 30px 60px -30px rgba(30, 27, 75, 0.35);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* === Reset === */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-neutral-light);
  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.15; letter-spacing: -0.02em; margin: 0 0 .75rem; }
h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 700; }
h4 { font-size: 1rem; font-weight: 700; }
p { margin: 0 0 1rem; }

/* === Layout === */
.container { width: 100%; max-width: 1160px; margin-inline: auto; padding-inline: 1.25rem; }
.narrow { max-width: 780px; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.14em; font-size: .8rem; font-weight: 600; color: var(--color-primary); margin: 0 0 1rem; }
.lede { font-size: 1.15rem; color: var(--color-muted); max-width: 60ch; }
.muted { color: var(--color-muted); font-weight: 400; }

/* === Header === */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(238, 242, 255, 0.72);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid var(--color-border);
  transition: box-shadow .2s var(--ease), background .2s var(--ease);
}
.site-header.scrolled { background: rgba(238, 242, 255, 0.94); box-shadow: 0 4px 20px rgba(30, 27, 75, 0.08); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: .75rem; }
.logo { display: inline-flex; align-items: center; }
.logo img { height: 72px; width: auto; }
.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  background: transparent; border: 1px solid var(--color-border); color: var(--color-neutral-dark);
  border-radius: 10px; width: 44px; height: 44px; cursor: pointer;
}
.primary-nav { display: none; }
.primary-nav.is-open { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: #fff; padding: 1rem 1.25rem; box-shadow: var(--shadow-md); gap: .25rem; border-top: 1px solid var(--color-border); }
.primary-nav a { padding: .65rem .25rem; color: var(--color-neutral-dark); font-weight: 500; position: relative; text-decoration: none; }
.primary-nav a[aria-current="page"] { color: var(--color-primary); }

@media (min-width: 768px) {
  .logo img { height: 96px; }
  .nav-toggle { display: none; }
  .primary-nav { display: flex; flex-direction: row; gap: 1.75rem; position: static; padding: 0; box-shadow: none; background: transparent; border: 0; }
  .primary-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; background: var(--color-primary); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
  .primary-nav a:hover { text-decoration: none; }
  .primary-nav a:hover::after, .primary-nav a[aria-current="page"]::after { transform: scaleX(1); }
}

/* === Buttons === */
.btn {
  display: inline-block; padding: .85rem 1.5rem; border-radius: 999px;
  font-family: var(--font-heading); font-weight: 600; font-size: 1rem;
  text-decoration: none; border: 0; cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
}
.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  box-shadow: 0 10px 25px -10px rgba(79, 70, 229, 0.55);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 32px -12px rgba(79, 70, 229, 0.65); text-decoration: none; }
.btn-accent {
  color: #fff;
  background: linear-gradient(135deg, var(--color-accent), #FB923C);
  box-shadow: 0 10px 25px -10px rgba(249, 115, 22, 0.55);
}
.btn-accent:hover { transform: translateY(-2px); box-shadow: 0 16px 32px -12px rgba(249, 115, 22, 0.65); text-decoration: none; }
.btn:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 3px; }

/* === Hero card === */
.hero { padding-block: 3rem 2rem; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto auto; width: 480px; height: 480px;
  background: radial-gradient(closest-side, rgba(249, 115, 22, 0.18), transparent 70%);
  z-index: 0; pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; inset: auto auto -30% -10%; width: 520px; height: 520px;
  background: radial-gradient(closest-side, rgba(129, 140, 248, 0.28), transparent 70%);
  z-index: 0; pointer-events: none;
}
.hero-card__inner {
  position: relative; z-index: 1;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  box-shadow: var(--shadow-lg);
  max-width: 920px; margin-inline: auto;
  text-align: left;
}
.hero-card__inner .hero-cta { margin-top: 1.5rem; }
.hero-card__figure { margin: 1.75rem 0 0; border-radius: var(--radius-md); overflow: hidden; }
.hero-card__figure img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }

@media (min-width: 768px) {
  .hero { padding-block: 5rem 3rem; }
  .hero-card__inner { padding: 4rem; }
}

/* === Sections === */
.intro, .highlights, .testimonial, .cta-band, .contact-band, .faq, .form-section { padding-block: 3.5rem; }
@media (min-width: 768px) {
  .intro, .highlights, .testimonial, .cta-band, .contact-band, .faq, .form-section { padding-block: 5rem; }
}
.section-head { text-align: center; max-width: 60ch; margin: 0 auto 2.5rem; }
.section-head p { color: var(--color-muted); }

.intro .narrow { margin-inline: auto; }
.intro p { font-size: 1.075rem; }

/* === 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-radius: var(--radius-md); padding: 1.75rem;
  box-shadow: var(--shadow-sm); border: 1px solid var(--color-border);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 12px;
  background: linear-gradient(135deg, rgba(79, 70, 229, 0.12), rgba(129, 140, 248, 0.18));
  color: var(--color-primary); margin-bottom: 1rem;
}
.card p { color: var(--color-muted); margin: 0; }

/* === Testimonial === */
.testimonial blockquote {
  margin: 0; padding: 2rem; background: #fff; border-radius: var(--radius-md);
  border-left: 4px solid var(--color-accent); box-shadow: var(--shadow-sm);
}
.testimonial p { font-size: 1.2rem; font-style: italic; color: var(--color-neutral-dark); margin: 0 0 1rem; line-height: 1.55; }
.testimonial cite { font-style: normal; font-weight: 600; color: var(--color-muted); }

/* === CTA band === */
.cta-band {
  background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark));
  color: #fff; text-align: center; border-radius: var(--radius-lg);
  margin-inline: 1.25rem;
}
.cta-band .container { max-width: 780px; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(238, 242, 255, 0.85); font-size: 1.1rem; }
@media (min-width: 768px) { .cta-band { margin-inline: auto; max-width: 1160px; } }

/* === Contact band === */
.contact-band { background: #fff; }
.contact-band .contact-line { color: var(--color-muted); }
.contact-grid h3 { margin-bottom: .5rem; }
.hours { width: 100%; border-collapse: collapse; font-size: .98rem; }
.hours th, .hours td { text-align: left; padding: .55rem .5rem; border-bottom: 1px solid var(--color-border); }
.hours th { font-weight: 500; color: var(--color-muted); }

/* === FAQ === */
.faq details {
  background: #fff; border-radius: var(--radius-sm); padding: 1.1rem 1.25rem;
  border: 1px solid var(--color-border); margin-bottom: .75rem;
  transition: box-shadow .2s var(--ease);
}
.faq details[open] { box-shadow: var(--shadow-sm); }
.faq summary { font-family: var(--font-heading); font-weight: 600; cursor: pointer; color: var(--color-neutral-dark); list-style: none; padding-right: 1.5rem; position: relative; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 0; font-size: 1.5rem; color: var(--color-primary); transition: transform .2s var(--ease); }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: .75rem 0 0; color: var(--color-muted); }

/* === Form === */
.form-section { background: #fff; }
.contact-form { display: flex; flex-direction: column; gap: 1.1rem; margin-top: 1.5rem; }
.field { display: flex; flex-direction: column; gap: .35rem; }
.field label { font-weight: 600; font-size: .95rem; color: var(--color-neutral-dark); }
.field input, .field textarea {
  width: 100%; padding: .75rem .9rem; font-family: var(--font-body); font-size: 1rem;
  border: 1px solid var(--color-border); border-radius: var(--radius-sm); background: #fff; color: var(--color-neutral-dark);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--color-primary); box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.18); }
.form-consent { display: flex; gap: .6rem; align-items: flex-start; font-size: .9rem; color: var(--color-muted); flex-wrap: wrap; }
.form-consent input { margin-top: .25rem; }

/* === Footer === */
.site-footer {
  background: var(--color-neutral-dark); color: rgba(238, 242, 255, 0.85);
  padding-block: 3rem 1.25rem; margin-top: 2rem;
}
.site-footer h4 { color: #fff; margin-bottom: .8rem; font-size: 1rem; }
.site-footer a { color: rgba(238, 242, 255, 0.85); }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.2fr 1fr 1.4fr; } }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .4rem; }
.site-footer .tagline { color: var(--color-secondary); font-style: italic; margin-top: .5rem; }
.logo--footer img { height: 64px; filter: brightness(0) invert(1); }
.legal-links { margin-top: 1rem; font-size: .9rem; }
.copyright { border-top: 1px solid rgba(238, 242, 255, 0.15); margin-top: 2.5rem; padding-top: 1.25rem; font-size: .85rem; color: rgba(238, 242, 255, 0.65); }
address { font-style: normal; line-height: 1.7; }

/* === 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.35rem; border-radius: var(--radius-md); box-shadow: 0 20px 50px rgba(0,0,0,0.35);
  max-width: 560px;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 .9rem; font-size: .95rem; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.cookie-banner button {
  font-family: var(--font-heading); font-weight: 600; font-size: .9rem;
  padding: .55rem 1rem; border-radius: 999px; border: 1px solid rgba(238, 242, 255, 0.25);
  background: transparent; color: var(--color-neutral-light); cursor: pointer;
  transition: background .2s var(--ease);
}
.cookie-banner button:hover { background: rgba(238, 242, 255, 0.1); }
.cookie-banner [data-cookie-accept] { background: var(--color-accent); border-color: var(--color-accent); color: #fff; }
.cookie-banner [data-cookie-accept]:hover { background: #ea6a13; }
.cookie-banner__prefs { margin-top: 1rem; display: flex; flex-direction: column; gap: .55rem; font-size: .9rem; }
.cookie-banner__prefs label { display: flex; gap: .5rem; align-items: center; }
.cookie-banner__prefs [data-cookie-save] { align-self: flex-start; margin-top: .5rem; background: var(--color-primary); border-color: var(--color-primary); color: #fff; }

/* === Reveal motion === */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); will-change: opacity, transform; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}
