/* Prodej domén - jeden styl pro všechny domény. Základ = mobil, širší obrazovky přes min-width. */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 100 900; font-display: swap; src: url(../pisma/inter-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 100 900; font-display: swap; src: url(../pisma/inter-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --pozadi: #F3F5F8;
  --plocha: #FFFFFF;
  --text: #17263C;
  --tlumeny: #536072;
  --linka: #DDE3EB;
  --linka-pole: #8A919B;
  --akcent: #155EEF;
  --akcent-tmavy: #0E4BCB;
  --akcent-svetly: #E8EFFE;
  --chyba: #B42318;
  --uspech: #067647;
  --radius: 20px;
  --radius-maly: 10px;
  --mezera-sekce: 72px;
  --okraj: 20px;
  --sirka: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--pozadi);
}
main { padding: 16px var(--okraj) 0; }
h1, h2, h3, h4, p { margin: 0; }
a { color: var(--akcent); }

/* Úvod a postup: jedna bílá karta, nahoře tmavý blok s doménou a cenou */
.obal {
  max-width: var(--sirka);
  margin: 0 auto;
  background: var(--plocha);
  border: 1px solid var(--linka);
  border-radius: 24px;
  padding: 8px;
}
.uvod {
  display: grid;
  gap: 28px;
  padding: 32px 20px 32px;
  border-radius: 18px;
  background: linear-gradient(160deg, #0F2656 0%, #0A1A3D 100%);
  color: #fff;
}
.na-prodej {
  display: block;
  font-size: clamp(21px, 3.4vw, 40px);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.domena {
  display: block;
  margin-top: 20px;
  font-size: clamp(56px, 12vw, 120px);
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.04em;
  overflow-wrap: anywhere;
}
.jednani {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .18);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
}
.cena {
  margin-top: 12px;
  font-size: clamp(40px, 6vw, 64px);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.cena-dohodou { margin-top: 0; font-size: clamp(32px, 5vw, 48px); }
.cena-pozn { margin-top: 8px; color: rgba(255, 255, 255, .72); font-size: 17px; }
.uvod .tlacitko:hover { background: #2F6FF2; }
.uvod .tlacitko:focus-visible { outline-color: #fff; }
.postup { padding: 40px 16px 32px; }
#formular { scroll-margin-top: 24px; }

/* Tlačítko: šířka podle textu, nikdy přes celou šířku */
.tlacitko {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 28px;
  border: 0;
  border-radius: var(--radius-maly);
  background: var(--akcent);
  color: #fff;
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .15s ease, transform .15s ease;
}
.tlacitko:hover { background: var(--akcent-tmavy); }
.tlacitko:active { transform: translateY(1px); }
.tlacitko:focus-visible, .odkaz:focus-visible, .napoveda:focus-visible, .paticka-kontakt:focus-visible {
  outline: 3px solid var(--akcent);
  outline-offset: 3px;
}
.tlacitko[disabled] { background: #8DA9E8; cursor: progress; }

.odkaz { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.odkaz:hover { color: var(--akcent-tmavy); }

/* Sekce */
.sekce { max-width: var(--sirka); margin: var(--mezera-sekce) auto 0; }
.nadpis-sekce { font-size: clamp(26px, 4vw, 34px); line-height: 1.2; font-weight: 700; letter-spacing: -0.015em; }

/* Osa kroků: mobil svisle */
.osa { list-style: none; margin: 32px 0 0; padding: 0; position: relative; }
.osa li { position: relative; padding: 0 0 32px 52px; }
.osa li:last-child { padding-bottom: 0; }
.osa li::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 34px;
  bottom: 0;
  width: 2px;
  background: var(--akcent);
}
.osa li:last-child::before { display: none; }
.osa-cislo {
  position: absolute;
  left: 0;
  top: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--akcent);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 15px;
  font-weight: 700;
}
.osa h3 { font-size: 17px; line-height: 1.4; font-weight: 700; padding-top: 3px; }
.osa p { margin-top: 6px; color: var(--tlumeny); font-size: 15px; }

/* Smlouva */
.smlouva-hlava { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; }
.list {
  margin-top: 32px;
  background: var(--plocha);
  border: 1px solid var(--linka);
  border-radius: 16px;
  padding: 28px 20px 36px;
  font-size: 15px;
  line-height: 1.65;
}
.sm-titul { text-align: center; font-size: 19px; line-height: 1.35; font-weight: 800; letter-spacing: 0.01em; }
.sm-pod { text-align: center; margin-top: 6px; color: var(--tlumeny); font-size: 13px; }
.sm-nadpis { margin-top: 32px; font-size: 17px; font-weight: 700; }
.sm-pod + .sm-nadpis { padding-top: 24px; margin-top: 24px; border-top: 1px solid var(--linka); }
.sm-strana { margin-top: 18px; font-weight: 700; }
.sm-skryto { margin-top: 6px; color: var(--tlumeny); }
.sm-radek { display: grid; grid-template-columns: 1fr; gap: 2px; margin-top: 10px; }
.sm-popis { color: var(--tlumeny); font-size: 14px; }
.sm-hodnota {
  min-height: 28px;
  border-bottom: 1px solid var(--linka-pole);
  font-weight: 600;
  overflow-wrap: anywhere;
  transition: background-color .2s ease;
}
.sm-hodnota.vyplneno { background: var(--akcent-svetly); color: var(--akcent-tmavy); border-bottom-color: transparent; border-radius: 6px; padding: 2px 8px; }
.sm-odst { margin-top: 16px; }
.sm-bod { display: grid; grid-template-columns: 26px 1fr; margin-top: 10px; }
.sm-nadpis + .sm-bod { margin-top: 12px; }
.sm-cislo { color: var(--tlumeny); }
.sm-cena { width: 100%; max-width: 420px; margin: 16px 0 0 26px; border-collapse: collapse; font-size: 15px; }
.sm-cena th, .sm-cena td { padding: 8px 12px; border: 1px solid var(--linka); text-align: left; font-weight: 400; }
.sm-cena td { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.sm-cena .sm-celkem th, .sm-cena .sm-celkem td { font-weight: 700; background: var(--akcent-svetly); color: var(--akcent-tmavy); }
.sm-podpisy-nadpis { margin-top: 40px; font-weight: 700; font-size: 14px; letter-spacing: 0.02em; }
.sm-podpisy { display: grid; grid-template-columns: 1fr; gap: 28px; margin-top: 20px; }
.sm-podpisy p { margin-top: 6px; }
.sm-cara { height: 48px; border-bottom: 1px solid var(--text); margin-bottom: 6px; }
.sm-podpis-jmeno { min-height: 1.6em; }

/* Formulář */
.nadpis-sekce mark {
  padding: 0 .14em;
  border-radius: .14em;
  background: #FFEC99;
  color: #0A1A3D;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.volba { display: flex; align-items: center; gap: 12px; margin-top: 24px; }
.volba input {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  margin: 0;
  flex: none;
  cursor: pointer;
  border: 1.5px solid var(--linka-pole);
  border-radius: 6px;
  background: var(--plocha) center / 16px 16px no-repeat;
  transition: background-color .15s, border-color .15s, box-shadow .15s;
}
.volba input:hover { border-color: var(--akcent); }
.volba input:focus-visible { outline: none; border-color: var(--akcent); box-shadow: 0 0 0 3px rgba(21, 94, 239, .22); }
.volba input:checked {
  border-color: var(--akcent);
  background-color: var(--akcent);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
}
.volba input:checked:hover { background-color: var(--akcent-tmavy); border-color: var(--akcent-tmavy); }
@media (prefers-reduced-motion: reduce) { .volba input { transition: none; } }
.volba label { font-size: 15px; font-weight: 600; cursor: pointer; }
#firma-pole { margin-top: 20px; }
.formular-hlava { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; }
.formular {
  max-width: 720px;
  margin: 0 auto;
  background: var(--plocha);
  border: 1px solid var(--linka);
  border-radius: var(--radius);
  padding: 28px 20px 32px;
}
.nadpis-formulare { font-size: clamp(22px, 3vw, 26px); line-height: 1.25; font-weight: 700; }
.pole-mrizka { display: grid; grid-template-columns: 1fr; gap: 20px; margin-top: 28px; }
.pole { min-width: 0; }
.pole label, .popis-s-napovedou label { display: block; font-size: 15px; font-weight: 600; line-height: 1.4; }
.pole input {
  display: block;
  width: 100%;
  margin-top: 8px;
  min-height: 48px;
  padding: 10px 14px;
  border: 1px solid var(--linka-pole);
  border-radius: var(--radius-maly);
  background: #fff;
  color: var(--text);
  font: inherit;
}
.pole input:hover { border-color: var(--tlumeny); }
.pole input:focus { outline: none; border-color: var(--akcent); box-shadow: 0 0 0 3px rgba(21, 94, 239, .22); }
.pole input[aria-invalid="true"] { border-color: var(--chyba); }
.pole input[aria-invalid="true"]:focus { box-shadow: 0 0 0 3px rgba(180, 35, 24, .2); }
.popis-s-napovedou { display: flex; align-items: center; gap: 8px; height: 21px; }
.napoveda {
  flex: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1.5px solid var(--akcent);
  background: #fff;
  color: var(--akcent);
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  padding: 0;
  cursor: pointer;
  /* dotyková plocha 44 px */
  position: relative;
}
.napoveda::after { content: ''; position: absolute; inset: -10px; }
.napoveda:hover, .napoveda[aria-expanded="true"] { background: var(--akcent-svetly); }
.bublina {
  margin-top: 8px;
  padding: 12px 14px;
  border-radius: var(--radius-maly);
  background: var(--akcent-svetly);
  color: var(--text);
  font-size: 14px;
  line-height: 1.5;
}
.chyba { margin-top: 6px; color: var(--chyba); font-size: 14px; font-weight: 500; }
.akce { margin-top: 32px; }
.stav { margin-top: 20px; padding: 14px 16px; border-radius: var(--radius-maly); font-weight: 600; }
.stav.ok { background: #E7F6EC; color: var(--uspech); }
.stav.chybne { background: #FDECEA; color: var(--chyba); }
.stav-samostatny { margin-bottom: 16px; background: var(--plocha); border: 1px solid var(--linka); }
.past { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Patička */
.paticka {
  max-width: var(--sirka);
  margin: var(--mezera-sekce) auto 0;
  padding: 28px var(--okraj) 36px;
  border-top: 1px solid var(--linka);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  color: var(--tlumeny);
  font-size: 15px;
}
.paticka-kontakt { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 500; min-height: 44px; }
.paticka-kontakt:hover span { text-decoration: underline; }

@media (min-width: 720px) {
  :root { --okraj: 32px; --mezera-sekce: 112px; }
  main { padding-top: 32px; }
  .uvod { padding: 56px 48px 48px; }
  .jednani { font-size: 16px; }
  .postup { padding: 56px 40px 48px; }
  .list { padding: 56px 48px 64px; }
  .list > * { max-width: 760px; margin-left: auto; margin-right: auto; }
  .list > .sm-cena { margin-left: calc((100% - 760px) / 2 + 26px); }
  .sm-radek { grid-template-columns: 240px 1fr; gap: 16px; align-items: end; }
  .sm-podpisy { grid-template-columns: 1fr 1fr; gap: 40px; }
  .formular { padding: 44px 48px 48px; }
  .pole-mrizka { grid-template-columns: 1fr 1fr; gap: 24px 24px; }
  .pole-cela { grid-column: 1 / -1; }
}

@media (min-width: 960px) {
  :root { --mezera-sekce: 120px; }
  .uvod { grid-template-columns: 1fr auto; gap: 40px 48px; padding: 72px 64px 64px; }
  .uvod-cena { padding-left: 48px; border-left: 1px solid rgba(255, 255, 255, .2); align-self: center; }
  .uvod-akce { grid-column: 1 / -1; }
  .postup { padding: 64px 64px 56px; }
  .osa { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 56px; }
  .osa li { padding: 52px 0 0; text-align: center; }
  .osa li::before { left: calc(50% + 24px); right: -50%; top: 15px; bottom: auto; width: auto; height: 2px; }
  .osa-cislo { left: 50%; transform: translateX(-50%); }
  .osa p { font-size: 15px; }
}
