:root {
  --color-primary: #4F46E5;
  --color-secondary: #6366F1;
  --color-accent: #F97316;
  --color-neutral-dark: #312E81;
  --color-neutral-light: #EEF2FF;
  --color-white: #ffffff;
  --color-text: #1e1b4b;
  --color-muted: #4b5178;
  --color-border: rgba(49, 46, 129, 0.12);
  --shadow-sm: 0 2px 20px rgba(49, 46, 129, 0.06);
  --shadow-md: 0 12px 40px -12px rgba(49, 46, 129, 0.18);
  --shadow-lg: 0 30px 60px -30px rgba(49, 46, 129, 0.35);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --font-heading: 'Sora', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* === Base === */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--color-neutral-dark); letter-spacing: -0.015em; line-height: 1.2; margin: 0 0 .75rem; }
h1 { font-size: clamp(2rem, 4.5vw, 3.5rem); font-weight: 700; }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: 600; }
h3 { font-size: 1.25rem; font-weight: 600; }
h4 { font-size: 1rem; font-weight: 600; }
p { margin: 0 0 1rem; color: var(--color-muted); }
a { color: var(--color-primary); text-decoration: none; }
a:hover { color: var(--color-neutral-dark); }
img { max-width: 100%; display: block; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 1.25rem; }
.container.narrow { max-width: 760px; }

/* === Header === */
.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  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: background .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header.scrolled { background: rgba(255, 255, 255, 0.9); box-shadow: var(--shadow-sm); }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: .9rem 0; gap: 1rem; }
.logo { display: inline-flex; align-items: center; }
.logo img { height: 72px; width: auto; }
@media (min-width: 768px) { .logo img { height: 96px; } }
.nav-toggle {
  background: transparent; border: none; color: var(--color-neutral-dark);
  cursor: pointer; padding: .5rem; border-radius: 8px;
}
.site-nav { display: none; gap: 1.75rem; align-items: center; }
.site-nav a { color: var(--color-neutral-dark); font-weight: 500; position: relative; padding: .25rem 0; }
.site-nav a::after {
  content: ''; position: absolute; left: 0; bottom: -2px; height: 2px; width: 100%;
  background: var(--color-accent); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease);
}
.site-nav a:hover::after, .site-nav a[aria-current="page"]::after { transform: scaleX(1); }
.site-nav a.nav-cta {
  background: var(--color-primary); color: var(--color-white);
  padding: .55rem 1.1rem; border-radius: 999px;
}
.site-nav a.nav-cta:hover { background: var(--color-neutral-dark); }
.site-nav a.nav-cta::after { display: none; }

.site-nav.is-open { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--color-white); padding: 1rem 1.25rem 1.5rem; gap: 1rem; box-shadow: var(--shadow-md); border-bottom: 1px solid var(--color-border); }

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .site-nav { display: flex; }
}

/* === Buttons === */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .85rem 1.6rem; border-radius: 999px; font-weight: 600;
  font-family: var(--font-body); font-size: 1rem; cursor: pointer;
  border: 1px solid transparent; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
  text-decoration: none;
}
.btn-sm { padding: .5rem 1rem; font-size: .875rem; }
.btn-primary { background: linear-gradient(135deg, var(--color-primary), var(--color-secondary)); color: var(--color-white); box-shadow: 0 8px 24px -8px rgba(79, 70, 229, 0.55); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -8px rgba(79, 70, 229, 0.65); color: var(--color-white); }
.btn-accent { background: var(--color-accent); color: var(--color-white); box-shadow: 0 8px 24px -8px rgba(249, 115, 22, 0.55); }
.btn-accent:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -8px rgba(249, 115, 22, 0.65); color: var(--color-white); }
.btn-ghost { background: transparent; border-color: var(--color-border); color: var(--color-neutral-dark); }
.btn-ghost:hover { background: var(--color-neutral-light); color: var(--color-neutral-dark); }
.btn:focus-visible { outline: 3px solid rgba(249, 115, 22, 0.4); outline-offset: 2px; }

/* === Hero card === */
.hero-card-section {
  padding: 3rem 0 4rem;
  background:
    radial-gradient(circle at 15% 20%, rgba(249, 115, 22, 0.08), transparent 55%),
    radial-gradient(circle at 85% 10%, rgba(99, 102, 241, 0.15), transparent 55%),
    linear-gradient(180deg, var(--color-neutral-light), #ffffff);
}
.hero-card {
  max-width: 880px; margin: 0 auto;
  padding: 2.5rem 1.5rem;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  text-align: center;
  border: 1px solid var(--color-border);
}
@media (min-width: 768px) {
  .hero-card { padding: 4rem 3.5rem; }
  .hero-card-section { padding: 5rem 0 6rem; }
}
.eyebrow {
  text-transform: uppercase; letter-spacing: .12em; font-size: .8rem;
  font-weight: 600; color: var(--color-accent); margin: 0 0 1rem;
}
.hero-card h1 { max-width: 22ch; margin-inline: auto; }
.hero-card .lede { max-width: 52ch; margin: 1rem auto 1.75rem; font-size: 1.1rem; color: var(--color-muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .85rem; justify-content: center; margin-bottom: 2rem; }
.hero-card__figure { margin: 0; border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-md); }
.hero-card__figure img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }

/* === Sections === */
.section { padding: 4rem 0; }
@media (min-width: 768px) { .section { padding: 5.5rem 0; } }
.section-alt { background: var(--color-neutral-light); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 2.5rem; }
.section-head p { color: var(--color-muted); font-size: 1.05rem; }

/* === Grid === */
.grid { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid-2, .grid-3, .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); }
}

/* === Cards === */
.card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  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: 44px; height: 44px; border-radius: 12px;
  background: linear-gradient(135deg, rgba(79, 70, 229, 0.12), rgba(99, 102, 241, 0.18));
  color: var(--color-primary);
  margin-bottom: 1rem;
}
.card h3 { margin-bottom: .5rem; }
.card p { margin-bottom: 0; }

/* === Split section === */
.split { display: grid; gap: 2.5rem; align-items: center; grid-template-columns: 1fr; }
@media (min-width: 900px) { .split { grid-template-columns: 1.1fr 1fr; gap: 4rem; } }
.split-figure { margin: 0; border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-md); }
.split-figure img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }

/* === Testimonial === */
.testimonial-section { background: linear-gradient(135deg, var(--color-neutral-light), #ffffff); }
.testimonial {
  position: relative;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
  margin: 0;
  text-align: center;
}
.testimonial .quote-mark { color: var(--color-accent); opacity: .3; margin: 0 auto 1rem; }
.testimonial p { font-size: 1.15rem; color: var(--color-text); font-style: italic; margin-bottom: 1.25rem; }
.testimonial cite { display: block; font-style: normal; font-weight: 600; color: var(--color-neutral-dark); }
.testimonial-with-portrait { padding-top: 4.5rem; }
.testimonial-portrait {
  position: absolute; top: -40px; left: 50%; transform: translateX(-50%);
  width: 80px; height: 80px; border-radius: 50%; object-fit: cover;
  border: 4px solid var(--color-white); box-shadow: var(--shadow-md);
}

/* === CTA band === */
.cta-band {
  background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark));
  color: var(--color-white);
  padding: 4rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(249, 115, 22, 0.25), transparent 55%);
  pointer-events: none;
}
.cta-band > .container { position: relative; }
.cta-band h2 { color: var(--color-white); }
.cta-band p { color: rgba(238, 242, 255, 0.85); font-size: 1.1rem; max-width: 52ch; margin-inline: auto; margin-bottom: 1.75rem; }

/* === FAQ === */
.faq { display: flex; flex-direction: column; gap: .75rem; margin-top: 2rem; }
.faq details {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
  transition: box-shadow .2s var(--ease);
}
.faq details[open] { box-shadow: var(--shadow-sm); }
.faq summary {
  cursor: pointer; font-weight: 600; color: var(--color-neutral-dark);
  font-family: var(--font-heading); font-size: 1.05rem; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+'; font-size: 1.5rem; color: var(--color-accent);
  transition: transform .2s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin-top: .75rem; margin-bottom: 0; }

/* === Contact === */
.contact-grid { display: grid; gap: 1.75rem; grid-template-columns: 1fr; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1.2fr; } }
.contact-info h3, .contact-form h3 { margin-bottom: 1rem; }
.contact-info h4 { margin-top: 1.5rem; margin-bottom: .5rem; }
.contact-info p { color: var(--color-text); }
.contact-info strong { color: var(--color-neutral-dark); display: block; font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; margin-bottom: .25rem; }
.hours { width: 100%; border-collapse: collapse; }
.hours th, .hours td { text-align: left; padding: .4rem 0; font-weight: 400; color: var(--color-muted); border-bottom: 1px solid var(--color-border); }
.hours th { color: var(--color-neutral-dark); font-weight: 500; width: 40%; }
.hours tr:last-child th, .hours tr:last-child td { border-bottom: none; }

.contact-form .field { margin-bottom: 1.1rem; }
.contact-form label { display: block; font-weight: 500; color: var(--color-neutral-dark); margin-bottom: .35rem; font-size: .95rem; }
.contact-form input, .contact-form textarea {
  width: 100%; padding: .8rem 1rem;
  border: 1px solid var(--color-border); border-radius: var(--radius-sm);
  font-family: var(--font-body); font-size: 1rem; color: var(--color-text);
  background: var(--color-white); transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.contact-form input:focus, .contact-form textarea:focus {
  outline: none; border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.15);
}
.form-consent {
  display: flex; gap: .6rem; align-items: flex-start; flex-wrap: wrap;
  font-size: .875rem; color: var(--color-muted); font-weight: 400;
  margin: 1rem 0 1.25rem;
}
.form-consent input { margin-top: .2rem; flex-shrink: 0; }
.form-consent span { flex: 1; }

/* === Footer === */
.site-footer {
  background: var(--color-neutral-dark);
  color: rgba(238, 242, 255, 0.85);
  padding: 3.5rem 0 2rem;
  margin-top: 2rem;
}
.footer-grid { display: grid; gap: 2rem; grid-template-columns: 1fr; margin-bottom: 2rem; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.2fr 1fr 1.3fr; } }
.site-footer h4 { color: var(--color-white); font-size: .95rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 1rem; }
.site-footer a { color: rgba(238, 242, 255, 0.85); display: block; margin-bottom: .5rem; }
.site-footer a:hover { color: var(--color-white); }
.logo-footer { display: inline-block; margin-bottom: 1rem; filter: brightness(0) invert(1); }
.logo-footer img { height: 60px; }
.footer-tagline { color: rgba(238, 242, 255, 0.7); font-size: .95rem; }
.site-footer address { font-style: normal; color: rgba(238, 242, 255, 0.85); margin-bottom: 1rem; line-height: 1.7; }
.footer-legal { display: flex; flex-direction: column; gap: .25rem; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid rgba(238, 242, 255, 0.15); }
.footer-legal a { font-size: .85rem; }
.copyright { padding-top: 1.5rem; border-top: 1px solid rgba(238, 242, 255, 0.15); font-size: .85rem; color: rgba(238, 242, 255, 0.6); text-align: center; }

/* === 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);
  border-radius: var(--radius-md); padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow-lg); max-width: 640px; margin: 0 auto;
  border: 1px solid rgba(238, 242, 255, 0.15);
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { color: var(--color-neutral-light); margin: 0 0 1rem; font-size: .95rem; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.cookie-banner__prefs { display: flex; flex-direction: column; gap: .5rem; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid rgba(238, 242, 255, 0.15); }
.cookie-banner__prefs label { display: flex; align-items: center; gap: .5rem; font-size: .9rem; }
.cookie-banner__prefs button { align-self: flex-start; margin-top: .5rem; }

/* === Reveal animations === */
.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; } }
