:root {
  --color-primary: #2563EB;
  --color-secondary: #3B82F6;
  --color-accent: #F97316;
  --color-neutral-dark: #1E293B;
  --color-neutral-light: #F8FAFC;
  --color-border: rgba(30, 41, 59, 0.12);
  --color-muted: #64748B;
  --font-heading: 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --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);
}

/* === Base === */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; 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%; height: auto; display: block; }
a { color: var(--color-primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--color-secondary); }
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 .75rem; }
h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); font-weight: 700; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 600; }
p { margin: 0 0 1rem; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* === Layout === */
.container { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: 1.25rem; }
.container--narrow { max-width: 780px; }
.section { padding-block: 3.5rem; }
@media (min-width: 768px) { .section { padding-block: 5.5rem; } }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 2.5rem; }
.section-head p { color: var(--color-muted); font-size: 1.05rem; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; font-weight: 600; color: var(--color-primary); margin: 0 0 1rem; }
.lede { font-size: 1.15rem; color: var(--color-muted); max-width: 56ch; margin: 0 auto 1.75rem; }

/* === 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 transparent;
  transition: background .3s, box-shadow .3s, border-color .3s;
}
.site-header.scrolled {
  background: rgba(248, 250, 252, 0.92);
  border-bottom-color: var(--color-border);
  box-shadow: 0 4px 24px -12px rgba(15, 23, 42, 0.18);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: .75rem; }
.logo { display: inline-flex; align-items: center; }
.logo img { height: 72px; width: auto; }
@media (min-width: 768px) { .logo img { height: 96px; } }
.logo--footer img { height: 64px; }

.nav-toggle { display: inline-flex; flex-direction: column; gap: 5px; background: transparent; border: 0; padding: .5rem; cursor: pointer; }
.nav-toggle__bar { display: block; width: 26px; height: 2px; background: var(--color-neutral-dark); border-radius: 2px; transition: transform .25s, opacity .25s; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.primary-nav {
  display: none;
  position: absolute;
  left: 0; right: 0; top: 100%;
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(16px);
  padding: 1rem 1.25rem 1.5rem;
  flex-direction: column;
  gap: .25rem;
  border-bottom: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
}
.primary-nav.is-open { display: flex; }
.primary-nav a { color: var(--color-neutral-dark); padding: .75rem .25rem; font-weight: 500; border-radius: 6px; position: relative; }
.primary-nav a[aria-current="page"] { color: var(--color-primary); }
.primary-nav .nav-cta {
  background: var(--color-neutral-dark);
  color: #fff;
  padding: .65rem 1.15rem;
  border-radius: 999px;
  text-align: center;
  margin-top: .5rem;
}
.primary-nav .nav-cta:hover { background: var(--color-primary); }

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .primary-nav {
    display: flex;
    flex-direction: row;
    position: static;
    padding: 0;
    background: transparent;
    backdrop-filter: none;
    border: 0;
    box-shadow: none;
    gap: .25rem;
    align-items: center;
  }
  .primary-nav a { padding: .65rem 1rem; }
  .primary-nav a:not(.nav-cta)::after {
    content: ""; position: absolute;
    left: 1rem; right: 1rem; bottom: .3rem;
    height: 2px; background: var(--color-primary);
    transform: scaleX(0); transform-origin: left;
    transition: transform .25s var(--ease);
  }
  .primary-nav a:not(.nav-cta):hover::after,
  .primary-nav a[aria-current="page"]::after { transform: scaleX(1); }
  .primary-nav .nav-cta { margin-top: 0; margin-left: .5rem; }
}

/* === Buttons === */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .85rem 1.6rem;
  border-radius: 999px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .25s var(--ease), background .2s, color .2s, border-color .2s;
  text-align: center;
  line-height: 1.2;
}
.btn--primary {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: #fff;
  box-shadow: 0 10px 24px -10px rgba(37, 99, 235, 0.55);
}
.btn--primary:hover { transform: translateY(-2px); color: #fff; box-shadow: 0 16px 34px -12px rgba(37, 99, 235, 0.65); }
.btn--accent { background: var(--color-accent); color: #fff; box-shadow: 0 10px 24px -10px rgba(249, 115, 22, 0.55); }
.btn--accent:hover { transform: translateY(-2px); color: #fff; box-shadow: 0 16px 34px -12px rgba(249, 115, 22, 0.65); }
.btn--ghost { background: transparent; color: var(--color-neutral-dark); border-color: var(--color-border); }
.btn--ghost:hover { border-color: var(--color-primary); color: var(--color-primary); }
.btn--link { background: transparent; color: var(--color-neutral-dark); border: 0; padding: .5rem .8rem; }
.btn--link:hover { color: var(--color-primary); }
.btn--sm { padding: .55rem 1rem; font-size: .9rem; }
.btn:focus-visible { outline: 3px solid rgba(37, 99, 235, 0.4); outline-offset: 3px; }

/* === Hero (card archetype) === */
.hero.hero-card {
  position: relative;
  padding-block: 3rem 4rem;
  background:
    radial-gradient(ellipse at 20% 0%, rgba(59, 130, 246, 0.14), transparent 55%),
    radial-gradient(ellipse at 80% 100%, rgba(249, 115, 22, 0.10), transparent 55%),
    linear-gradient(180deg, #EEF4FF 0%, var(--color-neutral-light) 100%);
  overflow: hidden;
}
.hero-card__inner {
  background: #fff;
  max-width: 940px;
  margin-inline: auto;
  padding: 2.5rem 1.75rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
  text-align: center;
  position: relative;
}
@media (min-width: 768px) {
  .hero.hero-card { padding-block: 5rem 6rem; }
  .hero-card__inner { padding: 4rem 3.5rem; }
}
.hero-card__inner h1 { max-width: 22ch; margin-inline: auto; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; margin-block: 1.5rem 2rem; }
.hero-card__figure { margin: 2rem 0 0; border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-md); }
.hero-card__figure img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }

/* === Intro / prose sections === */
.section--intro h2 { text-align: center; }
.section--intro p { font-size: 1.05rem; color: #334155; }
.section--intro .container--narrow { text-align: left; }

/* === Highlights / services grid === */
.grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 720px) {
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 980px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
}
.card {
  background: #fff;
  padding: 1.75rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  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 h3 { margin-top: .25rem; }
.card p { color: #475569; margin: 0; }
.card-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.14), rgba(249, 115, 22, 0.14));
  color: var(--color-primary);
  margin-bottom: 1rem;
}

/* === Testimonial === */
.section--testimonial { background: linear-gradient(180deg, transparent, rgba(59, 130, 246, 0.06)); }
.testimonial {
  background: #fff;
  padding: 2.25rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  margin: 0;
  position: relative;
  text-align: center;
}
.testimonial::before {
  content: "\201E";
  font-family: var(--font-heading);
  font-size: 5rem;
  line-height: 1;
  color: var(--color-primary);
  opacity: .2;
  position: absolute;
  top: .5rem; left: 1rem;
}
.testimonial p { font-size: 1.1rem; color: #334155; font-style: italic; margin: 0 0 1rem; }
.testimonial cite { font-style: normal; font-weight: 600; color: var(--color-neutral-dark); font-size: .95rem; }
.testimonial-portrait {
  margin: 0 auto 1.25rem;
  width: 84px; height: 84px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #fff;
  box-shadow: var(--shadow-sm);
}
.testimonial-portrait img { width: 100%; height: 100%; object-fit: cover; }

/* === CTA band === */
.cta-band {
  padding-block: 3.5rem;
  background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark));
  color: #fff;
  margin-block: 0;
}
.cta-band__inner { text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(248, 250, 252, 0.85); max-width: 52ch; margin-inline: auto; margin-bottom: 1.75rem; }

/* === Contact band === */
.section--contact-band { padding-block: 3rem; }
.contact-band {
  background: #fff;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  padding: 2rem;
  text-align: center;
}
.contact-band__details { color: #475569; margin-bottom: 1.5rem; }

/* === Contact form === */
.contact-form {
  background: #fff;
  padding: 2rem 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
@media (min-width: 640px) { .contact-form { padding: 2.5rem; } }
.form-row { display: flex; flex-direction: column; gap: .4rem; }
.form-row label { font-weight: 600; font-size: .95rem; }
.form-row input,
.form-row textarea {
  font: inherit;
  padding: .8rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-neutral-light);
  transition: border-color .2s, box-shadow .2s;
}
.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}
.form-consent {
  display: flex; align-items: flex-start; gap: .6rem;
  font-size: .9rem; color: #475569;
}
.form-consent input { margin-top: .25rem; flex-shrink: 0; }

/* === Hours === */
.hours-block { margin-top: 2rem; padding: 1.5rem; background: #fff; border-radius: var(--radius-md); border: 1px solid var(--color-border); }
.hours-block h3 { margin-bottom: 1rem; }
.hours { margin: 0; display: grid; gap: .4rem; }
.hours > div { display: flex; justify-content: space-between; padding: .35rem 0; border-bottom: 1px solid var(--color-border); }
.hours > div:last-child { border-bottom: 0; }
.hours dt { font-weight: 500; margin: 0; }
.hours dd { margin: 0; color: #475569; }

/* === Footer === */
.site-footer { background: var(--color-neutral-dark); color: rgba(248, 250, 252, 0.85); padding-block: 3rem 1.5rem; margin-top: 3rem; }
.site-footer h3 { color: #fff; font-size: 1rem; margin-bottom: .9rem; }
.site-footer a { color: rgba(248, 250, 252, 0.85); }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; gap: 2rem; grid-template-columns: 1fr; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.2fr 1fr 1.3fr; gap: 3rem; } }
.footer-tag { color: rgba(248, 250, 252, 0.7); margin-top: .75rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.site-footer address { font-style: normal; margin-bottom: 1rem; line-height: 1.7; }
.legal-links { margin-top: 1rem; font-size: .9rem; }
.footer-bottom { border-top: 1px solid rgba(248, 250, 252, 0.14); margin-top: 2rem; padding-top: 1.25rem; }
.footer-bottom p { margin: 0; color: rgba(248, 250, 252, 0.6); font-size: .9rem; }

/* === 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-md);
  box-shadow: var(--shadow-lg);
  max-width: 560px;
  margin-inline: auto;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 1rem; font-size: .95rem; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.cookie-banner__actions .btn--ghost { color: var(--color-neutral-light); border-color: rgba(248, 250, 252, 0.3); }
.cookie-banner__actions .btn--ghost:hover { border-color: #fff; color: #fff; }
.cookie-banner__actions .btn--link { color: var(--color-neutral-light); }
.cookie-banner__actions .btn--link:hover { color: #fff; }
.cookie-banner__prefs { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid rgba(248, 250, 252, 0.2); display: flex; flex-direction: column; gap: .6rem; }
.cookie-banner__prefs label { display: flex; align-items: center; gap: .5rem; font-size: .9rem; }
.cookie-banner__prefs [data-cookie-save] { align-self: flex-start; margin-top: .5rem; }

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