/* ============================================================
   САМАРАЛАН — СТИЛИ ЛЕНДИНГА
   Вариант C: тёмно-синий, красный, белый
   ============================================================ */

:root {
    --blue-dark:  #1B2A5E;
    --blue-mid:   #233A75;
    --blue-light: #5B9BD5;
    --blue-pale:  #F0F6FC;
    --red:        #E31E24;
    --red-hover:  #C4181E;
    --white:      #FFFFFF;
    --gray-100:   #F8FAFC;
    --gray-300:   #E5EAF0;
    --gray-500:   #6B7280;
    --gray-700:   #333333;
    --text-muted: #A8B8D8;

    --radius:     8px;
    --radius-lg:  12px;
    --radius-xl:  20px;

    --shadow-sm:  0 2px 8px rgba(27, 42, 94, 0.08);
    --shadow-md:  0 4px 16px rgba(27, 42, 94, 0.12);
    --shadow-lg:  0 8px 32px rgba(27, 42, 94, 0.16);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html { scroll-behavior: smooth; }

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    color: var(--gray-700);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 2;
}

/* ============================================================
   КНОПКИ
   ============================================================ */
.btn-primary {
    display: inline-block;
    width: 100%;
    background: var(--red);
    color: var(--white);
    padding: 18px 28px;
    font-size: 16px;
    font-weight: 800;
    border-radius: var(--radius);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: background 0.2s, transform 0.15s;
    text-align: center;
    cursor: pointer;
}

.btn-primary:hover { background: var(--red-hover); transform: translateY(-1px); }
.btn-primary:active { transform: translateY(0); }
.btn-primary:disabled { opacity: 0.7; cursor: not-allowed; transform: none; }

.btn-secondary {
    display: inline-block;
    background: transparent;
    color: var(--red);
    padding: 14px 28px;
    font-size: 16px;
    font-weight: 700;
    border: 2px solid var(--red);
    border-radius: var(--radius);
    transition: all 0.2s;
    text-align: center;
}

.btn-secondary:hover { background: var(--red); color: var(--white); }

/* ============================================================
   БЛОК 1. ПЕРВЫЙ ЭКРАН
   ============================================================ */
.hero {
    background: var(--blue-dark);
    color: var(--white);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.site-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 32px 0 48px;
}

.logo {
    display: inline-block;
    line-height: 0;
    transition: opacity 0.2s;
}

.logo:hover { opacity: 0.85; }

.logo img {
    height: 62px;
    width: auto;
    display: block;
}

.phone {
    font-size: 20px;
    font-weight: 700;
    color: var(--white);
    transition: color 0.2s;
    white-space: nowrap;
}

.phone:hover { color: var(--red); }

.hero-inner {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 60px;
    align-items: center;
    flex: 1;
    padding-bottom: 60px;
}

.hero-content { max-width: 640px; }

.hero-title {
    font-size: 56px;
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -1.5px;
    margin-bottom: 20px;
}

.hero-title .price { color: var(--red); }

.hero-desc {
    font-size: 20px;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 12px;
}

.hero-subtitle {
    font-size: 17px;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 24px;
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 28px;
    font-size: 14px;
    color: var(--text-muted);
}

.hero-features span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.hero-features span::before {
    content: "✓";
    color: var(--red);
    font-weight: 900;
    font-size: 16px;
}

.promo-badge {
    display: inline-flex;
    flex-direction: column;
    background: var(--red);
    color: var(--white);
    padding: 14px 24px;
    border-radius: var(--radius);
    font-weight: 800;
    font-size: 16px;
    margin-bottom: 28px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.3;
}

.promo-deadline {
    font-size: 12px;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0;
    opacity: 0.9;
    margin-top: 4px;
}

.hero-form-wrap {
    background: var(--white);
    padding: 24px;
    border-radius: var(--radius-lg);
    color: var(--gray-700);
}

.form-label {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: var(--gray-500);
    margin-bottom: 12px;
}

.address-form { display: flex; gap: 10px; }

.address-input {
    flex: 1;
    padding: 16px 20px;
    border: 2px solid var(--gray-300);
    border-radius: var(--radius);
    font-size: 16px;
    font-family: inherit;
    color: var(--gray-700);
    transition: border 0.2s;
}

.address-input:focus { outline: none; border-color: var(--blue-dark); }

.address-form .btn-primary {
    width: auto;
    white-space: nowrap;
    padding: 16px 24px;
}

.address-result {
    margin-top: 16px;
    font-size: 15px;
    line-height: 1.6;
}

.address-result p { margin-bottom: 8px; }
.address-result .result-ok { color: #15803D; font-weight: 600; }
.address-result .result-no { color: var(--gray-500); }

.address-result .result-count {
    background: var(--blue-pale);
    padding: 12px 16px;
    border-radius: var(--radius);
    color: var(--blue-dark);
    font-weight: 600;
}

.address-result .result-error { color: var(--red); font-weight: 600; }

/* ============================================================
   ВНУТРЕННЯЯ ФОРМА ТЕЛЕФОНА (в блоке проверки адреса)
   ============================================================ */
.inline-lead-form {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    align-items: stretch;
}

.inline-lead-phone {
    flex: 1;
    min-width: 0;
    padding: 16px 20px;
    border: 2px solid var(--gray-300);
    border-radius: var(--radius);
    font-size: 16px;
    font-family: inherit;
    color: var(--gray-700);
    background: var(--white);
    transition: border 0.2s;
    box-sizing: border-box;
}

.inline-lead-phone:focus {
    outline: none;
    border-color: var(--blue-dark);
}

.inline-lead-phone::placeholder {
    color: var(--gray-500);
}

.inline-lead-form .btn-primary {
    width: auto;
    white-space: nowrap;
    padding: 16px 28px;
    font-size: 15px;
    flex-shrink: 0;
}

.inline-lead-result {
    margin-top: 12px;
    font-size: 15px;
    line-height: 1.5;
}

.inline-lead-result .result-error { color: var(--red); font-weight: 600; }
.inline-lead-result .result-ok    { color: #15803D; font-weight: 600; }

.hero-price {
    text-align: center;
    color: var(--white);
}

.big-num {
    font-size: 180px;
    font-weight: 900;
    line-height: 0.9;
    letter-spacing: -8px;
}

.big-cur {
    font-size: 64px;
    color: var(--red);
    font-weight: 900;
    vertical-align: top;
}

.big-lbl {
    font-size: 18px;
    color: var(--text-muted);
    margin-top: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
}

.panorama {
    width: 100%;
    height: 140px;
    margin-top: auto;
}

.panorama svg { width: 100%; height: 100%; display: block; }

/* ============================================================
   СЕКЦИИ
   ============================================================ */
.section { padding: 80px 0; }

.section h2 {
    font-size: 40px;
    font-weight: 900;
    line-height: 1.15;
    color: var(--blue-dark);
    letter-spacing: -0.5px;
    margin-bottom: 24px;
}

.section p {
    font-size: 17px;
    color: var(--gray-700);
    line-height: 1.6;
    margin-bottom: 16px;
}

.section .accent {
    font-size: 20px;
    font-weight: 700;
    color: var(--blue-dark);
}

.section-pillars { background: var(--gray-100); }

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 8px;
}

.pillar {
    background: var(--white);
    padding: 32px 28px;
    border-radius: var(--radius-lg);
    border-top: 4px solid var(--red);
    box-shadow: var(--shadow-sm);
}

.pillar h3 {
    font-size: 20px;
    font-weight: 800;
    line-height: 1.3;
    color: var(--blue-dark);
    margin-bottom: 14px;
}

.pillar p {
    font-size: 15px;
    color: var(--gray-500);
    margin: 0;
}

.section-speed { background: var(--white); }
.section-speed .btn-secondary { margin-top: 8px; }

.section-fears {
    background: var(--blue-dark);
    color: var(--white);
}

.section-fears h2 { color: var(--white); }

.fears-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 32px;
}

.fear-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 28px 24px;
    border-radius: var(--radius-lg);
    border-left: 3px solid var(--red);
}

.fear-card h4 {
    font-size: 17px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 12px;
    line-height: 1.35;
}

.fear-card p {
    font-size: 15px;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.55;
}

/* ============================================================
   CTA-БАННЕР (после блока 5)
   ============================================================ */
.cta-banner {
    background: var(--red);
    color: var(--white);
    padding: 56px 0;
    text-align: center;
}

.cta-banner h2 {
    font-size: 32px;
    font-weight: 900;
    line-height: 1.2;
    color: var(--white);
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.cta-banner p {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 28px;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.cta-banner-btn {
    display: inline-block;
    width: auto;
    min-width: 280px;
    background: var(--white);
    color: var(--red);
    padding: 18px 40px;
    font-size: 16px;
    font-weight: 800;
    border-radius: var(--radius);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.2s;
}

.cta-banner-btn:hover {
    background: var(--blue-dark);
    color: var(--white);
    transform: translateY(-2px);
}

/* ============================================================
   БЛОК 6. СРАВНЕНИЕ
   ============================================================ */
.section-compare { background: var(--gray-100); }

.compare-text {
    font-size: 20px !important;
    line-height: 1.6 !important;
    color: var(--blue-dark) !important;
    max-width: 900px;
}

/* ============================================================
   БЛОК 7. ТАРИФЫ
   ============================================================ */
.section-tariffs { background: var(--white); }

.tariffs-featured {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin: 32px 0 40px;
}

.tariff-card {
    background: var(--white);
    padding: 32px 28px;
    border-radius: var(--radius-lg);
    border: 2px solid var(--gray-300);
    text-align: center;
    display: flex;
    flex-direction: column;
}

.tariff-featured {
    border-color: var(--blue-dark);
    box-shadow: var(--shadow-md);
}

.tariff-name {
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gray-500);
    margin-bottom: 16px;
}

.tariff-price { line-height: 1; margin-bottom: 8px; }

.tariff-price .tn {
    font-size: 64px;
    font-weight: 900;
    color: var(--blue-dark);
    letter-spacing: -3px;
}

.tariff-price .tc {
    font-size: 28px;
    color: var(--red);
    font-weight: 900;
    vertical-align: top;
}

.tariff-lbl {
    font-size: 14px;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    margin-bottom: 16px;
}

.tariff-desc {
    font-size: 16px;
    color: var(--gray-700);
    margin-bottom: 12px;
}

.tariff-promo {
    display: inline-block;
    background: var(--red);
    color: var(--white);
    padding: 8px 16px;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 20px;
    align-self: center;
}

.tariff-btn {
    margin-top: auto;
    width: 100%;
}

.tariffs-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 24px;
    font-size: 15px;
}

.tariffs-table th {
    background: var(--blue-dark);
    color: var(--white);
    padding: 16px 20px;
    text-align: left;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tariffs-table td {
    padding: 16px 20px;
    border-bottom: 1px solid var(--gray-300);
    color: var(--gray-700);
}

.tariff-row {
    cursor: pointer;
    transition: background 0.15s;
}

.tariff-row:hover td {
    background: var(--blue-pale);
}

.tariff-row:hover .tariff-row-action {
    color: var(--red);
    font-weight: 700;
}

.tariff-row-action {
    color: var(--blue-dark);
    font-weight: 600;
    white-space: nowrap;
    text-align: right;
    transition: color 0.15s;
}

.tariffs-footer {
    font-size: 15px;
    color: var(--gray-500);
    text-align: center;
    padding-top: 16px;
}

/* ============================================================
   БЛОК 8. ПРИЛОЖЕНИЕ
   ============================================================ */
.section-app { background: var(--blue-pale); }

.app-screens {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 32px;
}

.app-screen {
    width: 100%;
    aspect-ratio: 9 / 16;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-300);
    background: var(--white);
    display: block;
}

/* ============================================================
   ИНСТРУКЦИЯ ПОЛУЧЕНИЯ ПОДАРКА (блок 8)
   ============================================================ */
.app-gift-steps {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin: 28px 0 32px;
    padding: 24px 20px;
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 2px dashed var(--red);
    font-size: 16px;
    font-weight: 700;
    color: var(--blue-dark);
    line-height: 1.4;
    text-align: center;
}

.app-gift-step {
    display: inline-block;
    padding: 8px 16px;
    background: var(--blue-pale);
    border-radius: var(--radius);
    color: var(--blue-dark);
    font-weight: 700;
    white-space: nowrap;
}

.app-gift-arrow {
    color: var(--red);
    font-size: 22px;
    font-weight: 900;
    line-height: 1;
}

/* ============================================================
   БЛОК 9. FAQ
   ============================================================ */
.section-faq { background: var(--white); }

.faq-item {
    border-bottom: 1px solid var(--gray-300);
    padding: 24px 0;
}

.faq-item:first-of-type {
    border-top: 1px solid var(--gray-300);
    margin-top: 16px;
}

.faq-item h4 {
    font-size: 18px;
    font-weight: 800;
    color: var(--blue-dark);
    margin-bottom: 10px;
}

.faq-item p {
    font-size: 16px;
    color: var(--gray-500);
    margin: 0;
}

/* ============================================================
   БЛОК 10. ФИНАЛЬНЫЙ CTA
   ============================================================ */
.section-final-cta {
    background: var(--blue-dark);
    color: var(--white);
    text-align: center;
}

.section-final-cta h2 { color: var(--white); }

.section-final-cta p {
    color: var(--text-muted);
    max-width: 640px;
    margin: 0 auto 32px;
}

.lead-form {
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.lead-form input {
    padding: 18px 20px;
    border: 2px solid transparent;
    border-radius: var(--radius);
    font-size: 16px;
    font-family: inherit;
    background: var(--white);
    color: var(--gray-700);
    transition: border 0.2s;
}

.lead-form input:focus { outline: none; border-color: var(--red); }

.lead-result {
    max-width: 500px;
    margin: 16px auto 0;
    font-size: 16px;
    line-height: 1.5;
}

.lead-result .result-error { color: #FCA5A5; font-weight: 600; }
.lead-result .result-ok { color: #FFFFFF; font-weight: 700; }

.final-note {
    margin-top: 20px !important;
    font-size: 14px !important;
    color: var(--text-muted) !important;
}

/* ============================================================
   ФУТЕР
   ============================================================ */
.site-footer {
    background: #0F1A3D;
    color: var(--text-muted);
    padding: 32px 0;
    font-size: 14px;
    text-align: center;
}

.site-footer p { margin-bottom: 8px; }
.site-footer a { color: var(--white); font-weight: 700; }
.site-footer a:hover { color: var(--red); }

/* ============================================================
   МОБИЛЬНАЯ ФИКСИРОВАННАЯ ПОЛОСА
   ============================================================ */
.mobile-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9998;
    background: var(--white);
    box-shadow: 0 -4px 16px rgba(27, 42, 94, 0.15);
    padding: 12px 16px;
    display: flex;
    gap: 10px;
    align-items: center;
    animation: slideUpBar 0.3s ease;
}

@keyframes slideUpBar {
    from { transform: translateY(100%); }
    to   { transform: translateY(0); }
}

.mobile-bar-btn {
    flex: 1;
    background: var(--red);
    color: var(--white);
    padding: 14px 16px;
    font-size: 15px;
    font-weight: 800;
    border-radius: var(--radius);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: background 0.2s;
}

.mobile-bar-btn:hover { background: var(--red-hover); }

.mobile-bar-phone {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: var(--blue-dark);
    color: var(--white);
    border-radius: var(--radius);
    flex-shrink: 0;
    transition: background 0.2s;
}

.mobile-bar-phone:hover { background: var(--blue-mid); }

/* ============================================================
   СПЛЕШ
   ============================================================ */
.splash {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(27, 42, 94, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 20px;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.splash-inner {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 40px 32px;
    max-width: 440px;
    width: 100%;
    text-align: center;
    position: relative;
    box-shadow: var(--shadow-lg);
    animation: slideUp 0.35s ease;
}

@keyframes slideUp {
    from { transform: translateY(20px); opacity: 0; }
    to   { transform: translateY(0);    opacity: 1; }
}

.splash-close {
    position: absolute;
    top: 12px; right: 16px;
    background: transparent;
    font-size: 32px;
    line-height: 1;
    color: var(--gray-500);
    padding: 4px 8px;
    transition: color 0.2s;
}

.splash-close:hover { color: var(--red); }

.splash-emoji { font-size: 56px; line-height: 1; margin-bottom: 12px; }

.splash-inner h3 {
    font-size: 26px;
    font-weight: 900;
    color: var(--blue-dark);
    margin-bottom: 16px;
}

.splash-inner p {
    font-size: 16px;
    color: var(--gray-700);
    margin-bottom: 12px;
}

.splash-sub {
    font-size: 14px !important;
    color: var(--gray-500) !important;
    margin-bottom: 24px !important;
}

.splash-btn { width: 100%; }

/* ============================================================
   АДАПТИВ
   ============================================================ */
@media (max-width: 1024px) {
    .hero-title { font-size: 46px; }
    .big-num { font-size: 140px; letter-spacing: -6px; }
    .big-cur { font-size: 52px; }
    .section h2 { font-size: 34px; }
    .pillars-grid, .fears-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
    .hero { min-height: auto; }

    .hero-inner {
        grid-template-columns: 1fr;
        gap: 32px;
        padding-bottom: 40px;
    }

    .hero-title { font-size: 36px; letter-spacing: -1px; }
    .hero-desc { font-size: 17px; }
    .hero-subtitle { font-size: 15px; }

    .big-num { font-size: 100px; letter-spacing: -4px; }
    .big-cur { font-size: 40px; }

    .hero-price { order: -1; padding: 20px 0; }

    .address-form { flex-direction: column; }
    .address-form .btn-primary { width: 100%; }

    .section { padding: 56px 0; }
    .section h2 { font-size: 28px; }

    .pillars-grid,
    .fears-grid,
    .tariffs-featured,
    .app-screens { grid-template-columns: 1fr; gap: 16px; }

    .tariffs-table { font-size: 13px; }
    .tariffs-table th, .tariffs-table td { padding: 12px 10px; }
    .tariffs-table th:last-child,
    .tariffs-table td:last-child { display: none; } /* скрываем "Выбрать →" на мобильных */

    .site-header { padding: 20px 0 32px; }
    .logo img { height: 48px; }
    .phone { font-size: 16px; }

    .panorama { height: 80px; }

    .splash-inner { padding: 32px 24px; }

    .cta-banner { padding: 40px 0; }
    .cta-banner h2 { font-size: 24px; }
    .cta-banner p { font-size: 15px; }
    .cta-banner-btn {
        width: 100%;
        min-width: 0;
        padding: 16px 24px;
        font-size: 15px;
    }

    .lead-result { padding: 0 16px; }

    .mobile-bar { padding: 10px 12px; }
    .mobile-bar-btn { padding: 12px 14px; font-size: 14px; }
    .mobile-bar-phone { width: 46px; height: 46px; }

    /* Отступ снизу, чтобы мобильная полоса не перекрывала футер */
    body { padding-bottom: 70px; }

    /* Инструкция подарка — вертикально на мобильных */
    .app-gift-steps {
        flex-direction: column;
        gap: 10px;
        padding: 20px 16px;
    }

    .app-gift-arrow {
        transform: rotate(90deg);
        font-size: 18px;
    }

    .app-gift-step {
        white-space: normal;
        width: 100%;
    }
}

@media (max-width: 600px) {
    .inline-lead-form {
        flex-direction: column;
    }

    .inline-lead-form .btn-primary {
        width: 100%;
    }

    .inline-lead-phone {
        padding: 15px 18px;
    }
}

/* ============================================================
   DROPDOWN ПОДСКАЗОК УЛИЦ
   ============================================================ */
.address-form {
    position: relative;
}

.address-suggest {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin-top: 4px;
    background: #fff;
    border: 2px solid var(--gray-300);
    border-radius: var(--radius);
    box-shadow: 0 8px 24px rgba(27, 42, 94, 0.15);
    max-height: 320px;
    overflow-y: auto;
    z-index: 100;
}

.address-suggest-item {
    padding: 12px 20px;
    cursor: pointer;
    font-size: 15px;
    color: var(--gray-700);
    transition: background 0.15s;
    border-bottom: 1px solid var(--gray-300);
}

.address-suggest-item:last-child {
    border-bottom: none;
}

.address-suggest-item:hover,
.address-suggest-item.active {
    background: var(--blue-pale);
    color: var(--blue-dark);
}

.address-suggest-district {
    color: var(--gray-500);
    font-size: 13px;
    font-weight: 400;
}

@media (max-width: 900px) {
    .address-suggest {
        max-height: 240px;
    }

    .address-suggest-item {
        padding: 14px 16px;
        font-size: 14px;
    }
}

/* ============================================================
   НИЖНЯЯ ФОРМА: WRAP + РЕЗУЛЬТАТ ПРОВЕРКИ АДРЕСА
   ============================================================ */
.lead-address-wrap {
    position: relative;
    width: 100%;
    display: block;
}

.lead-address-wrap input {
    width: 100%;
    box-sizing: border-box;
}
   
.lead-address-wrap .address-suggest {
    z-index: 200;
}

.lead-address-result {
    font-size: 14px;
    line-height: 1.5;
    margin-top: -4px;
    margin-bottom: 4px;
    min-height: 0;
}

.lead-address-result:empty {
    display: none;
}

.lead-address-result p {
    margin: 0;
}

.lead-address-ok {
    color: #86EFAC;
    font-weight: 600;
}

.lead-address-no {
    color: #A8B8D8;
}

.lead-address-error {
    color: #FCA5A5;
    font-weight: 600;
}

/* ============================================================
   DROPDOWN ВНУТРИ НИЖНЕЙ ФОРМЫ
   ============================================================ */
.lead-form .address-suggest {
    background: #fff;
    border-radius: var(--radius);
    max-height: 240px;
}

.lead-form .address-suggest-item {
    color: var(--gray-700);
}

/* ============================================================
   ОЖИВЛЕНИЕ ДИЗАЙНА
   ============================================================ */

/* 1. Пульсация тени на главной CTA (работает везде) */
@keyframes pulse-cta {
    0%, 100% { box-shadow: 0 0 0 0 rgba(227, 30, 36, 0.45); }
    50%      { box-shadow: 0 0 0 12px rgba(227, 30, 36, 0); }
}

#address-form .btn-primary,
.hero-form-wrap .btn-primary {
    animation: pulse-cta 2.8s ease-in-out infinite;
}

#address-form .btn-primary:hover,
.hero-form-wrap .btn-primary:hover {
    animation: none;
    background: var(--red-hover);
}

/* Уважение к пользователям с настройкой «уменьшить движение» */
@media (prefers-reduced-motion: reduce) {
    #address-form .btn-primary,
    .hero-form-wrap .btn-primary {
        animation: none;
    }
}

/* ============================================================
   2 и 3. Hover-эффекты — только на устройствах с мышью
   ============================================================ */
@media (hover: hover) and (pointer: fine) {

    /* Подчёркивание телефона */
    .phone {
        position: relative;
    }

    .phone::after {
        content: '';
        position: absolute;
        bottom: -3px;
        left: 0;
        right: 0;
        height: 2px;
        background: var(--red);
        transform: scaleX(0);
        transform-origin: left;
        transition: transform 0.3s ease;
    }

    .phone:hover::after {
        transform: scaleX(1);
    }

    .phone:hover {
        color: var(--red);
    }

    /* Приподнимание карточек тарифов */
    .tariff-featured {
        transition: transform 0.25s ease, box-shadow 0.25s ease;
    }

    .tariff-featured:hover {
        transform: translateY(-6px);
        box-shadow: 0 16px 40px rgba(27, 42, 94, 0.18);
    }
}

/* ============================================================
   АЖИОТАЖНАЯ ПЛАШКА — 3 ВАРИАНТА
   ============================================================ */
.tension-banner {
    padding: 12px 16px;
    border-radius: var(--radius);
    font-size: 15px;
    line-height: 1.45;
    margin-top: 12px;
    margin-bottom: 12px;
}

.tension-banner strong {
    font-weight: 800;
}

/* Вариант A — порты */
.tension-banner-a {
    background: #FEF3C7;
    color: #92400E;
    border-left: 4px solid #F59E0B;
}

.tension-banner-a strong {
    color: #B45309;
}

/* Вариант B — активность */
.tension-banner-b {
    background: var(--blue-pale);
    color: var(--blue-dark);
    border-left: 4px solid var(--blue-light);
}

/* Вариант C — акция */
.tension-banner-c {
    background: #FCE7F3;
    color: #831843;
    border-left: 4px solid #EC4899;
}

.tension-banner-c strong {
    color: #BE185D;
}

@media (max-width: 900px) {
    .tension-banner {
        font-size: 14px;
        padding: 10px 14px;
    }
}