:root {
  --color-primary: #0F172A;
  --color-secondary: #334155;
  --color-accent: #0369A1;
  --color-neutral-dark: #020617;
  --color-neutral-light: #F8FAFC;
  --color-border: rgba(2, 6, 23, 0.10);
  --color-muted: #64748B;
  --font-heading: 'Sora', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius: 16px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 20px rgba(2, 6, 23, 0.06);
  --shadow-md: 0 12px 32px -12px rgba(2, 6, 23, 0.18);
  --shadow-lg: 0 30px 60px -30px rgba(2, 6, 23, 0.35);
}

/* === Base === */
*, *::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-primary);
  background: var(--color-neutral-light);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; height: auto; }
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-primary); line-height: 1.2; letter-spacing: -0.015em; margin: 0 0 .75rem; }
h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); font-weight: 700; letter-spacing: -0.025em; }
h2 { font-size: clamp(1.65rem, 3.2vw, 2.25rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 600; }
h4 { font-size: 1rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--color-muted); }
p { margin: 0 0 1rem; }
blockquote { margin: 0; }
.container { width: 100%; max-width: 1160px; margin: 0 auto; padding-inline: 1.25rem; }
.container.narrow { max-width: 780px; }
.eyebrow { font-family: var(--font-heading); font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.14em; color: var(--color-accent); margin: 0 0 1rem; }
.muted { color: var(--color-muted); }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { position: fixed; left: 1rem; top: 1rem; background: var(--color-primary); color: var(--color-neutral-light); padding: .6rem 1rem; border-radius: 8px; z-index: 10000; }

/* === 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 transparent;
  transition: background .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.site-header.scrolled { background: rgba(248, 250, 252, 0.92); box-shadow: var(--shadow-sm); border-bottom-color: var(--color-border); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: .9rem; }
.logo { display: inline-flex; align-items: center; text-decoration: none; }
.logo img { height: 72px; width: auto; display: block; }
.nav-toggle { background: none; border: 1px solid var(--color-border); border-radius: 10px; padding: .45rem; color: var(--color-primary); cursor: pointer; }
.primary-nav { display: none; }
.primary-nav a { color: var(--color-secondary); font-weight: 500; padding: .5rem .25rem; position: relative; }
.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, .primary-nav a[aria-current="page"] { color: var(--color-primary); text-decoration: none; }
.primary-nav a:hover::after, .primary-nav a[aria-current="page"]::after { transform: scaleX(1); }
.primary-nav .nav-cta { background: var(--color-primary); color: var(--color-neutral-light); border-radius: 999px; padding: .55rem 1.1rem; }
.primary-nav .nav-cta:hover { background: var(--color-accent); }
.primary-nav .nav-cta::after { display: none; }
.primary-nav.is-open { display: flex; flex-direction: column; gap: .25rem; padding: 1rem 0 1.25rem; }

@media (min-width: 900px) {
  .logo img { height: 96px; }
  .nav-toggle { display: none; }
  .primary-nav { display: flex; align-items: center; gap: 1.75rem; }
}

/* === Buttons === */
.btn { display: inline-block; font-family: var(--font-heading); font-weight: 600; font-size: 1rem; padding: .85rem 1.5rem; border-radius: 999px; border: 1px solid transparent; cursor: pointer; text-decoration: none; transition: transform .2s var(--ease), box-shadow .25s var(--ease), background .2s var(--ease), color .2s var(--ease); }
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn:focus-visible { outline: 3px solid rgba(3, 105, 161, 0.35); outline-offset: 2px; }
.btn-primary { background: linear-gradient(135deg, var(--color-primary), var(--color-accent)); color: var(--color-neutral-light); box-shadow: 0 10px 24px -12px rgba(3, 105, 161, 0.55); }
.btn-primary:hover { box-shadow: 0 16px 32px -12px rgba(3, 105, 161, 0.7); }
.btn-ghost { background: transparent; color: var(--color-primary); border-color: var(--color-border); }
.btn-ghost:hover { background: rgba(2, 6, 23, 0.04); }
.btn-on-dark { box-shadow: 0 10px 24px -8px rgba(0,0,0,0.4); }

/* === Hero card === */
.hero-card-section {
  position: relative;
  padding: 2.5rem 0 3rem;
  background:
    radial-gradient(circle at 15% 20%, rgba(3, 105, 161, 0.12), transparent 55%),
    radial-gradient(circle at 85% 80%, rgba(15, 23, 42, 0.10), transparent 60%),
    var(--color-neutral-light);
  overflow: hidden;
}
.hero-card {
  max-width: 900px; margin-inline: auto;
  padding: 2.25rem 1.5rem;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
  text-align: left;
}
.hero-card h1 { max-width: 22ch; }
.hero-card .hero-sub { font-size: 1.15rem; color: var(--color-secondary); max-width: 55ch; margin-bottom: 1.75rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 2rem; }
.hero-card__figure { margin: 2rem 0 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); }
.hero-card__figure img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }

@media (min-width: 768px) {
  .hero-card-section { padding: 4rem 0 5rem; }
  .hero-card { padding: 3.5rem; }
}

/* === Sections === */
.section { padding-block: 3.5rem; }
@media (min-width: 768px) { .section { padding-block: 5rem; } }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 2.5rem; }
.section-head h2 { margin-bottom: .5rem; }
.section-head p { color: var(--color-secondary); font-size: 1.1rem; }
.prose { color: var(--color-secondary); font-size: 1.075rem; line-height: 1.75; }

/* === Grids & cards === */
.grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}
.card {
  background: #fff;
  border: 1px solid var(--color-border);
  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 h3 { margin-bottom: .5rem; }
.card p { color: var(--color-secondary); margin: 0; }
.card-icon { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; background: linear-gradient(135deg, rgba(15,23,42,0.06), rgba(3,105,161,0.14)); color: var(--color-accent); margin-bottom: 1rem; }
.service h3 { margin-top: .25rem; }
.person h3 { font-size: 1.1rem; }

/* === Quote / testimonial === */
.section-quote { background: linear-gradient(180deg, transparent, rgba(3, 105, 161, 0.05), transparent); }
.quote { text-align: center; position: relative; padding: 0 1rem; }
.quote .quote-mark { color: rgba(3, 105, 161, 0.2); margin-bottom: .5rem; }
.quote p { font-family: var(--font-heading); font-size: clamp(1.15rem, 2vw, 1.5rem); font-weight: 500; color: var(--color-primary); line-height: 1.45; max-width: 55ch; margin: 0 auto 1.25rem; }
.quote cite { color: var(--color-muted); font-style: normal; font-size: .95rem; }

/* === CTA band === */
.cta-band {
  background: linear-gradient(135deg, var(--color-primary), #1E3A5F);
  color: var(--color-neutral-light);
  text-align: center;
  padding-block: 4rem;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute; inset: -30% -10% auto auto;
  width: 60%; height: 200%;
  background: radial-gradient(circle, rgba(3, 105, 161, 0.35), transparent 60%);
  pointer-events: none;
}
.cta-band h2 { color: var(--color-neutral-light); }
.cta-band p { color: rgba(248, 250, 252, 0.82); max-width: 55ch; margin-inline: auto; margin-bottom: 1.5rem; }

/* === Stats === */
.stats-band { background: linear-gradient(180deg, rgba(3,105,161,0.04), transparent); }
.stats { text-align: center; }
.stat { padding: 1rem; }
.stat-num { display: block; font-family: var(--font-heading); font-size: clamp(2.5rem, 5vw, 3.5rem); font-weight: 700; color: var(--color-accent); line-height: 1; margin-bottom: .5rem; }
.stat p { color: var(--color-secondary); margin: 0; }

/* === FAQ === */
.faq details {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  margin-bottom: .75rem;
  box-shadow: var(--shadow-sm);
}
.faq summary {
  cursor: pointer;
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--color-primary);
  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); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: .85rem 0 0; color: var(--color-secondary); }

/* === Contact === */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1.15fr; } }
.contact-info h2 { font-size: 1.4rem; }
.contact-info h3 { margin-top: 1.25rem; }
.hours { width: 100%; border-collapse: collapse; font-size: .95rem; }
.hours th, .hours td { text-align: left; padding: .5rem 0; border-bottom: 1px solid var(--color-border); }
.hours th { color: var(--color-secondary); font-weight: 500; }
.contact-form h2 { font-size: 1.4rem; margin-bottom: 1.25rem; }
.field { margin-bottom: 1rem; }
.field label { display: block; font-size: .9rem; font-weight: 500; color: var(--color-secondary); margin-bottom: .35rem; }
.field input, .field textarea {
  width: 100%; font: inherit; color: var(--color-primary);
  padding: .7rem .85rem;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--color-accent); box-shadow: 0 0 0 3px rgba(3,105,161,0.15); }
.form-consent { display: flex; gap: .6rem; align-items: flex-start; font-size: .9rem; color: var(--color-secondary); margin: .5rem 0 1.25rem; }
.form-consent input { margin-top: .25rem; }

/* === Footer === */
.site-footer { background: var(--color-primary); color: var(--color-neutral-light); padding-block: 3.5rem 1.5rem; margin-top: 3rem; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; margin-bottom: 2rem; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.2fr 1fr 1.2fr; } }
.site-footer h4 { color: rgba(248,250,252,0.75); margin-bottom: 1rem; }
.site-footer a { color: rgba(248,250,252,0.85); }
.site-footer a:hover { color: var(--color-neutral-light); }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: .4rem; }
.site-footer address { font-style: normal; color: rgba(248,250,252,0.85); margin-bottom: 1rem; line-height: 1.7; }
.footer-logo img { height: 56px; margin-bottom: .75rem; filter: brightness(0) invert(1); }
.footer-logo { display: inline-block; }
.site-footer .muted { color: rgba(248,250,252,0.6); }
.legal-links { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid rgba(248,250,252,0.12); }
.legal-links li { font-size: .9rem; }
.copyright { border-top: 1px solid rgba(248,250,252,0.1); padding-top: 1.25rem; }
.copyright p { color: rgba(248,250,252,0.55); font-size: .85rem; margin: 0; text-align: center; }

/* === Cookie banner === */
.consent-panel {
  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);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.5);
  max-width: 720px;
  margin-inline: auto;
}
.consent-panel.is-visible { display: block; }
.consent-panel p { margin: 0 0 1rem; font-size: .95rem; color: rgba(248,250,252,0.9); }
.consent-panel__actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.consent-panel__actions .btn { padding: .55rem 1rem; font-size: .9rem; }
.consent-panel .btn-ghost { color: var(--color-neutral-light); border-color: rgba(248,250,252,0.25); }
.consent-panel .btn-ghost:hover { background: rgba(248,250,252,0.08); }
.consent-panel__prefs { margin-top: 1rem; display: flex; flex-direction: column; gap: .5rem; padding-top: 1rem; border-top: 1px solid rgba(248,250,252,0.15); }
.consent-panel__prefs label { display: flex; align-items: center; gap: .5rem; font-size: .9rem; }
.consent-panel__prefs .btn { 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; }
}
