/* Текущий вид сайта: как на Тильде (размеры и цвета сняты с prinbot.ru 07.11.2026). */
@font-face { font-family: "Tilda Sans"; src: url("/assets/fonts/TildaSans-VF.woff2") format("woff2"); font-weight: 250 1000; font-display: swap; }

:root { --blue: #445566; --line-blue: #73899f; --card: #f0f3f9; --sym: #d7dfed; }
html { scroll-behavior: smooth; }
* { box-sizing: border-box; }
body { margin: 0; background: #dbdbdb; color: #000; font: 300 20px/1.55 "Tilda Sans", Arial, sans-serif; }
body::before { content: ""; position: fixed; inset: 0; z-index: -1; background: url("/assets/pattern.webp"); }
[hidden] { display: none !important; }
a { color: inherit; }
strong { font-weight: 700; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }

/* Шапка */
.top { position: fixed; inset: 0 0 auto; z-index: 10; height: 63px; padding: 0 40px; display: flex; align-items: center; gap: 28px; background: var(--blue); color: #fff; }
.logo { font-size: 30px; font-weight: 400; text-decoration: none; margin-right: auto; }
.top nav { display: flex; gap: 30px; font-size: 16px; font-weight: 400; }
.top nav a { text-decoration: none; }
.top nav a:hover { opacity: .7; }
.btn, .ver { display: inline-flex; align-items: center; height: 40px; padding: 0 30px; border-radius: 60px; font-size: 14px; font-weight: 500; text-decoration: none; white-space: nowrap; }
.btn { background: #fff; color: #000; margin-left: -18px; }
.ver { border: 1px solid #fff; color: #fff; padding: 0 20px; }
.ver:hover { background: #fff; color: var(--blue); }

/* Обложка */
.cover { min-height: 368px; padding: 90px 20px 30px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; color: #fff; background: #000 linear-gradient(rgba(0, 0, 0, .7), rgba(0, 0, 0, .6)), #000; background-image: linear-gradient(rgba(0, 0, 0, .7), rgba(0, 0, 0, .6)), url("/assets/hero.webp"); background-size: cover; background-position: center; background-attachment: fixed; }
.cover-home { min-height: 451px; padding-top: 112px; }
.cover h1 { margin: 0 0 24px; max-width: 960px; color: #f0f0f0; font-size: 35px; font-weight: 600; line-height: 1.17; }
.cover-home h1 { font-size: 72px; }
.cover .descr { margin: 0; max-width: 960px; font-size: 22px; font-weight: 300; line-height: 1.55; }

/* Разделители */
.rule { position: relative; height: 140px; display: flex; align-items: center; justify-content: center; scroll-margin-top: 63px; }
.rule::before { content: ""; position: absolute; left: 50%; width: min(960px, 100% - 40px); transform: translateX(-50%); height: 1px; background: var(--blue); opacity: .2; }
.cir { position: relative; width: 50px; height: 50px; border-radius: 50%; background: var(--blue); color: #fff; font-size: 22px; font-weight: 400; line-height: 50px; text-align: center; }

/* Тексты */
main { display: block; }
.text { max-width: 1200px; margin: 0 auto; padding: 0 60px; overflow-wrap: anywhere; }
.text.center { text-align: center; }
.text p { margin: 0; }
.doc .text { padding-block: 40px; }
.c { text-align: center; }
.fs18 { font-size: 18px; }
.lead-strong { font-size: 22px; font-weight: 700; }
.lead-strong strong { font-weight: 700; }
.sum { margin-top: 30px; padding: 0 20px; display: flex; justify-content: center; }
.sum span { padding: 26px 90px; height: 100px; border: 3px solid var(--blue); border-radius: 90px; color: var(--blue); font-size: 30px; font-weight: 600; line-height: 42px; white-space: nowrap; }
.sum-label { padding-top: 8px; color: var(--blue); font-size: 14px; }

/* Преимущества */
.cards { list-style: none; max-width: 1200px; margin: 30px auto 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cards li { position: relative; padding: 0 20px; }
.sym { position: absolute; inset: 0 20px auto; text-align: center; color: var(--sym); font-size: 200px; font-weight: 700; line-height: 150px; opacity: .6; }
.cards h3 { position: relative; margin: 0 0 14px; padding-top: 65px; font-size: 22px; font-weight: 700; line-height: 1.35; }
.cards p { position: relative; margin: 0; font-size: 16px; line-height: 1.55; }

/* Цены */
.table-box { max-width: 960px; margin: 30px auto 0; padding: 50px; border-radius: 8px; background: var(--card); overflow-x: auto; }
.prices { width: 100%; min-width: 700px; border-collapse: collapse; table-layout: fixed; }
.prices th { padding: 0 8px 22px; font-size: 20px; font-weight: 600; line-height: 1.35; text-align: center; vertical-align: top; }
.prices th:first-child { width: 260px; }
.prices td { padding: 22px 20px; border-top: 1px solid #030303; font-size: 26px; font-weight: 300; text-align: center; }
.prices td:first-child { padding-left: 0; font-size: 18px; line-height: 1.5; text-align: left; }
.prices td + td { border-left: 1px solid #030303; }

/* Вопросы */
.faq { max-width: 960px; margin: 30px auto 60px; display: grid; gap: 5px; }
.faq details { background: var(--card); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 25px 20px 25px 30px; cursor: pointer; list-style: none; font-size: 24px; font-weight: 600; line-height: 1.35; }
.faq summary::-webkit-details-marker { display: none; }
.faq i { flex: none; position: relative; width: 40px; height: 40px; border-radius: 50%; background: #fff; }
.faq i::before, .faq i::after { content: ""; position: absolute; left: 10px; right: 10px; top: 19px; height: 2px; background: #000; transition: transform .2s; }
.faq i::after { transform: rotate(90deg); }
.faq details[open] i::after { transform: rotate(0); }
.answer { padding: 0 30px 20px; font-size: 16px; font-weight: 300; line-height: 1.55; }

/* Низ страницы */
.note { padding: 8px 20px 6px 160px; background: var(--line-blue); color: #fff; font-size: 14px; line-height: 1.55; }
.note p { margin: 0; }
.foot { display: grid; grid-template-columns: 180px 1fr 60px; align-items: center; gap: 20px; padding: 30px 55px; background: var(--blue); color: #fff; }
.foot-logo { font-size: 35px; font-weight: 600; }
.foot-links { display: flex; justify-content: center; gap: 40px; }
.foot-links a { width: 160px; font-size: 16px; font-weight: 500; text-align: center; text-decoration: none; }
.foot-tg { justify-self: end; color: #fff; line-height: 0; }

/* Сообщение о cookie и «наверх» */
.cookie { position: fixed; right: 30px; bottom: 30px; z-index: 11; width: 340px; max-width: calc(100% - 40px); padding: 20px 30px; border-radius: 5px; background: #fff; box-shadow: 0 0 20px rgba(0, 0, 0, .3); text-align: center; }
.cookie-text { margin-bottom: 15px; font-size: 14px; font-weight: 600; line-height: 1.55; }
.cookie-text a { color: var(--blue); }
.cookie-ok { height: 35px; padding: 0 15px; border: 0; border-radius: 30px; background: #415162; color: #fff; font: 600 13px "Tilda Sans", Arial, sans-serif; cursor: pointer; }
.cookie-x { position: absolute; top: 6px; right: 8px; border: 0; background: none; font-size: 22px; line-height: 1; cursor: pointer; }
.to-top { position: fixed; right: 21px; bottom: 25px; z-index: 9; width: 47px; height: 47px; border-radius: 50%; background: #fff; box-shadow: 0 0 10px rgba(0, 0, 0, .2); }
.to-top::before { content: ""; position: absolute; left: 16px; top: 20px; width: 15px; height: 15px; border-left: 1px solid #000; border-top: 1px solid #000; transform: rotate(45deg); }

@media (max-width: 960px) {
  .top { padding: 0 20px; gap: 16px; }
  .top nav, .top .btn { display: none; }
  .cover .descr { font-size: 18px; }
  .cards { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .prices th:first-child { width: 200px; }
  .text { padding: 0 20px; }
  .note { padding-left: 20px; }
  .foot { grid-template-columns: minmax(0, 1fr); justify-items: start; padding: 30px 20px; }
  .foot-links { flex-direction: column; gap: 14px; align-items: flex-start; }
  .foot-links a { width: auto; text-align: left; }
  .foot-tg { justify-self: start; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .top { height: 56px; }
  .logo { font-size: 24px; }
  .ver { height: 34px; padding: 0 14px; font-size: 13px; }
  .rule { height: 110px; scroll-margin-top: 56px; }
  .cover, .cover-home { min-height: 320px; padding: 80px 16px 24px; }
  .cover h1 { font-size: 26px; }
  .cover-home h1 { font-size: 44px; }
  .cover .descr { font-size: 16px; }
  .text { padding: 0 16px; }
  .lead-strong { font-size: 20px; }
  .sum span { padding: 20px 44px; height: auto; font-size: 26px; }
  .table-box { margin-inline: 0; padding: 24px 16px; border-radius: 0; }
  .prices td { font-size: 20px; }
  .prices td:first-child, .prices th { font-size: 16px; }
  .faq { margin-inline: 0; }
  .faq summary { padding: 18px 16px; font-size: 18px; }
  .answer { padding: 0 16px 18px; }
  .cookie { right: 0; bottom: 0; width: 100%; max-width: none; border-radius: 0; padding: 16px; }
  .to-top { display: none; }
}
@media (hover: none) {
  .cover { background-attachment: scroll; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .faq i::before, .faq i::after { transition: none; }
}
