: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.08);
  --color-muted: #64748B;
  --font-heading: 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius-lg: 20px;
  --radius-md: 14px;
  --shadow-soft: 0 2px 20px rgba(2, 6, 23, 0.06);
  --shadow-lift: 0 20px 60px -20px rgba(2, 6, 23, 0.25);
}

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

.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 1.25rem; }
.container.narrow { max-width: 760px; }
.center { text-align: center; }
.eyebrow {
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  color: var(--color-accent);
  font-weight: 600;
  margin: 0 0 1rem;
}

/* === 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 .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header.scrolled {
  background: rgba(248, 250, 252, 0.92);
  box-shadow: 0 6px 24px -18px rgba(2, 6, 23, 0.4);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 0.75rem;
  gap: 1rem;
}
.logo { display: inline-flex; align-items: center; }
.logo img { height: 72px; width: auto; display: block; }
.logo--footer img { height: 64px; }

.primary-nav { display: flex; align-items: center; }
.nav-toggle {
  background: transparent;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 8px;
  color: var(--color-primary);
  cursor: pointer;
  display: inline-flex;
}
.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: none;
  gap: 1.75rem;
}
.nav-list.is-open {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: rgba(248, 250, 252, 0.97);
  backdrop-filter: blur(16px);
  padding: 1.25rem;
  border-bottom: 1px solid var(--color-border);
}
.nav-list a {
  color: var(--color-primary);
  font-weight: 500;
  position: relative;
  padding-block: 0.25rem;
}
.nav-list 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);
}
.nav-list a:hover::after,
.nav-list a[aria-current="page"]::after { transform: scaleX(1); }

/* === Buttons === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.5rem;
  border-radius: 999px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
  text-decoration: none;
}
.btn-primary {
  background: linear-gradient(135deg, var(--color-accent), #075985);
  color: #fff;
  box-shadow: 0 10px 30px -10px rgba(3, 105, 161, 0.5);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -10px rgba(3, 105, 161, 0.6); color: #fff; }
.btn-ghost {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-border);
}
.btn-ghost:hover { background: rgba(3, 105, 161, 0.06); transform: translateY(-2px); }
.btn:focus-visible { outline: 3px solid rgba(3, 105, 161, 0.4); outline-offset: 3px; }

/* === Hero === */
.hero {
  position: relative;
  padding-block: 4rem 3rem;
  text-align: center;
  overflow: hidden;
  background: linear-gradient(180deg, #EEF2F7 0%, #F8FAFC 100%);
}
.hero-glow {
  position: absolute;
  inset: -10% 0 auto 0;
  height: 60%;
  background: radial-gradient(60% 60% at 50% 30%, rgba(3, 105, 161, 0.18), transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.hero .container { position: relative; z-index: 1; }
.hero__title { max-width: 22ch; margin-inline: auto; }
.hero__sub {
  max-width: 52ch;
  margin: 1rem auto 1.75rem;
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  color: var(--color-secondary);
}
.hero__ctas { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; margin-bottom: 3rem; }
.hero__figure {
  margin: 0 auto;
  max-width: 1000px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lift);
  aspect-ratio: 16 / 9;
}
.hero__figure img { width: 100%; height: 100%; object-fit: cover; }

/* === Sections === */
.section { padding-block: 4rem; }
.section__head { text-align: center; margin-bottom: 2.5rem; }
.section__sub { max-width: 56ch; margin: 0 auto; color: var(--color-secondary); }
.intro h2 { text-align: center; }
.intro p { text-align: center; font-size: 1.1rem; }

/* === Grid & cards === */
.grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
.card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  box-shadow: var(--shadow-soft);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: 0 22px 40px -22px rgba(2, 6, 23, 0.25); }
.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: 1rem;
}
.card h3 { margin-bottom: 0.5rem; }
.card p { color: var(--color-secondary); margin: 0; }

/* === Testimonial === */
.testimonial-section { background: linear-gradient(180deg, #F8FAFC, #EEF2F7); }
.testimonial {
  margin: 0;
  padding: 2rem;
  text-align: center;
  border-left: 3px solid var(--color-accent);
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
}
.testimonial p {
  font-family: var(--font-heading);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-weight: 500;
  color: var(--color-primary);
  line-height: 1.5;
  margin-bottom: 1rem;
}
.testimonial cite {
  font-style: normal;
  color: var(--color-muted);
  font-size: 0.9rem;
}

/* === CTA band === */
.cta-band {
  background: linear-gradient(135deg, var(--color-primary), #1E293B);
  color: #fff;
  padding-block: 4rem;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(40% 60% at 80% 20%, rgba(3, 105, 161, 0.35), transparent 70%);
  pointer-events: none;
}
.cta-band .container { position: relative; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(248, 250, 252, 0.8); max-width: 56ch; margin-inline: auto; }

/* === FAQ === */
.faq-list details {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.1rem 1.25rem;
  margin-bottom: 0.75rem;
  box-shadow: var(--shadow-soft);
  transition: box-shadow .2s var(--ease);
}
.faq-list details[open] { box-shadow: 0 10px 30px -18px rgba(2, 6, 23, 0.25); }
.faq-list summary {
  cursor: pointer;
  font-weight: 600;
  font-family: var(--font-heading);
  color: var(--color-primary);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: '+';
  font-size: 1.4rem;
  color: var(--color-accent);
  transition: transform .2s var(--ease);
}
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list p { margin: 0.75rem 0 0; color: var(--color-secondary); }

/* === Form === */
.contact-form {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-soft);
}
.field { margin-bottom: 1.1rem; }
.field label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 0.4rem;
}
.field input,
.field textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  font: inherit;
  color: var(--color-primary);
  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-accent);
  box-shadow: 0 0 0 3px rgba(3, 105, 161, 0.15);
}
.form-consent {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  font-size: 0.88rem;
  color: var(--color-secondary);
  margin-bottom: 1.25rem;
  line-height: 1.5;
}
.form-consent input { margin-top: 0.2rem; }

/* === Footer === */
.site-footer {
  background: var(--color-neutral-dark);
  color: rgba(248, 250, 252, 0.75);
  padding-block: 3rem 1.25rem;
  margin-top: 4rem;
}
.site-footer h4 {
  color: #fff;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 1rem;
}
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
.footer-tagline { margin-top: 0.5rem; color: rgba(248, 250, 252, 0.7); font-family: var(--font-heading); }
.footer-nav, .footer-legal { list-style: none; margin: 0; padding: 0; }
.footer-nav li, .footer-legal li { margin-bottom: 0.5rem; }
.footer-nav a, .footer-legal a, .site-footer address a {
  color: rgba(248, 250, 252, 0.75);
}
.footer-nav a:hover, .footer-legal a:hover, .site-footer address a:hover { color: #fff; }
.site-footer address { font-style: normal; line-height: 1.75; margin-bottom: 1rem; color: rgba(248, 250, 252, 0.75); }
.footer-legal { margin-top: 1rem; }
.footer-bottom {
  border-top: 1px solid rgba(248, 250, 252, 0.1);
  padding-top: 1.25rem;
  margin-top: 2rem;
  font-size: 0.85rem;
  color: rgba(248, 250, 252, 0.55);
}
.footer-bottom p { margin: 0; color: inherit; }

/* === Contact band === */
.contact-band p { font-size: 1.05rem; }

/* === 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;
  border-radius: var(--radius-md);
  box-shadow: 0 20px 50px -10px rgba(0,0,0,0.5);
  max-width: 560px;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { color: rgba(248, 250, 252, 0.85); margin: 0 0 1rem; font-size: 0.92rem; }
.cookie-banner__actions { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.cookie-banner__actions button {
  padding: 0.55rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(248, 250, 252, 0.2);
  background: transparent;
  color: var(--color-neutral-light);
  font: inherit;
  font-size: 0.88rem;
  cursor: pointer;
  font-family: var(--font-heading);
  font-weight: 600;
}
.cookie-banner__actions [data-cookie-accept] {
  background: var(--color-accent);
  border-color: var(--color-accent);
}
.cookie-banner__actions button:hover { transform: translateY(-1px); }
.cookie-banner__prefs {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(248, 250, 252, 0.15);
}
.cookie-banner__prefs label { display: flex; align-items: center; gap: 0.5rem; font-size: 0.9rem; }
.cookie-banner__prefs [data-cookie-save] {
  align-self: flex-start;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--color-accent);
  background: var(--color-accent);
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 600;
  cursor: pointer;
}

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

/* === Responsive === */
@media (min-width: 640px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 768px) {
  body { font-size: 18px; }
  .logo img { height: 96px; }
  .logo--footer img { height: 80px; }
  .hero { padding-block: 6rem 4rem; }
  .section { padding-block: 5.5rem; }
  .cta-band { padding-block: 5rem; }
  .nav-toggle { display: none; }
  .nav-list { display: flex !important; position: static; padding: 0; background: none; border: 0; flex-direction: row; }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1.5fr; gap: 3rem; }
}
@media (min-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
  .container { padding: 0 2rem; }
}
