:root {
  --color-primary: #1E40AF;
  --color-secondary: #3B82F6;
  --color-accent: #F97316;
  --color-neutral-dark: #1E3A8A;
  --color-neutral-light: #EFF6FF;
  --color-ink: #0f1e40;
  --color-muted: #52618c;
  --color-surface: #ffffff;
  --color-border: rgba(30,58,138,0.12);
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-soft: 0 2px 20px rgba(15,30,64,0.06);
  --shadow-hover: 0 20px 60px -20px rgba(15,30,64,0.25);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* === Base === */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--color-ink);
  background: #ffffff;
  -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-secondary); }
h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--color-neutral-dark); line-height: 1.15; letter-spacing: -0.01em; margin: 0 0 1rem; }
h1 { font-size: clamp(2.25rem, 5vw, 4rem); font-weight: 700; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); font-weight: 600; }
h3 { font-size: 1.25rem; font-weight: 600; }
p { margin: 0 0 1rem; }

.container { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: 1.25rem; }
.container.narrow, .narrow { max-width: 760px; margin-inline: auto; }
.center { text-align: center; }
.eyebrow {
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.8rem;
  color: var(--color-secondary);
  font-weight: 600;
  margin-bottom: 1rem;
}

/* === Buttons === */
.btn {
  display: inline-block;
  padding: 0.9rem 1.6rem;
  border-radius: 999px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease), color .2s var(--ease);
  line-height: 1;
}
.btn-primary {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: #fff;
  box-shadow: 0 10px 24px -12px rgba(30,64,175,0.6);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 32px -12px rgba(30,64,175,0.65); color: #fff; }
.btn-accent {
  background: var(--color-accent);
  color: #fff;
  box-shadow: 0 10px 24px -12px rgba(249,115,22,0.6);
}
.btn-accent:hover { transform: translateY(-2px); color: #fff; }
.btn-ghost {
  background: transparent;
  color: var(--color-neutral-dark);
  border-color: var(--color-border);
}
.btn-ghost:hover { background: var(--color-neutral-light); }
.btn:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 3px; }

/* === Header === */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(239,246,255,0.75);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid transparent;
  transition: background .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
}
.site-header.scrolled {
  background: rgba(255,255,255,0.9);
  box-shadow: 0 8px 24px -20px rgba(15,30,64,0.35);
  border-bottom-color: var(--color-border);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; padding-block: 0.75rem;
}
.logo { display: inline-block; }
.logo img { height: 72px; width: auto; display: block; }
.logo--footer img { height: 72px; }

/* === Nav === */
.primary-nav { display: none; }
.primary-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 1.5rem; align-items: center; }
.primary-nav a {
  position: relative;
  color: var(--color-neutral-dark);
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.4rem 0;
}
.primary-nav a:not(.nav-cta)::after {
  content: "";
  position: absolute; left: 0; bottom: 0;
  height: 2px; width: 100%;
  background: var(--color-accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform .25s var(--ease);
}
.primary-nav a:not(.nav-cta):hover::after,
.primary-nav a.is-current:not(.nav-cta)::after { transform: scaleX(1); }
.primary-nav a.nav-cta {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: #fff;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
}
.primary-nav a.nav-cta:hover { transform: translateY(-1px); color: #fff; }

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

@media (max-width: 899px) {
  .primary-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    background: #fff; border-bottom: 1px solid var(--color-border);
    padding: 1rem 1.25rem 1.5rem;
    box-shadow: 0 20px 40px -30px rgba(15,30,64,0.4);
  }
  .primary-nav[hidden] { display: none; }
  .primary-nav ul { flex-direction: column; align-items: stretch; gap: 0.25rem; }
  .primary-nav a { padding: 0.8rem 0.4rem; display: block; }
  .primary-nav a.nav-cta { text-align: center; margin-top: 0.5rem; }
}

@media (min-width: 900px) {
  .primary-nav { display: block !important; position: static; padding: 0; background: transparent; box-shadow: none; border: 0; }
  .nav-toggle { display: none; }
  .logo img { height: 96px; }
  .logo--footer img { height: 80px; }
}

/* === Hero === */
.hero { position: relative; padding-block: 4rem 3rem; overflow: hidden; }
.hero::before {
  content: "";
  position: absolute; inset: -20% -10% auto -10%; height: 80%;
  background: radial-gradient(ellipse at 50% 20%, rgba(59,130,246,0.18), transparent 60%),
              radial-gradient(ellipse at 20% 80%, rgba(249,115,22,0.10), transparent 55%);
  z-index: -1;
}
.hero .container { text-align: center; }
.hero h1 { max-width: 22ch; margin-inline: auto; }
.hero-sub {
  max-width: 52ch; margin: 1rem auto 2rem;
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  color: var(--color-muted);
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; margin-bottom: 2.5rem; }
.hero-figure {
  margin: 2.5rem auto 0;
  max-width: 960px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-hover);
}
.hero-figure img { aspect-ratio: 16/9; object-fit: cover; width: 100%; }
.hero-compact { padding-block: 3rem 2rem; }
.hero-compact .hero-figure { margin-top: 2rem; }

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

/* === Sections === */
.section { padding-block: 4rem; }
.section.alt { background: var(--color-neutral-light); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 2.5rem; }
.section-head p { color: var(--color-muted); font-size: 1.05rem; }
.lede { font-size: 1.15rem; color: var(--color-muted); }
.intro p { font-size: 1.05rem; }

@media (min-width: 768px) {
  .section { padding-block: 5.5rem; }
}

/* === Grid & Cards === */
.grid { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 640px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}
.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow-soft);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.card h3 { margin-top: 0.75rem; }
.card p { color: var(--color-muted); margin-bottom: 0; font-size: 0.98rem; }
.icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(30,64,175,0.12), rgba(59,130,246,0.12));
  color: var(--color-primary);
}
.card--team .team-photo {
  margin: -1.75rem -1.75rem 1.25rem;
  aspect-ratio: 1/1;
  overflow: hidden;
  border-radius: var(--radius) var(--radius) 0 0;
}
.card--team .team-photo img { width: 100%; height: 100%; object-fit: cover; }

/* === Testimonial === */
.testimonial-section { background: linear-gradient(180deg, transparent, var(--color-neutral-light)); }
.testimonial {
  margin: 0;
  padding: 2.5rem 2rem;
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-soft);
  position: relative;
  text-align: center;
}
.testimonial::before {
  content: "“";
  position: absolute; top: -0.5rem; left: 1.5rem;
  font-family: var(--font-heading);
  font-size: 5rem;
  color: var(--color-accent);
  line-height: 1;
  opacity: 0.5;
}
.testimonial p { font-size: 1.15rem; color: var(--color-ink); line-height: 1.6; font-style: italic; }
.testimonial cite { display: block; margin-top: 1rem; font-style: normal; font-family: var(--font-heading); font-weight: 500; color: var(--color-neutral-dark); font-size: 0.95rem; }

/* === CTA band === */
.cta-band {
  background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark));
  color: #fff;
  border-radius: var(--radius-lg);
  margin: 3rem 1.25rem;
  padding: 3.5rem 1.5rem;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(249,115,22,0.25), transparent 60%);
  pointer-events: none;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(239,246,255,0.85); }
@media (min-width: 900px) {
  .cta-band { margin-inline: auto; max-width: 1180px; padding: 4.5rem 2rem; }
}

/* === FAQ === */
.faq-list details {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  margin-bottom: 0.75rem;
  transition: box-shadow .2s var(--ease);
}
.faq-list details[open] { box-shadow: var(--shadow-soft); }
.faq-list summary {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--color-neutral-dark);
  cursor: pointer;
  list-style: none;
  padding-right: 2rem;
  position: relative;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  font-size: 1.5rem; color: var(--color-accent); line-height: 1;
  transition: transform .2s var(--ease);
}
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { margin-top: 0.75rem; color: var(--color-muted); }

/* === Contact === */
.contact-grid { align-items: stretch; }
.contact-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow-soft);
}
.contact-card h3 { margin-top: 0; }
.contact-card address { font-style: normal; line-height: 1.8; color: var(--color-muted); }
.hours { width: 100%; border-collapse: collapse; }
.hours th, .hours td { text-align: left; padding: 0.55rem 0; border-bottom: 1px solid var(--color-border); font-weight: 500; }
.hours th { color: var(--color-neutral-dark); font-family: var(--font-heading); }
.hours td { color: var(--color-muted); }
.hours tr:last-child th, .hours tr:last-child td { border-bottom: 0; }

/* === Form === */
.contact-form {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-soft);
}
.field { margin-bottom: 1.25rem; }
.field label {
  display: block;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--color-neutral-dark);
  margin-bottom: 0.4rem;
}
.field input, .field textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 1rem;
  background: var(--color-neutral-light);
  color: var(--color-ink);
  transition: border-color .2s var(--ease), background .2s var(--ease);
}
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--color-secondary);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(59,130,246,0.15);
}
.form-consent {
  display: flex; gap: 0.6rem; align-items: flex-start;
  font-size: 0.9rem; color: var(--color-muted);
  margin: 1rem 0 1.5rem;
  line-height: 1.5;
}
.form-consent input { margin-top: 0.2rem; flex-shrink: 0; }

/* === Footer === */
.site-footer {
  background: var(--color-neutral-dark);
  color: rgba(239,246,255,0.85);
  padding: 3.5rem 0 2rem;
  margin-top: 4rem;
}
.site-footer h3 { color: #fff; font-size: 1rem; margin-bottom: 1rem; text-transform: uppercase; letter-spacing: 0.1em; }
.site-footer a { color: rgba(239,246,255,0.85); }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; gap: 2.5rem; grid-template-columns: 1fr; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid ul li { margin-bottom: 0.5rem; }
.footer-grid address { font-style: normal; line-height: 1.8; margin-bottom: 1rem; }
.tagline { color: rgba(239,246,255,0.7); max-width: 28ch; }
.legal-links { margin-top: 0.5rem; }
.legal-links li { margin-bottom: 0.25rem; font-size: 0.9rem; }
.copyright {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(239,246,255,0.15);
  font-size: 0.85rem;
  color: rgba(239,246,255,0.6);
}
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1.2fr; }
}

/* === 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);
  box-shadow: 0 20px 60px -20px rgba(15,30,64,0.5);
  max-width: 640px;
  margin-inline: auto;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 1rem; font-size: 0.95rem; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.cookie-banner__actions .btn { padding: 0.6rem 1rem; font-size: 0.85rem; }
.cookie-banner__actions .btn-ghost { color: var(--color-neutral-light); border-color: rgba(239,246,255,0.3); }
.cookie-banner__actions .btn-ghost:hover { background: rgba(239,246,255,0.1); }
.cookie-banner__prefs { display: flex; flex-direction: column; gap: 0.6rem; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid rgba(239,246,255,0.15); }
.cookie-banner__prefs label { display: flex; align-items: center; gap: 0.5rem; font-size: 0.9rem; }
.cookie-banner__prefs .btn { align-self: flex-start; margin-top: 0.5rem; }

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