/* Общий стиль статических посадочных dezdozor.ru — палитра основного сайта. */
:root{
  --navy:#071d3d; --orange:#ff5b0a; --bg:#f3f6fa; --line:#dce4ee; --muted:#5b6b80;
  /* Фирменный оранжевый хорош как заливка, но текстом на светлом даёт
     контраст 2.9 при норме 4.5 — для ссылок и белого-на-кнопке берём темнее. */
  --orange-text:#c2410c;
}
*{box-sizing:border-box}
body{margin:0;font-family:system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
     color:var(--navy);background:#fff;line-height:1.55;font-size:17px}
a{color:var(--orange-text)}
.wrap{max-width:960px;margin:0 auto;padding:0 20px}

/* Шапка */
header{position:sticky;top:0;background:#fff;border-bottom:1px solid var(--line);z-index:10}
.head-in{display:flex;align-items:center;gap:16px;padding:10px 0}
.logo{display:flex;align-items:center;gap:10px;text-decoration:none;color:var(--navy);font-weight:800;font-size:20px}
.logo img{height:44px;width:auto}
.logo b{color:var(--orange)}
.head-right{margin-left:auto;text-align:right}
.head-phone{display:block;font-weight:800;color:var(--navy);text-decoration:none;font-size:18px;padding:8px 0}
.head-hours{color:var(--muted);font-size:13px}

/* Хлебные крошки */
.crumbs{padding:14px 0 0;font-size:14px;color:var(--muted)}
.crumbs a{color:var(--muted);text-decoration:none}
.crumbs a:hover{color:var(--orange-text)}

h1{font-size:34px;line-height:1.2;margin:12px 0 14px}
.lead{font-size:19px;color:#233c5e}
.lead b{color:var(--orange-text)}
h2{font-size:26px;margin:40px 0 14px}
h3{font-size:19px;margin:20px 0 8px}

/* Кнопки */
.btn{display:inline-block;padding:14px 28px;border-radius:12px;text-decoration:none;
     font-weight:700;border:0;cursor:pointer;font-size:17px}
.btn-primary{background:var(--orange-text);color:#fff}
.btn-primary:hover{filter:brightness(1.06)}
.btn-ghost{border:2px solid var(--line);color:var(--navy);background:#fff}

/* Таблица цен */
table{border-collapse:collapse;width:100%;margin:14px 0}
th,td{border:1px solid var(--line);padding:12px 14px;text-align:left}
th{background:var(--bg);font-size:15px}
td b{white-space:nowrap}
.note{color:var(--muted);font-size:14px}

/* Шаги и карточки */
ol.steps{padding-left:0;counter-reset:s;list-style:none}
ol.steps li{position:relative;padding:0 0 18px 56px;counter-increment:s}
ol.steps li::before{content:counter(s);position:absolute;left:0;top:0;width:38px;height:38px;
  border-radius:50%;background:var(--navy);color:#fff;font-weight:800;display:flex;
  align-items:center;justify-content:center}
.cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:14px;margin:16px 0}
.card{border:1px solid var(--line);border-radius:14px;padding:18px;background:#fff}
.card h3{margin-top:0}
.card p{margin-bottom:0;color:#233c5e;font-size:15px}

/* FAQ */
details{border:1px solid var(--line);border-radius:12px;padding:14px 18px;margin:10px 0}
summary{font-weight:700;cursor:pointer;padding:8px 0;min-height:24px}
details p{margin:10px 0 0;color:#233c5e}

/* Форма */
.form-box{background:var(--bg);border-radius:18px;padding:26px;margin:36px 0}
.form-box h2{margin-top:0}
.form-row{margin:12px 0}
input[type=tel],input[type=text]{width:100%;padding:14px;border:1px solid var(--line);
  border-radius:10px;font-size:17px}
.consent{display:flex;gap:10px;align-items:center;font-size:14px;color:#42536b;padding:8px 0}
.consent input{width:24px;height:24px;min-width:24px;margin-top:0}
.consent label{padding:8px 0;display:inline-block;cursor:pointer}
.ok-msg{background:#e8f7ee;border:1px solid #bfe6cd;border-radius:12px;padding:18px;font-weight:600}
.err-msg{color:#c0392b;font-size:14px;margin-top:8px}

/* Перелинковка и футер */
.related{background:var(--bg);border-radius:18px;padding:22px 26px;margin:36px 0}
.related ul{margin:8px 0 0;padding-left:20px}
.related li{margin:6px 0}
footer{background:var(--navy);color:#c9d4e4;margin-top:48px}
footer .wrap{padding:32px 20px}
footer a{color:#fff;text-decoration:none;font-weight:600;display:inline-block;padding:8px 0}
.foot-msg a{display:inline-block;padding:10px 18px;border-radius:10px;margin:10px 8px 0 0;font-size:15px}
.wa{background:#128c4a;color:#fff}
.tg{background:#1c7fb8;color:#fff}
.foot-legal{font-size:13px;color:#8296b3;margin-top:18px}

@media(max-width:640px){
  h1{font-size:26px}
  h2{font-size:22px}
  .head-hours{display:none}
  .logo span{display:none}
  th,td{padding:9px 10px;font-size:14px}
}

/* Таблица сравнения на 4 колонки на узком экране не должна растягивать
   страницу: прокручиваем её внутри себя, а не весь документ. */
@media(max-width:640px){
  table{display:block;overflow-x:auto;-webkit-overflow-scrolling:touch;
        white-space:nowrap}
  table td,table th{white-space:normal;min-width:88px}
}

/* Ссылки в блоках перелинковки были высотой 20 px и стояли вплотную —
   на телефоне в них тяжело попасть пальцем. */
.related li{margin:0}
.related li a{display:inline-block;padding:10px 0;min-height:40px;
  line-height:1.35;box-sizing:border-box}
.foot-legal a{display:inline-block;padding:10px 0}
