@import url('https://static.tildacdn.pub/css/fonts-tildasans.css');

:root{
  --text:#111827;
  --muted:#5f6b7a;
  --line:#e5e7eb;
  --bg:#f2f2f2;
  --dark:#06111f;
  --brown:#3d1800;
  --blue:#2d5bff;
}

*{box-sizing:border-box}

body{
  margin:0;
  font-family:'TildaSans', Arial, Helvetica, sans-serif;
  color:var(--text);
  background:#fff;
  line-height:1.45;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}

a{color:inherit}

.wrap{
  max-width:980px;
  margin:0 auto;
  padding:0 28px;
}

.top{
  padding:110px 0 82px;
  background:#fff;
}

.top h1{
  margin:0;
  font-size:44px;
  line-height:1.1;
  letter-spacing:.01em;
  font-weight:600;
  text-align:center;
}

.hero{
  position:relative;
  min-height:500px;
  display:flex;
  align-items:center;
  color:#fff;
  background:
    linear-gradient(180deg, rgba(64,26,0,.82), rgba(6,17,31,.86)),
    url('/assets/hero.webp') center/cover no-repeat;
}

.hero h2{
  text-align:center;
  margin:0 0 24px;
  font-size:31px;
  line-height:1.2;
  letter-spacing:.01em;
  font-weight:600;
}

.hero p{
  max-width:760px;
  margin:0 auto;
  text-align:center;
  color:rgba(255,255,255,.9);
  font-size:17px;
  line-height:1.65;
  font-weight:300;
}

.section{
  padding:96px 0 102px;
}

.section.gray{
  background:#f2f2f2;
}

.section h2{
  margin:0 0 56px;
  text-align:center;
  font-size:31px;
  line-height:1.2;
  letter-spacing:.01em;
  font-weight:600;
}

.price-list{
  max-width:760px;
  margin:0 auto;
  display:grid;
  gap:28px;
}

.price-row{
  display:grid;
  grid-template-columns:210px 1fr;
  gap:18px;
  align-items:start;
}

.price{
  font-weight:600;
  font-size:19px;
  line-height:1.35;
}

.desc{
  color:#4f5b69;
  font-size:17px;
  line-height:1.45;
  font-weight:300;
}

.super-list{
  max-width:760px;
  margin:0 auto;
  display:grid;
  gap:28px;
}

.super-row{
  display:grid;
  grid-template-columns:44px 170px 1fr;
  gap:14px 18px;
  align-items:center;
}

.num{
  width:34px;
  height:34px;
  border-radius:50%;
  border:2px solid var(--blue);
  color:var(--blue);
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:18px;
  font-weight:400;
  line-height:1;
}

.contacts{
  text-align:center;
  padding:96px 0 86px;
}

.contacts h2{
  margin:0 0 22px;
  font-size:31px;
  line-height:1.2;
  font-weight:600;
}

.contacts p{
  margin:0 0 22px;
  font-size:18px;
  line-height:1.55;
  font-weight:300;
}

.telegram{
  display:inline-flex;
  width:48px;
  height:48px;
  align-items:center;
  justify-content:center;
  border-radius:50%;
  background:#000;
  color:#fff;
  text-decoration:none;
  font-weight:700;
}

.footer{
  background:#171717;
  color:#fff;
  padding:34px 0 42px;
  text-align:center;
}

.footer a{
  display:inline-block;
  margin:8px 16px;
  color:#fff;
  text-decoration:none;
  font-size:18px;
  font-weight:400;
}

.legal-page{
  background:#fff;
}

.legal-header{
  padding:28px 0;
  border-bottom:1px solid var(--line);
}

.legal-header a{
  color:#667085;
  text-decoration:none;
  font-size:16px;
}

.legal{
  max-width:920px;
  margin:0 auto;
  padding:50px 24px 74px;
  font-size:18px;
  line-height:1.6;
  font-weight:300;
}

.legal strong{
  font-weight:600;
}

.legal ul{
  margin-top:8px;
  margin-bottom:16px;
}

.legal li{
  margin:6px 0;
}

@media(max-width:720px){
  .wrap{padding:0 18px}

  .top{
    padding:72px 0 56px;
  }

  .top h1{
    font-size:34px;
  }

  .hero{
    min-height:430px;
  }

  .hero h2{
    font-size:24px;
  }

  .hero p{
    font-size:15px;
    line-height:1.6;
  }

  .section{
    padding:70px 0 74px;
  }

  .section h2{
    font-size:25px;
    margin-bottom:38px;
  }

  .price-list,
  .super-list{
    gap:22px;
  }

  .price-row{
    grid-template-columns:1fr;
    gap:6px;
  }

  .super-row{
    grid-template-columns:38px 1fr;
    gap:10px 14px;
    align-items:start;
  }

  .super-row .desc{
    grid-column:2;
  }

  .price{
    font-size:17px;
  }

  .desc{
    font-size:15px;
  }

  .contacts{
    padding:74px 0 66px;
  }

  .contacts h2{
    font-size:25px;
  }

  .contacts p{
    font-size:16px;
  }

  .footer a{
    font-size:16px;
    margin:6px 10px;
  }

  .legal{
    font-size:16px;
    padding-top:34px;
  }
}

/* === CONTACTS POLISH V2 === */
.contacts {
  background: #efefef;
  text-align: center;
  padding: 95px 0 82px;
}

.contacts .wrap {
  max-width: 760px;
  margin: 0 auto;
}

.contacts h2 {
  margin: 0 0 38px;
  font-size: 34px;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: 0;
  color: #111;
}

.contacts p {
  margin: 0 auto 24px;
  font-size: 24px;
  line-height: 1.75;
  font-weight: 400;
  color: #222;
}

.contacts a[href^="tel:"] {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}

.contacts .telegram {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-top: 8px;
  border-radius: 9999px;
  background: #000;
  color: #fff;
  text-decoration: none;
  font-size: 24px;
  font-weight: 400;
  line-height: 1;
}

.contacts .telegram svg,
.contacts .telegram img,
.contacts .telegram i {
  display: none !important;
}

@media (max-width: 768px) {
  .contacts {
    padding: 72px 0 64px;
  }

  .contacts h2 {
    margin-bottom: 28px;
    font-size: 28px;
  }

  .contacts p {
    font-size: 20px;
    line-height: 1.7;
    margin-bottom: 20px;
  }

  .contacts .telegram {
    width: 44px;
    height: 44px;
    font-size: 22px;
  }
}

/* === BACKGROUND + TELEGRAM ICON FIX V6 === */

/* Все обычные ценовые блоки до СУПЕР ПАК — серые */
.section {
  background: #efefef;
}

.section.gray {
  background: #efefef;
}

/* Начиная с СУПЕР ПАК и ниже — белое */
.section.superpak-section {
  background: #fff;
}

.contacts {
  background: #fff;
}

/* Telegram-значок в контактах */
.contacts .telegram {
  background: #000;
  color: #fff;
  text-decoration: none;
}

.contacts .telegram svg {
  display: block !important;
  width: 24px;
  height: 24px;
  fill: #fff;
  margin-left: -1px;
}

.contacts .telegram img,
.contacts .telegram i {
  display: none !important;
}
