@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;600;700&display=swap');

:root {
    --gold: #D4AF37;
    --black: #000000;
    --dark-gray: #121212;
    --light-gray: #1a1a1a;
    --white: #ffffff;
}

body {
    background: radial-gradient(circle at top center, #1a1a1a 0%, var(--black) 80%);
    color: var(--white);
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    min-height: 100vh;
    
}

header { 
    background-color: rgba(10, 10, 10, 0.95); 
    padding: 15px 50px; 
    position: fixed; 
    width: 100%; 
    top: 0; 
    left: 0;
    z-index: 1000; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    border-bottom: 1px solid rgba(212, 175, 55, 0.3); 
    backdrop-filter: blur(5px);
    box-sizing: border-box;
}

.logo-wrap { display: flex; align-items: center; text-decoration: none; }
.logo-text { font-size: 24px; font-weight: 700; color: var(--gold); letter-spacing: 2px; }
.back-nav { color: var(--white); text-decoration: none; font-weight: 600; font-size: 0.9rem; transition: 0.3s; }
.back-nav:hover { color: var(--gold); }

.b2b-wrapper {
    max-width: 1100px;
    margin: 100px auto 50px auto; 
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    padding: 0 20px;
    align-items: start;
}

.info-section h1 {
    color: var(--gold);
    font-size: 2.5rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-top: 0;
    margin-bottom: 20px;
    text-shadow: 0 0 15px rgba(212, 175, 55, 0.2);
}

.info-section p.subtitle {
    font-size: 1.1rem;
    color: #ccc;
    margin-bottom: 30px;
}

.trust-block {
    background: rgba(18, 18, 18, 0.8);
    border-left: 3px solid var(--gold);
    padding: 20px;
    margin-bottom: 30px;
    border-radius: 0 8px 8px 0;
}

.trust-block h3 { margin-top: 0; color: #fff; font-size: 1.1rem; margin-bottom: 10px; }
.trust-block p { font-size: 0.9rem; color: #aaa; margin: 0; }

.benefits-list { 
    list-style: none; 
    padding: 0; 
    margin-bottom: 40px; 
}

.benefits-list li { 
    position: relative; 
    padding-left: 35px;
    margin-bottom: 20px; 
    font-size: 0.95rem; 
    color: #eee; 
    line-height: 1.6;
}

.benefits-list li::before { 
    content: '✓'; 
    position: absolute; 
    left: 0; 
    top: -2px; 
    color: var(--gold); 
    font-weight: bold; 
    font-size: 1.3rem; 
}

.benefits-list strong {
    color: #fff;
    margin-right: 5px;
    display: inline;
}

/* Стили для карты B2B */
.map-container {
    background: var(--light-gray);
    padding: 20px;
    border-radius: 8px;
    border: 1px solid rgba(212, 175, 55, 0.2);
}
.map-container h3 { color: var(--gold); margin-top: 0; font-size: 1.1rem; margin-bottom: 5px; }
.map-container p { font-size: 0.85rem; color: #aaa; margin-bottom: 15px; }
#map { height: 250px; width: 100%; border-radius: 4px; border: 1px solid #444; z-index: 1; }
#map-result {
    margin-top: 15px; padding: 10px; border-radius: 4px; font-size: 0.9rem;
    text-align: center; background-color: #222; color: #aaa; border: 1px solid #444; transition: 0.3s;
}
#map-result.result-success { background-color: rgba(46, 204, 113, 0.1); color: #2ecc71; border-color: #2ecc71; }
#map-result.result-error { background-color: rgba(243, 156, 18, 0.1); color: #f39c12; border-color: #f39c12; }
.leaflet-bar a { background-color: #222 !important; color: var(--gold) !important; border-bottom: 1px solid #444 !important; }
.leaflet-popup-content-wrapper, .leaflet-popup-tip { background-color: #222; color: var(--gold); }

/* Калькулятор */
.calculator {
    background: var(--light-gray);
    padding: 40px;
    border-radius: 12px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    box-shadow: 0 15px 40px rgba(0,0,0,0.6);
    position: sticky;
    top: 100px;
}

.form-group { margin-bottom: 25px; }
label { display: block; color: var(--gold); margin-bottom: 10px; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1px; font-weight: 600; }
select, input[type="number"] { width: 100%; background: var(--black); border: 1px solid #444; color: white; padding: 15px; border-radius: 6px; font-size: 1rem; box-sizing: border-box; font-family: inherit; }
select:focus, input:focus { outline: none; border-color: var(--gold); }

.radio-group { display: grid; gap: 15px; }
.radio-option { background: var(--black); border: 1px solid #444; padding: 18px; border-radius: 6px; cursor: pointer; transition: all 0.3s; }
.radio-option.active { border-color: var(--gold); background: rgba(212, 175, 55, 0.05); }
.radio-option input { display: none; }
.radio-option span { display: block; font-weight: bold; font-size: 1.1rem; margin-bottom: 5px; }
.radio-option small { opacity: 0.7; font-size: 0.85rem; }

.total-box { margin-top: 30px; padding-top: 25px; border-top: 1px solid #444; display: flex; justify-content: space-between; align-items: center; }
.total-price { font-size: 2.5rem; color: var(--gold); font-weight: bold; }

.btn-send {
    display: block; width: 100%; background: var(--gold); color: var(--black); text-align: center;
    padding: 20px; text-decoration: none; font-weight: 700; text-transform: uppercase; margin-top: 30px;
    border-radius: 6px; transition: all 0.3s; font-size: 1rem; letter-spacing: 1px;
}
.btn-send:hover { background: #f1c40f; transform: translateY(-3px); box-shadow: 0 10px 20px rgba(212, 175, 55, 0.2); }
.btn-send:active { transform: translateY(0); }

@media (max-width: 900px) {
    .b2b-wrapper { grid-template-columns: 1fr; gap: 40px; margin-top: 80px; }
    .info-section h1 { font-size: 2rem; }
    header { padding: 15px 20px; }
    .calculator { position: relative; top: 0; }
}