:root {
  --color-primary: #1E40AF;
  --color-secondary: #3B82F6;
  --color-accent: #F97316;
  --color-neutral-dark: #1E3A8A;
  --color-neutral-light: #EFF6FF;
  --color-text: #0F172A;
  --color-muted: #475569;
  --color-border: rgba(30, 58, 138, 0.12);
  --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;
  --shadow-sm: 0 2px 20px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 20px 60px -20px rgba(30, 64, 175, 0.35);
}

/* === Reset === */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font-body); color: var(--color-text); background: #fff; 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 var(--ease); }
a:hover { color: var(--color-secondary); }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--color-neutral-dark); letter-spacing: -0.02em; margin: 0 0 .75em; line-height: 1.15; font-weight: 700; }
h1 { font-size: clamp(2.25rem, 5vw, 4rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
h3 { font-size: 1.25rem; font-weight: 600; }
p { margin: 0 0 1rem; }

/* === Layout === */
.container { width: 100%; max-width: 1160px; margin: 0 auto; padding-inline: 1.25rem; }
.narrow { max-width: 760px; margin-inline: auto; }
.center { text-align: center; }
.muted { color: var(--color-muted); }

/* === Header === */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, 0.7); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); border-bottom: 1px solid var(--color-border); transition: background .2s var(--ease), box-shadow .2s var(--ease); }
.site-header.scrolled { background: rgba(255, 255, 255, 0.92); box-shadow: 0 8px 30px -20px rgba(15, 23, 42, 0.2); }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding-block: .75rem; gap: 1rem; }
.logo { display: inline-flex; align-items: center; }
.logo img { height: 72px; width: auto; display: block; }
.nav-toggle { background: transparent; border: 0; padding: .5rem; color: var(--color-neutral-dark); display: inline-flex; }
.primary-nav { display: none; }
.primary-nav a { display: block; padding: .5rem 0; color: var(--color-neutral-dark); font-weight: 500; 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::after, .primary-nav a[aria-current="page"]::after { transform: scaleX(1); }
.primary-nav.is-open { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: #fff; padding: 1rem 1.25rem; border-bottom: 1px solid var(--color-border); gap: .25rem; }

@media (min-width: 900px) {
  .logo img { height: 96px; }
  .nav-toggle { display: none; }
  .primary-nav { display: flex; gap: 2rem; position: static; padding: 0; background: transparent; border: 0; }
}

/* === Buttons === */
.btn { display: inline-block; padding: .85rem 1.5rem; border-radius: 999px; font-weight: 600; font-family: var(--font-heading); letter-spacing: -0.01em; border: 1px solid transparent; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease); }
.btn-primary { background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark)); color: #fff; box-shadow: 0 10px 30px -12px rgba(30, 64, 175, 0.6); }
.btn-primary:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 14px 36px -12px rgba(30, 64, 175, 0.7); }
.btn-ghost { background: transparent; color: var(--color-neutral-dark); border-color: var(--color-border); }
.btn-ghost:hover { background: var(--color-neutral-light); transform: translateY(-2px); }
.btn-accent { background: var(--color-accent); color: #fff; box-shadow: 0 10px 30px -12px rgba(249, 115, 22, 0.55); }
.btn-accent:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 14px 36px -12px rgba(249, 115, 22, 0.7); }
.btn:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 3px; }

/* === Hero === */
.hero { position: relative; padding-block: 3rem 4rem; text-align: center; overflow: hidden; background: radial-gradient(1000px 500px at 50% -100px, rgba(59, 130, 246, 0.18), transparent 70%), var(--color-neutral-light); }
.hero::after { content: ''; position: absolute; bottom: -80px; right: -80px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(249, 115, 22, 0.15), transparent 70%); pointer-events: none; }
.eyebrow { text-transform: uppercase; letter-spacing: .18em; font-size: .8rem; color: var(--color-secondary); font-weight: 600; margin-bottom: .75rem; }
.hero h1 { max-width: 22ch; margin-inline: auto; }
.hero__sub { max-width: 52ch; margin-inline: auto; font-size: 1.15rem; color: var(--color-muted); }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; margin-top: 1.75rem; }
.hero__image { margin-top: 3rem; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-md); }
.hero__image img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }

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

/* === Sections === */
.section { padding-block: 3.5rem; }
.section-tint { background: var(--color-neutral-light); }
.section-title { text-align: center; margin-bottom: 2.5rem; }
@media (min-width: 768px) { .section { padding-block: 5.5rem; } }

/* === Grids === */
.grid { display: grid; gap: 1.5rem; 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); }
}

/* === Cards === */
.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: 0 24px 50px -25px rgba(30, 64, 175, 0.28); }
.card-icon { display: inline-flex; width: 44px; height: 44px; border-radius: 12px; align-items: center; justify-content: center; background: linear-gradient(135deg, rgba(59, 130, 246, 0.14), rgba(30, 64, 175, 0.14)); color: var(--color-primary); margin-bottom: 1rem; }
.card h3 { color: var(--color-neutral-dark); }
.card p { color: var(--color-muted); margin-bottom: 0; }
.team-card { text-align: left; }
.team-photo { width: 100%; aspect-ratio: 1/1; object-fit: cover; border-radius: 12px; margin-bottom: 1.25rem; }

/* === Quote === */
.quote { border-left: 4px solid var(--color-accent); background: var(--color-neutral-light); padding: 2rem 2rem 2rem 2.25rem; border-radius: 12px; margin: 0; font-family: var(--font-heading); }
.quote p { font-size: 1.2rem; line-height: 1.55; color: var(--color-neutral-dark); font-weight: 500; margin-bottom: 1rem; }
.quote cite { font-style: normal; color: var(--color-muted); font-family: var(--font-body); font-size: .95rem; }

/* === CTA band === */
.cta-band { background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark)); color: #fff; padding-block: 3.5rem; position: relative; overflow: hidden; }
.cta-band::before { content: ''; position: absolute; inset: 0; background: radial-gradient(600px 300px at 20% 0%, rgba(249, 115, 22, 0.25), transparent 70%); pointer-events: none; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255, 255, 255, 0.86); max-width: 60ch; margin-inline: auto; }
.cta-band .btn-accent { margin-top: .75rem; }

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

/* === Contact form === */
.contact-form { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow-sm); }
.field { display: block; margin-bottom: 1rem; }
.field label { display: block; font-weight: 500; margin-bottom: .35rem; color: var(--color-neutral-dark); font-size: .95rem; }
.field input, .field textarea { width: 100%; padding: .75rem .9rem; border: 1px solid var(--color-border); border-radius: 10px; font: inherit; color: var(--color-text); 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; margin: 1rem 0 1.25rem; font-size: .9rem; color: var(--color-muted); }
.form-consent input { margin-top: .25rem; }

/* === Footer === */
.site-footer { background: var(--color-neutral-dark); color: rgba(239, 246, 255, 0.85); padding-top: 3rem; margin-top: 4rem; }
.footer-grid { display: grid; gap: 2rem; grid-template-columns: 1fr; padding-bottom: 2rem; }
.footer-logo img { height: 64px; filter: brightness(0) invert(1); }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .4rem; }
.site-footer a { color: rgba(239, 246, 255, 0.8); }
.site-footer a:hover { color: #fff; }
.site-footer address { font-style: normal; margin-bottom: 1rem; line-height: 1.7; }
.legal-links { display: flex; flex-wrap: wrap; gap: 1rem; font-size: .9rem; }
.copyright { border-top: 1px solid rgba(255, 255, 255, 0.12); padding-block: 1.25rem; font-size: .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: 14px; box-shadow: 0 20px 60px -20px rgba(0, 0, 0, 0.5); max-width: 640px; margin-inline: auto; }
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 .9rem; font-size: .92rem; line-height: 1.5; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.cookie-banner__actions button { padding: .55rem 1rem; border-radius: 999px; border: 1px solid rgba(239, 246, 255, 0.25); background: transparent; color: var(--color-neutral-light); font-size: .88rem; font-weight: 500; transition: background .2s var(--ease); }
.cookie-banner__actions button:hover { background: rgba(239, 246, 255, 0.1); }
.cookie-banner__actions [data-cookie-accept] { background: var(--color-accent); border-color: var(--color-accent); color: #fff; }
.cookie-banner__actions [data-cookie-accept]:hover { background: #ea6a10; }
.cookie-banner__prefs { margin-top: 1rem; display: flex; flex-direction: column; gap: .4rem; font-size: .9rem; }
.cookie-banner__prefs label { display: flex; align-items: center; gap: .5rem; }
.cookie-banner__prefs [data-cookie-save] { align-self: flex-start; margin-top: .5rem; padding: .5rem 1rem; border-radius: 999px; border: 0; background: var(--color-accent); color: #fff; font-weight: 500; }

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