:root {
  --color-primary: #1E40AF;
  --color-secondary: #3B82F6;
  --color-accent: #F59E0B;
  --color-neutral-dark: #1E3A8A;
  --color-neutral-light: #F8FAFC;
  --color-ink: #0F172A;
  --color-muted: #475569;
  --color-border: rgba(30, 58, 138, 0.12);
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 2px 20px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 12px 40px -12px rgba(30, 58, 138, 0.25);
  --shadow-lg: 0 30px 60px -30px rgba(30, 58, 138, 0.35);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* === Base === */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-ink);
  background: var(--color-neutral-light);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--color-neutral-dark); letter-spacing: -0.02em; margin: 0 0 .75rem; line-height: 1.2; font-weight: 600; }
h1 { font-size: clamp(2.25rem, 5vw, 4rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: 1.2rem; }
p  { margin: 0 0 1rem; }
a  { color: var(--color-primary); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }

.container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: 1.25rem; }
.narrow { max-width: 760px; margin-inline: auto; }
.center { text-align: center; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; font-weight: 600; color: var(--color-secondary); margin: 0 0 1rem; }
.lede { font-size: 1.15rem; color: var(--color-muted); }

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

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

/* === Buttons === */
.btn {
  display: inline-block; padding: .85rem 1.6rem; border-radius: 999px;
  font-weight: 600; font-family: var(--font-body); font-size: 1rem;
  border: 0; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s;
  text-decoration: none;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: var(--color-neutral-light);
  box-shadow: 0 8px 24px -8px rgba(30, 64, 175, 0.5);
}
.btn-primary:hover { box-shadow: 0 14px 32px -8px rgba(30, 64, 175, 0.6); }
.btn-accent { background: var(--color-accent); color: var(--color-neutral-dark); box-shadow: 0 8px 24px -8px rgba(245, 158, 11, 0.5); }
.btn-ghost { background: transparent; color: var(--color-primary); border: 1.5px solid var(--color-border); }
.btn-ghost:hover { border-color: var(--color-primary); }
:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 2px; border-radius: 6px; }

/* === Hero (centered) === */
.hero { position: relative; padding-block: 3.5rem 3rem; overflow: hidden; }
.hero-glow {
  position: absolute; inset: -20% 10% auto 10%; height: 60%;
  background: radial-gradient(closest-side, rgba(245, 158, 11, 0.18), transparent 70%);
  filter: blur(20px); pointer-events: none; z-index: 0;
}
.hero-inner { position: relative; z-index: 1; text-align: center; }
.hero h1 { max-width: 22ch; margin-inline: auto; }
.hero .hero-sub { max-width: 52ch; margin: 1rem auto 1.75rem; color: var(--color-muted); font-size: 1.15rem; }
.hero-ctas { display: flex; gap: .75rem; justify-content: center; flex-wrap: wrap; margin: 0; }
.hero-image-wrap { margin-top: 3rem; position: relative; z-index: 1; }
.hero-image { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); aspect-ratio: 16/9; object-fit: cover; }

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

/* === Sections === */
.section { padding-block: 4rem; }
.section-head { text-align: center; margin-bottom: 2.5rem; }
.section-head .lede { max-width: 55ch; margin-inline: auto; }
.section-title-sm { text-align: center; font-size: 1.1rem; color: var(--color-secondary); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 1.5rem; }

.intro .narrow { text-align: center; }
.intro p { font-size: 1.05rem; }
.intro .lede { margin-bottom: 1.5rem; }

/* === Cards / Grid === */
.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), border-color .25s;
  display: block; color: inherit;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(59, 130, 246, 0.35); }
.card-link { text-decoration: none; color: inherit; }
.card-link:hover { text-decoration: none; }
.card h3 { margin-top: .75rem; }
.card p { color: var(--color-muted); margin-bottom: 0; font-size: .97rem; }
.card-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(245, 158, 11, 0.12));
  color: var(--color-primary);
}

/* === Two-col (team members) === */
.two-col { display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: center; }
.two-col__image img { aspect-ratio: 4/5; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
@media (min-width: 900px) {
  .two-col { grid-template-columns: 2fr 3fr; gap: 4rem; }
  .two-col--reverse .two-col__image { order: 2; }
}

/* === Testimonial === */
.testimonial-section .quote { margin: 0; padding: 2.5rem; background: #fff; border-radius: var(--radius-lg); border: 1px solid var(--color-border); box-shadow: var(--shadow-sm); text-align: center; }
.quote p { font-family: var(--font-heading); font-size: 1.25rem; line-height: 1.5; color: var(--color-neutral-dark); font-style: italic; margin-bottom: 1rem; }
.quote cite { font-style: normal; color: var(--color-muted); font-size: .95rem; }

/* === CTA band === */
.cta-band {
  margin: 3rem 1.25rem;
  background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark));
  color: var(--color-neutral-light);
  border-radius: var(--radius-lg);
  padding: 3.5rem 1.5rem;
  text-align: center;
  position: relative; overflow: hidden;
}
.cta-band::before {
  content: ""; position: absolute; inset: -30% -10% auto auto; width: 60%; height: 200%;
  background: radial-gradient(closest-side, rgba(245, 158, 11, 0.25), transparent 70%);
  pointer-events: none;
}
.cta-band h2, .cta-band p { color: var(--color-neutral-light); position: relative; }
.cta-band .btn-accent { position: relative; }
.cta-band .contact-line { font-size: .95rem; opacity: .9; }
.cta-band .contact-line a { color: var(--color-accent); }

@media (min-width: 768px) { .cta-band { padding: 5rem 3rem; margin-inline: auto; max-width: 1150px; } }

/* === Contact === */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1.5fr; gap: 4rem; align-items: start; } }
.contact-info p { color: var(--color-muted); }
.contact-info strong { color: var(--color-neutral-dark); font-family: var(--font-heading); }

.contact-form { display: grid; gap: 1rem; }
.contact-form label { display: flex; flex-direction: column; gap: .35rem; font-weight: 500; color: var(--color-neutral-dark); }
.contact-form input, .contact-form textarea {
  font-family: var(--font-body); font-size: 1rem;
  padding: .75rem .9rem; border: 1px solid var(--color-border); border-radius: 10px;
  background: #fff; color: var(--color-ink); transition: border-color .2s, box-shadow .2s;
}
.contact-form input:focus, .contact-form textarea:focus {
  outline: none; border-color: var(--color-secondary);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}
.form-consent { flex-direction: row !important; align-items: flex-start; gap: .6rem; font-weight: 400; font-size: .9rem; color: var(--color-muted); }
.form-consent input { margin-top: .2rem; }

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

/* === Footer === */
.site-footer { background: var(--color-neutral-dark); color: var(--color-neutral-light); padding: 3rem 0 1.5rem; margin-top: 4rem; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.2fr 1fr 1.3fr; gap: 3rem; } }
.site-footer h4 { color: var(--color-neutral-light); font-size: 1rem; margin-bottom: .75rem; }
.site-footer .logo img { filter: brightness(0) invert(1); height: 64px; }
.footer-tag { color: rgba(248, 250, 252, 0.7); margin-top: 1rem; }
.footer-nav { display: flex; flex-direction: column; gap: .5rem; }
.footer-nav a, .footer-contact a { color: rgba(248, 250, 252, 0.85); }
.footer-nav a:hover, .footer-contact a:hover { color: var(--color-accent); text-decoration: none; }
.footer-contact address { font-style: normal; color: rgba(248, 250, 252, 0.85); line-height: 1.7; }
.legal-links { margin-top: 1rem; font-size: .9rem; color: rgba(248, 250, 252, 0.7); }
.copy { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid rgba(248, 250, 252, 0.15); font-size: .85rem; color: rgba(248, 250, 252, 0.6); text-align: center; }

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

/* === 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: var(--shadow-lg);
  max-width: 720px; margin-inline: auto;
  font-size: .92rem;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 .9rem; }
.cookie-banner__actions { display: flex; gap: .5rem; flex-wrap: wrap; }
.cookie-banner button {
  font-family: var(--font-body); font-size: .9rem; font-weight: 600;
  padding: .5rem 1rem; border-radius: 999px; border: 0; cursor: pointer;
  background: rgba(248, 250, 252, 0.15); color: var(--color-neutral-light);
  transition: background .2s;
}
.cookie-banner button:hover { background: rgba(248, 250, 252, 0.25); }
.cookie-banner [data-cookie-accept] { background: var(--color-accent); color: var(--color-neutral-dark); }
.cookie-banner__prefs { margin-top: 1rem; display: flex; flex-direction: column; gap: .5rem; }
.cookie-banner__prefs label { display: flex; align-items: center; gap: .5rem; }
.cookie-banner__prefs [data-cookie-save] { align-self: flex-start; margin-top: .5rem; background: var(--color-accent); color: var(--color-neutral-dark); }
