:root {
  --color-primary: #18181B;
  --color-secondary: #3F3F46;
  --color-accent: #2563EB;
  --color-neutral-dark: #09090B;
  --color-neutral-light: #FAFAFA;
  --surface: #FFFFFF;
  --border: rgba(9, 9, 11, 0.10);
  --border-strong: rgba(9, 9, 11, 0.18);
  --muted: #6B7280;
  --font-heading: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 2px 12px rgba(9,9,11,0.06);
  --shadow: 0 10px 30px -12px rgba(9,9,11,0.18);
  --shadow-lg: 0 30px 60px -30px rgba(9,9,11,0.35);
}

/* === Base === */
* { 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.2; letter-spacing: -0.01em; margin: 0 0 0.75rem; }
h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); font-weight: 700; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); font-weight: 600; }
h3 { font-size: 1.25rem; font-weight: 600; }
p { margin: 0 0 1rem; }
.muted { color: var(--muted); }
.eyebrow {
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  color: var(--color-accent);
  font-weight: 600;
  margin: 0 0 1rem;
}

/* === Header / Nav (glass) === */
.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);
  border-bottom-color: var(--border);
  box-shadow: 0 4px 20px -12px rgba(9,9,11,0.15);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.9rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.logo { display: inline-flex; align-items: center; }
.logo img { height: 72px; width: auto; }
.primary-nav { display: none; gap: 0.25rem; }
.primary-nav a {
  position: relative;
  color: var(--color-primary);
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color .2s ease;
}
.primary-nav a::after {
  content: "";
  position: absolute;
  left: 0.85rem; right: 0.85rem; bottom: 0.35rem;
  height: 2px;
  background: var(--color-accent);
  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); }
.nav-toggle {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--color-primary);
  padding: 0.5rem;
  border-radius: 10px;
  cursor: pointer;
  display: inline-flex;
}
.nav-toggle:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; }

/* === Buttons === */
.btn {
  display: inline-block;
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  font-weight: 600;
  font-family: var(--font-body);
  font-size: 0.98rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s ease;
  text-decoration: none;
}
.btn-primary {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: var(--color-neutral-light);
  box-shadow: 0 10px 24px -12px rgba(9,9,11,0.5);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 32px -14px rgba(9,9,11,0.55); text-decoration: none; }
.btn-accent {
  background: var(--color-accent);
  color: #fff;
  box-shadow: 0 10px 24px -10px rgba(37,99,235,0.6);
}
.btn-accent:hover { transform: translateY(-2px); box-shadow: 0 18px 34px -12px rgba(37,99,235,0.7); text-decoration: none; }
.btn-ghost {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--border-strong);
}
.btn-ghost:hover { background: rgba(9,9,11,0.04); text-decoration: none; }
.btn:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 3px; }

/* === Hero (hero-card) === */
.hero {
  position: relative;
  padding: 3rem 1.25rem 4rem;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -20% 10% auto auto;
  width: 60vw;
  height: 60vw;
  max-width: 900px;
  max-height: 900px;
  background: radial-gradient(circle at center, rgba(37,99,235,0.16), transparent 60%);
  pointer-events: none;
  z-index: 0;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 40% auto auto -10%;
  width: 40vw;
  height: 40vw;
  background: radial-gradient(circle at center, rgba(24,24,27,0.10), transparent 65%);
  pointer-events: none;
  z-index: 0;
}
.hero-card__box {
  position: relative;
  z-index: 1;
  max-width: 880px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.25rem 1.5rem;
  box-shadow: var(--shadow-lg);
}
.hero-card__box h1 { max-width: 22ch; }
.lede { font-size: 1.15rem; color: var(--color-secondary); max-width: 55ch; }
.lede-muted { color: var(--muted); max-width: 55ch; margin-bottom: 1.5rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 1.5rem 0 2rem; }
.hero-card__image {
  margin-top: 1.5rem;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, #e4e4e7, #f4f4f5);
}
.hero-card__image img { width: 100%; height: 100%; object-fit: cover; }

/* === Sections === */
.section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 1.25rem;
}
.section-narrow {
  max-width: 760px;
}
.section-title {
  text-align: center;
  margin-bottom: 2.5rem;
}

/* === Grid & cards === */
.grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card p:last-child { margin-bottom: 0; }
.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;
}

/* === Testimonial === */
.testimonial {
  margin: 0;
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem 1.75rem;
  box-shadow: var(--shadow-sm);
  position: relative;
}
.testimonial p {
  font-family: var(--font-heading);
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  color: var(--color-primary);
  line-height: 1.45;
  max-width: 55ch;
  margin: 0 auto 1rem;
}
.testimonial cite {
  font-style: normal;
  font-weight: 600;
  color: var(--color-secondary);
  font-size: 0.95rem;
}

/* === CTA band === */
.cta-band {
  margin: 4rem 1.25rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: var(--color-neutral-light);
  padding: 3rem 1.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: -50% -20% auto auto;
  width: 60%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(37,99,235,0.35), transparent 60%);
  pointer-events: none;
}
.cta-band__inner { position: relative; max-width: 640px; margin: 0 auto; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(250,250,250,0.85); margin-bottom: 1.75rem; }

/* === FAQ === */
.faq details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  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-weight: 600;
  font-family: var(--font-heading);
  color: var(--color-primary);
  list-style: none;
  padding-right: 1.5rem;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 0; top: -2px;
  font-size: 1.4rem;
  color: var(--color-accent);
  transition: transform .2s ease;
}
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 0.85rem 0 0.25rem; color: var(--color-secondary); }

/* === Contact form === */
.contact-form { display: grid; gap: 1rem; }
.field { display: grid; gap: 0.35rem; }
.field label { font-weight: 500; font-size: 0.92rem; color: var(--color-secondary); }
.field input,
.field textarea {
  font: inherit;
  color: var(--color-primary);
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  background: var(--surface);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 4px rgba(37,99,235,0.15);
}
.form-consent {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  font-size: 0.88rem;
  color: var(--color-secondary);
  line-height: 1.45;
}
.form-consent input { margin-top: 0.2rem; flex: 0 0 auto; }
.contact-form .btn { justify-self: start; }

/* === Contact band === */
.contact-band { max-width: 1000px; margin: 0 auto; }
.contact-band__intro { text-align: center; margin-bottom: 2rem; }
.hours-table {
  width: 100%;
  margin-top: 2rem;
  border-collapse: collapse;
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}
.hours-table caption {
  text-align: left;
  padding: 1rem 1rem 0.5rem;
  font-weight: 600;
  font-family: var(--font-heading);
  color: var(--color-primary);
  caption-side: top;
}
.hours-table th, .hours-table td {
  padding: 0.7rem 1rem;
  border-bottom: 1px solid var(--border);
  text-align: left;
  font-size: 0.95rem;
}
.hours-table th { color: var(--color-secondary); font-weight: 500; }
.hours-table tr:last-child th, .hours-table tr:last-child td { border-bottom: 0; }

/* === Footer === */
.site-footer {
  background: var(--color-neutral-dark);
  color: rgba(250,250,250,0.75);
  padding: 3.5rem 1.25rem 1.75rem;
  margin-top: 3rem;
}
.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
.site-footer .logo img { height: 60px; filter: brightness(0) invert(1); }
.site-footer h4 {
  color: #fff;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.9rem;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 0.4rem; }
.site-footer a { color: rgba(250,250,250,0.85); }
.site-footer a:hover { color: #fff; }
.site-footer address { font-style: normal; margin-bottom: 1rem; line-height: 1.7; }
.legal-links { margin-top: 0.75rem; font-size: 0.9rem; }
.copyright {
  max-width: 1200px;
  margin: 2.5rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(250,250,250,0.10);
  font-size: 0.85rem;
  color: rgba(250,250,250,0.55);
}

/* === 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);
  box-shadow: var(--shadow-lg);
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 1rem; font-size: 0.92rem; line-height: 1.5; }
.cookie-banner__actions { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.cookie-banner__actions button,
.cookie-banner__prefs button {
  font: inherit;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(250,250,250,0.25);
  background: transparent;
  color: var(--color-neutral-light);
  cursor: pointer;
  font-size: 0.9rem;
}
.cookie-banner [data-cookie-accept],
.cookie-banner [data-cookie-save] {
  background: var(--color-accent);
  border-color: var(--color-accent);
}
.cookie-banner__prefs {
  margin-top: 1rem;
  display: grid;
  gap: 0.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(250,250,250,0.15);
}
.cookie-banner__prefs label {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.9rem;
}
.cookie-banner__prefs [data-cookie-save] { justify-self: start; margin-top: 0.5rem; }

/* === Reveal on scroll === */
.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) {
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .hero-card__box { padding: 3rem 2.5rem; }
  .contact-form { grid-template-columns: 1fr 1fr; }
  .contact-form .field:nth-child(5),
  .contact-form .form-consent,
  .contact-form button[type="submit"] { grid-column: 1 / -1; }
}
@media (min-width: 768px) {
  .logo img { height: 96px; }
  .site-footer .logo img { height: 72px; }
  .primary-nav { display: inline-flex; }
  .nav-toggle { display: none; }
  .hero { padding: 5rem 1.5rem 6rem; }
  .hero-card__box { padding: 3.5rem 3rem; }
  .section { padding: 5rem 1.5rem; }
  .cta-band { margin: 5rem 1.5rem; padding: 4rem 2rem; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1.2fr 1fr 1.4fr; }
}
@media (min-width: 1024px) {
  .hero { padding: 6rem 1.5rem 7rem; }
}

/* === Mobile nav open state === */
@media (max-width: 767px) {
  .primary-nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 1rem 1.25rem;
    gap: 0.25rem;
    box-shadow: var(--shadow);
  }
  .primary-nav.open a { padding: 0.75rem 0.5rem; border-radius: 8px; }
  .primary-nav.open a::after { display: none; }
}
