:root {
  --color-primary: #475569;
  --color-secondary: #64748B;
  --color-accent: #2563EB;
  --color-neutral-dark: #1E293B;
  --color-neutral-light: #F8FAFC;
  --font-heading: 'Manrope', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-sm: 0 2px 20px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 12px 40px -12px rgba(15, 23, 42, 0.18);
  --shadow-lg: 0 30px 60px -30px rgba(15, 23, 42, 0.35);
  --radius: 16px;
  --radius-lg: 24px;
}

/* === Base === */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--color-neutral-dark);
  background: var(--color-neutral-light);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-accent); text-decoration: none; transition: color .2s var(--ease); }
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; letter-spacing: -0.02em; margin: 0 0 1rem; font-weight: 700; }
h1 { font-size: clamp(2.25rem, 5vw, 4rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1rem; }

.container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: 1.25rem; }
.container.narrow { max-width: 760px; }
.eyebrow { font-family: var(--font-heading); font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--color-accent); margin-bottom: 1rem; }

/* === Buttons === */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .95rem 1.6rem; border-radius: 999px; font-family: var(--font-heading); font-weight: 600; font-size: 1rem; cursor: pointer; border: 1px solid transparent; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease), color .2s var(--ease); text-decoration: none; }
.btn-primary { background: linear-gradient(135deg, var(--color-accent), #1D4ED8); color: #fff; box-shadow: 0 10px 24px -12px rgba(37, 99, 235, .6); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 32px -14px rgba(37, 99, 235, .7); color: #fff; }
.btn-ghost { background: transparent; color: var(--color-neutral-dark); border-color: rgba(30, 41, 59, .18); }
.btn-ghost:hover { transform: translateY(-2px); border-color: var(--color-accent); color: var(--color-accent); }
.btn:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 3px; }

/* === Header / nav === */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(248, 250, 252, 0.72);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid rgba(30, 41, 59, .06);
  transition: background .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header.scrolled { background: rgba(248, 250, 252, 0.92); box-shadow: 0 8px 30px -20px rgba(15, 23, 42, .25); }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .85rem 1.25rem; max-width: 1280px; margin-inline: auto; }
.logo { display: inline-flex; align-items: center; }
.logo img { height: 72px; width: auto; display: block; }
.nav-toggle { background: none; border: 0; padding: .5rem; color: var(--color-neutral-dark); cursor: pointer; border-radius: 8px; }
.nav-toggle:hover { background: rgba(30, 41, 59, .06); }
.primary-nav { display: none; }
.primary-nav.is-open { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--color-neutral-light); padding: 1rem 1.25rem 1.5rem; border-bottom: 1px solid rgba(30,41,59,.08); box-shadow: var(--shadow-md); gap: .25rem; }
.primary-nav a { color: var(--color-neutral-dark); font-family: var(--font-heading); font-weight: 500; padding: .65rem 0; position: relative; }
.primary-nav a[aria-current="page"] { color: var(--color-accent); }
.primary-nav .nav-cta { color: var(--color-accent); font-weight: 600; }

@media (min-width: 900px) {
  .logo img { height: 96px; }
  .nav-toggle { display: none; }
  .primary-nav { display: flex !important; position: static; flex-direction: row; align-items: center; gap: 1.75rem; padding: 0; background: transparent; box-shadow: none; border: 0; }
  .primary-nav a { padding: .35rem 0; }
  .primary-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--color-accent); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
  .primary-nav a:hover::after, .primary-nav a[aria-current="page"]::after { transform: scaleX(1); }
  .primary-nav .nav-cta { padding: .55rem 1.1rem; border-radius: 999px; background: var(--color-accent); color: #fff; }
  .primary-nav .nav-cta::after { display: none; }
  .primary-nav .nav-cta:hover { color: #fff; transform: translateY(-1px); }
}

/* === Hero === */
.hero { position: relative; overflow: hidden; padding: 4rem 0 3rem; text-align: center; background: linear-gradient(180deg, rgba(37, 99, 235, .04), transparent 60%); }
.hero__glow { position: absolute; inset: -20% -10% auto -10%; height: 60%; background: radial-gradient(60% 60% at 50% 40%, rgba(37, 99, 235, .18), transparent 70%); pointer-events: none; z-index: 0; }
.hero .container { position: relative; z-index: 1; }
.hero h1 { max-width: 22ch; margin-inline: auto; }
.hero__sub { max-width: 52ch; margin-inline: auto; color: var(--color-secondary); font-size: 1.15rem; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; margin-top: 1.75rem; }
.hero__figure { margin: 3rem 0 0; }
.hero__figure img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
@media (min-width: 768px) { .hero { padding: 6rem 0 4rem; } }

/* === Sections === */
.section { padding: 4rem 0; }
.section-alt { background: linear-gradient(180deg, #fff, var(--color-neutral-light)); border-top: 1px solid rgba(30,41,59,.05); border-bottom: 1px solid rgba(30,41,59,.05); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 2.5rem; }
.section-head p { color: var(--color-secondary); }
@media (min-width: 768px) { .section { padding: 6rem 0; } }

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

.card { background: #fff; border-radius: var(--radius); padding: 1.75rem; border: 1px solid rgba(30,41,59,.08); box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease); color: var(--color-neutral-dark); }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(37,99,235,.35); }
.card__icon { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; background: linear-gradient(135deg, rgba(37,99,235,.12), rgba(37,99,235,.04)); color: var(--color-accent); margin-bottom: 1rem; }
.card h3 { margin-bottom: .5rem; }
.card p { color: var(--color-secondary); margin: 0; }
.card-link { text-decoration: none; display: block; }
.card-link:hover h3 { color: var(--color-accent); }

/* === Testimonial === */
.testimonial { margin: 0; padding: 2rem 1rem; text-align: center; }
.testimonial p { font-family: var(--font-heading); font-size: clamp(1.25rem, 2.2vw, 1.6rem); line-height: 1.5; color: var(--color-neutral-dark); max-width: 46ch; margin: 0 auto 1.25rem; }
.testimonial cite { font-style: normal; color: var(--color-secondary); font-size: .95rem; }

/* === CTA band === */
.cta-band { background: linear-gradient(135deg, var(--color-neutral-dark), #0F172A); color: var(--color-neutral-light); padding: 4rem 0; text-align: center; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 60% at 50% 0%, rgba(37,99,235,.35), transparent 70%); pointer-events: none; }
.cta-band .container { position: relative; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(248,250,252,.75); max-width: 52ch; margin: 0 auto 1.5rem; }

/* === Contact page === */
.contact-grid { display: grid; gap: 2.5rem; grid-template-columns: 1fr; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1.1fr; align-items: start; } }
.contact-info address { font-style: normal; line-height: 1.8; margin-bottom: 1.5rem; }
.hours { width: 100%; border-collapse: collapse; }
.hours th, .hours td { text-align: left; padding: .6rem 0; border-bottom: 1px solid rgba(30,41,59,.08); font-weight: 400; }
.hours th { color: var(--color-secondary); }

.contact-form { background: #fff; padding: 2rem; border-radius: var(--radius); box-shadow: var(--shadow-md); border: 1px solid rgba(30,41,59,.06); }
.contact-form h2 { margin-bottom: 1.25rem; }
.field { margin-bottom: 1rem; }
.field label { display: block; font-family: var(--font-heading); font-weight: 500; font-size: .9rem; margin-bottom: .35rem; color: var(--color-neutral-dark); }
.field input, .field textarea { width: 100%; padding: .75rem .9rem; border: 1px solid rgba(30,41,59,.18); border-radius: 10px; font-family: var(--font-body); font-size: 1rem; background: var(--color-neutral-light); 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-accent); box-shadow: 0 0 0 4px rgba(37,99,235,.15); }
.form-consent { display: flex; align-items: flex-start; gap: .6rem; font-size: .85rem; color: var(--color-secondary); margin: 1rem 0 1.25rem; line-height: 1.5; }
.form-consent input { margin-top: .25rem; flex-shrink: 0; }

/* === FAQ === */
.faq details { border-bottom: 1px solid rgba(30,41,59,.1); padding: 1rem 0; }
.faq summary { cursor: pointer; font-family: var(--font-heading); font-weight: 600; font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; color: var(--color-neutral-dark); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; line-height: 1; color: var(--color-accent); transition: transform .2s var(--ease); }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin-top: .75rem; color: var(--color-secondary); }

/* === Footer === */
.site-footer { background: var(--color-neutral-dark); color: rgba(248,250,252,.78); padding: 4rem 0 1.5rem; margin-top: 4rem; }
.site-footer h3 { color: #fff; font-size: 1rem; margin-bottom: 1rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }
.site-footer a { color: rgba(248,250,252,.78); }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; gap: 2.5rem; grid-template-columns: 1fr; margin-bottom: 2.5rem; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.2fr 1fr 1.2fr; } }
.footer-tagline { color: rgba(248,250,252,.65); margin-top: 1rem; max-width: 32ch; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.site-footer address { font-style: normal; line-height: 1.8; margin-bottom: 1.25rem; }
.legal-links { border-top: 1px solid rgba(248,250,252,.12); padding-top: 1rem; font-size: .9rem; }
.copyright { text-align: center; font-size: .85rem; color: rgba(248,250,252,.55); border-top: 1px solid rgba(248,250,252,.1); padding-top: 1.5rem; margin: 0; }
.site-footer .logo img { filter: brightness(0) invert(1); }

/* === 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: var(--shadow-lg); max-width: 640px; }
@media (min-width: 720px) { .cookie-banner { left: auto; right: 1.5rem; bottom: 1.5rem; } }
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 1rem; font-size: .92rem; line-height: 1.5; }
.cookie-banner p a { color: #fff; text-decoration: underline; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.cookie-banner__actions .btn { padding: .55rem 1rem; font-size: .9rem; }
.cookie-banner__actions .btn-ghost { color: var(--color-neutral-light); border-color: rgba(248,250,252,.25); }
.cookie-banner__actions .btn-ghost:hover { color: #fff; border-color: #fff; }
.cookie-banner__prefs { margin-top: 1rem; display: grid; gap: .5rem; }
.cookie-banner__prefs label { display: flex; align-items: center; gap: .5rem; font-size: .9rem; }
.cookie-banner__prefs .btn { margin-top: .5rem; align-self: flex-start; }

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