:root {
  --color-primary: #0F172A;
  --color-secondary: #334155;
  --color-accent: #0369A1;
  --color-neutral-dark: #020617;
  --color-neutral-light: #F8FAFC;
  --color-card: #FFFFFF;
  --color-border: rgba(15, 23, 42, 0.10);
  --font-heading: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --radius-lg: 20px;
  --radius-md: 14px;
  --shadow-soft: 0 2px 20px rgba(2, 6, 23, 0.06);
  --shadow-lift: 0 20px 60px -25px rgba(2, 6, 23, 0.28);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* === Reset === */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
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.2; margin: 0 0 1rem; letter-spacing: -0.02em; font-weight: 600; }
h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1rem; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 1.25rem; }
.container.narrow { max-width: 780px; }

/* === Header === */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(248, 250, 252, 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, border-color .2s, box-shadow .2s; }
.site-header.scrolled { background: rgba(248, 250, 252, 0.92); border-bottom-color: var(--color-border); box-shadow: 0 4px 20px -12px rgba(2,6,23,0.15); }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 0.75rem 1.25rem; gap: 1rem; }
.logo img { height: 72px; width: auto; display: block; }
.nav-toggle { background: none; border: 0; padding: 0.5rem; cursor: pointer; display: flex; flex-direction: column; gap: 5px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--color-primary); border-radius: 2px; transition: transform .2s; }
.primary-nav { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--color-neutral-light); padding: 1rem 1.25rem 1.5rem; border-bottom: 1px solid var(--color-border); gap: 0.25rem; }
.primary-nav.open { display: flex; }
.primary-nav a { color: var(--color-secondary); font-weight: 500; padding: 0.6rem 0; text-decoration: none; position: relative; }
.primary-nav a.is-active { color: var(--color-primary); }
.primary-nav a.nav-cta { color: var(--color-neutral-light); background: linear-gradient(135deg, var(--color-primary), var(--color-accent)); padding: 0.6rem 1.1rem; border-radius: 999px; text-align: center; margin-top: 0.25rem; }

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .primary-nav { display: flex; flex-direction: row; position: static; background: transparent; padding: 0; border: 0; gap: 0.5rem; align-items: center; }
  .primary-nav a { padding: 0.4rem 0.75rem; }
  .primary-nav a:not(.nav-cta)::after { content: ''; position: absolute; left: 0.75rem; right: 0.75rem; bottom: 0.15rem; height: 2px; 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-active::after { transform: scaleX(1); }
  .primary-nav a:hover { text-decoration: none; }
  .logo img { height: 96px; }
}

/* === Buttons === */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 0.85rem 1.6rem; border-radius: 999px; font-weight: 600; font-family: var(--font-body); font-size: 0.95rem; border: 0; cursor: pointer; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s; text-decoration: none; }
.btn-primary { background: linear-gradient(135deg, var(--color-primary), var(--color-accent)); color: var(--color-neutral-light); box-shadow: 0 10px 30px -12px rgba(3, 105, 161, 0.5); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -12px rgba(3, 105, 161, 0.6); text-decoration: none; }
.btn-ghost { background: transparent; color: var(--color-primary); border: 1.5px solid var(--color-border); }
.btn-ghost:hover { background: rgba(15,23,42,0.04); transform: translateY(-2px); text-decoration: none; }
:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 2px; border-radius: 4px; }

/* === Hero (card) === */
.hero { padding: 3rem 0 2rem; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 20% -10%, rgba(3, 105, 161, 0.15), transparent 60%), radial-gradient(ellipse at 90% 20%, rgba(15, 23, 42, 0.10), transparent 55%); pointer-events: none; z-index: 0; }
.hero .container { position: relative; z-index: 1; }
.hero-card__panel { background: var(--color-card); border-radius: var(--radius-lg); padding: 2.25rem 1.5rem; box-shadow: var(--shadow-lift); max-width: 880px; margin: 0 auto; border: 1px solid var(--color-border); }
.hero-card__panel .eyebrow { font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--color-accent); margin: 0 0 0.75rem; }
.hero-card__panel h1 { margin-bottom: 1rem; }
.hero-card__panel .lede { font-size: 1.1rem; color: var(--color-secondary); max-width: 60ch; margin-bottom: 1.5rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 2rem; }
.hero-card__figure { margin: 0; border-radius: var(--radius-md); overflow: hidden; }
.hero-card__figure img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
@media (min-width: 768px) {
  .hero { padding: 5rem 0 3rem; }
  .hero-card__panel { padding: 3.5rem; }
}

/* === Sections === */
.section { padding: 3rem 0; }
@media (min-width: 768px) { .section { padding: 5rem 0; } }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 2.5rem; }
.section-head p { color: var(--color-secondary); font-size: 1.05rem; margin: 0; }

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

.card { background: var(--color-card); border: 1px solid var(--color-border); border-radius: var(--radius-md); padding: 1.75rem 1.5rem; box-shadow: var(--shadow-soft); transition: transform .25s var(--ease), box-shadow .25s var(--ease); display: block; color: var(--color-primary); text-decoration: none; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); text-decoration: none; }
.card h3 { margin-bottom: 0.5rem; }
.card p { color: var(--color-secondary); margin: 0; font-size: 0.98rem; }
.card-link { cursor: pointer; }
.card-icon { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: 12px; background: linear-gradient(135deg, rgba(15,23,42,0.06), rgba(3,105,161,0.12)); color: var(--color-accent); margin-bottom: 1rem; }

/* === Intro === */
.intro h2 { text-align: center; }
.intro p { color: var(--color-secondary); font-size: 1.05rem; }

/* === Testimonial === */
.testimonial blockquote { margin: 0; text-align: center; }
.testimonial blockquote p { font-family: var(--font-heading); font-size: clamp(1.15rem, 2vw, 1.5rem); color: var(--color-primary); line-height: 1.5; margin-bottom: 1.25rem; }
.testimonial cite { font-style: normal; color: var(--color-secondary); font-size: 0.95rem; }

/* === CTA band === */
.cta-band { padding: 3rem 0; background: linear-gradient(135deg, var(--color-primary), #1e3a5f); color: var(--color-neutral-light); position: relative; overflow: hidden; }
.cta-band::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 80% 50%, rgba(3,105,161,0.35), transparent 60%); pointer-events: none; }
.cta-band__inner { position: relative; 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 .btn-primary { background: var(--color-neutral-light); color: var(--color-primary); box-shadow: 0 12px 30px -12px rgba(0,0,0,0.4); }
@media (min-width: 768px) {
  .cta-band__inner { flex-direction: row; align-items: center; justify-content: space-between; }
  .cta-band__inner > div { max-width: 55%; }
}

/* === FAQ === */
.faq details { background: var(--color-card); border: 1px solid var(--color-border); border-radius: var(--radius-md); padding: 1rem 1.25rem; margin-bottom: 0.75rem; box-shadow: var(--shadow-soft); }
.faq summary { font-family: var(--font-heading); font-weight: 600; font-size: 1.05rem; cursor: pointer; list-style: none; padding-right: 1.5rem; position: relative; color: var(--color-primary); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 0; top: 0; font-size: 1.5rem; color: var(--color-accent); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--color-secondary); margin: 0.75rem 0 0; }

/* === Contact band === */
.contact-band { text-align: center; }
.contact-band p { font-size: 1.05rem; color: var(--color-secondary); }

/* === Form === */
.form-section h2 { text-align: center; }
.form-section > .container > p { text-align: center; color: var(--color-secondary); margin-bottom: 2rem; }
.contact-form { display: flex; flex-direction: column; gap: 1rem; background: var(--color-card); padding: 2rem 1.5rem; border-radius: var(--radius-md); border: 1px solid var(--color-border); box-shadow: var(--shadow-soft); }
.contact-form label { display: flex; flex-direction: column; gap: 0.4rem; font-weight: 500; font-size: 0.95rem; color: var(--color-primary); }
.contact-form input, .contact-form textarea { font: inherit; padding: 0.75rem 0.9rem; border: 1px solid var(--color-border); border-radius: 10px; background: var(--color-neutral-light); color: var(--color-primary); transition: border-color .2s, box-shadow .2s; }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--color-accent); box-shadow: 0 0 0 3px rgba(3, 105, 161, 0.15); }
.contact-form textarea { resize: vertical; min-height: 140px; }
.form-consent { flex-direction: row; align-items: flex-start; gap: 0.6rem; font-weight: 400; font-size: 0.9rem; color: var(--color-secondary); }
.form-consent input { margin-top: 0.2rem; }
.contact-form .btn { align-self: flex-start; }
@media (min-width: 640px) { .contact-form { padding: 2.5rem; } }

/* === Footer === */
.site-footer { background: var(--color-primary); color: rgba(248, 250, 252, 0.85); padding: 3rem 0 1.5rem; margin-top: 3rem; }
.site-footer h4 { color: var(--color-neutral-light); font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 1rem; }
.footer-grid { display: grid; gap: 2rem; grid-template-columns: 1fr; }
.footer-grid .logo img { height: 60px; filter: brightness(0) invert(1); margin-bottom: 1rem; }
.footer-grid nav { display: flex; flex-direction: column; gap: 0.4rem; }
.footer-grid nav a, .footer-grid address a { color: rgba(248, 250, 252, 0.75); text-decoration: none; }
.footer-grid nav a:hover, .footer-grid address a:hover { color: var(--color-neutral-light); text-decoration: underline; }
.footer-grid address { font-style: normal; line-height: 1.7; margin-bottom: 1rem; }
.legal-links { font-size: 0.88rem; color: rgba(248, 250, 252, 0.6); }
.legal-links a { color: rgba(248, 250, 252, 0.75); }
.copyright { border-top: 1px solid rgba(248, 250, 252, 0.12); padding-top: 1.25rem; margin-top: 2rem; font-size: 0.85rem; color: rgba(248, 250, 252, 0.55); text-align: center; }
@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); border-radius: var(--radius-md); padding: 1.25rem; box-shadow: 0 20px 60px -20px rgba(0,0,0,0.6); 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.85); }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.cookie-banner__actions button { flex: 1 1 auto; padding: 0.6rem 1rem; border-radius: 999px; border: 0; font-family: var(--font-body); font-weight: 600; font-size: 0.88rem; cursor: pointer; }
.cookie-banner__actions button[data-cookie-accept] { background: var(--color-accent); color: var(--color-neutral-light); }
.cookie-banner__actions button[data-cookie-reject], .cookie-banner__actions button[data-cookie-settings] { background: rgba(248, 250, 252, 0.12); color: var(--color-neutral-light); }
.cookie-banner__prefs { margin-top: 1rem; display: flex; flex-direction: column; gap: 0.5rem; }
.cookie-banner__prefs label { display: flex; align-items: center; gap: 0.5rem; font-size: 0.9rem; }
.cookie-banner__prefs button { align-self: flex-start; padding: 0.5rem 1rem; border-radius: 999px; border: 0; background: var(--color-accent); color: var(--color-neutral-light); font-weight: 600; cursor: pointer; 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; }
  html { scroll-behavior: auto; }
}
