:root {
  --color-primary: #64748B;
  --color-secondary: #94A3B8;
  --color-accent: #F97316;
  --color-neutral-dark: #334155;
  --color-neutral-light: #F8FAFC;
  --font-heading: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --radius: 16px;
  --radius-lg: 24px;
  --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);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --border: 1px solid rgba(51, 65, 85, 0.12);
}

/* === Reset === */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-neutral-dark);
  background: var(--color-neutral-light);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--color-accent); }
h1, h2, h3 { font-family: var(--font-heading); color: var(--color-neutral-dark); line-height: 1.2; letter-spacing: -0.02em; margin: 0 0 1rem; font-weight: 600; }
h1 { font-size: clamp(2.25rem, 5vw, 4rem); font-weight: 700; }
h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1rem; }
address { font-style: normal; line-height: 1.7; }

/* === Layout === */
.container { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: 1.25rem; }
.container.narrow { max-width: 760px; }
.section { padding-block: 4rem; }
.section-tinted { background: linear-gradient(180deg, #fff 0%, rgba(148, 163, 184, 0.08) 100%); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 2.5rem; }
.section-head p { color: var(--color-primary); font-size: 1.05rem; }

/* === Header (glass 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(51, 65, 85, 0.06);
  transition: box-shadow .3s var(--ease), background .3s var(--ease);
}
.site-header.scrolled { background: rgba(248, 250, 252, 0.92); box-shadow: 0 6px 24px -12px rgba(15,23,42,0.15); }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding-block: .75rem; gap: 1rem; }
.logo { display: inline-flex; align-items: center; }
.logo img { height: 72px; width: auto; display: block; }
.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  background: transparent; border: 0; color: var(--color-neutral-dark);
  padding: .5rem; cursor: pointer; border-radius: 8px;
}
.nav-toggle:hover { background: rgba(51,65,85,0.06); }
.primary-nav {
  position: absolute;
  top: 100%; left: 0; right: 0;
  display: none;
  flex-direction: column;
  gap: 0;
  background: var(--color-neutral-light);
  padding: 1rem 1.25rem 1.5rem;
  border-bottom: var(--border);
  box-shadow: var(--shadow-sm);
}
.primary-nav.is-open { display: flex; }
.primary-nav a {
  color: var(--color-neutral-dark);
  font-weight: 500;
  padding: .75rem 0;
  border-bottom: 1px solid rgba(51,65,85,0.06);
  position: relative;
}
.primary-nav a[aria-current="page"] { color: var(--color-accent); }

@media (min-width: 768px) {
  .logo img { height: 96px; }
  .nav-toggle { display: none; }
  .primary-nav {
    position: static;
    display: flex;
    flex-direction: row;
    gap: 2rem;
    background: transparent;
    padding: 0;
    border: 0;
    box-shadow: none;
  }
  .primary-nav a { padding: .5rem 0; border: 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); }
}

/* === Buttons === */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .95rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  font-family: var(--font-body);
  font-size: 1rem;
  border: 0;
  cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease), color .2s var(--ease);
  text-decoration: none;
  line-height: 1;
}
.btn + .btn { margin-left: .5rem; }
.btn-primary {
  background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark));
  color: #fff;
  box-shadow: 0 10px 25px -10px rgba(51,65,85,0.5);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -8px rgba(51,65,85,0.55); color: #fff; }
.btn-accent {
  background: linear-gradient(135deg, var(--color-accent), #ea580c);
  color: #fff;
  box-shadow: 0 10px 25px -10px rgba(249,115,22,0.55);
}
.btn-accent:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -8px rgba(249,115,22,0.6); color: #fff; }
.btn-ghost {
  background: transparent;
  color: var(--color-neutral-dark);
  border: 1px solid rgba(51,65,85,0.2);
}
.btn-ghost:hover { border-color: var(--color-neutral-dark); transform: translateY(-2px); }
.btn:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 3px; }

/* === Hero === */
.hero { position: relative; padding-block: 4rem 3rem; overflow: hidden; }
.hero::before {
  content: "";
  position: absolute;
  inset: -20% 20% auto -10%;
  height: 480px;
  background: radial-gradient(closest-side, rgba(249,115,22,0.12), transparent 70%);
  z-index: 0;
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto -20% -30% 30%;
  height: 520px;
  background: radial-gradient(closest-side, rgba(100,116,139,0.18), transparent 70%);
  z-index: 0;
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero-centered { text-align: center; }
.hero-centered h1 { max-width: 28ch; margin-inline: auto; }
.hero-sub { font-size: 1.15rem; color: var(--color-primary); max-width: 52ch; margin: 1.25rem auto 2rem; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.14em; font-size: .82rem; font-weight: 600; color: var(--color-accent); margin-bottom: 1rem; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; margin-bottom: 3rem; }
.hero-actions .btn + .btn { margin-left: 0; }
.hero-figure {
  margin: 3rem auto 0;
  max-width: 980px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.hero-figure img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }

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

/* === Cards grid === */
.cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 640px) {
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .cards-grid { grid-template-columns: repeat(4, 1fr); }
  .cards-grid--3 { grid-template-columns: repeat(3, 1fr); }
}
.card {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.75rem;
  border: var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
  display: block;
  color: inherit;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card-link { text-decoration: none; }
.card-link:hover { color: inherit; }
.card h3 { margin-top: .75rem; }
.card p { color: var(--color-primary); margin-bottom: 0; font-size: .97rem; }
.card-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(249,115,22,0.1);
  color: var(--color-accent);
}

/* === Split layout === */
.split { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: center; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; gap: 4rem; }
}
.split-image img { border-radius: var(--radius-lg); aspect-ratio: 4/3; object-fit: cover; box-shadow: var(--shadow-md); }

/* === Lead paragraph === */
.lead { font-size: 1.1rem; color: var(--color-primary); line-height: 1.75; }

/* === Testimonial === */
.testimonial {
  margin: 0 auto;
  max-width: 720px;
  text-align: center;
  padding: 2rem 1rem;
  position: relative;
}
.testimonial::before {
  content: "“";
  font-family: var(--font-heading);
  font-size: 5rem;
  line-height: 1;
  color: var(--color-accent);
  opacity: 0.35;
  display: block;
  margin-bottom: -1rem;
}
.testimonial p { font-size: 1.2rem; font-family: var(--font-heading); font-weight: 500; color: var(--color-neutral-dark); line-height: 1.5; }
.testimonial cite { display: block; margin-top: 1.25rem; font-style: normal; color: var(--color-primary); font-size: .95rem; letter-spacing: 0.02em; }
.testimonial--left { text-align: left; }
.testimonial--left::before { text-align: left; }

/* === CTA band === */
.cta-band {
  background: linear-gradient(135deg, var(--color-neutral-dark), var(--color-primary));
  color: #fff;
  text-align: center;
  padding-block: 4rem;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: -50% 30% auto -20%;
  height: 400px;
  background: radial-gradient(closest-side, rgba(249,115,22,0.35), transparent 70%);
  pointer-events: none;
}
.cta-band .container { position: relative; }
.cta-band h2 { color: #fff; margin-bottom: .75rem; }
.cta-band p { color: rgba(255,255,255,0.85); margin-bottom: 1.75rem; max-width: 52ch; margin-inline: auto; }

/* === FAQ === */
.faq details {
  background: #fff;
  border: var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  margin-bottom: .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;
  color: var(--color-neutral-dark);
  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);
  line-height: 1;
}
.faq details[open] summary::after { content: "−"; }
.faq details p { margin-top: 1rem; color: var(--color-primary); margin-bottom: 0; }

/* === Contact === */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1fr; gap: 3rem; } }
.contact-card {
  background: #fff;
  border: var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}
.contact-card h3 { margin-top: 1.25rem; font-size: .85rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--color-primary); }
.contact-card h3:first-child { margin-top: 0; }
.hours { width: 100%; border-collapse: collapse; margin-top: .5rem; }
.hours th, .hours td { text-align: left; padding: .4rem 0; border-bottom: 1px solid rgba(51,65,85,0.08); font-weight: 400; }
.hours th { color: var(--color-neutral-dark); font-weight: 500; }
.hours td { color: var(--color-primary); text-align: right; }

/* === Form === */
.contact-form {
  background: #fff;
  border: var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}
.contact-form h3 { margin-top: 0; }
.field { margin-bottom: 1.1rem; }
.field label {
  display: block;
  font-size: .9rem;
  font-weight: 500;
  color: var(--color-neutral-dark);
  margin-bottom: .4rem;
}
.field input, .field textarea {
  width: 100%;
  padding: .8rem 1rem;
  border-radius: 10px;
  border: 1px solid rgba(51,65,85,0.18);
  background: var(--color-neutral-light);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-neutral-dark);
  transition: border .2s var(--ease), box-shadow .2s var(--ease);
}
.field input:focus, .field textarea:focus {
  outline: 0;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(249,115,22,0.15);
}
.form-consent {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  font-size: .88rem;
  color: var(--color-primary);
  margin: 1rem 0 1.25rem;
  line-height: 1.5;
}
.form-consent input { margin-top: .25rem; flex-shrink: 0; }

/* === Footer === */
.site-footer {
  background: var(--color-neutral-dark);
  color: rgba(248,250,252,0.75);
  padding-block: 3.5rem 1.5rem;
  margin-top: 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1.2fr; gap: 3rem; } }
.site-footer h3 { color: #fff; font-size: 1rem; margin-bottom: 1rem; text-transform: uppercase; letter-spacing: 0.1em; }
.site-footer a { color: rgba(248,250,252,0.75); }
.site-footer a:hover { color: var(--color-accent); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .5rem; }
.logo-footer img { height: 60px; width: auto; margin-bottom: 1rem; filter: brightness(0) invert(1); }
.legal-links { margin-top: 1.25rem; font-size: .88rem; }
.copyright { border-top: 1px solid rgba(248,250,252,0.1); padding-top: 1.25rem; text-align: center; font-size: .85rem; color: rgba(248,250,252,0.5); }
.copyright p { margin: 0; }

/* === 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);
  padding: 1.25rem 1.5rem;
  box-shadow: 0 20px 60px -10px rgba(0,0,0,0.5);
  max-width: 640px;
  margin-inline: auto;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 1rem; font-size: .92rem; line-height: 1.5; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.cookie-banner__actions button {
  border: 0;
  padding: .6rem 1rem;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: .88rem;
  font-weight: 600;
  cursor: pointer;
  background: rgba(248,250,252,0.14);
  color: var(--color-neutral-light);
  transition: background .2s var(--ease);
}
.cookie-banner__actions button:hover { background: rgba(248,250,252,0.24); }
.cookie-banner__actions button[data-cookie-accept] { background: var(--color-accent); }
.cookie-banner__actions button[data-cookie-accept]:hover { background: #ea580c; }
.cookie-banner__prefs { margin-top: 1rem; display: flex; flex-direction: column; gap: .5rem; font-size: .88rem; }
.cookie-banner__prefs label { display: flex; align-items: center; gap: .5rem; }
.cookie-banner__prefs button {
  margin-top: .5rem;
  align-self: flex-start;
  border: 0;
  padding: .55rem 1rem;
  border-radius: 8px;
  background: var(--color-accent);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
}

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