/* Vlastní stránky webu: zadzwon/, zamowienie/, dziekujemy/, regulamin/, polityka-prywatnosci/, kontakt/ */
:root {
  --bg: #f3f5f7;
  --card: #fff;
  --text: #29313a;
  --muted: #6b7680;
  --line: #e2e6ea;
  --dark: #1d2731;
  --green: #3cb500;
  --green-dark: #2f9300;
  --red: #d0021b;
  --radius: 10px;
}
* {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font:
    16px/1.5 Roboto,
    'Helvetica Neue',
    Arial,
    sans-serif;
}
a {
  color: inherit;
}
img {
  max-width: 100%;
  height: auto;
}

.page-header {
  background: var(--dark);
  padding: 12px 16px;
}
.page-header a {
  color: #fff;
  font-size: 22px;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: -0.3px;
}
.page-header__inner,
.page-main,
.page-footer__inner {
  max-width: 640px;
  margin: 0 auto;
}

.page-main {
  padding: 20px 16px 40px;
}
.card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  padding: 20px 16px;
  margin-bottom: 16px;
}
h1 {
  font-size: 24px;
  line-height: 1.25;
  margin: 0 0 8px;
}
h2 {
  font-size: 18px;
  margin: 0 0 12px;
}
.lead {
  color: var(--muted);
  margin: 0 0 16px;
}

/* produkt */
.product {
  display: flex;
  gap: 14px;
  align-items: center;
}
.product img {
  width: 88px;
  height: 88px;
  object-fit: cover;
  border-radius: 8px;
  flex: none;
  background: #fff;
  border: 1px solid var(--line);
}
.product__name {
  font-weight: 700;
  line-height: 1.3;
}
.product__meta {
  color: var(--muted);
  font-size: 14px;
  margin-top: 4px;
}
.product__price {
  color: var(--red);
  font-weight: 700;
  font-size: 20px;
  margin-top: 2px;
}

/* tlačítka */
.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  background: var(--green);
  color: #fff;
  text-decoration: none;
  font-family: inherit;
  font-weight: 700;
  font-size: 20px;
  line-height: 1.2;
  padding: 16px;
  box-shadow: 0 4px 0 var(--green-dark);
}
.btn:active {
  transform: translateY(2px);
  box-shadow: 0 2px 0 var(--green-dark);
}
.btn svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
  flex: none;
}
.btn--phone {
  font-size: 24px;
  padding: 18px 16px;
}
.back {
  display: inline-block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 15px;
}

.hours {
  text-align: center;
  color: var(--muted);
  font-size: 15px;
  margin: 12px 0 0;
}
.steps {
  margin: 0;
  padding-left: 22px;
}
.steps li {
  margin-bottom: 8px;
}
.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  color: var(--muted);
  font-size: 14px;
  margin-top: 14px;
}
.badges span::before {
  content: '✓ ';
  color: var(--green);
  font-weight: 700;
}

/* formulář */
.packages {
  display: grid;
  gap: 10px;
  margin-bottom: 4px;
}
.package {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 2px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
  background: #fff;
}
.package input {
  width: 20px;
  height: 20px;
  accent-color: var(--green);
  margin: 0;
}
.package:has(input:checked) {
  border-color: var(--green);
  background: #f4fbef;
}
.package__label {
  flex: 1;
  font-weight: 700;
}
.package__sub {
  display: block;
  font-weight: 400;
  color: var(--muted);
  font-size: 14px;
}
.package__price {
  font-weight: 700;
  color: var(--red);
  white-space: nowrap;
}
.package__tag {
  position: absolute;
  top: -10px;
  right: 12px;
  background: var(--red);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 1px 8px;
  border-radius: 10px;
}

.field {
  margin-bottom: 12px;
}
.field label {
  display: block;
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 4px;
}
.field input,
.field textarea {
  width: 100%;
  font: inherit;
  padding: 12px;
  border: 1px solid #c8cfd6;
  border-radius: 6px;
  background: #fff;
}
.field input:focus,
.field textarea:focus {
  outline: 2px solid var(--green);
  border-color: transparent;
}
.field-row {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 10px;
}
.hint {
  color: var(--muted);
  font-size: 13px;
}

.summary {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 16px;
}
.summary td {
  padding: 6px 0;
  border-bottom: 1px solid var(--line);
}
.summary td:last-child {
  text-align: right;
  white-space: nowrap;
}
.summary tr:last-child td {
  border: 0;
  font-weight: 700;
  font-size: 19px;
}
.payment {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 2px solid var(--green);
  border-radius: 8px;
  background: #f4fbef;
  margin-bottom: 16px;
  font-weight: 600;
}
.consent {
  font-size: 13px;
  color: var(--muted);
  margin: 12px 0 0;
}

/* poděkování */
.thanks-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-size: 36px;
  line-height: 64px;
  text-align: center;
}
.center {
  text-align: center;
}
.order {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px 14px;
  margin: 0;
}
.order dt {
  color: var(--muted);
}
.order dd {
  margin: 0;
  font-weight: 600;
}

/* právní stránky */
.legal h2 {
  margin-top: 24px;
}
.legal p,
.legal li {
  color: #3a434c;
}

.page-footer {
  background: var(--dark);
  color: #aab3bc;
  font-size: 13px;
  padding: 18px 16px;
}
.page-footer a {
  color: #d6dce1;
  margin-right: 14px;
}
.page-footer p {
  margin: 10px 0 0;
}

@media (min-width: 700px) {
  .page-main {
    padding-top: 32px;
  }
  h1 {
    font-size: 28px;
  }
}
