/*
Theme Name: Штат 29,99
Author: ООО ПК «РИС»
Description: Лендинг «Штат 29,99» по утверждённому макету. Тестовая тема. На боевой домен не выкладывать без отдельного «да».
Version: 1.1.7
Requires at least: 6.4
Tested up to: 6.7
Requires PHP: 7.4
Text Domain: shtat2999
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

@font-face {
  font-family: Manrope;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/manrope-cyrillic-400-normal.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: Manrope;
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/manrope-cyrillic-500-normal.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: Manrope;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/manrope-cyrillic-600-normal.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: Manrope;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/fonts/manrope-cyrillic-700-normal.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: Manrope;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/manrope-latin-400-normal.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;
}
@font-face {
  font-family: Manrope;
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/manrope-latin-500-normal.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;
}
@font-face {
  font-family: Manrope;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/manrope-latin-600-normal.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;
}
@font-face {
  font-family: Manrope;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/fonts/manrope-latin-700-normal.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 {
  --ink: #052e4d;
  --gold: #febd3f;
  --milk: #fbf3e8;
  --card: #fff;
  --line: rgba(5, 46, 77, 0.08);
  --max: 1120px;
  --pad: 16px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--milk);
  color: var(--ink);
  font-family: Manrope, sans-serif;
  font-size: 16px;
  line-height: 1.35;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, textarea { font: inherit; color: inherit; }
svg { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.wrap { width: min(var(--max), calc(100% - var(--pad) * 2)); margin: 0 auto; }
.gold, .sum { color: var(--gold); }
.skip { position: absolute; left: 8px; top: -40px; background: var(--gold); padding: 8px; z-index: 6; }
.skip:focus { top: 8px; }
.sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
[hidden] { display: none !important; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  background: rgba(251, 243, 232, 0.96);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 64px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 4px;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: -0.03em;
  flex: none;
}
.mark { width: 38px; height: 40px; stroke: none; flex: none; }
.word { font-size: 18px; }
.nav { display: none; }
.nav-toggle {
  margin-left: auto;
  border: 0;
  background: var(--ink);
  color: #fff;
  border-radius: 999px;
  padding: 8px 14px;
  font-weight: 700;
}
.nav.is-open {
  display: flex;
  flex-direction: column;
  position: absolute;
  left: 0; right: 0; top: 64px;
  background: var(--milk);
  padding: 12px 16px 16px;
  gap: 10px;
  border-bottom: 1px solid var(--line);
}
.nav a { text-decoration: none; font-weight: 700; font-size: 15px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 14px;
  border: 0;
  background: var(--gold);
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}
.btn.dark { background: var(--ink); color: #fff; border-radius: 999px; min-height: 40px; padding: 8px 16px; }
.btn:disabled { opacity: 0.45; }

.hero { padding: 8px 0 4px; }
.hero-grid { display: grid; gap: 16px; }
.hero-copy { min-width: 0; }
.eyebrow { margin: 0 0 6px; font-weight: 700; font-size: 14px; }
h1 {
  margin: 0;
  font-size: 48px;
  line-height: 0.92;
  letter-spacing: -0.045em;
  font-weight: 800;
}
.lead { margin: 10px 0 14px; font-size: 22px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.12; }
.note {
  color: #3d5670; margin: 10px 0 0; font-size: 13px; line-height: 1.35;
  display: block; width: 100%; max-width: 100%;
  white-space: normal; overflow-wrap: break-word;
}
.perks { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 10px; }
.perks li { display: flex; gap: 8px; align-items: center; font-weight: 700; font-size: 14px; line-height: 1.15; }
.perks svg, .step svg { width: 28px; height: 28px; flex: none; }
.shelf-frame { position: relative; }
.shelf img { width: 100%; height: auto; border-radius: 0; display: block; }
.pills {
  list-style: none; margin: 0; padding: 0;
  position: absolute; left: 6px; top: 6%; bottom: 10%;
  display: flex; flex-direction: column; justify-content: space-between;
  width: max-content; max-width: 92%;
}
.pills li {
  background: #fff; color: var(--ink);
  border-radius: 999px; padding: 5px 12px;
  font-weight: 700; font-size: 12px; line-height: 1.2;
  box-shadow: 0 6px 16px rgba(5, 46, 77, 0.08);
  white-space: nowrap;
}

section { padding: 18px 0; }
h2 { margin: 0 0 12px; font-size: 32px; letter-spacing: -0.04em; line-height: 1.05; font-weight: 800; }
.section-lead { margin: -4px 0 14px; color: #3d5670; }

.cards { display: grid; gap: 10px; }
.card, .tariff, .pay-card, .form-card, .news-card, .step {
  background: var(--card);
  border-radius: 22px;
  box-shadow: 0 8px 24px rgba(5, 46, 77, 0.05);
}
.card {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 8px;
  padding: 16px 12px 14px;
  text-decoration: none;
  font-weight: 800;
  min-height: 118px;
  line-height: 1.25;
}
.card svg { width: 40px; height: 40px; stroke-width: 2.15; }

.slider { position: relative; }
.slide {
  display: grid;
  gap: 12px;
  background: #fff;
  border-radius: 26px;
  padding: 16px 16px 56px;
  box-shadow: 0 10px 28px rgba(5, 46, 77, 0.06);
}
.slide h2 { margin: 0 0 12px; }
.slide h2 .sum { font-size: 1.15em; }
.points { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.points li { display: flex; gap: 8px; align-items: flex-start; font-weight: 700; font-size: 15px; line-height: 1.3; }
.points svg { width: 18px; height: 18px; flex: none; margin-top: 1px; }
.slide img { width: 100%; height: auto; max-height: 240px; object-fit: contain; object-position: center right; border-radius: 0; justify-self: end; }
.slider-nav { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.dots {
  position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%);
  display: flex; gap: 7px; pointer-events: auto;
}
.round {
  position: absolute; bottom: 12px;
  width: 36px; height: 36px; border-radius: 50%;
  border: 0; background: #fff; color: var(--ink); font-weight: 700; font-size: 22px; line-height: 1; cursor: pointer;
  box-shadow: 0 4px 14px rgba(5, 46, 77, 0.12);
  pointer-events: auto;
}
.round.prev { left: 14px; }
.round.next { right: 14px; }
.dots button { width: 8px; height: 8px; border-radius: 50%; border: 0; background: #d5cfc4; padding: 0; cursor: pointer; }
.dots button[aria-current="true"] { background: var(--gold); }

.steps { display: grid; gap: 8px; }
.step { display: flex; align-items: center; gap: 10px; padding: 12px 16px; font-weight: 800; border-radius: 16px; }
.step svg { stroke-width: 1.9; }
.chev { display: none; }

.setup { padding: 6px 0; }
.setup-row {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--ink); color: var(--gold);
  text-decoration: none; font-weight: 800; letter-spacing: 0.04em;
  text-transform: uppercase; border-radius: 14px; min-height: 54px; padding: 12px;
  text-align: center;
}

.faq { display: grid; gap: 0; }
details { background: #fff; border-radius: 14px; padding: 11px 14px; margin: 0 0 8px; box-shadow: 0 4px 14px rgba(5, 46, 77, 0.04); }
summary { cursor: pointer; font-weight: 800; list-style: none; display: flex; justify-content: space-between; gap: 8px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "⌄"; font-weight: 500; }
details p { margin: 8px 0 0; color: #3d5670; }

.news-head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-bottom: 12px; }
.news-head h2 { margin: 0; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags button { border: 0; background: #fff; border-radius: 999px; padding: 7px 12px; font-weight: 800; cursor: pointer; }
.tags button[aria-pressed="true"] { background: var(--gold); }
.news-grid { display: grid; gap: 10px; }
.news-card { display: grid; grid-template-columns: 92px 1fr; gap: 10px; padding: 8px; align-items: center; }
.news-card img { width: 92px; height: 72px; object-fit: cover; border-radius: 12px; }
.news-card time { color: #7d8b9c; font-size: 13px; }
.news-card h3 { margin: 2px 0 0; font-size: 15px; line-height: 1.25; font-weight: 800; }

.sheet { padding: 24px 0 40px; }
.sheet h1 { margin: 0 0 14px; font-size: 36px; letter-spacing: -0.04em; }
.form-card, .tariff, .pay-card { padding: 16px; }
.form-card { display: grid; gap: 12px; }
label, legend { font-weight: 700; }
fieldset { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px; }
input, textarea {
  width: 100%; margin-top: 6px; border: 1px solid var(--line); background: #fff;
  border-radius: 12px; min-height: 46px; padding: 10px 12px;
}
textarea { min-height: 110px; }
.radio input, .check input { width: auto; min-height: 0; margin: 0 6px 0 0; }
.check { display: grid; grid-template-columns: 22px 1fr; gap: 8px; font-weight: 500; align-items: start; }
.tariffs, .pay-grid { display: grid; gap: 10px; }
.price { font-weight: 800; margin: 4px 0; }
.tariff h2, .pay-card strong { margin: 0; font-size: 18px; }
.tariff p:last-child, .pay-card span { margin: 0; color: #3d5670; }
.pay-card { text-align: left; cursor: pointer; display: flex; flex-direction: column; gap: 4px; width: 100%; }
.requisites { margin-top: 16px; }

.site-footer { background: #0a3051; color: #f4efe6; padding: 22px 0 16px; }
.footer-top { display: flex; flex-wrap: wrap; gap: 14px 18px; align-items: center; }
.brand.light { color: #fff; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.footer-nav a { color: #fff; text-decoration: none; font-weight: 700; font-size: 14px; }
.soc { display: flex; gap: 8px; margin-left: auto; }
.soc span {
  width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(255,255,255,.4);
  display: grid; place-items: center; font-size: 12px; font-weight: 800; color: #fff;
}
.soc svg { width: 16px; height: 16px; stroke: #fff; }
.legal { margin-top: 14px; font-size: 13px; color: rgba(244, 239, 230, 0.82); text-align: center; }
.legal p { margin: 0; }

.nav-list, .footer-list { display: flex; gap: 16px; list-style: none; margin: 0; padding: 0; align-items: center; flex-wrap: wrap; }
.nav-list a, .footer-list a { text-decoration: none; font-weight: 700; }
.nav-list li:first-child a { background: var(--gold); color: var(--ink); border-radius: 999px; padding: 7px 12px; }
.notice { margin: 0 0 12px; padding: 12px 14px; border-radius: 12px; font-weight: 800; }
.notice.ok { background: var(--gold); }
.notice.bad { background: #fff; border: 1px solid var(--ink); }
.nav.is-open .nav-list { flex-direction: column; align-items: flex-start; }

@media (max-width: 767px) {
  .wrap, .hero, .hero-grid, .hero-copy { min-width: 0; max-width: 100%; }
  .note { white-space: normal; }
}

@media (min-width: 768px) {
  br.narrow { display: none; }
  :root { --pad: 28px; --max: 1200px; }
  h1 { font-size: 72px; }
  h2 { font-size: 36px; }
  .nav-toggle { display: none; }
  .nav, .nav.is-open {
    display: flex; flex-direction: row; position: static; background: transparent;
    padding: 0; border: 0; margin-left: auto; align-items: center; gap: 18px;
  }
  .hero-grid { grid-template-columns: 1.05fr 0.95fr; align-items: center; gap: 20px; }
  .perks { display: flex; flex-wrap: wrap; align-items: center; gap: 0; }
  .perks li + li { border-left: 1px solid rgba(5, 46, 77, 0.16); margin-left: 14px; padding-left: 14px; }
  .points.split { grid-template-columns: 1fr 1fr; grid-template-rows: repeat(4, auto); grid-auto-flow: column; column-gap: 18px; }
  .cards { grid-template-columns: repeat(3, 1fr); }
  .slide { grid-template-columns: 0.9fr 1.1fr; align-items: center; padding: 22px 22px 58px; }
  .slide img { grid-column: 1 / -1; max-height: 220px; }
  .points { grid-template-columns: 1fr 1fr; column-gap: 16px; }
  .steps { grid-template-columns: 1fr auto 1fr auto 1fr; align-items: center; }
  .chev { display: block; font-size: 26px; text-align: center; color: #9aa8b5; }
  .faq { grid-template-columns: 1fr 1fr; gap: 8px 16px; align-items: start; }
  .news-grid { grid-template-columns: 1fr; }
  .tariffs { grid-template-columns: 1fr 1fr; }
  .pay-grid { grid-template-columns: repeat(3, 1fr); }
  .form-card { grid-template-columns: 1fr 1fr; }
  .wide, .check, fieldset, #send { grid-column: 1 / -1; }
  .footer-top { flex-wrap: nowrap; }
  .footer-nav { flex: 1; }
}

@media (min-width: 1100px) {
  :root { --max: 1328px; --pad: 56px; }
  .header-inner { min-height: 78px; }
  .mark { width: 48px; height: 50px; }
  .word { font-size: 22px; }
  .hero { padding: 4px 0 0; }
  .hero-grid { grid-template-columns: 0.98fr 1.02fr; gap: 12px; align-items: center; }
  .shelf { display: flex; justify-content: flex-end; }
  .shelf img { width: auto; height: 460px; max-width: 100%; }
  h1 { font-size: 84px; }
  .lead { font-size: 26px; margin: 10px 0 14px; }
  .note { margin-top: 12px; font-size: 13px; }
  .perks { margin-top: 18px; flex-wrap: nowrap; }
  .perks li { font-size: 13px; align-items: flex-start; }
  .perks svg { width: 26px; height: 26px; margin-top: 1px; }
  .pills { left: 0; top: 5%; bottom: 7%; max-width: none; }
  .pills li { font-size: 13px; padding: 6px 14px; }
  h2 { font-size: 40px; margin-bottom: 16px; }
  .cards { grid-template-columns: repeat(5, 1fr); gap: 14px; }
  .card { min-height: 148px; padding: 18px 12px 16px; font-size: 15px; }
  .card svg { width: 44px; height: 44px; }
  .slide {
    grid-template-columns: 0.72fr 1.15fr 0.95fr;
    min-height: 280px;
    padding: 22px 22px 58px;
    gap: 8px 22px;
    align-items: center;
  }
  .slide img { grid-column: auto; max-height: 268px; width: 100%; align-self: center; }
  .slide-copy {
    align-self: stretch;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-right: 1px solid rgba(5, 46, 77, 0.12);
    padding-right: 18px;
  }
  .steps { margin-top: 4px; }
  .step { min-height: 58px; padding: 12px 16px; border-radius: 18px; }
  .setup { padding: 2px 0 0; }
  .setup-row { min-height: 62px; border-radius: 14px; font-size: 16px; letter-spacing: 0.06em; }
  details { padding: 14px 16px; margin-bottom: 12px; }
  .news-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .news-card { grid-template-columns: 156px 1fr; min-height: 140px; padding: 10px; }
  .news-card img { width: 156px; height: 120px; }
  .news-card h3 { font-size: 16px; }
  .pay-grid { grid-template-columns: repeat(5, 1fr); }
  .tariffs { grid-template-columns: repeat(3, 1fr); }
  section { padding: 16px 0; }
  #uznaete { padding-top: 10px; }
  #otvety { padding-top: 8px; padding-bottom: 10px; }
  #kak { padding-top: 12px; padding-bottom: 8px; }
  #voprosy { padding-top: 22px; }
  #novosti { padding-top: 22px; padding-bottom: 28px; }
  .site-footer { padding: 48px 0 36px; }
  .legal { margin-top: 22px; }
}
