:root {
  --navy: #0f1f3d;
  --navy-mid: #1a3358;
  --gold: #c9a962;
  --gold-light: #e4d4a8;
  --cream: #f8f6f2;
  --cream-dark: #ebe6dc;
  --text: #2a3344;
  --text-muted: #5c6578;
  --white: #ffffff;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 24px 64px rgba(15, 31, 61, 0.12);
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Outfit", system-ui, sans-serif;
  --header-h: 64px;
  --dock-h: 62px;
  --footer-h: 32px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  max-width: 100%;
  height: auto;
  display: block;
}

.floating-tg svg,
.visitor-counter svg,
.vc-icon {
  display: inline-block;
  max-width: none;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

.container {
  width: min(1140px, 92vw);
  margin-inline: auto;
}

.eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.eyebrow--light {
  color: var(--gold-light);
}

.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  background: rgba(248, 246, 242, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(15, 31, 61, 0.06);
}

.header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.logo__mark {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  background: var(--navy);
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 10px;
}

.logo__text {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--navy);
}

.logo__text em {
  font-style: italic;
  color: var(--gold);
}

.nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s;
}

.nav a:hover {
  color: var(--navy);
}

.nav__cta {
  padding: 0.55rem 1.25rem;
  background: var(--navy);
  color: var(--white) !important;
  border-radius: 999px;
}

.nav__cta:hover {
  background: var(--navy-mid);
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.burger span {
  width: 24px;
  height: 2px;
  background: var(--navy);
  transition: transform 0.3s, opacity 0.3s;
}

.burger.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.burger.is-open span:nth-child(2) {
  opacity: 0;
}

.burger.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  position: relative;
  padding: calc(var(--header-h) + 4rem) 0 5rem;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 90% 20%, rgba(201, 169, 98, 0.15), transparent),
    radial-gradient(ellipse 60% 50% at 10% 80%, rgba(15, 31, 61, 0.08), transparent),
    linear-gradient(180deg, var(--cream) 0%, var(--cream-dark) 100%);
  z-index: 0;
}

.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 600;
  line-height: 1.1;
  color: var(--navy);
  margin-bottom: 1.25rem;
}

.hero h1 span {
  font-style: italic;
  color: var(--gold);
}

.hero__lead {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 32rem;
  margin-bottom: 2rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.75rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s, background 0.2s, border-color 0.2s;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--primary {
  background: var(--navy);
  color: var(--white);
}

.btn--primary:hover {
  background: var(--navy-mid);
}

.btn--ghost {
  border-color: var(--navy);
  color: var(--navy);
  background: transparent;
}

.btn--ghost:hover {
  background: var(--navy);
  color: var(--white);
}

.btn--lg {
  padding: 1rem 2rem;
  font-size: 1rem;
}

.btn--block {
  width: 100%;
}

.hero__stats {
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(15, 31, 61, 0.1);
}

.hero__stats li {
  display: flex;
  flex-direction: column;
}

.hero__stats strong {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.2;
}

.hero__stats span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.hero__visual {
  position: relative;
  min-height: 380px;
}

.hero-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid rgba(15, 31, 61, 0.06);
}

.hero-card--main {
  padding: 2rem;
  position: relative;
}

.hero-card__badge {
  display: inline-block;
  padding: 0.35rem 0.9rem;
  background: var(--navy);
  color: var(--gold);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 999px;
  margin-bottom: 1.5rem;
}

.hero-card__items {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.mini-item {
  width: 72px;
  height: 140px;
  border-radius: 36px 36px 12px 12px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 1rem;
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--white);
}

.mini-item--1 {
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-mid) 100%);
}

.mini-item--2 {
  background: linear-gradient(180deg, var(--gold) 0%, #a88b4a 100%);
  color: var(--navy);
  transform: translateY(-12px);
}

.mini-item--3 {
  background: linear-gradient(180deg, #2d4a6f 0%, var(--navy) 100%);
}

.hero-card--float {
  position: absolute;
  bottom: -1rem;
  left: -1rem;
  padding: 1.25rem 1.5rem;
  max-width: 200px;
}

.hero-card__label {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  display: block;
  margin-bottom: 0.75rem;
}

.swatches {
  display: flex;
  gap: 0.5rem;
}

.swatches span {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--c);
  border: 2px solid var(--white);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.trust {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.7);
  padding: 0.85rem 0;
}

.trust__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.trust__inner > p {
  font-size: 0.85rem;
}

.trust__logos {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.trust__logos span {
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.35);
}

.section {
  padding: 5rem 0;
}

.section--dark {
  background: var(--navy);
  color: var(--white);
}

.section--dark .section__desc,
.section--dark p {
  color: rgba(255, 255, 255, 0.75);
}

.section--cream {
  background: var(--cream-dark);
}

.section__head {
  max-width: 36rem;
  margin-bottom: 3rem;
}

.section__head--center {
  text-align: center;
  max-width: 32rem;
  margin-inline: auto;
  margin-bottom: 3rem;
}

.section__head h2,
.branding__text h2,
.cta-banner h2,
.contact__info h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 1rem;
}

.section--dark h2 {
  color: var(--white);
}

.section__desc {
  color: var(--text-muted);
}

.grid {
  display: grid;
  gap: 1.5rem;
}

.grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.75rem;
  border: 1px solid rgba(15, 31, 61, 0.06);
  transition: transform 0.25s, box-shadow 0.25s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.card__icon {
  font-size: 1.5rem;
  color: var(--gold);
  margin-bottom: 1rem;
}

.card h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.card__tags li {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.25rem 0.6rem;
  background: var(--cream);
  border-radius: 999px;
  color: var(--navy);
}

.card--accent {
  background: linear-gradient(145deg, var(--navy) 0%, var(--navy-mid) 100%);
  border: none;
}

.card--accent h3,
.card--accent p {
  color: var(--white);
}

.card--accent .card__icon {
  color: var(--gold-light);
}

.card__link {
  display: inline-block;
  margin-top: 0.5rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--gold);
}

.branding {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.checklist {
  margin-top: 1.5rem;
}

.checklist li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
}

.branding__gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.mock {
  aspect-ratio: 4/3;
  border-radius: var(--radius);
  display: flex;
  align-items: flex-end;
  padding: 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--white);
}

.mock span {
  background: rgba(0, 0, 0, 0.35);
  padding: 0.35rem 0.65rem;
  border-radius: 6px;
}

.mock--1 {
  background: linear-gradient(135deg, var(--navy-mid), var(--navy));
}

.mock--2 {
  background: linear-gradient(135deg, #d4c4a8, var(--gold));
  color: var(--navy);
}

.mock--3 {
  background: linear-gradient(135deg, #3d5a80, #2d4a6f);
}

.mock--4 {
  background: linear-gradient(135deg, #e8e4dc, #c5bfb3);
  color: var(--navy);
}

.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
  counter-reset: step;
}

.steps li {
  position: relative;
  padding-top: 0.5rem;
}

.steps__num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--gold);
  opacity: 0.5;
  display: block;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.steps h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--navy);
  margin-bottom: 0.35rem;
}

.steps p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.cta-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.cta-banner p {
  color: var(--text-muted);
  margin-top: 0.5rem;
}

.contact {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  align-items: start;
}

.contact__channels {
  margin-top: 1.5rem;
}

.contact__channels li {
  margin-bottom: 1rem;
}

.contact__channels strong {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 0.2rem;
}

.contact__channels a {
  color: var(--navy);
  font-weight: 500;
}

.contact__channels a:hover {
  color: var(--gold);
}

.form {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form__row {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form__row--full {
  grid-column: 1 / -1;
}

.form label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--navy);
}

.form input,
.form select,
.form textarea {
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 0.75rem 1rem;
  border: 1px solid var(--cream-dark);
  border-radius: 8px;
  background: var(--cream);
  transition: border-color 0.2s;
}

.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: none;
  border-color: var(--gold);
}

.form__note {
  grid-column: 1 / -1;
  font-size: 0.85rem;
  min-height: 1.25rem;
}

.form__note.is-success {
  color: #2d6a4f;
}

.form__note.is-error {
  color: #9b2226;
}

.footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.6);
  padding: 2rem 0;
}

.footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo--footer .logo__text {
  color: var(--white);
}

@media (max-width: 960px) {
  .hero__grid,
  .branding,
  .contact,
  .grid--3 {
    grid-template-columns: 1fr;
  }

  .steps {
    grid-template-columns: 1fr 1fr;
  }

  .hero__visual {
    min-height: 300px;
  }
}

/* Telegram desk */
.telegram-panel {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: center;
}

.telegram-panel__lead {
  color: var(--text-muted);
  margin: 0.75rem 0 1rem;
  max-width: 36rem;
}

.telegram-panel__list {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  display: grid;
  gap: 0.5rem;
  color: var(--text);
}

.telegram-panel__list li::before {
  content: "◆";
  color: var(--gold);
  margin-right: 0.5rem;
  font-size: 0.65rem;
  vertical-align: middle;
}

.telegram-panel__card {
  background: linear-gradient(145deg, var(--navy), var(--navy-mid));
  color: var(--cream);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: var(--shadow);
}

.telegram-panel__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy);
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.btn--tg::after {
  content: none;
}

/* Visitor counter (display) + hidden real via /sa-tracker.js */
.visitor-counter {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 90;
  max-width: min(220px, calc(100vw - 24px));
  overflow: hidden;
  background: rgba(248, 246, 242, 0.96);
  border: 1px solid rgba(15, 31, 61, 0.1);
  border-radius: var(--radius);
  padding: 12px 16px;
  box-shadow: 0 12px 36px rgba(15, 31, 61, 0.14);
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 188px;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.visitor-counter:hover {
  transform: translateY(-2px);
  border-color: var(--gold);
}

.vc-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.vc-row b {
  margin-left: auto;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--navy);
  transition: transform 0.25s ease;
}

.vc-row-online b {
  color: #1f7a4a;
}

.vc-row-today b {
  color: var(--navy-mid);
}

.vc-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #1f7a4a;
  box-shadow: 0 0 0 3px rgba(31, 122, 74, 0.2);
  animation: vcPulse 2s infinite;
  flex-shrink: 0;
}

.vc-icon {
  width: 1rem;
  height: 1rem;
  flex: 0 0 1rem;
  font-size: 0.85rem;
  line-height: 1;
  color: var(--gold);
  text-align: center;
}

.vc-bump b {
  transform: scale(1.12);
}

@keyframes vcPulse {
  0%,
  100% {
    box-shadow: 0 0 0 3px rgba(31, 122, 74, 0.2);
  }
  50% {
    box-shadow: 0 0 0 7px rgba(31, 122, 74, 0);
  }
}

.floating-tg {
  position: fixed;
  right: 20px;
  bottom: 118px;
  z-index: 91;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #229ed9;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 28px rgba(34, 158, 217, 0.45);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.floating-tg svg {
  width: 28px;
  height: 28px;
  max-width: 28px;
  max-height: 28px;
  flex-shrink: 0;
}

.floating-tg:hover {
  transform: translateY(-3px) scale(1.04);
  color: #fff;
  box-shadow: 0 14px 32px rgba(34, 158, 217, 0.5);
}

.floating-tg-bubble {
  position: absolute;
  right: calc(100% + 10px);
  top: 50%;
  transform: translateY(-50%);
  white-space: nowrap;
  background: var(--navy);
  color: var(--cream);
  font-size: 0.75rem;
  font-weight: 500;
  padding: 6px 10px;
  border-radius: 8px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.floating-tg:hover .floating-tg-bubble {
  opacity: 1;
}

/* Pricelist B2B */
.pl-meta {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

.pl-summary {
  max-width: 52rem;
  margin-bottom: 2rem;
  font-size: 0.95rem;
}

.pl-muted {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.pl-subhead {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--navy);
  margin: 2rem 0 1rem;
}

.pl-packages {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}

.pl-pack-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.25rem 1.35rem;
  box-shadow: var(--shadow);
  border: 1px solid rgba(15, 31, 61, 0.06);
}

.pl-stars {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.pl-pack-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--navy);
  margin-bottom: 0.35rem;
}

.pl-pack-items {
  margin: 0.75rem 0;
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--text-muted);
}

.pl-pack-items li {
  padding: 0.2rem 0;
  border-bottom: 1px solid rgba(15, 31, 61, 0.05);
}

.pl-kpi {
  font-size: 0.88rem;
  margin-top: 0.75rem;
}

.pl-accent {
  color: #1a6b45;
}

.pl-calc {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
  align-items: end;
  background: var(--white);
  padding: 1.25rem;
  border-radius: var(--radius);
  margin-bottom: 1rem;
}

.pl-calc label span {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}

.pl-calc input,
.pl-calc select {
  width: 100%;
  padding: 0.55rem 0.65rem;
  border: 1px solid rgba(15, 31, 61, 0.12);
  border-radius: 8px;
  font-family: inherit;
}

.pl-calc-result {
  grid-column: 1 / -1;
  font-size: 0.95rem;
  line-height: 1.5;
}

.pl-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.pl-tab {
  font-family: inherit;
  font-size: 0.8rem;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(15, 31, 61, 0.15);
  background: var(--white);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.pl-tab.is-active,
.pl-tab:hover {
  background: var(--navy);
  color: var(--cream);
  border-color: var(--navy);
}

.pl-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
  margin-bottom: 1.5rem;
}

.pl-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.pl-table th,
.pl-table td {
  padding: 0.65rem 0.75rem;
  text-align: left;
  border-bottom: 1px solid rgba(15, 31, 61, 0.06);
  vertical-align: top;
}

.pl-table th {
  background: var(--navy);
  color: var(--cream);
  font-weight: 500;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.pl-num {
  white-space: nowrap;
  text-align: right !important;
}

.pl-row--ok td:nth-child(5) {
  background: rgba(26, 107, 69, 0.06);
}

.pl-scenarios-wrap {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.pl-scenario {
  background: var(--white);
  padding: 1rem 1.15rem;
  border-radius: var(--radius);
  border-left: 3px solid var(--gold);
}

.pl-scenario h4 {
  font-size: 0.95rem;
  color: var(--navy);
  margin-bottom: 0.35rem;
}

.pl-disclaimer {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 1rem 0 1.25rem;
}

.pl-disclaimer a {
  text-decoration: underline;
  color: var(--navy-mid);
}

/* App shell — отдельные экраны вместо длинного скролла */
html.app-root,
body.app-shell {
  height: 100%;
  overflow: hidden;
}

body.app-shell {
  display: flex;
  flex-direction: column;
}

.app-main {
  flex: 1;
  min-height: 0;
  margin-top: var(--header-h);
  position: relative;
}

.view {
  position: absolute;
  inset: 0;
  display: none;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
}

.view.is-active {
  display: block;
  opacity: 1;
  pointer-events: auto;
}

.view__scroll {
  height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding-bottom: max(1rem, env(safe-area-inset-bottom));
}

.view__head {
  padding: 1.25rem 0 0.75rem;
}

.view__head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.35rem;
}

.view__lead {
  color: var(--text-muted);
  font-size: 0.95rem;
  max-width: 36rem;
}

.view__foot {
  padding: 1.25rem 0 2rem;
}

.nav--desktop a.is-active {
  color: var(--navy);
  box-shadow: inset 0 -2px 0 var(--gold);
}

.nav--drawer {
  display: none;
}

.app-dock {
  display: flex;
  align-items: stretch;
  justify-content: space-around;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 99;
  height: calc(var(--dock-h) + env(safe-area-inset-bottom));
  padding-bottom: env(safe-area-inset-bottom);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  border-top: 1px solid rgba(15, 31, 61, 0.08);
  box-shadow: 0 -8px 32px rgba(15, 31, 61, 0.06);
}

.app-dock__item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  font-size: 0.62rem;
  font-weight: 600;
  color: var(--text-muted);
  padding: 0.35rem 0.15rem;
  transition: color 0.2s;
  max-width: 5.5rem;
}

.app-dock__item.is-active {
  color: var(--navy);
}

.app-dock__item.is-active .app-dock__icon {
  background: var(--navy);
  color: var(--gold);
}

.app-dock__icon {
  width: 28px;
  height: 28px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 0.85rem;
  transition: background 0.2s, color 0.2s;
}

.footer--mini {
  display: none;
}

.hero.hero--compact {
  padding: 1.25rem 0 0.75rem;
  margin: 0;
}

.hero--compact .hero__visual {
  min-height: 220px;
}

.home-tiles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  padding: 1rem 0 1.5rem;
}

.home-tile {
  text-align: left;
  background: var(--white);
  border: 1px solid rgba(15, 31, 61, 0.08);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  font-family: inherit;
  color: inherit;
}

.home-tile:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.home-tile--accent {
  background: linear-gradient(145deg, var(--navy), var(--navy-mid));
  color: var(--white);
  border: none;
}

.home-tile--accent p {
  color: rgba(255, 255, 255, 0.75);
}

.home-tile__icon {
  font-size: 1.25rem;
  color: var(--gold);
  display: block;
  margin-bottom: 0.35rem;
}

.home-tile h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin-bottom: 0.2rem;
}

.home-tile p {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.grid--catalog {
  grid-template-columns: 1fr;
  padding-bottom: 0.5rem;
}

.subtabs {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 0.75rem;
  margin-bottom: 0.5rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.subtabs::-webkit-scrollbar {
  display: none;
}

.subtab {
  flex-shrink: 0;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(15, 31, 61, 0.12);
  background: var(--white);
  cursor: pointer;
  color: var(--text-muted);
}

.subtab.is-active {
  background: var(--navy);
  color: var(--cream);
  border-color: var(--navy);
}

.price-panel,
.about-panel {
  display: none;
}

.price-panel.is-active,
.about-panel.is-active {
  display: block;
}

.branding--stack {
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.branding--stack .branding__gallery {
  grid-template-columns: repeat(2, 1fr);
}

.steps--cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  counter-reset: none;
  list-style: none;
}

.steps--cards li {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1rem 1.15rem;
  border: 1px solid rgba(15, 31, 61, 0.06);
}

.contact-layout {
  display: grid;
  gap: 1rem;
  padding-bottom: 1.5rem;
}

.contact-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.15rem 1.25rem;
  border: 1px solid rgba(15, 31, 61, 0.06);
}

.contact-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--navy);
  margin-bottom: 0.35rem;
}

.btn--tg {
  background: #229ed9;
  color: #fff !important;
  margin-top: 0.5rem;
}

.card__link {
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  padding: 0;
}

.visitor-counter {
  bottom: calc(var(--dock-h) + 12px + env(safe-area-inset-bottom));
}

.floating-tg {
  bottom: calc(var(--dock-h) + 72px + env(safe-area-inset-bottom));
}

@media (min-width: 600px) {
  .home-tiles {
    grid-template-columns: repeat(4, 1fr);
  }

  .grid--catalog {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps--cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-layout {
    grid-template-columns: 1fr 1fr;
  }

  .contact-layout .form {
    grid-column: 1 / -1;
  }
}

@media (min-width: 900px) {
  :root {
    --dock-h: 0px;
    --header-h: 72px;
  }

  .app-dock {
    display: none;
  }

  .nav--desktop {
    display: flex;
  }

  .burger {
    display: none;
  }

  .hero--compact .hero__grid {
    grid-template-columns: 1.1fr 0.9fr;
  }

  .grid--catalog {
    grid-template-columns: repeat(3, 1fr);
  }

  .steps--cards {
    grid-template-columns: repeat(3, 1fr);
  }

  .contact-layout {
    grid-template-columns: 1fr 1fr 1.2fr;
    align-items: start;
  }

  .contact-layout .form {
    grid-column: auto;
    grid-row: 1 / span 2;
  }

  .pl-packages {
    grid-template-columns: repeat(2, 1fr);
  }

  .visitor-counter {
    bottom: 20px;
  }

  .floating-tg {
    bottom: 24px;
  }
}

@media (max-width: 899px) {
  .nav--desktop {
    display: none;
  }

  .burger {
    display: flex;
  }

  .nav--drawer {
    display: flex;
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    padding: 1.25rem 1.5rem;
    gap: 0.75rem;
    background: var(--cream);
    border-bottom: 1px solid rgba(15, 31, 61, 0.08);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s, opacity 0.3s;
    z-index: 98;
  }

  .nav--drawer.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
}

@media (max-width: 768px) {
  .hero__grid {
    grid-template-columns: 1fr;
  }

  .hero--compact .hero__visual {
    max-height: 200px;
    min-height: 160px;
  }

  .form {
    grid-template-columns: 1fr;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .cta-banner {
    flex-direction: column;
    align-items: flex-start;
  }

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

  .telegram-panel__card {
    display: none;
  }

  .visitor-counter {
    right: 12px;
    bottom: 12px;
    min-width: 160px;
    padding: 10px 12px;
  }

  .floating-tg {
    right: 12px;
    bottom: 100px;
    width: 50px;
    height: 50px;
  }

  .floating-tg-bubble {
    display: none;
  }
}
