/* ==========================================================
   Nordbilance — coldbrewco.digital
   Ledová minimalistická finanční šablona
   ========================================================== */

:root {
  --abyss: #04060e;
  --deep: #070b16;
  --surface: #0b1220;
  --surface-1: rgba(255, 255, 255, 0.035);
  --surface-2: rgba(255, 255, 255, 0.06);
  --line: rgba(159, 227, 247, 0.16);
  --line-soft: rgba(255, 255, 255, 0.08);

  --ice: #9fe3f7;
  --frost: #7fb4ff;
  --lilac: #b9a8ff;
  --snow: #eaf3fb;
  --mute: #8fa2bd;
  --dim: #6b7d97;

  --ok: #7ee0c0;
  --warn: #ffcf8f;

  --grad-ice: linear-gradient(135deg, #9fe3f7 0%, #7fb4ff 52%, #b9a8ff 100%);
  --grad-panel: linear-gradient(160deg, rgba(159, 227, 247, 0.09), rgba(185, 168, 255, 0.03) 55%, rgba(255, 255, 255, 0.01));

  --r-s: 10px;
  --r-m: 16px;
  --r-l: 24px;
  --r-xl: 32px;

  --shell: 1180px;
  --pad: clamp(18px, 4vw, 40px);

  --font: "Inter", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, "Helvetica Neue", Arial, sans-serif;

  --t-fast: 0.18s cubic-bezier(0.4, 0, 0.2, 1);
  --t-slow: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--abyss);
  color: var(--snow);
  font-family: var(--font);
  font-size: 16.5px;
  line-height: 1.65;
  letter-spacing: -0.01em;
  overflow-x: hidden;
  font-feature-settings: "ss01" 1, "cv01" 1;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(90ch 60ch at 78% -12%, rgba(127, 180, 255, 0.16), transparent 62%),
    radial-gradient(70ch 55ch at 4% 12%, rgba(159, 227, 247, 0.1), transparent 60%),
    radial-gradient(80ch 60ch at 50% 108%, rgba(185, 168, 255, 0.12), transparent 65%),
    var(--abyss);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.5;
  background-image:
    linear-gradient(rgba(159, 227, 247, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(159, 227, 247, 0.045) 1px, transparent 1px);
  background-size: 88px 88px;
  mask-image: radial-gradient(120ch 90ch at 50% 0%, #000 10%, transparent 78%);
  -webkit-mask-image: radial-gradient(120ch 90ch at 50% 0%, #000 10%, transparent 78%);
}

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

a { color: var(--ice); text-decoration: none; transition: color var(--t-fast); }
a:hover { color: var(--snow); }

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

.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--deep);
  color: var(--snow);
  padding: 12px 18px;
  border-radius: 0 0 var(--r-s) 0;
  z-index: 200;
}
.skip:focus { left: 0; }

/* ---------- Typografie ---------- */

h1, h2, h3, h4 {
  margin: 0 0 0.5em;
  line-height: 1.08;
  letter-spacing: -0.035em;
  font-weight: 620;
}

h1 { font-size: clamp(2.4rem, 6.2vw, 4.2rem); }
h2 { font-size: clamp(1.85rem, 4vw, 2.85rem); }
h3 { font-size: clamp(1.12rem, 2vw, 1.35rem); letter-spacing: -0.02em; }

p { margin: 0 0 1.1em; color: var(--mute); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.73rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ice);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--grad-ice);
}

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

.lead { font-size: clamp(1rem, 1.6vw, 1.15rem); max-width: 58ch; }

/* ---------- Sekce ---------- */

.section { padding: clamp(64px, 9vw, 118px) 0; position: relative; }
.section--tight { padding: clamp(48px, 6vw, 80px) 0; }

.section-head { max-width: 62ch; margin-bottom: clamp(34px, 5vw, 56px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }

/* ---------- Tlačítka ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: transform var(--t-fast), box-shadow var(--t-fast),
    background var(--t-fast), border-color var(--t-fast), color var(--t-fast);
}

.btn--primary {
  background: var(--grad-ice);
  color: #061021;
  box-shadow: 0 12px 34px -14px rgba(127, 180, 255, 0.85);
}
.btn--primary:hover {
  transform: translateY(-2px);
  color: #061021;
  box-shadow: 0 20px 44px -16px rgba(127, 180, 255, 0.95);
}

.btn--ghost {
  background: var(--surface-1);
  border-color: var(--line);
  color: var(--snow);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.btn--ghost:hover {
  background: var(--surface-2);
  border-color: rgba(159, 227, 247, 0.42);
  color: var(--snow);
  transform: translateY(-2px);
}

.btn--wide { width: 100%; }
.btn--sm { padding: 10px 18px; font-size: 0.86rem; }

/* ---------- Hlavička ---------- */

.masthead {
  position: sticky;
  top: 0;
  z-index: 90;
  border-bottom: 1px solid transparent;
  transition: background var(--t-slow), border-color var(--t-slow), backdrop-filter var(--t-slow);
}
.masthead.is-stuck {
  background: rgba(4, 6, 14, 0.76);
  border-bottom-color: var(--line-soft);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
}

.masthead__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 76px;
}

.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--snow); }
.brand:hover { color: var(--snow); }
.brand img { width: 38px; height: 38px; }
.brand__name { font-weight: 640; font-size: 1.06rem; letter-spacing: -0.03em; }
.brand__meta { display: block; font-size: 0.66rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--dim); font-weight: 500; }

.nav { margin-left: auto; }
.nav__list {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav__list a {
  display: block;
  padding: 9px 14px;
  border-radius: 999px;
  color: var(--mute);
  font-size: 0.92rem;
  font-weight: 500;
  transition: color var(--t-fast), background var(--t-fast);
}
.nav__list a:hover,
.nav__list a.is-active { color: var(--snow); background: var(--surface-1); }

.masthead .btn--sm { flex: none; }

.burger {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--surface-1);
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
}
.burger span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--snow);
  position: relative;
  transition: transform var(--t-fast), background var(--t-fast);
}
.burger span::before,
.burger span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 1.5px;
  background: var(--snow);
  transition: transform var(--t-fast), top var(--t-fast);
}
.burger span::before { top: -6px; }
.burger span::after { top: 6px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.burger[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

/* ---------- Hero ---------- */

.hero { padding: clamp(48px, 8vw, 96px) 0 clamp(56px, 8vw, 104px); }

.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.hero h1 { margin-bottom: 22px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 0; }

.hero__note {
  margin: 26px 0 0;
  font-size: 0.88rem;
  color: var(--dim);
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero__note::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 4px rgba(126, 224, 192, 0.16);
  flex: none;
}

.hero__visual { position: relative; }

.hero__frame {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--grad-panel);
}
.hero__frame img {
  width: 100%;
  height: clamp(300px, 44vw, 470px);
  object-fit: cover;
  filter: saturate(0.72) contrast(1.06) brightness(0.74) hue-rotate(178deg);
}
.hero__frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(4, 6, 14, 0.1), rgba(4, 6, 14, 0.82));
}

.hero__card {
  position: absolute;
  left: clamp(-12px, -1vw, 0px);
  bottom: 24px;
  z-index: 2;
  width: min(300px, 78%);
  padding: 20px 22px;
  border-radius: var(--r-l);
  border: 1px solid var(--line);
  background: rgba(8, 13, 26, 0.72);
  backdrop-filter: blur(22px) saturate(140%);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
  box-shadow: 0 30px 70px -30px rgba(0, 0, 0, 0.9);
}
.hero__card h4 {
  margin: 0 0 14px;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--dim);
  font-weight: 600;
}
.hero__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 0.9rem;
  padding: 7px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.07);
  color: var(--mute);
}
.hero__row:last-of-type { border-bottom: none; }
.hero__row b { color: var(--snow); font-variant-numeric: tabular-nums; font-weight: 620; }

/* ---------- Pásmo čísel ---------- */

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-l);
  overflow: hidden;
}
.stats__item { background: rgba(7, 11, 22, 0.72); padding: 26px 24px; }
.stats__num {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 640;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
  background: var(--grad-ice);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stats__label { font-size: 0.85rem; color: var(--dim); margin: 4px 0 0; }

/* ---------- Karty ---------- */

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

.card {
  position: relative;
  padding: 28px;
  border-radius: var(--r-l);
  border: 1px solid var(--line-soft);
  background: var(--grad-panel);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: transform var(--t-slow), border-color var(--t-slow), background var(--t-slow);
}
.card:hover {
  transform: translateY(-4px);
  border-color: rgba(159, 227, 247, 0.34);
}
.card h3 { margin-bottom: 10px; }
.card p { margin-bottom: 0; font-size: 0.95rem; }

.card__media {
  border-radius: var(--r-m);
  overflow: hidden;
  margin: -6px 0 20px;
  border: 1px solid var(--line-soft);
}
.card__media img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  filter: saturate(0.68) brightness(0.78) hue-rotate(178deg);
  transition: transform var(--t-slow);
}
.card:hover .card__media img { transform: scale(1.045); }

.card__icon {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border: 1px solid var(--line);
  background: rgba(159, 227, 247, 0.08);
}
.card__icon svg { width: 21px; height: 21px; stroke: var(--ice); fill: none; stroke-width: 1.6; }

.card__list { margin: 16px 0 0; padding: 0; list-style: none; }
.card__list li {
  position: relative;
  padding-left: 24px;
  font-size: 0.92rem;
  color: var(--mute);
  margin-bottom: 8px;
}
.card__list li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 10px;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--grad-ice);
  transform: rotate(45deg);
}

/* ---------- Postup ---------- */

.steps { counter-reset: step; display: grid; gap: 1px; background: var(--line-soft);
  border: 1px solid var(--line-soft); border-radius: var(--r-l); overflow: hidden;
  grid-template-columns: repeat(4, 1fr); }
.step { background: rgba(7, 11, 22, 0.74); padding: 30px 26px; counter-increment: step; }
.step::before {
  content: "0" counter(step);
  display: block;
  font-size: 0.78rem;
  font-weight: 640;
  letter-spacing: 0.18em;
  color: var(--frost);
  margin-bottom: 16px;
}
.step h3 { font-size: 1.05rem; margin-bottom: 8px; }
.step p { font-size: 0.9rem; margin: 0; }

/* ---------- Kalkulačka (signature) ---------- */

.calc {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(20px, 3vw, 34px);
  padding: clamp(24px, 3.4vw, 40px);
  border-radius: var(--r-xl);
  border: 1px solid var(--line);
  background: var(--grad-panel);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.field { margin-bottom: 20px; }
.field label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 0.85rem;
  font-weight: 560;
  color: var(--snow);
  margin-bottom: 9px;
}
.field label span { color: var(--dim); font-weight: 500; }

.input, .select, .textarea {
  width: 100%;
  padding: 13px 15px;
  border-radius: var(--r-s);
  border: 1px solid var(--line-soft);
  background: rgba(4, 6, 14, 0.65);
  color: var(--snow);
  font: inherit;
  font-size: 0.95rem;
  font-variant-numeric: tabular-nums;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.input:focus, .select:focus, .textarea:focus {
  outline: none;
  border-color: rgba(159, 227, 247, 0.55);
  box-shadow: 0 0 0 3px rgba(159, 227, 247, 0.12);
}
.textarea { resize: vertical; min-height: 118px; line-height: 1.6; }
.select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%238fa2bd' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  background-size: 12px;
  padding-right: 40px;
}

input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 4px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.12);
  margin: 14px 0 4px;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--grad-ice);
  border: 3px solid #060a14;
  box-shadow: 0 0 0 1px rgba(159, 227, 247, 0.5);
  cursor: pointer;
}
input[type="range"]::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #9fe3f7;
  border: 3px solid #060a14;
  cursor: pointer;
}

.calc__out {
  border-radius: var(--r-l);
  border: 1px solid var(--line-soft);
  background: rgba(4, 6, 14, 0.55);
  padding: clamp(20px, 2.6vw, 30px);
  display: flex;
  flex-direction: column;
}

.meter {
  display: flex;
  height: 22px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line-soft);
  margin: 6px 0 18px;
}
.meter i {
  display: block;
  height: 100%;
  transition: width var(--t-slow);
}
.meter .m-fix { background: linear-gradient(90deg, #4d6fa8, #7fb4ff); }
.meter .m-liv { background: linear-gradient(90deg, #7fb4ff, #9fe3f7); }
.meter .m-sav { background: linear-gradient(90deg, #b9a8ff, #e3d9ff); }

.legend { display: grid; gap: 10px; margin-bottom: 20px; }
.legend div {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--mute);
}
.legend b {
  margin-left: auto;
  color: var(--snow);
  font-variant-numeric: tabular-nums;
  font-weight: 620;
}
.legend .dot { width: 9px; height: 9px; border-radius: 3px; flex: none; }
.dot--fix { background: #7fb4ff; }
.dot--liv { background: #9fe3f7; }
.dot--sav { background: #b9a8ff; }

.calc__hero {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--line-soft);
}
.calc__hero small { color: var(--dim); font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; }
.calc__big {
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  font-weight: 640;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
  margin: 4px 0 6px;
}
.calc__msg { font-size: 0.88rem; margin: 0; min-height: 2.6em; }

/* ---------- Ceník ---------- */

.switch {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  border: 1px solid var(--line-soft);
  background: var(--surface-1);
  margin: 0 auto 40px;
}
.switch button {
  border: none;
  background: transparent;
  color: var(--mute);
  font: inherit;
  font-size: 0.88rem;
  font-weight: 560;
  padding: 9px 20px;
  border-radius: 999px;
  cursor: pointer;
  transition: background var(--t-fast), color var(--t-fast);
}
.switch button[aria-pressed="true"] { background: var(--grad-ice); color: #061021; }

.plan {
  display: flex;
  flex-direction: column;
  padding: 30px 28px;
  border-radius: var(--r-l);
  border: 1px solid var(--line-soft);
  background: var(--grad-panel);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.plan--best {
  border-color: rgba(159, 227, 247, 0.45);
  box-shadow: 0 30px 80px -40px rgba(127, 180, 255, 0.7);
}
.plan__tag {
  align-self: flex-start;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 640;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(159, 227, 247, 0.14);
  color: var(--ice);
  border: 1px solid var(--line);
  margin-bottom: 14px;
}
.plan h3 { margin-bottom: 4px; }
.plan__desc { font-size: 0.9rem; min-height: 3.2em; }
.plan__price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 14px 0 4px;
  font-variant-numeric: tabular-nums;
}
.plan__price strong { font-size: clamp(2rem, 3.4vw, 2.5rem); font-weight: 640; letter-spacing: -0.045em; }
.plan__price span { color: var(--dim); font-size: 0.9rem; }
.plan__sub { font-size: 0.82rem; color: var(--dim); margin: 0 0 20px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 10px; }
.plan li { position: relative; padding-left: 26px; font-size: 0.92rem; color: var(--mute); }
.plan li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 8px;
  width: 12px;
  height: 7px;
  border-left: 1.7px solid var(--ice);
  border-bottom: 1.7px solid var(--ice);
  transform: rotate(-45deg);
}
.plan .btn { margin-top: auto; }

.pricing-note {
  margin-top: 26px;
  padding: 20px 24px;
  border-radius: var(--r-m);
  border: 1px dashed var(--line);
  background: rgba(7, 11, 22, 0.5);
  font-size: 0.88rem;
  color: var(--mute);
}
.pricing-note p:last-child { margin-bottom: 0; }
.pricing-note strong { color: var(--snow); }

/* ---------- Recenze ---------- */

.quote {
  padding: 28px;
  border-radius: var(--r-l);
  border: 1px solid var(--line-soft);
  background: var(--grad-panel);
  display: flex;
  flex-direction: column;
}
.quote p { font-size: 0.97rem; color: var(--snow); }
.quote__who { display: flex; align-items: center; gap: 13px; margin-top: auto; }
.quote__who img {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--line);
  filter: saturate(0.7) brightness(0.92);
}
.quote__who b { display: block; font-size: 0.94rem; font-weight: 600; }
.quote__who small { color: var(--dim); font-size: 0.82rem; }

/* ---------- FAQ ---------- */

.faq { border-top: 1px solid var(--line-soft); }
.faq details {
  border-bottom: 1px solid var(--line-soft);
  padding: 4px 0;
}
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 44px 20px 0;
  position: relative;
  font-weight: 560;
  font-size: 1.02rem;
  color: var(--snow);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  position: absolute;
  right: 8px;
  top: 50%;
  width: 11px;
  height: 11px;
  margin-top: -7px;
  border-right: 1.7px solid var(--ice);
  border-bottom: 1.7px solid var(--ice);
  transform: rotate(45deg);
  transition: transform var(--t-fast);
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq p { font-size: 0.95rem; padding-right: 44px; }

/* ---------- Kontakt ---------- */

.contact {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(24px, 3vw, 44px);
  align-items: start;
}

.info-list { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 18px; }
.info-list li { display: flex; gap: 14px; align-items: flex-start; }
.info-list svg { width: 19px; height: 19px; stroke: var(--ice); fill: none; stroke-width: 1.6; margin-top: 4px; flex: none; }
.info-list b { display: block; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--dim); font-weight: 600; }
.info-list span, .info-list a { font-size: 0.98rem; color: var(--snow); }
.info-list a:hover { color: var(--ice); }

.form {
  padding: clamp(24px, 3vw, 34px);
  border-radius: var(--r-xl);
  border: 1px solid var(--line);
  background: var(--grad-panel);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

.check {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.85rem;
  color: var(--mute);
  margin: 4px 0 22px;
  cursor: pointer;
}
.check input {
  appearance: none;
  -webkit-appearance: none;
  width: 19px;
  height: 19px;
  flex: none;
  margin-top: 2px;
  border-radius: 6px;
  border: 1px solid var(--line);
  background: rgba(4, 6, 14, 0.7);
  cursor: pointer;
  transition: background var(--t-fast), border-color var(--t-fast);
}
.check input:checked {
  background: var(--grad-ice);
  border-color: transparent;
}
.check input:checked::after {
  content: "";
  display: block;
  width: 10px;
  height: 5px;
  margin: 4px auto 0;
  border-left: 2px solid #061021;
  border-bottom: 2px solid #061021;
  transform: rotate(-45deg);
}

.error {
  display: none;
  color: var(--warn);
  font-size: 0.82rem;
  margin-top: 7px;
}
.field.has-error .error { display: block; }
.field.has-error .input,
.field.has-error .select,
.field.has-error .textarea { border-color: rgba(255, 207, 143, 0.6); }

.form__done {
  display: none;
  margin-top: 18px;
  padding: 15px 18px;
  border-radius: var(--r-m);
  border: 1px solid rgba(126, 224, 192, 0.35);
  background: rgba(126, 224, 192, 0.09);
  color: var(--ok);
  font-size: 0.9rem;
}
.form__done.is-visible { display: block; }

/* ---------- CTA pruh ---------- */

.cta-band {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-xl);
  border: 1px solid var(--line);
  padding: clamp(32px, 5vw, 58px);
  text-align: center;
  background: var(--grad-panel);
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: -40% 20% auto;
  height: 70%;
  background: radial-gradient(60ch 30ch at 50% 50%, rgba(127, 180, 255, 0.28), transparent 70%);
  filter: blur(20px);
}
.cta-band > * { position: relative; }
.cta-band .btn { margin-top: 10px; }

/* ---------- Patička ---------- */

.footer {
  border-top: 1px solid var(--line-soft);
  padding: clamp(48px, 6vw, 72px) 0 32px;
  background: rgba(4, 6, 14, 0.6);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: clamp(24px, 3vw, 40px);
}
.footer h4 {
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--dim);
  font-weight: 600;
  margin-bottom: 16px;
}
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer li a { color: var(--mute); font-size: 0.92rem; }
.footer li a:hover { color: var(--ice); }
.footer p { font-size: 0.9rem; }
.footer__bottom {
  margin-top: 44px;
  padding-top: 24px;
  border-top: 1px solid var(--line-soft);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--dim);
}
.footer__legal-line { max-width: 78ch; font-size: 0.82rem; color: var(--dim); margin-top: 18px; }

/* ---------- Cookies ---------- */

.cookie {
  position: fixed;
  left: 50%;
  bottom: 22px;
  transform: translate(-50%, 140%);
  z-index: 120;
  width: min(940px, calc(100% - 32px));
  padding: 22px 24px;
  border-radius: var(--r-l);
  border: 1px solid var(--line);
  background: rgba(7, 11, 22, 0.9);
  backdrop-filter: blur(24px) saturate(150%);
  -webkit-backdrop-filter: blur(24px) saturate(150%);
  box-shadow: 0 40px 90px -40px rgba(0, 0, 0, 0.95);
  transition: transform var(--t-slow), opacity var(--t-slow);
  opacity: 0;
}
.cookie.is-open { transform: translate(-50%, 0); opacity: 1; }
.cookie__inner { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; }
.cookie__text { flex: 1 1 340px; }
.cookie__text b { display: block; margin-bottom: 6px; font-size: 1rem; }
.cookie__text p { margin: 0; font-size: 0.88rem; }
.cookie__actions { display: flex; gap: 10px; flex-wrap: wrap; }

.cookie__prefs {
  display: none;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line-soft);
  gap: 14px;
  grid-template-columns: repeat(3, 1fr);
}
.cookie__prefs.is-open { display: grid; }
.cookie__pref {
  padding: 14px 16px;
  border-radius: var(--r-m);
  border: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, 0.03);
}
.cookie__pref label { display: flex; align-items: center; gap: 10px; font-size: 0.9rem; font-weight: 560; }
.cookie__pref p { margin: 8px 0 0; font-size: 0.8rem; }
.cookie__pref input { accent-color: #7fb4ff; width: 16px; height: 16px; }

/* ---------- Právní stránky ---------- */

.legal-hero { padding: clamp(48px, 7vw, 84px) 0 clamp(24px, 3vw, 36px); }
.legal-hero h1 { font-size: clamp(2rem, 4.6vw, 3.2rem); }
.legal-hero p { max-width: 62ch; }
.legal-updated {
  display: inline-block;
  font-size: 0.8rem;
  color: var(--dim);
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  padding: 6px 14px;
  margin-bottom: 20px;
}

.legal-body {
  max-width: 78ch;
  padding-bottom: clamp(56px, 8vw, 96px);
}
.legal-body h2 {
  font-size: clamp(1.25rem, 2.2vw, 1.55rem);
  margin: 44px 0 14px;
  padding-top: 26px;
  border-top: 1px solid var(--line-soft);
}
.legal-body h2:first-of-type { border-top: none; padding-top: 0; margin-top: 8px; }
.legal-body h3 { font-size: 1.05rem; margin: 24px 0 8px; }
.legal-body p, .legal-body li { font-size: 0.97rem; color: var(--mute); }
.legal-body ul, .legal-body ol { padding-left: 22px; margin: 0 0 1.1em; display: grid; gap: 8px; }
.legal-body li::marker { color: var(--frost); }
.legal-body strong { color: var(--snow); font-weight: 600; }

.legal-box {
  padding: 22px 24px;
  border-radius: var(--r-m);
  border: 1px solid var(--line);
  background: var(--grad-panel);
  margin: 24px 0;
}
.legal-box p:last-child { margin-bottom: 0; }

.legal-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 34px 0 0;
  padding-top: 26px;
  border-top: 1px solid var(--line-soft);
}
.legal-nav a {
  font-size: 0.85rem;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--line-soft);
  color: var(--mute);
}
.legal-nav a:hover { border-color: var(--line); color: var(--snow); }
.legal-nav a[aria-current="page"] { background: var(--surface-2); color: var(--snow); border-color: var(--line); }

/* ---------- Záložní vzhled obrázku ---------- */

.is-fallback {
  background:
    radial-gradient(30ch 18ch at 30% 20%, rgba(159, 227, 247, 0.24), transparent 65%),
    radial-gradient(28ch 18ch at 78% 80%, rgba(185, 168, 255, 0.22), transparent 65%),
    linear-gradient(150deg, #0a1122, #060a14);
}
.is-fallback img { visibility: hidden; }
.quote__who .is-fallback,
.quote__who img.is-fallback { border-radius: 50%; }

/* ---------- Odhalení při scrollu ---------- */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Responzivita ---------- */

@media (max-width: 1000px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__card { position: static; width: 100%; margin-top: 14px; }
  .grid--4, .steps { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .calc { grid-template-columns: 1fr; }
  .contact { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .nav {
    position: fixed;
    inset: 76px 0 auto;
    margin: 0;
    background: rgba(4, 6, 14, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--line-soft);
    padding: 14px var(--pad) 22px;
    transform: translateY(-140%);
    transition: transform var(--t-slow);
    max-height: calc(100vh - 76px);
    overflow-y: auto;
  }
  .nav.is-open { transform: none; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav__list a { padding: 13px 12px; font-size: 1rem; }
  .burger { display: flex; margin-left: auto; }
  .masthead__inner .btn--sm { display: none; }
  .grid--3, .grid--2 { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .grid--4, .steps, .stats { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .cookie__prefs.is-open { grid-template-columns: 1fr; }
  .cookie { bottom: 12px; padding: 20px; }
  .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; }
}
