: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: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-sm: 0 2px 20px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 12px 40px -12px rgba(15, 23, 42, 0.18);
  --shadow-lg: 0 30px 60px -20px rgba(15, 23, 42, 0.28);
  --radius-lg: 20px;
  --radius-md: 14px;
}

/* === Base === */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--color-primary);
  background: var(--color-neutral-light);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; height: auto; }
a { color: var(--color-accent); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--color-primary); }
h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--color-primary); letter-spacing: -0.015em; margin: 0 0 .75rem; line-height: 1.2; }
h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); font-weight: 700; letter-spacing: -0.025em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); font-weight: 600; }
h3 { font-size: 1.2rem; font-weight: 600; }
h4 { font-size: 1rem; font-weight: 600; }
p { margin: 0 0 1rem; }

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

/* === Header / 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 transparent;
  transition: background .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.site-header.scrolled {
  background: rgba(248, 250, 252, 0.92);
  border-bottom-color: var(--color-border);
  box-shadow: 0 6px 20px -12px rgba(15, 23, 42, 0.15);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: .75rem 1.25rem; gap: 1rem; }
.logo { display: inline-flex; align-items: center; }
.logo img { height: 72px; width: auto; display: block; }
.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  background: transparent; border: 1px solid var(--color-border);
  color: var(--color-primary); padding: .5rem; border-radius: 10px; cursor: pointer;
}
.primary-nav {
  display: none; position: absolute; top: 100%; left: 0; right: 0;
  background: var(--color-neutral-light);
  border-top: 1px solid var(--color-border);
  padding: 1rem 1.25rem; flex-direction: column; gap: .25rem;
  box-shadow: 0 20px 40px -20px rgba(0,0,0,0.15);
}
.primary-nav.open { display: flex; }
.primary-nav a {
  color: var(--color-primary); font-weight: 500; padding: .65rem .5rem;
  border-radius: 8px; position: relative;
}
.primary-nav a:hover { background: rgba(3, 105, 161, 0.06); color: var(--color-accent); }
.primary-nav a[aria-current="page"] { color: var(--color-accent); }
.nav-cta { color: var(--color-neutral-light) !important; background: var(--color-accent); text-align: center; }
.nav-cta:hover { background: var(--color-primary); }

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .primary-nav {
    display: flex; position: static; flex-direction: row; align-items: center;
    background: transparent; border: 0; padding: 0; box-shadow: none; gap: .25rem;
  }
  .primary-nav a { padding: .5rem .85rem; font-size: .95rem; }
  .nav-cta { margin-left: .5rem; padding: .55rem 1.1rem; }
}
@media (min-width: 768px) {
  .logo img { height: 96px; }
}

/* === Hero === */
.hero { position: relative; padding: 4rem 0 3rem; text-align: center; overflow: hidden; }
.hero .container { position: relative; z-index: 2; }
.hero-glow {
  position: absolute; inset: -20% 0 0 0; z-index: 1;
  background:
    radial-gradient(60% 45% at 50% 0%, rgba(3, 105, 161, 0.16), transparent 70%),
    radial-gradient(50% 40% at 80% 20%, rgba(3, 105, 161, 0.08), transparent 70%);
  pointer-events: none;
}
.eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; color: var(--color-accent); margin: 0 0 1rem;
  padding: .4rem .9rem; background: rgba(3, 105, 161, 0.08); border-radius: 999px;
}
.hero h1 { max-width: 22ch; margin-left: auto; margin-right: auto; }
.hero-sub {
  font-size: 1.15rem; color: var(--color-secondary);
  max-width: 52ch; margin: 1rem auto 2rem;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; margin-bottom: 3rem; }
.hero-image {
  margin: 3rem auto 0; max-width: 1000px;
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-lg); border: 1px solid var(--color-border);
}
.hero-image img { aspect-ratio: 16/9; object-fit: cover; width: 100%; }

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

/* === Buttons === */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .8rem 1.5rem; border-radius: 999px; font-weight: 600; font-size: .98rem;
  font-family: var(--font-body); cursor: pointer; border: 1px solid transparent;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s ease, color .2s ease;
  text-align: center;
}
.btn-primary {
  color: var(--color-neutral-light);
  background: linear-gradient(135deg, var(--color-accent), #075985);
  box-shadow: 0 10px 24px -12px rgba(3, 105, 161, 0.55);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 32px -12px rgba(3, 105, 161, 0.65); color: var(--color-neutral-light); }
.btn-ghost {
  color: var(--color-primary); background: transparent;
  border-color: var(--color-border);
}
.btn-ghost:hover { border-color: var(--color-accent); color: var(--color-accent); transform: translateY(-2px); }
.btn:focus-visible { outline: 3px solid rgba(3, 105, 161, 0.4); outline-offset: 3px; }

/* === Sections === */
.section { padding: 4rem 0; }
.section-narrow { padding: 3.5rem 0; }
.section-narrow .container { max-width: 760px; }
.section-tinted {
  background:
    radial-gradient(50% 60% at 100% 0%, rgba(3, 105, 161, 0.06), transparent 70%),
    #EEF2F7;
}
.section-title { text-align: center; margin-bottom: .5rem; }
.section-lead { text-align: center; color: var(--color-secondary); max-width: 60ch; margin: 0 auto 2.5rem; }

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

/* === Grid & Cards === */
.grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; margin-top: 2rem; }
@media (min-width: 640px) {
  .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: var(--color-neutral-light);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s ease;
  display: block; color: inherit;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(3, 105, 161, 0.25); }
.card h3 { margin-top: .75rem; color: var(--color-primary); }
.card p { color: var(--color-secondary); margin: 0; font-size: .98rem; }
a.card-link { text-decoration: none; }
a.card-link h3 { color: var(--color-primary); }
a.card-link:hover h3 { color: var(--color-accent); }
.card-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 12px;
  background: rgba(3, 105, 161, 0.1); color: var(--color-accent);
}

/* === Testimonial === */
.testimonial-section { padding: 4rem 0; }
.testimonial {
  margin: 0; text-align: center; position: relative;
  padding: 2rem 1rem;
}
.testimonial p {
  font-family: var(--font-heading); font-weight: 500;
  font-size: clamp(1.25rem, 2.4vw, 1.6rem); line-height: 1.5;
  color: var(--color-primary); max-width: 42ch; margin: 0 auto 1.25rem;
}
.testimonial cite { display: block; font-style: normal; color: var(--color-secondary); font-size: .95rem; font-weight: 500; }

/* === CTA band === */
.cta-band {
  margin: 2rem 0;
  background: linear-gradient(135deg, var(--color-primary), #1E293B);
  color: var(--color-neutral-light);
  padding: 3.5rem 0; text-align: center;
  position: relative; overflow: hidden;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(60% 100% at 50% 0%, rgba(3, 105, 161, 0.35), transparent 70%);
  pointer-events: none;
}
.cta-band .container { position: relative; }
.cta-band h2 { color: var(--color-neutral-light); }
.cta-band p { color: rgba(248, 250, 252, 0.8); max-width: 46ch; margin: 0 auto 1.75rem; }
.cta-band .btn-primary { background: var(--color-neutral-light); color: var(--color-primary); }
.cta-band .btn-primary:hover { background: var(--color-accent); color: var(--color-neutral-light); }

/* === Contact form === */
.contact-form { display: flex; flex-direction: column; gap: 1rem; margin-top: 1.5rem; }
.form-row { display: flex; flex-direction: column; gap: .35rem; }
.form-row label { font-weight: 600; font-size: .92rem; color: var(--color-primary); }
.form-row input, .form-row textarea {
  font-family: var(--font-body); font-size: 1rem;
  padding: .75rem .9rem;
  border: 1px solid var(--color-border); border-radius: 10px;
  background: var(--color-neutral-light);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.form-row input:focus, .form-row textarea:focus {
  outline: none; border-color: var(--color-accent);
  box-shadow: 0 0 0 4px rgba(3, 105, 161, 0.15);
}
.form-consent { display: flex; gap: .5rem; align-items: flex-start; font-size: .88rem; color: var(--color-secondary); }
.form-consent input { margin-top: .2rem; }
.contact-form .btn { align-self: flex-start; margin-top: .5rem; }

/* === FAQ === */
.faq { display: flex; flex-direction: column; gap: .5rem; margin-top: 1.5rem; }
.faq details {
  border: 1px solid var(--color-border); border-radius: 12px;
  background: var(--color-neutral-light); padding: 1rem 1.25rem;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.faq details[open] { border-color: rgba(3, 105, 161, 0.3); box-shadow: var(--shadow-sm); }
.faq summary { cursor: pointer; font-weight: 600; color: var(--color-primary); 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: -2px;
  font-size: 1.4rem; color: var(--color-accent); transition: transform .2s ease;
}
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: .75rem 0 0; color: var(--color-secondary); font-size: .98rem; }

/* === Footer === */
.site-footer {
  background: var(--color-primary); color: rgba(248, 250, 252, 0.85);
  padding: 3.5rem 0 1.5rem; margin-top: 3rem;
}
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 1.3fr 1fr 1.3fr; }
}
.site-footer h4 { color: var(--color-neutral-light); margin-bottom: 1rem; font-size: .95rem; text-transform: uppercase; letter-spacing: .08em; }
.site-footer a { color: rgba(248, 250, 252, 0.85); }
.site-footer a:hover { color: var(--color-neutral-light); }
.footer-nav { display: flex; flex-direction: column; gap: .5rem; }
.footer-nav a { padding: .15rem 0; }
.footer-tagline { color: rgba(248, 250, 252, 0.7); margin-top: .5rem; font-size: .95rem; }
.logo-footer img { height: 64px; }
.footer-legal-links { margin-top: 1rem; font-size: .85rem; color: rgba(248, 250, 252, 0.65); }
.footer-legal-links a { color: rgba(248, 250, 252, 0.75); }
.footer-bottom {
  margin-top: 2.5rem; padding-top: 1.5rem;
  border-top: 1px solid rgba(248, 250, 252, 0.12);
  font-size: .85rem; color: rgba(248, 250, 252, 0.6);
}
.footer-bottom p { margin: 0; }

/* === 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.35rem; border-radius: 14px;
  box-shadow: 0 20px 50px -10px rgba(0,0,0,0.5);
  max-width: 640px; margin-left: auto;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 1rem; font-size: .92rem; color: rgba(248, 250, 252, 0.85); }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.cookie-banner button {
  font-family: var(--font-body); font-weight: 600; font-size: .88rem;
  padding: .55rem 1rem; border-radius: 8px; cursor: pointer;
  border: 1px solid rgba(248, 250, 252, 0.2);
  background: transparent; color: var(--color-neutral-light);
  transition: background .2s ease;
}
.cookie-banner button:hover { background: rgba(248, 250, 252, 0.08); }
.cookie-banner [data-cookie-accept] { background: var(--color-accent); border-color: var(--color-accent); }
.cookie-banner [data-cookie-accept]:hover { background: #075985; }
.cookie-banner__prefs { margin-top: 1rem; display: flex; flex-direction: column; gap: .5rem; }
.cookie-banner__prefs label { display: flex; align-items: center; gap: .5rem; font-size: .88rem; color: rgba(248, 250, 252, 0.85); }
.cookie-banner__prefs [data-cookie-save] { align-self: flex-start; margin-top: .5rem; background: var(--color-accent); border-color: var(--color-accent); }

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