/* ============================================================
   ПОЕХАЛИ · ТРАНСФЕР — тема «Золотой час»
   Тёмный премиум: глубокий синий + золото, Playfair Display
   Все функциональные классы (калькулятор, заявки, модалки,
   подсказки адресов) сохранены — изменилось только оформление.
   ============================================================ */
:root {
    --ink: #0b1424;
    --panel: #111c2e;
    --panel-2: #152238;
    --gold: #e8b23a;
    --gold-soft: #f3cf7a;
    --text: #eef2f7;
    --muted: #9fb0c8;
    --line: rgba(232, 178, 58, 0.28);
    --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --sans: 'Manrope', 'Segoe UI', Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--sans);
    background: var(--ink);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img { display: block; }
::selection { background: var(--gold); color: #1a1206; }

/* ========================================
   ШАПКА
   ======================================== */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(11, 20, 36, 0.82);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(232, 178, 58, 0.16);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 14px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}

.nav-left { display: flex; align-items: center; gap: 28px; }

.nav-logo { display: flex; flex-direction: column; line-height: 1; text-decoration: none; }

.logo-main {
    font-family: var(--serif);
    font-size: 1.7rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--text);
    text-transform: uppercase;
}

.logo-main i { font-style: normal; color: var(--gold); }

.logo-sub {
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 5px;
    color: var(--muted);
    text-transform: uppercase;
    margin-top: 4px;
}

.nav-phone {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    text-align: right;
    padding-left: 22px;
    border-left: 1px solid rgba(232, 178, 58, 0.3);
}

.phone-label {
    font-size: 0.62rem;
    color: var(--muted);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.phone-number {
    color: var(--gold-soft);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.nav-right { display: flex; align-items: center; gap: 26px; }

.nav-link {
    color: var(--muted);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    transition: color 0.2s;
}

.nav-link:hover { color: var(--gold-soft); }

.lang-switcher {
    display: flex;
    gap: 4px;
    background: rgba(255, 255, 255, 0.06);
    padding: 4px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.lang-btn {
    padding: 6px 12px;
    background: transparent;
    color: var(--muted);
    border: none;
    border-radius: 6px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
}

.lang-btn:hover { color: var(--gold-soft); }

.lang-btn.active { background: var(--gold); color: #1a1206; }

/* ========================================
   ГЕРОЙ
   ======================================== */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100svh; /* iOS Safari: высота экрана без адресной строки */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg-photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.06);
    animation: heroIn 2.4s ease-out forwards;
}

@keyframes heroIn { to { transform: scale(1); } }

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(180deg, rgba(11, 20, 36, 0.6) 0%, rgba(11, 20, 36, 0.25) 40%, rgba(11, 20, 36, 0.94) 100%),
        radial-gradient(120% 90% at 15% 100%, rgba(232, 178, 58, 0.16), transparent 55%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 140px 24px 160px;
    width: 100%;
}

.hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--gold-soft);
    margin-bottom: 26px;
}

.hero-kicker::before { content: ""; width: 44px; height: 1px; background: var(--gold); }

.hero-title {
    font-family: var(--serif);
    font-weight: 600;
    font-size: clamp(3rem, 8vw, 6.4rem);
    line-height: 1.05;
    letter-spacing: 1px;
    color: #fff;
    margin-bottom: 22px;
}

.hero-title em { font-style: normal; color: var(--gold-soft); }

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.18rem);
    color: #cdd8e6;
    max-width: 580px;
    font-weight: 400;
    margin-bottom: 38px;
}

.hero-cta {
    display: inline-block;
    background: var(--gold);
    color: #1a1206;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 17px 42px;
    border-radius: 3px;
    transition: all 0.25s;
    box-shadow: 0 12px 34px rgba(232, 178, 58, 0.22);
}

.hero-cta:hover { background: var(--gold-soft); transform: translateY(-2px); }

.hero-features {
    display: flex;
    gap: 34px;
    flex-wrap: wrap;
    margin-top: 46px;
    font-size: 0.82rem;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    color: var(--muted);
}

.hero-feature { display: flex; align-items: center; gap: 10px; }

.feature-dot {
    width: 6px;
    height: 6px;
    background: var(--gold);
    border-radius: 50%;
    flex-shrink: 0;
}

/* бегущая строка направлений */
.hero-marquee {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 3;
    border-top: 1px solid rgba(232, 178, 58, 0.22);
    background: rgba(11, 20, 36, 0.55);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    overflow: hidden;
    padding: 13px 0;
    white-space: nowrap;
}

.marquee-track { display: inline-block; animation: marquee 46s linear infinite; }

.marquee-track span {
    font-family: var(--serif);
    font-size: 0.95rem;
    color: rgba(238, 242, 247, 0.8);
    letter-spacing: 2.5px;
    margin: 0 26px;
}

.marquee-track span::after {
    content: "✦";
    color: var(--gold);
    font-size: 0.7rem;
    margin-left: 52px;
    vertical-align: 1px;
}

@keyframes marquee { to { transform: translateX(-50%); } }

/* ========================================
   СЕКЦИИ — ОБЩЕЕ
   ======================================== */
.section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 110px 24px 0;
}

.section-header { margin-bottom: 56px; }

.section-kicker {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 14px;
}

.section-kicker::after { content: ""; flex: 0 0 44px; height: 1px; background: var(--gold); }

.section-title {
    font-family: var(--serif);
    font-weight: 600;
    font-size: clamp(1.9rem, 4.5vw, 3rem);
    color: #fff;
    line-height: 1.15;
    max-width: 760px;
}

.section-subtitle {
    color: var(--muted);
    max-width: 620px;
    margin-top: 14px;
    font-size: 1.02rem;
}

/* появление при прокрутке */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ========================================
   НАПРАВЛЕНИЯ
   ======================================== */
.routes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }

.route {
    position: relative;
    border-radius: 6px;
    overflow: hidden;
    min-height: 300px;
    display: flex;
    align-items: flex-end;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.07);
    transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.route:hover {
    transform: translateY(-5px);
    border-color: var(--line);
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.45);
}

.route img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.route:hover img { transform: scale(1.05); }

.route::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(11, 20, 36, 0.1) 0%, rgba(11, 20, 36, 0.82) 78%);
}

.route-body { position: relative; z-index: 2; padding: 22px; width: 100%; }

.route-km {
    font-size: 0.72rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 6px;
}

.route-name {
    font-family: var(--serif);
    font-size: 1.25rem;
    color: #fff;
    line-height: 1.25;
}

.route-price {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(232, 178, 58, 0.3);
}

.route-price small {
    color: var(--muted);
    font-size: 0.72rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.route-price b {
    font-family: var(--serif);
    font-size: 1.3rem;
    color: var(--gold-soft);
    font-weight: 600;
}

/* ========================================
   ПРЕИМУЩЕСТВА
   ======================================== */
.advantages-section {
    padding: 110px 24px 0;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.advantage-card {
    background: var(--panel);
    padding: 34px 30px 38px;
    transition: background 0.3s;
}

.advantage-card:hover { background: var(--panel-2); }

.advantage-number {
    font-family: var(--serif);
    font-size: 2.6rem;
    font-weight: 500;
    color: transparent;
    -webkit-text-stroke: 1px var(--gold);
    line-height: 1;
    margin-bottom: 18px;
}

.advantage-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
    letter-spacing: 0.3px;
}

.advantage-card p { font-size: 0.9rem; color: var(--muted); }

/* ========================================
   КАЛЬКУЛЯТОР
   ======================================== */
.calculator-section {
    padding: 110px 24px 0;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.calculator-card {
    background: linear-gradient(160deg, var(--panel) 0%, #0d1728 100%);
    border: 1px solid rgba(232, 178, 58, 0.2);
    border-radius: 8px;
    padding: clamp(28px, 5vw, 56px);
    position: relative;
    overflow: hidden;
}

.calculator-card::before {
    content: "";
    position: absolute;
    top: -70px;
    right: -70px;
    width: 240px;
    height: 240px;
    border: 1px solid rgba(232, 178, 58, 0.25);
    border-radius: 50%;
    box-shadow: 0 0 0 34px rgba(232, 178, 58, 0.05), 0 0 0 68px rgba(232, 178, 58, 0.03);
    pointer-events: none;
}

.form-group { margin-bottom: 22px; position: relative; }

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--muted);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group .form-row { margin-bottom: 0; }

.calculator-card select,
.calculator-card input,
.calculator-card textarea,
.modal-content input,
.modal-content textarea {
    width: 100%;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 4px;
    font-size: 16px; /* >=16px — иначе Android авто-зумит страницу при тапе в поле и модалка уезжает */
    font-family: inherit;
    color: var(--text);
    transition: border-color 0.2s;
    outline: none;
}

.calculator-card select:focus,
.calculator-card input:focus,
.calculator-card textarea:focus,
.modal-content input:focus,
.modal-content textarea:focus {
    border-color: var(--gold);
    box-shadow: none;
}

.calculator-card select option { background: var(--panel-2); color: var(--text); }

input::placeholder, textarea::placeholder { color: rgba(159, 176, 200, 0.6); }

textarea { resize: vertical; min-height: 90px; }

.form-hint {
    display: block;
    margin-top: 8px;
    font-size: 0.8rem;
    color: var(--muted);
    font-weight: 400;
}

/* чекбоксы доп. опций */
.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 13px 16px;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 4px;
    transition: all 0.2s;
    user-select: none;
    position: relative;
}

.checkbox-label:hover { border-color: var(--gold); background: rgba(232, 178, 58, 0.05); }

.checkbox-label input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.checkbox-custom {
    width: 20px;
    height: 20px;
    border: 1.5px solid rgba(159, 176, 200, 0.7);
    border-radius: 4px;
    margin-right: 12px;
    flex-shrink: 0;
    transition: all 0.2s;
    position: relative;
}

.checkbox-label input[type="checkbox"]:checked + .checkbox-custom {
    background: var(--gold);
    border-color: var(--gold);
}

.checkbox-label input[type="checkbox"]:checked + .checkbox-custom::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 6px;
    height: 10px;
    border: solid #1a1206;
    border-width: 0 2px 2px 0;
    transform: translate(-50%, -60%) rotate(45deg);
}

.checkbox-label span:last-child { font-size: 0.92rem; color: var(--text); }

/* расстояние */
.distance-wrapper { display: flex; gap: 10px; align-items: stretch; }
.distance-wrapper input { flex: 1; }

.btn-calc-distance {
    padding: 13px 22px;
    background: var(--gold);
    color: #1a1206;
    border: none;
    border-radius: 4px;
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
    font-family: inherit;
}

.btn-calc-distance:hover:not(:disabled) { background: var(--gold-soft); }
.btn-calc-distance:disabled { opacity: 0.6; cursor: not-allowed; }

.btn-custom-route {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    padding: 10px 18px;
    background: transparent;
    border: 1.5px dashed rgba(232, 178, 58, 0.45);
    color: var(--gold-soft);
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
}

.btn-custom-route:hover { border-color: var(--gold); background: rgba(232, 178, 58, 0.06); }

.btn-custom-route.active {
    border-style: solid;
    border-color: var(--gold);
    background: rgba(232, 178, 58, 0.12);
}

.distance-status {
    display: block;
    margin-top: 10px;
    padding: 11px 14px;
    border-radius: 4px;
    font-size: 0.88rem;
    font-weight: 500;
}

.distance-status.loading { background: rgba(232, 178, 58, 0.12); color: var(--gold-soft); }
.distance-status.success { background: rgba(52, 211, 153, 0.12); color: #6ee7b7; }
.distance-status.error { background: rgba(248, 113, 113, 0.12); color: #fca5a5; }

/* подсказки адресов */
.suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--panel-2);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 4px;
    max-height: 250px;
    overflow-y: auto;
    z-index: 100;
    margin-top: 4px;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.5);
}

.suggestion-item {
    padding: 12px 16px;
    cursor: pointer;
    transition: background 0.15s;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 0.88rem;
    color: var(--text);
}

.suggestion-item:last-child { border-bottom: none; }
.suggestion-item:hover { background: rgba(232, 178, 58, 0.1); color: var(--gold-soft); }
.suggestion-item.loading { color: var(--muted); cursor: default; }

/* результат */
.result-box {
    background: rgba(232, 178, 58, 0.07);
    border: 1px solid rgba(232, 178, 58, 0.4);
    border-radius: 8px;
    padding: 30px;
    margin: 28px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.result-box::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(232, 178, 58, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.result-label {
    font-size: 0.78rem;
    color: var(--gold-soft);
    margin-bottom: 8px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    position: relative;
}

.result-price {
    font-family: var(--serif);
    font-size: clamp(2.6rem, 6vw, 3.4rem);
    color: var(--gold-soft);
    font-weight: 600;
    margin-bottom: 14px;
    letter-spacing: 0.5px;
    position: relative;
}

.result-details {
    font-size: 0.92rem;
    color: var(--muted);
    line-height: 1.8;
    position: relative;
}

.result-details strong { color: var(--text); font-weight: 600; }

/* кнопки */
.btn-calculate {
    width: 100%;
    padding: 18px 32px;
    background: var(--gold);
    color: #1a1206;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s;
    box-shadow: 0 12px 34px rgba(232, 178, 58, 0.2);
    font-family: inherit;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.btn-calculate:hover {
    background: var(--gold-soft);
    transform: translateY(-2px);
    box-shadow: 0 16px 40px rgba(232, 178, 58, 0.3);
}

.btn-submit-order {
    width: 100%;
    padding: 16px 32px;
    background: transparent;
    border: 1.5px solid var(--gold);
    color: var(--gold-soft);
    border-radius: 4px;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s;
    font-family: inherit;
    margin-top: 18px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.btn-submit-order:hover { background: rgba(232, 178, 58, 0.12); transform: translateY(-2px); }

/* ========================================
   МОДАЛЬНЫЕ ОКНА
   ======================================== */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(5, 10, 20, 0.78);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.modal-content {
    position: relative;
    background: var(--panel-2);
    border: 1px solid rgba(232, 178, 58, 0.2);
    border-radius: 8px;
    padding: 40px;
    max-width: min(520px, calc(100vw - 32px));
    width: 100%;
    margin: auto; /* страховка: центрирует окно даже если flex-центрирование не сработало */
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
    z-index: 1;
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from { opacity: 0; transform: translateY(-30px); }
    to { opacity: 1; transform: translateY(0); }
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.07);
    border: none;
    border-radius: 50%;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted);
}

.modal-close:hover { background: rgba(232, 178, 58, 0.15); color: var(--gold-soft); transform: rotate(90deg); }

.modal-header { text-align: center; margin-bottom: 24px; }
.modal-icon { font-size: 2.6rem; margin-bottom: 10px; }

.modal-content h2 {
    font-family: var(--serif);
    color: #fff;
    margin-bottom: 8px;
    font-size: 1.7rem;
    font-weight: 600;
}

.modal-subtitle { color: var(--muted); font-size: 0.92rem; }

.order-summary {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(232, 178, 58, 0.25);
    border-radius: 6px;
    padding: 18px 20px;
    margin-bottom: 24px;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.summary-item:last-child { border-bottom: none; }
.summary-label { color: var(--muted); font-size: 0.88rem; }

.summary-value {
    font-weight: 600;
    color: var(--text);
    font-size: 0.92rem;
    text-align: right;
}

.summary-price { color: var(--gold-soft); font-size: 1.05rem; }

.modal-content .form-group label { font-size: 0.7rem; }

.btn-submit {
    width: 100%;
    padding: 16px 32px;
    background: var(--gold);
    color: #1a1206;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s;
    box-shadow: 0 12px 30px rgba(232, 178, 58, 0.2);
    font-family: inherit;
    margin-top: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.btn-submit:hover:not(:disabled) { background: var(--gold-soft); transform: translateY(-2px); }
.btn-submit:disabled { opacity: 0.6; cursor: not-allowed; }

.form-privacy {
    text-align: center;
    font-size: 0.78rem;
    color: var(--muted);
    margin-top: 12px;
}

/* успех */
.modal-success { text-align: center; }

.success-checkmark {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-soft) 100%);
    position: relative;
    animation: checkmarkPop 0.5s ease-out;
}

.success-checkmark::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 36px;
    border: solid #1a1206;
    border-width: 0 4px 4px 0;
    transform: translate(-50%, -60%) rotate(45deg);
}

@keyframes checkmarkPop {
    0% { transform: scale(0); opacity: 0; }
    60% { transform: scale(1.2); }
    100% { transform: scale(1); opacity: 1; }
}

.modal-success h2 { color: var(--gold-soft); margin-bottom: 12px; }

.success-text { color: var(--muted); margin-bottom: 24px; font-size: 0.98rem; }

.success-details {
    background: rgba(232, 178, 58, 0.07);
    border: 1px solid rgba(232, 178, 58, 0.3);
    border-radius: 6px;
    padding: 20px;
    margin-bottom: 24px;
}

.success-route { font-weight: 600; color: #fff; margin-bottom: 8px; }
.success-date { color: var(--muted); margin-bottom: 12px; }

.success-price {
    font-family: var(--serif);
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--gold-soft);
    margin-bottom: 4px;
}

.btn-close-success {
    width: 100%;
    padding: 14px 32px;
    background: transparent;
    border: 1.5px solid var(--gold);
    color: var(--gold-soft);
    border-radius: 4px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.btn-close-success:hover { background: rgba(232, 178, 58, 0.12); transform: translateY(-2px); }

/* ========================================
   КОНТАКТЫ
   ======================================== */
.contacts-section {
    padding: 110px 24px 0;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.contacts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.contact-card {
    background: var(--panel);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 6px;
    padding: 30px;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
    transition: all 0.25s;
    cursor: pointer;
    font-family: inherit;
    text-align: left;
    color: inherit;
}

.contact-card:hover { border-color: var(--line); transform: translateY(-4px); }

.contact-info { display: flex; flex-direction: column; gap: 6px; }

.contact-label {
    font-size: 0.68rem;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--muted);
}

.contact-value { font-size: 1.1rem; color: #fff; font-weight: 700; }

.contact-phone-btn:hover .contact-value,
.contact-card span { color: var(--gold-soft); }

.contact-card::after {
    content: "";
}

.contact-phone-btn .contact-value,
.contact-telegram .contact-value { color: #fff; }

.contact-card .contact-value { transition: color 0.2s; }
.contact-card:hover .contact-value { color: var(--gold-soft); }

/* ========================================
   ПОДВАЛ
   ======================================== */
.footer {
    margin-top: 110px;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    padding: 46px 24px 60px;
    text-align: center;
}

.footer-content { max-width: 1200px; margin: 0 auto; }

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1;
}

.footer-logo-main {
    font-family: var(--serif);
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: #fff;
    text-transform: uppercase;
}

.footer-logo-main i { font-style: normal; color: var(--gold); }

.footer-logo-sub {
    font-size: 0.6rem;
    letter-spacing: 5px;
    color: var(--muted);
    text-transform: uppercase;
    margin-top: 6px;
}

.footer-text { color: var(--muted); font-size: 0.85rem; margin-top: 12px; }
.footer-copyright { color: rgba(159, 176, 200, 0.6); font-size: 0.78rem; margin-top: 6px; }

/* ========================================
   АДАПТИВ
   ======================================== */
@media (max-width: 960px) {
    .routes { grid-template-columns: repeat(2, 1fr); }
    .advantages-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
    /* Телефон: только логотип и телефон — меню-ссылки не нужны */
    .nav-right { display: none; }
}

@media (max-width: 640px) {
    .section, .advantages-section, .calculator-section, .contacts-section { padding-left: 16px; padding-right: 16px; padding-top: 80px; }
    .routes { grid-template-columns: 1fr; }
    .advantages-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .contacts-grid { grid-template-columns: 1fr; }
    .hero-content { padding: 110px 16px 140px; }
    .calculator-card { padding: 24px 18px; }
    .modal-content { padding: 28px 20px; }
    .nav-phone { display: none; }
    .calc-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    .hero-bg-photo { animation: none; transform: none; }
    .marquee-track { animation: none; }
}
