
/* ═══════════════════════════════════════════════════════════
   MOBILE STYLES: 515 / 480 / 380
   Подключается после style.css с media="(max-width: 515px)"
═══════════════════════════════════════════════════════════ */

/* ─── 515px ──────────────────────────────────────────────── */
@media (max-width: 515px) {
  .hero__mockup {
    display: none !important;
  }

  .hero__grid {
    grid-template-columns: 1fr;
    gap: 0;
    text-align: center;
  }

  .hero__title {
    font-size: 32px;
    line-height: 1.08;
  }

  .section__title {
    font-size: 28px;
    line-height: 1.1;
  }

  .hero__subtitle {
    font-size: 14px;
    line-height: 1.5;
    max-width: 100%;
    margin-bottom: 28px;
  }

  .section__subtitle {
    font-size: 13px;
    line-height: 1.5;
  }

  .value-card h3,
  .feature-card h3,
  .demo-card h3 {
    font-size: 20px;
  }

  .process-step h3 {
    font-size: 20px;
  }

  .hero {
    min-height: auto;
    padding: 100px 0 60px;
  }

  .hero__orb {
    display: none !important;
  }

  .hero__actions {
    flex-direction: column;
    gap: 12px;
    margin-bottom: 32px;
  }

  .hero__actions .btn {
    width: 100%;
    min-height: 48px;
    font-size: 14px;
  }

  .hero__metrics {
    flex-direction: row;
    gap: 10px;
    justify-content: center;
  }

  .metric {
    padding: 14px 16px;
    border-radius: 16px;
    flex: 1;
    min-width: 0;
    max-width: 140px;
  }

  .metric__icon {
    font-size: 18px;
    margin-bottom: 6px;
  }

  .metric__value {
    font-size: 14px;
    line-height: 1.2;
  }

  .metric__label {
    font-size: 9px;
    letter-spacing: 0.06em;
  }

  .section {
    padding: 48px 0;
  }

  .container {
    width: min(100% - 24px, var(--container-max));
  }

  .section__header {
    margin-bottom: var(--sp-8);
  }

  .value-card,
  .feature-card,
  .process-step {
    padding: var(--sp-5);
    border-radius: var(--r-lg);
  }

  .value-card__icon,
  .feature-card__icon {
    width: 52px;
    height: 52px;
    font-size: 24px;
  }

  .value-card p,
  .feature-card p,
  .process-step p {
    font-size: 13px;
  }

  .process-step__num {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }

  .screens-grid .phone {
    width: 200px;
    height: 400px;
  }

  .screen-card {
    padding: var(--sp-4);
    width: min(100%, 260px);
  }

  .demo-card {
    padding: 28px 20px;
    border-radius: var(--r-xl);
  }

  .demo-card__icon {
    width: 72px;
    height: 72px;
    font-size: 12px;
  }

  .demo-card__chips {
    gap: 6px;
  }

  .demo-chip {
    font-size: 11px;
    padding: 5px 8px;
  }

  .contact__panel {
    padding: 20px;
    border-radius: var(--r-xl);
  }

  .form-field input,
  .form-field textarea {
    padding: 12px 14px;
    font-size: 15px;
  }

  .contact-item {
    padding: var(--sp-3);
  }

  .contact-item__icon {
    width: 36px;
    height: 36px;
  }

  .header__inner {
    min-height: 68px;
  }

  .logo__mark {
    width: 38px;
    height: 38px;
    font-size: 16px;
  }

  .logo__sub {
    max-width: 180px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .burger {
    width: 40px;
    height: 40px;
  }

  .burger span {
    width: 16px;
  }

  .mobile-nav {
    inset: 68px 12px auto;
    border-radius: var(--r-lg);
  }

  .footer__inner {
    gap: var(--sp-4);
  }

  .footer__brand {
    justify-content: center;
  }

  .footer__nav {
    gap: var(--sp-2) var(--sp-4);
  }

  .footer__nav a {
    font-size: 13px;
  }

  .footer__copy {
    font-size: 12px;
  }
}

/* ─── 480px ──────────────────────────────────────────────── */
@media (max-width: 480px) {
  .hero__title {
    font-size: 28px;
    line-height: 1.1;
    text-align: left;
  }

  .section__title {
    font-size: 26px;
    line-height: 1.12;
  }

  .hero__subtitle {
    font-size: 14px;
    margin-bottom: 24px;
    text-align: left;
  }

  .section__subtitle {
    font-size: 14px;
  }

  .value-card h3,
  .feature-card h3,
  .demo-card h3 {
    font-size: 18px;
  }

  .process-step h3 {
    font-size: 18px;
  }

  .hero {
    padding: 90px 0 52px;
  }

  .hero__actions {
    margin-bottom: 28px;
    width: 100%;
  }

  .hero__actions .btn {
    min-height: 46px;
    font-size: 13px;
  }

  .hero__metrics {
    gap: 8px;
    display: none;
  }

  .metric {
    padding: 12px 14px;
    border-radius: 14px;
    max-width: 120px;
  }

  .metric__icon {
    font-size: 16px;
    margin-bottom: 4px;
  }

  .metric__value {
    font-size: 13px;
  }

  .metric__label {
    font-size: 8px;
  }

  .section {
    padding: 44px 14px;
  }

  .container {
    width: min(100% - 20px, var(--container-max));
  }

  .section__header {
    margin-bottom: var(--sp-6);
  }

  .value-card,
  .feature-card,
  .process-step {
    padding: var(--sp-4);
    border-radius: var(--r-md);
    padding: 18px 20px 23px 25px !important;
  }

  .value-card__icon,
  .feature-card__icon {
    width: 48px;
    height: 48px;
    font-size: 22px;
    margin-bottom: var(--sp-3);
  }

  .value-card p,
  .feature-card p,
  .process-step p {
    font-size: 14px;
  }

  .process-step__num {
    width: 36px;
    height: 36px;
    font-size: 16px;
    margin-bottom: var(--sp-3);
  }

  .screens-grid .phone {
    width: 180px;
    height: 360px;
  }

  .screen-card {
    padding: var(--sp-3);
    width: min(100%, 240px);
  }

  .screen-card__caption {
    font-size: 12px;
  }

  .demo-card {
    padding: 24px 16px;
  }

  .demo-card__icon {
    width: 64px;
    height: 64px;
    margin-bottom: var(--sp-4);
  }

  .demo-card p {
    font-size: 13px;
  }

  .demo-card__chips {
    margin-top: var(--sp-4);
  }

  .demo-chip {
    font-size: 10px;
    padding: 4px 8px;
  }

  .contact__panel {
    padding: 16px;
    border-radius: var(--r-lg);
  }

  .form-field label {
    font-size: 11px;
    display: none;
  }

  .form-field input,
  .form-field textarea {
    padding: 11px 12px;
    border-radius: var(--r-md);
  }

  .btn {
    min-height: 46px;
  }

  .success-message {
    padding: var(--sp-6);
  }

  .success-message__icon {
    width: 48px;
    height: 48px;
    font-size: 20px;
  }

  .contact-item {
    padding: 12px;
  }

  .contact-item__icon {
    width: 34px;
    height: 34px;
  }

  .contact-item__label {
    font-size: 10px;
  }

  .contact-item__value {
    font-size: 14px;
  }

  .header__inner {
    min-height: 64px;
    gap: var(--sp-3);
  }

  .logo__mark {
    width: 36px;
    height: 36px;
    font-size: 15px;
  }

  .logo__name {
    font-size: 15px;
  }

  .logo__sub {
    font-size: 10px;
    max-width: 160px;
  }

  .burger {
    width: 38px;
    height: 38px;
  }

  .mobile-nav {
    inset: 64px 10px auto;
    padding: var(--sp-2);
  }

  .mobile-nav .nav__link {
    padding: var(--sp-2) var(--sp-3);
    font-size: 13px;
  }

  .site-footer {
    padding: var(--sp-6) 0;
  }

  .footer__brand {
    gap: var(--sp-2);
  }

  .footer__nav {
    gap: var(--sp-2) var(--sp-3);
  }

  .footer__nav a {
    font-size: 12px;
  }

  .footer__copy {
    font-size: 11px;
  }
}

/* ─── 380px ──────────────────────────────────────────────── */
@media (max-width: 380px) {
  .hero__title {
    font-size: 26px;
    line-height: 1.12;
  }

  .section__title {
    font-size: 24px;
    line-height: 1.15;
  }

  .hero__subtitle {
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 20px;
  }

  .section__subtitle {
    font-size: 12px;
    line-height: 1.5;
  }

  .value-card h3,
  .feature-card h3,
  .demo-card h3 {
    font-size: 17px;
  }

  .process-step h3 {
    font-size: 17px;
  }

  .hero {
    padding: 80px 0 44px;
  }

  .hero__actions {
    gap: 10px;
    margin-bottom: 24px;
  }

  .hero__actions .btn {
    min-height: 44px;
    font-size: 12px;
    padding: 0 var(--sp-4);
  }

  .hero__metrics {
    gap: 6px;
    flex-wrap: wrap;
  }

  .metric {
    padding: 10px 12px;
    border-radius: 12px;
    flex: 1 1 calc(50% - 3px);
    max-width: none;
  }

  .metric__icon {
    font-size: 14px;
    margin-bottom: 4px;
  }

  .metric__value {
    font-size: 12px;
    line-height: 1.2;
  }

  .metric__label {
    font-size: 8px;
    letter-spacing: 0.04em;
  }

  .section {
    padding: 40px 9px;
  }

  .container {
    width: min(100% - 16px, var(--container-max));
  }

  .section__header {
    margin-bottom: var(--sp-5);
  }

  .section__label {
    font-size: 11px;
    margin-bottom: var(--sp-2);
  }

  .section__label::before {
    width: 20px;
  }

  .value-card,
  .feature-card,
  .process-step {
    padding: var(--sp-3);
    border-radius: var(--r-sm);
    gap: var(--sp-2);
  }

  .value-card__icon,
  .feature-card__icon {
    width: 44px;
    height: 44px;
    font-size: 20px;
    margin-bottom: var(--sp-2);
  }

  .value-card h3,
  .feature-card h3,
  .demo-card h3 {
    font-size: 16px;
  }

  .value-card p,
  .feature-card p,
  .process-step p {
    font-size: 11px;
    margin-top: var(--sp-2);
  }

  .process-step__num {
    width: 32px;
    height: 32px;
    font-size: 14px;
    margin-bottom: var(--sp-2);
  }

  .screens-grid .phone {
    width: 160px;
    height: 320px;
    padding: 8px;
    border-radius: 32px;
  }

  .phone__screen {
    border-radius: 26px;
  }

  .screen-card {
    padding: var(--sp-2);
    width: min(100%, 200px);
    gap: var(--sp-2);
  }

  .screen-card__num {
    font-size: 10px;
    padding: 3px 8px;
  }

  .screen-card__caption {
    font-size: 11px;
    max-width: 180px;
  }

  .demo-card {
    padding: 20px 14px;
    border-radius: var(--r-lg);
  }

  .demo-card__icon {
    width: 56px;
    height: 56px;
    margin-bottom: var(--sp-3);
    border-radius: var(--r-lg);
  }

  .demo-card h3 {
    font-size: 18px;
  }

  .demo-card p {
    font-size: 12px;
    margin-top: var(--sp-2);
  }

  .demo-card__chips {
    margin-top: var(--sp-3);
    gap: 4px;
  }

  .demo-chip {
    font-size: 10px;
    padding: 4px 6px;
  }

  .demo-card__hint {
    margin-top: var(--sp-3);
    padding-top: var(--sp-2);
    font-size: 12px;
  }

  .contact__panel {
    padding: 14px;
    border-radius: var(--r-md);
  }

  .form-field {
    gap: var(--sp-1);
  }

  .form-field label {
    font-size: 10px;
  }

  .form-field input,
  .form-field textarea {
    padding: 10px 11px;
    border-radius: var(--r-sm);
    font-size: 14px;
  }

  .btn {
    min-height: 44px;
    font-size: 13px;
  }

  .success-message {
    padding: var(--sp-5);
    gap: var(--sp-2);
  }

  .success-message__icon {
    width: 44px;
    height: 44px;
    font-size: 18px;
  }

  .success-message h3 {
    font-size: 18px;
  }

  .success-message p {
    font-size: 12px;
  }

  .contact-item {
    padding: 10px;
    gap: var(--sp-2);
  }

  .contact-item__icon {
    width: 32px;
    height: 32px;
  }

  .contact-item__label {
    font-size: 9px;
  }

  .contact-item__value {
    font-size: 13px;
  }

  .header__inner {
    min-height: 60px;
    gap: var(--sp-2);
  }

  .logo__mark {
    width: 34px;
    height: 34px;
    font-size: 14px;
  }

  .logo__name {
    font-size: 14px;
  }

  .logo__sub {
    font-size: 9px;
    max-width: 140px;
  }

  .burger {
    width: 36px;
    height: 36px;
    gap: 4px;
  }

  .burger span {
    width: 14px;
    height: 2px;
  }

  .mobile-nav {
    inset: 60px 8px auto;
    padding: var(--sp-2);
    border-radius: var(--r-md);
  }

  .mobile-nav .nav__link {
    padding: var(--sp-2) var(--sp-3);
    font-size: 12px;
    border-radius: var(--r-sm);
  }

  .site-footer {
    padding: var(--sp-5) 0;
  }

  .footer__inner {
    gap: 25px 13px;
  }

  .footer__brand {
    gap: var(--sp-2);
  }

  .footer__nav {
    gap: var(--sp-1) var(--sp-3);
  }

  .footer__nav a {
    font-size: 11px;
  }

  .footer__copy {
    font-size: 10px;
  }
}
