/* =================================================================
   CyberSphere KW — Corporate Site Stylesheet
   Self-contained (no third-party fonts/CDNs) for privacy & security.
   Theming via CSS custom properties + [data-theme] attribute.
   ================================================================= */

/* ---------- Design tokens ---------- */
:root {
  /* Brand */
  --slate-900: #161d27;
  --slate-800: #1c2533;
  --slate-700: #222b38;   /* primary logo slate */
  --slate-600: #33415a;
  --slate-500: #4a5a76;

  /* Accent (electric cyan / azure) */
  --accent: #0e9bbf;
  --accent-strong: #0b7e9c;
  --accent-bright: #22d3ee;
  --accent-blue: #2f7df6;

  /* Functional */
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 28px;
  --maxw: 1200px;
  --gutter: clamp(1.1rem, 4vw, 2.5rem);
  --shadow-sm: 0 1px 2px rgba(16, 24, 40, .06), 0 1px 3px rgba(16, 24, 40, .08);
  --shadow-md: 0 10px 30px -12px rgba(16, 24, 40, .25);
  --shadow-lg: 0 30px 60px -20px rgba(16, 24, 40, .35);
  --ring: 0 0 0 3px rgba(14, 155, 191, .35);

  --font-sans: "Inter", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont,
    "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);

  --header-h: 74px;
}

/* ---------- Light theme (default) ---------- */
:root,
[data-theme="light"] {
  color-scheme: light;
  --bg: #ffffff;
  --bg-2: #f4f7fb;
  --bg-3: #eaf0f7;
  --surface: #ffffff;
  --surface-2: #f7fafd;
  --border: #e3e9f1;
  --border-strong: #d3dceA;
  --text: #16202e;
  --text-2: #46566c;
  --text-3: #6b7a8f;
  --heading: #131b27;
  --accent-on-surface: var(--accent-strong);
  --hero-glow-1: rgba(14, 155, 191, .18);
  --hero-glow-2: rgba(47, 125, 246, .14);
  --grid-line: rgba(34, 43, 56, .055);
  --logo-lockup: url("../img/logo-lockup-dark.png");
  --logo-mark: url("../img/logo-mark-dark.png");
  --footer-bg: var(--slate-900);
  --footer-text: #c4cedd;
  --footer-head: #ffffff;
  --footer-border: rgba(255, 255, 255, .10);
}

/* ---------- Dark theme ---------- */
[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0b1119;
  --bg-2: #0f1722;
  --bg-3: #131d2b;
  --surface: #121c28;
  --surface-2: #16212f;
  --border: #233040;
  --border-strong: #2c3b4f;
  --text: #e7eef7;
  --text-2: #a9b8cb;
  --text-3: #8294aa;
  --heading: #f3f7fc;
  --accent: #22d3ee;
  --accent-strong: #38bdf8;
  --accent-on-surface: #4cd7f0;
  --hero-glow-1: rgba(34, 211, 238, .16);
  --hero-glow-2: rgba(47, 125, 246, .16);
  --grid-line: rgba(255, 255, 255, .04);
  --logo-lockup: url("../img/logo-lockup-light.png");
  --logo-mark: url("../img/logo-mark-light.png");
  --footer-bg: #070b11;
  --footer-text: #9fb0c4;
  --footer-head: #ffffff;
  --footer-border: rgba(255, 255, 255, .08);
  --shadow-md: 0 10px 30px -12px rgba(0, 0, 0, .6);
  --shadow-lg: 0 30px 60px -20px rgba(0, 0, 0, .7);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  transition: background-color .35s var(--ease), color .35s var(--ease);
}

img { display: block; max-width: 100%; height: auto; }
/* Default icon size so no inline SVG can ever render oversized; specific rules below override. */
svg { display: block; width: 1.5rem; height: 1.5rem; max-width: 100%; flex: none; }
a { color: var(--accent-on-surface); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--accent); }
ul { list-style: none; padding: 0; }

h1, h2, h3, h4 {
  color: var(--heading);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -.02em;
}

:focus-visible { outline: none; box-shadow: var(--ring); border-radius: 6px; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--accent); color: #fff; padding: .65rem 1rem;
  border-radius: 8px; font-weight: 600; transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; color: #fff; }

/* ---------- Buttons ---------- */
.btn {
  --btn-pad-y: .85rem; --btn-pad-x: 1.5rem;
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: var(--btn-pad-y) var(--btn-pad-x);
  border-radius: 999px; font-weight: 650; font-size: .98rem;
  border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: transform .2s var(--ease), box-shadow .25s var(--ease), background-color .25s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.btn svg { width: 1.1em; height: 1.1em; }
.btn-primary {
  /* Fixed, theme-independent gradient kept dark enough for readable white text
     (~4.7:1 contrast) in BOTH light and dark mode. */
  color: #ffffff;
  background: linear-gradient(120deg, #0b7e9c, #1f6fe0);
  box-shadow: 0 8px 22px -10px rgba(14, 155, 191, .8);
}
.btn-primary:hover { color: #ffffff; transform: translateY(-2px); box-shadow: 0 14px 30px -10px rgba(14, 155, 191, .9); }
.btn-primary:visited { color: #ffffff; }
.btn-ghost {
  color: var(--text); background: var(--surface); border-color: var(--border-strong);
}
.btn-ghost:hover { color: var(--text); border-color: var(--accent); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-light { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.28); backdrop-filter: blur(6px); }
.btn-light:hover { background: rgba(255,255,255,.2); color: #fff; transform: translateY(-2px); }
.btn-lg { --btn-pad-y: 1.05rem; --btn-pad-x: 2rem; font-size: 1.05rem; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--bg) 80%, transparent);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background-color .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header.scrolled { border-bottom-color: var(--border); box-shadow: var(--shadow-sm); }
.nav {
  height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.brand { display: inline-flex; align-items: center; }
.brand-logo {
  width: 188px; height: 40px;
  background: var(--logo-lockup) left center / contain no-repeat;
}
@media (max-width: 420px) { .brand-logo { width: 150px; } }

.nav-links { display: flex; align-items: center; gap: .35rem; }
.nav-links a {
  color: var(--text-2); font-weight: 550; font-size: .96rem;
  padding: .55rem .85rem; border-radius: 8px; position: relative;
}
.nav-links a:hover { color: var(--heading); background: var(--bg-2); }
/* The in-nav primary button must stay white on its gradient — override the
   higher-specificity ".nav-links a" colour rule (incl. hover). */
.nav-links a.btn-primary,
.nav-links a.btn-primary:hover {
  color: #ffffff;
  background: linear-gradient(120deg, #0b7e9c, #1f6fe0);
}
/* On desktop the right-hand CTA covers this; hide the duplicate in-nav button.
   It reappears inside the mobile dropdown menu (see media query below). */
.nav-links > .btn { display: none; }

.nav-actions { display: flex; align-items: center; gap: .6rem; }

.theme-toggle {
  width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center; cursor: pointer;
  background: var(--surface); border: 1px solid var(--border-strong); color: var(--text);
  transition: transform .25s var(--ease), border-color .2s var(--ease), background .2s var(--ease);
}
.theme-toggle:hover { transform: rotate(15deg); border-color: var(--accent); color: var(--accent); }
.theme-toggle svg { width: 20px; height: 20px; }
.theme-toggle .icon-sun { display: none; }
[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
[data-theme="dark"] .theme-toggle .icon-moon { display: none; }

.nav-toggle { display: none; width: 42px; height: 42px; border-radius: 10px; background: var(--surface); border: 1px solid var(--border-strong); cursor: pointer; color: var(--text); }
.nav-toggle span { display: block; width: 20px; height: 2px; margin: 4px auto; background: currentColor; border-radius: 2px; transition: transform .3s var(--ease), opacity .2s var(--ease); }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 900px) {
  .header-cta { display: none; }
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: .15rem;
    background: var(--bg); border-bottom: 1px solid var(--border);
    padding: 1rem var(--gutter) 1.5rem; box-shadow: var(--shadow-lg);
    transform: translateY(-120%); opacity: 0; pointer-events: none;
    transition: transform .35s var(--ease), opacity .25s var(--ease);
  }
  .nav-open .nav-links { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-links a { padding: .9rem 1rem; font-size: 1.05rem; border-radius: 10px; }
  .nav-links > .btn { display: inline-flex; margin-top: .6rem; }
}

/* ---------- Section scaffolding ---------- */
section { position: relative; }
.section { padding: clamp(3.5rem, 8vw, 7rem) 0; }
.section-tight { padding: clamp(2.5rem, 5vw, 4rem) 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent-on-surface);
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: linear-gradient(90deg, var(--accent), transparent); border-radius: 2px; }
.section-head { max-width: 720px; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head h2 { font-size: clamp(1.9rem, 4.2vw, 2.85rem); margin: .8rem 0 .9rem; }
.section-head p { color: var(--text-2); font-size: 1.1rem; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding-top: clamp(3rem, 7vw, 5.5rem); padding-bottom: clamp(3.5rem, 8vw, 6rem); }
.hero-bg { position: absolute; inset: 0; z-index: -2; background:
    radial-gradient(60% 50% at 78% 8%, var(--hero-glow-1), transparent 70%),
    radial-gradient(55% 45% at 8% 92%, var(--hero-glow-2), transparent 70%); }
.hero-grid { position: absolute; inset: 0; z-index: -1;
  background-image: linear-gradient(var(--grid-line) 1px, transparent 1px), linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 54px 54px; mask-image: radial-gradient(circle at 60% 35%, #000 30%, transparent 78%);
  -webkit-mask-image: radial-gradient(circle at 60% 35%, #000 30%, transparent 78%); }

.hero-inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (max-width: 960px) { .hero-inner { grid-template-columns: 1fr; } }

.pill {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .45rem .9rem .45rem .55rem; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--border-strong);
  font-size: .85rem; font-weight: 600; color: var(--text-2); box-shadow: var(--shadow-sm);
}
.pill .dot { width: 9px; height: 9px; border-radius: 50%; background: #14c08a; box-shadow: 0 0 0 4px rgba(20,192,138,.18); }
.pill strong { color: var(--heading); }

.hero h1 { font-size: clamp(2.3rem, 6vw, 4rem); margin: 1.3rem 0 1.1rem; letter-spacing: -.03em; }
.hero h1 .grad { background: linear-gradient(110deg, var(--accent), var(--accent-blue)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-lead { font-size: clamp(1.05rem, 2.2vw, 1.25rem); color: var(--text-2); max-width: 38ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 1.9rem; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 1.5rem 2.2rem; margin-top: 2.4rem; }
.hero-meta div { }
.hero-meta .n { font-size: 1.6rem; font-weight: 800; color: var(--heading); letter-spacing: -.02em; }
.hero-meta .l { font-size: .85rem; color: var(--text-3); }

/* Hero visual card */
.hero-visual { position: relative; }
.shield-card {
  position: relative; border-radius: var(--radius-lg);
  background: linear-gradient(160deg, var(--surface), var(--surface-2));
  border: 1px solid var(--border); box-shadow: var(--shadow-lg);
  padding: clamp(1.5rem, 3vw, 2.2rem); overflow: hidden;
}
.shield-card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 60% at 80% 0%, var(--hero-glow-1), transparent 60%); pointer-events: none; }
.shield-orbit { position: relative; aspect-ratio: 1; display: grid; place-items: center; margin: .5rem auto 1.4rem; max-width: 280px; }
.shield-orbit .ring { position: absolute; border: 1px dashed var(--border-strong); border-radius: 50%; inset: 0; animation: spin 26s linear infinite; }
.shield-orbit .ring.r2 { inset: 16%; border-style: solid; border-color: color-mix(in srgb, var(--accent) 35%, transparent); animation-duration: 18s; animation-direction: reverse; }
.shield-orbit .ring.r3 { inset: 33%; border-color: var(--border); animation-duration: 12s; }
@keyframes spin { to { transform: rotate(360deg); } }
.shield-core {
  width: 96px; height: 96px; border-radius: 24px; display: grid; place-items: center;
  background: linear-gradient(150deg, var(--accent), var(--accent-blue)); color: #fff;
  box-shadow: 0 18px 40px -14px rgba(14,155,191,.8); z-index: 1;
}
.shield-core svg { width: 46px; height: 46px; }
.shield-orbit .node { position: absolute; width: 38px; height: 38px; border-radius: 11px; background: var(--surface); border: 1px solid var(--border-strong); display: grid; place-items: center; color: var(--accent-on-surface); box-shadow: var(--shadow-sm); }
.shield-orbit .node svg { width: 19px; height: 19px; }
.node.n1 { top: -6px; left: 50%; transform: translateX(-50%); }
.node.n2 { right: -6px; top: 50%; transform: translateY(-50%); }
.node.n3 { bottom: -6px; left: 50%; transform: translateX(-50%); }
.node.n4 { left: -6px; top: 50%; transform: translateY(-50%); }
.shield-stats { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.shield-stats .s { background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: .85rem 1rem; }
.shield-stats .s b { display: block; color: var(--heading); font-size: 1.05rem; }
.shield-stats .s span { font-size: .82rem; color: var(--text-3); }

/* ---------- Trust strip ---------- */
.trust { border-block: 1px solid var(--border); background: var(--bg-2); }
.trust-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1rem 2.6rem; padding: 1.4rem 0; }
.trust-inner .t { display: inline-flex; align-items: center; gap: .6rem; color: var(--text-2); font-weight: 600; font-size: .95rem; }
.trust-inner .t svg { width: 22px; height: 22px; color: var(--accent-on-surface); flex: none; }

/* ---------- Cards grid (services / why) ---------- */
.grid { display: grid; gap: clamp(1.1rem, 2.5vw, 1.6rem); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: clamp(1.4rem, 2.5vw, 2rem); position: relative; overflow: hidden;
  transition: transform .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.card::after { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%; background: linear-gradient(90deg, var(--accent), var(--accent-blue)); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.card:hover { transform: translateY(-5px); border-color: var(--border-strong); box-shadow: var(--shadow-md); }
.card:hover::after { transform: scaleX(1); }

.card-icon { width: 56px; height: 56px; border-radius: 15px; display: grid; place-items: center; margin-bottom: 1.2rem;
  background: color-mix(in srgb, var(--accent) 14%, var(--surface)); color: var(--accent-on-surface); border: 1px solid color-mix(in srgb, var(--accent) 26%, transparent); }
.card-icon svg { width: 27px; height: 27px; }
.card h3 { font-size: 1.32rem; margin-bottom: .6rem; }
.service-no { position: absolute; top: 1.3rem; right: 1.4rem; font-size: 2.4rem; font-weight: 800; color: var(--border-strong); letter-spacing: -.03em; opacity: .65; }
.card p { color: var(--text-2); font-size: 1rem; }
.feature-list { margin-top: 1.1rem; display: grid; gap: .55rem; }
.feature-list li { display: flex; gap: .6rem; align-items: flex-start; color: var(--text-2); font-size: .95rem; }
.feature-list svg { width: 18px; height: 18px; color: var(--accent-on-surface); flex: none; margin-top: .25rem; }

/* ---------- Why / feature with icon inline ---------- */
.feature { padding: 1.6rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); transition: border-color .3s var(--ease), transform .3s var(--ease); }
.feature:hover { border-color: var(--border-strong); transform: translateY(-3px); }
.feature .card-icon { width: 48px; height: 48px; border-radius: 13px; margin-bottom: 1rem; }
.feature .card-icon svg { width: 23px; height: 23px; }
.feature h3 { font-size: 1.15rem; margin-bottom: .45rem; }
.feature p { font-size: .96rem; color: var(--text-2); }

/* ---------- Global reach band ---------- */
.reach { position: relative; overflow: hidden; color: #fff;
  background: linear-gradient(135deg, var(--slate-800), var(--slate-700) 55%, #123244); }
.reach::before { content: ""; position: absolute; inset: 0; opacity: .5;
  background: radial-gradient(50% 60% at 85% 20%, rgba(34,211,238,.25), transparent 60%), radial-gradient(45% 55% at 10% 90%, rgba(47,125,246,.22), transparent 60%); }
.reach-inner { position: relative; display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(1.5rem,4vw,3rem); align-items: center; }
@media (max-width: 860px) { .reach-inner { grid-template-columns: 1fr; } }
.reach h2 { color: #fff; font-size: clamp(1.7rem, 3.6vw, 2.5rem); }
.reach p { color: #cdd9e6; font-size: 1.1rem; margin-top: .9rem; max-width: 52ch; }
.reach .pill { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.25); color: #eaf2fb; }
.reach .pill strong { color: #fff; }
.reach-modes { display: grid; gap: .8rem; }
.reach-mode { display: flex; gap: .9rem; align-items: center; padding: 1rem 1.2rem; border-radius: var(--radius-sm); background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); }
.reach-mode svg { width: 26px; height: 26px; color: var(--accent-bright); flex: none; }
.reach-mode b { color: #fff; display: block; }
.reach-mode span { color: #b9c7d6; font-size: .9rem; }

/* ---------- Process ---------- */
.steps { counter-reset: step; display: grid; gap: clamp(1.1rem,2.5vw,1.6rem); grid-template-columns: repeat(4,1fr); }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding: 1.6rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); }
.step .num { counter-increment: step; font-size: .8rem; font-weight: 800; letter-spacing: .1em; color: var(--accent-on-surface); }
.step .num::before { content: "0" counter(step); }
.step h3 { font-size: 1.12rem; margin: .5rem 0 .4rem; }
.step p { font-size: .94rem; color: var(--text-2); }

/* ---------- About ---------- */
.about-inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem,5vw,4rem); align-items: center; }
@media (max-width: 860px) { .about-inner { grid-template-columns: 1fr; } }
.about-panel { border-radius: var(--radius-lg); border: 1px solid var(--border); background:
    linear-gradient(160deg, var(--surface), var(--surface-2)); padding: clamp(1.6rem,3vw,2.4rem); box-shadow: var(--shadow-md); }
.about-list { display: grid; gap: 1.1rem; margin-top: 1.4rem; }
.about-list li { display: flex; gap: .9rem; }
.about-list .ic { width: 42px; height: 42px; border-radius: 12px; flex: none; display: grid; place-items: center; background: color-mix(in srgb, var(--accent) 14%, var(--surface)); color: var(--accent-on-surface); border: 1px solid color-mix(in srgb, var(--accent) 24%, transparent); }
.about-list .ic svg { width: 21px; height: 21px; }
.about-list b { color: var(--heading); display: block; }
.about-list span { color: var(--text-2); font-size: .96rem; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin-inline: auto; display: grid; gap: .85rem; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; transition: border-color .25s var(--ease); }
.faq details[open] { border-color: var(--border-strong); }
.faq summary { cursor: pointer; list-style: none; padding: 1.15rem 1.3rem; font-weight: 650; color: var(--heading); display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .chev { width: 22px; height: 22px; flex: none; transition: transform .3s var(--ease); color: var(--accent-on-surface); }
.faq details[open] summary .chev { transform: rotate(180deg); }
.faq .faq-body { padding: 0 1.3rem 1.2rem; color: var(--text-2); font-size: .98rem; }

/* ---------- CTA / Contact ---------- */
.contact-inner { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(1.8rem,4vw,3.5rem); align-items: start; }
@media (max-width: 920px) { .contact-inner { grid-template-columns: 1fr; } }
.contact-cards { display: grid; gap: .9rem; margin-top: 1.7rem; }
.contact-card { display: flex; gap: 1rem; align-items: center; padding: 1.1rem 1.2rem; border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--border); transition: border-color .25s var(--ease), transform .25s var(--ease); }
.contact-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.contact-card .ic { width: 46px; height: 46px; border-radius: 12px; flex: none; display: grid; place-items: center; background: color-mix(in srgb, var(--accent) 14%, var(--surface)); color: var(--accent-on-surface); border: 1px solid color-mix(in srgb, var(--accent) 24%, transparent); }
.contact-card .ic svg { width: 22px; height: 22px; }
.contact-card .k { font-size: .8rem; color: var(--text-3); text-transform: uppercase; letter-spacing: .08em; }
.contact-card .v { color: var(--heading); font-weight: 650; word-break: break-word; }

.form-panel { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: clamp(1.5rem,3vw,2.3rem); box-shadow: var(--shadow-md); }
.field { margin-bottom: 1.05rem; }
.field label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: .45rem; color: var(--heading); }
.field label .req { color: #e0556b; }
.field input, .field textarea, .field select {
  width: 100%; padding: .8rem .95rem; font: inherit; font-size: .98rem; color: var(--text);
  background: var(--bg-2); border: 1px solid var(--border-strong); border-radius: var(--radius-sm);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--accent); box-shadow: var(--ring); background: var(--surface); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 520px) { .field-row { grid-template-columns: 1fr; } }
.form-note { font-size: .85rem; color: var(--text-3); margin-top: .4rem; }
.form-status { margin-top: 1rem; font-size: .92rem; font-weight: 600; min-height: 1.2em; }
.form-status.ok { color: #14a06f; }

/* ---------- Footer ---------- */
.site-footer { background: var(--footer-bg); color: var(--footer-text); padding-top: clamp(3rem,6vw,4.5rem); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: clamp(1.6rem,3vw,2.5rem); padding-bottom: 2.6rem; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-logo { width: 200px; height: 44px; background: url("../img/logo-lockup-light.png") left center / contain no-repeat; margin-bottom: 1.1rem; }
.footer-about p { color: var(--footer-text); font-size: .96rem; max-width: 38ch; }
.footer h4 { color: var(--footer-head); font-size: .92rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 1.1rem; }
.footer-links { display: grid; gap: .65rem; }
.footer-links a { color: var(--footer-text); font-size: .96rem; }
.footer-links a:hover { color: #fff; }
.footer-contact li { display: flex; gap: .6rem; align-items: flex-start; color: var(--footer-text); font-size: .95rem; margin-bottom: .7rem; }
.footer-contact svg { width: 18px; height: 18px; color: var(--accent-bright); flex: none; margin-top: .2rem; }
.footer-contact a { color: var(--footer-text); }
.footer-contact a:hover { color: #fff; }
.social { display: flex; gap: .6rem; margin-top: 1.1rem; }
.social a { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: rgba(255,255,255,.06); border: 1px solid var(--footer-border); color: var(--footer-text); transition: all .2s var(--ease); }
.social a:hover { background: var(--accent); border-color: var(--accent); color: #fff; transform: translateY(-2px); }
.social svg { width: 19px; height: 19px; }

.footer-bottom { border-top: 1px solid var(--footer-border); padding: 1.5rem 0; display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; align-items: center; justify-content: space-between; }
.footer-bottom p { font-size: .88rem; color: var(--footer-text); }
.footer-bottom .license { display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; color: var(--footer-head); }
.footer-bottom .license svg { width: 16px; height: 16px; color: var(--accent-bright); }
.footer-bottom .legal-links { display: flex; gap: 1.2rem; }
.footer-bottom .legal-links a { color: var(--footer-text); font-size: .88rem; }
.footer-bottom .legal-links a:hover { color: #fff; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* ---------- Legal / content pages ---------- */
.page-hero { padding: clamp(2.6rem,6vw,4.5rem) 0 clamp(1.5rem,3vw,2.5rem); border-bottom: 1px solid var(--border); background: var(--bg-2); }
.page-hero h1 { font-size: clamp(2rem,4.5vw,3rem); }
.page-hero p { color: var(--text-2); margin-top: .7rem; }
.breadcrumb { font-size: .9rem; color: var(--text-3); margin-bottom: 1rem; }
.breadcrumb a { color: var(--text-3); }
.breadcrumb a:hover { color: var(--accent); }
.prose { max-width: 820px; margin-inline: auto; }
.prose h2 { font-size: 1.5rem; margin: 2.4rem 0 .8rem; }
.prose h3 { font-size: 1.18rem; margin: 1.6rem 0 .5rem; }
.prose p, .prose li { color: var(--text-2); font-size: 1.02rem; }
.prose p { margin-bottom: 1rem; }
.prose ul { list-style: disc; padding-left: 1.3rem; margin-bottom: 1.2rem; display: grid; gap: .5rem; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.legal-callout { background: var(--surface); border: 1px solid var(--border-strong); border-left: 4px solid var(--accent); border-radius: var(--radius-sm); padding: 1.1rem 1.3rem; margin: 1.4rem 0; }
.legal-callout strong { color: var(--heading); }

/* ---------- Stats band ---------- */
.stats-band { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: clamp(1.6rem,3vw,2.4rem); box-shadow: var(--shadow-md); }
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1rem; text-align: center; }
@media (max-width: 760px) { .stats-grid { grid-template-columns: repeat(2,1fr); gap: 1.6rem 1rem; } }
.stat .pic { width: 50px; height: 50px; border-radius: 14px; margin: 0 auto .85rem; display: grid; place-items: center;
  background: color-mix(in srgb, var(--accent) 14%, var(--surface)); color: var(--accent-on-surface); border: 1px solid color-mix(in srgb, var(--accent) 24%, transparent); }
.stat .pic svg { width: 25px; height: 25px; }
.stat .t { display: block; font-size: 1.18rem; font-weight: 800; letter-spacing: -.01em; color: var(--heading); }
.stat .l { display: block; margin-top: .35rem; color: var(--text-2); font-size: .92rem; }

/* ---------- Sectors ---------- */
.sector-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: clamp(.9rem,2vw,1.3rem); }
@media (max-width: 860px) { .sector-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 540px) { .sector-grid { grid-template-columns: 1fr; } }
.sector { display: flex; align-items: center; gap: .9rem; padding: 1.05rem 1.2rem; border-radius: var(--radius-sm);
  background: var(--surface); border: 1px solid var(--border); transition: border-color .25s var(--ease), transform .25s var(--ease); }
.sector:hover { border-color: var(--accent); transform: translateY(-2px); }
.sector .ic { width: 42px; height: 42px; border-radius: 12px; flex: none; display: grid; place-items: center;
  background: color-mix(in srgb, var(--accent) 14%, var(--surface)); color: var(--accent-on-surface); border: 1px solid color-mix(in srgb, var(--accent) 24%, transparent); }
.sector .ic svg { width: 21px; height: 21px; }
.sector b { color: var(--heading); font-weight: 650; }

/* ---------- CTA banner ---------- */
.cta-band { text-align: center; }
.cta-card { position: relative; overflow: hidden; color: #fff; border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--slate-800), var(--slate-700) 55%, #123244);
  padding: clamp(2.2rem,5vw,3.6rem) clamp(1.4rem,4vw,3rem); }
.cta-card::before { content: ""; position: absolute; inset: 0; opacity: .55;
  background: radial-gradient(45% 60% at 88% 12%, rgba(34,211,238,.3), transparent 60%), radial-gradient(45% 60% at 8% 92%, rgba(47,125,246,.26), transparent 60%); }
.cta-card > * { position: relative; }
.cta-card h2 { color: #fff; font-size: clamp(1.7rem,3.8vw,2.6rem); }
.cta-card p { color: #cdd9e6; max-width: 56ch; margin: .9rem auto 1.8rem; font-size: 1.08rem; }
.cta-card .hero-actions { justify-content: center; }

/* ---------- 404 ---------- */
.notfound { min-height: 70vh; display: grid; place-items: center; text-align: center; }
.notfound .code { font-size: clamp(4rem,14vw,9rem); font-weight: 800; letter-spacing: -.04em; background: linear-gradient(120deg, var(--accent), var(--accent-blue)); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1; }
