:root {
  --color-primary: #1E40AF;
  --color-secondary: #3B82F6;
  --color-accent: #22C55E;
  --color-neutral-dark: #1E3A8A;
  --color-neutral-light: #EFF6FF;
  --color-ink: #0F172A;
  --color-muted: #475569;
  --color-border: rgba(30, 58, 138, 0.12);
  --font-heading: 'Manrope', 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 -18px rgba(30, 58, 138, 0.35);
  --shadow-lg: 0 30px 60px -30px rgba(30, 58, 138, 0.45);
  --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);
  color: var(--color-ink);
  background: #ffffff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; 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); letter-spacing: -0.02em; line-height: 1.2; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); font-weight: 700; margin: 0 0 1rem; }
h2 { font-size: clamp(1.5rem, 2.8vw, 2.1rem); font-weight: 700; margin: 0 0 .75rem; }
h3 { font-size: 1.15rem; font-weight: 700; margin: 0 0 .5rem; }
p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

.container { width: 100%; max-width: 1160px; margin-inline: auto; padding-inline: 1.25rem; }
.container.narrow { max-width: 760px; }

/* === Header / nav === */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 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 var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.site-header.scrolled {
  background: rgba(255, 255, 255, 0.92);
  border-bottom-color: var(--color-border);
  box-shadow: 0 4px 20px -12px rgba(30, 58, 138, 0.25);
}
.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; }
.nav-toggle {
  border: 0; background: transparent; padding: .5rem;
  color: var(--color-neutral-dark); cursor: pointer; border-radius: 8px;
}
.nav-toggle:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 2px; }
.primary-nav { display: none; }
.primary-nav.is-open {
  display: flex; flex-direction: column; gap: .25rem;
  position: absolute; left: 1rem; right: 1rem; top: calc(100% + .5rem);
  background: #fff; border: 1px solid var(--color-border);
  border-radius: var(--radius-md); padding: .75rem;
  box-shadow: var(--shadow-md);
}
.primary-nav a {
  position: relative; padding: .65rem .8rem; font-weight: 500;
  color: var(--color-ink); border-radius: 8px;
}
.primary-nav a.is-current { color: var(--color-primary); }
.primary-nav .nav-cta {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: #fff; text-align: center;
}

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .primary-nav { display: flex !important; position: static; flex-direction: row; align-items: center; gap: .35rem; padding: 0; background: transparent; border: 0; box-shadow: none; }
  .primary-nav a { padding: .55rem .9rem; font-size: .95rem; }
  .primary-nav a:not(.nav-cta)::after {
    content: ""; position: absolute; left: .9rem; right: .9rem; bottom: .35rem; 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.is-current:not(.nav-cta)::after { transform: scaleX(1); }
  .primary-nav .nav-cta { padding: .6rem 1.1rem; border-radius: 999px; box-shadow: 0 8px 20px -10px rgba(59, 130, 246, .6); }
  .primary-nav .nav-cta:hover { color: #fff; transform: translateY(-1px); }
  .logo img { height: 96px; }
}

/* === Buttons === */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .85rem 1.5rem; border-radius: 999px; font-weight: 600; font-size: 1rem;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
  font-family: var(--font-body);
}
.btn-primary {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: #fff; box-shadow: 0 12px 26px -14px rgba(30, 64, 175, 0.6);
}
.btn-primary:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 18px 34px -14px rgba(30, 64, 175, 0.7); }
.btn-ghost {
  background: transparent; color: var(--color-primary); border-color: var(--color-border);
}
.btn-ghost:hover { background: var(--color-neutral-light); transform: translateY(-2px); }
.btn:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 3px; }

/* === Hero (hero-card archetype) === */
.hero {
  position: relative; padding-block: 3rem 4rem;
  background:
    radial-gradient(60% 60% at 15% 10%, rgba(59, 130, 246, 0.18), transparent 60%),
    radial-gradient(50% 60% at 90% 20%, rgba(34, 197, 94, 0.10), transparent 60%),
    linear-gradient(180deg, var(--color-neutral-light), #ffffff 80%);
  overflow: hidden;
}
.hero-card__inner {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  box-shadow: var(--shadow-lg);
  max-width: 880px; margin-inline: auto;
  position: relative;
}
.eyebrow {
  text-transform: uppercase; letter-spacing: .12em; font-size: .75rem;
  color: var(--color-secondary); font-weight: 600; margin: 0 0 .75rem;
}
.lede { font-size: 1.1rem; color: var(--color-muted); max-width: 55ch; }
.cta-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.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%; height: auto; aspect-ratio: 16/9; object-fit: cover; }

@media (min-width: 768px) {
  .hero { padding-block: 5rem 5.5rem; }
  .hero-card__inner { padding: 3.5rem 3.5rem; border-radius: 28px; }
}

/* === Sections === */
.section { padding-block: 3.5rem; }
.section-head { text-align: center; max-width: 62ch; margin: 0 auto 2rem; }
.section-head p { color: var(--color-muted); }

.pitch__text { font-size: 1.1rem; color: var(--color-muted); text-align: center; }

.intro { }
.intro h2 { margin-bottom: 1rem; }
.intro p { font-size: 1.02rem; color: var(--color-ink); line-height: 1.75; }

/* === Grid & cards === */
.grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 640px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } }

.card {
  background: #fff; border: 1px solid var(--color-border);
  border-radius: var(--radius-md); padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
  display: block;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card p { color: var(--color-muted); font-size: .95rem; }
a.card-link { color: inherit; text-decoration: none; }
a.card-link:hover h3 { color: var(--color-primary); }
.card-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 12px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(34, 197, 94, 0.15));
  color: var(--color-primary); margin-bottom: 1rem;
}

/* === Testimonial === */
.testimonial-block { }
.testimonial {
  position: relative;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.06), rgba(34, 197, 94, 0.05));
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2.25rem 1.75rem;
  margin: 0; text-align: center;
}
.testimonial p { font-size: 1.15rem; font-family: var(--font-heading); color: var(--color-neutral-dark); line-height: 1.5; }
.testimonial cite { display: block; margin-top: 1rem; font-style: normal; color: var(--color-muted); font-size: .95rem; }
.quote-mark { color: var(--color-secondary); opacity: .35; margin: 0 auto .5rem; display: block; }

/* === CTA band === */
.cta-band {
  color: #fff; text-align: center; border-radius: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(34, 197, 94, 0.35), transparent 50%),
    linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark));
  padding-block: 3.5rem;
  margin-block: 1rem;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255, 255, 255, 0.85); margin-bottom: 1.5rem; }
.cta-band .btn-primary { background: #fff; color: var(--color-primary); }
.cta-band .btn-primary:hover { background: var(--color-neutral-light); color: var(--color-primary); }

/* === Contact page === */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1fr; align-items: start; } }
.hours { width: 100%; border-collapse: collapse; margin-top: 1.25rem; font-size: .95rem; }
.hours caption { text-align: left; font-weight: 600; margin-bottom: .5rem; color: var(--color-neutral-dark); }
.hours th, .hours td { padding: .55rem .25rem; border-bottom: 1px solid var(--color-border); text-align: left; }
.hours th { font-weight: 500; color: var(--color-ink); }
.hours td { color: var(--color-muted); }
.map-block { margin: 0; border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-md); }
.map-block img { aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.contact-band { }
.contact-band p a { color: var(--color-primary); }

/* === Forms === */
.contact-form { display: grid; gap: 1rem; margin-top: 1.5rem; }
.field { display: grid; gap: .35rem; }
.field label { font-weight: 600; font-size: .9rem; color: var(--color-neutral-dark); }
.field input, .field textarea {
  font: inherit; padding: .75rem .9rem; border-radius: var(--radius-sm);
  border: 1px solid var(--color-border); background: #fff;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}
.form-consent { display: flex; align-items: flex-start; gap: .6rem; font-size: .9rem; color: var(--color-muted); line-height: 1.5; }
.form-consent input { margin-top: .2rem; flex-shrink: 0; }
.form-consent a { color: var(--color-primary); text-decoration: underline; }

/* === Footer === */
.site-footer {
  background: var(--color-neutral-dark); color: rgba(239, 246, 255, 0.85);
  padding-block: 3rem 1.5rem; margin-top: 2rem;
}
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1.2fr; } }
.site-footer h4 { color: #fff; font-size: 1rem; margin: 0 0 .75rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .35rem; }
.site-footer a { color: rgba(239, 246, 255, 0.85); }
.site-footer a:hover { color: #fff; }
.footer-tag { color: rgba(239, 246, 255, 0.7); margin-top: .5rem; }
.logo--footer img { height: 64px; filter: brightness(0) invert(1); }
.footer-legal { margin-top: 1rem; font-size: .9rem; }
.copyright { border-top: 1px solid rgba(239, 246, 255, 0.15); margin-top: 2rem; padding-top: 1.25rem; font-size: .85rem; color: rgba(239, 246, 255, 0.65); }
address { font-style: normal; line-height: 1.65; }

/* === 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-md); padding: 1.25rem; box-shadow: var(--shadow-lg);
  max-width: 640px; margin-inline: auto;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { font-size: .9rem; color: rgba(239, 246, 255, 0.9); margin-bottom: .9rem; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.cookie-banner button {
  font: inherit; font-size: .85rem; padding: .55rem 1rem; border-radius: 999px;
  border: 1px solid rgba(239, 246, 255, 0.25); cursor: pointer;
  background: transparent; color: var(--color-neutral-light);
  transition: background .2s var(--ease);
}
.cookie-banner button:hover { background: rgba(239, 246, 255, 0.1); }
.cookie-banner [data-cookie-accept] { background: var(--color-accent); border-color: var(--color-accent); color: #06331a; font-weight: 600; }
.cookie-banner [data-cookie-accept]:hover { background: #16a34a; }
.cookie-banner__prefs { margin-top: 1rem; display: grid; gap: .5rem; font-size: .9rem; }
.cookie-banner__prefs label { display: flex; align-items: center; gap: .5rem; }
.cookie-banner__prefs [data-cookie-save] { justify-self: start; margin-top: .5rem; }

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