/* ==========================================================================
   VARIABLES & RESET
   ========================================================================== */
   :root {
    --bg-dark: #050505;
    --bg-darker: #020202;
    --bg-panel: rgba(15, 15, 15, 0.7);
    --neon-blue: #00E5FF;
    --neon-blue-glow: rgba(0, 229, 255, 0.4);
    --text-main: #E0E0E0;
    --text-muted: #888888;
    --border-glass: rgba(255, 255, 255, 0.05);
    
    /* Changed to Outfit for a more modern, premium tech feel */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --transition-fast: 0.2s ease;
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background-color: var(--bg-dark);
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--neon-blue);
}

/* ==========================================================================
   TYPOGRAPHY & UTILITIES
   ========================================================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.text-neon {
    color: var(--neon-blue);
    text-shadow: 0 0 10px var(--neon-blue-glow);
}

.text-center { text-align: center; }
.text-right { text-align: right; }

.section { padding: 100px 0; }
.bg-darker { background-color: var(--bg-darker); }

.section__title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 3rem;
    letter-spacing: 2px;
}

/* ==========================================================================
   COMPONENTS
   ========================================================================== */
/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    border: none;
    background: transparent;
    transition: var(--transition-fast);
    text-decoration: none;
    border-radius: 4px;
}

.btn--primary {
    background: var(--neon-blue);
    color: var(--bg-dark);
}

.btn--glow:hover {
    box-shadow: 0 0 20px var(--neon-blue-glow);
    transform: translateY(-2px);
}

.btn--outline {
    border: 1px solid var(--text-muted);
    color: var(--text-main);
}

.btn--outline:hover {
    border-color: var(--neon-blue);
    color: var(--neon-blue);
}

.btn--neon {
    border: 1px solid var(--neon-blue);
    color: var(--neon-blue);
    background: rgba(0, 229, 255, 0.05);
}

.btn--neon:hover {
    background: var(--neon-blue);
    color: var(--bg-dark);
    box-shadow: 0 0 15px var(--neon-blue-glow);
}

.btn--full { width: 100%; }
.mt-4 { margin-top: 1rem; }

/* Glass Panel */
.glass-panel {
    background: var(--bg-panel);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    padding: 2rem;
}

/* Forms */
.form-group {
    position: relative;
    margin-bottom: 25px;
}

.form-input {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--border-glass);
    padding: 10px 0;
    color: white;
    font-family: var(--font-body);
    font-size: 1rem;
    outline: none;
}

.input-border {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--neon-blue);
    transition: var(--transition-fast);
}

.form-input:focus ~ .input-border { width: 100%; }

/* File Upload */
.file-upload-group {
    margin-bottom: 30px;
}
.file-input {
    display: none;
}
.file-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px;
    border: 1px dashed var(--text-muted);
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition-fast);
    color: var(--text-muted);
}
.file-label:hover {
    border-color: var(--neon-blue);
    color: var(--neon-blue);
}

/* ==========================================================================
   NAVIGATION
   ========================================================================== */

.navbar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 20px 0;
    transition: var(--transition-slow);
}

.navbar.scrolled {
    position: fixed;
    top: 0;
    background: rgba(5, 5, 5, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    border-bottom: 1px solid var(--border-glass);
}

.navbar__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    color: white;
}

.logo__icon-wrapper {
    width: 40px;
    height: 40px;
    background: var(--neon-blue);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo__icon {
    color: var(--bg-dark);
    font-size: 24px;
}

.logo__text-wrapper {
    display: flex;
    flex-direction: column;
}

.logo__text {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: 2px;
    line-height: 1;
}

.logo__sub {
    font-size: 0.65rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 4px;
}

.navbar__center {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.navbar__info {
    display: flex;
    gap: 15px;
    font-size: 0.75rem;
    color: var(--text-muted);
    align-items: center;
    transition: var(--transition-fast);
}

.navbar__info-item {
    display: flex;
    align-items: center;
    gap: 4px;
}

.navbar__info-divider {
    color: var(--border-glass);
}

.navbar__links {
    display: flex;
    gap: 30px;
}

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition-fast);
}

.nav-link:hover { color: var(--neon-blue); }

.navbar__right {
    display: flex;
    align-items: center;
    gap: 30px;
}

.navbar__contact-fixed {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 229, 255, 0.05);
    border: 1px solid rgba(0, 229, 255, 0.3);
    padding: 8px 16px;
    border-radius: 30px;
    transition: var(--transition-fast);
}

.navbar__contact-fixed:hover {
    background: rgba(0, 229, 255, 0.15);
    box-shadow: 0 0 15px var(--neon-blue-glow);
}

.navbar__phone {
    color: white;
    text-decoration: none;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 1px;
}

.burger-menu {
    display: none;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
}

@media (max-width: 900px) {
    .navbar__center, .navbar__contact-fixed { display: none; }
    .burger-menu { display: block; }
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
    position: relative;
    padding-top: 150px;
    padding-bottom: 100px;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero__background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.5;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(5,5,5,0.9) 0%, rgba(5,5,5,0.6) 100%),
                linear-gradient(to bottom, rgba(5,5,5,0) 60%, rgba(5,5,5,1) 100%);
}

.hero__container {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 50px;
    align-items: center;
}

.hero__subtitle {
    font-family: var(--font-heading);
    color: var(--neon-blue);
    letter-spacing: 5px;
    font-size: 0.875rem;
    font-weight: 700;
    display: block;
    margin-bottom: 20px;
}

.hero__title {
    font-family: var(--font-heading);
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 30px;
    letter-spacing: -1px;
}

.hero__desc {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 600px;
}

/* Hero Form */
.hero__form-wrapper {
    background: rgba(10, 10, 10, 0.85);
    border-top: 4px solid var(--neon-blue);
}

.hero-form__title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.hero-form__desc {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 25px;
}

@media (max-width: 992px) {
    .hero__container { grid-template-columns: 1fr; }
    .hero__title { font-size: 3rem; }
    .hero__form-wrapper { max-width: 500px; margin: 0 auto; width: 100%; }
}

/* ==========================================================================
   BENEFITS
   ========================================================================== */
.benefits__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.benefit-card {
    text-align: center;
    padding: 40px 20px;
}

.benefit__icon {
    font-size: 48px;
    color: var(--neon-blue);
    margin-bottom: 20px;
}

.benefit__title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.benefit__desc {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ==========================================================================
   PROBLEMS (TILT CARDS)
   ========================================================================== */
.problems__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    background: var(--bg-panel);
    border: 1px solid var(--border-glass);
    padding: 40px 30px;
    border-radius: 8px;
    transition: transform 0.1s ease, box-shadow 0.3s ease;
    transform-style: preserve-3d;
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--neon-blue);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.card:hover::before { transform: scaleX(1); }

.card:hover {
    border-color: rgba(0, 229, 255, 0.2);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.card__icon-wrapper {
    width: 60px;
    height: 60px;
    background: rgba(0, 229, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transform: translateZ(20px);
}

.card__icon { color: var(--neon-blue); font-size: 30px; }

.card__title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    margin-bottom: 15px;
    transform: translateZ(30px);
}

.card__desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    transform: translateZ(10px);
}

/* ==========================================================================
   EQUIPMENT
   ========================================================================== */
.equipment__layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.equipment__desc {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.equipment__list {
    list-style: none;
}

.equipment__list li {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.equipment__list strong {
    color: white;
    font-family: var(--font-heading);
}

.equipment__list div { color: var(--text-muted); }

.equipment__image-grid {
    position: relative;
    height: 500px;
}

.img-main {
    width: 80%;
    height: 400px;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid var(--border-glass);
}

.img-sub {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 60%;
    height: 300px;
    object-fit: cover;
    border-radius: 12px;
    border: 4px solid var(--bg-dark);
    box-shadow: -10px -10px 30px rgba(0,0,0,0.5);
}

@media (max-width: 900px) {
    .equipment__layout { grid-template-columns: 1fr; }
    .equipment__image-grid { height: 400px; margin-top: 40px; }
}

/* ==========================================================================
   TIMELINE (PROCESS)
   ========================================================================== */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 20px;
    height: 100%;
    width: 2px;
    background: var(--border-glass);
}

.timeline__item {
    position: relative;
    padding-left: 60px;
    margin-bottom: 40px;
}

.timeline__item:last-child { margin-bottom: 0; }

.timeline__dot {
    position: absolute;
    left: 11px;
    top: 20px;
    width: 20px;
    height: 20px;
    background: var(--bg-dark);
    border: 2px solid var(--neon-blue);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--neon-blue-glow);
}

.timeline__title {
    font-family: var(--font-heading);
    color: var(--neon-blue);
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.timeline__desc { color: var(--text-muted); }

/* ==========================================================================
   PORTFOLIO (BEFORE/AFTER SLIDER)
   ========================================================================== */
.before-after-wrapper {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-glass);
}

.before-after-slider {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
}

.before-after-slider img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

.image-after {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.image-before {
    position: absolute;
    top: 0;
    left: 0;
    width: 50%; 
    height: 100%;
    overflow: hidden;
    z-index: 2;
}

.image-before img {
    width: 200%; 
    max-width: 900px; 
}

.slider-handle {
    position: absolute;
    top: 0;
    left: 50%;
    width: 4px;
    height: 100%;
    background: var(--neon-blue);
    z-index: 3;
    transform: translateX(-50%);
    cursor: ew-resize;
    box-shadow: 0 0 10px var(--neon-blue-glow);
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-handle span {
    width: 40px;
    height: 40px;
    background: var(--neon-blue);
    color: var(--bg-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.slider-labels {
    position: absolute;
    bottom: 20px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 30px;
    pointer-events: none;
    z-index: 4;
}

.label-before, .label-after {
    background: rgba(0,0,0,0.7);
    padding: 5px 15px;
    border-radius: 20px;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
}

@media (max-width: 768px) { .before-after-slider { height: 400px; } }

/* ==========================================================================
   PRICES & CALCULATOR
   ========================================================================== */
.prices__layout {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 30px;
}

@media (max-width: 992px) { .prices__layout { grid-template-columns: 1fr; } }

.panel-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-transform: uppercase;
}

.prices-table {
    width: 100%;
    border-collapse: collapse;
}

.prices-table th {
    font-family: var(--font-heading);
    color: var(--text-muted);
    font-size: 0.75rem;
    letter-spacing: 2px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-glass);
    text-align: left;
}

.prices-table td {
    padding: 20px 0;
    border-bottom: 1px solid rgba(255,255,255,0.02);
    transition: var(--transition-fast);
}

.prices-table tr:hover td {
    background: rgba(255,255,255,0.02);
    padding-left: 10px;
}

/* Calculator */
.calc-group { margin-bottom: 30px; }

.calc-label {
    display: block;
    font-family: var(--font-heading);
    color: var(--text-muted);
    font-size: 0.75rem;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.calc-options {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.calc-options--col { grid-template-columns: 1fr; }

.calc-btn {
    background: transparent;
    border: 1px solid var(--border-glass);
    color: var(--text-main);
    padding: 15px;
    cursor: pointer;
    font-family: var(--font-heading);
    font-weight: 700;
    border-radius: 4px;
    transition: var(--transition-fast);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.calc-btn:hover { border-color: rgba(0, 229, 255, 0.3); }

.calc-btn.active {
    background: rgba(0, 229, 255, 0.1);
    border-color: var(--neon-blue);
    color: var(--neon-blue);
    box-shadow: inset 0 0 10px rgba(0, 229, 255, 0.1);
}

.calc-btn-title { display: block; margin-bottom: 5px; }
.calc-btn-desc { font-family: var(--font-body); font-size: 0.75rem; color: var(--text-muted); font-weight: 400; }

.calc-total {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding-top: 20px;
    border-top: 1px solid var(--border-glass);
    margin-bottom: 20px;
}

.calc-total-label {
    font-family: var(--font-heading);
    color: var(--text-muted);
    font-size: 0.875rem;
    letter-spacing: 2px;
}

.calc-total-value {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
}

/* ==========================================================================
   GUARANTEE
   ========================================================================== */
.guarantee__banner {
    text-align: center;
    padding: 60px 20px;
    border-top: 2px solid var(--neon-blue);
    background: linear-gradient(180deg, rgba(0,229,255,0.05) 0%, rgba(15,15,15,0.7) 100%);
}

.guarantee__icon {
    font-size: 64px;
    margin-bottom: 20px;
}

.guarantee__title {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 20px;
}

.guarantee__desc {
    max-width: 600px;
    margin: 0 auto;
    color: var(--text-muted);
}

/* ==========================================================================
   REVIEWS
   ========================================================================== */
.reviews__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.review-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.review__stars {
    color: #FFD700;
    margin-bottom: 15px;
}

.review__stars span { font-size: 18px; }

.review__text {
    font-style: italic;
    color: var(--text-main);
    margin-bottom: 20px;
    flex-grow: 1;
}

.review__author {
    display: flex;
    align-items: center;
    gap: 15px;
    border-top: 1px solid var(--border-glass);
    padding-top: 15px;
}

.review__avatar {
    width: 40px;
    height: 40px;
    background: #333;
    border-radius: 50%;
}

.review__name { display: block; font-weight: 600; font-family: var(--font-heading); }
.review__auto { display: block; font-size: 0.75rem; color: var(--neon-blue); }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq__list {
    max-width: 800px;
    margin: 0 auto;
}

.faq__item {
    margin-bottom: 15px;
    padding: 0;
    overflow: hidden;
}

.faq__question {
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-family: var(--font-heading);
    font-weight: 600;
    transition: var(--transition-fast);
}

.faq__question:hover { color: var(--neon-blue); }

.faq__icon {
    transition: transform 0.3s ease;
}

.faq__item.active .faq__icon {
    transform: rotate(45deg);
    color: var(--neon-blue);
}

.faq__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 30px;
}

.faq__item.active .faq__answer {
    max-height: 200px;
    padding-bottom: 20px;
}

.faq__answer p { color: var(--text-muted); }

/* ==========================================================================
   GALLERY
   ========================================================================== */
.gallery__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.gallery__item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 4/3;
    border: 1px solid var(--border-glass);
    cursor: pointer;
}

.gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.gallery__item:hover img {
    transform: scale(1.05);
}

.gallery__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    display: flex;
    align-items: flex-end;
    padding: 20px;
    opacity: 0;
    transition: var(--transition-fast);
}

.gallery__item:hover .gallery__overlay {
    opacity: 1;
}

.gallery__title {
    color: white;
    font-family: var(--font-heading);
    font-size: 1.125rem;
}

/* ==========================================================================
   PROMO BANNER
   ========================================================================== */
.promo-banner {
    position: relative;
    overflow: hidden;
    text-align: center;
    border-color: var(--neon-blue);
    box-shadow: 0 0 30px rgba(0, 229, 255, 0.1);
}

.promo-banner::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 2px;
    background: linear-gradient(90deg, transparent, var(--neon-blue), transparent);
}

.promo__subtitle {
    color: var(--neon-blue);
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 10px;
    display: block;
    text-transform: uppercase;
}

.promo__title {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    margin-bottom: 20px;
}

/* ==========================================================================
   MAP & CONTACTS
   ========================================================================== */
.contacts__wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
}

@media (max-width: 992px) {
    .contacts__wrapper { grid-template-columns: 1fr; }
}

.contacts__info-panel {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contacts__item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.contacts__icon {
    color: var(--neon-blue);
    font-size: 2rem;
}

.contacts__text h4 {
    font-family: var(--font-heading);
    margin-bottom: 5px;
    font-size: 1.2rem;
}

.contacts__text p {
    color: var(--text-muted);
}

.contacts__map-container {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-glass);
    height: 400px;
    position: relative;
}

.contacts__map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    filter: invert(90%) hue-rotate(180deg) contrast(100%); /* Трюк для темной карты */
}

/* ==========================================================================
   WHAT'S INCLUDED (ЧТО ВХОДИТ)
   ========================================================================== */
.includes__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.includes__item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    transition: var(--transition-fast);
}

.includes__item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--neon-blue);
    transform: translateY(-3px);
}

.includes__icon {
    color: var(--neon-blue);
    font-size: 2rem;
}

.includes__text h4 {
    font-family: var(--font-heading);
    margin-bottom: 5px;
}

.includes__text p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ==========================================================================
   TEAM (НАША КОМАНДА)
   ========================================================================== */
.team__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.team__card {
    text-align: center;
    padding: 30px 20px;
}

.team__avatar {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin: 0 auto 20px;
    overflow: hidden;
    border: 3px solid var(--border-glass);
    transition: var(--transition-fast);
}

.team__card:hover .team__avatar {
    border-color: var(--neon-blue);
    box-shadow: 0 0 20px var(--neon-blue-glow);
}

.team__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team__name {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    margin-bottom: 5px;
}

.team__role {
    color: var(--neon-blue);
    font-size: 0.9rem;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.team__desc {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ==========================================================================
   EXTRA SERVICES (ДОП. УСЛУГИ)
   ========================================================================== */
.extra-services__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-top: 20px;
}

.extra-service__tag {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-glass);
    padding: 10px 20px;
    border-radius: 30px;
    color: var(--text-main);
    font-size: 0.9rem;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 8px;
}

.extra-service__tag:hover {
    background: rgba(0, 229, 255, 0.1);
    border-color: var(--neon-blue);
    color: var(--neon-blue);
    cursor: default;
}

.extra-service__tag .material-symbols-outlined {
    font-size: 1.2rem;
}

/* ==========================================================================
   BRANDS MARQUEE
   ========================================================================== */
.brands-marquee {
    overflow: hidden;
    white-space: nowrap;
    background: rgba(0, 0, 0, 0.5);
    padding: 20px 0;
    border-top: 1px solid var(--border-glass);
    border-bottom: 1px solid var(--border-glass);
    display: flex;
    width: 100%;
}

.marquee-content {
    display: flex;
    animation: marquee 30s linear infinite;
}

.marquee-item {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 30px;
    height: 60px;
    width: 150px; /* Задаем одинаковую ширину для всех "ячеек" логотипов */
}

.marquee-item img {
    max-width: 100%;
    max-height: 35px; /* Строго ограничиваем высоту, чтобы текст логотипов был одного размера */
    object-fit: contain;
    filter: grayscale(100%) opacity(0.6); /* Делаем логотипы серыми и тусклыми по умолчанию */
    transition: var(--transition-slow);
}

.marquee-item:hover img {
    filter: grayscale(0%) opacity(1); /* Возвращаем цвет при наведении */
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.2);
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

/* ==========================================================================
   CERTIFICATES
   ========================================================================== */
.certificates__grid {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

.certificate-card {
    max-width: 400px;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid var(--border-glass);
    transition: var(--transition-slow);
}

.certificate-card:hover {
    border-color: var(--neon-blue);
    transform: scale(1.02);
    box-shadow: 0 0 30px var(--neon-blue-glow);
}

.certificate-card img {
    width: 100%;
    display: block;
}

/* ==========================================================================
   SCENARIOS (КОМУ НУЖНА ХИМЧИСТКА)
   ========================================================================== */
.scenarios__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.scenario__card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    transition: var(--transition-fast);
}

.scenario__card:hover {
    border-color: var(--neon-blue);
    transform: translateY(-5px);
    background: rgba(0, 229, 255, 0.05);
}

.scenario__icon {
    font-size: 3rem;
    color: var(--neon-blue);
    margin-bottom: 15px;
}

.scenario__card h4 {
    font-family: var(--font-heading);
    margin-bottom: 10px;
}

.scenario__card p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* ==========================================================================
   COMPARISON (МЫ VS ОБЫЧНАЯ МОЙКА)
   ========================================================================== */
.comparison__container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 40px;
}

.comparison__col {
    flex: 1;
    min-width: 300px;
    padding: 40px;
    border-radius: 12px;
}

.comparison__bad {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.comparison__bad h3 {
    color: var(--text-muted);
    text-align: center;
    margin-bottom: 30px;
    font-family: var(--font-heading);
}

.comparison__good {
    background: linear-gradient(145deg, rgba(0, 229, 255, 0.05), rgba(0, 229, 255, 0.01));
    border: 1px solid var(--neon-blue);
    box-shadow: 0 0 30px rgba(0, 229, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.comparison__good::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 5px;
    background: var(--neon-blue);
    box-shadow: 0 0 15px var(--neon-blue-glow);
}

.comparison__good h3 {
    color: var(--neon-blue);
    text-align: center;
    margin-bottom: 30px;
    font-family: var(--font-heading);
}

.comparison__list {
    list-style: none;
    padding: 0;
}

.comparison__list li {
    position: relative;
    padding-left: 35px;
    margin-bottom: 20px;
    line-height: 1.4;
    color: var(--text-main);
}

.comparison__bad .comparison__list li {
    color: var(--text-muted);
}

.comparison__list li .material-symbols-outlined {
    position: absolute;
    left: 0;
    top: -2px;
    font-size: 1.5rem;
}

.comparison__bad .comparison__list li .material-symbols-outlined {
    color: #ff3366; /* Красный крестик */
}

.comparison__good .comparison__list li .material-symbols-outlined {
    color: #00ff88; /* Зеленая галочка */
    text-shadow: 0 0 10px rgba(0, 255, 136, 0.5);
}

/* ==========================================================================
   FLOATING WIDGET (МЕССЕНДЖЕРЫ)
   ========================================================================== */
.floating-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.widget-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    color: #fff;
    font-size: 1.8rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.5);
    transition: var(--transition-fast);
    position: relative;
}

.widget-btn:hover {
    transform: scale(1.1);
}

.widget-btn::before {
    content: attr(data-tooltip);
    position: absolute;
    right: 75px;
    background: rgba(0,0,0,0.8);
    color: #fff;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.8rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    border: 1px solid var(--border-glass);
}

.widget-btn:hover::before {
    opacity: 1;
}

.widget-tg {
    background: #0088cc;
    animation: pulse-tg 2s infinite;
}

.widget-wa {
    background: #25D366;
}

.widget-vb {
    background: #7360f2;
}

@keyframes pulse-tg {
    0% { box-shadow: 0 0 0 0 rgba(0, 136, 204, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(0, 136, 204, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 136, 204, 0); }
}

@media (max-width: 768px) {
    .floating-widget {
        bottom: 20px;
        right: 20px;
    }
    .widget-btn {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
    border-top: 1px solid var(--border-glass);
    padding-top: 60px;
    background: #000;
}

.footer__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer__desc {
    color: var(--text-muted);
    margin-top: 15px;
    max-width: 300px;
}

.footer__title {
    font-family: var(--font-heading);
    font-size: 1rem;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.footer__link {
    display: block;
    color: white;
    text-decoration: none;
    font-size: 1.5rem;
    font-family: var(--font-heading);
    font-weight: 700;
    margin-bottom: 10px;
    transition: var(--transition-fast);
}

.footer__link:hover { color: var(--neon-blue); }
.footer__text { color: var(--text-muted); font-size: 0.875rem; }

.footer__bottom {
    border-top: 1px solid var(--border-glass);
    padding: 20px 0;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.75rem;
}

/* ==========================================================================
   MODAL (POPUP)
   ========================================================================== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-slow);
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal {
    max-width: 450px;
    width: 90%;
    position: relative;
    transform: translateY(30px) scale(0.95);
    transition: var(--transition-slow);
}

.modal-overlay.active .modal {
    transform: translateY(0) scale(1);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition-fast);
}

.modal-close:hover {
    color: var(--neon-blue);
    transform: rotate(90deg);
}

.modal-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.modal-desc {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-bottom: 30px;
}

/* ==========================================================================
   ANIMATIONS (SCROLL)
   ========================================================================== */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   ABOUT
   ========================================================================== */
.about__layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}
.about__desc {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}
.about__image {
    width: 100%;
    border-radius: 12px;
    border: 1px solid var(--border-glass);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
@media (max-width: 900px) {
    .about__layout { grid-template-columns: 1fr; }
}

/* ==========================================================================
   SERVICES TYPES (4 Columns in one row)
   ========================================================================== */
.services-types__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}
.service-type-card {
    padding: 30px;
    text-align: center;
    transition: var(--transition-fast);
}
.service-type-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 229, 255, 0.3);
    box-shadow: 0 10px 30px rgba(0, 229, 255, 0.1);
}
@media (max-width: 1100px) {
    .services-types__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .services-types__grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   PORTFOLIO LAYOUT & VIDEO
   ========================================================================== */
.portfolio__layout {
    display: flex;
    flex-direction: column;
    gap: 50px;
}
.video-container {
    padding: 10px;
}

/* ==========================================================================
   CONTACTS LARGE LAYOUT
   ========================================================================== */
.contacts__layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 40px;
}
@media (max-width: 900px) {
    .contacts__layout { grid-template-columns: 1fr; }
}

/* ==========================================================================
   STATS (& $ +)
   ========================================================================== */
.stats__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
}
.stat-item {
    padding: 30px;
}
.stat-number {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--neon-blue);
    margin-bottom: 10px;
    text-shadow: 0 0 15px rgba(0, 229, 255, 0.4);
}
.stat-label {
    font-size: 1rem;
    color: var(--text-main);
    text-transform: uppercase;
    letter-spacing: 1px;
}

@media (max-width: 900px) {
    .includes__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .includes__grid { grid-template-columns: 1fr; }
}

/* Hero Bullets */
.hero__bullets {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.hero__bullets li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
}
.hero__bullets .material-symbols-outlined {
    font-size: 1.2rem;
    color: var(--neon-blue);
}
@media (max-width: 768px) {
    .hero__bullets li { font-size: 1rem; }
}

/* Video Slider Styles */
.video-slider-container {
  width: 100%;
  margin-top: 30px;
}
.video-slider {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 20px;
  padding: 10px 0 20px 0;
  -ms-overflow-style: none; /* IE and Edge */
  scrollbar-width: none; /* Firefox */
}
.video-slider::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}
.video-slide {
  flex: 0 0 80%; /* Show mostly 1 video on mobile, peeking next one */
  scroll-snap-align: center;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 9/16;
  max-width: 320px;
  margin: 0 auto;
  border: 1px solid rgba(0, 243, 255, 0.2);
  box-shadow: 0 0 20px rgba(0, 243, 255, 0.3);
  background: #000;
}

@media (min-width: 768px) {
  .video-slider {
    justify-content: center;
  }
  .video-slide {
    flex: 0 0 calc(20% - 16px);
  }
}

.lazy-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-play-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s ease;
  pointer-events: none; /* Let clicks pass through to video/button */
}

.video-play-btn {
  background: rgba(0, 0, 0, 0.6);
  border: 2px solid var(--neon-cyan);
  color: var(--neon-cyan);
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  pointer-events: auto; /* Catch clicks */
  transition: all 0.3s ease;
  box-shadow: 0 0 10px rgba(0, 243, 255, 0.3);
}

.video-play-btn:hover {
  background: var(--neon-cyan);
  color: #fff;
  box-shadow: 0 0 20px var(--neon-cyan);
  transform: scale(1.1);
}

.video-play-btn .material-symbols-outlined {
  font-size: 32px;
}

.video-play-overlay.hidden {
  opacity: 0;
  pointer-events: none;
}
.video-play-overlay.hidden .video-play-btn {
  pointer-events: none;
}

/* WORKS GALLERY */
.works-gallery {
    margin: 40px 0;
    width: 100%;
}
.works-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}
@media (max-width: 992px) {
    .works-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (max-width: 768px) {
    .works-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
}
.work-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 12px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-glass);
}
@media (max-width: 768px) {
    .work-img { height: 180px; }
}
.work-img:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 229, 255, 0.2);
    border-color: var(--neon-blue);
}
.work-hidden {
    display: none !important;
}
.work-hidden2 {
    display: none !important;
}
.mt-4 { margin-top: 30px; }


/* Dropdown Menu */
.nav-dropdown {
  position: relative;
  display: inline-block;
}
.nav-dropdown-content {
  display: none;
  position: absolute;
  min-width: 240px;
  z-index: 100;
  top: 100%;
  left: 0;
  padding: 10px 0;
  max-height: 400px;
  overflow-y: auto;
  background: rgba(10, 10, 10, 0.95);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 10px;
  backdrop-filter: blur(10px);
}
.nav-dropdown-content::-webkit-scrollbar {
    width: 6px;
}
.nav-dropdown-content::-webkit-scrollbar-thumb {
    background-color: var(--neon-cyan);
    border-radius: 10px;
}
.nav-dropdown-content a {
  color: white;
  padding: 10px 20px;
  text-decoration: none;
  display: block;
  font-size: 14px;
  transition: all 0.3s ease;
  font-family: 'Inter', sans-serif;
}
.nav-dropdown-content a:hover {
  background-color: rgba(0, 229, 255, 0.1);
  color: var(--neon-cyan);
  padding-left: 25px;
}
.nav-dropdown:hover .nav-dropdown-content {
  display: block;
}


/* Dropdown Menu - FORCE STYLES */
.nav-dropdown {
  position: relative !important;
  display: inline-block !important;
}
.nav-dropdown-content {
  display: none !important;
  position: absolute !important;
  min-width: 240px;
  z-index: 9999 !important;
  top: 100%;
  left: 0;
  padding: 10px 0;
  max-height: 400px;
  overflow-y: auto;
  background: rgba(10, 10, 10, 0.95) !important;
  border: 1px solid rgba(255,255,255,0.1) !important;
  border-radius: 10px;
  backdrop-filter: blur(10px);
}
.nav-dropdown:hover .nav-dropdown-content {
  display: block !important;
}
.nav-dropdown-content a {
  color: white !important;
  padding: 10px 20px !important;
  text-decoration: none !important;
  display: block !important;
  font-size: 14px !important;
  font-family: 'Inter', sans-serif !important;
  white-space: nowrap !important;
  text-align: left !important;
}
.nav-dropdown-content a:hover {
  background-color: rgba(0, 229, 255, 0.15) !important;
  color: var(--neon-cyan, #00E5FF) !important;
}

/* Fix phone wrap */
.navbar__contact-fixed {
  white-space: nowrap !important;
  flex-shrink: 0 !important;
}

/* Desktop only button */
@media (max-width: 992px) {
    .desktop-only-btn {
        display: none !important;
    }
    .navbar__contact-box {
        align-items: center !important;
    }
}

@media (max-width: 1199px) {
    .mobile-break {
        display: block;
    }
    /* Для мелких экранов верхний ряд шапки нужно позволить сжиматься */
    .navbar__top {
        gap: 15px;
        justify-content: center !important;
    }
    .navbar__info {
        align-items: center !important;
        text-align: center;
    }
    .navbar__contact-box {
        justify-content: center;
    }
    .logo__text-wrapper {
        text-align: center;
    }
}
@media (max-width: 768px) {
    .navbar__bottom {
        display: none !important; /* На мобилках меню спрятано в бургер */
    }
}


/* ==========================================================================
   MOBILE HEADER FIXES
   ========================================================================== */
@media (max-width: 992px) {
    /* Оставляем только Лого, Телефон и Бургер */
    
    /* Скрываем адрес и время работы */
    .navbar__info {
        display: none !important;
    }
    
    /* Скрываем кнопку 'Перезвоните мне' (если она еще не скрыта) */
    .desktop-only-btn {
        display: none !important;
    }
    
    /* Выстраиваем в одну линию, запрещаем перенос */
    .navbar__top {
        flex-wrap: nowrap !important;
        justify-content: space-between !important;
        gap: 5px !important;
    }
    
    /* Скрываем подзаголовок у логотипа ('Профессиональная химчистка...') */
    .logo__sub {
        display: none !important;
    }
    
    /* Уменьшаем логотип для мобилок */
    .logo img {
        height: 35px !important;
        margin-right: 8px !important;
    }
    .logo__text {
        font-size: 16px !important;
    }
    
    /* Контейнер для телефона и бургера */
    .navbar__contact-box {
        gap: 8px !important;
    }
    
    /* Уменьшаем кнопку телефона */
    .navbar__contact-fixed {
        padding: 5px 10px !important;
    }
    .navbar__phone {
        font-size: 13px !important;
    }
    .navbar__contact-fixed .material-symbols-outlined {
        font-size: 16px !important;
    }
}

@media (max-width: 480px) {
    /* На очень узких экранах, чтобы точно влезло */
    .navbar__phone {
        font-size: 12px !important;
    }
    .logo__text {
        display: none !important; /* Убираем текст 'ХимПрофАвто', оставляем только картинку машинки */
    }
}


/* ==========================================================================
   GLOBAL MOBILE FIXES (GRID & TEXT)
   ========================================================================== */
@media (max-width: 992px) {
    /* Сбрасываем основные сетки в 1 колонку */
    .equipment__layout,
    .complex-grid,
    .benefits-grid,
    .faq__grid,
    .prices-grid,
    .team-grid,
    .services-grid {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }
    
    /* Уменьшаем шрифты заголовков, чтобы длинные слова влезали */
    .section__title {
        font-size: 2rem !important;
        word-break: break-word !important; /* Разрешаем перенос длинных слов */
        hyphens: none !important;
    }
    
    .hero__title {
        font-size: 2.5rem !important;
        word-break: break-word !important;
    }
    
    /* Убираем лишние отступы у секций */
    .section {
        padding: 50px 0 !important;
    }
}

@media (max-width: 768px) {
    /* Еще сильнее уменьшаем заголовки для телефонов */
    .section__title {
        font-size: 1.7rem !important;
        letter-spacing: 1px !important;
    }
    
    .hero__title {
        font-size: 2rem !important;
    }
    
    /* Карточки и блоки на 100% ширины */
    .timeline__item {
        padding-left: 40px !important;
    }
    
    /* Убираем боковые отступы у timeline */
    .timeline {
        padding: 0 10px !important;
    }
    
    /* Если где-то есть флекс в два столбца - делаем колонкой */
    .hero__layout,
    .about__layout,
    .footer__layout {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
    }
    
    /* Следим чтобы ничего не вылезало за пределы экрана */
    body, html {
        overflow-x: hidden !important;
        max-width: 100vw !important;
    }
    
    /* Уменьшаем отступы у контейнера */
    .container {
        padding: 0 15px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
}


/* ==========================================================================
   CENTER PHONE ON MOBILE
   ========================================================================== */
@media (max-width: 992px) {
    .navbar__top {
        position: relative !important;
        justify-content: flex-start !important; /* Выравниваем логотип влево */
        min-height: 50px;
    }
    
    .navbar__contact-box {
        position: static !important;
    }
    
    /* Бургер строго справа */
    .burger-menu {
        position: absolute !important;
        right: 0 !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        margin: 0 !important;
    }
    
    /* Телефон строго по центру, вырываем из потока */
    .navbar__contact-fixed:not(.desktop-only-btn) {
        position: absolute !important;
        left: 50% !important;
        top: 50% !important;
        transform: translate(-50%, -50%) !important;
        padding: 6px 14px !important;
        z-index: 10;
        margin: 0 !important;
    }
    
    /* Делаем номер крупнее */
    .navbar__phone {
        font-size: 16px !important;
    }
    
    /* Логотип чуть компактнее, чтобы не наезжал */
    .logo {
        z-index: 10;
    }
    .logo img {
        height: 32px !important;
        margin: 0 !important;
    }
}

@media (max-width: 480px) {
    /* На узких смартфонах 320px-375px может быть тесно */
    .navbar__contact-fixed:not(.desktop-only-btn) {
        padding: 4px 10px !important;
        gap: 4px !important;
    }
    .navbar__phone {
        font-size: 14px !important;
    }
    .navbar__contact-fixed .material-symbols-outlined {
        font-size: 16px !important;
    }
}


/* ==========================================================================
   BURGER MENU MOBILE FIX
   ========================================================================== */
@media (max-width: 992px) {
    .navbar__bottom {
        display: none !important; /* Скрыто по умолчанию */
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(10, 15, 20, 0.95);
        backdrop-filter: blur(10px);
        padding: 20px 15px;
        z-index: 100;
        border-top: 1px solid rgba(0, 255, 255, 0.1);
        border-bottom: 1px solid rgba(0, 255, 255, 0.1);
    }
    
    .navbar__bottom.active {
        display: flex !important; /* Показывается по клику */
    }
    
    .navbar__links {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 15px !important;
    }
    
    .nav-link {
        width: 100%;
        padding: 5px 0;
        border-bottom: 1px solid rgba(255,255,255,0.05);
    }
    
    .nav-dropdown {
        width: 100%;
    }
    
    .nav-dropdown-content {
        position: static !important;
        display: none;
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        padding-left: 20px;
        margin-top: 10px;
    }
    
    .nav-dropdown:hover .nav-dropdown-content {
        display: flex;
        flex-direction: column;
    }
}


/* ==========================================================================
   HERO MOBILE PADDING
   ========================================================================== */
@media (max-width: 992px) {
    .hero {
        padding-top: 90px !important; /* Уменьшаем отступ сверху, так как шапка стала меньше */
        min-height: auto !important; /* На мобилках не обязательно тянуть на весь экран, если контент небольшой */
        padding-bottom: 50px !important;
    }
}
@media (max-width: 768px) {
    .hero {
        padding-top: 70px !important; /* Делаем отступ еще меньше (в 2-3 раза меньше оригинальных 150px) */
    }
}


/* Mobile menu internal elements */
.mobile-menu-only {
    display: none !important;
}

@media (max-width: 992px) {
    .mobile-menu-only {
        display: block !important;
    }
    .navbar__bottom {
        padding: 20px !important;
        height: auto;
        max-height: 80vh;
        overflow-y: auto;
    }
}


/* ==========================================================================
   FIX GAP IN MOBILE MENU
   ========================================================================== */
@media (max-width: 992px) {
    .navbar__bottom {
        margin-top: 0 !important; /* Убираем щель от инлайн-стиля */
        top: 100% !important; /* Приклеиваем ровно к низу шапки */
    }
}
