:root {
  --color-primary: #18181B;
  --color-secondary: #3F3F46;
  --color-accent: #2563EB;
  --color-neutral-dark: #09090B;
  --color-neutral-light: #FAFAFA;
  --color-border: rgba(9, 9, 11, 0.10);
  --color-tint: #F1F3F8;
  --font-heading: 'Sora', sans-serif;
  --font-body: 'Inter', sans-serif;
  --radius-lg: 20px;
  --radius-md: 14px;
  --shadow-sm: 0 2px 20px rgba(0,0,0,0.06);
  --shadow-md: 0 10px 30px -12px rgba(0,0,0,0.18);
  --shadow-lg: 0 30px 60px -30px rgba(0,0,0,0.28);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* === Base === */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-primary);
  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-accent); 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 1rem;
}
h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); font-weight: 700; }
h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 600; }
h3 { font-size: 1.25rem; font-weight: 600; }
p { margin: 0 0 1rem; }
.center { text-align: center; }

.container { width: 100%; max-width: 1160px; margin-inline: auto; padding-inline: 1.25rem; }
.container.narrow { max-width: 720px; }

/* === Header / Nav === */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250, 250, 250, 0.72);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid transparent;
  transition: background .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.site-header.scrolled {
  background: rgba(250, 250, 250, 0.92);
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
  border-bottom-color: var(--color-border);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding-block: 0.85rem; gap: 1rem;
}
.logo { display: inline-flex; align-items: center; }
.logo img { height: 72px; width: auto; }
.primary-nav { display: flex; align-items: center; }
.nav-list {
  list-style: none; margin: 0; padding: 0;
  display: none; flex-direction: column; gap: 0.25rem;
  position: absolute; top: 100%; left: 0; right: 0;
  background: var(--color-neutral-light);
  border-bottom: 1px solid var(--color-border);
  padding: 1rem 1.25rem;
}
.nav-list.is-open { display: flex; }
.nav-list a {
  color: var(--color-primary); text-decoration: none;
  display: inline-block; padding: 0.6rem 0.25rem;
  font-weight: 500; position: relative;
}
.nav-list a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0.4rem; height: 2px;
  background: var(--color-accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform .2s var(--ease);
}
.nav-list a:hover::after, .nav-list a[aria-current="page"]::after { transform: scaleX(1); }
.nav-list a:hover { text-decoration: none; }
.nav-cta {
  background: var(--color-neutral-dark); color: var(--color-neutral-light) !important;
  padding: 0.55rem 1rem !important; border-radius: 999px;
}
.nav-cta::after { display: none; }
.nav-cta:hover { background: var(--color-primary); }
.nav-toggle {
  background: transparent; border: 1px solid var(--color-border);
  color: var(--color-primary); border-radius: 10px; padding: 0.4rem;
  cursor: pointer; display: inline-flex;
}

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .nav-list {
    display: flex; flex-direction: row; align-items: center; gap: 1.75rem;
    position: static; background: transparent; border: 0; padding: 0;
  }
}
@media (min-width: 768px) {
  .logo img { height: 96px; }
}

/* === Hero (centered) === */
.hero {
  position: relative;
  padding-block: 4.5rem 3.5rem;
  text-align: center;
  overflow: hidden;
}
.hero-glow {
  position: absolute; inset: -20% 0 auto 0; height: 520px;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(37, 99, 235, 0.14), transparent 60%),
    radial-gradient(ellipse at 70% 30%, rgba(37, 99, 235, 0.08), transparent 65%);
  pointer-events: none; z-index: 0;
}
.hero > .container { position: relative; z-index: 1; }
.eyebrow {
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  color: var(--color-accent);
  font-weight: 600;
  margin-bottom: 1rem;
}
.hero h1 {
  max-width: 22ch; margin-inline: auto;
}
.hero-sub {
  max-width: 52ch; margin: 0.75rem auto 1.75rem;
  font-size: 1.15rem; color: var(--color-secondary);
}
.hero-actions { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; margin-bottom: 2.5rem; }
.hero-figure {
  margin: 2.5rem auto 0; max-width: 1000px;
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.hero-figure img { aspect-ratio: 16/9; object-fit: cover; width: 100%; }

@media (min-width: 768px) {
  .hero { padding-block: 6.5rem 4.5rem; }
}

/* === Buttons === */
.btn {
  display: inline-block;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.98rem;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none !important;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
}
.btn-primary {
  background: linear-gradient(135deg, var(--color-accent), #1d4fd8);
  color: #fff;
  box-shadow: 0 8px 24px -8px rgba(37, 99, 235, 0.55);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 30px -10px rgba(37, 99, 235, 0.6); }
.btn-ghost {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-border);
}
.btn-ghost:hover { background: #fff; transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn:focus-visible { outline: 3px solid rgba(37,99,235,0.35); outline-offset: 2px; }

/* === Sections === */
.section { padding-block: 4rem; }
@media (min-width: 768px) { .section { padding-block: 5.5rem; } }
.section-tint { background: var(--color-tint); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 2.5rem; }
.lede { color: var(--color-secondary); font-size: 1.1rem; }

/* === Cards / Grids === */
.grid-3, .grid-2 {
  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-3 { grid-template-columns: repeat(3, 1fr); } }

.card {
  background: #fff;
  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);
  display: block;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card-link { color: inherit; text-decoration: none !important; }
.card-link:hover { color: inherit; }
.card-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 12px;
  background: rgba(37, 99, 235, 0.10);
  color: var(--color-accent);
  margin-bottom: 1rem;
}
.card h3 { margin-bottom: 0.5rem; }
.card p { color: var(--color-secondary); margin: 0; }

/* === Testimonial === */
.testimonial {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  margin: 0;
  text-align: center;
  box-shadow: var(--shadow-sm);
  position: relative;
}
.testimonial .quote-mark { color: var(--color-accent); opacity: 0.5; margin: 0 auto 0.5rem; }
.testimonial p { font-size: 1.15rem; color: var(--color-primary); font-style: italic; margin-bottom: 1rem; }
.testimonial cite {
  font-style: normal; font-weight: 600; color: var(--color-secondary);
  font-size: 0.95rem;
}

/* === CTA band === */
.cta-band {
  background: linear-gradient(135deg, var(--color-neutral-dark), #1c1c22);
  color: var(--color-neutral-light);
  text-align: center;
  padding-block: 4rem;
  position: relative; overflow: hidden;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 20% 30%, rgba(37,99,235,0.28), transparent 55%);
  pointer-events: none;
}
.cta-band > .container { position: relative; }
.cta-band h2 { color: #fff; max-width: 22ch; margin-inline: auto; }
.cta-band p { color: rgba(255,255,255,0.78); max-width: 55ch; margin: 0 auto 1.75rem; }

/* === FAQ === */
.faq details {
  background: #fff; border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem; margin-bottom: 0.75rem;
  transition: box-shadow .2s var(--ease);
}
.faq details[open] { box-shadow: var(--shadow-sm); }
.faq summary {
  cursor: pointer; font-family: var(--font-heading); font-weight: 600;
  font-size: 1.05rem; list-style: none; padding-right: 2rem; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  font-size: 1.5rem; color: var(--color-accent); transition: transform .2s var(--ease);
}
.faq details[open] summary::after { content: "−"; }
.faq details p { margin-top: 0.75rem; color: var(--color-secondary); }

/* === Contact band === */
.contact-band {
  display: grid; grid-template-columns: 1fr; gap: 1rem;
  margin-bottom: 2rem;
}
@media (min-width: 768px) { .contact-band { grid-template-columns: repeat(3, 1fr); } }
.contact-card {
  background: #fff; border: 1px solid var(--color-border);
  border-radius: var(--radius-md); padding: 1.5rem;
  font-style: normal; box-shadow: var(--shadow-sm);
}
.contact-card strong { display: block; font-family: var(--font-heading); margin-bottom: 0.5rem; color: var(--color-neutral-dark); }

.hours-card {
  background: #fff; border: 1px solid var(--color-border);
  border-radius: var(--radius-md); padding: 1.5rem 1.75rem;
  max-width: 520px; margin: 0 auto; box-shadow: var(--shadow-sm);
}
.hours-card h3 { margin-bottom: 1rem; }
.hours-list { list-style: none; padding: 0; margin: 0; }
.hours-list li {
  display: flex; justify-content: space-between;
  padding: 0.5rem 0; border-bottom: 1px solid var(--color-border);
  color: var(--color-secondary);
}
.hours-list li:last-child { border-bottom: 0; }

/* === Form === */
.contact-form {
  background: #fff; border: 1px solid var(--color-border);
  border-radius: var(--radius-lg); padding: 2rem;
  box-shadow: var(--shadow-sm);
}
.form-row { margin-bottom: 1.15rem; }
.form-row label {
  display: block; font-family: var(--font-heading); font-weight: 500;
  margin-bottom: 0.4rem; font-size: 0.95rem;
}
.contact-form input, .contact-form textarea {
  width: 100%; padding: 0.75rem 0.9rem;
  border: 1px solid var(--color-border); border-radius: 10px;
  font-family: inherit; font-size: 1rem;
  background: var(--color-neutral-light);
  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-accent);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.15);
}
.form-consent {
  display: flex; gap: 0.6rem; align-items: flex-start;
  font-size: 0.9rem; color: var(--color-secondary);
  margin: 0.5rem 0 1.5rem;
}
.form-consent input { margin-top: 0.2rem; }

/* === Footer === */
.site-footer {
  background: var(--color-neutral-dark);
  color: rgba(255,255,255,0.72);
  padding-block: 3rem 1.5rem;
  margin-top: 2rem;
}
.footer-grid {
  display: grid; gap: 2rem; grid-template-columns: 1fr;
}
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1.2fr; } }
.site-footer h4 {
  color: #fff; font-size: 0.95rem; text-transform: uppercase;
  letter-spacing: 0.12em; margin-bottom: 1rem;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 0.5rem; }
.site-footer a { color: rgba(255,255,255,0.72); }
.site-footer a:hover { color: #fff; }
.site-footer address { font-style: normal; margin-bottom: 1rem; line-height: 1.7; }
.tagline { color: rgba(255,255,255,0.7); font-size: 0.95rem; margin-top: 0.75rem; }
.logo-footer img { height: 60px; filter: brightness(0) invert(1); opacity: 0.95; }
.legal-links { margin-top: 1rem; }
.legal-links li { font-size: 0.9rem; }
.copyright {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 1.5rem; margin-top: 2.5rem;
  color: rgba(255,255,255,0.5); font-size: 0.85rem;
}

/* === Cookie banner === */
.cookie-banner {
  position: fixed; left: 1rem; right: 1rem; bottom: 1rem;
  display: none; z-index: 9999;
  max-width: 620px; margin-inline: auto;
  background: var(--color-neutral-dark); color: var(--color-neutral-light);
  border-radius: var(--radius-md); padding: 1.25rem 1.35rem;
  box-shadow: 0 24px 60px -20px rgba(0,0,0,0.5);
  font-size: 0.92rem;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 0.85rem; color: rgba(255,255,255,0.85); }
.cookie-banner__actions { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.cookie-banner button {
  padding: 0.55rem 1rem; border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.2); background: transparent;
  color: #fff; font-family: var(--font-heading); font-weight: 500;
  cursor: pointer; font-size: 0.88rem;
  transition: background .2s var(--ease);
}
.cookie-banner button:hover { background: rgba(255,255,255,0.08); }
.cookie-banner [data-cookie-accept] {
  background: var(--color-accent); border-color: var(--color-accent);
}
.cookie-banner [data-cookie-accept]:hover { background: #1d4fd8; }
.cookie-banner__prefs {
  margin-top: 0.9rem; padding-top: 0.9rem;
  border-top: 1px solid rgba(255,255,255,0.12);
  display: flex; flex-direction: column; gap: 0.5rem;
}
.cookie-banner__prefs label { display: flex; gap: 0.5rem; align-items: center; font-size: 0.9rem; }
.cookie-banner__prefs button {
  align-self: flex-start; margin-top: 0.4rem;
  background: var(--color-accent); border-color: var(--color-accent);
}

/* === 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; }
  html { scroll-behavior: auto; }
}
