:root {
  --navy: #18243a;
  --navy-soft: #43506a;
  --red: #e94356;
  --red-hover: #d32f43;
  --pink: #f7e9ed;
  --page: #f8f9fb;
  --white: #ffffff;
  --border: #e2e6ec;
  --muted: #657189;
  --container: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body { margin: 0; background: var(--page); color: var(--navy); font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; font-size: 16px; -webkit-font-smoothing: antialiased; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
.container { width: min(var(--container), calc(100% - 64px)); margin-inline: auto; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 4px; }
.skip-link { position: absolute; z-index: 1000; top: -70px; left: 16px; background: var(--navy); color: white; padding: 12px 16px; border-radius: 8px; }
.skip-link:focus { top: 16px; }

.site-header { position: relative; z-index: 10; border-bottom: 1px solid var(--border); background: rgba(255,255,255,.92); backdrop-filter: blur(10px); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 84px; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-mark { width: 56px; height: 56px; display: grid; place-items: center; background: #fff; border: 1px solid var(--border); border-radius: 14px; overflow: hidden; }
.brand-mark img { width: 49px; height: 49px; object-fit: contain; }
.brand-title { font-size: 18px; font-weight: 800; letter-spacing: -.5px; }
.brand-title span, .footer-brand span span { color: var(--red); }
.primary-nav { display: flex; align-items: center; gap: 30px; }
.primary-nav > a { color: var(--navy-soft); font-size: 14px; font-weight: 550; }
.primary-nav > a:hover { color: var(--navy); }
.nav-cta { padding: 12px 18px; border-radius: 999px; border: 1px solid var(--border); color: var(--navy) !important; }
.nav-cta:hover { border-color: #cdd4df; background: #fff; }
.menu-toggle { display: none; }

.hero { padding: 64px 0 58px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(360px, 430px); gap: 54px; align-items: start; }
.eyebrow, .section-label, .card-label { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: 1.2px; text-transform: uppercase; color: var(--red); }
/* Номера главных секций скрыты: акцент делаем на чистой типографике. */
.hero-copy::before, .section-intro::before { display: none; content: none; }
.hero h1 { font-size: clamp(42px, 6vw, 74px); line-height: 1.01; letter-spacing: -2.7px; margin: 0 0 22px; max-width: 11ch; }
.hero-description { max-width: 580px; font-size: 18px; line-height: 1.72; color: var(--muted); margin: 0; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; margin-top: 27px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border-radius: 999px; padding: 16px 24px; font-size: 15px; font-weight: 700; border: 0; transition: transform .18s ease, background .18s ease, box-shadow .18s ease; }
.button:hover { transform: translateY(-1px); }
.button-primary { background: var(--red); color: white; box-shadow: 0 12px 30px rgba(233,67,86,.22); }
.button-primary:hover { background: var(--red-hover); }
.hero-from { color: var(--muted); font-size: 14px; }
.hero-from strong { color: var(--navy); font-size: 18px; }
.hero-quiet { margin-top: 22px; color: #8993a3; font-size: 13px; }

.price-card { background: var(--white); border: 1px solid var(--border); border-radius: 24px; padding: 28px; box-shadow: 0 20px 45px rgba(24,36,58,.05); }
.card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }
.card-head h2 { font-size: 28px; line-height: 1.05; letter-spacing: -1px; margin: 10px 0 0; }
/* По предыдущим правкам мини-логотип в карточке не показываем; исходная разметка не изменена. */
.original-logo { display: none; }
.card-description { margin: 18px 0 24px; color: var(--muted); font-size: 14px; line-height: 1.75; }
.device-fieldset { border: 0; padding: 0; margin: 0 0 24px; }
.device-fieldset legend { padding: 0; margin-bottom: 14px; font-size: 13px; color: var(--muted); }
.device-options { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.device-option { position: relative; }
.device-option input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.device-option span { display: grid; place-items: center; min-height: 52px; border-radius: 14px; border: 1px solid var(--border); background: #fff; font-size: 16px; font-weight: 700; transition: border-color .18s ease, background .18s ease, color .18s ease, transform .18s ease; }
.device-option input:checked + span { background: var(--navy); border-color: var(--navy); color: white; transform: translateY(-1px); }
.device-option input:focus-visible + span { outline: 3px solid var(--red); outline-offset: 2px; }
.price-breakdown { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 18px 0; display: grid; gap: 13px; }
.price-breakdown > div, .price-total { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.price-breakdown span { color: var(--muted); font-size: 14px; }
.price-breakdown strong { font-size: 15px; font-weight: 700; white-space: nowrap; }
.price-total { padding: 22px 0; }
.price-total > span { color: var(--muted); font-size: 13px; }
.price-total output { font-weight: 800; font-size: 31px; letter-spacing: -1.3px; white-space: nowrap; }
.button-full { width: 100%; }
.checkout-help { color: #8993a3; font-size: 11px; text-align: center; margin: 13px 0 0; line-height: 1.5; }

.features-section { padding: 62px 0 66px; background: var(--white); border-top: 1px solid var(--border); }
.section-intro { margin-bottom: 26px; }
.section-intro-wide { max-width: 760px; }
.section-intro h2 { font-size: clamp(28px, 3.2vw, 40px); line-height: 1.18; letter-spacing: -1.35px; margin: 0; }
.section-description { margin: 12px 0 0; color: var(--muted); font-size: 15px; line-height: 1.7; }
.features-detailed-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.feature-panel { display: flex; flex-direction: column; min-width: 0; border: 1px solid var(--border); border-radius: 20px; background: #fff; padding: 26px; }
.feature-panel-primary { background: #fff9fa; }
.feature-icon { width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center; border-radius: 14px; margin-bottom: 17px; background: #fff1f3; color: var(--red); border: 1px solid #ffd8dd; }
.feature-icon svg { width: 22px; height: 22px; }
.feature-panel h3 { font-size: 21px; line-height: 1.3; letter-spacing: -.6px; margin: 0 0 15px; min-height: 2.6em; }
.feature-bullets { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; }
.feature-bullets li { position: relative; padding-left: 17px; color: var(--navy-soft); font-size: 14px; line-height: 1.67; }
.feature-bullets li::before { content: ""; position: absolute; left: 0; top: .72em; width: 7px; height: 7px; border-radius: 999px; background: var(--red); transform: translateY(-50%); }
.feature-bullets strong { color: var(--navy); }
.feature-bullets.compact { gap: 11px; }
.feature-note { margin: auto 0 0; font-size: 13px; line-height: 1.65; color: var(--muted); padding-top: 18px; border-top: 1px solid var(--border); }

/* Футер v15: компактная полноширинная полоса.
   Сохраняем перегородку и оба Telegram-контакта, уменьшаем высоту и отступы. */
.site-footer {
  width: 100%;
  margin: 0;
  padding: 0;
  background: linear-gradient(110deg, #14263d 0%, #0d1e30 100%);
  color: #fff;
  border-top: 1px solid rgba(255,255,255,.08);
}
.site-footer .footer-shell {
  width: min(1380px, calc(100% - 80px));
  max-width: none;
  margin-inline: auto;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.footer-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.65fr);
  align-items: stretch;
  min-height: 178px;
  padding: 20px 0 18px;
}
.footer-brand-area {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  padding: 0 26px 0 0;
}
.footer-brand-title { color: #fff; font-size: clamp(25px,2.8vw,32px); font-weight: 850; letter-spacing: -1.05px; line-height: 1.1; }
.footer-brand-title span { color: #f04459; }
.footer-slogan { margin: 5px 0 0; color: #f6f8fb; font-size: 14px; line-height: 1.4; }
.footer-brand-accent { width: 56px; height: 4px; background: #f04459; border-radius: 99px; margin-top: 9px; }
.footer-cat {
  margin: 10px 0 0;
  color: #f4f8ff;
  opacity: 1;
  font-size: 18px;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: .025em;
  text-shadow: 0 0 10px rgba(255,255,255,.08), 0 0 16px rgba(240, 68, 89, .14), 0 0 22px rgba(126, 175, 255, .16);
  font-family: "Segoe UI Symbol", "Noto Sans Symbols 2", "Noto Sans JP", "Arial Unicode MS", system-ui, sans-serif;
  text-rendering: optimizeLegibility;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
/* Вариант А: небольшие розовые акценты из выбранного рендера, без картинок и анимации. */
.footer-cat::before {
  content: "✳";
  color: #fb4c6b;
  font-size: .78em;
  font-weight: 700;
  transform: rotate(-18deg);
  text-shadow: 0 0 8px rgba(240,68,89,.26);
}
.footer-cat::after {
  content: "✧";
  color: #ff9fbc;
  font-size: 1.12em;
  line-height: 1;
  text-shadow: 0 0 7px rgba(240,68,89,.28);
}
.footer-copyright { color: #9baabd; font-size: 11px; line-height: 1.4; margin: auto 0 0; padding-top: 11px; }
.footer-contacts {
  border-left: 2px solid rgba(220,229,240,.64);
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  align-content: center;
  gap: 20px;
  padding: 2px 0 2px 38px;
  min-width: 0;
}
.footer-contact { min-width: 0; }
.footer-contact-title { color: #fff; margin: 0 0 9px; font-size: clamp(15px,1.6vw,18px); font-weight: 750; letter-spacing: -.25px; line-height: 1.25; }
.footer-contact-line { color: #fff; display: flex; align-items: center; gap: 8px; min-width: 0; }
.footer-contact-icon { color: #fff; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 26px; }
.footer-contact-icon svg { width: 26px; height: 26px; }
.footer-contact-handle { font-size: clamp(13px,1.3vw,15px); font-weight: 700; line-height: 1.35; overflow-wrap: anywhere; }
.footer-contact-description { margin: 7px 0 0; color: #a3b0c2; font-size: 12px; line-height: 1.45; }
a.footer-contact-line:hover .footer-contact-handle { color: #ff9eaa; }
a.footer-contact-line:focus-visible { outline: 2px solid #f04459; outline-offset: 5px; border-radius: 6px; }
@media (max-width: 1050px) {
  .site-footer .footer-shell { width: calc(100% - 56px); }
  .footer-content { grid-template-columns: minmax(0,.92fr) minmax(0,1.65fr); }
  .footer-brand-area { padding-right: 18px; }
  .footer-contacts { gap: 13px; padding-left: 24px; }
  .footer-contact-handle { font-size: 13px; }
  .footer-contact-description { font-size: 11px; }
}
@media (max-width: 760px) {
  .site-footer .footer-shell { width: calc(100% - 40px); }
  .footer-content { min-height: auto; grid-template-columns: 1fr; gap: 14px; padding: 21px 0 19px; }
  .footer-brand-area { padding-right: 0; }
  .footer-brand-title { font-size: 26px; }
  .footer-slogan { font-size: 14px; }
  .footer-cat { font-size: 17px; margin-top: 9px; }
  .footer-copyright { order: 3; margin-top: 2px; padding-top: 0; font-size: 11px; }
  .footer-contacts { padding: 15px 0 0; border-left: none; border-top: 1px solid rgba(220,229,240,.42); gap: 16px; align-content: initial; }
  .footer-contact-title { font-size: 15px; margin-bottom: 7px; }
  .footer-contact-description { margin-top: 6px; }
}
@media (max-width: 510px) {
  .footer-contacts { grid-template-columns: 1fr; gap: 12px; }
  .footer-contact { display: grid; grid-template-columns: minmax(0,145px) 1fr; align-items: center; column-gap: 8px; }
  .footer-contact-title { margin: 0; font-size: 14px; }
  .footer-contact-description { display: none; }
  .footer-contact-handle { font-size: 13px; }
  .footer-brand-accent { margin-top: 8px; }
  .footer-cat { font-size: 16px; margin-top: 8px; }
}
@media (max-width: 360px) {
  .footer-contact { grid-template-columns: minmax(0,126px) 1fr; }
  .footer-contact-icon { flex-basis: 22px; }
  .footer-contact-icon svg { width: 22px; height: 22px; }
  .footer-contact-handle { font-size: 12px; }
}

.checkout-dialog { width: min(440px, calc(100% - 28px)); max-height: calc(100% - 28px); border: 1px solid var(--border); background: white; border-radius: 18px; padding: 26px; color: var(--navy); box-shadow: 0 24px 80px rgba(10,20,35,.2); }
.checkout-dialog::backdrop { background: rgba(14,24,40,.63); }
.dialog-header { display: flex; align-items: center; justify-content: space-between; }
.dialog-eyebrow { color: var(--red); font-size: 11px; font-weight: 800; letter-spacing: 1.2px; }
.dialog-close { border: 0; background: transparent; font-size: 29px; line-height: 1; color: var(--muted); padding: 4px; }
.checkout-dialog h2 { font-size: 28px; letter-spacing: -1px; margin: 21px 0 12px; }
.checkout-dialog > p { font-weight: 750; margin: 0 0 15px; }
.dialog-info { border: 1px solid var(--border); border-radius: 10px; background: var(--page); font-size: 13px; line-height: 1.75; color: var(--muted); padding: 15px; margin: 20px 0; }

@media (max-width: 1040px) {
  .hero-grid { grid-template-columns: 1fr; gap: 34px; }
  .hero-copy { max-width: 680px; }
  .price-card { max-width: 570px; width: 100%; }
  .features-detailed-grid { grid-template-columns: 1fr; max-width: 710px; }
}
@media (max-width: 700px) {
  .container { width: min(var(--container), calc(100% - 36px)); }
  .header-inner { height: 72px; }
  .brand-title { font-size: 16px; }
  .brand-mark { width: 46px; height: 46px; }
  .brand-mark img { width: 40px; height: 40px; }
  .menu-toggle { display: flex; width: 42px; height: 42px; border: 1px solid var(--border); background: white; border-radius: 9px; flex-direction: column; justify-content: center; gap: 5px; padding: 11px; }
  .menu-toggle span { width: 100%; height: 2px; border-radius: 2px; background: var(--navy); }
  .primary-nav { display: none; position: absolute; top: 72px; left: 0; right: 0; background: white; box-shadow: 0 18px 28px rgba(24,36,58,.07); border-bottom: 1px solid var(--border); padding: 14px 18px 20px; flex-direction: column; align-items: stretch; gap: 0; }
  .site-header.menu-open .primary-nav { display: flex; }
  .primary-nav > a { font-size: 14px; padding: 12px 10px; }
  .primary-nav .nav-cta { margin-top: 8px; text-align: center; }
  .hero { padding: 46px 0 48px; }
  .hero h1 { font-size: clamp(38px, 9.5vw, 56px); letter-spacing: -1.8px; margin: 0 0 18px; }
  .hero-description { font-size: 15px; }
  .hero-actions { gap: 16px; margin-top: 24px; }
  .hero-quiet { font-size: 12px; }
  .price-card { padding: 23px; border-radius: 18px; }
  .original-logo { width: 104px; height: 56px; }
  .card-head h2 { font-size: 23px; }
  .features-section { padding: 48px 0 54px; }
  .section-intro { margin-bottom: 22px; }
  .feature-panel { padding: 23px; border-radius: 18px; }
  .feature-panel h3 { font-size: 19px; min-height: 0; margin-bottom: 12px; }
}
@media (max-width: 380px) {
  .card-head { gap: 12px; }
  .original-logo { width: 88px; }
  .price-card { padding: 19px; }
  .price-total output { font-size: 27px; }
  .device-options { gap: 7px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
