:root {
  --color-primary: #7C3AED;
  --color-secondary: #A78BFA;
  --color-accent: #06B6D4;
  --color-neutral-dark: #1E1B4B;
  --color-neutral-light: #FAF5FF;
  --color-white: #ffffff;
  --color-border: rgba(30, 27, 75, 0.12);
  --color-muted: rgba(30, 27, 75, 0.65);
  --font-heading: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Inter', sans-serif;
  --radius-lg: 20px;
  --radius-md: 14px;
  --shadow-sm: 0 2px 20px rgba(30, 27, 75, 0.06);
  --shadow-md: 0 20px 60px -20px rgba(30, 27, 75, 0.25);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* === Reset & base === */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-neutral-dark);
  background: var(--color-neutral-light);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary); text-decoration: none; }
a:hover { color: var(--color-neutral-dark); }
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.01em; }
h1 { font-size: clamp(2.25rem, 5vw, 4rem); font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1rem; }

.container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: 1.25rem; }
.container.narrow { max-width: 780px; }
.container.center { text-align: center; }

/* === Header (glass nav) === */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250, 245, 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(250, 245, 255, 0.92);
  box-shadow: 0 6px 24px -12px rgba(30, 27, 75, 0.18);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 0.75rem; }
.logo { display: inline-flex; align-items: center; }
.logo img { height: 72px; width: auto; display: block; }
.nav-toggle {
  background: transparent; border: 1px solid var(--color-border);
  color: var(--color-neutral-dark); padding: 0.5rem;
  border-radius: 10px; cursor: pointer;
}
.primary-nav {
  display: none; position: absolute; top: 100%; left: 0; right: 0;
  background: var(--color-white); border-top: 1px solid var(--color-border);
  flex-direction: column; padding: 1rem 1.25rem; gap: 0.25rem;
  box-shadow: 0 10px 30px -10px rgba(30, 27, 75, 0.2);
}
.primary-nav.is-open { display: flex; }
.primary-nav a {
  color: var(--color-neutral-dark); font-weight: 500;
  padding: 0.6rem 0.4rem; border-radius: 8px;
  position: relative;
}
.primary-nav a[aria-current="page"] { color: var(--color-primary); }
.nav-cta {
  background: linear-gradient(135deg, var(--color-primary), #6d28d9);
  color: var(--color-white) !important;
  padding: 0.55rem 1rem !important; border-radius: 999px;
}

/* === Buttons === */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-heading); font-weight: 600; font-size: 0.98rem;
  padding: 0.85rem 1.5rem; border-radius: 999px;
  cursor: pointer; border: 1px solid transparent;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s;
}
.btn-primary {
  background: linear-gradient(135deg, var(--color-primary), #6d28d9);
  color: var(--color-white);
  box-shadow: 0 10px 24px -12px rgba(124, 58, 237, 0.7);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -12px rgba(124, 58, 237, 0.85); color: var(--color-white); }
.btn-ghost {
  background: transparent; color: var(--color-neutral-dark);
  border-color: var(--color-border);
}
.btn-ghost:hover { border-color: var(--color-primary); color: var(--color-primary); transform: translateY(-2px); }
:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 2px; border-radius: 6px; }

/* === Hero === */
.hero { position: relative; padding-block: 3rem; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(600px 400px at 90% 10%, rgba(6, 182, 212, 0.14), transparent 60%),
    radial-gradient(700px 500px at 0% 100%, rgba(167, 139, 250, 0.22), transparent 60%),
    linear-gradient(180deg, rgba(250, 245, 255, 0) 0%, rgba(250, 245, 255, 0) 100%);
  z-index: -1;
}
.hero-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: center; }
.hero-copy .eyebrow, .eyebrow {
  display: inline-block; text-transform: uppercase; letter-spacing: 0.12em;
  font-size: 0.78rem; font-weight: 600; color: var(--color-primary);
  margin-bottom: 0.75rem;
}
.hero-copy h1 { margin-bottom: 1rem; }
.lede { font-size: 1.15rem; color: var(--color-muted); max-width: 48ch; }
.cta-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }
.hero-image img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  aspect-ratio: 4/5; object-fit: cover; width: 100%;
}
.hero-simple { padding-block: 4rem 2rem; text-align: center; }

/* === Sections === */
.section { padding-block: 4rem; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 2.5rem; }
.section-head p { color: var(--color-muted); font-size: 1.05rem; }
.intro p { font-size: 1.08rem; color: var(--color-neutral-dark); }
.intro .container.narrow { text-align: center; }
.intro .container.narrow p { text-align: left; }

/* === Card grid === */
.card-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
.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), border-color .25s;
  display: block; color: inherit;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -20px rgba(30, 27, 75, 0.22); border-color: var(--color-secondary); }
.card h3 { margin-bottom: 0.5rem; }
.card p { color: var(--color-muted); margin: 0; font-size: 0.98rem; }
.card-link { text-decoration: none; }
.card-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 12px;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.12), rgba(6, 182, 212, 0.12));
  color: var(--color-primary); margin-bottom: 1rem;
}

/* === Testimonial === */
.testimonial-section { text-align: center; }
.testimonial-portrait {
  width: 96px; height: 96px; border-radius: 50%; object-fit: cover;
  margin: 0 auto 1.25rem; border: 3px solid var(--color-white);
  box-shadow: 0 10px 24px -12px rgba(30, 27, 75, 0.3);
}
.testimonial-section blockquote {
  margin: 0; font-family: var(--font-heading);
  font-size: 1.35rem; line-height: 1.5; color: var(--color-neutral-dark);
  max-width: 68ch; margin-inline: auto;
}
.testimonial-section blockquote p { font-weight: 500; }
.testimonial-section cite {
  display: block; margin-top: 1rem; font-style: normal;
  font-family: var(--font-body); font-size: 0.95rem; color: var(--color-muted); font-weight: 500;
}

/* === CTA band === */
.cta-band {
  margin: 2rem 1rem;
  border-radius: var(--radius-lg);
  padding: 3.5rem 1.5rem; text-align: center;
  background: linear-gradient(135deg, var(--color-primary), #4c1d95 90%);
  color: var(--color-white);
  position: relative; overflow: hidden;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(500px 300px at 80% 20%, rgba(6, 182, 212, 0.35), transparent 60%);
}
.cta-band > * { position: relative; }
.cta-band h2, .cta-band p { color: var(--color-white); }
.cta-band p { opacity: 0.85; max-width: 60ch; margin-inline: auto; }
.cta-band .btn-primary {
  background: var(--color-white); color: var(--color-primary);
  box-shadow: 0 14px 30px -12px rgba(0, 0, 0, 0.35);
}
.cta-band .btn-primary:hover { color: var(--color-neutral-dark); }

/* === Stats === */
.stats-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
.stat {
  background: var(--color-white); border-radius: var(--radius-md);
  padding: 2rem; text-align: center; border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}
.stat-num {
  display: block; font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 800;
  color: var(--color-accent); margin-bottom: 0.5rem; letter-spacing: -0.02em;
}
.stat p { color: var(--color-muted); margin: 0; }

/* === Contact form === */
.form-wrap { max-width: 700px; }
.contact-form { display: grid; gap: 1rem; }
.field { display: grid; gap: 0.4rem; }
.field label { font-weight: 600; font-size: 0.92rem; color: var(--color-neutral-dark); }
.field input, .field textarea {
  font-family: var(--font-body); font-size: 1rem;
  padding: 0.85rem 1rem; border-radius: 10px;
  border: 1px solid var(--color-border); background: var(--color-white);
  color: var(--color-neutral-dark); transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--color-primary);
  box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.15);
}
.form-consent {
  display: flex; align-items: flex-start; gap: 0.6rem;
  font-size: 0.88rem; color: var(--color-muted);
  line-height: 1.5; margin-block: 0.5rem 0.25rem;
}
.form-consent input { margin-top: 0.25rem; flex-shrink: 0; }
.contact-form .btn { justify-self: start; margin-top: 0.5rem; }

/* === Contact visit === */
.two-col { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: center; }
.contact-office-img { border-radius: var(--radius-md); box-shadow: var(--shadow-md); aspect-ratio: 4/3; object-fit: cover; }
.hours { list-style: none; padding: 0; margin: 1.25rem 0 0; border-top: 1px solid var(--color-border); }
.hours li {
  display: flex; justify-content: space-between; padding: 0.6rem 0;
  border-bottom: 1px solid var(--color-border); font-size: 0.95rem;
}
.hours li span:first-child { color: var(--color-neutral-dark); font-weight: 500; }
.hours li span:last-child { color: var(--color-muted); }

/* === Footer === */
.site-footer {
  background: var(--color-neutral-dark); color: var(--color-neutral-light);
  padding-block: 3rem 1.5rem; margin-top: 3rem;
}
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
.site-footer h4 { color: var(--color-white); font-size: 1rem; margin-bottom: 0.75rem; }
.site-footer nav a { display: block; color: rgba(250, 245, 255, 0.75); padding: 0.25rem 0; font-size: 0.95rem; }
.site-footer nav a:hover { color: var(--color-accent); }
.site-footer .logo img { height: 60px; }
.site-footer .tagline { color: rgba(250, 245, 255, 0.7); margin-top: 0.75rem; font-size: 0.95rem; max-width: 30ch; }
.site-footer address { font-style: normal; color: rgba(250, 245, 255, 0.75); font-size: 0.92rem; line-height: 1.7; }
.legal-links { margin-top: 0.75rem; font-size: 0.86rem; color: rgba(250, 245, 255, 0.6); }
.legal-links a { color: rgba(250, 245, 255, 0.75); }
.legal-links a:hover { color: var(--color-accent); }
.copy { margin-top: 2rem; padding-top: 1.25rem; border-top: 1px solid rgba(250, 245, 255, 0.12); font-size: 0.85rem; color: rgba(250, 245, 255, 0.55); 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);
  padding: 1.25rem; border-radius: var(--radius-md);
  box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.4);
  max-width: 640px; margin-inline: auto;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 0.9rem; font-size: 0.92rem; color: rgba(250, 245, 255, 0.9); }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.cookie-banner__actions button, .cookie-banner__prefs button {
  font-family: var(--font-heading); font-weight: 600; font-size: 0.88rem;
  padding: 0.55rem 1rem; border-radius: 999px; cursor: pointer; border: 1px solid transparent;
}
.cookie-banner__actions button[data-cookie-accept] { background: var(--color-accent); color: var(--color-neutral-dark); }
.cookie-banner__actions button[data-cookie-reject] { background: transparent; color: var(--color-neutral-light); border-color: rgba(250, 245, 255, 0.3); }
.cookie-banner__actions button[data-cookie-settings] { background: transparent; color: var(--color-neutral-light); border-color: rgba(250, 245, 255, 0.3); }
.cookie-banner__prefs { display: grid; gap: 0.5rem; margin-top: 0.9rem; padding-top: 0.9rem; border-top: 1px solid rgba(250, 245, 255, 0.15); font-size: 0.9rem; }
.cookie-banner__prefs label { display: flex; align-items: center; gap: 0.5rem; }
.cookie-banner__prefs button[data-cookie-save] { justify-self: start; background: var(--color-accent); color: var(--color-neutral-dark); margin-top: 0.4rem; }

/* === Scroll reveal === */
.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; } }

/* === Responsive === */
@media (min-width: 640px) {
  .card-grid.three { grid-template-columns: repeat(3, 1fr); }
  .stats-grid { grid-template-columns: repeat(3, 1fr); }
  .hero { padding-block: 4.5rem; }
}
@media (min-width: 768px) {
  .logo img { height: 96px; }
  .site-footer .logo img { height: 72px; }
  .card-grid.four { grid-template-columns: repeat(2, 1fr); }
  .hero-grid { grid-template-columns: 1fr 1fr; gap: 4rem; }
  .two-col { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1.2fr; gap: 3rem; }
  .cta-band { padding: 4.5rem 2rem; margin: 3rem 1.5rem; }
}
@media (min-width: 960px) {
  .nav-toggle { display: none; }
  .primary-nav {
    display: flex; position: static; flex-direction: row;
    background: transparent; border: none; padding: 0; box-shadow: none;
    align-items: center; gap: 0.35rem;
  }
  .primary-nav a {
    padding: 0.5rem 0.85rem;
  }
  .primary-nav a:not(.nav-cta)::after {
    content: ""; position: absolute; left: 0.85rem; right: 0.85rem; bottom: 0.25rem;
    height: 2px; background: var(--color-primary);
    transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease);
  }
  .primary-nav a:not(.nav-cta):hover::after,
  .primary-nav a[aria-current="page"]:not(.nav-cta)::after { transform: scaleX(1); }
  .card-grid.four { grid-template-columns: repeat(4, 1fr); }
  .section { padding-block: 5.5rem; }
}
