/*
Theme Name: AmniPro
Theme URI: https://www.amnipro.nl
Author: AmniPro
Description: Custom dark, premium theme voor AmniPro - cyber security & ISO-certificering. Navy + cyaan huisstijl met ridder/kasteel-sfeer. "Laat de norm voor je werken."
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: amnipro
*/

/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
  /* Navy base (uit huisstijl-achtergrond en logo) */
  --navy-950: #050e1a;
  --navy-900: #071626;
  --navy-850: #0a1c30;
  --navy-800: #0e2338;
  --navy-700: #143049;
  --navy-600: #1c3e5c;

  /* Cyaan accent (uit logo/woordmerk) */
  --cyan: #2fc9de;
  --cyan-bright: #62e6f6;
  --cyan-deep: #1892a8;

  /* Neutrals */
  --text: #eaf4f8;
  --muted: #93aec0;
  --muted-dim: #6e8ba0;
  --line: rgba(120, 190, 215, 0.14);
  --line-strong: rgba(120, 190, 215, 0.28);

  /* Surfaces */
  --surface: rgba(255, 255, 255, 0.03);
  --surface-2: rgba(255, 255, 255, 0.05);
  --surface-card: linear-gradient(160deg, rgba(28, 62, 92, 0.35), rgba(10, 28, 48, 0.55));

  /* Effects */
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  --shadow-cyan: 0 16px 40px rgba(47, 201, 222, 0.22);
  --radius: 20px;
  --radius-lg: 28px;
  --radius-pill: 999px;

  --container: 1200px;
  --font: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
}

/* ============================================================
   BASE
   ============================================================ */
* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--navy-950);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Subtiele neurale-netwerk-achtergrond (huisstijl) over de hele site */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -10;
  background: url("assets/img/network-bg.jpg") center top / cover no-repeat;
  opacity: 0.38;
  pointer-events: none;
}

/* Bewegende 'electronen' langs het netwerk */
.bg-electrons {
  position: fixed;
  inset: 0;
  z-index: -9;
  pointer-events: none;
  opacity: 0.55;
}
.bg-electrons svg { width: 100%; height: 100%; }
.bg-electrons .wires use {
  stroke: rgba(47, 201, 222, 0.16);
  stroke-width: 1;
}
.bg-electrons .electrons circle {
  fill: var(--cyan-bright);
  filter: drop-shadow(0 0 5px rgba(98, 230, 246, 0.9));
}
@media (prefers-reduced-motion: reduce) {
  /* Geen beweging voor bewegingsgevoelige bezoekers: verberg de electronenlaag. */
  .bg-electrons { display: none; }
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 { line-height: 1.08; margin: 0 0 1rem; font-weight: 800; letter-spacing: -0.01em; }

p { margin: 0 0 1rem; }

.container {
  width: min(var(--container), calc(100% - 3rem));
  margin-inline: auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 1rem;
  color: var(--cyan);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 2px;
  background: linear-gradient(90deg, var(--cyan), transparent);
}

.section { padding: clamp(4rem, 8vw, 7rem) 0; position: relative; }
.section-head { max-width: 640px; margin-bottom: 3rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); }
.section-head p { color: var(--muted); font-size: 1.05rem; }

.text-cyan { color: var(--cyan); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.95rem 1.6rem;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.98rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: linear-gradient(135deg, var(--cyan-bright), var(--cyan));
  color: #04212b;
  box-shadow: var(--shadow-cyan);
}
.btn-primary:hover { box-shadow: 0 20px 48px rgba(47, 201, 222, 0.35); }

.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--line-strong);
  color: var(--text);
}
.btn-ghost:hover { border-color: var(--cyan); background: rgba(47, 201, 222, 0.08); }

.btn-arrow::after { content: "→"; font-weight: 700; }

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(5, 14, 26, 0.72);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.9rem 0;
}
.brand { display: inline-flex; align-items: center; gap: 0.7rem; }
.brand .logo-mark { width: 38px; height: 38px; flex: none; }
.brand .logo-text {
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: 0.16em;
  color: var(--cyan);
}
.brand img { height: 40px; width: auto; }

.main-nav { display: flex; align-items: center; gap: 2rem; }
.main-nav ul {
  display: flex;
  gap: 1.9rem;
  list-style: none;
  margin: 0; padding: 0;
}
.main-nav a {
  color: var(--muted);
  font-weight: 500;
  font-size: 0.97rem;
  transition: color 0.2s ease;
}
.main-nav a:hover { color: var(--text); }
/* CTA-knop in de nav mag niet de muted linkkleur erven (specificiteit) */
.main-nav a.btn-primary { color: #04212b; }
.main-nav a.btn-primary:hover { color: #04212b; }
.main-nav a.btn-ghost { color: var(--text); }

/* Taalschakelaar met schild-vlaggen */
.lang-switch { display: flex; align-items: center; gap: 0.35rem; }
.lang-shield {
  position: relative;
  width: 24px; height: 29px;
  display: inline-flex;
  opacity: 0.5;
  filter: saturate(0.9);
  transition: opacity 0.2s ease, transform 0.2s ease, filter 0.2s ease;
}
.lang-shield svg { width: 100%; height: 100%; display: block; }
.lang-shield .shield-outline { stroke: rgba(255, 255, 255, 0.45); stroke-width: 2; }
.lang-shield:hover { opacity: 1; transform: translateY(-1px); filter: saturate(1.1); }
.lang-shield.is-active { opacity: 1; }
.lang-shield.is-active .shield-outline { stroke: var(--cyan); stroke-width: 2.4; }
.lang-shield .lang-code {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

.nav-toggle {
  display: none;
  background: none; border: 0; cursor: pointer;
  width: 44px; height: 44px;
  color: var(--text);
}
.nav-toggle svg { width: 26px; height: 26px; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  padding: clamp(4rem, 9vw, 8rem) 0 clamp(4rem, 8vw, 7rem);
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(circle at 82% 12%, rgba(47, 201, 222, 0.28), transparent 42%),
    radial-gradient(circle at 12% 88%, rgba(28, 62, 92, 0.5), transparent 50%),
    linear-gradient(160deg, var(--navy-900), var(--navy-950));
}
/* Zet hier je eigen kasteel/ridder foto neer (assets/img/hero-bg.jpg) */
.hero-bg.has-image {
  background-size: cover;
  background-position: center;
}
.hero-bg.has-image::after {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 80% 15%, rgba(47, 201, 222, 0.22), transparent 45%),
    linear-gradient(120deg, rgba(5, 14, 26, 0.94) 30%, rgba(5, 14, 26, 0.62) 100%);
}
.hero-grid {
  position: absolute; inset: 0; z-index: -1;
  opacity: 0.5;
  background-image:
    linear-gradient(rgba(120, 190, 215, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120, 190, 215, 0.06) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at 70% 30%, #000 10%, transparent 70%);
}

.hero-inner { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 3.5rem; align-items: center; }
.hero-copy h1 { font-size: clamp(2.5rem, 5.2vw, 4.4rem); max-width: 14ch; }
.hero-copy .lead { color: var(--muted); font-size: 1.15rem; max-width: 46ch; margin-bottom: 2rem; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-meta { display: flex; gap: 2rem; margin-top: 2.5rem; flex-wrap: wrap; }
.hero-meta .m strong { display: block; font-size: 1.6rem; color: var(--text); }
.hero-meta .m span { color: var(--muted-dim); font-size: 0.9rem; }

/* Shield visual */
.hero-visual { display: flex; justify-content: center; }
.shield-card {
  position: relative;
  width: 100%;
  max-width: 380px;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-strong);
  background: var(--surface-card);
  box-shadow: var(--shadow);
  display: grid;
  place-items: center;
  overflow: hidden;
}
.shield-card::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 40%, rgba(47, 201, 222, 0.18), transparent 60%);
}
.shield-card svg { width: 58%; height: auto; position: relative; filter: drop-shadow(0 8px 24px rgba(47,201,222,0.4)); }
.shield-card .tag {
  position: absolute; bottom: 1.4rem; left: 50%; transform: translateX(-50%);
  font-size: 0.7rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--cyan); font-weight: 700; white-space: nowrap;
}

/* ============================================================
   MARQUEE / CERTIFICERINGEN
   ============================================================ */
.trust-band { border-block: 1px solid var(--line); background: var(--navy-900); }
.trust-inner { display: flex; align-items: center; gap: 2.5rem; padding: 1.6rem 0; flex-wrap: wrap; justify-content: center; }
.trust-inner .label { color: var(--muted-dim); font-size: 0.82rem; letter-spacing: 0.14em; text-transform: uppercase; }
.trust-inner .badges { display: flex; gap: 1.4rem; flex-wrap: wrap; }
.trust-badge {
  padding: 0.5rem 1.1rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  color: var(--muted);
  font-weight: 700;
  font-size: 0.9rem;
}

/* ============================================================
   STATS
   ============================================================ */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.stat {
  padding: 1.8rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.stat strong { display: block; font-size: 2.4rem; color: var(--cyan); line-height: 1; margin-bottom: 0.5rem; }
.stat span { color: var(--muted); font-size: 0.96rem; }

/* ============================================================
   SERVICES
   ============================================================ */
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.card {
  padding: 2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface-card);
  transition: transform 0.25s ease, border-color 0.25s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.card:hover { transform: translateY(-6px); border-color: var(--line-strong); }
.card .icon {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: rgba(47, 201, 222, 0.12);
  color: var(--cyan);
  margin-bottom: 1.4rem;
}
.card .icon svg { width: 26px; height: 26px; }
.card h3 { font-size: 1.35rem; }
.card p { color: var(--muted); margin-bottom: 1.4rem; }
/* Duwt de link naar de onderkant zodat alle "Meer weten" links uitlijnen */
.card .card-link {
  margin-top: auto;
  color: var(--cyan);
  font-weight: 700;
  font-size: 0.92rem;
  display: inline-flex;
  gap: 0.4rem;
  transition: gap 0.2s ease;
}
.card .card-link:hover { gap: 0.7rem; }

/* ============================================================
   KLANTCASES / REFERENTIES
   ============================================================ */
.cases-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.case {
  display: flex;
  flex-direction: column;
  padding: 2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface-card);
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.case:hover { transform: translateY(-6px); border-color: var(--line-strong); }
.case .quote-mark { color: var(--cyan); font-size: 2.6rem; line-height: 0.6; height: 1.2rem; font-family: Georgia, serif; }
.case blockquote { margin: 0 0 1.5rem; font-size: 1.02rem; color: var(--text); }
.case .case-foot { margin-top: auto; padding-top: 1.2rem; border-top: 1px solid var(--line); }
.case .case-name { font-weight: 800; }
.case .case-org { color: var(--muted); font-size: 0.92rem; }
.case { position: relative; }
.case .case-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.9rem; }
.case-more {
  margin-top: 1.2rem;
  color: var(--cyan);
  font-weight: 700;
  font-size: 0.9rem;
  display: inline-flex;
  gap: 0.4rem;
  align-items: center;
}
.case-more span { transition: transform 0.2s ease; }
.case:hover .case-more span { transform: translateX(4px); }
/* Stretched link: maakt de hele kaart klikbaar zonder de opmaak te wijzigen */
.case-more::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.case-visit { margin-top: 2.4rem; }
.case-visit a { font-weight: 700; }
.case .case-tag {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.04em;
  padding: 0.28rem 0.7rem; border-radius: var(--radius-pill);
  background: rgba(47, 201, 222, 0.1); color: var(--cyan);
  border: 1px solid var(--line-strong);
}
/* Klantlogo-slider (marquee) */
.logo-slider-wrap { margin-top: 3.5rem; }
.logo-slider-label {
  text-align: center; color: var(--muted-dim);
  font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase;
  margin: 0 0 1.4rem;
}
.logo-marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.logo-track {
  display: flex;
  gap: 1.2rem;
  width: max-content;
  animation: amni-logo-scroll 40s linear infinite;
}
.logo-marquee:hover .logo-track { animation-play-state: paused; }
.logo-chip {
  flex: none;
  width: 190px; height: 88px;
  display: grid; place-items: center;
  padding: 1.1rem 1.5rem;
  background: #ffffff;
  border-radius: 14px;
  border: 1px solid var(--line-strong);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.logo-chip:hover { transform: translateY(-3px); box-shadow: var(--shadow-cyan); }
.logo-chip img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
@keyframes amni-logo-scroll { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .logo-track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; }
}

.cases-note { text-align: center; margin-top: 2.2rem; color: var(--muted); }
.cases-note a { color: var(--cyan); font-weight: 700; }
@media (max-width: 960px) { .cases-grid { grid-template-columns: 1fr; } }

/* ============================================================
   SPLIT (Over ons / guardian)
   ============================================================ */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; }
.split-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line-strong);
  aspect-ratio: 4 / 5;
  position: relative;
  background:
    linear-gradient(160deg, rgba(10, 28, 48, 0.4), rgba(5, 14, 26, 0.85)),
    radial-gradient(circle at 30% 20%, rgba(47,201,222,0.2), transparent 55%),
    var(--navy-800);
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow);
}
.split-media .media-note {
  position: absolute; inset: auto 1.5rem 1.5rem;
  color: var(--muted-dim); font-size: 0.8rem;
}
.split-copy h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); }
.split-copy p { color: var(--muted); font-size: 1.05rem; }
.check-list { list-style: none; margin: 1.8rem 0 0; padding: 0; display: grid; gap: 1rem; }
.check-list li { display: flex; gap: 0.9rem; align-items: flex-start; color: var(--text); }
.check-list li::before {
  content: "✓";
  flex: none;
  width: 26px; height: 26px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(47, 201, 222, 0.14);
  color: var(--cyan);
  font-size: 0.85rem; font-weight: 800;
  margin-top: 2px;
}

/* ============================================================
   PROCESS / WERKWIJZE
   ============================================================ */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; counter-reset: step; }
.step {
  padding: 1.8rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  position: relative;
}
.step .num {
  font-size: 0.85rem; font-weight: 800; color: var(--cyan);
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
  display: inline-block;
}
.step h3 { font-size: 1.2rem; }
.step p { color: var(--muted); font-size: 0.96rem; margin: 0; }

/* ============================================================
   QUOTE BAND
   ============================================================ */
.quote-band {
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-strong);
  background:
    radial-gradient(circle at 15% 20%, rgba(47, 201, 222, 0.14), transparent 55%),
    var(--surface-card);
  padding: clamp(2.5rem, 5vw, 4rem);
  text-align: center;
}
.quote-band blockquote {
  margin: 0 auto;
  max-width: 760px;
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  font-weight: 700;
  line-height: 1.35;
}
.quote-band cite { display: block; margin-top: 1.4rem; color: var(--muted); font-style: normal; font-size: 0.95rem; }

/* ============================================================
   CTA
   ============================================================ */
.cta {
  border-radius: var(--radius-lg);
  padding: clamp(2.5rem, 5vw, 4rem);
  text-align: center;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background:
    radial-gradient(circle at 50% 0%, rgba(47, 201, 222, 0.24), transparent 60%),
    linear-gradient(160deg, var(--navy-700), var(--navy-900));
}
.cta h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); max-width: 18ch; margin-inline: auto; }
.cta p { color: var(--muted); max-width: 46ch; margin: 0 auto 2rem; font-size: 1.08rem; }

/* ============================================================
   LOSSE PAGINA'S (page.php) + PROSE
   ============================================================ */
.container.narrow { width: min(820px, calc(100% - 3rem)); }

.page-hero { position: relative; padding: clamp(3.5rem, 8vw, 6rem) 0 clamp(2.5rem, 5vw, 3.5rem); overflow: hidden; border-bottom: 1px solid var(--line); }
.page-hero-bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(circle at 82% 20%, rgba(47, 201, 222, 0.22), transparent 45%),
    radial-gradient(circle at 10% 90%, rgba(28, 62, 92, 0.45), transparent 55%),
    linear-gradient(160deg, var(--navy-900), var(--navy-950));
}
.page-hero h1 { font-size: clamp(2.2rem, 4.4vw, 3.4rem); max-width: 20ch; margin: 0; }

.page-body { padding-top: clamp(2.5rem, 5vw, 3.5rem); }

.prose { color: var(--muted); font-size: 1.05rem; }
.prose > *:first-child { margin-top: 0; }
.prose h1, .prose h2, .prose h3, .prose h4 { color: var(--text); margin: 2.4rem 0 1rem; }
.prose h1 { font-size: 1.9rem; }
.prose h2 { font-size: 1.55rem; }
.prose h3 { font-size: 1.25rem; }
.prose h4 { font-size: 1.05rem; color: var(--muted); font-weight: 600; }
.prose p { margin: 0 0 1.2rem; }
.prose a { color: var(--cyan); text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover { color: var(--cyan-bright); }
.prose ul, .prose ol { margin: 0 0 1.4rem; padding-left: 1.3rem; }
.prose li { margin-bottom: 0.5rem; }
.prose strong { color: var(--text); }
.prose blockquote {
  margin: 1.6rem 0; padding: 1rem 1.4rem;
  border-left: 3px solid var(--cyan);
  background: var(--surface); border-radius: 0 12px 12px 0;
  color: var(--text);
}
.prose .lead-intro { font-size: 1.2rem; color: var(--text); }
.prose .norm-badges { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 0 0 1.6rem; padding: 0; list-style: none; }
.prose .norm-badges li {
  margin: 0; padding: 0.4rem 0.9rem; border-radius: var(--radius-pill);
  background: rgba(47,201,222,0.1); border: 1px solid var(--line-strong);
  color: var(--cyan); font-weight: 700; font-size: 0.85rem;
}

.page-back { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--line); }

/* ============================================================
   FAQ
   ============================================================ */
.faq-section .lead-intro { font-size: 1.2rem; color: var(--text); margin-bottom: 2.5rem; }
.faq-section .lead-intro a { color: var(--cyan); }
.faq-group { margin-bottom: 2.6rem; }
.faq-group-title { font-size: 1.3rem; color: var(--cyan); margin: 0 0 1rem; padding-bottom: 0.7rem; border-bottom: 1px solid var(--line); }
.faq-list { display: grid; gap: 0.7rem; }
.faq-item {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  overflow: hidden;
  transition: border-color 0.2s ease;
}
.faq-item[open] { border-color: var(--line-strong); background: var(--surface-2); }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.1rem 1.3rem;
  cursor: pointer;
  font-weight: 600;
  color: var(--text);
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--cyan); }
.faq-chevron { width: 20px; height: 20px; flex: none; color: var(--cyan); transition: transform 0.25s ease; }
.faq-item[open] .faq-chevron { transform: rotate(180deg); }
.faq-answer { padding: 0 1.3rem 1.2rem; }
.faq-answer p { margin: 0; color: var(--muted); }

.faq-cta {
  margin-top: 3.5rem; padding: clamp(2rem, 4vw, 3rem); text-align: center;
  border: 1px solid var(--line-strong); border-radius: var(--radius-lg);
  background: radial-gradient(circle at 50% 0%, rgba(47,201,222,0.16), transparent 60%), var(--surface-card);
}
.faq-cta h2 { font-size: 1.6rem; }
.faq-cta p { color: var(--muted); margin-bottom: 1.6rem; }

/* ============================================================
   CONTACTPAGINA
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 3rem; align-items: start; }
.contact-intro .lead-intro { font-size: 1.25rem; color: var(--text); margin-bottom: 2rem; }
.contact-points { list-style: none; margin: 0 0 2rem; padding: 0; display: grid; gap: 1.2rem; }
.contact-points li { display: flex; flex-direction: column; gap: 0.2rem; padding-bottom: 1.2rem; border-bottom: 1px solid var(--line); }
.contact-points li:last-child { border-bottom: 0; }
.cp-label { font-size: 0.75rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted-dim); }
.contact-points a, .contact-points span:not(.cp-label) { color: var(--text); font-weight: 600; }
.contact-points a:hover { color: var(--cyan); }
.contact-badges { display: flex; flex-wrap: wrap; gap: 0.6rem; }

.contact-form-wrap {
  padding: clamp(1.6rem, 3vw, 2.4rem);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  background: var(--surface-card);
  box-shadow: var(--shadow);
}
.contact-form .field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.contact-form .field { display: flex; flex-direction: column; margin-bottom: 1.2rem; }
.contact-form label { font-size: 0.9rem; font-weight: 600; margin-bottom: 0.45rem; color: var(--text); }
.contact-form .req { color: var(--cyan); }
.contact-form input,
.contact-form textarea {
  font-family: inherit;
  font-size: 1rem;
  color: var(--text);
  background: rgba(5, 14, 26, 0.6);
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  padding: 0.85rem 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: var(--muted-dim); }
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(47, 201, 222, 0.18);
}
.contact-form input[aria-invalid="true"],
.contact-form textarea[aria-invalid="true"] { border-color: #ff6b7a; }
.contact-form textarea { resize: vertical; min-height: 140px; }
.field-error { color: #ff8a97; font-size: 0.85rem; margin-top: 0.4rem; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-foot { display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap; margin-top: 0.5rem; }
.form-note { color: var(--muted-dim); font-size: 0.9rem; }
.form-alert {
  padding: 0.9rem 1.1rem; border-radius: 12px; margin-bottom: 1.4rem;
  background: rgba(255, 107, 122, 0.12); border: 1px solid rgba(255, 107, 122, 0.4);
  color: #ffb3bc;
}

.form-success { text-align: center; padding: 1.5rem 0.5rem; }
.form-success .fs-icon {
  width: 64px; height: 64px; margin: 0 auto 1.4rem;
  display: grid; place-items: center; border-radius: 50%;
  background: rgba(47, 201, 222, 0.14); color: var(--cyan);
}
.form-success .fs-icon svg { width: 32px; height: 32px; }
.form-success h2 { font-size: 1.7rem; }
.form-success p { color: var(--muted); max-width: 40ch; margin: 0 auto 1.8rem; }

@media (max-width: 860px) {
  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .contact-form .field-row { grid-template-columns: 1fr; }
}

/* ============================================================
   404
   ============================================================ */
.error-404 { padding: clamp(5rem, 12vw, 9rem) 0; }
.error-inner { max-width: 620px; margin-inline: auto; text-align: center; }
.error-shield { width: 96px; height: auto; margin: 0 auto 1.6rem; filter: drop-shadow(0 8px 28px rgba(47,201,222,0.4)); }
.error-inner h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
.error-inner p { color: var(--muted); font-size: 1.08rem; margin-bottom: 2rem; }
.error-links { margin-top: 3rem; }
.error-links .label { color: var(--muted-dim); font-size: 0.82rem; letter-spacing: 0.14em; text-transform: uppercase; }
.error-links ul { list-style: none; padding: 0; margin: 1rem 0 0; display: flex; gap: 1.4rem; justify-content: center; flex-wrap: wrap; }
.error-links a { color: var(--cyan); font-weight: 600; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--navy-950);
  padding: 4rem 0 2rem;
  margin-top: 2rem;
}
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; margin-bottom: 3rem; }
.footer-brand p { color: var(--muted); max-width: 34ch; margin-top: 1rem; }
.footer-col h4 { font-size: 0.85rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted-dim); }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.7rem; }
.footer-col a { color: var(--muted); transition: color 0.2s ease; }
.footer-col a:hover { color: var(--cyan); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 1.8rem; border-top: 1px solid var(--line);
  color: var(--muted-dim); font-size: 0.88rem; flex-wrap: wrap; gap: 1rem;
}
.footer-legal { display: flex; gap: 1.4rem; flex-wrap: wrap; }
.footer-legal a { color: var(--muted); transition: color 0.2s ease; }
.footer-legal a:hover { color: var(--cyan); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-visual { order: -1; max-width: 340px; margin-inline: auto; }
  .split { grid-template-columns: 1fr; gap: 2rem; }
  .split-media { aspect-ratio: 16 / 10; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .cards-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }

  .main-nav { position: fixed; inset: 0 0 0 auto; width: min(320px, 82vw);
    flex-direction: column; align-items: flex-start; justify-content: flex-start;
    padding: 5rem 2rem 2rem; background: var(--navy-850); border-left: 1px solid var(--line);
    transform: translateX(100%); transition: transform 0.3s ease; z-index: 60; }
  .main-nav.open { transform: translateX(0); }
  .main-nav ul { flex-direction: column; gap: 1.4rem; }
  .nav-toggle { display: grid; place-items: center; z-index: 61; }
}

@media (max-width: 560px) {
  .stats-grid, .steps, .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .hero-actions { width: 100%; }
  .hero-actions .btn { flex: 1; justify-content: center; }
}
