/* ================================================ */
/* ОСНОВНЫЕ СТИЛИ                                   */
/* ================================================ */

:root {
    --primary: #1e293b;
    --accent: #f59e0b;
    --light: #f8fafc;
    --text: #334155;
    --phone: #10b981;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--light);
    color: var(--text);
    line-height: 1.6;
}

/* ================================================ */
/* ШАПКА                                            */
/* ================================================ */

header {
    background: #0f172a;
    color: white;
    padding: 12px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 3px solid var(--accent);
    flex-wrap: wrap;
    gap: 10px;
}

.logo {
    font-weight: 800;
    font-size: 24px;
    letter-spacing: 1px;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-img {
    height: 40px;
    width: auto;
    display: block;
}

.logo span {
    color: var(--accent);
}

/* ===== МЕНЮ (ТЕПЕРЬ БЕЛОЕ!) ===== */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-right: 20px;
}

.nav-menu a {
    color: #ffffff !important;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    transition: 0.3s;
    padding: 5px 0;
    border-bottom: 2px solid transparent;
}

.nav-menu a:hover {
    color: #fbbf24 !important;
    border-bottom-color: #f59e0b;
}

.nav-menu a.active {
    color: #fbbf24 !important;
    border-bottom-color: #f59e0b;
}

.header-contacts {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.header-phone {
    color: #10b981;
    font-weight: 700;
    font-size: 18px;
    text-decoration: none;
    transition: 0.3s;
    display: flex;
    align-items: center;
    gap: 6px;
}

.header-phone:hover {
    color: #34d399;
}

.header-email {
    color: #94a3b8;
    font-size: 14px;
    text-decoration: none;
    transition: 0.3s;
}

.header-email:hover {
    color: white;
}

.geo-badge {
    background: #1e293b;
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid #334155;
}

.geo-dot {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 8px #10b981;
}

/* ================================================ */
/* ГЕРОЙ (ГЛАВНЫЙ БАННЕР)                           */
/* ================================================ */

.hero {
    background: linear-gradient(rgba(15, 23, 42, 0.85), rgba(15, 23, 42, 0.95)), 
                url('/images/hero-factory.webp') center/cover;
    background-color: #0f172a;
    color: white;
    padding: 80px 5%;
    text-align: center;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    max-width: 900px;
}

.hero h1 {
    font-size: 42px;
    margin-bottom: 20px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero p {
    font-size: 18px;
    max-width: 800px;
    margin: 0 auto 30px;
    color: #cbd5e1;
}

/* ================================================ */
/* КНОПКИ                                           */
/* ================================================ */

.cta-btn {
    background: var(--accent);
    color: #0f172a;
    padding: 15px 35px;
    border: none;
    font-weight: 700;
    font-size: 16px;
    text-transform: uppercase;
    cursor: pointer;
    transition: 0.3s;
    border-radius: 3px;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.cta-btn:hover {
    background: #d97706;
    transform: translateY(-2px);
}

.cta-btn-phone {
    background: #10b981;
    color: white;
}

.cta-btn-phone:hover {
    background: #059669;
}

.cta-btn-danger {
    background: #ef4444;
    color: white;
}

.cta-btn-danger:hover {
    background: #dc2626;
}

.cta-btn-block {
    display: block;
    width: 100%;
    text-align: center;
}

/* ================================================ */
/* ПРОМЫШЛЕННЫЕ ПОКАЗАТЕЛИ                          */
/* ================================================ */

.specs-bar {
    background: #fff;
    padding: 30px 5%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
    text-align: center;
}

.spec-item h3 {
    font-size: 28px;
    color: var(--primary);
    margin-bottom: 5px;
}

.spec-item p {
    font-size: 14px;
    color: #64748b;
    font-weight: 600;
    text-transform: uppercase;
}

/* ================================================ */
/* КАТАЛОГ ПРОДУКЦИИ                                */
/* ================================================ */

.catalog {
    padding: 60px 5%;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    font-size: 28px;
    text-transform: uppercase;
    color: var(--primary);
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--accent);
    margin: 10px auto 0;
}

.products {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.product-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-top: 4px solid var(--primary);
    padding: 25px;
    border-radius: 3px;
    transition: 0.3s;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
    border-top-color: var(--accent);
}

.product-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 15px;
    background: #e2e8f0;
}

.product-card h3 {
    margin-bottom: 15px;
    color: var(--primary);
}

.product-card ul {
    list-style-position: inside;
    margin-bottom: 20px;
    font-size: 14px;
    color: #475569;
}

.product-card ul li {
    margin-bottom: 5px;
}

/* ================================================ */
/* КАЛЬКУЛЯТОР                                      */
/* ================================================ */

.calculator-section {
    background: #f1f5f9;
    margin-top: 40px;
}

.calculator-container {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 30px;
    border-radius: 4px;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
    border-left: 4px solid var(--accent);
}

.calculator-field {
    margin-bottom: 15px;
}

.calculator-field label {
    display: block;
    font-weight: 600;
    margin-bottom: 5px;
    font-size: 14px;
    text-transform: uppercase;
}

.calculator-field select,
.calculator-field input {
    width: 100%;
    padding: 10px;
    border: 1px solid #cbd5e1;
    border-radius: 3px;
    font-size: 14px;
}

.calculator-result {
    background: #0f172a;
    color: white;
    padding: 20px;
    border-radius: 3px;
    margin-top: 20px;
}

.result-label {
    font-size: 14px;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.result-price {
    font-size: 28px;
    font-weight: 700;
    color: var(--accent);
    margin: 10px 0;
}

.result-text {
    font-size: 14px;
    color: #cbd5e1;
    margin-top: 5px;
}

/* ================================================ */
/* RAL БЛОК                                         */
/* ================================================ */

.ral-section {
    padding: 60px 20px;
    background-color: #1e293b;
    color: #ffffff;
    border-top: 4px solid #0f172a;
}

.ral-container {
    max-width: 1200px;
    margin: 0 auto;
}

.ral-title {
    font-size: 2.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #fbbf24;
    margin-bottom: 10px;
    border-left: 6px solid #f59e0b;
    padding-left: 15px;
}

.ral-subtitle {
    color: #94a3b8;
    margin-bottom: 40px;
    font-size: 1.1rem;
    max-width: 800px;
}

.ral-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    align-items: center;
}

.ral-preview {
    background-color: #0f172a;
    padding: 40px;
    border: 2px solid #334155;
    border-radius: 4px;
    text-align: center;
    box-shadow: inset 0 0 20px rgba(0,0,0,0.5);
}

.ral-preview-label {
    margin-bottom: 20px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #94a3b8;
    font-size: 0.9rem;
}

.ral-cassette {
    width: 220px;
    height: 220px;
    margin: 0 auto;
    background: linear-gradient(135deg, #708090 0%, #111111 100%);
    border-radius: 4px;
    box-shadow: 10px 10px 25px rgba(0,0,0,0.6), inset 2px 2px 5px rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.05);
    transition: all 0.4s ease;
    position: relative;
}

.ral-cassette::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 50%);
    pointer-events: none;
}

.ral-info {
    margin-top: 25px;
    border-top: 1px dashed #334155;
    padding-top: 20px;
}

.ral-code {
    font-size: 1.8rem;
    font-weight: 900;
    color: #fbbf24;
    font-family: monospace;
}

.ral-name {
    font-size: 1.1rem;
    text-transform: uppercase;
    font-weight: bold;
    margin: 5px 0 10px 0;
    color: #ffffff;
}

.ral-desc {
    font-size: 0.85rem;
    color: #94a3b8;
    line-height: 1.4;
}

.ral-colors {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.ral-colors-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    color: #f59e0b;
    font-weight: bold;
    letter-spacing: 1px;
}

.ral-colors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 12px;
}

.ral-color-item {
    background-color: #0f172a;
    border: 2px solid #334155;
    padding: 10px;
    cursor: pointer;
    border-radius: 4px;
    transition: 0.3s;
}

.ral-color-item:hover {
    border-color: #f59e0b;
    transform: scale(1.02);
}

.ral-color-swatch {
    height: 35px;
    border-radius: 2px;
    margin-bottom: 8px;
}

.ral-color-name {
    font-size: 0.85rem;
    font-family: monospace;
    text-align: center;
}

/* ================================================ */
/* КОНСТРУКТОРСКОЕ БЮРО                            */
/* ================================================ */

.kb-section {
    padding: 60px 20px;
    background-color: #0f172a;
    color: #ffffff;
    border-bottom: 4px solid #1e293b;
}

.kb-container {
    max-width: 1200px;
    margin: 0 auto;
}

.kb-title {
    font-size: 2.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #fbbf24;
    margin-bottom: 10px;
    border-left: 6px solid #f59e0b;
    padding-left: 15px;
}

.kb-subtitle {
    color: #94a3b8;
    margin-bottom: 40px;
    font-size: 1.1rem;
    max-width: 800px;
}

.kb-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.kb-card {
    background: #1e293b;
    padding: 25px;
    border-radius: 4px;
    border-top: 4px solid #ef4444;
}

.kb-card-badge {
    color: #ef4444;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.85rem;
    margin-bottom: 10px;
}

.kb-card h4 {
    margin: 0 0 10px 0;
    font-size: 1.2rem;
    color: #ffffff;
}

.kb-card p {
    color: #94a3b8;
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

.kb-cta {
    background: #1e293b;
    padding: 35px;
    border-left: 6px solid #f59e0b;
    border-radius: 4px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    align-items: center;
}

.kb-cta-text h3 {
    margin: 0 0 5px 0;
    font-size: 1.4rem;
    color: #ffffff;
    text-transform: uppercase;
}

.kb-cta-text p {
    margin: 0;
    color: #94a3b8;
    font-size: 0.95rem;
    line-height: 1.4;
}

/* ================================================ */
/* ЛОГИСТИКА                                        */
/* ================================================ */

.logistics-section {
    padding: 60px 20px;
    background-color: #1e293b;
    color: #ffffff;
    border-bottom: 4px solid #0f172a;
}

.logistics-container {
    max-width: 1200px;
    margin: 0 auto;
}

.logistics-title {
    font-size: 2.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #fbbf24;
    margin-bottom: 10px;
    border-left: 6px solid #f59e0b;
    padding-left: 15px;
}

.logistics-subtitle {
    color: #94a3b8;
    margin-bottom: 40px;
    font-size: 1.1rem;
    max-width: 800px;
}

.logistics-map {
    background-color: #0f172a;
    padding: 20px;
    border-radius: 4px;
    border: 2px solid #334155;
    margin-bottom: 40px;
    text-align: center;
}

.logistics-map-img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
}

.logistics-hubs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 50px;
}

.hub-item {
    border-left: 3px solid #f59e0b;
    padding-left: 15px;
}

.hub-name {
    font-size: 1.3rem;
    font-weight: bold;
    color: #ffffff;
}

.hub-capacity {
    font-size: 0.9rem;
    color: #f59e0b;
    font-family: monospace;
    margin: 3px 0;
}

.hub-item p {
    margin: 0;
    font-size: 0.85rem;
    color: #94a3b8;
}

.logistics-objections {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.logistics-objection {
    background-color: #0f172a;
    padding: 25px;
    border-radius: 4px;
    border: 1px solid #334155;
    position: relative;
}

.objection-badge {
    position: absolute;
    top: -15px;
    right: 20px;
    background: #fbbf24;
    color: #0f172a;
    font-weight: 900;
    padding: 2px 10px;
    font-size: 0.8rem;
    text-transform: uppercase;
}

.logistics-objection h4 {
    margin: 0 0 10px 0;
    color: #fbbf24;
    font-size: 1.1rem;
    text-transform: uppercase;
}

.logistics-objection p {
    margin: 0;
    color: #cbd5e1;
    font-size: 0.9rem;
    line-height: 1.5;
}

.logistics-cta {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    padding: 35px;
    border: 2px solid #f59e0b;
    border-radius: 4px;
    text-align: center;
}

.logistics-cta h3 {
    margin: 0 0 10px 0;
    font-size: 1.5rem;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.logistics-cta p {
    margin: 0 0 25px 0;
    color: #94a3b8;
    font-size: 1rem;
}

/* ================================================ */
/* ШТРАФНОЙ КАЛЬКУЛЯТОР                            */
/* ================================================ */

.penalty-section {
    padding: 50px 20px;
    background-color: #0f172a;
    color: #ffffff;
    border-top: 2px dashed #334155;
}

.penalty-container {
    max-width: 800px;
    margin: 0 auto;
    background: #1e293b;
    padding: 30px;
    border-radius: 4px;
    border: 2px solid #ef4444;
    box-shadow: 0 10px 30px rgba(239, 68, 68, 0.1);
}

.penalty-title {
    color: #ef4444;
    text-transform: uppercase;
    margin: 0 0 10px 0;
    font-size: 1.4rem;
    letter-spacing: 1px;
}

.penalty-subtitle {
    color: #94a3b8;
    font-size: 0.95rem;
    margin-bottom: 25px;
    line-height: 1.4;
}

.penalty-fields {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 25px;
}

.penalty-fields label {
    display: block;
    font-size: 0.85rem;
    text-transform: uppercase;
    color: #94a3b8;
    margin-bottom: 5px;
    font-weight: bold;
}

.penalty-fields input {
    width: 100%;
    padding: 10px;
    background: #0f172a;
    border: 1px solid #334155;
    color: white;
    border-radius: 3px;
}

.penalty-result {
    background: #0f172a;
    padding: 20px;
    border-radius: 3px;
    border-left: 4px solid #ef4444;
    margin-bottom: 20px;
}

.penalty-result-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    color: #94a3b8;
    letter-spacing: 1px;
}

.penalty-result-value {
    font-size: 2rem;
    font-weight: 900;
    color: #ef4444;
    margin: 10px 0;
    font-family: monospace;
}

/* ================================================ */
/* ОБЪЕКТЫ                                          */
/* ================================================ */

.objects-section {
    padding-top: 20px;
}

.object-card {
    border-top-color: #10b981;
}

.object-tag {
    background: #e0f2fe;
    color: #0369a1;
    padding: 3px 8px;
    font-size: 11px;
    font-weight: 700;
    border-radius: 3px;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 10px;
}

.object-subtitle {
    font-size: 14px;
    color: #64748b;
    margin-bottom: 10px;
}

.object-info {
    font-size: 13px;
    background: #f8fafc;
    padding: 10px;
    border-radius: 3px;
}

.object-status {
    font-weight: 700;
    margin-top: 5px;
}

.status-done {
    color: #10b981;
}

.status-progress {
    color: #f59e0b;
}

.objects-cta {
    text-align: center;
    margin-top: 40px;
}

/* ================================================ */
/* ПРОИЗВОДСТВО (КАМЕРА + ДОКУМЕНТЫ)               */
/* ================================================ */

.production-section {
    background: #0f172a;
    color: white;
    margin-top: 40px;
    padding: 60px 5%;
}

.production-subtitle {
    text-align: center;
    color: #94a3b8;
    max-width: 700px;
    margin: -20px auto 40px;
}

.production-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}

.camera-block {
    background: #1e293b;
    padding: 25px;
    border-radius: 4px;
    border: 1px solid #334155;
}

.camera-title {
    color: var(--accent);
    margin-bottom: 15px;
    font-size: 18px;
    text-transform: uppercase;
}

.camera-container {
    background: #000;
    height: 320px;
    border-radius: 3px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.iv-embed {
    margin: 0 auto;
    padding: 0;
    border: 0;
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 1;
}

.iv-v {
    display: block;
    margin: 0;
    padding: 0;
    border: 0;
    background: #000;
    width: 100%;
    height: 100%;
}

.iv-i {
    display: block;
    margin: 0;
    padding: 0;
    border: 0;
    width: 100%;
    height: 100%;
}

.camera-loading {
    position: absolute;
    z-index: 2;
    color: #94a3b8;
    font-size: 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.camera-spinner {
    width: 30px;
    height: 30px;
    border: 3px solid #334155;
    border-top: 3px solid var(--accent);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.camera-error {
    position: absolute;
    z-index: 2;
    color: #ef4444;
    font-size: 14px;
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
    padding: 20px;
}

.camera-error-icon {
    font-size: 40px;
}

.camera-error-title {
    font-weight: 700;
}

.camera-error-sub {
    font-size: 12px;
    color: #94a3b8;
}

.camera-reload-btn {
    background: var(--accent);
    border: none;
    padding: 10px 25px;
    border-radius: 3px;
    color: #0f172a;
    font-weight: 700;
    cursor: pointer;
    margin-top: 5px;
    transition: 0.3s;
}

.camera-reload-btn:hover {
    background: #d97706;
}

.camera-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%),
                linear-gradient(90deg, rgba(255, 0, 0, 0.06), rgba(0, 255, 0, 0.02), rgba(0, 0, 255, 0.06));
    background-size: 100% 4px, 6px 100%;
    pointer-events: none;
    z-index: 5;
}

.camera-live-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(239, 68, 68, 0.9);
    color: white;
    padding: 3px 8px;
    font-size: 11px;
    font-weight: 700;
    border-radius: 2px;
    animation: blink 1.5s infinite;
    letter-spacing: 1px;
    z-index: 10;
}

.camera-time {
    position: absolute;
    bottom: 10px;
    right: 10px;
    color: #10b981;
    font-family: monospace;
    font-size: 12px;
    font-weight: 700;
    background: rgba(15, 23, 42, 0.7);
    padding: 2px 6px;
    border-radius: 2px;
    z-index: 10;
}

.camera-status {
    position: absolute;
    bottom: 10px;
    left: 10px;
    color: #10b981;
    font-family: monospace;
    font-size: 11px;
    background: rgba(15, 23, 42, 0.7);
    padding: 2px 8px;
    border-radius: 2px;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 5px;
}

.camera-status-dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    background: #10b981;
    border-radius: 50%;
    animation: blink 1.5s infinite;
}

.camera-note {
    font-size: 13px;
    color: #94a3b8;
    margin: 15px 0;
}

/* ================================================ */
/* ДОКУМЕНТЫ                                        */
/* ================================================ */

.docs-block {
    background: #1e293b;
    padding: 25px;
    border-radius: 4px;
    border: 1px solid #334155;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.docs-title {
    color: white;
    margin-bottom: 15px;
    font-size: 18px;
    text-transform: uppercase;
}

.docs-subtitle {
    font-size: 14px;
    color: #cbd5e1;
    margin-bottom: 15px;
}

.docs-list {
    list-style: none;
    font-size: 13px;
    color: #94a3b8;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.docs-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    background: #0f172a;
    border-radius: 4px;
}

.docs-icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
    border-radius: 4px;
    flex-shrink: 0;
}

.docs-icon-emoji {
    font-size: 28px;
    width: 40px;
    text-align: center;
    flex-shrink: 0;
}

.docs-download {
    background: #334155;
    color: white;
    border: 1px solid #475569;
    width: 100%;
}

.docs-download:hover {
    background: #475569;
}

/* ================================================ */
/* ГЕОГРАФИЯ                                        */
/* ================================================ */

.geo-section {
    padding: 60px 5%;
    background: #fff;
    margin-top: 20px;
}

.geo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
    max-width: 1000px;
    margin: 0 auto;
    background: #e2e8f0;
    border: 1px solid #cbd5e1;
    padding: 20px;
    border-radius: 4px;
}

.hub-column h4 {
    color: var(--primary);
    margin-bottom: 15px;
    font-size: 16px;
    text-transform: uppercase;
    border-left: 3px solid var(--accent);
    padding-left: 10px;
}

.hub-list {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    font-size: 14px;
}

.hub-list li {
    display: flex;
    align-items: center;
    gap: 6px;
}

.hub-list li::before {
    content: '■';
    color: var(--accent);
    font-size: 10px;
}

.geo-note {
    text-align: center;
    color: #64748b;
    margin-top: 20px;
    font-size: 14px;
}

/* ================================================ */
/* ПОДВАЛ                                           */
/* ================================================ */

footer {
    background: #0f172a;
    color: #94a3b8;
    padding: 40px 5%;
    text-align: center;
    font-size: 14px;
    border-top: 1px solid #1e293b;
}

footer strong {
    color: white;
}

.footer-contacts {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.footer-contacts a {
    color: #94a3b8;
    text-decoration: none;
    transition: 0.3s;
    font-size: 16px;
}

.footer-contacts a:hover {
    color: white;
}

.footer-phone {
    color: #10b981 !important;
    font-weight: 700;
}

.footer-phone:hover {
    color: #34d399 !important;
}

/* ================================================ */
/* АНИМАЦИИ                                         */
/* ================================================ */

@keyframes blink {
    0% { opacity: 1; }
    50% { opacity: 0.4; }
    100% { opacity: 1; }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ================================================ */
/* АДАПТИВНОСТЬ                                     */
/* ================================================ */

@media screen and (max-width: 1024px) {
    .geo-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .hub-list {
        grid-template-columns: 1fr 1fr;
    }
}

@media screen and (max-width: 768px) {
    header {
        flex-direction: column;
        text-align: center;
        padding: 10px 5%;
    }
    .logo {
        font-size: 20px;
        justify-content: center;
    }
    .logo-img {
        height: 32px;
    }
    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
        margin: 5px 0;
    }
    .nav-menu a {
        font-size: 12px;
        color: #ffffff !important;
    }
    .header-contacts {
        justify-content: center;
    }
    .header-phone {
        font-size: 16px;
    }
    .header-email {
        font-size: 12px;
    }
    .geo-badge {
        font-size: 11px;
        padding: 4px 10px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .hero {
        padding: 50px 5%;
        min-height: 300px;
    }
    .hero h1 {
        font-size: 26px;
    }
    .hero p {
        font-size: 15px;
    }
    
    .specs-bar {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        padding: 20px 5%;
    }
    .spec-item h3 {
        font-size: 20px;
    }
    .spec-item p {
        font-size: 11px;
    }
    
    .products {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    .product-card {
        padding: 15px;
    }
    .product-img {
        height: 180px;
    }
    
    .section-title {
        font-size: 22px;
    }
    
    .cta-btn {
        padding: 12px 20px;
        font-size: 14px;
        width: 100%;
    }
    
    .camera-container {
        height: 250px !important;
    }
    
    .footer-contacts {
        flex-direction: column;
        gap: 10px;
    }
    
    .ral-title,
    .kb-title,
    .logistics-title {
        font-size: 1.6rem;
    }
    
    .ral-cassette {
        width: 160px;
        height: 160px;
    }
    
    .penalty-title {
        font-size: 1.1rem;
    }
    .penalty-result-value {
        font-size: 1.5rem;
    }
    /* ===== КОРЗИНА НА ТЕЛЕФОНЕ — ВО ВСЮ ШИРИНУ ===== */
.cart-floating {
    position: fixed;
    bottom: 0 !important;          /* Прижимаем к самому низу */
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;        /* На всю ширину */
    max-width: 100% !important;
    min-width: auto !important;
    border-radius: 0 !important;   /* Без скруглений, как панель */
    padding: 10px 16px !important;
    border-left: none !important;
    border-right: none !important;
    border-bottom: none !important;
    border-top: 3px solid #f59e0b !important;
    background: #0f172a !important;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.6) !important;
    z-index: 9999 !important;
}

/* Убираем отступы у элементов внутри */
.cart-floating .cart-title {
    font-size: 10px !important;
    margin-bottom: 2px !important;
}

.cart-floating .cart-total {
    font-size: 18px !important;
    margin: 0 !important;
}

.cart-floating .cart-total span {
    font-size: 12px !important;
}

.cart-floating .cart-count {
    font-size: 11px !important;
    margin: 0 !important;
}

.cart-floating .cart-empty {
    font-size: 11px !important;
    margin: 0 !important;
}

.cart-floating .cta-btn {
    font-size: 12px !important;
    padding: 6px 12px !important;
    margin-top: 4px !important;
}

.cart-floating .cart-close {
    font-size: 14px !important;
    top: 4px !important;
    right: 10px !important;
}

/* Бейдж с количеством */
.cart-badge {
    bottom: 70px !important;
    right: 15px !important;
    width: 24px !important;
    height: 24px !important;
    font-size: 11px !important;
}
}

@media screen and (max-width: 480px) {
    .hero h1 {
        font-size: 22px;
    }
    .specs-bar {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }
    .spec-item h3 {
        font-size: 18px;
    }
    .spec-item p {
        font-size: 10px;
    }
    
    .hub-list {
        grid-template-columns: 1fr;
    }
    
    .geo-badge {
        font-size: 10px;
    }
    .geo-dot {
        width: 6px;
        height: 6px;
    }
    
    .camera-container {
        height: 200px !important;
    }
    .camera-live-badge {
        font-size: 9px !important;
        padding: 2px 6px !important;
    }
    .camera-time {
        font-size: 10px !important;
        padding: 2px 5px !important;
    }
    .camera-status {
        font-size: 9px !important;
        padding: 2px 6px !important;
    }
    
    .ral-colors-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .kb-grid {
        grid-template-columns: 1fr;
    }
    
    .logistics-hubs {
        grid-template-columns: 1fr 1fr;
    }
    
    .logistics-objections {
        grid-template-columns: 1fr;
    }
    
    .penalty-fields {
        grid-template-columns: 1fr;
    }
        /* ===== КОРЗИНА - МИКРО ===== */
    .cart-floating {
        padding: 2px 6px !important;
        bottom: 3px !important;
        right: 3px !important;
        left: 3px !important;
        border-width: 1px !important;
    }
    
    .cart-floating .cart-title {
        font-size: 5px !important;
    }
    
    .cart-floating .cart-total {
        font-size: 9px !important;
    }
    
    .cart-floating .cart-total span {
        font-size: 6px !important;
    }
    
    .cart-floating .cart-count {
        font-size: 6px !important;
    }
    
    .cart-floating .cta-btn {
        font-size: 6px !important;
        padding: 1px 3px !important;
    }
    
    .cart-floating .cart-close {
        font-size: 7px !important;
        top: 0 !important;
        right: 3px !important;
    }
    
    .cart-badge {
        width: 14px !important;
        height: 14px !important;
        font-size: 6px !important;
        bottom: 45px !important;
        right: 6px !important;
    }
    /* ================================================ */
/* КОМПАКТНАЯ ШАПКА ДЛЯ ТЕЛЕФОНОВ                  */
/* ================================================ */

@media screen and (max-width: 768px) {
    header {
        padding: 4px 3% !important;
        gap: 4px !important;
        flex-wrap: wrap !important;
    }
    
    .logo {
        font-size: 14px !important;
        gap: 4px !important;
    }
    
    .logo-img {
        height: 24px !important;
    }
    
    .nav-menu {
        gap: 8px !important;
        margin: 0 !important;
        order: 3 !important;
        width: 100% !important;
        justify-content: center !important;
        border-top: 1px solid #1e293b !important;
        padding-top: 4px !important;
    }
    
    .nav-menu a {
        font-size: 9px !important;
        padding: 2px 0 !important;
        border-bottom: 1px solid transparent !important;
    }
    
    .nav-menu a.active {
        border-bottom-color: #f59e0b !important;
    }
    
    .header-contacts {
        gap: 6px !important;
        flex-wrap: wrap !important;
        justify-content: flex-end !important;
        flex: 1 !important;
    }
    
    .header-phone {
        font-size: 12px !important;
        gap: 3px !important;
    }
    
    .header-email {
        font-size: 9px !important;
        display: none !important; /* Скрываем почту на телефоне, чтобы не мешала */
    }
    
    .geo-badge {
        font-size: 8px !important;
        padding: 2px 6px !important;
        gap: 4px !important;
        display: none !important; /* Скрываем гео-бейдж на телефоне */
    }
    
    .geo-dot {
        width: 4px !important;
        height: 4px !important;
    }
}

@media screen and (max-width: 480px) {
    header {
        padding: 2px 3% !important;
    }
    
    .logo {
        font-size: 12px !important;
    }
    
    .logo-img {
        height: 20px !important;
    }
    
    .nav-menu a {
        font-size: 8px !important;
    }
    
    .header-phone {
        font-size: 10px !important;
    }
}
/* ===== СДЕРЖАННАЯ АНИМАЦИЯ ПОЯВЛЕНИЯ ===== */
.hero,
.specs-bar,
.catalog,
.calculator-section,
.ral-section,
.kb-section,
.logistics-section,
.production-section,
.objects-section,
.geo-section,
.camera-top-section,
.advantages-section,
.blog-section,
.faq-section,
.objects-mini-section {
    opacity: 0;
    transform: translateY(5px);
    animation: fadeInUp 0.6s ease-out forwards;
}

.hero { animation-delay: 0.05s; }
.specs-bar { animation-delay: 0.10s; }
.catalog { animation-delay: 0.15s; }
.calculator-section { animation-delay: 0.20s; }
.ral-section { animation-delay: 0.25s; }
.kb-section { animation-delay: 0.30s; }
.logistics-section { animation-delay: 0.35s; }
.production-section { animation-delay: 0.40s; }
.objects-section { animation-delay: 0.45s; }
.geo-section { animation-delay: 0.50s; }
.camera-top-section { animation-delay: 0.55s; }
.advantages-section { animation-delay: 0.60s; }
.blog-section { animation-delay: 0.65s; }
.faq-section { animation-delay: 0.70s; }
.objects-mini-section { animation-delay: 0.75s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== НА МОБИЛКАХ УБИРАЕМ ЗАДЕРЖКИ (ЧТОБЫ НЕ ТОРМОЗИЛО) ===== */
@media screen and (max-width: 768px) {
    .hero,
    .specs-bar,
    .catalog,
    .calculator-section,
    .ral-section,
    .kb-section,
    .logistics-section,
    .production-section,
    .objects-section,
    .geo-section,
    .camera-top-section,
    .advantages-section,
    .blog-section,
    .faq-section,
    .objects-mini-section {
        animation-duration: 0.3s;
        opacity: 1;
        transform: none;
        animation: none;
    }
    /* ================================================ */
/* КНОПКА-ЛИПУЧКА (ДЛЯ КОМПЬЮТЕРА)                 */
/* ================================================ */

.sticky-call-btn {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 9999;
    background: #10b981;
    color: white;
    padding: 12px 20px;
    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.4);
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    transition: 0.3s;
    border: 2px solid rgba(255,255,255,0.1);
}

.sticky-call-btn:hover {
    background: #059669;
    transform: scale(1.05);
    box-shadow: 0 6px 30px rgba(16, 185, 129, 0.5);
}

.sticky-call-btn svg {
    width: 24px;
    height: 24px;
    fill: white;
}

/* ===== НА ПЛАНШЕТАХ И ТЕЛЕФОНАХ — МАЛЕНЬКАЯ, НЕ МЕШАЕТ ===== */
@media screen and (max-width: 768px) {
    .sticky-call-btn {
        bottom: 15px;
        left: 15px;
        padding: 8px 12px;
        border-radius: 40px;
        gap: 6px;
        box-shadow: 0 4px 15px rgba(16, 185, 129, 0.5);
    }
    
    .sticky-call-btn svg {
        width: 18px;
        height: 18px;
    }
    
    .sticky-call-btn .call-text {
        font-size: 11px;
        font-weight: 600;
    }
}

@media screen and (max-width: 480px) {
    .sticky-call-btn {
        bottom: 10px;
        left: 10px;
        padding: 6px 10px;
        border-radius: 30px;
        gap: 4px;
    }
    
    .sticky-call-btn svg {
        width: 14px;
        height: 14px;
    }
    
    .sticky-call-btn .call-text {
        font-size: 9px;
        font-weight: 600;
    }
}
}
}