/* =========================================================
   MELKORN — elektro & security
   Design tokens → base → layout → components → pages
   ========================================================= */

:root {
  /* brand */
  --navy-950: #060a13;
  --navy-900: #0a1120;
  --navy-800: #101a2f;
  --navy-700: #1a2742;
  --volt: #ffc61a;          /* elektrická žltá — len ako pozadie / akcent na tmavom */
  --volt-600: #e6ab00;
  --blue: #1d4ed8;          /* odkazy na svetlom pozadí */
  --blue-300: #93b4ff;      /* odkazy na tmavom pozadí */

  /* surfaces & text */
  --bg: #f5f7fb;
  --surface: #ffffff;
  --text: #0f172a;
  --text-muted: #475569;
  --border: #e2e8f0;
  --on-dark: #f1f5f9;
  --on-dark-muted: #a8b3c7;
  --line-dark: rgba(255, 255, 255, 0.09);
  --success: #15803d;
  --error: #b91c1c;

  /* type */
  --font-head: "Sora", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;

  /* spacing (8pt) */
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px;
  --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06), 0 1px 3px rgba(15, 23, 42, 0.06);
  --shadow: 0 10px 30px -12px rgba(15, 23, 42, 0.18);
  --shadow-lg: 0 24px 60px -20px rgba(15, 23, 42, 0.35);

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --dur-fast: 150ms;
  --dur: 240ms;

  --header-h: 72px;
  --z-header: 100;
  --z-menu: 200;
  --z-callbar: 90;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; margin: 0 0 var(--s4); letter-spacing: -0.02em; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 5.2vw, 3.6rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 600; letter-spacing: -0.01em; }
p { margin: 0 0 var(--s4); }
ul { padding-left: 1.2em; }
:focus-visible { outline: 3px solid var(--volt); outline-offset: 3px; border-radius: 4px; }
.section--light :focus-visible, .section :focus-visible { outline-color: var(--blue); }
.section--dark :focus-visible, .site-header :focus-visible, .page-hero :focus-visible, .hero :focus-visible, .site-footer :focus-visible { outline-color: var(--volt); }

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 1000;
  background: var(--volt); color: var(--navy-900); padding: 10px 16px; border-radius: var(--radius-sm);
  font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.i { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.i--sm { width: 18px; height: 18px; }
.i--lg { width: 28px; height: 28px; }

/* ---------- layout ---------- */
.container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: var(--s4); }
@media (min-width: 768px) { .container { padding-inline: var(--s6); } }

.section { padding-block: var(--s8); }
@media (min-width: 1024px) { .section { padding-block: var(--s9); } }
.section--white { background: var(--surface); }
.section--dark { background: var(--navy-900); color: var(--on-dark); }
.section--dark p, .section--dark li { color: var(--on-dark-muted); }
.section--dark a:not(.btn) { color: var(--blue-300); }

.section-head { max-width: 720px; margin-bottom: var(--s7); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p { font-size: 1.1rem; color: var(--text-muted); }
.section--dark .section-head p { color: var(--on-dark-muted); }

.eyebrow {
  display: inline-flex; align-items: center; gap: var(--s2);
  font-family: var(--font-head); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--blue); margin-bottom: var(--s3);
}
.eyebrow::before { content: ""; width: 18px; height: 2px; background: currentColor; border-radius: 2px; }
.section--dark .eyebrow, .hero .eyebrow, .page-hero .eyebrow { color: var(--volt); }

.grid { display: grid; gap: var(--s5); }
@media (min-width: 640px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
}
.split { display: grid; gap: var(--s7); align-items: center; }
.split > *, .grid > *, .form__row > * { min-width: 0; }
@media (min-width: 960px) { .split { grid-template-columns: 1.05fr 1fr; gap: var(--s8); } .split--rev > :first-child { order: 2; } }

/* ---------- buttons ---------- */
.btn {
  --btn-bg: var(--volt); --btn-fg: var(--navy-900);
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s2);
  min-height: 48px; padding: 12px 22px; border-radius: 999px; border: 2px solid transparent;
  background: var(--btn-bg); color: var(--btn-fg);
  font-family: var(--font-head); font-weight: 600; font-size: 0.98rem; line-height: 1.2; text-decoration: none;
  cursor: pointer; touch-action: manipulation;
  transition: background-color var(--dur-fast) ease, color var(--dur-fast) ease, border-color var(--dur-fast) ease, transform var(--dur-fast) ease, box-shadow var(--dur) ease;
}
.btn:hover { background: var(--volt-600); box-shadow: 0 10px 24px -10px rgba(255, 198, 26, 0.7); }
.btn:active { transform: scale(0.97); }
.btn .i { width: 20px; height: 20px; transition: transform var(--dur) var(--ease-out); }
.btn:hover .i--arrow { transform: translateX(3px); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--on-dark); border-color: rgba(255,255,255,0.28); }
.btn--ghost:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.5); box-shadow: none; }
.btn--dark { --btn-bg: var(--navy-900); --btn-fg: #fff; }
.btn--dark:hover { background: var(--navy-700); box-shadow: var(--shadow); }
.btn--outline { --btn-bg: transparent; --btn-fg: var(--text); border-color: var(--border); }
.btn--outline:hover { background: var(--bg); border-color: #cbd5e1; box-shadow: none; }
.btn--block { width: 100%; }
.btn[disabled], .btn[aria-busy="true"] { opacity: 0.6; cursor: progress; }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--s3); }

.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; font-family: var(--font-head); font-size: 0.95rem; }
.link-arrow .i { width: 18px; height: 18px; transition: transform var(--dur) var(--ease-out); }
.link-arrow:hover .i { transform: translateX(3px); }

/* ---------- header ---------- */
.topbar { background: var(--navy-950); color: var(--on-dark-muted); font-size: 0.85rem; display: none; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; min-height: 38px; gap: var(--s5); }
.topbar a { color: var(--on-dark); text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.topbar a:hover { color: var(--volt); }
.topbar__group { display: flex; gap: var(--s5); align-items: center; }
.topbar .i { width: 16px; height: 16px; color: var(--volt); }
@media (min-width: 1024px) { .topbar { display: block; } }

.site-header {
  position: sticky; top: 0; z-index: var(--z-header);
  background: rgba(10, 17, 32, 0.92);
  backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line-dark);
  color: var(--on-dark);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); gap: var(--s5); }

.logo { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; }
.logo svg { width: 40px; height: 40px; }
.logo__text { display: flex; flex-direction: column; line-height: 1; }
.logo__name { font-family: var(--font-head); font-weight: 700; font-size: 1.3rem; letter-spacing: 0.08em; }
.logo__tag { font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--on-dark-muted); margin-top: 5px; }

.nav { display: none; }
.nav__list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: var(--s1); }
.nav__link {
  display: inline-flex; align-items: center; gap: 4px; min-height: 44px; padding: 0 14px; border-radius: 999px;
  color: var(--on-dark); text-decoration: none; font-weight: 500; font-size: 0.95rem;
  background: none; border: 0; font-family: inherit; cursor: pointer;
  transition: background-color var(--dur-fast) ease, color var(--dur-fast) ease;
}
.nav__link:hover, .nav__link[aria-expanded="true"] { background: rgba(255,255,255,0.07); }
.nav__link[aria-current="page"] { color: var(--volt); }
.nav__link .i { width: 16px; height: 16px; transition: transform var(--dur) var(--ease-out); }
.nav__link[aria-expanded="true"] .i { transform: rotate(180deg); }

.nav__item--dropdown { position: relative; }
.dropdown {
  position: absolute; top: calc(100% + 10px); left: 50%; width: min(640px, 90vw);
  background: var(--surface); color: var(--text); border-radius: var(--radius); box-shadow: var(--shadow-lg);
  padding: var(--s3); display: grid; grid-template-columns: 1fr 1fr; gap: 2px;
  opacity: 0; visibility: hidden; transform: translate(-50%, -6px);
  transition: opacity var(--dur-fast) ease, transform var(--dur) var(--ease-out), visibility 0s linear var(--dur);
}
.dropdown.is-open { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition-delay: 0s; }
.dropdown a { display: flex; gap: var(--s3); padding: 12px; border-radius: 10px; text-decoration: none; color: var(--text); }
.dropdown a:hover { background: var(--bg); }
.dropdown a[aria-current="page"] { background: #fff7d6; }
.dropdown .i { color: var(--blue); margin-top: 2px; }
.dropdown strong { display: block; font-family: var(--font-head); font-size: 0.95rem; font-weight: 600; }
.dropdown span { display: block; font-size: 0.83rem; color: var(--text-muted); line-height: 1.4; }

.header-cta { display: none; }
.menu-toggle {
  display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px;
  background: rgba(255,255,255,0.06); color: #fff; border: 1px solid var(--line-dark); border-radius: 12px; cursor: pointer;
}
@media (min-width: 1100px) {
  .nav { display: block; }
  .header-cta { display: inline-flex; }
  .menu-toggle { display: none; }
}

/* mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: var(--z-menu); background: var(--navy-900); color: var(--on-dark);
  display: flex; flex-direction: column; overflow-y: auto;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity var(--dur) ease, transform var(--dur) var(--ease-out), visibility 0s linear var(--dur);
}
.mobile-menu.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.mobile-menu__head { display: flex; justify-content: space-between; align-items: center; min-height: var(--header-h); padding-inline: var(--s4); border-bottom: 1px solid var(--line-dark); }
.mobile-menu nav { padding: var(--s4); flex: 1; }
.mobile-menu ul { list-style: none; margin: 0; padding: 0; }
.mobile-menu__label { font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--on-dark-muted); margin: var(--s5) 0 var(--s2); }
.mobile-menu a { display: flex; align-items: center; gap: var(--s3); min-height: 48px; padding: 6px 4px; color: var(--on-dark); text-decoration: none; font-size: 1.05rem; border-bottom: 1px solid var(--line-dark); }
.mobile-menu a[aria-current="page"] { color: var(--volt); }
.mobile-menu a .i { color: var(--volt); width: 20px; height: 20px; }
.mobile-menu__foot { padding: var(--s4); display: grid; gap: var(--s3); border-top: 1px solid var(--line-dark); }
body.menu-open { overflow: hidden; }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden; color: var(--on-dark);
  background:
    radial-gradient(900px 500px at 85% 10%, rgba(29, 78, 216, 0.35), transparent 60%),
    radial-gradient(600px 400px at 10% 100%, rgba(255, 198, 26, 0.10), transparent 60%),
    var(--navy-900);
  padding-block: var(--s8) var(--s8);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--line-dark) 1px, transparent 1px), linear-gradient(90deg, var(--line-dark) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 70%);
}
.hero .container { position: relative; display: grid; gap: var(--s7); align-items: center; }
@media (min-width: 1024px) { .hero { padding-block: var(--s9) 120px; } .hero .container { grid-template-columns: 1.1fr 1fr; } }
.hero h1 span { color: var(--volt); }
.hero__lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--on-dark-muted); max-width: 560px; margin-bottom: var(--s6); }
.hero__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s4); margin-top: var(--s7); padding-top: var(--s5); border-top: 1px solid var(--line-dark); max-width: 560px; }
.stat__num { font-family: var(--font-head); font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 700; color: #fff; line-height: 1.1; font-variant-numeric: tabular-nums; }
.stat__label { font-size: 0.85rem; color: var(--on-dark-muted); line-height: 1.35; margin-top: 4px; }

.hero-visual { position: relative; max-width: 560px; margin-inline: auto; width: 100%; }
.hero-visual svg.scheme { width: 100%; height: auto; }
.scheme .node { fill: var(--navy-800); stroke: rgba(255,255,255,0.18); }
.scheme .node-icon { fill: none; stroke: var(--volt); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.scheme .wire { fill: none; stroke: rgba(147, 180, 255, 0.35); stroke-width: 1.5; stroke-dasharray: 4 6; }
.scheme .pulse { fill: none; stroke: var(--volt); stroke-width: 2; stroke-dasharray: 10 400; stroke-linecap: round; animation: pulse 3.6s linear infinite; }
.scheme .pulse:nth-of-type(2) { animation-delay: 0.9s; }
.scheme .pulse:nth-of-type(3) { animation-delay: 1.8s; }
.scheme .pulse:nth-of-type(4) { animation-delay: 2.7s; }
@keyframes pulse { from { stroke-dashoffset: 410; } to { stroke-dashoffset: 0; } }

.float-card {
  position: absolute; display: flex; align-items: center; gap: var(--s3);
  background: rgba(16, 26, 47, 0.88); border: 1px solid rgba(255,255,255,0.12); border-radius: var(--radius);
  padding: 12px 16px; box-shadow: var(--shadow-lg); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  font-size: 0.85rem; line-height: 1.3; color: var(--on-dark);
}
.float-card strong { display: block; font-family: var(--font-head); font-weight: 600; font-size: 0.92rem; color: #fff; }
.float-card__icon { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 10px; background: rgba(34, 197, 94, 0.16); color: #4ade80; }
.float-card__icon--volt { background: rgba(255, 198, 26, 0.16); color: var(--volt); }
.float-card--a { left: -4px; bottom: -3%; }
.float-card--b { right: -4px; top: 6%; }
@media (max-width: 480px) { .float-card { font-size: 0.78rem; padding: 10px 12px; } .float-card--b { display: none; } }

/* ---------- page hero (subpages) ---------- */
.page-hero {
  position: relative; overflow: hidden; color: var(--on-dark);
  background: radial-gradient(700px 400px at 90% 0%, rgba(29, 78, 216, 0.35), transparent 60%), var(--navy-900);
  padding-block: var(--s7) var(--s8);
}
.page-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--line-dark) 1px, transparent 1px), linear-gradient(90deg, var(--line-dark) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 90% 0%, #000 10%, transparent 60%);
  -webkit-mask-image: radial-gradient(ellipse at 90% 0%, #000 10%, transparent 60%);
}
.page-hero .container { position: relative; }
.page-hero__grid { display: grid; gap: var(--s6); align-items: end; }
@media (min-width: 1024px) { .page-hero__grid { grid-template-columns: 1.4fr 1fr; } }
.page-hero h1 { font-size: clamp(2rem, 4.4vw, 3.1rem); max-width: 820px; }
.page-hero__lead { font-size: 1.1rem; color: var(--on-dark-muted); max-width: 680px; margin-bottom: var(--s5); }
.page-hero__icon { width: 64px; height: 64px; display: grid; place-items: center; border-radius: 18px; background: rgba(255, 198, 26, 0.12); color: var(--volt); margin-bottom: var(--s5); }
.page-hero__icon .i { width: 32px; height: 32px; }
.page-hero__aside { background: rgba(255,255,255,0.04); border: 1px solid var(--line-dark); border-radius: var(--radius); padding: var(--s5); }
.page-hero__aside h2 { font-size: 0.85rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--on-dark-muted); margin-bottom: var(--s3); font-weight: 600; }

.breadcrumb { margin-bottom: var(--s5); font-size: 0.88rem; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; color: var(--on-dark-muted); }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; opacity: 0.5; }
.breadcrumb a { color: var(--on-dark-muted); text-decoration: none; }
.breadcrumb a:hover { color: #fff; text-decoration: underline; }
.breadcrumb [aria-current] { color: #fff; }

/* ---------- brand chips ---------- */
.brands { display: flex; flex-wrap: wrap; gap: var(--s2); list-style: none; padding: 0; margin: 0; }
.brand-chip {
  display: inline-flex; align-items: center; min-height: 36px; padding: 6px 14px; border-radius: 999px;
  font-family: var(--font-head); font-weight: 600; font-size: 0.88rem; letter-spacing: 0.02em;
  background: var(--bg); border: 1px solid var(--border); color: var(--text);
}
.section--dark .brand-chip, .page-hero .brand-chip, .hero .brand-chip { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.14); color: var(--on-dark); }

.brand-wall { display: grid; gap: var(--s5); }
@media (min-width: 768px) { .brand-wall { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .brand-wall { grid-template-columns: repeat(4, 1fr); } }
.brand-group { background: rgba(255,255,255,0.03); border: 1px solid var(--line-dark); border-radius: var(--radius); padding: var(--s5); }
.brand-group h3 { font-size: 1rem; display: flex; align-items: center; gap: var(--s2); color: #fff; }
.brand-group h3 .i { color: var(--volt); width: 20px; height: 20px; }

/* ---------- cards ---------- */
.card {
  position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: var(--s5); box-shadow: var(--shadow-sm);
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) ease, border-color var(--dur) ease;
}
.card p { color: var(--text-muted); font-size: 0.96rem; }
.card__icon { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 14px; background: #eef3ff; color: var(--blue); margin-bottom: var(--s4); transition: background-color var(--dur) ease, color var(--dur) ease; }
.card--link { text-decoration: none; color: inherit; }
.card--link:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #c7d2fe; }
.card--link:hover .card__icon { background: var(--navy-900); color: var(--volt); }
.card--link .link-arrow { margin-top: auto; padding-top: var(--s3); color: var(--blue); }
.card__brands { font-size: 0.82rem; color: var(--text-muted); margin-top: auto; padding-top: var(--s3); border-top: 1px dashed var(--border); margin-bottom: var(--s3); }
.card--featured { background: var(--navy-900); color: var(--on-dark); border-color: var(--navy-900); }
.card--featured p { color: var(--on-dark-muted); }
.card--featured .card__icon { background: rgba(255,198,26,0.14); color: var(--volt); }
.card--featured .card__brands { color: var(--on-dark-muted); border-color: var(--line-dark); }
.card--featured.card--link .link-arrow { color: var(--volt); }
.card--featured.card--link:hover { border-color: var(--volt); }
.card--featured.card--link:hover .card__icon { background: var(--volt); color: var(--navy-900); }
.badge { display: inline-flex; align-items: center; gap: 4px; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; background: var(--volt); color: var(--navy-900); }
.card .badge { position: absolute; top: var(--s5); right: var(--s5); }

/* feature list */
.feature-list { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s3); }
.feature-list li { display: flex; gap: var(--s3); align-items: flex-start; }
.feature-list .i { width: 22px; height: 22px; color: var(--success); margin-top: 2px; }
.section--dark .feature-list .i, .page-hero .feature-list .i, .card--featured .feature-list .i { color: var(--volt); }

.features { display: grid; gap: var(--s5); }
@media (min-width: 640px) { .features { grid-template-columns: repeat(2, 1fr); } }
.feature { display: flex; gap: var(--s4); padding: var(--s5); background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.feature__icon { width: 44px; height: 44px; flex-shrink: 0; display: grid; place-items: center; border-radius: 12px; background: #eef3ff; color: var(--blue); }
.feature h3 { font-size: 1.05rem; margin-bottom: 6px; }
.feature p { color: var(--text-muted); font-size: 0.95rem; margin: 0; }

/* panel */
.panel { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: var(--s6); box-shadow: var(--shadow-sm); }
.panel--dark { background: var(--navy-900); color: var(--on-dark); border-color: var(--navy-900); }
.panel--dark p, .panel--dark li { color: var(--on-dark-muted); }

/* ---------- steps ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s5); counter-reset: step; }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { position: relative; padding: var(--s5); border-radius: var(--radius); background: rgba(255,255,255,0.03); border: 1px solid var(--line-dark); }
.step__num { counter-increment: step; font-family: var(--font-head); font-weight: 700; font-size: 0.85rem; color: var(--volt); letter-spacing: 0.1em; margin-bottom: var(--s4); display: flex; align-items: center; gap: var(--s3); }
.step__num::before { content: "0" counter(step); width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,198,26,0.12); font-size: 1rem; }
.step h3 { color: #fff; }
.section:not(.section--dark) .step { background: var(--surface); border-color: var(--border); }
.section:not(.section--dark) .step h3 { color: var(--text); }
.section:not(.section--dark) .step p { color: var(--text-muted); }
.section:not(.section--dark) .step__num { color: var(--blue); }
.section:not(.section--dark) .step__num::before { background: #eef3ff; }

/* ---------- why / trust ---------- */
.trust { display: grid; gap: var(--s4); }
@media (min-width: 640px) { .trust { grid-template-columns: repeat(2, 1fr); } }
.trust__item { display: flex; gap: var(--s4); align-items: flex-start; }
.trust__item .card__icon { margin: 0; flex-shrink: 0; width: 48px; height: 48px; }
.trust__item h3 { font-size: 1.05rem; margin-bottom: 4px; }
.trust__item p { color: var(--text-muted); font-size: 0.95rem; margin: 0; }

.coverage { position: relative; aspect-ratio: 1 / 1; max-width: 440px; margin-inline: auto; width: 100%; }
.coverage svg { width: 100%; height: 100%; }

/* ---------- pricing ---------- */
.pricing { display: grid; gap: var(--s5); align-items: stretch; }
@media (min-width: 960px) { .pricing { grid-template-columns: repeat(3, 1fr); } }
.plan { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: var(--s6) var(--s5); box-shadow: var(--shadow-sm); }
.plan--popular { background: var(--navy-900); color: var(--on-dark); border: 2px solid var(--volt); box-shadow: var(--shadow-lg); }
@media (min-width: 960px) { .plan--popular { transform: translateY(-12px); } }
.plan .badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); white-space: nowrap; }
.plan__icon { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 14px; background: #eef3ff; color: var(--blue); margin-bottom: var(--s4); }
.plan--popular .plan__icon { background: rgba(255,198,26,0.14); color: var(--volt); }
.plan h3 { font-size: 1.35rem; margin-bottom: 4px; }
.plan__for { color: var(--text-muted); font-size: 0.95rem; margin-bottom: var(--s5); }
.plan--popular .plan__for { color: var(--on-dark-muted); }
.plan__price { display: flex; align-items: baseline; gap: 6px; margin-bottom: 4px; }
.plan__from { font-size: 0.95rem; color: var(--text-muted); }
.plan--popular .plan__from { color: var(--on-dark-muted); }
.plan__amount { font-family: var(--font-head); font-size: 2.6rem; font-weight: 700; letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.plan__note { font-size: 0.82rem; color: var(--text-muted); margin-bottom: var(--s5); }
.plan--popular .plan__note { color: var(--on-dark-muted); }
.plan .feature-list { margin-bottom: var(--s6); font-size: 0.95rem; }
.plan .feature-list li { line-height: 1.45; }
.plan--popular .feature-list li { color: var(--on-dark); }
.plan .btn { margin-top: auto; }
.plan__divider { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted); margin: 0 0 var(--s3); }
.plan--popular .plan__divider { color: var(--on-dark-muted); }

.price-note { display: flex; gap: var(--s3); align-items: flex-start; margin-top: var(--s6); padding: var(--s4) var(--s5); border-radius: var(--radius); background: #fff7d6; border: 1px solid #fde68a; color: #713f12; font-size: 0.93rem; }
.price-note .i { color: #a16207; margin-top: 2px; }
.price-note p { margin: 0; }

.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface); }
.table { width: 100%; border-collapse: collapse; font-size: 0.95rem; min-width: 520px; }
.table th, .table td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--border); vertical-align: top; }
.table thead th { background: var(--bg); font-family: var(--font-head); font-weight: 600; font-size: 0.85rem; letter-spacing: 0.04em; color: var(--text-muted); }
.table tbody tr:last-child td { border-bottom: 0; }
.table td:last-child, .table th:last-child { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.table td small { display: block; color: var(--text-muted); font-size: 0.85rem; }

/* compare */
.compare th:not(:first-child), .compare td:not(:first-child) { text-align: center; }
.compare td .i { margin-inline: auto; color: var(--success); width: 20px; height: 20px; }
.compare .dash { color: #94a3b8; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: var(--s3); max-width: 860px; margin-inline: auto; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); transition: border-color var(--dur) ease, box-shadow var(--dur) ease; }
.faq details[open] { border-color: #c7d2fe; box-shadow: var(--shadow-sm); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: var(--s4); padding: 18px var(--s5); min-height: 56px; font-family: var(--font-head); font-weight: 600; font-size: 1.02rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .i { color: var(--blue); transition: transform var(--dur) var(--ease-out); }
.faq details[open] summary .i { transform: rotate(180deg); }
.faq__body { padding: 0 var(--s5) var(--s5); color: var(--text-muted); }
.faq__body p:last-child { margin: 0; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: var(--s7) var(--s5);
  background: radial-gradient(600px 300px at 100% 0%, rgba(29, 78, 216, 0.5), transparent 60%), var(--navy-900);
  color: var(--on-dark); display: grid; gap: var(--s5); align-items: center;
}
@media (min-width: 900px) { .cta-band { grid-template-columns: 1.4fr auto; padding: var(--s8) var(--s7); } }
.cta-band h2 { margin-bottom: var(--s2); }
.cta-band p { color: var(--on-dark-muted); margin: 0; font-size: 1.08rem; }

/* ---------- forms ---------- */
.form { display: grid; gap: var(--s4); }
.form__row { display: grid; gap: var(--s4); }
@media (min-width: 640px) { .form__row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 6px; }
.field label, .field legend { font-weight: 600; font-size: 0.92rem; }
.field .req { color: var(--error); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; font: inherit; font-size: 1rem; color: var(--text);
  background: var(--surface); border: 1.5px solid #cbd5e1; border-radius: 10px;
  transition: border-color var(--dur-fast) ease, box-shadow var(--dur-fast) ease;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(29, 78, 216, 0.15); }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"], .field select[aria-invalid="true"] { border-color: var(--error); }
.field__hint { font-size: 0.85rem; color: var(--text-muted); }
.field__error { font-size: 0.87rem; color: var(--error); font-weight: 500; display: flex; gap: 6px; align-items: center; }
.field__error:empty { display: none; }
.check { display: flex; gap: var(--s3); align-items: flex-start; font-size: 0.92rem; color: var(--text-muted); }
.check input { width: 22px; height: 22px; margin-top: 1px; accent-color: var(--blue); flex-shrink: 0; }
.chips { display: flex; flex-wrap: wrap; gap: var(--s2); border: 0; padding: 0; margin: 0; }
.chips legend { margin-bottom: var(--s2); padding: 0; }
.chip { position: relative; }
.chip input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; pointer-events: none; }
.chip span { display: inline-flex; align-items: center; min-height: 40px; padding: 8px 14px; border-radius: 999px; border: 1.5px solid #cbd5e1; font-size: 0.9rem; cursor: pointer; transition: all var(--dur-fast) ease; user-select: none; }
.chip input:checked + span { background: var(--navy-900); border-color: var(--navy-900); color: #fff; }
.chip input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { padding: var(--s4); border-radius: var(--radius-sm); font-weight: 500; display: flex; gap: var(--s3); align-items: flex-start; }
.form-status:empty { display: none; }
.form-status--ok { background: #dcfce7; color: #14532d; border: 1px solid #86efac; }
.form-status--err { background: #fee2e2; color: #7f1d1d; border: 1px solid #fca5a5; }

.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s4); }
.contact-list li { display: flex; gap: var(--s4); align-items: flex-start; }
.contact-list .card__icon { margin: 0; width: 48px; height: 48px; flex-shrink: 0; }
.contact-list small { display: block; color: var(--text-muted); font-size: 0.85rem; }
.contact-list a, .contact-list strong { font-family: var(--font-head); font-weight: 600; font-size: 1.1rem; color: var(--text); text-decoration: none; }
.contact-list a:hover { color: var(--blue); }
.panel--dark .contact-list small { color: var(--on-dark-muted); }
.panel--dark .contact-list a, .panel--dark .contact-list strong { color: #fff; }
.panel--dark .contact-list a:hover { color: var(--volt); }
.panel--dark .contact-list .card__icon { background: rgba(255,198,26,0.12); color: var(--volt); }

/* ---------- prose (legal) ---------- */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.4rem; margin-top: var(--s7); }
.prose li { margin-bottom: var(--s2); }

/* ---------- footer ---------- */
.site-footer { background: var(--navy-950); color: var(--on-dark-muted); padding-top: var(--s8); font-size: 0.95rem; }
.footer-grid { display: grid; gap: var(--s6); padding-bottom: var(--s7); }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
@media (min-width: 1100px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1.1fr; } }
.site-footer h2 { font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; color: #fff; margin-bottom: var(--s4); font-weight: 600; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; }
.site-footer a { color: var(--on-dark-muted); text-decoration: none; display: inline-flex; align-items: center; gap: var(--s2); min-height: 36px; }
.site-footer a:hover { color: var(--volt); }
.site-footer .i { color: var(--volt); width: 18px; height: 18px; }
.footer-about p { max-width: 340px; margin-top: var(--s4); }
.footer-bottom { border-top: 1px solid var(--line-dark); padding-block: var(--s5); display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s3); font-size: 0.85rem; }

/* ---------- mobile call bar ---------- */
.callbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-callbar);
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--s2); padding: 10px var(--s4) calc(10px + env(safe-area-inset-bottom));
  background: rgba(10, 17, 32, 0.96); border-top: 1px solid var(--line-dark);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.callbar .btn { min-height: 48px; padding: 10px 12px; font-size: 0.95rem; }
body { padding-bottom: calc(70px + env(safe-area-inset-bottom)); }
@media (min-width: 1024px) { .callbar { display: none; } body { padding-bottom: 0; } }

/* ---------- cookie bar ---------- */
.cookie-bar {
  position: fixed; left: var(--s4); right: var(--s4); bottom: calc(82px + env(safe-area-inset-bottom)); z-index: calc(var(--z-callbar) + 5);
  max-width: 560px; margin-inline: auto; padding: var(--s4) var(--s5);
  background: var(--navy-800); color: var(--on-dark); border: 1px solid rgba(255,255,255,0.14); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); font-size: 0.92rem; line-height: 1.5;
}
.cookie-bar[hidden] { display: none; }
.cookie-bar p { margin: 0 0 var(--s3); color: var(--on-dark-muted); }
.cookie-bar a { color: var(--blue-300); }
.cookie-bar__actions { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s2); }
.cookie-bar .btn { min-height: 44px; padding: 10px 16px; }
@media (min-width: 1024px) { .cookie-bar { bottom: var(--s5); left: auto; right: var(--s5); margin: 0; } }

/* ---------- misc ---------- */
.lead { font-size: 1.12rem; color: var(--text-muted); }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.mt-6 { margin-top: var(--s6); } .mt-7 { margin-top: var(--s7); }
.center { text-align: center; }
.tags { display: flex; flex-wrap: wrap; gap: var(--s2); margin-top: var(--s4); }

.reveal { opacity: 0; transform: translateY(16px); transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .scheme .pulse { display: none; }
}
