/* =============================================
   Робот Мойка — Modern Design
   CMYK 13,38,100,0 → #DE9E00
   CMYK 0,0,0,80     → #333333
   CMYK 1,1,7,0      → #FCFCE9
   ============================================= */

@font-face {
    font-family: 'TT Norms';
    src: local('TT Norms Heavy'), local('TTNorms-Heavy'), local('TT Norms');
    font-weight: 900;
    font-style: normal;
}

:root {
    --primary: #DE9E00;
    --primary-light: #F0B830;
    --primary-dark: #B87E00;
    --dark: #333333;
    --dark-bg: #1A1A1A;
    --light: #FCFCE9;
    --light-muted: #E8E8DC;
    --white: #FFFFFF;
    --overlay: rgba(26, 26, 26, 0.75);
    --font-heading: 'TT Norms', 'Bahnschrift', 'Segoe UI', sans-serif;
    --font-body: 'Bahnschrift', 'Segoe UI', sans-serif;
    --radius: 12px;
    --radius-lg: 20px;
    --shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    background: var(--dark-bg);
    color: var(--light);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--primary-light);
}
a:visited {
    color: #000; /* нужный цвет */
    text-decoration: none; /* если не нужно подчёркивание */
}

ul { list-style: none; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ---- HEADER ---- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 12px 0;
    transition: background var(--transition), padding var(--transition), box-shadow var(--transition);
}

.site-header.scrolled {
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 8px 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.logo img {
    height: 60px;
    width: auto;
    transition: transform var(--transition);
}

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

.main-nav ul {
    display: flex;
    align-items: center;
    gap: 36px;
}

.main-nav a {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 15px;
    color: var(--light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    padding: 4px 0;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width var(--transition);
}

.main-nav a:hover {
    color: var(--primary);
}

.main-nav a:hover::after {
    width: 100%;
}

.main-nav a.active {
    color: var(--primary);
}

.main-nav a.active::after {
    width: 100%;
}
.main-nav a:visited {
    color: #fff;
}
.btn-call {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary);
    color: var(--dark);
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 10px 22px;
    border-radius: 50px;
    transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
    white-space: nowrap;
}

.btn-call:hover {
    background: var(--primary-light);
    color: var(--dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(222, 158, 0, 0.4);
}

.btn-call-mobile {
    display: none;
    margin-top: 24px;
    width: 100%;
    justify-content: center;
}

.burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 1001;
}

.burger span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--light);
    border-radius: 2px;
    transition: transform var(--transition), opacity var(--transition);
}

.burger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.burger.active span:nth-child(2) {
    opacity: 0;
}

.burger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ---- HERO ---- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: url('../img/banner.png') center/cover no-repeat;
    transform: scale(1.05);
    animation: heroZoom 20s ease-in-out infinite alternate;
}

@keyframes heroZoom {
    from { transform: scale(1.05); }
    to   { transform: scale(1.12); }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(26, 26, 26, 0.6) 0%,
        rgba(26, 26, 26, 0.85) 60%,
        var(--dark-bg) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 120px 0 80px;
    max-width: 800px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--light-muted);
    background: rgba(252, 252, 233, 0.08);
    border: 1px solid rgba(252, 252, 233, 0.15);
    padding: 6px 18px;
    border-radius: 50px;
    margin-bottom: 24px;
    letter-spacing: 0.3px;
}

.hero-title {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: clamp(48px, 10vw, 100px);
    line-height: 1;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: -1px;
    margin-bottom: 16px;
}

.hero-highlight {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: clamp(28px, 5vw, 48px);
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow:
        -2px -2px 0 var(--dark),
         2px -2px 0 var(--dark),
        -2px  2px 0 var(--dark),
         2px  2px 0 var(--dark);
    margin-bottom: 20px;
}

.hero-sub {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: clamp(18px, 3vw, 28px);
    color: var(--light);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.hero-desc {
    font-size: 18px;
    color: var(--light-muted);
    margin-bottom: 36px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-actions a:visited{
   color: #fff;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary);
    color: var(--dark);
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 14px 32px;
    border-radius: 50px;
    border: 2px solid var(--primary);
    transition: all var(--transition);
    cursor: pointer;
}

.btn-primary:hover {
    background: var(--primary-light);
    border-color: var(--primary-light);
    color: var(--dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(222, 158, 0, 0.35);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: var(--light);
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 14px 32px;
    border-radius: 50px;
    border: 2px solid rgba(252, 252, 233, 0.3);
    transition: all var(--transition);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 16px 40px;
    font-size: 16px;
}

.hero-scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.hero-scroll span {
    display: block;
    width: 24px;
    height: 40px;
    border: 2px solid rgba(252, 252, 233, 0.3);
    border-radius: 12px;
    position: relative;
}

.hero-scroll span::after {
    content: '';
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--primary);
    border-radius: 2px;
    animation: scrollDown 2s ease-in-out infinite;
}

@keyframes scrollDown {
    0%   { opacity: 1; top: 6px; }
    100% { opacity: 0; top: 22px; }
}

/* ---- SECTIONS ---- */
.section {
    padding: 100px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary);
    margin-bottom: 12px;
}

.section-title {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: clamp(28px, 5vw, 42px);
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.section-desc {
    font-size: 17px;
    color: var(--light-muted);
    max-width: 500px;
    margin: 0 auto;
}

/* ---- QUEUE ---- */
.queue-section {
    background: var(--dark-bg);
}

.queue-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 48px;
    align-items: center;
}

.video-card {
    display: block;
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform var(--transition), box-shadow var(--transition);
}

.video-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5);
}

.video-card img {
    width: 100%;
    aspect-ratio: 16/10;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.video-card:hover img {
    transform: scale(1.05);
}

.video-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 72px;
    height: 72px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark);
    transition: transform var(--transition), background var(--transition);
    box-shadow: 0 4px 20px rgba(222, 158, 0, 0.5);
}

.video-card:hover .video-play {
    transform: translate(-50%, -50%) scale(1.1);
    background: var(--primary-light);
}

.video-label {
    position: absolute;
    bottom: 16px;
    left: 16px;
    background: rgba(26, 26, 26, 0.8);
    backdrop-filter: blur(8px);
    color: var(--light);
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 8px 16px;
    border-radius: 50px;
}

.queue-info h3 {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 28px;
    color: var(--primary);
    margin-bottom: 16px;
}

.queue-info p {
    font-size: 17px;
    color: var(--light-muted);
    margin-bottom: 32px;
    line-height: 1.7;
}

.features-list li {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid rgba(252, 252, 233, 0.08);
}

.features-list li:last-child {
    border-bottom: none;
}

.feature-num {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 24px;
    color: var(--primary);
    min-width: 60px;
}

.features-list span:last-child {
    font-size: 16px;
    color: var(--light);
}

/* ---- TARIFFS ---- */
.tariffs-section {
    background: url('../img/fon.png') center/cover no-repeat;
    position: relative;
}

.tariffs-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(26, 26, 26, 0.88);
}

.tariffs-section .container {
    position: relative;
    z-index: 1;
}

.tariffs-grid {
    display: flex;
    flex-direction: column;
    gap: 32px;
    max-width: 800px;
    margin: 0 auto;
}

.tariff-card {
    background: rgba(51, 51, 51, 0.5);
    border: 1px solid rgba(252, 252, 233, 0.08);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.tariff-card:hover {
    transform: translateY(-4px);
    border-color: rgba(222, 158, 0, 0.3);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.tariff-img img {
    width: 100%;
    transition: transform 0.5s ease;
}

.tariff-card:hover .tariff-img img {
    transform: scale(1.02);
}

/* ---- CONTACTS ---- */
.contacts-section {
    background: var(--dark-bg);
}

.contacts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

.contacts-grid a:visited {
    color: #fff;
}

.contact-card {
    background: rgba(51, 51, 51, 0.4);
    border: 1px solid rgba(252, 252, 233, 0.08);
    border-radius: var(--radius);
    padding: 32px 24px;
    text-align: center;
    transition: transform var(--transition), border-color var(--transition);
}

.contact-card:hover {
    transform: translateY(-4px);
    border-color: rgba(222, 158, 0, 0.25);
}

.contact-icon {
    width: 56px;
    height: 56px;
    background: rgba(222, 158, 0, 0.12);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    color: var(--primary);
}

.contact-card h4 {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--white);
    margin-bottom: 8px;
}

.contact-card p {
    font-size: 15px;
    color: var(--light-muted);
}

.contact-card a {
    color: var(--primary);
}
.contact-card a:visited {
    color: #fff;
}

.contacts-cta {
    text-align: center;
}

/* ---- FOOTER ---- */
.site-footer {
    padding: 32px 0;
    border-top: 1px solid rgba(252, 252, 233, 0.06);
    text-align: center;
}

.site-footer p {
    font-size: 14px;
    color: rgba(252, 252, 233, 0.4);
}

/* ---- ANIMATIONS ---- */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* stagger children */
.tariffs-grid .fade-up:nth-child(2) { transition-delay: 0.1s; }
.tariffs-grid .fade-up:nth-child(3) { transition-delay: 0.2s; }
.contacts-grid .fade-up:nth-child(2) { transition-delay: 0.1s; }
.contacts-grid .fade-up:nth-child(3) { transition-delay: 0.2s; }

/* ---- RESPONSIVE ---- */
@media (max-width: 991px) {
    .queue-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .contacts-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 768px) {
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: rgba(26, 26, 26, 0.98);
        backdrop-filter: blur(16px);
        padding: 100px 32px 32px;
        transition: right var(--transition);
        z-index: 999;
    }

    .main-nav.open {
        right: 0;
    }

    .main-nav ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
    }

    .main-nav li {
        width: 100%;
        border-bottom: 1px solid rgba(252, 252, 233, 0.06);
    }

    .main-nav a {
        display: block;
        padding: 16px 0;
        font-size: 16px;
    }

    .burger {
        display: flex;
    }

    .btn-call {
        display: none;
    }

    .btn-call-mobile {
        display: inline-flex;
    }

    .logo img {
        height: 48px;
    }

    .hero-content {
        padding: 100px 0 60px;
    }

    .section {
        padding: 70px 0;
    }

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

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .btn-primary, .btn-outline {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 42px;
    }

    .hero-highlight {
        font-size: 24px;
    }

    .hero-sub {
        font-size: 16px;
    }

    .hero-desc {
        font-size: 15px;
    }

    .container {
        padding: 0 16px;
    }
}

/* Mobile nav overlay */
.nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition), visibility var(--transition);
}

.nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ---- VIDEO PAGE ---- */
.video-page {
    min-height: 100vh;
    padding: 120px 0 80px;
    background: var(--dark-bg);
}

.video-page-header {
    text-align: center;
    margin-bottom: 48px;
}

.camera-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    max-width: 100%;
    margin: 0 auto;
}

.camera-card {
    display: block;
    background: rgba(51, 51, 51, 0.4);
    border: 1px solid rgba(252, 252, 233, 0.08);
    border-radius: var(--radius-lg);
    overflow: hidden;
    color: var(--light);
    transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.camera-card:hover {
    transform: translateY(-6px);
    border-color: rgba(222, 158, 0, 0.35);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.45);
    color: var(--light);
}

.camera-card-img {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 10;
}

.camera-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.camera-card:hover .camera-card-img img {
    transform: scale(1.06);
}

.camera-card-overlay {
    position: absolute;
    inset: 0;
    background: rgba(26, 26, 26, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    opacity: 0;
    transition: opacity var(--transition);
}

.camera-card-overlay svg {
    width: 56px;
    height: 56px;
    padding: 14px;
    background: var(--primary);
    color: var(--dark);
    border-radius: 50%;
    fill: var(--dark);
    stroke: none;
}

.camera-card:hover .camera-card-overlay {
    opacity: 1;
}

.camera-card-body {
    padding: 24px;
    text-align: center;
}

.camera-card-body h2 {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: clamp(18px, 3vw, 22px);
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.camera-card-link {
    font-size: 14px;
    color: var(--primary);
    letter-spacing: 0.3px;
    transition: color var(--transition);
}

.camera-card:hover .camera-card-link {
    color: var(--primary-light);
}

@media (max-width: 768px) {
    .video-page {
        padding: 100px 0 60px;
    }

    .camera-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .camera-card-overlay {
        opacity: 1;
        background: rgba(26, 26, 26, 0.3);
    }

    .camera-card-overlay svg {
        width: 44px;
        height: 44px;
        padding: 10px;
    }
}
.camera-card-img video {
    width: 100%;
    height: 400px;
    object-fit: contain;
    background: #000;
}
.map-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.map-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(252, 252, 233, 0.08);
    border: 1px solid rgba(252, 252, 233, 0.15);
    transition: transform var(--transition), background var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.map-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}

.map-link-yandex {
    color: #FC3F1D;
}

.map-link-yandex:hover {
    background: rgba(252, 63, 29, 0.15);
    border-color: rgba(252, 63, 29, 0.45);
}

.map-link-google:hover {
    background: rgba(66, 133, 244, 0.15);
    border-color: rgba(66, 133, 244, 0.45);
}

.map-link-2gis {
    color: #29B247;
}

.map-link-2gis:hover {
    background: rgba(41, 178, 71, 0.15);
    border-color: rgba(41, 178, 71, 0.45);
}