@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap');

/*
 * ЦИФРА — версия 5.1.
 * Единая современная типографика, новый фирменный знак и цельная система маскота.
 */

body,
body.home-page,
body.tariffs-page,
body:not(.tariffs-page) {
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif !important;
}


body h1,
body h2,
body h3,
body h4,
body button,
body input,
body textarea,
body select {
  font-family: inherit !important;
}

body h1,
body h2,
body h3,
body h4 {
  text-wrap: balance;
}

.site-header .nav {
  gap: 20px !important;
  font-size: 15px !important;
}

.site-header .nav a[aria-current="page"] {
  color: var(--v3-ink) !important;
}

.site-header .nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.burger-contacts {
  max-height: calc(100vh - 96px);
  overflow-y: auto;
}

.burger-page-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0 0 18px;
}

.burger-page-links a {
  display: grid;
  place-items: center start;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid rgba(20, 62, 70, 0.08);
  border-radius: 14px;
  background: #f5faf9;
  color: var(--v3-ink) !important;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.3;
}

.burger-page-links a[href="protection.html"] {
  background: #e8f7f6;
  color: var(--v3-teal-dark) !important;
}

/* Новый логотип в единой шапке всех страниц */
.site-header .brand-logo {
  display: flex !important;
  align-items: center;
  gap: 14px;
  min-width: 326px;
  color: var(--v3-ink);
  text-decoration: none;
}

.site-header .brand-logo-art {
  width: 180px;
  height: 42px;
  flex: 0 0 180px;
  display: block;
  overflow: hidden;
  background-image: url("assets/cifra-logo-sheet.jpg");
  background-repeat: no-repeat;
  background-size: 293px 195px;
  background-position: -58px -47px;
  mix-blend-mode: multiply;
}

.site-header .brand-logo small {
  display: block;
  padding-left: 14px;
  border-left: 1px solid rgba(20, 62, 70, 0.13);
  color: var(--v3-ink-soft);
  font-size: 10px !important;
  font-weight: 650 !important;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

/* Главная: спокойная современная типографика и новая ключевая иллюстрация */
body.home-page .hero {
  grid-template-columns: minmax(0, 1fr) minmax(470px, 0.98fr) !important;
  gap: 60px !important;
  min-height: 660px !important;
  padding-top: 72px !important;
  padding-bottom: 66px !important;
}

body.home-page .hero h1 {
  max-width: 690px;
  font-size: clamp(53px, 5.15vw, 76px) !important;
  font-weight: 760 !important;
  line-height: 0.99 !important;
  letter-spacing: -0.058em !important;
}

body.home-page .hero .lead {
  max-width: 640px;
  color: var(--v3-ink-soft);
  font-size: 18px;
  line-height: 1.55;
}

body.home-page .hero .lead b {
  font-weight: 650;
}

body.home-page .mascot-hero,
body.home-page .mascot-hero-frame {
  min-height: 500px !important;
  height: 500px;
}

body.home-page .mascot-hero-frame {
  border-color: rgba(20, 62, 70, 0.1);
  background: #fbfcff;
  box-shadow: 0 22px 60px rgba(18, 45, 51, 0.075);
}

body.home-page .mascot-hero-frame > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 48%;
  filter: saturate(0.96) contrast(0.99) !important;
}

body.home-page .mascot-hero-caption {
  display: none !important;
}

/* Услуги: единый персонаж и индивидуальная мысль для каждой страницы */
body:not(.home-page):not(.tariffs-page) .service-mascot-card {
  isolation: isolate;
  position: relative;
  background:
    radial-gradient(circle at 82% 16%, rgba(119, 215, 216, 0.13), transparent 12rem),
    linear-gradient(145deg, #f9fcfc, #fff) !important;
}

body:not(.home-page):not(.tariffs-page) .service-mascot-card img {
  width: 100%;
  height: 100%;
  padding: 0 !important;
  object-fit: cover !important;
  object-position: center 47% !important;
  opacity: 1 !important;
  filter: saturate(0.95) contrast(0.99) !important;
  transform: none;
}

body:not(.home-page):not(.tariffs-page) .service-mascot-card:hover img {
  transform: scale(1.012);
}

.mascot-thought {
  position: absolute;
  top: 24px;
  left: 22px;
  z-index: 4;
  width: min(250px, calc(100% - 44px));
  display: grid;
  gap: 4px;
  padding: 15px 18px;
  border: 1px solid rgba(255, 255, 255, 0.88);
  border-radius: 28px 28px 12px 28px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 16px 36px rgba(15, 46, 56, 0.1);
  backdrop-filter: blur(18px) saturate(120%);
  -webkit-backdrop-filter: blur(18px) saturate(120%);
}

.mascot-thought::before,
.mascot-thought::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 8px 18px rgba(15, 46, 56, 0.08);
}

.mascot-thought::before {
  right: 30px;
  bottom: -17px;
  width: 14px;
  height: 14px;
}

.mascot-thought::after {
  right: 19px;
  bottom: -28px;
  width: 7px;
  height: 7px;
}

.mascot-thought small {
  color: var(--v3-teal-dark);
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.mascot-thought strong {
  color: var(--v3-ink);
  font-size: 15px;
  font-weight: 720;
  line-height: 1.35;
  letter-spacing: -0.025em;
}

/* Калькулятор: маскот и преимущества работают как одна композиция */
body.tariffs-page .tariff-hero {
  grid-template-columns: minmax(0, 1.18fr) minmax(400px, 0.82fr) !important;
  gap: 58px !important;
  align-items: center !important;
}

body.tariffs-page .tariff-hero h1 {
  font-weight: 760 !important;
  letter-spacing: -0.055em !important;
}

body.tariffs-page .tariff-hero-assistant {
  position: relative;
  min-height: 514px;
  display: grid;
  grid-template-rows: 390px auto;
  gap: 12px;
  align-self: center;
}

body.tariffs-page .tariff-mascot-frame {
  position: relative;
  inset: auto;
  height: 390px;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 20px 54px rgba(18, 45, 51, 0.075);
}

body.tariffs-page .tariff-mascot-frame > img {
  object-fit: cover;
  object-position: center 43%;
  filter: saturate(0.95) contrast(0.99);
}

body.tariffs-page .tariff-mascot-frame > span {
  top: 17px;
  right: 17px;
  left: 17px;
  width: max-content;
  max-width: calc(100% - 34px);
  padding: 11px 14px;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.84);
}

body.tariffs-page .tariff-hero-assistant .tariff-hero-proof {
  position: static;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 8px;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

body.tariffs-page .tariff-hero-assistant .tariff-hero-proof > div,
body.tariffs-page .tariff-hero-assistant .tariff-hero-proof > div:first-child,
body.tariffs-page .tariff-hero-assistant .tariff-hero-proof > div:last-child {
  display: grid;
  grid-template-columns: 1fr;
  align-content: start;
  gap: 5px;
  min-height: 96px;
  padding: 13px !important;
  border: 1px solid var(--v3-line) !important;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.76);
}

body.tariffs-page .tariff-hero-assistant .tariff-hero-proof > div > span {
  color: var(--v3-teal-dark);
  font-size: 9px;
  font-weight: 800;
}

body.tariffs-page .tariff-hero-assistant .tariff-hero-proof p {
  gap: 3px;
}

body.tariffs-page .tariff-hero-assistant .tariff-hero-proof b {
  font-size: 11px;
  line-height: 1.3;
}

body.tariffs-page .tariff-hero-assistant .tariff-hero-proof small {
  font-size: 9px;
  line-height: 1.35;
}

body.tariffs-page .cc-mascot-helper {
  grid-template-columns: 78px minmax(0, 1fr);
  gap: 14px;
  margin: -6px 0 22px;
  padding: 11px 14px 11px 11px;
  border-color: rgba(113, 216, 214, 0.25);
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(233, 249, 248, 0.98), rgba(255, 255, 255, 0.92));
}

body.tariffs-page .cc-mascot-helper img {
  width: 78px;
  height: 78px;
  object-position: center 14%;
  border-radius: 19px;
}

body.tariffs-page .cc-mascot-helper b {
  color: #163940;
  font-size: 13px;
  line-height: 1.35;
}

body.tariffs-page .cc-mascot-helper small {
  color: #668087;
  font-size: 10px;
  line-height: 1.45;
}

/* Окно заявки: крупный персонаж является частью левой колонки */
.application-modal-panel {
  grid-template-columns: minmax(300px, 0.9fr) minmax(420px, 1.1fr);
  gap: 40px;
}

.application-modal-intro {
  min-height: 480px;
  justify-content: flex-start;
  padding: 34px 0 0;
  overflow: hidden;
}

.application-modal-intro h2 {
  font-weight: 760;
  letter-spacing: -0.055em;
}

.application-modal-phone {
  z-index: 3;
}

.application-modal-mascot {
  position: static;
  width: 235px;
  height: auto;
  margin: -14px -26px -82px auto;
  mix-blend-mode: multiply;
  pointer-events: none;
}

@media (max-width: 1220px) {
  .site-header .brand-logo {
    min-width: 280px;
  }

  .site-header .brand-logo-art {
    width: 180px;
    flex-basis: 180px;
  }

  .site-header .brand-logo small {
    padding-left: 10px;
    font-size: 9px !important;
  }
}

@media (max-width: 1080px) {
  body.home-page .hero {
    grid-template-columns: 1fr !important;
    gap: 42px !important;
  }

  body.home-page .mascot-hero {
    width: min(100%, 760px);
    margin-inline: auto;
  }

  body.tariffs-page .tariff-hero {
    grid-template-columns: 1fr !important;
  }

  body.tariffs-page .tariff-hero-assistant {
    width: min(100%, 760px);
    min-height: 540px;
    grid-template-rows: 420px auto;
    margin-inline: auto;
  }

  body.tariffs-page .tariff-mascot-frame {
    height: 420px;
  }
}

@media (max-width: 760px) {
  .site-header .brand-logo {
    min-width: 0;
    gap: 0;
  }

  .site-header .brand-logo-art {
    width: 180px;
    flex-basis: 180px;
  }

  .site-header .brand-logo small {
    display: none;
  }

  body.home-page .hero {
    min-height: auto !important;
    padding-top: 46px !important;
    padding-bottom: 48px !important;
  }

  body.home-page .hero h1 {
    font-size: clamp(43px, 12.5vw, 58px) !important;
  }

  body.home-page .mascot-hero,
  body.home-page .mascot-hero-frame {
    min-height: 410px !important;
    height: 410px;
  }

  .mascot-thought {
    top: 15px;
    left: 14px;
    width: min(230px, calc(100% - 28px));
    padding: 13px 15px;
  }

  .mascot-thought strong {
    font-size: 14px;
  }

  body.tariffs-page .tariff-hero-assistant {
    min-height: 495px;
    grid-template-rows: 370px auto;
  }

  body.tariffs-page .tariff-mascot-frame {
    height: 370px;
  }

  body.tariffs-page .tariff-hero-assistant .tariff-hero-proof > div,
  body.tariffs-page .tariff-hero-assistant .tariff-hero-proof > div:first-child,
  body.tariffs-page .tariff-hero-assistant .tariff-hero-proof > div:last-child {
    min-height: 86px;
    padding: 10px !important;
  }

  body.tariffs-page .tariff-hero-assistant .tariff-hero-proof small {
    display: none;
  }

  .application-modal-panel {
    grid-template-columns: 1fr;
  }

  .application-modal-intro {
    position: relative;
    min-height: 225px;
    justify-content: center;
    padding: 0 145px 0 0;
  }

  .application-modal-mascot {
    position: absolute;
    right: -2px;
    bottom: -28px;
    width: 138px;
    margin: 0;
  }
}

@media (max-width: 520px) {
  .site-header .brand-logo-art {
    width: 180px;
    flex-basis: 180px;
  }

  body.home-page .mascot-hero,
  body.home-page .mascot-hero-frame {
    min-height: 330px !important;
    height: 330px;
  }

  body.home-page .mascot-hero-frame > img {
    object-position: center 46%;
  }

  body:not(.home-page):not(.tariffs-page) .service-mascot-card {
    height: 340px !important;
  }

  body.tariffs-page .tariff-hero-assistant {
    min-height: 450px;
    grid-template-rows: 330px auto;
  }

  body.tariffs-page .tariff-mascot-frame {
    height: 330px;
  }

  body.tariffs-page .cc-mascot-helper {
    grid-template-columns: 68px minmax(0, 1fr);
  }

  body.tariffs-page .cc-mascot-helper img {
    width: 68px;
    height: 68px;
  }

  .application-modal-intro {
    min-height: auto;
    padding: 0;
    overflow: visible;
  }

  .application-modal-mascot {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  body:not(.home-page):not(.tariffs-page) .service-mascot-card img,
  body.home-page .mascot-hero-frame > img {
    transition: none !important;
  }
}

/* ===== Проверка и защита бизнеса ===== */
body.protection-page {
  background:
    radial-gradient(circle at 92% 10%, rgba(119, 215, 216, 0.14), transparent 28rem),
    linear-gradient(180deg, #ffffff, #f6fbfa 42%, #ffffff);
}

.protection-page .protection-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(430px, 0.96fr);
  gap: 58px;
  align-items: center;
  min-height: 650px;
  padding-top: 66px;
  padding-bottom: 72px;
}

.protection-page .protection-hero::before {
  content: "";
  position: absolute;
  top: 26px;
  left: -7vw;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(244, 139, 112, 0.08);
  pointer-events: none;
}

.protection-page .protection-hero-copy {
  position: relative;
  z-index: 1;
}

.protection-page .protection-hero h1 {
  max-width: 760px;
  margin: 14px 0 24px;
  font-size: clamp(52px, 5.25vw, 76px);
  font-weight: 780;
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.protection-page .protection-hero h1 span {
  color: var(--v3-teal);
}

.protection-page .protection-lead {
  max-width: 650px;
  margin: 0;
  color: var(--v3-ink-soft);
  font-size: 18px;
  line-height: 1.62;
}

.protection-page .protection-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  margin-top: 32px;
}

.protection-page .protection-visual {
  position: relative;
  height: 520px;
  overflow: hidden;
  border: 1px solid rgba(20, 62, 70, 0.1);
  border-radius: 38px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(18, 45, 51, 0.09);
}

.protection-page .protection-visual > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 44%;
  filter: saturate(0.94) contrast(0.99);
}

.protection-page .protection-visual-note {
  position: absolute;
  top: 22px;
  right: 22px;
  left: 22px;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 16px 38px rgba(15, 46, 56, 0.1);
  backdrop-filter: blur(18px) saturate(120%);
  -webkit-backdrop-filter: blur(18px) saturate(120%);
}

.protection-page .protection-visual-note > span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: linear-gradient(145deg, #2bbfc1, #128995);
  color: #fff;
  font-weight: 800;
}

.protection-page .protection-visual-note b,
.protection-page .protection-visual-note small {
  display: block;
}

.protection-page .protection-visual-note b {
  color: var(--v3-ink);
  font-size: 14px;
  line-height: 1.25;
}

.protection-page .protection-visual-note small {
  margin-top: 3px;
  color: var(--v3-ink-soft);
  font-size: 10px;
  line-height: 1.4;
}

.protection-page .protection-quick {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 30px;
}

.protection-page .protection-quick > div {
  min-height: 98px;
  padding: 17px 16px;
  border: 1px solid rgba(20, 62, 70, 0.09);
  border-radius: 19px;
  background: rgba(255, 255, 255, 0.72);
}

.protection-page .protection-quick strong,
.protection-page .protection-quick span {
  display: block;
}

.protection-page .protection-quick strong {
  color: var(--v3-teal-dark);
  font-size: 20px;
  font-weight: 780;
  letter-spacing: -0.04em;
}

.protection-page .protection-quick span {
  margin-top: 6px;
  color: var(--v3-ink-soft);
  font-size: 11px;
  line-height: 1.4;
}

.protection-page .protection-services {
  padding-top: 76px;
  padding-bottom: 84px;
}

.protection-page .protection-section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.6fr);
  gap: 44px;
  align-items: end;
  margin-bottom: 32px;
}

.protection-page .protection-section-head h2 {
  max-width: 780px;
  margin: 8px 0 0;
  font-size: clamp(38px, 4vw, 58px);
  font-weight: 760;
  line-height: 1.02;
  letter-spacing: -0.055em;
}

.protection-page .protection-section-head > p {
  margin: 0 0 4px;
  color: var(--v3-ink-soft);
  font-size: 15px;
  line-height: 1.65;
}

.protection-page .protection-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 18px;
}

.protection-page .protection-card {
  grid-column: span 6;
  position: relative;
  overflow: hidden;
  padding: 30px;
  border: 1px solid rgba(20, 62, 70, 0.1);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 50px rgba(18, 45, 51, 0.055);
}

.protection-page .protection-card-wide {
  grid-column: span 7;
}

.protection-page .protection-card-narrow {
  grid-column: span 5;
}

.protection-page .protection-card-full {
  grid-column: 1 / -1;
}

.protection-page .protection-card::after {
  content: attr(data-number);
  position: absolute;
  right: -8px;
  bottom: -42px;
  color: rgba(19, 151, 159, 0.055);
  font-size: 178px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.08em;
  pointer-events: none;
}

.protection-page .protection-card-head,
.protection-page .protection-card > * {
  position: relative;
  z-index: 1;
}

.protection-page .protection-card-head {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  margin-bottom: 20px;
}

.protection-page .protection-card-index {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: #e9f8f7;
  color: var(--v3-teal-dark);
  font-size: 13px;
  font-weight: 800;
}

.protection-page .protection-card h3 {
  margin: 2px 0 7px;
  font-size: clamp(24px, 2.1vw, 32px);
  font-weight: 760;
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.protection-page .protection-card-head p,
.protection-page .protection-card > p {
  margin: 0;
  color: var(--v3-ink-soft);
  font-size: 14px;
  line-height: 1.6;
}

.protection-page .protection-card h4 {
  margin: 22px 0 12px;
  color: var(--v3-ink);
  font-size: 12px;
  font-weight: 780;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.protection-page .protection-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.protection-page .protection-card-narrow .protection-list {
  grid-template-columns: 1fr;
}

.protection-page .protection-list li {
  position: relative;
  padding-left: 22px;
  color: #36535a;
  font-size: 12px;
  font-weight: 580;
  line-height: 1.5;
}

.protection-page .protection-list li::before {
  content: "✓";
  position: absolute;
  top: 1px;
  left: 0;
  color: var(--v3-teal);
  font-weight: 800;
}

.protection-page .protection-price {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  align-items: baseline;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid rgba(20, 62, 70, 0.1);
}

.protection-page .protection-price strong {
  color: var(--v3-ink);
  font-size: 25px;
  font-weight: 780;
  letter-spacing: -0.045em;
}

.protection-page .protection-price span {
  color: var(--v3-ink-soft);
  font-size: 11px;
  line-height: 1.45;
}

.protection-page .protection-card-accent {
  background:
    radial-gradient(circle at 96% 6%, rgba(255, 255, 255, 0.16), transparent 13rem),
    linear-gradient(145deg, #143d45, #0e3038);
  color: #fff;
}

.protection-page .protection-card-accent .protection-card-index {
  background: rgba(129, 224, 216, 0.14);
  color: #8ee1da;
}

.protection-page .protection-card-accent h3,
.protection-page .protection-card-accent h4,
.protection-page .protection-card-accent .protection-price strong {
  color: #fff;
}

.protection-page .protection-card-accent .protection-card-head p,
.protection-page .protection-card-accent > p,
.protection-page .protection-card-accent .protection-price span,
.protection-page .protection-card-accent .protection-list li {
  color: rgba(231, 246, 246, 0.72);
}

.protection-page .protection-card-accent .protection-price {
  border-color: rgba(255, 255, 255, 0.12);
}

.protection-page .protection-problems {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 0;
}

.protection-page .protection-problems span {
  padding: 8px 11px;
  border: 1px solid rgba(20, 62, 70, 0.09);
  border-radius: 999px;
  background: #f5faf9;
  color: #547078;
  font-size: 10px;
  font-weight: 650;
}

.protection-page .protection-callout {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 12px;
  margin-top: 22px;
  padding: 15px 16px;
  border-radius: 18px;
  background: #fff3ee;
  color: #68463f;
  font-size: 11px;
  line-height: 1.55;
}

.protection-page .protection-callout > span {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: #f3866d;
  color: #fff;
  font-weight: 800;
}

.protection-page .protection-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 20px;
}

.protection-page .protection-option {
  padding: 14px;
  border: 1px solid rgba(20, 62, 70, 0.09);
  border-radius: 17px;
  background: #f7fbfa;
}

.protection-page .protection-option b,
.protection-page .protection-option small {
  display: block;
}

.protection-page .protection-option b {
  color: var(--v3-ink);
  font-size: 12px;
  line-height: 1.4;
}

.protection-page .protection-option small {
  margin-top: 5px;
  color: var(--v3-ink-soft);
  font-size: 10px;
  line-height: 1.45;
}

.protection-page .protection-price-section {
  padding-top: 40px;
  padding-bottom: 82px;
}

.protection-page .protection-price-shell {
  display: grid;
  grid-template-columns: minmax(280px, 0.68fr) minmax(0, 1.32fr);
  gap: 34px;
  padding: 38px;
  border: 1px solid rgba(20, 62, 70, 0.1);
  border-radius: 34px;
  background: #fff;
  box-shadow: 0 20px 56px rgba(18, 45, 51, 0.055);
}

.protection-page .protection-price-copy h2 {
  margin: 9px 0 16px;
  font-size: clamp(34px, 3.7vw, 50px);
  font-weight: 760;
  line-height: 1.03;
  letter-spacing: -0.055em;
}

.protection-page .protection-price-copy p {
  margin: 0;
  color: var(--v3-ink-soft);
  font-size: 13px;
  line-height: 1.65;
}

.protection-page .protection-price-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.protection-page .protection-price-list li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid rgba(20, 62, 70, 0.09);
  color: #345159;
  font-size: 12px;
  font-weight: 600;
}

.protection-page .protection-price-list li:last-child {
  border-bottom: 0;
}

.protection-page .protection-price-list strong {
  color: var(--v3-ink);
  font-size: 13px;
  font-weight: 780;
  white-space: nowrap;
}

.protection-page .protection-final {
  padding-top: 16px;
  padding-bottom: 86px;
}

.protection-page .protection-final-card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 40px;
  align-items: center;
  padding: 44px 48px;
  border-radius: 34px;
  background:
    radial-gradient(circle at 88% 0%, rgba(133, 224, 216, 0.16), transparent 18rem),
    #10353d;
  color: #fff;
}

.protection-page .protection-final-card h2 {
  max-width: 780px;
  margin: 0 0 12px;
  color: #fff;
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 760;
  line-height: 1.03;
  letter-spacing: -0.055em;
}

.protection-page .protection-final-card p {
  max-width: 720px;
  margin: 0;
  color: rgba(231, 246, 246, 0.72);
  font-size: 14px;
  line-height: 1.6;
}

@media (max-width: 1180px) {
  .site-header .nav {
    gap: 15px !important;
    font-size: 13px !important;
  }

  .protection-page .protection-hero {
    grid-template-columns: minmax(0, 1fr) minmax(380px, 0.88fr);
    gap: 38px;
  }

  .protection-page .protection-card,
  .protection-page .protection-card-wide,
  .protection-page .protection-card-narrow {
    grid-column: span 6;
  }

  .protection-page .protection-card-full {
    grid-column: 1 / -1;
  }
}

@media (max-width: 920px) {
  .protection-page .protection-hero,
  .protection-page .protection-section-head,
  .protection-page .protection-price-shell {
    grid-template-columns: 1fr;
  }

  .protection-page .protection-hero {
    gap: 42px;
    padding-top: 52px;
  }

  .protection-page .protection-visual {
    width: min(100%, 720px);
    height: 480px;
    margin-inline: auto;
  }

  .protection-page .protection-section-head {
    gap: 16px;
    align-items: start;
  }

  .protection-page .protection-card,
  .protection-page .protection-card-wide,
  .protection-page .protection-card-narrow,
  .protection-page .protection-card-full {
    grid-column: 1 / -1;
  }

  .protection-page .protection-final-card {
    grid-template-columns: 1fr;
    gap: 26px;
  }
}

@media (max-width: 620px) {
  .protection-page .protection-hero h1 {
    font-size: clamp(42px, 12.5vw, 58px);
  }

  .protection-page .protection-lead {
    font-size: 16px;
  }

  .protection-page .protection-quick {
    grid-template-columns: 1fr;
  }

  .protection-page .protection-quick > div {
    min-height: 0;
  }

  .protection-page .protection-visual {
    height: 360px;
    border-radius: 27px;
  }

  .protection-page .protection-visual-note {
    top: 14px;
    right: 14px;
    left: 14px;
  }

  .protection-page .protection-services {
    padding-top: 56px;
  }

  .protection-page .protection-card {
    padding: 23px 20px;
    border-radius: 24px;
  }

  .protection-page .protection-card-head {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 11px;
  }

  .protection-page .protection-card-index {
    width: 42px;
    height: 42px;
    border-radius: 14px;
  }

  .protection-page .protection-list,
  .protection-page .protection-options {
    grid-template-columns: 1fr;
  }

  .protection-page .protection-price-shell {
    padding: 26px 21px;
    border-radius: 26px;
  }

  .protection-page .protection-price-list li {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .protection-page .protection-final-card {
    padding: 34px 25px;
    border-radius: 28px;
  }
}

/* ===== v5.9 — правки от 20.08: меню, калькулятор и сопровождение ФНС ===== */
body .burger::after,
body button.burger::after {
  content: none !important;
  display: none !important;
}

body .burger .burger-phone,
body button.burger .burger-phone {
  position: relative !important;
  top: auto !important;
  left: auto !important;
  display: block !important;
  width: 23px !important;
  height: 2px !important;
  border-radius: 999px !important;
  background: #159ca5 !important;
  color: transparent !important;
  font-size: 0 !important;
  line-height: 0 !important;
  transform: none !important;
  opacity: 1 !important;
  transition: background 180ms ease, transform 180ms ease !important;
}

body .burger .burger-phone::before,
body .burger .burger-phone::after,
body button.burger .burger-phone::before,
body button.burger .burger-phone::after {
  content: "";
  position: absolute;
  left: 0;
  width: 23px;
  height: 2px;
  border-radius: 999px;
  background: #159ca5;
  transition: transform 180ms ease, top 180ms ease, bottom 180ms ease;
}

body .burger .burger-phone::before,
body button.burger .burger-phone::before { top: -7px; }

body .burger .burger-phone::after,
body button.burger .burger-phone::after { bottom: -7px; }

body .burger.open .burger-phone,
body .burger.is-open .burger-phone,
body button.burger.open .burger-phone,
body button.burger.is-open .burger-phone {
  background: transparent !important;
}

body .burger.open .burger-phone::before,
body .burger.is-open .burger-phone::before,
body button.burger.open .burger-phone::before,
body button.burger.is-open .burger-phone::before {
  top: 0;
  transform: rotate(45deg);
}

body .burger.open .burger-phone::after,
body .burger.is-open .burger-phone::after,
body button.burger.open .burger-phone::after,
body button.burger.is-open .burger-phone::after {
  bottom: 0;
  transform: rotate(-45deg);
}

.protection-page .protection-external-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 14px;
  margin-top: 18px;
}

.protection-page .protection-external-grid h4 {
  margin: 0 0 11px;
}

.protection-page .protection-external-grid .protection-options {
  margin-top: 0;
}

.protection-page .protection-external-prices,
.protection-page .protection-external-includes {
  min-width: 0;
  padding: 17px;
  border: 1px solid rgba(20, 62, 70, .09);
  border-radius: 19px;
  background: linear-gradient(145deg, rgba(244, 251, 250, .92), rgba(255, 255, 255, .96));
}

.protection-page .protection-external-prices .protection-option {
  height: 100%;
  background: #fff;
}

.protection-page .protection-external-prices small {
  display: grid;
  gap: 7px;
}

.protection-page .protection-external-prices small span {
  display: block;
}

.protection-page .protection-external-includes .protection-list {
  grid-template-columns: 1fr;
  gap: 10px;
}

body.tariffs-page .tariff-mascot-frame > span {
  top: auto !important;
  right: 17px !important;
  bottom: 17px !important;
  left: 17px !important;
  width: auto !important;
  max-width: none !important;
  padding: 13px 16px !important;
  border: 1px solid rgba(21, 156, 165, .18) !important;
  border-radius: 17px !important;
  background: linear-gradient(135deg, rgba(233, 250, 249, .96), rgba(247, 252, 252, .96)) !important;
  box-shadow: 0 12px 30px rgba(18, 65, 70, .10) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

body.tariffs-page .tariff-mascot-frame > span b {
  color: #14343c;
}

body.tariffs-page .tariff-mascot-frame > span small {
  color: #5d747b;
}

body.tariffs-page .premium-calculator {
  position: relative;
  isolation: isolate;
}

body.tariffs-page .premium-calculator > .premium-controls,
body.tariffs-page .premium-calculator > .premium-result {
  position: relative;
  z-index: 2;
}

body.tariffs-page .calculator-digits {
  position: absolute;
  left: 72px;
  bottom: 6px;
  z-index: 1;
  width: calc(62% - 140px);
  height: 132px;
  pointer-events: none;
  user-select: none;
}

body.tariffs-page .calculator-digits::before {
  content: "";
  position: absolute;
  inset: 22px 7% 17px 5%;
  border: 2px dashed rgba(21, 156, 165, .13);
  border-radius: 50%;
  transform: rotate(-8deg);
}

body.tariffs-page .calculator-digits span {
  position: absolute;
  display: block;
  font-family: Manrope, Inter, Arial, sans-serif;
  font-weight: 500;
  line-height: 1;
  opacity: .62;
}

body.tariffs-page .calculator-digits span:nth-child(1) { left: 5%; top: 13%; color: #a99ae1; font-size: 48px; transform: rotate(-8deg); }
body.tariffs-page .calculator-digits span:nth-child(2) { left: 24%; top: 1%; color: #6fd5d5; font-size: 30px; transform: rotate(8deg); }
body.tariffs-page .calculator-digits span:nth-child(3) { left: 43%; top: 19%; color: #f2a38f; font-size: 43px; transform: rotate(7deg); }
body.tariffs-page .calculator-digits span:nth-child(4) { left: 19%; bottom: 1%; color: #78d6d6; font-size: 38px; transform: rotate(7deg); }
body.tariffs-page .calculator-digits span:nth-child(5) { left: 58%; bottom: 7%; color: #f2b1a1; font-size: 54px; transform: rotate(-9deg); }
body.tariffs-page .calculator-digits span:nth-child(6) { right: 2%; bottom: 2%; color: #70d0d2; font-size: 45px; transform: rotate(6deg); }
body.tariffs-page .calculator-digits span:nth-child(7) { right: 8%; top: 0; color: #b9a9e6; font-size: 31px; transform: rotate(-7deg); }
body.tariffs-page .calculator-digits span:nth-child(8) { left: 2%; bottom: 8%; color: #efb5a6; font-size: 27px; transform: rotate(10deg); }

@media (max-width: 1080px) {
  body.tariffs-page .calculator-digits { display: none; }
}

@media (max-width: 760px) {
  .protection-page .protection-external-grid {
    grid-template-columns: 1fr;
  }
}


/* ===== Точечные правки по замечаниям Яны ===== */
.burger .burger-phone,
button.burger .burger-phone {
  position: static !important;
  width: auto !important;
  height: auto !important;
  display: block !important;
  background: none !important;
  color: #ef745c !important;
  font-size: 22px !important;
  line-height: 1 !important;
  transform: none !important;
  opacity: 1 !important;
}

.burger.is-open .burger-phone,
.burger.open .burger-phone,
button.burger.is-open .burger-phone,
button.burger.open .burger-phone {
  transform: none !important;
  opacity: 1 !important;
}

button.burger.open span.burger-phone:nth-child(1),
button.burger.is-open span.burger-phone:nth-child(1) {
  top: auto !important;
  left: auto !important;
  width: auto !important;
  height: auto !important;
  background: none !important;
  transform: none !important;
}

body.home-page .hero-promise {
  max-width: 650px;
  margin: -2px 0 23px;
  padding-left: 16px;
  border-left: 3px solid #ef745c;
  color: var(--v3-teal-dark);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.55;
}

body:not(.home-page):not(.tariffs-page) .service-mascot-card img {
  -webkit-user-drag: none;
  -webkit-user-select: none;
  user-select: none;
  pointer-events: none;
}

.mascot-thought {
  border-color: rgba(255, 255, 255, 0.34);
  background: linear-gradient(145deg, #f28667, #ef6f58);
  box-shadow: 0 18px 38px rgba(192, 84, 58, 0.2);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.mascot-thought::before,
.mascot-thought::after {
  border-color: rgba(255, 255, 255, 0.28);
  background: #f07a5f;
}

.mascot-thought small {
  color: #087b87;
}

.mascot-thought strong {
  color: #fff;
}

.audit-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.audit-options article {
  display: flex;
  flex-direction: column;
  min-height: 310px;
  padding: 24px;
  border: 1px solid var(--v3-line);
  border-radius: 20px;
  background: linear-gradient(160deg, #fff, #f7fcfb);
}

.audit-options article > span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 12px;
  background: var(--v3-teal-soft);
  color: var(--v3-teal-dark);
  font-size: 12px;
  font-weight: 800;
}

.audit-options h3 {
  margin: 0 0 12px;
  font-size: 22px;
}

.audit-options p {
  margin: 0 0 16px;
}

.audit-options strong {
  color: var(--v3-ink-soft);
  font-size: 13px;
  line-height: 1.55;
}

.audit-options b {
  margin-top: auto;
  padding-top: 20px;
  color: var(--v3-teal-dark);
  font-size: 22px;
}

body.tariffs-page .tariff-mascot-frame > img {
  object-fit: contain !important;
  object-position: center !important;
  background: #fff;
}

body.tariffs-page .tariff-mascot-frame > span {
  left: auto !important;
  right: 17px !important;
  width: 220px;
  max-width: calc(100% - 34px);
}

body.tariffs-page .premium-tariff-guide .tariff-page-card,
body.tariffs-page .premium-tariff-guide .tariff-page-card.is-selected,
body.tariffs-page .premium-tariff-guide .tariff-page-card.is-popular {
  border-color: rgba(113, 216, 214, 0.18) !important;
  background: #16323b !important;
  box-shadow: none !important;
}

body.tariffs-page .premium-tariff-guide .tariff-page-card:hover {
  border-color: rgba(113, 216, 214, 0.42) !important;
  background: #193942 !important;
}

body.tariffs-page .premium-tariff-guide .tariff-page-card .tariff-card-top small,
body.tariffs-page .premium-tariff-guide .tariff-page-card h3 {
  color: #fff !important;
}

body.tariffs-page .premium-tariff-guide .tariff-page-card .tariff-card-top span {
  color: #8fe1db !important;
  background: rgba(79, 189, 184, 0.12) !important;
  border: 1px solid rgba(143, 225, 219, 0.16);
}

body.tariffs-page .premium-tariff-guide .tariff-page-card h3 em,
body.tariffs-page .premium-tariff-guide .tariff-page-card > p,
body.tariffs-page .premium-tariff-guide .tariff-page-card ul {
  color: rgba(255, 255, 255, 0.68) !important;
}

body.tariffs-page .premium-tariff-guide .tariff-page-card li::before {
  color: #8fe1db !important;
}

body.tariffs-page .premium-tariff-guide .tariff-page-card > a {
  border-color: transparent !important;
  background: linear-gradient(135deg, #ef745c, #f28b70) !important;
  color: #fff !important;
}

body.tariffs-page .premium-tariff-guide .tariff-page-card > a:hover {
  border-color: transparent !important;
  background: linear-gradient(135deg, #159ea5, #087b87) !important;
}

.application-modal-panel {
  width: min(1180px, 100%);
  min-height: 620px;
  grid-template-columns: minmax(280px, 0.78fr) minmax(620px, 1.72fr);
  gap: 42px;
  padding: 44px;
  overflow: hidden;
  background:
    radial-gradient(circle at 9% 11%, rgba(119, 215, 216, 0.13), transparent 18rem),
    rgba(255, 255, 255, 0.97);
}

.application-modal-intro {
  position: static;
  min-height: 530px;
  padding: 0;
  overflow: visible;
  justify-content: flex-start;
}

.application-modal-brand {
  position: relative;
  z-index: 3;
  display: grid;
  gap: 12px;
  margin-bottom: 46px;
}

.application-modal-brand-art {
  width: 220px;
  height: 54px;
  display: block;
  background-image: url("assets/cifra-logo-sheet.jpg");
  background-repeat: no-repeat;
  background-size: 358px 238px;
  background-position: -71px -57px;
  mix-blend-mode: multiply;
}

.application-modal-brand > span:last-child {
  color: var(--v3-ink-soft);
  font-size: 14px;
  line-height: 1.45;
}

.application-modal-brand strong {
  color: #ef745c;
  font-weight: 750;
}

.application-modal-intro h2 {
  position: relative;
  z-index: 3;
  max-width: 290px;
  margin-bottom: 22px;
  font-size: clamp(42px, 4.4vw, 60px);
  line-height: 0.98;
}

.application-modal-intro > p {
  position: relative;
  z-index: 3;
  max-width: 290px;
}

.application-modal-contact {
  position: relative;
  left: auto;
  bottom: auto;
  z-index: 3;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  margin-top: auto;
}

.application-modal-contact > span {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(145deg, #2bbfc1, #128995);
  color: #fff;
  font-size: 20px;
}

.application-modal-contact div {
  display: grid;
  gap: 5px;
}

.application-modal-contact .application-modal-phone {
  margin: 0;
  font-size: 17px;
}

.application-modal-contact small {
  color: var(--v3-muted);
  font-size: 11px;
  line-height: 1.45;
}

.application-modal-intro > .application-modal-digits {
  position: absolute;
  top: 80px;
  right: auto;
  bottom: auto;
  left: 300px;
  width: 105px;
  height: 470px;
  z-index: 1;
  pointer-events: none;
}

.application-modal-digits span {
  position: absolute;
  color: rgba(130, 112, 207, 0.24);
  font-size: 48px;
  font-weight: 500;
}

.application-modal-digits span:nth-child(1) { top: -34px; right: 14px; font-size: 76px; }
.application-modal-digits span:nth-child(2) { top: 72px; left: 12px; }
.application-modal-digits span:nth-child(3) { top: 106px; right: -2px; color: rgba(239, 116, 92, 0.29); }
.application-modal-digits span:nth-child(4) { top: 190px; left: 40px; color: rgba(239, 116, 92, 0.28); font-size: 68px; }
.application-modal-digits span:nth-child(5) { top: 260px; right: 8px; color: rgba(40, 184, 187, 0.28); font-size: 64px; }
.application-modal-digits span:nth-child(6) { top: 340px; left: 25px; }
.application-modal-digits span:nth-child(7) { top: 410px; right: 22px; font-size: 34px; }
.application-modal-digits span:nth-child(8) { bottom: 12px; left: 70px; color: rgba(239, 116, 92, 0.26); }
.application-modal-digits span:nth-child(9) { bottom: -34px; right: 0; color: rgba(40, 184, 187, 0.3); font-size: 68px; }

.application-form {
  position: relative;
  z-index: 3;
  align-content: center;
  padding-right: 292px;
}

.application-modal-mascot {
  position: absolute;
  right: 10px;
  bottom: 8px;
  z-index: 2;
  width: 340px;
  height: auto;
  margin: 0;
  mix-blend-mode: normal;
  pointer-events: none;
}

@media (max-width: 980px) {
  .application-modal-panel {
    grid-template-columns: 1fr;
    gap: 26px;
    min-height: 0;
    padding: 40px 30px 30px;
    overflow: auto;
  }

  .application-modal-intro {
    min-height: auto;
    padding-right: 0;
  }

  .application-modal-brand {
    margin-bottom: 24px;
  }

  .application-modal-intro h2,
  .application-modal-intro > p {
    max-width: 100%;
  }

  .application-modal-contact {
    position: static;
    margin-top: 24px;
  }

  .application-form {
    padding-right: 0;
  }

  .application-modal-mascot {
    display: none;
  }

  .application-modal-digits {
    display: none;
  }
}

@media (max-width: 620px) {
  .audit-options {
    grid-template-columns: 1fr;
  }

  .application-modal-intro {
    padding-right: 0;
  }

  .application-modal-brand-art {
    width: 190px;
  }

  .application-modal-mascot {
    display: none;
  }
}

/* ===== Согласованные точечные правки, август 2026 ===== */
@media (min-width: 1051px) {
  .site-header {
    gap: clamp(14px, 1.4vw, 22px) !important;
    padding-right: clamp(32px, 4vw, 64px) !important;
    padding-left: clamp(32px, 4vw, 64px) !important;
  }

  .site-header .nav {
    flex: 1 1 560px;
    justify-content: space-between;
    max-width: 620px;
    gap: clamp(16px, 1.8vw, 32px) !important;
  }

  .site-header .nav a {
    white-space: nowrap;
  }

  .site-header .brand-logo {
    flex: 0 0 326px;
  }

  .site-header .top-contact {
    display: none !important;
  }
}

@media (min-width: 1051px) and (max-width: 1220px) {
  .site-header {
    padding-right: 32px !important;
    padding-left: 32px !important;
  }

  .site-header .header-apply {
    display: none;
  }

  .site-header .nav {
    max-width: none;
  }

  .site-header .brand-logo {
    flex-basis: 280px;
  }
}

.about-advantages .clean-list {
  gap: 8px;
}

.about-advantages .clean-list li {
  min-height: 44px;
  padding: 11px 12px 11px 40px;
  border: 1px solid rgba(20, 159, 165, 0.08);
  border-radius: 13px;
  background: linear-gradient(145deg, rgba(232, 248, 247, 0.82), rgba(255, 255, 255, 0.9));
  color: var(--v3-ink-soft);
  font-size: 14px;
  font-weight: 650;
  line-height: 1.35;
}

.about-advantages .clean-list li::before {
  top: 11px;
  left: 15px;
}

body.home-page #services .service-grid .service-tile {
  padding-bottom: 50px !important;
}

body.home-page #services .service-grid .service-tile::after {
  content: "Подробнее  →";
  right: 20px;
  bottom: 17px;
  color: rgba(var(--service-accent-rgb), 0.9);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 1;
  transform: none;
}

body.home-page #services .service-grid .service-tile:hover::after,
body.home-page #services .service-grid .service-tile:focus-visible::after {
  color: rgb(var(--service-accent-rgb));
  transform: translateX(3px);
}

.protection-options.protection-options-single {
  grid-template-columns: minmax(0, 420px);
}

body.tariffs-page .premium-tariff-guide .tariff-page-card:nth-child(1) {
  background: linear-gradient(155deg, #28545c, #1d4149) !important;
}

body.tariffs-page .premium-tariff-guide .tariff-page-card:nth-child(2) {
  border-color: rgba(143, 225, 219, 0.42) !important;
  background: linear-gradient(155deg, #146976, #153f4c) !important;
  box-shadow: 0 20px 48px rgba(16, 92, 103, 0.2) !important;
  transform: translateY(-8px);
}

body.tariffs-page .premium-tariff-guide .tariff-page-card:nth-child(3) {
  background: linear-gradient(155deg, #1c3548, #111f33) !important;
}

body.tariffs-page .premium-tariff-guide .tariff-page-card:nth-child(1):hover {
  background: linear-gradient(155deg, #2c5b64, #214851) !important;
}

body.tariffs-page .premium-tariff-guide .tariff-page-card:nth-child(2):hover {
  background: linear-gradient(155deg, #177582, #174754) !important;
  transform: translateY(-10px);
}

body.tariffs-page .premium-tariff-guide .tariff-page-card:nth-child(3):hover {
  background: linear-gradient(155deg, #203d52, #15263b) !important;
}

/* ===== Проверка бизнеса: цельная композиция и интегрированный маскот ===== */
body.protection-page .protection-hero {
  min-height: 610px;
  padding-top: 52px !important;
  padding-bottom: 30px !important;
}

.protection-page .protection-visual {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  align-items: end;
  height: 560px;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.protection-page .protection-visual > img {
  width: 100%;
  height: 500px;
  object-fit: contain;
  object-position: center bottom;
  filter: saturate(0.96) contrast(1.01);
  mix-blend-mode: multiply;
}

.protection-page .protection-visual-caption {
  justify-self: end;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 13px;
  align-items: center;
  width: min(100%, 455px);
  margin-top: -2px;
  padding: 15px 4px 0;
  border-top: 1px solid rgba(20, 159, 165, 0.22);
}

.protection-page .protection-visual-caption > span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 13px;
  background: linear-gradient(145deg, #29b8bc, #118792);
  box-shadow: 0 10px 24px rgba(17, 135, 146, 0.16);
  color: #fff;
  font-size: 17px;
  font-weight: 800;
}

.protection-page .protection-visual-caption p,
.protection-page .protection-visual-caption strong,
.protection-page .protection-visual-caption small {
  display: block;
  margin: 0;
}

.protection-page .protection-visual-caption strong {
  color: var(--v3-ink);
  font-size: 16px;
  line-height: 1.3;
}

.protection-page .protection-visual-caption small {
  margin-top: 3px;
  color: var(--v3-ink-soft);
  font-size: 12px;
  line-height: 1.45;
}

body.protection-page .protection-services {
  padding-top: 34px !important;
  padding-bottom: 60px !important;
}

.protection-page .protection-section-head {
  margin-bottom: 22px;
}

.protection-page .protection-grid {
  gap: 12px;
  padding: 12px;
  border: 1px solid rgba(20, 62, 70, 0.08);
  border-radius: 34px;
  background:
    radial-gradient(circle at 5% 4%, rgba(73, 197, 194, 0.08), transparent 19rem),
    linear-gradient(145deg, rgba(244, 250, 249, 0.92), rgba(255, 255, 255, 0.88));
  box-shadow: 0 22px 64px rgba(18, 45, 51, 0.05);
}

.protection-page .protection-card,
.protection-page .protection-card-wide,
.protection-page .protection-card-narrow {
  grid-column: span 6;
  padding: 25px;
  border-radius: 24px;
  box-shadow: 0 10px 28px rgba(18, 45, 51, 0.04);
}

.protection-page .protection-card-full {
  grid-column: 1 / -1;
}

.protection-page .protection-card-head {
  margin-bottom: 16px;
}

.protection-page .protection-card h4 {
  margin-top: 18px;
}

.protection-page .protection-card-narrow .protection-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.protection-page .protection-price {
  margin-top: 20px;
  padding-top: 15px;
}

.protection-page .protection-callout {
  margin-top: 18px;
}

.protection-page .protection-options {
  margin-top: 16px;
}

@media (max-width: 920px) {
  body.protection-page .protection-hero {
    min-height: 0;
    padding-bottom: 30px !important;
  }

  .protection-page .protection-visual {
    height: 550px;
  }

  .protection-page .protection-card,
  .protection-page .protection-card-wide,
  .protection-page .protection-card-narrow,
  .protection-page .protection-card-full {
    grid-column: 1 / -1;
  }
}

@media (max-width: 620px) {
  .protection-page .protection-visual {
    height: 440px;
  }

  .protection-page .protection-visual > img {
    height: 375px;
  }

  .protection-page .protection-visual-caption {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 10px;
    padding-top: 12px;
  }

  .protection-page .protection-visual-caption > span {
    width: 34px;
    height: 34px;
    border-radius: 11px;
  }

  .protection-page .protection-visual-caption strong {
    font-size: 14px;
  }

  .protection-page .protection-visual-caption small {
    font-size: 11px;
  }

  body.protection-page .protection-services {
    padding-top: 30px !important;
  }

  .protection-page .protection-grid {
    gap: 9px;
    padding: 9px;
    border-radius: 27px;
  }

  .protection-page .protection-card,
  .protection-page .protection-card-wide,
  .protection-page .protection-card-narrow,
  .protection-page .protection-card-full {
    padding: 22px 19px;
    border-radius: 21px;
  }

  .protection-page .protection-card-narrow .protection-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 780px) {
  body.tariffs-page .premium-tariff-guide .tariff-page-card:nth-child(2),
  body.tariffs-page .premium-tariff-guide .tariff-page-card:nth-child(2):hover {
    transform: none;
  }
}

.application-modal {
  padding: 32px;
}

@media (min-width: 981px) {
  .application-modal-panel {
    width: min(1060px, 100%);
    min-height: 560px;
    grid-template-columns: minmax(260px, 0.78fr) minmax(560px, 1.72fr);
    gap: 32px;
    padding: 36px;
  }

  .application-modal-intro {
    min-height: 488px;
  }

  .application-modal-brand {
    margin-bottom: 28px;
  }

  .application-modal-intro h2 {
    max-width: 270px;
    margin-bottom: 18px;
    font-size: clamp(40px, 4vw, 52px);
  }

  .application-modal-intro > p {
    max-width: 270px;
  }

  .application-modal-contact {
    margin-top: 34px;
  }

  .application-modal-intro > .application-modal-digits {
    top: 62px;
    left: 268px;
    height: 420px;
  }

  .application-form {
    padding-right: 250px;
  }

  .application-modal-mascot {
    right: 8px;
    bottom: 4px;
    width: 305px;
  }
}

@media (max-width: 620px) {
  .application-modal {
    padding: 14px;
  }

  body.home-page #services .service-grid .service-tile {
    padding-bottom: 42px !important;
  }

  body.home-page #services .service-grid .service-tile::after {
    right: 16px;
    bottom: 13px;
  }
}

/* v5.9 final specificity layer */
body .burger::after,
body button.burger::after {
  content: none !important;
  display: none !important;
}

body .burger .burger-phone,
body button.burger .burger-phone,
body button.burger span.burger-phone:nth-child(1) {
  position: relative !important;
  top: auto !important;
  left: auto !important;
  display: block !important;
  width: 23px !important;
  height: 2px !important;
  border-radius: 999px !important;
  background: #159ca5 !important;
  color: transparent !important;
  font-size: 0 !important;
  line-height: 0 !important;
  transform: none !important;
  opacity: 1 !important;
}

body .burger .burger-phone::before,
body .burger .burger-phone::after,
body button.burger .burger-phone::before,
body button.burger .burger-phone::after {
  content: "";
  position: absolute;
  left: 0;
  width: 23px;
  height: 2px;
  border-radius: 999px;
  background: #159ca5;
  transition: transform 180ms ease, top 180ms ease, bottom 180ms ease;
}

body .burger .burger-phone::before,
body button.burger .burger-phone::before { top: -7px; }

body .burger .burger-phone::after,
body button.burger .burger-phone::after { bottom: -7px; }

body .burger.open .burger-phone,
body .burger.is-open .burger-phone,
body button.burger.open .burger-phone,
body button.burger.is-open .burger-phone {
  background: transparent !important;
}

body .burger.open .burger-phone::before,
body .burger.is-open .burger-phone::before,
body button.burger.open .burger-phone::before,
body button.burger.is-open .burger-phone::before {
  top: 0;
  transform: rotate(45deg);
}

body .burger.open .burger-phone::after,
body .burger.is-open .burger-phone::after,
body button.burger.open .burger-phone::after,
body button.burger.is-open .burger-phone::after {
  bottom: 0;
  transform: rotate(-45deg);
}

body.tariffs-page .tariff-mascot-frame > span {
  top: auto !important;
  right: 17px !important;
  bottom: 17px !important;
  left: 17px !important;
  width: auto !important;
  max-width: none !important;
  padding: 13px 16px !important;
  border: 1px solid rgba(21, 156, 165, .18) !important;
  border-radius: 17px !important;
  background: linear-gradient(135deg, rgba(233, 250, 249, .96), rgba(247, 252, 252, .96)) !important;
  box-shadow: 0 12px 30px rgba(18, 65, 70, .10) !important;
}

/* Финальная правка калькулятора: фирменная подпись и стабильная шапка */
body.tariffs-page .tariff-mascot-frame > span {
  border-color: rgba(217, 95, 73, .34) !important;
  background: linear-gradient(135deg, var(--v3-coral), #f48b70) !important;
  box-shadow: 0 14px 30px rgba(217, 95, 73, .22) !important;
}

body.tariffs-page .tariff-mascot-frame > span b {
  color: #fff !important;
}

body.tariffs-page .tariff-mascot-frame > span small {
  color: rgba(255, 255, 255, .86) !important;
}

@media (min-width: 1051px) {
  body.tariffs-page .site-header {
    padding-right: max(32px, calc((100vw - 1240px) / 2 + 32px)) !important;
    padding-left: max(32px, calc((100vw - 1240px) / 2 + 32px)) !important;
  }
}

/* Единая типографика навигации на всех страницах */
.site-header .nav {
  font-size: 13px !important;
  font-weight: 600 !important;
}

/* Надёжное мобильное меню поверх более ранних слоёв дизайн-системы */
@media (max-width: 1050px) {
  .site-header .nav.open {
    display: flex !important;
  }

  body.menu-open {
    overflow: hidden;
  }
}

/* Финальная геометрия кнопки меню: иконка строго по центру */
body .site-header .burger,
body .site-header button.burger {
  display: grid !important;
  place-items: center !important;
}

body .site-header .burger .burger-phone,
body .site-header button.burger .burger-phone,
body .site-header button.burger span.burger-phone:nth-child(1) {
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  margin: 0 !important;
  transform: translate(-50%, -50%) !important;
}

body .site-header .burger.open .burger-phone,
body .site-header .burger.is-open .burger-phone,
body .site-header button.burger.open .burger-phone,
body .site-header button.burger.is-open .burger-phone {
  transform: translate(-50%, -50%) !important;
}

/* Аккуратное мобильное меню и понятная подсветка текущего раздела */
@media (max-width: 1050px) {
  body .site-header .nav {
    position: absolute !important;
    top: calc(100% + 10px) !important;
    right: max(14px, env(safe-area-inset-right)) !important;
    left: max(14px, env(safe-area-inset-left)) !important;
    z-index: 30 !important;
    max-height: calc(100vh - 104px) !important;
    margin: 0 !important;
    padding: 12px !important;
    gap: 8px !important;
    overflow-y: auto !important;
    border: 1px solid rgba(21, 156, 165, .13) !important;
    border-radius: 20px !important;
    background: rgba(255, 255, 255, .98) !important;
    box-shadow: 0 20px 55px rgba(18, 55, 63, .16) !important;
    backdrop-filter: blur(18px) !important;
    -webkit-backdrop-filter: blur(18px) !important;
  }

  body .site-header .nav a {
    display: flex !important;
    align-items: center !important;
    min-height: 50px !important;
    padding: 13px 15px !important;
    border: 1px solid rgba(20, 62, 70, .07) !important;
    border-radius: 14px !important;
    background: #f8fbfb !important;
    color: var(--v3-ink-soft) !important;
    font-size: 14px !important;
    font-weight: 650 !important;
    line-height: 1.35 !important;
  }

  body .site-header .nav a::after {
    display: none !important;
    content: none !important;
  }

  body .site-header .nav a[aria-current="page"] {
    border-color: rgba(237, 111, 83, .30) !important;
    background: linear-gradient(135deg, rgba(255, 240, 235, .98), rgba(255, 249, 247, .98)) !important;
    color: var(--v3-ink) !important;
    font-weight: 800 !important;
    box-shadow: inset 4px 0 0 var(--v3-coral), 0 8px 20px rgba(217, 95, 73, .08) !important;
  }
}

@media (max-width: 430px) {
  body .site-header .nav {
    right: 10px !important;
    left: 10px !important;
    padding: 10px !important;
    border-radius: 18px !important;
  }
}

/* ===== Финальная мобильная версия: самостоятельная сетка и типографика ===== */

/* В открытом состоянии сохраняем привычную иконку-бургер. */
body .site-header .burger.open,
body .site-header .burger.is-open,
body .site-header button.burger.open,
body .site-header button.burger.is-open {
  border-color: rgba(21, 156, 165, .30) !important;
  background: rgba(235, 250, 249, .96) !important;
  box-shadow: 0 10px 28px rgba(21, 156, 165, .13) !important;
}

body .site-header .burger.open .burger-phone,
body .site-header .burger.is-open .burger-phone,
body .site-header button.burger.open .burger-phone,
body .site-header button.burger.is-open .burger-phone,
body .site-header button.burger.open span.burger-phone:nth-child(1),
body .site-header button.burger.is-open span.burger-phone:nth-child(1) {
  background: #159ca5 !important;
  transform: translate(-50%, -50%) !important;
}

body .site-header .burger.open .burger-phone::before,
body .site-header .burger.is-open .burger-phone::before,
body .site-header button.burger.open .burger-phone::before,
body .site-header button.burger.is-open .burger-phone::before {
  top: -7px !important;
  transform: none !important;
}

body .site-header .burger.open .burger-phone::after,
body .site-header .burger.is-open .burger-phone::after,
body .site-header button.burger.open .burger-phone::after,
body .site-header button.burger.is-open .burger-phone::after {
  bottom: -7px !important;
  transform: none !important;
}

@media (max-width: 760px) {
  :root {
    --mobile-gutter: 20px;
    --mobile-section-space: 42px;
    --mobile-card-radius: 22px;
  }

  html {
    scroll-padding-top: 82px;
  }

  body,
  body.home-page,
  body.tariffs-page,
  body.protection-page {
    overflow-x: hidden;
    font-size: 15px !important;
    line-height: 1.62 !important;
  }

  body .site-header {
    min-height: 68px !important;
    padding: 10px 16px !important;
    gap: 12px !important;
    border-bottom-color: rgba(17, 53, 61, .08) !important;
  }

  body .site-header .brand-logo {
    width: auto !important;
    min-width: 0 !important;
    flex: 1 1 auto !important;
    gap: 0 !important;
  }

  body .site-header .brand-logo-art {
    width: 174px !important;
    height: 42px !important;
    flex: 0 0 174px !important;
  }

  body .site-header .brand-logo small {
    display: none !important;
  }

  body .site-header .burger-wrap {
    flex: 0 0 auto !important;
    margin-left: auto !important;
  }

  body .site-header .burger,
  body .site-header button.burger {
    width: 46px !important;
    height: 46px !important;
    min-width: 46px !important;
    border-radius: 15px !important;
  }

  body .site-header .nav {
    top: calc(100% + 8px) !important;
    right: 12px !important;
    left: 12px !important;
    max-height: calc(100svh - 92px) !important;
    padding: 11px !important;
    gap: 8px !important;
  }

  body .site-header .nav a {
    min-height: 52px !important;
    padding: 14px 16px !important;
    font-size: 14px !important;
  }

  body main {
    width: 100%;
    min-width: 0;
  }

  body .section,
  body .hero,
  body .service-hero,
  body .service-layout,
  body .legal-page,
  body.protection-page .protection-hero,
  body.protection-page .protection-services,
  body.protection-page .protection-final,
  body.tariffs-page .tariff-hero,
  body.tariffs-page .compact-calc-section,
  body.tariffs-page .tariffs-page-list,
  body.tariffs-page .tariff-final-cta {
    width: 100% !important;
    max-width: none !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
    padding: var(--mobile-section-space) var(--mobile-gutter) !important;
  }

  body .hero,
  body .service-hero,
  body.protection-page .protection-hero,
  body.tariffs-page .tariff-hero {
    min-height: 0 !important;
    grid-template-columns: minmax(0, 1fr) !important;
    align-items: start !important;
    gap: 30px !important;
    padding-top: 38px !important;
    padding-bottom: 42px !important;
  }

  body .hero-copy,
  body .service-hero > div,
  body.protection-page .protection-hero-copy,
  body.tariffs-page .tariff-hero-copy {
    width: 100% !important;
    min-width: 0 !important;
  }

  body .breadcrumbs {
    margin: 0 0 24px !important;
    color: #87969c !important;
    font-size: 11px !important;
    line-height: 1.55 !important;
  }

  body .eyebrow {
    margin: 0 0 14px !important;
    font-size: 11px !important;
    line-height: 1.4 !important;
    letter-spacing: .12em !important;
  }

  body h1,
  body .hero h1,
  body .service-hero h1,
  body.protection-page .protection-hero h1,
  body.tariffs-page .tariff-hero h1,
  body .legal-page h1 {
    max-width: 100% !important;
    margin: 0 0 22px !important;
    font-size: clamp(34px, 10.4vw, 42px) !important;
    font-weight: 780 !important;
    line-height: 1.04 !important;
    letter-spacing: -.045em !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }

  body h2,
  body .content-card h2,
  body .side-card h2,
  body .section-head-row h2,
  body .cc-heading h2 {
    margin: 0 0 17px !important;
    font-size: clamp(26px, 7.5vw, 32px) !important;
    line-height: 1.1 !important;
    letter-spacing: -.035em !important;
  }

  body h3,
  body .content-card h3,
  body .side-card h3 {
    font-size: 19px !important;
    line-height: 1.25 !important;
  }

  body p,
  body .lead,
  body .protection-lead,
  body .tariff-hero-lead {
    max-width: 100% !important;
    font-size: 15px !important;
    line-height: 1.65 !important;
  }

  body .lead,
  body .protection-lead,
  body .tariff-hero-lead {
    margin: 0 0 24px !important;
    color: #5f7077 !important;
    font-size: 16px !important;
  }

  body.home-page .hero-promise {
    margin: 0 0 25px !important;
    padding: 2px 0 2px 16px !important;
    font-size: 15px !important;
    line-height: 1.55 !important;
  }

  body .check-list,
  body .clean-list,
  body .protection-list {
    margin: 22px 0 0 !important;
    padding: 0 !important;
    gap: 12px !important;
  }

  body .check-list li,
  body .clean-list li,
  body .protection-list li {
    min-height: 24px !important;
    padding-left: 29px !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
  }

  body .actions,
  body .protection-hero-actions {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    width: 100% !important;
    margin-top: 27px !important;
    gap: 10px !important;
  }

  body .actions .btn,
  body .protection-hero-actions .btn,
  body .tariff-hero-cta,
  body .service-cta .btn,
  body .tariff-final-cta .btn {
    width: 100% !important;
    min-height: 52px !important;
    padding: 14px 18px !important;
    border-radius: 15px !important;
    text-align: center !important;
  }

  body .actions .link-arrow,
  body .protection-hero-actions .link-arrow,
  body .page-link {
    display: inline-flex !important;
    align-items: center !important;
    min-height: 44px !important;
    padding: 6px 2px !important;
    font-size: 14px !important;
  }

  body .hero-visual,
  body .service-hero-img,
  body.protection-page .protection-visual,
  body.tariffs-page .tariff-hero-assistant {
    width: 100% !important;
    min-height: 0 !important;
    margin: 0 !important;
  }

  body .service-number {
    display: none !important;
  }

  body .service-layout {
    grid-template-columns: minmax(0, 1fr) !important;
    align-items: start !important;
    gap: 18px !important;
    padding-top: 0 !important;
  }

  body .service-layout > div {
    display: grid !important;
    min-width: 0 !important;
    gap: 16px !important;
  }

  body .content-card,
  body .side-card,
  body .simple-card,
  body .contact-card,
  body .contact-info,
  body .legal-page .content-card {
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 22px !important;
    border-radius: var(--mobile-card-radius) !important;
  }

  body .content-card p,
  body .side-card p,
  body .legal-page p {
    margin: 0 0 17px !important;
  }

  body .content-card > :last-child,
  body .side-card > :last-child,
  body .legal-page .content-card > :last-child {
    margin-bottom: 0 !important;
  }

  body .feature-grid,
  body .compare,
  body .trio,
  body .final-grid,
  body .review-grid,
  body .about-row,
  body.protection-page .protection-grid,
  body.protection-page .protection-external-grid,
  body.protection-page .protection-options,
  body.tariffs-page .tariff-page-grid {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 14px !important;
  }

  body .feature,
  body .compare-box,
  body .trio article,
  body .review-grid blockquote,
  body.protection-page .protection-card,
  body.protection-page .protection-option,
  body.tariffs-page .tariff-page-card {
    min-width: 0 !important;
    padding: 20px !important;
    border-radius: 20px !important;
  }

  body .audience-grid,
  body .about-icons {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }

  body .audience-grid > *,
  body .about-icons > * {
    min-width: 0 !important;
    padding: 14px 10px !important;
    font-size: 13px !important;
    line-height: 1.35 !important;
  }

  body .steps {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 10px !important;
  }

  body .steps article {
    display: grid !important;
    grid-template-columns: 48px minmax(0, 1fr) !important;
    column-gap: 14px !important;
    align-items: center !important;
    min-width: 0 !important;
    padding: 15px !important;
    border: 1px solid rgba(21, 156, 165, .10) !important;
    border-radius: 17px !important;
    background: rgba(250, 253, 253, .92) !important;
  }

  body .steps article::after {
    display: none !important;
  }

  body .steps article > b {
    grid-row: 1 / span 2 !important;
    font-size: 40px !important;
    line-height: 1 !important;
  }

  body .steps article h3,
  body .steps article p {
    grid-column: 2 !important;
    margin: 0 !important;
  }

  body .steps article p {
    margin-top: 4px !important;
    font-size: 13px !important;
    line-height: 1.45 !important;
  }

  body.home-page .service-grid {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 10px !important;
  }

  body.home-page .service-grid .service-tile {
    min-height: 92px !important;
    padding: 18px 54px 18px 18px !important;
    border-radius: 18px !important;
    text-align: left !important;
    place-items: center start !important;
  }

  body.home-page .trio article {
    align-items: center !important;
  }

  body.home-page .chaos-wrap {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 16px !important;
  }

  body.protection-page .protection-section-head {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 12px !important;
    margin-bottom: 24px !important;
  }

  body.protection-page .protection-card,
  body.protection-page .protection-card-wide,
  body.protection-page .protection-card-narrow,
  body.protection-page .protection-card-full {
    grid-column: 1 / -1 !important;
  }

  body.protection-page .protection-card h2 {
    font-size: 25px !important;
  }

  body.protection-page .protection-price {
    display: grid !important;
    gap: 8px !important;
    margin-top: 22px !important;
    padding-top: 18px !important;
  }

  body.protection-page .protection-final-card {
    padding: 26px 22px !important;
    border-radius: 24px !important;
  }

  body.tariffs-page .cc-heading {
    margin-bottom: 24px !important;
    text-align: left !important;
  }

  body.tariffs-page .cc-calculator {
    padding: 15px !important;
    border-radius: 22px !important;
  }

  body.tariffs-page .cc-controls,
  body.tariffs-page .cc-result,
  body.tariffs-page .cc-info-grid,
  body.tariffs-page .employee-counters {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 12px !important;
  }

  body.tariffs-page .calculator-step,
  body.tariffs-page .cc-price-card,
  body.tariffs-page .cc-info-card,
  body.tariffs-page .cc-breakdown {
    border-radius: 18px !important;
  }

  body.tariffs-page .calculator-step {
    padding: 17px !important;
  }

  body.tariffs-page .cc-segment {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 4px !important;
    border-radius: 16px !important;
  }

  body.tariffs-page .cc-segment button {
    min-height: 44px !important;
    border-radius: 12px !important;
  }

  body.tariffs-page .cc-price-card {
    min-height: 0 !important;
    padding: 23px 20px !important;
  }

  body.tariffs-page .cc-cta {
    width: 100% !important;
    justify-content: center !important;
  }

  body.tariffs-page .tariff-final-cta {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 18px !important;
  }

  body .legal-page {
    padding-top: 24px !important;
  }

  body .legal-page .content-card {
    padding: 24px 20px !important;
  }

  body:not(.home-page):not(.tariffs-page) .legal-page h1 {
    font-size: clamp(25px, 7.2vw, 29px) !important;
    overflow-wrap: normal !important;
  }

  body .legal-page h2 {
    margin-top: 26px !important;
    font-size: 23px !important;
  }

  body .faq details,
  body .service-faq details {
    padding: 15px 0 !important;
  }

  body .faq summary,
  body .service-faq summary {
    padding-right: 26px !important;
    font-size: 15px !important;
    line-height: 1.45 !important;
  }

  body .footer {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 28px !important;
    padding: 40px var(--mobile-gutter) !important;
  }

  body .footer > div,
  body .footer > nav {
    min-width: 0 !important;
    gap: 10px !important;
  }

  body .footer nav + nav,
  body .footer nav + div {
    padding-top: 22px !important;
    border-top: 1px solid rgba(255, 255, 255, .10) !important;
  }

  body .application-modal {
    align-items: end !important;
    padding: 10px !important;
  }

  body .application-modal-panel {
    width: 100% !important;
    max-height: calc(100svh - 20px) !important;
    padding: 22px 18px !important;
    border-radius: 24px !important;
  }
}

@media (max-width: 360px) {
  :root {
    --mobile-gutter: 16px;
    --mobile-section-space: 36px;
  }

  body .site-header {
    padding-right: 12px !important;
    padding-left: 12px !important;
  }

  body .site-header .brand-logo-art {
    width: 174px !important;
    flex-basis: 174px !important;
  }

  body h1,
  body .hero h1,
  body .service-hero h1,
  body.protection-page .protection-hero h1,
  body.tariffs-page .tariff-hero h1 {
    font-size: 33px !important;
  }

  body .audience-grid,
  body .about-icons {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  body .content-card,
  body .side-card,
  body .simple-card,
  body .contact-card,
  body .contact-info {
    padding: 19px !important;
  }

  body:not(.home-page):not(.tariffs-page) .legal-page h1 {
    font-size: 24px !important;
  }
}

/* v6.5 — неподвижная геометрия бургера в обоих состояниях. */
body .site-header .burger .burger-phone,
body .site-header button.burger .burger-phone,
body .site-header button.burger span.burger-phone:nth-child(1),
body .site-header .burger.open .burger-phone,
body .site-header .burger.is-open .burger-phone,
body .site-header button.burger.open .burger-phone,
body .site-header button.burger.is-open .burger-phone {
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  width: 24px !important;
  height: 2px !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: #159ca5 !important;
  box-shadow: 0 -7px 0 #159ca5, 0 7px 0 #159ca5 !important;
  color: transparent !important;
  font-size: 0 !important;
  line-height: 0 !important;
  opacity: 1 !important;
  transform: translate(-50%, -50%) !important;
  transition: none !important;
}

body .site-header .burger .burger-phone::before,
body .site-header .burger .burger-phone::after,
body .site-header button.burger .burger-phone::before,
body .site-header button.burger .burger-phone::after,
body .site-header .burger.open .burger-phone::before,
body .site-header .burger.open .burger-phone::after,
body .site-header .burger.is-open .burger-phone::before,
body .site-header .burger.is-open .burger-phone::after {
  content: none !important;
  display: none !important;
}

body .site-header .burger,
body .site-header button.burger,
body .site-header .burger:hover,
body .site-header .burger:focus,
body .site-header .burger:focus-visible,
body .site-header .burger.open,
body .site-header .burger.is-open,
body .site-header button.burger:hover,
body .site-header button.burger:focus,
body .site-header button.burger:focus-visible,
body .site-header button.burger.open,
body .site-header button.burger.is-open {
  transform: none !important;
}

@media (max-width: 1050px) {
  body.menu-open {
    overflow-x: hidden !important;
    overflow-y: auto !important;
  }
}

/* v6.8–6.9 — точечные правки цен, преимуществ и мобильной навигации. */
.protection-page .protection-external-prices small > span {
  font-size: 10px;
  line-height: 1.45;
}

.protection-page .protection-external-prices .protection-nowrap-price {
  display: inline !important;
  white-space: nowrap !important;
  word-break: keep-all;
}

.about-advantages .clean-list li {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  align-items: start;
  column-gap: 11px;
  padding: 11px 12px 11px 15px !important;
}

.about-advantages .clean-list li::before {
  content: none !important;
  display: none !important;
}

.about-advantages .about-advantage-check {
  display: block;
  width: 18px;
  color: var(--mint);
  font-size: 14px;
  font-weight: 900;
  line-height: 1.35;
  text-align: center;
}

.about-advantages .about-advantage-label {
  min-width: 0;
}

@media (max-width: 1050px) {
  body .site-header .nav a:nth-child(1) {
    --mobile-nav-accent: #159ca5;
    --mobile-nav-border: rgba(21, 156, 165, .24);
    --mobile-nav-bg: linear-gradient(135deg, rgba(226, 247, 246, .96), rgba(249, 253, 253, .98));
    --mobile-nav-active-bg: linear-gradient(135deg, rgba(211, 242, 240, .99), rgba(244, 252, 251, .99));
  }

  body .site-header .nav a:nth-child(2) {
    --mobile-nav-accent: #ef745c;
    --mobile-nav-border: rgba(239, 116, 92, .24);
    --mobile-nav-bg: linear-gradient(135deg, rgba(255, 238, 233, .96), rgba(255, 250, 248, .98));
    --mobile-nav-active-bg: linear-gradient(135deg, rgba(255, 226, 218, .99), rgba(255, 246, 243, .99));
  }

  body .site-header .nav a:nth-child(3) {
    --mobile-nav-accent: #d99a2b;
    --mobile-nav-border: rgba(217, 154, 43, .25);
    --mobile-nav-bg: linear-gradient(135deg, rgba(255, 247, 224, .96), rgba(255, 252, 244, .98));
    --mobile-nav-active-bg: linear-gradient(135deg, rgba(255, 238, 195, .99), rgba(255, 249, 232, .99));
  }

  body .site-header .nav a:nth-child(4) {
    --mobile-nav-accent: #8e79ca;
    --mobile-nav-border: rgba(142, 121, 202, .24);
    --mobile-nav-bg: linear-gradient(135deg, rgba(242, 238, 254, .96), rgba(251, 249, 255, .98));
    --mobile-nav-active-bg: linear-gradient(135deg, rgba(231, 224, 252, .99), rgba(248, 245, 255, .99));
  }

  body .site-header .nav a {
    border-color: var(--mobile-nav-border) !important;
    background: var(--mobile-nav-bg) !important;
  }

  body .site-header .nav a[aria-current="page"] {
    border-color: var(--mobile-nav-accent) !important;
    background: var(--mobile-nav-active-bg) !important;
    box-shadow: inset 4px 0 0 var(--mobile-nav-accent), 0 8px 20px rgba(17, 53, 61, .09) !important;
  }
}
