:root {
  --color-primary: #64748B;
  --color-secondary: #94A3B8;
  --color-accent: #F97316;
  --color-neutral-dark: #334155;
  --color-neutral-light: #F8FAFC;
  --font-heading: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 2px 20px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 12px 32px -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);
  --maxw: 1200px;
}

/* === 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.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; height: auto; }
a { color: var(--color-primary); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--color-accent); }
h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--color-neutral-dark); letter-spacing: -0.01em; line-height: 1.2; margin: 0 0 1rem; }
h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); font-weight: 700; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.65rem, 3.2vw, 2.25rem); font-weight: 600; }
h3 { font-size: 1.2rem; font-weight: 600; }
p { margin: 0 0 1rem; }

/* === 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(51, 65, 85, 0.08);
  transition: background .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header.scrolled {
  background: rgba(248, 250, 252, 0.92);
  box-shadow: 0 4px 24px -12px rgba(15, 23, 42, 0.18);
}
.nav-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: .75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.logo { display: inline-flex; align-items: center; }
.logo img { height: 72px; width: auto; }
.nav-toggle {
  background: transparent;
  border: 1px solid rgba(51,65,85,.15);
  border-radius: 10px;
  padding: .4rem .55rem;
  color: var(--color-neutral-dark);
  cursor: pointer;
}
.primary-nav {
  display: none;
  width: 100%;
  flex-direction: column;
  gap: .5rem;
  padding: .5rem 0 .75rem;
}
.primary-nav.open { display: flex; }
.primary-nav a {
  position: relative;
  color: var(--color-neutral-dark);
  font-weight: 500;
  padding: .5rem 0;
}
.primary-nav a[aria-current="page"] { color: var(--color-accent); }

/* === Buttons === */
.btn {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  padding: .85rem 1.4rem;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
  text-align: center;
  line-height: 1.2;
}
.btn-primary { background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark)); color: var(--color-neutral-light); box-shadow: 0 10px 24px -12px rgba(51,65,85,.5); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -14px rgba(51,65,85,.6); color: var(--color-neutral-light); }
.btn-accent { background: linear-gradient(135deg, var(--color-accent), #ea580c); color: #fff; box-shadow: 0 10px 24px -12px rgba(249,115,22,.55); }
.btn-accent:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -14px rgba(249,115,22,.65); color: #fff; }
.btn-ghost { background: transparent; color: var(--color-neutral-light); border-color: rgba(248,250,252,.35); }
.btn-ghost:hover { background: rgba(248,250,252,.12); color: var(--color-neutral-light); }
.btn-small { padding: .5rem .9rem; font-size: .9rem; }
.btn:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 3px; }

/* === Hero (hero-card) === */
.hero {
  position: relative;
  padding: 3rem 1.25rem 4rem;
  background:
    radial-gradient(circle at 15% 0%, rgba(249,115,22,0.09), transparent 55%),
    radial-gradient(circle at 85% 20%, rgba(100,116,139,0.16), transparent 60%),
    var(--color-neutral-light);
  overflow: hidden;
}
.hero-card__wrap {
  max-width: 880px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(51,65,85,.05);
  text-align: left;
}
.eyebrow {
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .8rem;
  color: var(--color-accent);
  font-weight: 600;
  margin-bottom: .75rem;
}
.lede { font-size: 1.15rem; color: var(--color-primary); max-width: 60ch; }
.hero-cta { margin-top: 1.5rem; }
.hero-card__figure {
  margin: 2rem 0 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.hero-card__figure img { aspect-ratio: 16/9; object-fit: cover; width: 100%; }

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

/* === Grid === */
.grid { display: grid; gap: 1.25rem; }
.grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }

/* === Card === */
.card {
  background: #fff;
  border: 1px solid rgba(51,65,85,.08);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(100,116,139,.15), rgba(249,115,22,.15));
  color: var(--color-primary);
  margin-bottom: 1rem;
}

/* === Stats === */
.stats .stat { background: #fff; border-radius: var(--radius); padding: 2rem 1.5rem; text-align: center; border: 1px solid rgba(51,65,85,.06); box-shadow: var(--shadow-sm); }
.stat-num {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: .5rem;
  letter-spacing: -0.02em;
}

/* === Team === */
.team-card { display: flex; flex-direction: column; }
.team-photo { margin: 0 0 1.25rem; border-radius: 12px; overflow: hidden; }
.team-photo img { aspect-ratio: 1/1; object-fit: cover; width: 100%; }

/* === Testimonial === */
.testimonial-section { padding-block: 4rem; }
.testimonial {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
  padding: 2.5rem 1.5rem;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(51,65,85,.06);
  position: relative;
}
.testimonial p { font-family: var(--font-heading); font-size: 1.25rem; line-height: 1.5; color: var(--color-neutral-dark); font-weight: 500; }
.testimonial cite { font-style: normal; color: var(--color-primary); font-size: .95rem; display: block; margin-top: 1rem; }

/* === CTA band === */
.cta-band {
  margin: 3rem 1.25rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark));
  color: var(--color-neutral-light);
  padding: 3rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-md);
}
.cta-band__inner { max-width: 720px; margin: 0 auto; }
.cta-band h2 { color: var(--color-neutral-light); }
.cta-band p { color: rgba(248,250,252,.85); }

/* === FAQ === */
.faq details {
  background: #fff;
  border: 1px solid rgba(51,65,85,.08);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  margin-bottom: .75rem;
  transition: box-shadow .2s var(--ease);
}
.faq details[open] { box-shadow: var(--shadow-sm); }
.faq summary {
  font-family: var(--font-heading);
  font-weight: 600;
  cursor: pointer;
  color: var(--color-neutral-dark);
  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: 0;
  color: var(--color-accent);
  font-size: 1.4rem;
  line-height: 1;
  transition: transform .2s var(--ease);
}
.faq details[open] summary::after { content: "−"; }
.faq details p { margin-top: .75rem; color: var(--color-primary); }

/* === Contact === */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
.contact-details { font-style: normal; margin-bottom: 1.5rem; line-height: 1.8; }
.hours { width: 100%; border-collapse: collapse; font-size: .95rem; }
.hours th, .hours td { text-align: left; padding: .55rem .5rem; border-bottom: 1px solid rgba(51,65,85,.08); }
.hours th { font-weight: 500; color: var(--color-primary); }
.contact-form.card { padding: 2rem; }
.field { margin-bottom: 1rem; }
.field label { display: block; font-weight: 500; margin-bottom: .35rem; font-size: .95rem; }
.field input, .field textarea {
  width: 100%;
  font-family: inherit;
  font-size: 1rem;
  padding: .7rem .85rem;
  border: 1px solid rgba(51,65,85,.18);
  border-radius: 10px;
  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 3px rgba(249,115,22,.15);
}

/* === Footer === */
.site-footer {
  background: var(--color-neutral-dark);
  color: rgba(248,250,252,.85);
  padding: 3rem 1.25rem 1.5rem;
  margin-top: 3rem;
}
.footer-grid { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: 1fr; gap: 2rem; }
.site-footer h4 { color: var(--color-neutral-light); font-size: 1rem; margin-bottom: .75rem; }
.site-footer a { color: rgba(248,250,252,.8); }
.site-footer a:hover { color: var(--color-accent); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .4rem; }
.site-footer address { font-style: normal; line-height: 1.7; margin-bottom: 1rem; }
.tagline { color: rgba(248,250,252,.7); margin-top: .5rem; }
.footer-logo img { height: 60px; }
.legal-links { margin-top: 1rem; font-size: .9rem; }
.copyright { max-width: var(--maxw); margin: 2rem auto 0; padding-top: 1.5rem; border-top: 1px solid rgba(248,250,252,.1); font-size: .85rem; color: rgba(248,250,252,.6); 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);
  border-radius: var(--radius);
  padding: 1.25rem 1.4rem;
  box-shadow: 0 20px 50px -20px rgba(15,23,42,.55);
  max-width: 640px;
  margin-inline: auto;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 .9rem; font-size: .95rem; color: rgba(248,250,252,.9); }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.cookie-banner__prefs { margin-top: 1rem; display: grid; gap: .5rem; }
.cookie-banner__prefs label { display: flex; align-items: center; gap: .5rem; font-size: .95rem; }

/* === Reveal (scroll motion) === */
.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; } }

/* === Desktop === */
@media (min-width: 768px) {
  .logo img { height: 96px; }
  .nav-toggle { display: none; }
  .primary-nav {
    display: flex;
    flex-direction: row;
    width: auto;
    padding: 0;
    gap: 1.5rem;
  }
  .primary-nav a::after {
    content: "";
    position: absolute;
    left: 0; bottom: -4px;
    height: 2px; width: 100%;
    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); }
  .hero { padding: 5rem 2rem 6rem; }
  .hero-card__wrap { padding: 4rem; }
  .section { padding: 5rem 2rem; }
  .grid-2 { grid-template-columns: repeat(2, 1fr); gap: 1.75rem; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); gap: 1.75rem; }
  .grid-4 { grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
  .contact-grid { grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
  .footer-grid { grid-template-columns: 1.3fr 1fr 1.3fr; gap: 3rem; }
  .cta-band { padding: 4rem 2rem; margin: 4rem 2rem; }
  .testimonial p { font-size: 1.4rem; }
}

@media (min-width: 1024px) {
  .hero-card__figure img { aspect-ratio: 21/9; }
}
