/* ==========================================================================
   XKONSULTING — Design System
   Boutique cybersecurity, identity & AI security (PT / US)
   ========================================================================== */

/* ---------- Design tokens ---------- */
:root {
  /* Brand */
  --ink:        #0A0E1A;
  --ink-2:      #0F1530;
  --ink-3:      #141B38;
  --azure:      #2E6BFF;
  --azure-600:  #1E54E6;
  --cyan:       #22D3EE;
  --violet:     #8B5CF6;   /* AI accent, used sparingly */

  --grad-brand: linear-gradient(120deg, var(--azure) 0%, var(--cyan) 100%);
  --grad-ai:    linear-gradient(120deg, var(--violet) 0%, var(--azure) 100%);
  --grad-ink:   radial-gradient(1200px 600px at 75% -10%, rgba(46,107,255,.28), transparent 60%),
                radial-gradient(900px 500px at 10% 10%, rgba(34,211,238,.16), transparent 55%),
                linear-gradient(180deg, #0A0E1A 0%, #0B1024 100%);

  /* Light surfaces */
  --bg:         #FFFFFF;
  --surface:    #F5F8FD;
  --surface-2:  #EEF3FB;
  --line:       #E3E9F4;
  --text:       #0A0E1A;
  --muted:      #58617A;
  --muted-2:    #7B849B;

  /* Effects */
  --shadow-sm:  0 1px 2px rgba(10,14,26,.06), 0 1px 3px rgba(10,14,26,.05);
  --shadow-md:  0 8px 24px rgba(10,14,26,.08), 0 2px 6px rgba(10,14,26,.05);
  --shadow-lg:  0 24px 60px rgba(10,14,26,.14), 0 6px 18px rgba(10,14,26,.08);
  --shadow-brand: 0 14px 40px rgba(46,107,255,.28);

  --radius:     14px;
  --radius-lg:  22px;
  --radius-pill: 999px;

  --container:  1200px;
  --container-narrow: 880px;

  --font-head: "Sora", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;

  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---------- Dark theme overrides (toggle) ---------- */
[data-theme="dark"] {
  --bg:        #0A0E1A;
  --surface:   #0F1530;
  --surface-2: #141B38;
  --line:      #222B49;
  --text:      #EAF0FB;
  --muted:     #9AA6C2;
  --muted-2:   #768099;
  --shadow-sm: 0 1px 2px rgba(0,0,0,.4);
  --shadow-md: 0 8px 24px rgba(0,0,0,.45);
  --shadow-lg: 0 24px 60px rgba(0,0,0,.55);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  transition: background .3s var(--ease), color .3s var(--ease);
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; padding: 0; }
:focus-visible { outline: 3px solid var(--azure); outline-offset: 2px; border-radius: 6px; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; line-height: 1.1; letter-spacing: -.02em; color: var(--text); }
h1 { font-size: clamp(2.3rem, 5.2vw, 3.9rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.45rem); letter-spacing: -.01em; }
p  { color: var(--muted); }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--muted); }

.gradient-text {
  background: var(--grad-brand);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px; }
.container-narrow { max-width: var(--container-narrow); }
section { position: relative; }
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section-sm { padding: clamp(48px, 6vw, 80px) 0; }
.section--surface { background: var(--surface); }
.section--ink { background: var(--grad-ink); color: #EAF0FB; }
.section--ink h1, .section--ink h2, .section--ink h3 { color: #fff; }
.section--ink p { color: #AEB9D6; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-weight: 600; font-size: .8rem;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--azure);
  margin-bottom: 16px;
}
.section--ink .eyebrow { color: var(--cyan); }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }

.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow::before { display: none; }
.section-head p { margin-top: 14px; }

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-head); font-weight: 600; font-size: .98rem;
  padding: 14px 26px; border-radius: var(--radius-pill);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s, color .2s, border-color .2s;
  white-space: nowrap; cursor: pointer;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--grad-brand); color: #fff; box-shadow: var(--shadow-brand); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 50px rgba(46,107,255,.4); }
.btn-ghost { background: transparent; color: var(--text); border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--azure); color: var(--azure); transform: translateY(-2px); }
.section--ink .btn-ghost,
.hero .btn-ghost,
.cta-band .btn-ghost { color: #fff; border-color: rgba(255,255,255,.3); }
.section--ink .btn-ghost:hover,
.hero .btn-ghost:hover,
.cta-band .btn-ghost:hover { border-color: var(--cyan); color: var(--cyan); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-lg { padding: 17px 32px; font-size: 1.05rem; }
.btn-block { width: 100%; }

.arrow-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-weight: 600; color: var(--azure);
  transition: gap .2s var(--ease);
}
.arrow-link:hover { gap: 13px; }
.arrow-link svg { width: 16px; height: 16px; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s;
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: var(--shadow-sm); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }

/* Logo */
.logo { display: flex; align-items: center; gap: 11px; flex-shrink: 0; }
.logo-mark { width: 38px; height: 38px; flex-shrink: 0; }
.logo-img { height: 42px; width: auto; flex-shrink: 0; display: block; }
/* Theme-aware logo: colour variant on light, white variant on dark */
.logo-white { display: none; }
.logo-color { display: block; }
[data-theme="dark"] .logo-color { display: none; }
[data-theme="dark"] .logo-white { display: block; }
.logo-text { font-family: var(--font-head); font-weight: 700; font-size: 1.22rem; letter-spacing: -.02em; color: var(--text); }
.logo-text b { font-weight: 800; }
.logo-text span { color: var(--azure); }

/* Nav menu */
.nav-menu { display: flex; align-items: center; gap: 4px; }
.nav-item { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-head); font-weight: 600; font-size: .95rem;
  padding: 10px 14px; border-radius: 10px; color: var(--text);
  transition: color .2s, background .2s;
}
.nav-link:hover, .nav-item:hover > .nav-link, .nav-link[aria-current="page"] { color: var(--azure); }
.nav-link .chev { width: 14px; height: 14px; transition: transform .2s var(--ease); }
.nav-item:hover .chev { transform: rotate(180deg); }

/* Dropdown */
.dropdown {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%) translateY(8px);
  min-width: 320px; background: var(--bg); border: 1px solid var(--line);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 10px;
  opacity: 0; visibility: hidden; transition: all .22s var(--ease); z-index: 50;
}
.nav-item:hover .dropdown, .nav-item:focus-within .dropdown { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.dropdown.wide { min-width: 360px; }
.drop-link { display: flex; gap: 13px; padding: 12px 14px; border-radius: 12px; transition: background .18s; }
.drop-link:hover { background: var(--surface); }
.drop-ico {
  width: 38px; height: 38px; flex-shrink: 0; border-radius: 10px;
  display: grid; place-items: center; background: var(--surface-2); color: var(--azure);
}
.drop-ico svg { width: 20px; height: 20px; }
.drop-link:hover .drop-ico { background: var(--grad-brand); color: #fff; }
.drop-title { display: block; font-family: var(--font-head); font-weight: 600; font-size: .95rem; color: var(--text); }
.drop-desc { display: block; margin-top: 3px; font-size: .82rem; color: var(--muted); line-height: 1.4; }

/* Nav actions */
.nav-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.lang-switch { display: inline-flex; border: 1px solid var(--line); border-radius: var(--radius-pill); overflow: hidden; }
.lang-switch a { padding: 7px 13px; font-family: var(--font-head); font-weight: 600; font-size: .82rem; color: var(--muted); transition: background .2s, color .2s; }
.lang-switch a.active { background: var(--text); color: var(--bg); }
.icon-btn { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); transition: background .2s, border-color .2s; }
.icon-btn:hover { border-color: var(--azure); color: var(--azure); }
.icon-btn svg { width: 18px; height: 18px; }
.theme-toggle .moon { display: none; }
[data-theme="dark"] .theme-toggle .sun { display: none; }
[data-theme="dark"] .theme-toggle .moon { display: block; }

/* Mobile toggle */
.nav-toggle { display: none; width: 42px; height: 42px; border-radius: 10px; flex-direction: column; gap: 5px; align-items: center; justify-content: center; }
.nav-toggle span { width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { background: var(--grad-ink); color: #EAF0FB; padding: clamp(72px, 11vw, 140px) 0 clamp(64px, 9vw, 110px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.hero h1 { color: #fff; }
.hero h1 .gradient-text { background: linear-gradient(120deg, #5b8bff, #22D3EE); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero p { color: #AEB9D6; font-size: clamp(1.05rem, 1.6vw, 1.22rem); margin-top: 22px; max-width: 560px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 38px; }
.hero-badge { display: inline-flex; align-items: center; gap: 9px; font-size: .9rem; color: #C4CEE6; font-weight: 500; }
.hero-badge svg { width: 18px; height: 18px; color: var(--cyan); }

/* Hero visual panel */
.hero-panel {
  position: relative; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-lg); padding: 26px; backdrop-filter: blur(8px); box-shadow: var(--shadow-lg);
}
.hero-panel-head { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; padding-bottom: 18px; border-bottom: 1px solid rgba(255,255,255,.08); }
.hero-panel-dot { width: 10px; height: 10px; border-radius: 50%; }
.shield-row { display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: 12px; background: rgba(255,255,255,.03); margin-bottom: 12px; }
.shield-row:last-child { margin-bottom: 0; }
.shield-ico { width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; flex-shrink: 0; background: var(--grad-brand); color: #fff; }
.shield-ico svg { width: 22px; height: 22px; }
.shield-row .t { font-family: var(--font-head); font-weight: 600; color: #fff; font-size: .98rem; }
.shield-row .d { font-size: .82rem; color: #94A0BE; }
.shield-row .status { margin-left: auto; font-size: .76rem; font-weight: 600; color: #34D399; display: flex; align-items: center; gap: 6px; }
.shield-row .status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #34D399; box-shadow: 0 0 0 3px rgba(52,211,153,.2); }

/* ---------- Trust bar ---------- */
.trust-bar { padding: 40px 0; border-bottom: 1px solid var(--line); }
.trust-bar .container { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 28px; }
.trust-label { font-family: var(--font-head); font-weight: 600; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); }
.trust-logos { display: flex; align-items: center; gap: 36px; flex-wrap: wrap; }
.trust-logo { font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; color: var(--muted); opacity: .75; }

/* ---------- Proof: client & partner logo strips ---------- */
.proof { padding: clamp(48px, 7vw, 80px) 0; background: var(--surface); }
.logo-strip-block { text-align: center; }
.logo-strip-block + .logo-strip-block { margin-top: 48px; padding-top: 44px; border-top: 1px solid var(--line); }
.logo-strip-block .trust-label { display: block; margin-bottom: 24px; }
.logo-strip { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.logo-strip.partners { grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); max-width: 920px; margin: 0 auto; }
.logo-cell { display: flex; align-items: center; justify-content: center; min-height: 96px;
  padding: 16px 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); }
.logo-cell img { max-height: 58px; max-width: 100%; width: auto; object-fit: contain;
  filter: grayscale(1); opacity: .7; transition: filter .25s var(--ease), opacity .25s var(--ease); }
.logo-cell:hover img { filter: none; opacity: 1; }
/* Partner badges are official brand assets — always full colour */
.logo-strip.partners .logo-cell img { filter: none; opacity: 1; max-height: 48px; }
.logo-cell-text { background: var(--surface); border: 1px solid var(--line); box-shadow: none; min-height: 72px; }
.logo-cell-text span { font-family: var(--font-head); font-weight: 700; font-size: 1.05rem;
  color: var(--muted); transition: color .2s; }
.logo-cell-text:hover { border-color: color-mix(in srgb, var(--azure) 40%, var(--line)); }
.logo-cell-text:hover span { color: var(--azure); }
@media (max-width: 520px) { .logo-strip { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { text-align: center; }
.stat .num { font-family: var(--font-head); font-weight: 800; font-size: clamp(2.2rem, 4vw, 3.1rem); line-height: 1; background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.section--ink .stat .num { background: linear-gradient(120deg,#6f9bff,#22D3EE); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stat .lbl { margin-top: 10px; font-size: .92rem; color: var(--muted); font-weight: 500; }

/* ---------- Cards ---------- */
.card {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 30px; transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s;
  height: 100%; display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card-ico { width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; background: var(--surface); color: var(--azure); margin-bottom: 20px; }
.card-ico svg { width: 27px; height: 27px; }
.card:hover .card-ico { background: var(--grad-brand); color: #fff; }
.card h3 { margin-bottom: 10px; }
.card p { font-size: .96rem; }
.card .arrow-link { margin-top: auto; padding-top: 18px; }
.card-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 16px; }
.tag { font-size: .76rem; font-weight: 600; padding: 5px 11px; border-radius: var(--radius-pill); background: var(--surface-2); color: var(--muted); }

/* Pillar card (featured) */
.pillar { position: relative; overflow: hidden; }
.pillar::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--grad-brand); opacity: 0; transition: opacity .25s; }
.pillar:hover::before { opacity: 1; }
.pillar .num-badge { font-family: var(--font-head); font-weight: 700; font-size: .8rem; color: var(--azure); letter-spacing: .1em; margin-bottom: 14px; }

/* Problem card */
.problem { display: flex; gap: 16px; padding: 22px; border-radius: var(--radius); background: var(--bg); border: 1px solid var(--line); }
.problem-ico { width: 44px; height: 44px; border-radius: 11px; flex-shrink: 0; display: grid; place-items: center; background: color-mix(in srgb, var(--azure) 12%, transparent); color: var(--azure); }
.problem-ico svg { width: 22px; height: 22px; }
.problem h4 { font-family: var(--font-head); font-size: 1rem; margin-bottom: 5px; }
.problem p { font-size: .9rem; }

/* Industry card */
.industry { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--ink-2); color: #fff; padding: 28px; min-height: 230px; display: flex; flex-direction: column; justify-content: flex-end; border: 1px solid var(--line); transition: transform .25s var(--ease), box-shadow .25s; }
.industry::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,21,48,.2), rgba(10,14,26,.92)); z-index: 1; }
.industry .ind-bg { position: absolute; inset: 0; z-index: 0; opacity: .5; }
.industry > * { position: relative; z-index: 2; }
.industry:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.industry .ind-ico { width: 46px; height: 46px; border-radius: 12px; background: rgba(255,255,255,.12); display: grid; place-items: center; margin-bottom: auto; backdrop-filter: blur(4px); }
.industry .ind-ico svg { width: 24px; height: 24px; color: var(--cyan); }
.industry h3 { color: #fff; margin-top: 16px; }
.industry p { color: #B9C3DD; font-size: .9rem; margin-top: 6px; }

/* Offer card */
.offer { display: flex; flex-direction: column; gap: 14px; padding: 26px; border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--bg); transition: border-color .2s, box-shadow .2s, transform .2s; height: 100%; }
.offer:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.offer-kicker { font-size: .76rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--azure); }
.offer h3 { font-size: 1.15rem; }
.offer p { font-size: .92rem; flex: 1; }

/* Feature list */
.feature-list { display: grid; gap: 13px; }
.feature-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--muted); }
.feature-list .check { width: 22px; height: 22px; border-radius: 50%; flex-shrink: 0; display: grid; place-items: center; background: color-mix(in srgb, var(--azure) 14%, transparent); color: var(--azure); margin-top: 2px; }
.feature-list .check svg { width: 13px; height: 13px; }
.feature-list b { color: var(--text); font-weight: 600; }

/* Split / media rows */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.split.reverse .split-media { order: -1; }
.split-media { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }

/* Two-tone info panel */
.panel { border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 44px); background: var(--surface); border: 1px solid var(--line); }
.panel--ink { background: var(--grad-ink); color: #EAF0FB; border: none; }
.panel--ink h2, .panel--ink h3 { color: #fff; }
.panel--ink p { color: #AEB9D6; }

/* Process / steps */
.steps { counter-reset: step; display: grid; gap: 22px; }
.step { display: flex; gap: 20px; }
.step-num { counter-increment: step; flex-shrink: 0; width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; background: var(--grad-brand); color: #fff; }
.step-num::before { content: counter(step, decimal-leading-zero); }
.step h4 { font-family: var(--font-head); margin-bottom: 6px; }
.step p { font-size: .95rem; }

/* Accordion (FAQ) */
.accordion { border-top: 1px solid var(--line); }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-q { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; text-align: left; padding: 22px 4px; font-family: var(--font-head); font-weight: 600; font-size: 1.08rem; color: var(--text); }
.acc-q .pm { width: 26px; height: 26px; flex-shrink: 0; position: relative; }
.acc-q .pm::before, .acc-q .pm::after { content: ""; position: absolute; background: var(--azure); border-radius: 2px; transition: transform .25s var(--ease); }
.acc-q .pm::before { top: 12px; left: 4px; right: 4px; height: 2px; }
.acc-q .pm::after { left: 12px; top: 4px; bottom: 4px; width: 2px; }
.acc-item.open .pm::after { transform: scaleY(0); }
.acc-a { max-height: 0; overflow: hidden; transition: max-height .3s var(--ease); }
.acc-a-inner { padding: 0 4px 22px; color: var(--muted); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--grad-ink); border-radius: var(--radius-lg); padding: clamp(40px, 6vw, 72px); text-align: center; color: #fff; position: relative; overflow: hidden; }
.cta-band h2 { color: #fff; max-width: 720px; margin-inline: auto; }
.cta-band p { color: #AEB9D6; max-width: 560px; margin: 16px auto 0; }
.cta-band .hero-cta { justify-content: center; }

/* ---------- Forms ---------- */
.form-grid { display: grid; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field label { font-family: var(--font-head); font-weight: 600; font-size: .88rem; color: var(--text); }
.field input, .field select, .field textarea {
  font: inherit; font-size: .96rem; padding: 13px 15px; border-radius: 12px;
  border: 1.5px solid var(--line); background: var(--bg); color: var(--text); transition: border-color .2s, box-shadow .2s;
  width: 100%;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--azure); box-shadow: 0 0 0 4px color-mix(in srgb, var(--azure) 14%, transparent); }
.form-note { font-size: .82rem; color: var(--muted-2); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-success { display: none; padding: 18px; border-radius: 12px; background: color-mix(in srgb, #34D399 16%, transparent); color: #047857; font-weight: 600; }
.form-error { display: none; padding: 18px; border-radius: 12px; background: color-mix(in srgb, #EF4444 14%, transparent); color: #B91C1C; font-weight: 600; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-grid.is-sending button[type="submit"] { opacity: .7; cursor: progress; }

/* Contact info cards */
.contact-card { padding: 24px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--bg); }
.contact-card .cc-ico { width: 44px; height: 44px; border-radius: 11px; background: var(--surface); color: var(--azure); display: grid; place-items: center; margin-bottom: 14px; }
.contact-card .cc-ico svg { width: 22px; height: 22px; }
.contact-card h4 { font-family: var(--font-head); margin-bottom: 6px; }
.contact-card a, .contact-card p { font-size: .95rem; color: var(--muted); }
.contact-card a:hover { color: var(--azure); }
.cc-tag { font-size: .66rem; font-weight: 700; letter-spacing: .08em; color: var(--azure);
  background: color-mix(in srgb, var(--azure) 13%, transparent); padding: 1px 7px; border-radius: 999px; }

/* ---------- Breadcrumb / page hero ---------- */
.page-hero { background: var(--grad-ink); color: #fff; padding: clamp(56px, 8vw, 96px) 0 clamp(48px, 6vw, 72px); }
.page-hero h1 { color: #fff; max-width: 760px; }
.page-hero p { color: #AEB9D6; max-width: 620px; margin-top: 18px; font-size: 1.12rem; }
.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: .85rem; color: #8d99b8; margin-bottom: 20px; }
.breadcrumb a:hover { color: var(--cyan); }
.breadcrumb span { color: #5d6886; }

/* ---------- Prose (legal pages) ---------- */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.5rem; margin-top: 40px; margin-bottom: 14px; }
.prose h3 { font-size: 1.15rem; margin-top: 28px; margin-bottom: 10px; }
.prose p, .prose li { color: var(--muted); margin-bottom: 14px; }
.prose ul { list-style: disc; padding-left: 22px; margin-bottom: 16px; }
.prose li { margin-bottom: 8px; }
.prose a { color: var(--azure); text-decoration: underline; }
.prose strong { color: var(--text); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #C4CEE6; padding: 72px 0 32px; }
[data-theme="dark"] .site-footer { border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-brand .logo-text { color: #fff; }
.footer-about { margin-top: 18px; font-size: .92rem; color: #8d99b8; max-width: 320px; }
.footer-col h4 { font-family: var(--font-head); font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: #fff; margin-bottom: 18px; }
.footer-col ul { display: grid; gap: 11px; }
.footer-col a { font-size: .92rem; color: #9AA6C2; transition: color .2s; }
.footer-col a:hover { color: var(--cyan); }
.footer-contact { margin-top: 20px; display: grid; gap: 18px; font-size: .9rem; color: #9AA6C2; }
.footer-contact a { color: #9AA6C2; transition: color .2s; }
.footer-contact a:hover { color: #fff; }
.fc-email { display: inline-flex; gap: 10px; align-items: center; }
.fc-email svg { width: 17px; height: 17px; color: var(--cyan); flex-shrink: 0; }
.fc-locations { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.fc-loc { display: inline-flex; gap: 7px; align-items: center; }
.fc-loc svg { width: 16px; height: 16px; color: var(--cyan); flex-shrink: 0; }
.fc-contact-link { display: inline-flex; align-items: center; gap: 7px; font-family: var(--font-head); font-weight: 600; color: var(--cyan); }
.fc-contact-link svg { width: 15px; height: 15px; }
.fc-contact-link:hover { gap: 11px; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; padding-top: 28px; font-size: .85rem; color: #768099; }
.footer-bottom a { color: #9AA6C2; }
.footer-bottom a:hover { color: var(--cyan); }
.footer-social { display: flex; gap: 10px; }
.footer-social a { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.06); transition: background .2s; }
.footer-social a:hover { background: var(--grad-brand); }
.footer-social svg { width: 18px; height: 18px; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ---------- Cookie banner ---------- */
.cookie {
  position: fixed; bottom: 20px; left: 20px; right: 20px; max-width: 460px; z-index: 200;
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); padding: 22px; transform: translateY(150%); transition: transform .4s var(--ease);
}
.cookie.show { transform: none; }
.cookie h4 { font-family: var(--font-head); margin-bottom: 8px; }
.cookie p { font-size: .88rem; margin-bottom: 16px; }
.cookie p a { color: var(--azure); text-decoration: underline; }
.cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie-actions .btn { padding: 10px 18px; font-size: .88rem; }

/* ---------- Language suggestion toast ---------- */
.lang-suggest {
  position: fixed; top: 88px; right: 20px; z-index: 150;
  display: flex; align-items: center; gap: 12px 14px; flex-wrap: wrap;
  max-width: 340px; padding: 14px 16px;
  background: var(--bg); color: var(--text);
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  opacity: 0; transform: translateY(-12px);
  transition: opacity .3s var(--ease), transform .3s var(--ease);
  font-size: .9rem;
}
.lang-suggest.show { opacity: 1; transform: none; }
.lang-suggest-msg { flex: 1 1 100%; color: var(--muted); line-height: 1.4; }
.lang-suggest-go { font-weight: 600; color: var(--azure); white-space: nowrap; }
.lang-suggest-go:hover { text-decoration: underline; }
.lang-suggest-x { margin-left: auto; background: none; border: 0; color: var(--muted); cursor: pointer; font-size: .82rem; padding: 4px 6px; }
.lang-suggest-x:hover { color: var(--text); }
body.nav-open .lang-suggest { display: none; }
@media (max-width: 520px) { .lang-suggest { top: 80px; left: 14px; right: 14px; max-width: none; } }

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 12px; } .mt-2 { margin-top: 24px; } .mt-3 { margin-top: 36px; }
.mb-2 { margin-bottom: 24px; }
.flex { display: flex; } .items-center { align-items: center; } .gap-2 { gap: 16px; } .flex-wrap { flex-wrap: wrap; }
.hide-mobile { } .skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 16px; top: 16px; z-index: 999; background: var(--bg); padding: 10px 16px; border-radius: 8px; box-shadow: var(--shadow-md); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-panel { max-width: 520px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
/* Nav collapses to a menu button before the items+CTA would overflow */
@media (max-width: 1100px) {
  .nav-menu, .nav-actions .lang-switch { display: none; }
  .nav-toggle { display: flex; }
  .nav-menu.open {
    display: flex; position: fixed; inset: 76px 0 0 0; flex-direction: column; align-items: stretch;
    background: var(--bg); padding: 24px; gap: 4px; overflow-y: auto; z-index: 90; border-top: 1px solid var(--line);
  }
  .nav-menu.open .nav-link { font-size: 1.15rem; padding: 14px 12px; }
  .nav-menu.open .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: none; padding: 0 0 0 14px; min-width: 0; background: transparent; }
  .nav-menu.open .nav-item:hover .chev { transform: none; }
}
@media (max-width: 860px) {
  .split, .grid-2, .grid-3, .stats, .form-row { grid-template-columns: 1fr; }
  .split.reverse .split-media { order: 0; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 32px 16px; }
  .trust-bar .container { flex-direction: column; align-items: flex-start; gap: 18px; }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .container { padding-inline: 18px; }
  .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-cta .btn, .cta-band .btn { width: 100%; }
}
