/* ==========================================================================
   Rozvodna — nucbox.digital
   Tmavé modulární rozhraní pro domácí finance
   ========================================================================== */

:root {
  --void: #060a14;
  --void-2: #080e1c;
  --panel: #0d1526;
  --panel-2: #111c31;
  --line: #1c2942;
  --line-soft: #16203a;
  --ice: #e9eef9;
  --dim: #7e8ca8;
  --dim-2: #5a6884;
  --volt: #5b8cff;
  --volt-soft: rgba(91, 140, 255, 0.14);
  --amber: #ffa23a;
  --amber-soft: rgba(255, 162, 58, 0.14);
  --alert: #ff5f6d;
  --ok: #3ddc9a;

  --display: "Chakra Petch", "Segoe UI", system-ui, sans-serif;
  --body: "IBM Plex Sans", system-ui, -apple-system, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "Courier New", monospace;

  --gap: 24px;
  --radius: 14px;
  --shell: 1240px;
  --header-h: 72px;
}

*,
*::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;
  background: var(--void);
  color: var(--ice);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
  background-image:
    radial-gradient(900px 520px at 78% -10%, rgba(91, 140, 255, 0.16), transparent 62%),
    radial-gradient(700px 460px at 4% 8%, rgba(255, 162, 58, 0.08), transparent 60%),
    linear-gradient(var(--line-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-soft) 1px, transparent 1px);
  background-size: auto, auto, 64px 64px, 64px 64px;
  background-attachment: fixed, fixed, fixed, fixed;
}

img { max-width: 100%; display: block; }
a { color: var(--volt); text-decoration: none; }
a:hover { color: #9ab8ff; }

:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
  border-radius: 4px;
}

/* --------------------------------------------------------- typography --- */
h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin: 0 0 14px;
}

h1 { font-size: clamp(2.1rem, 5.2vw, 3.55rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.35rem); }
h3 { font-size: 1.12rem; letter-spacing: 0; }
p { margin: 0 0 14px; }

.eyebrow {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--volt);
  margin: 0 0 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: linear-gradient(90deg, var(--volt), transparent);
}
.eyebrow--amber { color: var(--amber); }
.eyebrow--amber::before { background: linear-gradient(90deg, var(--amber), transparent); }

.lead { color: var(--dim); font-size: 1.04rem; max-width: 62ch; }
.mono { font-family: var(--mono); }

/* -------------------------------------------------------------- shell --- */
.shell {
  width: min(100% - 40px, var(--shell));
  margin-inline: auto;
}

section { padding: 84px 0; position: relative; }
.section-head { max-width: 720px; margin-bottom: 40px; }

/* ------------------------------------------------------------- header --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(6, 10, 20, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.header-row {
  display: flex;
  align-items: center;
  gap: 20px;
  width: min(100% - 40px, var(--shell));
  margin-inline: auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--ice);
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.06rem;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.brand:hover { color: var(--ice); }
.brand img { width: 34px; height: 34px; }
.brand small {
  display: block;
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  color: var(--dim-2);
  font-weight: 400;
  text-transform: uppercase;
}

.nav { margin-left: auto; }
.nav ul {
  display: flex;
  gap: 26px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav a {
  color: var(--dim);
  font-size: 0.92rem;
  position: relative;
  padding: 6px 0;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--volt);
  transition: width 0.25s ease;
}
.nav a:hover { color: var(--ice); }
.nav a:hover::after { width: 100%; }

.header-phone {
  font-family: var(--mono);
  font-size: 0.86rem;
  color: var(--ice);
  white-space: nowrap;
}
.header-phone:hover { color: var(--amber); }

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 42px; height: 42px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--ice);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  display: block;
  width: 17px; height: 1.6px;
  background: currentColor;
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.nav-toggle span::before { transform: translateY(-6px); }
.nav-toggle span::after { transform: translateY(4.4px); }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: rotate(-45deg) translateY(0); }

/* ------------------------------------------------------------ buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: var(--mono);
  font-size: 0.83rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 13px 22px;
  border-radius: 10px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}
.btn--primary {
  background: linear-gradient(180deg, #6a99ff, #3f6fe8);
  color: #04091a;
  font-weight: 600;
  box-shadow: 0 0 0 1px rgba(122, 164, 255, 0.5), 0 14px 34px -18px rgba(91, 140, 255, 0.95);
}
.btn--primary:hover {
  color: #04091a;
  transform: translateY(-2px);
  box-shadow: 0 0 0 1px rgba(160, 190, 255, 0.7), 0 20px 40px -16px rgba(91, 140, 255, 1);
}
.btn--ghost {
  background: rgba(17, 28, 49, 0.6);
  border-color: var(--line);
  color: var(--ice);
}
.btn--ghost:hover { border-color: var(--volt); color: var(--ice); transform: translateY(-2px); }
.btn--amber {
  background: linear-gradient(180deg, #ffb45f, #ef8b18);
  color: #1a0f00;
  font-weight: 600;
  box-shadow: 0 14px 34px -18px rgba(255, 162, 58, 0.9);
}
.btn--amber:hover { color: #1a0f00; transform: translateY(-2px); }
.btn--wide { width: 100%; }

/* ------------------------------------------------------------- module --- */
.module {
  position: relative;
  background:
    linear-gradient(180deg, rgba(19, 30, 53, 0.92), rgba(10, 16, 29, 0.92));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
}
.module::before,
.module::after {
  content: "";
  position: absolute;
  width: 9px; height: 9px;
  border: 1px solid rgba(91, 140, 255, 0.55);
  pointer-events: none;
}
.module::before { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.module::after { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }

.module-tag {
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.2em;
  color: var(--dim-2);
  text-transform: uppercase;
  display: block;
  margin-bottom: 12px;
}

/* --------------------------------------------------------------- hero --- */
.hero { padding: 68px 0 76px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 46px;
  align-items: center;
}
.hero h1 span { color: var(--volt); }
.hero .lead { margin-bottom: 26px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 30px; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}
.hero-stats div {
  padding: 16px 18px;
  border-right: 1px solid var(--line);
  background: rgba(13, 21, 38, 0.6);
}
.hero-stats div:last-child { border-right: 0; }
.hero-stats b {
  display: block;
  font-family: var(--display);
  font-size: 1.5rem;
  color: var(--amber);
  line-height: 1.2;
}
.hero-stats small {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dim-2);
}

/* ------------------------------------------------------------- panel  --- */
.breaker {
  padding: 22px;
  box-shadow: 0 40px 90px -50px rgba(91, 140, 255, 0.9);
}
.breaker-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 18px;
}
.breaker-head strong {
  font-family: var(--display);
  font-size: 0.98rem;
  letter-spacing: 0.04em;
}
.status-dot {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ok);
}
.status-dot i {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 10px currentColor;
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse { 50% { opacity: 0.35; } }

.income-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 6px;
}
.income-row label {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dim);
}
.income-value {
  font-family: var(--display);
  font-size: 1.55rem;
  color: var(--ice);
}

input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 4px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--volt) var(--fill, 40%), #1a2540 var(--fill, 40%));
  outline: none;
  margin: 8px 0 4px;
  cursor: pointer;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: #cddcff;
  border: 3px solid #3f6fe8;
  box-shadow: 0 0 12px rgba(91, 140, 255, 0.9);
  cursor: pointer;
}
input[type="range"]::-moz-range-thumb {
  width: 14px; height: 14px;
  border-radius: 50%;
  background: #cddcff;
  border: 3px solid #3f6fe8;
  cursor: pointer;
}

.circuits { margin-top: 18px; display: grid; gap: 12px; }
.circuit {
  background: rgba(8, 14, 28, 0.72);
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  padding: 11px 13px;
  transition: border-color 0.25s ease;
}
.circuit:hover { border-color: rgba(91, 140, 255, 0.45); }
.circuit-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  font-size: 0.87rem;
}
.circuit-top span:first-child { display: flex; align-items: center; gap: 8px; }
.circuit-top em {
  font-style: normal;
  font-family: var(--mono);
  font-size: 0.64rem;
  color: var(--dim-2);
  letter-spacing: 0.1em;
}
.circuit-amount { font-family: var(--mono); font-size: 0.9rem; color: var(--amber); }
.bar {
  height: 5px;
  border-radius: 3px;
  background: #131e36;
  margin-top: 9px;
  overflow: hidden;
}
.bar i {
  display: block;
  height: 100%;
  border-radius: 3px;
  background: linear-gradient(90deg, #3f6fe8, #7fa8ff);
  box-shadow: 0 0 12px rgba(91, 140, 255, 0.8);
  transition: width 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.circuit[data-state="load"] .bar i { background: linear-gradient(90deg, #ef8b18, #ffb45f); box-shadow: 0 0 12px rgba(255, 162, 58, 0.8); }
.circuit[data-state="load"] .circuit-amount { color: var(--amber); }

.breaker-foot {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.reserve b {
  font-family: var(--display);
  font-size: 1.35rem;
  color: var(--ok);
  display: block;
}
.reserve.is-over b { color: var(--alert); }
.reserve small {
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dim-2);
}
.link-btn {
  background: none;
  border: 0;
  color: var(--dim);
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  padding: 6px 0;
}
.link-btn:hover { color: var(--volt); }

/* ---------------------------------------------------------- pipeline  --- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.step { padding-top: 30px; }
.step-no {
  font-family: var(--display);
  font-size: 2.1rem;
  color: transparent;
  -webkit-text-stroke: 1px rgba(91, 140, 255, 0.6);
  display: block;
  margin-bottom: 8px;
  line-height: 1;
}
.step p { color: var(--dim); font-size: 0.95rem; margin: 0; }

/* --------------------------------------------------------- functions  --- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.feature h3 { margin-bottom: 8px; }
.feature p { color: var(--dim); font-size: 0.93rem; margin: 0; }
.ico {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--volt-soft);
  border: 1px solid rgba(91, 140, 255, 0.28);
  display: grid;
  place-items: center;
  margin-bottom: 16px;
}
.ico svg { width: 20px; height: 20px; stroke: var(--volt); fill: none; stroke-width: 1.6; }
.feature:nth-child(even) .ico { background: var(--amber-soft); border-color: rgba(255, 162, 58, 0.28); }
.feature:nth-child(even) .ico svg { stroke: var(--amber); }

/* --------------------------------------------------------- split rows --- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 46px;
  align-items: center;
}
.split--flip .split-media { order: -1; }

.media-frame {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--panel);
}
.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
  filter: saturate(0.78) contrast(1.06) brightness(0.82);
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1), filter 0.6s ease;
}
.media-frame:hover img { transform: scale(1.04); filter: saturate(0.95) brightness(0.95); }
.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(91, 140, 255, 0.16), transparent 45%, rgba(6, 10, 20, 0.75));
  pointer-events: none;
}
.media-frame.no-image {
  aspect-ratio: 4 / 3;
  background:
    radial-gradient(420px 260px at 70% 20%, rgba(91, 140, 255, 0.22), transparent 65%),
    repeating-linear-gradient(0deg, rgba(28, 41, 66, 0.9) 0 1px, transparent 1px 34px),
    repeating-linear-gradient(90deg, rgba(28, 41, 66, 0.9) 0 1px, transparent 1px 34px),
    var(--panel);
}

.media-caption {
  position: absolute;
  left: 14px; bottom: 12px;
  z-index: 2;
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #c8d6f5;
}

.checklist { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 12px; }
.checklist li {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  color: var(--dim);
  font-size: 0.95rem;
}
.checklist li::before {
  content: "";
  flex: 0 0 auto;
  width: 16px; height: 16px;
  margin-top: 4px;
  border-radius: 4px;
  background: var(--volt-soft);
  border: 1px solid rgba(91, 140, 255, 0.45);
  box-shadow: inset 0 0 8px rgba(91, 140, 255, 0.35);
}
.checklist b { color: var(--ice); font-weight: 600; }

/* ------------------------------------------------------------ pricing --- */
.price-switch {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(13, 21, 38, 0.8);
  margin-bottom: 34px;
}
.price-switch button {
  background: none;
  border: 0;
  color: var(--dim);
  font-family: var(--mono);
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 10px 18px;
  border-radius: 9px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.price-switch button[aria-pressed="true"] {
  background: var(--volt-soft);
  color: var(--ice);
  box-shadow: inset 0 0 0 1px rgba(91, 140, 255, 0.4);
}

.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); align-items: start; }
.plan { display: flex; flex-direction: column; height: 100%; }
.plan--main { border-color: rgba(91, 140, 255, 0.55); box-shadow: 0 40px 90px -55px rgba(91, 140, 255, 0.9); }
.plan-badge {
  position: absolute;
  top: -11px; right: 18px;
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: linear-gradient(180deg, #6a99ff, #3f6fe8);
  color: #04091a;
  padding: 4px 10px;
  border-radius: 20px;
}
.plan h3 { font-family: var(--display); font-size: 1.3rem; margin-bottom: 4px; }
.plan-desc { color: var(--dim); font-size: 0.9rem; min-height: 44px; margin-bottom: 16px; }
.price {
  display: flex;
  align-items: baseline;
  gap: 7px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 18px;
}
.price b {
  font-family: var(--display);
  font-size: 2.3rem;
  line-height: 1;
  color: var(--ice);
}
.price span { font-family: var(--mono); font-size: 0.78rem; color: var(--dim-2); }
.plan ul { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 10px; }
.plan li { font-size: 0.92rem; color: var(--dim); display: flex; gap: 10px; }
.plan li::before { content: "+"; color: var(--volt); font-family: var(--mono); }
.plan li.off { color: var(--dim-2); }
.plan li.off::before { content: "–"; color: var(--dim-2); }
.plan .btn { margin-top: auto; }

.price-note {
  margin-top: 26px;
  font-size: 0.85rem;
  color: var(--dim-2);
  max-width: 72ch;
}
.price-note a { color: var(--dim); text-decoration: underline; }

/* ----------------------------------------------------------- reviews  --- */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.review p { font-size: 0.95rem; color: var(--dim); }
.review-person { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.review-person img {
  width: 44px; height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--line);
  filter: saturate(0.8);
}
.review-person b { display: block; font-size: 0.92rem; }
.review-person small { font-family: var(--mono); font-size: 0.68rem; color: var(--dim-2); letter-spacing: 0.08em; }

/* --------------------------------------------------------------- faq  --- */
.faq { display: grid; gap: 12px; max-width: 880px; }
details.qa {
  background: rgba(13, 21, 38, 0.7);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0 20px;
}
details.qa summary {
  cursor: pointer;
  list-style: none;
  padding: 17px 0;
  font-family: var(--display);
  font-size: 1rem;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}
details.qa summary::-webkit-details-marker { display: none; }
details.qa summary::after {
  content: "+";
  font-family: var(--mono);
  color: var(--volt);
  font-size: 1.2rem;
  transition: transform 0.25s ease;
}
details.qa[open] summary::after { transform: rotate(45deg); }
details.qa p { color: var(--dim); font-size: 0.94rem; padding-bottom: 18px; margin: 0; }
details.qa[open] { border-color: rgba(91, 140, 255, 0.4); }

/* ----------------------------------------------------------- contact  --- */
.contact-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: var(--gap); }
.field { margin-bottom: 16px; }
.field label {
  display: block;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 7px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  background: rgba(6, 11, 22, 0.85);
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--ice);
  font-family: var(--body);
  font-size: 0.95rem;
  padding: 12px 14px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.field textarea { min-height: 118px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--volt);
  box-shadow: 0 0 0 3px rgba(91, 140, 255, 0.16);
  outline: none;
}
.field .err {
  display: none;
  color: var(--alert);
  font-size: 0.78rem;
  font-family: var(--mono);
  margin-top: 6px;
}
.field.invalid input,
.field.invalid textarea { border-color: var(--alert); }
.field.invalid .err { display: block; }

.consent {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  font-size: 0.85rem;
  color: var(--dim);
  margin-bottom: 18px;
}
.consent input { width: 17px; height: 17px; margin-top: 3px; accent-color: var(--volt); flex: 0 0 auto; }

.form-note {
  display: none;
  margin-top: 16px;
  padding: 13px 15px;
  border-radius: 10px;
  border: 1px solid rgba(61, 220, 154, 0.4);
  background: rgba(61, 220, 154, 0.09);
  color: #b6f1d9;
  font-size: 0.9rem;
}
.form-note.show { display: block; }

.contact-info dl { margin: 0; display: grid; gap: 18px; }
.contact-info dt {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--dim-2);
  margin-bottom: 4px;
}
.contact-info dd { margin: 0; font-size: 0.98rem; }
.contact-info dd a { color: var(--ice); }
.contact-info dd a:hover { color: var(--amber); }
.hours-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  color: var(--dim);
  padding: 7px 0;
  border-bottom: 1px dashed var(--line);
}
.hours-row:last-child { border-bottom: 0; }

/* ------------------------------------------------------------- footer --- */
.site-footer {
  border-top: 1px solid var(--line);
  background: rgba(5, 9, 18, 0.9);
  padding: 52px 0 26px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--line);
}
.footer-grid p { color: var(--dim); font-size: 0.9rem; max-width: 44ch; }
.footer-grid h4 {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--dim-2);
  font-weight: 400;
  margin-bottom: 14px;
}
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer-grid ul a { color: var(--dim); font-size: 0.9rem; }
.footer-grid ul a:hover { color: var(--ice); }
.footer-bottom {
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--dim-2);
  letter-spacing: 0.04em;
}

/* ------------------------------------------------------------ cookies --- */
.cookie-bar {
  position: fixed;
  left: 20px; right: 20px; bottom: 20px;
  z-index: 80;
  max-width: 760px;
  margin-inline: auto;
  background: rgba(9, 15, 28, 0.97);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px 22px;
  box-shadow: 0 30px 70px -30px rgba(0, 0, 0, 0.9);
  display: none;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
  backdrop-filter: blur(10px);
}
.cookie-bar.show { display: flex; }
.cookie-bar p { margin: 0; font-size: 0.88rem; color: var(--dim); flex: 1 1 320px; }
.cookie-bar p b { color: var(--ice); display: block; font-family: var(--display); margin-bottom: 4px; }
.cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie-actions .btn { padding: 11px 18px; font-size: 0.76rem; }

/* --------------------------------------------------------- doc pages  --- */
.doc-hero { padding: 56px 0 10px; }
.doc-hero h1 { font-size: clamp(1.9rem, 4vw, 2.7rem); }
.doc-hero .lead { margin-bottom: 0; }
.doc-body { padding: 34px 0 84px; }
.doc-body .module { padding: 34px 38px; }
.doc-body h2 { font-size: 1.28rem; margin-top: 34px; }
.doc-body h2:first-of-type { margin-top: 0; }
.doc-body p, .doc-body li { color: var(--dim); font-size: 0.96rem; }
.doc-body ul, .doc-body ol { padding-left: 20px; display: grid; gap: 8px; margin: 0 0 16px; }
.doc-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 6px 0 18px;
  font-size: 0.9rem;
}
.doc-body th, .doc-body td {
  border: 1px solid var(--line);
  padding: 10px 12px;
  text-align: left;
  color: var(--dim);
}
.doc-body th { color: var(--ice); font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase; }
.doc-meta {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dim-2);
  margin-bottom: 22px;
}
.back-link { font-family: var(--mono); font-size: 0.76rem; letter-spacing: 0.1em; text-transform: uppercase; }

/* ---------------------------------------------------------- reveal    --- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1); }
.reveal.in { opacity: 1; transform: none; }

/* --------------------------------------------------------- responsive --- */
@media (max-width: 1000px) {
  .hero-grid, .split, .contact-grid { grid-template-columns: 1fr; gap: 34px; }
  .split--flip .split-media { order: 0; }
  .features, .plans, .reviews, .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  section { padding: 62px 0; }
  .nav-toggle { display: inline-flex; }
  .header-phone { display: none; }
  .nav {
    position: absolute;
    top: var(--header-h); left: 0; right: 0;
    background: rgba(6, 10, 20, 0.98);
    border-bottom: 1px solid var(--line);
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    margin-left: 0;
  }
  .nav.open { max-height: 420px; }
  .nav ul { flex-direction: column; gap: 0; padding: 8px 0 18px; }
  .nav li { border-bottom: 1px solid var(--line-soft); }
  .nav a { display: block; padding: 14px 0; }
  .features, .plans, .reviews, .steps, .footer-grid { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: 1fr; }
  .hero-stats div { border-right: 0; border-bottom: 1px solid var(--line); }
  .hero-stats div:last-child { border-bottom: 0; }
  .doc-body .module { padding: 24px 20px; }
  .cookie-bar { left: 12px; right: 12px; bottom: 12px; padding: 18px; }
  .btn { width: 100%; }
  .cookie-actions { width: 100%; }
  .cookie-actions .btn { flex: 1 1 auto; width: auto; }
  .hero-actions .btn { width: 100%; }
}

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