/* === Tokens === */
: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: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --shadow-sm: 0 2px 20px rgba(2, 6, 23, 0.06);
  --shadow-md: 0 12px 40px -12px rgba(2, 6, 23, 0.20);
  --shadow-lg: 0 30px 60px -30px rgba(2, 6, 23, 0.30);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* === Reset === */
*, *::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: 16px; }
img { max-width: 100%; height: auto; display: block; }
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.15; letter-spacing: -0.02em; margin: 0 0 0.75rem; font-weight: 600; }
h1 { font-size: clamp(2.25rem, 5vw, 4rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1rem; }
button { font: inherit; cursor: pointer; }

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

/* === Header (glass 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 var(--color-border);
  transition: background .2s ease, box-shadow .2s ease;
}
.site-header.scrolled { background: rgba(248, 250, 252, 0.92); box-shadow: var(--shadow-sm); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 88px; }
.logo { display: inline-flex; align-items: center; }
.logo img { height: 72px; width: auto; display: block; }
.logo--footer img { height: 64px; }

.nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; background: transparent; border: 1px solid var(--color-border); border-radius: var(--radius-sm); color: var(--color-primary); }
.primary-nav { display: none; flex-direction: column; gap: 0.25rem; }
.primary-nav a { position: relative; color: var(--color-primary); font-weight: 500; padding: 0.5rem 0; text-decoration: none; }
.primary-nav a[aria-current="page"] { color: var(--color-accent); }
.primary-nav.is-open { display: flex; position: absolute; left: 0; right: 0; top: 100%; background: var(--color-neutral-light); border-bottom: 1px solid var(--color-border); padding: 1rem 1.25rem 1.25rem; box-shadow: var(--shadow-sm); }

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .primary-nav { display: flex; flex-direction: row; gap: 2rem; position: static; padding: 0; background: transparent; border: 0; box-shadow: none; }
  .primary-nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; 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 a:hover { text-decoration: none; }
  .logo img { height: 96px; }
  .logo--footer img { height: 72px; }
}

/* === Buttons === */
.btn { display: inline-block; padding: 0.85rem 1.6rem; border-radius: 999px; font-weight: 600; font-family: var(--font-heading); letter-spacing: -0.01em; transition: transform .2s var(--ease), box-shadow .2s var(--ease), opacity .2s; border: 1px solid transparent; }
.btn:hover { text-decoration: none; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 3px; }
.btn--primary { background: linear-gradient(135deg, var(--color-primary), var(--color-secondary)); color: var(--color-neutral-light); }
.btn--accent { background: var(--color-accent); color: var(--color-neutral-light); }
.btn--ghost { background: transparent; color: var(--color-primary); border-color: var(--color-border); }

/* === Hero (centered) === */
.hero { position: relative; padding-block: 4rem 3rem; overflow: hidden; text-align: center; }
.hero::before { content: ''; position: absolute; inset: -20% 10% auto 10%; height: 60%; background: radial-gradient(closest-side, rgba(3, 105, 161, 0.18), transparent 70%); z-index: -1; }
.hero .container { display: flex; flex-direction: column; align-items: center; }
.eyebrow { font-family: var(--font-heading); text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.8rem; color: var(--color-accent); margin-bottom: 1rem; }
.hero h1 { max-width: 22ch; margin-inline: auto; }
.hero__sub { max-width: 52ch; margin: 0.75rem auto 1.75rem; font-size: 1.15rem; color: var(--color-secondary); }
.hero__cta { margin-bottom: 2.5rem; }
.hero__media { width: 100%; max-width: 1080px; margin-inline: auto; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid var(--color-border); }
.hero__media img { aspect-ratio: 16/9; object-fit: cover; width: 100%; }

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

/* === Sections === */
.section { padding-block: 4rem; }
.section--muted { background: linear-gradient(180deg, rgba(3, 105, 161, 0.04), rgba(3, 105, 161, 0)); }
.section--narrow .container { max-width: 760px; }
.section__title { text-align: center; }
.section__sub { text-align: center; color: var(--color-secondary); max-width: 60ch; margin: 0 auto 2.5rem; font-size: 1.05rem; }
.section__header { margin-bottom: 2.5rem; }
.lead { font-size: 1.1rem; color: var(--color-secondary); max-width: 62ch; margin-inline: auto; text-align: center; }

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

/* === Grid & Cards === */
.grid { display: grid; gap: 1.5rem; }
.grid--3 { grid-template-columns: 1fr; }
.grid--2 { grid-template-columns: 1fr; }
@media (min-width: 700px) { .grid--2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } }

.card { background: #ffffff; border: 1px solid var(--color-border); border-radius: var(--radius-md); padding: 2rem; 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: 0.75rem; }
.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(3, 105, 161, 0.14), rgba(3, 105, 161, 0.04)); color: var(--color-accent); margin-bottom: 1.25rem; }

/* === Quote === */
.section--quote { background: var(--color-primary); color: var(--color-neutral-light); }
.section--quote .quote p { font-family: var(--font-heading); font-size: clamp(1.25rem, 2.4vw, 1.75rem); line-height: 1.4; color: var(--color-neutral-light); max-width: 46ch; margin: 0 auto 1.25rem; text-align: center; font-weight: 500; }
.section--quote .quote cite { display: block; text-align: center; font-style: normal; color: rgba(248, 250, 252, 0.72); font-size: 0.95rem; letter-spacing: 0.02em; }
.quote { margin: 0; }

/* === CTA band === */
.cta-band { background: linear-gradient(135deg, var(--color-primary), var(--color-accent)); color: var(--color-neutral-light); padding-block: 3rem; }
.cta-band__inner { display: flex; flex-direction: column; gap: 1.5rem; align-items: flex-start; }
.cta-band h2 { color: var(--color-neutral-light); margin-bottom: 0.5rem; }
.cta-band p { color: rgba(248, 250, 252, 0.85); margin: 0; }
.cta-band__meta { font-size: 0.95rem; margin-top: 0.5rem; }
.cta-band__meta a { color: var(--color-neutral-light); text-decoration: underline; }
.cta-band__cta { margin: 0; }

@media (min-width: 768px) {
  .cta-band { padding-block: 4.5rem; }
  .cta-band__inner { flex-direction: row; align-items: center; justify-content: space-between; }
}

/* === FAQ === */
.faq { display: flex; flex-direction: column; gap: 0.75rem; }
.faq details { background: #ffffff; border: 1px solid var(--color-border); border-radius: var(--radius-md); padding: 1rem 1.25rem; box-shadow: var(--shadow-sm); transition: box-shadow .2s var(--ease); }
.faq details[open] { box-shadow: var(--shadow-md); }
.faq summary { cursor: pointer; font-family: var(--font-heading); font-weight: 600; font-size: 1.05rem; 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: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--color-accent); transition: transform .2s; }
.faq details[open] summary::after { content: '−'; }
.faq p { margin: 0.75rem 0 0; color: var(--color-secondary); }

/* === Contact === */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 640px) { .contact-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .contact-grid { grid-template-columns: repeat(4, 1fr); } }
.contact-card { background: #ffffff; border: 1px solid var(--color-border); border-radius: var(--radius-md); padding: 1.5rem; box-shadow: var(--shadow-sm); }
.contact-card h3 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--color-muted); margin-bottom: 0.5rem; }
.contact-card p { margin: 0; color: var(--color-primary); }

/* === Form === */
.contact-form { display: flex; flex-direction: column; gap: 1.25rem; background: #ffffff; border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: 2rem; box-shadow: var(--shadow-sm); }
.form-row { display: flex; flex-direction: column; gap: 0.4rem; }
.form-row label { font-weight: 500; font-size: 0.95rem; }
.form-row input, .form-row textarea { font: inherit; padding: 0.75rem 0.9rem; border: 1px solid var(--color-border); border-radius: var(--radius-sm); background: var(--color-neutral-light); color: var(--color-primary); transition: border-color .15s, box-shadow .15s; }
.form-row input:focus, .form-row textarea:focus { outline: none; border-color: var(--color-accent); box-shadow: 0 0 0 3px rgba(3, 105, 161, 0.18); }
.form-consent { display: flex; align-items: flex-start; gap: 0.6rem; font-size: 0.9rem; color: var(--color-secondary); }
.form-consent input { margin-top: 0.25rem; }

/* === Footer === */
.site-footer { background: var(--color-neutral-dark); color: rgba(248, 250, 252, 0.85); padding-block: 3.5rem 1.75rem; margin-top: 4rem; }
.site-footer h4 { font-family: var(--font-heading); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--color-neutral-light); margin-bottom: 0.9rem; }
.site-footer a { color: rgba(248, 250, 252, 0.85); }
.site-footer a:hover { color: var(--color-neutral-light); }
.site-footer__grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 768px) { .site-footer__grid { grid-template-columns: 1.2fr 1fr 1.4fr; } }
.footer-nav { display: flex; flex-direction: column; gap: 0.4rem; }
.footer-nav a { text-decoration: none; }
.footer__tag { color: rgba(248, 250, 252, 0.65); margin-top: 0.75rem; }
.footer-legal { margin-top: 1rem; font-size: 0.9rem; color: rgba(248, 250, 252, 0.65); }
.site-footer__copy { border-top: 1px solid rgba(248, 250, 252, 0.10); margin-top: 2.5rem; padding-top: 1.5rem; font-size: 0.85rem; color: rgba(248, 250, 252, 0.55); }

/* === 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.4rem; border-radius: var(--radius-md); box-shadow: var(--shadow-lg); max-width: 640px; margin-inline: auto; }
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 1rem; font-size: 0.92rem; color: rgba(248, 250, 252, 0.9); }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.cookie-banner__actions button { padding: 0.55rem 1rem; border-radius: 999px; border: 1px solid rgba(248, 250, 252, 0.22); background: transparent; color: var(--color-neutral-light); font-family: var(--font-heading); font-size: 0.9rem; font-weight: 500; }
.cookie-banner__actions button[data-cookie-accept] { background: var(--color-accent); border-color: var(--color-accent); }
.cookie-banner__actions button:hover { background: rgba(248, 250, 252, 0.10); }
.cookie-banner__actions button[data-cookie-accept]:hover { background: var(--color-accent); filter: brightness(1.1); }
.cookie-banner__prefs { display: flex; flex-direction: column; gap: 0.5rem; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid rgba(248, 250, 252, 0.12); font-size: 0.9rem; }
.cookie-banner__prefs label { display: inline-flex; align-items: center; gap: 0.5rem; }
.cookie-banner__prefs button { align-self: flex-start; margin-top: 0.5rem; padding: 0.55rem 1rem; border-radius: 999px; border: 1px solid var(--color-accent); background: var(--color-accent); color: var(--color-neutral-light); }

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