/* ────────────────────────────────────────────────────────────────
   SKTS · Mobile (≤ 720px)
   Перекрывает основной styles.css. Подключать ПОСЛЕ него.
   ──────────────────────────────────────────────────────────────── */

/* ─── burger button & mobile menu — общая видимость ─── */
.nav-burger {
  display: none;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1px solid var(--hairline-strong);
  position: relative;
  cursor: pointer;
  padding: 0;
  transition: border-color 0.2s, background 0.2s;
}
.nav-burger:hover { border-color: var(--accent); }
.nav-burger span {
  position: absolute;
  left: 9px;
  width: 20px;
  height: 1.5px;
  background: #fff;
  transition: transform 0.3s ease, opacity 0.2s ease;
}
.nav-burger span:nth-child(1) { top: 13px; }
.nav-burger span:nth-child(2) { top: 19px; }
.nav-burger span:nth-child(3) { top: 25px; }
body.menu-open .nav-burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
body.menu-open .nav-burger span:nth-child(2) { opacity: 0; }
body.menu-open .nav-burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 100;
  background: var(--bg);
  flex-direction: column;
  padding: 24px;
  opacity: 0;
  transform: translateY(-12px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}
body.menu-open .mobile-menu {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.mobile-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--hairline);
}
.mobile-menu-eyebrow {
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.mobile-menu-close {
  background: transparent;
  border: 0;
  color: #fff;
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mobile-menu-links {
  display: flex;
  flex-direction: column;
  padding: 24px 0;
  flex: 1;
}
.mobile-menu-links a {
  display: flex;
  align-items: baseline;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--hairline);
  font-family: var(--display);
  font-size: 26px;
  letter-spacing: -0.02em;
  color: #fff;
  line-height: 1;
}
.mobile-menu-links a .num {
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
  font-family: var(--body);
  min-width: 24px;
}
.mobile-menu-foot {
  padding-top: 24px;
  border-top: 1px solid var(--hairline);
}
.mobile-menu-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--accent);
  color: #000;
  padding: 20px 24px;
  font-family: var(--display);
  font-size: 14px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 24px;
}
.mobile-menu-cta .arr { font-family: var(--body); font-size: 18px; }
.mobile-menu-contacts {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.mobile-menu-contacts a {
  font-size: 14px;
  color: var(--text-dim);
  font-variant-numeric: tabular-nums;
}

@media (min-width: 721px) {
  .mobile-menu { display: none !important; }
}

/* ════════════════════════════════════════════════════════════════
   MOBILE BREAKPOINT — ≤ 720px
   ════════════════════════════════════════════════════════════════ */
@media (max-width: 720px) {

  /* Базовая типографика и контейнер */
  body { font-size: 15px; }
  .container { padding: 0 20px; }
  section { padding: 80px 0; }

  /* ─── NAV ─── */
  .nav {
    padding: 14px 20px;
    background: rgba(0,0,0,0.92);
    border-bottom: 1px solid var(--hairline);
  }
  .nav-brand svg { width: 28px; }
  .nav-brand .name { font-size: 11px; letter-spacing: 0.04em; }
  .nav-brand .name .dim { display: none; }
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-burger { display: block; }
  .mobile-menu { display: flex; }

  /* ─── HERO ─── */
  .hero {
    grid-template-columns: 1fr;
    padding: 104px 20px 56px;
    min-height: auto;
    gap: 40px;
  }
  .hero::before { background-size: 40px 40px; }
  .hero-meta { display: none; }
  .hero-text { width: 100% !important; }
  .hero-eyebrow {
    margin-bottom: 20px;
    font-size: 10px;
    letter-spacing: 0.05em;
    flex-wrap: wrap;
    gap: 10px;
  }
  .hero-eyebrow .pill { padding: 3px 8px; font-size: 10px; }
  .hero-eyebrow-line {
    display: block;
    line-height: 1.45 !important;
    height: auto !important;
    width: auto !important;
    flex-basis: 100%;
  }
  .hero h1 {
    font-size: 80px !important;
    line-height: 0.86 !important;
    width: auto !important;
    letter-spacing: -0.04em !important;
    margin-bottom: 24px;
  }
  .hero-sub {
    font-size: 20px !important;
    line-height: 1.2;
    width: auto !important;
    margin-bottom: 28px;
  }
  .hero-sub br { display: none; }
  .hero-lede {
    font-size: 14px;
    margin-bottom: 32px;
    max-width: 100%;
  }
  .hero-stats {
    grid-template-columns: 1fr 1fr 1fr;
    max-width: 100%;
  }
  .hero-stat { padding: 14px 8px 14px 0; }
  .hero-stat:not(:first-child) { padding-left: 12px; }
  .hero-stat .label { font-size: 9px; letter-spacing: 0.05em; margin-bottom: 4px; }
  .hero-stat .val { font-size: 20px; }
  .hero-stat .val .unit { font-size: 11px; }

  .hero-figure {
    min-height: 0;
    margin: 0 -20px;
  }
  .hero-figure img,
  .hero-figure video {
    min-height: 0;
    max-height: 70vh;
    width: 100%;
    object-position: 50% bottom;
  }

  /* ─── TICKER ─── */
  .ticker-track {
    gap: 40px;
    padding: 14px 0;
    font-size: 15px;
    animation-duration: 40s;
  }

  /* ─── SECTION SCAFFOLD ─── */
  section { padding: 72px 0; }
  .section-index {
    position: static;
    margin-bottom: 24px;
    font-size: 9px;
    letter-spacing: 0.06em;
  }
  .section-head {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 48px;
  }
  .section-head h2 {
    font-size: 44px;
    line-height: 0.95;
  }
  .section-head .lede {
    font-size: 15px;
    line-height: 1.55;
  }

  /* ─── ANATOMY ─── */
  .anatomy-row,
  .anatomy-row:nth-child(even) {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 48px 0;
  }
  .anatomy-row:nth-child(even) .anatomy-figure { order: 0; }
  .anatomy-figure {
    min-height: 320px;
  }
  .anatomy-figure .corner { width: 18px; height: 18px; }
  .anatomy-figure .corner.tl,
  .anatomy-figure .corner.tr { top: 10px; }
  .anatomy-figure .corner.bl,
  .anatomy-figure .corner.br { bottom: 10px; }
  .anatomy-figure .corner.tl,
  .anatomy-figure .corner.bl { left: 10px; }
  .anatomy-figure .corner.tr,
  .anatomy-figure .corner.br { right: 10px; }
  .anatomy-figure .tag {
    font-size: 9px;
    bottom: 10px;
    left: 10px;
    letter-spacing: 0.05em;
  }
  .anatomy-text { padding: 0; }
  .anatomy-text .idx { font-size: 12px; margin-bottom: 16px; }
  .anatomy-text h3 {
    font-size: 32px;
    margin-bottom: 18px;
  }
  .anatomy-text .lead {
    font-size: 15px;
    margin-bottom: 24px;
  }
  .anatomy-text .details > div { padding: 14px 0; padding-right: 10px; }
  .anatomy-text .details > div:nth-child(even) { padding-left: 14px; }
  .anatomy-text .details .v { font-size: 17px; }

  /* ─── CONFIGURATOR ─── */
  .config-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .config-controls .group { margin-bottom: 28px; }
  .config-controls .group-label { font-size: 10px; margin-bottom: 12px; }
  .dim-btn {
    padding: 11px 16px;
    font-size: 15px;
    min-width: 72px;
  }
  .config-readout {
    position: static;
    padding: 28px 20px;
  }
  .config-readout .article-num { font-size: 24px; margin-bottom: 24px; }
  .config-readout .silhouette {
    max-width: 200px;
    margin-bottom: 28px;
  }
  .config-readout .specs .v { font-size: 17px; }
  .config-readout .cta { padding: 16px; font-size: 13px; }

  /* ─── CONTENTS ─── */
  .contents-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .contents-row {
    grid-template-columns: 36px 1fr;
    grid-template-rows: auto auto;
    gap: 8px 16px;
    padding: 18px 0;
  }
  .contents-row .qty {
    grid-column: 2;
    grid-row: 2;
    font-size: 13px;
    color: var(--accent);
    text-align: left;
    margin-top: 4px;
  }
  .contents-row .title { font-size: 17px; }
  .contents-row .desc { font-size: 12px; }
  .contents-aside { position: static; padding: 24px 20px; }
  .contents-aside h4 { font-size: 18px; }
  .contents-aside .badge { padding: 12px 0; }
  .contents-aside .badge .v { font-size: 15px; }

  /* ─── DETAIL SHOT ─── */
  .detail-shot-inner {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .detail-shot-img {
    aspect-ratio: 4 / 3;
    min-height: 280px;
  }
  .detail-shot-img::after { display: none; }
  .detail-shot-text {
    padding: 48px 20px;
  }
  .detail-shot-text .big-num { font-size: 64px; margin-bottom: 12px; }
  .detail-shot-text h3 { font-size: 32px; margin-bottom: 20px; }
  .detail-shot-text p { font-size: 15px; }

  /* ─── APPLICATIONS ─── */
  .applications-grid {
    grid-template-columns: 1fr;
  }
  .app-cell {
    min-height: 0;
    padding: 28px 20px 32px;
  }
  .app-cell .idx { margin-bottom: 18px; font-size: 10px; }
  .app-cell h3 { font-size: 22px; margin-bottom: 14px; }
  .app-cell p { font-size: 13px; margin-bottom: 18px; }
  .applications-footnote { gap: 16px; padding-top: 20px; }
  .applications-footnote .note { font-size: 12px; }
  .applications-footnote .stamp { font-size: 10px; }

  /* ─── ABOUT ─── */
  .about { padding: 0; }
  .about-hero,
  .about-lede-row,
  .about-track {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 48px 0;
  }
  .about-hero { padding: 64px 0 40px; }
  .about-hero-marker {
    width: 48px;
    height: 1px;
    margin-bottom: 0;
  }
  .about-hero h2 { font-size: 56px; line-height: 0.9; }
  .about-lede-row { padding: 40px 0 56px; }
  .about-lede-meta {
    flex-direction: row;
    padding-top: 0;
    gap: 8px;
  }
  .about-lede-meta .meta-tick:first-child { width: 32px; }
  .about-lede-row .lede {
    font-size: 19px;
    line-height: 1.3;
  }
  .about-track {
    padding: 48px 0;
  }
  .about-track .track-num {
    font-size: 48px;
    line-height: 1;
  }
  .about-track .track-body h3 {
    font-size: 26px;
    margin: 0;
    line-height: 1.05;
  }
  .about-track .track-text { padding-top: 0; }
  .about-track .track-text p { font-size: 14px; line-height: 1.65; }

  /* ─── CTA / FORM ─── */
  .cta { padding: 80px 0 56px; }
  .cta-lead {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-bottom: 48px;
    margin-bottom: 48px;
  }
  .cta-lead .cta-mega {
    font-size: 56px;
    line-height: 0.92;
    margin-bottom: 24px;
  }
  .cta-sub {
    font-size: 14px;
    padding-top: 0;
  }
  .cta-sub-tick { margin-top: 9px; width: 24px; }

  .cta-form {
    padding: 24px 20px 20px;
    gap: 24px;
  }
  .cta-form-head { font-size: 9px; letter-spacing: 0.06em; }
  .cta-form-grid {
    grid-template-columns: 1fr;
    gap: 18px 20px;
  }
  .cta-field-label { font-size: 9px; }
  .cta-form input,
  .cta-form textarea {
    font-size: 16px; /* iOS no-zoom */
    padding: 6px 0 10px;
  }
  .cta-form-foot {
    grid-template-columns: 1fr;
    gap: 18px;
    padding-top: 20px;
  }
  .cta-consent-text { font-size: 11px; max-width: 100%; }
  .cta-submit {
    width: 100%;
    justify-content: center;
    padding: 16px 20px;
  }
  .cta-form-success { padding: 28px 20px; }
  .cta-form-success-title { font-size: 20px; }
  .cta-form-success-sub { font-size: 12px; }

  /* ─── CONTACTS + FOOTER ─── */
  .cta-contacts {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 32px 0;
    margin-bottom: 48px;
  }
  .cta-contact .label { margin-bottom: 6px; font-size: 9px; }
  .cta-contact .val { font-size: 20px; }

  .footer {
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
    padding-top: 28px;
  }
  .footer-brand svg { width: 40px; }
  .footer-brand .name { font-size: 12px; }
  .footer-brand .sub { font-size: 10px; }
  .footer-meta {
    text-align: left;
    font-size: 9px;
    letter-spacing: 0.05em;
  }
}

/* ─── EXTRA-SMALL (≤ 380px) ─── */
@media (max-width: 380px) {
  .hero h1 { font-size: 68px !important; }
  .hero-sub { font-size: 18px !important; }
  .section-head h2 { font-size: 38px; }
  .about-hero h2 { font-size: 48px; }
  .cta-lead .cta-mega { font-size: 48px; }
  .hero-stat .val { font-size: 17px; }
  .anatomy-text h3 { font-size: 28px; }
}
