/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #ffffff;
    background-color: #0a0a0a;
    overflow-x: hidden;
}

/* Color Scheme */
:root {
    --primary-black: #0a0a0a;
    --secondary-black: #1a1a1a;
    --primary-orange: #FF6B00;
    --light-orange: #FF8C42;
    --primary-white: #ffffff;
    --light-gray: #f5f5f5;
    --medium-gray: #333333;
    --dark-gray: #222222;
    --light-bg: #f0f0f0;
}

/* Typography */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2rem;
}

h2 {
    font-size: 1.8rem;
    color: var(--primary-orange);
    text-align: center;
    margin-bottom: 2rem;
}

h3 {
    font-size: 1.6rem;
    color: var(--primary-orange);
}

p {
    margin-bottom: 2rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* ==================== ЯКОРНЫЕ ССЫЛКИ ==================== */
:target {
    scroll-margin-top: 100px; /* 80px меню + 20px отступ */
}

.anchor-offset {
    scroll-margin-top: 100px;
    position: relative;
}

@supports not (scroll-margin-top: 100px) {
    .anchor-offset::before {
        content: '';
        display: block;
        height: 100px;
        margin-top: -100px;
        visibility: hidden;
        pointer-events: none;
    }
}

/* ==================== HEADER & NAVIGATION ==================== */
header {
    background-color: var(--secondary-black);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 4px solid var(--primary-orange);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Mobile header wrapper */
.mobile-header-wrapper {
    display: flex;
    align-items: center;
    flex-grow: 1;
}

/* Logo Container */
.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-icon {
    width: 50px;
    height: 50px;
    background-image: url('../images/logo.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--primary-orange);
}

.company-name {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-orange);
}

/* Social Icons */
.social-icons {
    display: flex;
    gap: 15px;
    align-items: center;
}

.mobile-social-icons {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-left: auto;
    margin-right: 15px;
}

.social-icon {
    width: 24px;
    height: 24px;
    display: inline-block;
    background-color: var(--primary-white);
    transition: transform 0.3s ease;
}

.social-icon:hover {
    transform: scale(1.1);
}

.instagram-icon {
    mask-image: url("viewBox='0 0 24 24'%3E%3Cpath d='M12 2.163c3.204 0 3.584.012 4.85.07 3.252.148 4.771 1.691 4.919 4.919.058 1.265.069 1.645.069 4.849 0 3.205-.012 3.584-.069 4.849-.149 3.225-1.664 4.771-4.919 4.919-1.266.058-1.644.07-4.85.07-3.204 0-3.584-.012-4.849-.07-3.26-.149-4.771-1.699-4.919-4.92-.058-1.265-.07-1.644-.07-4.849 0-3.204.013-3.583.07-4.849.149-3.227 1.664-4.771 4.919-4.919 1.266-.057 1.645-.069 4.849-.069zm0-2.163c-3.259 0-3.667.014-4.947.072-4.358.2-6.78 2.618-6.98 6.98-.059 1.281-.073 1.689-.073 4.948 0 3.259.014 3.668.072 4.948.2 4.358 2.618 6.78 6.98 6.98 1.281.058 1.689.072 4.948.072 3.259 0 3.668-.014 4.948-.072 4.354-.2 6.782-2.618 6.979-6.98.059-1.28.073-1.689.073-4.948 0-3.259-.014-3.667-.072-4.947-.196-4.354-2.617-6.78-6.979-6.98-1.281-.059-1.69-.073-4.949-.073zm0 5.838c-3.403 0-6.162 2.759-6.162 6.162s2.759 6.163 6.162 6.163 6.162-2.759 6.162-6.163c0-3.403-2.759-6.162-6.162-6.162zm0 10.162c-2.209 0-4-1.79-4-4 0-2.209 1.791-4 4-4s4 1.791 4 4c0 2.21-1.791 4-4 4zm6.406-11.845c-.796 0-1.441.645-1.441 1.44s.645 1.44 1.441 1.44c.795 0 1.439-.645 1.439-1.44s-.644-1.44-1.439-1.44z'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.163c3.204 0 3.584.012 4.85.07 3.252.148 4.771 1.691 4.919 4.919.058 1.265.069 1.645.069 4.849 0 3.205-.012 3.584-.069 4.849-.149 3.225-1.664 4.771-4.919 4.919-1.266.058-1.644.07-4.85.07-3.204 0-3.584-.012-4.849-.07-3.26-.149-4.771-1.699-4.919-4.92-.058-1.265-.07-1.644-.07-4.849 0-3.204.013-3.583.07-4.849.149-3.227 1.664-4.771 4.919-4.919 1.266-.057 1.645-.069 4.849-.069zm0-2.163c-3.259 0-3.667.014-4.947.072-4.358.2-6.78 2.618-6.98 6.98-.059 1.281-.073 1.689-.073 4.948 0 3.259.014 3.668.072 4.948.2 4.358 2.618 6.78 6.98 6.98 1.281.058 1.689.072 4.948.072 3.259 0 3.668-.014 4.948-.072 4.354-.2 6.782-2.618 6.979-6.98.059-1.28.073-1.689.073-4.948 0-3.259-.014-3.667-.072-4.947-.196-4.354-2.617-6.78-6.979-6.98-1.281-.059-1.69-.073-4.949-.073zm0 5.838c-3.403 0-6.162 2.759-6.162 6.162s2.759 6.163 6.162 6.163 6.162-2.759 6.162-6.163c0-3.403-2.759-6.162-6.162-6.162zm0 10.162c-2.209 0-4-1.79-4-4 0-2.209 1.791-4 4-4s4 1.791 4 4c0 2.21-1.791 4-4 4zm6.406-11.845c-.796 0-1.441.645-1.441 1.44s.645 1.44 1.441 1.44c.795 0 1.439-.645 1.439-1.44s-.644-1.44-1.439-1.44z'/%3E%3C/svg%3E");
}

.telegram-icon {
    mask-image: url("viewBox='0 0 24 24'%3E%3Cpath d='M12 0C5.373 0 0 5.373 0 12s5.373 12 12 12 12-5.373 12-12S18.627 0 12 0zm5.894 8.221l-1.97 9.28c-.145.658-.537.818-1.084.509l-3-2.21-1.446 1.394c-.16.16-.295.295-.605.295l.213-3.053 5.56-5.022c.242-.213-.054-.333-.373-.121l-6.871 4.326-2.962-.924c-.643-.204-.657-.643.136-.953l11.57-4.461c.538-.196 1.006.128.832.941z'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0C5.373 0 0 5.373 0 12s5.373 12 12 12 12-5.373 12-12S18.627 0 12 0zm5.894 8.221l-1.97 9.28c-.145.658-.537.818-1.084.509l-3-2.21-1.446 1.394c-.16.160-.295.295-.605.295l.213-3.053 5.56-5.022c.242-.213-.054-.333-.373-.121l-6.871 4.326-2.962-.924c-.643-.204-.657-.643.136-.953l11.57-4.461c.538-.196 1.006.128.832.941z'/%3E%3C/svg%3E");
}

/* Desktop Navigation */
.desktop-nav {
    display: none;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-link {
    color: var(--primary-white);
    font-weight: 600;
    padding: 5px 0;
    position: relative;
}

.nav-link:hover {
    color: var(--primary-orange);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-orange);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: block;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.burger-line {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--primary-white);
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 80px;
    right: -200px;
    width: 200px;
    background-color: var(--secondary-black);
    z-index: 1000;
    padding: 20px 0;
    transition: right 0.3s ease;
    box-shadow: -5px 5px 15px rgba(0, 0, 0, 0.5);
    border-left: 2px solid var(--primary-orange);
    border-bottom: 4px solid var(--primary-orange);
    border-radius: 0 0 0 10px;
}

.mobile-menu.active {
    right: 0;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.mobile-nav-link {
    color: var(--primary-white);
    font-size: 1.2rem;
    padding: 15px 25px;
    border-bottom: 1px solid var(--medium-gray);
    transition: all 0.3s ease;
    display: block;
    text-align: left;
}

.mobile-nav-link:hover {
    color: var(--primary-orange);
    background-color: rgba(255, 107, 0, 0.1);
    padding-left: 30px;
}

.mobile-nav-link:last-child {
    border-bottom: none;
}

.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 999;
    display: none;
}

.menu-overlay.active {
    display: block;
}

/* ==================== HERO SECTION ==================== */
.hero {
    position: relative;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--secondary-black);
    border-bottom: 2px solid var(--primary-orange);
    z-index: -1;
}

/* Десктопная версия hero */
.hero-desktop-view {
    display: none;
}

.hero-content-wrapper {
    display: flex;
    align-items: center;
    min-height: 35vh;
    padding: 60px 0 80px; /* Отступ снизу для десктопа */
}

.hero-text {
    flex: 1;
    text-align: left;
    padding-right: 40px;
	text-align: center; /* ДОБАВЬ ЭТУ СТРОКУ */
}

.hero-text h1 {
    font-size: 2rem;
    color: var(--primary-white);
    margin-bottom: 15px;
    text-shadow: 1px 1px 3px rgba(255, 255, 255, 0.8);
}

.hero-text h1 span {
    color: var(--primary-orange);
    font-size: 2rem;
}

.hero-text .hero-subtitle {
    font-size: 1.2rem;
    color: var(--primary-white);
    margin-bottom: 20px;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8);
}

.hero-text .hero-phone {
    font-size: 1.2rem;
    color: var(--primary-orange);
    font-weight: bold;
    margin-bottom: 20px;
    display: block;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8);
}

/* Карта для десктопа */
.hero-map-side {
    flex: 1;
}

.hero-map-side .map-container {
    height: 250px;
    border: 2px solid var(--medium-gray);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Мобильная версия hero */
.hero-mobile-view {
    display: block;
    padding: 40px 0;
}

/* Контейнер для карты на мобильных */
.mobile-map-container {
    display: block;
    width: 100%;
    padding: 0 20px 40px;
    z-index: 2;
    position: relative;
}

.mobile-map-container .map-container {
    height: 250px;
    border: 2px solid var(--medium-gray);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    margin: 0 auto;
}

/* ==================== SERVICES SECTION ==================== */
.services {
    padding: 40px 0;
    background-color: var(--secondary-black);
    border-bottom: 2px solid var(--primary-orange);
}

.services-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    font-size: 1rem;
}

@media (min-width: 768px) {
    .services-container {
        grid-template-columns: repeat(3, 1fr);
    }
}

.service-card {
    background-color: var(--medium-gray);
    border-radius: 10px;
    padding: 30px;
    border: 2px solid var(--light-gray);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    border-color: var(--primary-orange);
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background-color: var(--primary-orange);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card h3 {
    margin-bottom: 15px;
    text-align: center;
}

.service-card p {
    color: var(--primary-white);
    margin-bottom: 20px;
    text-align: center;
}

.service-btn {
    background-color: transparent;
    color: var(--primary-orange);
    border: 2px solid var(--primary-orange);
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
}

.service-btn:hover {
    background-color: var(--primary-orange);
    color: white;
}

/* ==================== CONTACTS SECTION ==================== */
.contacts {
    padding: 40px 0;
    background-color: var(--secondary-black);
}

.contacts-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

@media (min-width: 992px) {
    .contacts-container {
        grid-template-columns: 1fr 1fr;
    }
}

.contact-info h2 {
    text-align: left;
    font-size: 3rem;
}

.contact-details {
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.contact-icon {
    width: 40px;
    height: 40px;
    background-color: var(--primary-orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-icon-inner {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: white;
}

.contact-text h4 {
    color: var(--primary-orange);
    margin-bottom: 5px;
    margin-top: 0;
}

.contact-text p {
    color: var(--primary-white);
    margin-bottom: 4px;
}

.contact-text a {
    color: var(--primary-white);
    transition: color 0.3s ease;
}

.contact-text a:hover {
    color: var(--primary-orange);
}

.contact-btn {
    background-color: var(--primary-orange);
    color: white;
    padding: 15px 40px;
    border-radius: 30px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-orange);
}

.contact-btn:hover {
    background-color: transparent;
    color: var(--primary-orange);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 107, 0, 0.3);
}

/* Общие стили для карты (используются в нескольких местах) */
.map-container {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    height: 250px;
    border: 2px solid var(--medium-gray);
}

.map-link {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
}

.static-map {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.map-overlay span {
    color: white;
    background-color: var(--primary-orange);
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.map-link:hover .static-map {
    transform: scale(1.05);
}

.map-link:hover .map-overlay {
    opacity: 1;
}


/* ==================== FOOTER ==================== */
footer {
    background-color: var(--primary-black);
    padding: 15px 0 0;
    border-top: 2px solid var(--primary-orange);
    position: relative;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-main {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    width: 100%;
}

.footer-email {
    color: var(--primary-white);
    font-size: 1.1rem;
    text-align: center;
}

.footer-email a {
    color: var(--primary-white);
    transition: color 0.3s ease;
    text-decoration: none;
}

.footer-email a:hover {
    color: var(--primary-orange);
}

.footer-divider {
    width: 80%;
    height: 2px;
    background-color: var(--primary-orange);
    margin: 5px 0;
}

.footer-copyright {
    color: var(--medium-white);
    font-size: 0.9rem;
    text-align: center;
    line-height: 1.4;
    padding: 0 15px;
}

.footer-spacing {
    height: 100px;
}

/* ==================== FIXED BOOKING BUTTON ==================== */
.fixed-booking-btn {
    position: fixed;
    left: 50%;
    bottom: 20px;
    transform: translateX(-50%);
    background-color: var(--primary-orange);
    color: white;
    padding: 20px 40px;
    border-radius: 30px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(255, 107, 0, 0.4);
    z-index: 1000;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.2rem;
    min-width: 220px;
    text-align: center;
}

.fixed-booking-btn:hover {
    background-color: var(--light-orange);
    transform: translateX(-50%) translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 0, 0.6);
}

/* ==================== MEDIA QUERIES ==================== */

/* Десктоп (от 768px) */
@media (min-width: 768px) {
    /* Header */
    .mobile-menu-btn {
        display: none;
    }
    
    .desktop-nav {
        display: flex;
        align-items: center;
        gap: 30px;
    }
    
    .mobile-header-wrapper {
        flex-grow: 0;
    }
    
    .mobile-social-icons {
        display: none;
    }
    
    /* Hero */
    .hero-desktop-view {
        display: block;
    }
    
    .hero-mobile-view {
        display: none;
    }
    
    .mobile-map-container {
        display: none;
    }
    
    /* Текст в hero */
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .hero-text .hero-subtitle {
        font-size: 1.5rem;
    }
    
    .hero-text .hero-phone {
        font-size: 2.5rem;
    }
    
    /* Footer */
    .footer-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 20px;
        padding: 0 20px;
    }
    
    .footer-main {
        flex-direction: row;
        align-items: center;
        gap: 30px;
        width: auto;
    }
    
    .footer-logo-section {
        justify-content: flex-start;
    }
    
    .footer-email {
        text-align: left;
    }
    
    .footer-divider {
        display: none;
    }
    
    .footer-copyright {
        text-align: right;
        padding: 0;
        font-size: 0.95rem;
    }
    
    .desktop-break {
        display: none;
    }
    
    .footer-spacing {
        height: 80px;
    }
}

/* Большие десктопы (от 992px) */
@media (min-width: 992px) {
    .hero-content-wrapper {
        min-height: 40vh;
        padding: 80px 0 100px;
    }
    
    .hero-text h1 {
        font-size: 3rem;
    }
    
    .hero-map-side .map-container {
        height: 300px;
    }
    
    h1 {
        font-size: 3.5rem;
    }
}

/* Мобильные устройства (до 767px) */
@media (max-width: 767px) {
    .fixed-booking-btn {
        padding: 18px 36px;
        font-size: 1.1rem;
        min-width: 200px;
        bottom: 15px;
    }
    
    /* Hero - мобильная версия */
    .hero-mobile-view {
        display: block;
        min-height: 250px;
		text-align: center; /* ДОБАВЬ ЭТУ СТРОКУ */
    }
    
    /* Мобильная карта - ГАРАНТИРОВАННО показывается */
    .mobile-map-container {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        height: auto !important;
        width: 100% !important;
    }
    
    /* Текст в мобильной версии */
    .hero-text {
        text-align: center;
    }
    
    .hero-text h1 {
        font-size: 1.8rem;
    }
    
    .hero-text h1 span {
        font-size: 2.5rem;
    }
    
    .hero-text .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-text .hero-phone {
        font-size: 1.8rem;
    }
    
    /* Services */
    .service-card {
        padding: 20px;
    }
    
    /* Footer */
    footer {
        padding: 20px 0;
    }
}

/* Очень маленькие экраны (до 480px) */
@media (max-width: 480px) {
    /* Текст в мобильной версии */
    .hero-text h1 {
        font-size: 2rem !important; /* УВЕЛИЧЬ ЗДЕСЬ */
    }
    
    .hero-text h1 span {
        font-size: 2rem !important; /* УВЕЛИЧЬ ЗДЕСЬ */
    }
    
    .hero-text .hero-subtitle {
        font-size: 1.3rem !important; /* УВЕЛИЧЬ ЗДЕСЬ */
    }
    
    .hero-text .hero-phone {
        font-size: 1.5rem !important; /* УВЕЛИЧЬ ЗДЕСЬ */
    }
}
    
    .mobile-map-container .map-container {
        height: 200px;
    }
}

/* Для очень больших экранов */
@media (min-width: 1200px) {
    .footer-content {
        padding: 0;
    }
}

/* ==================== ФИНАЛЬНЫЙ ФИКС МОБИЛЬНОЙ КАРТЫ ==================== */
/* УБЕДИСЬ, ЧТО ЭТОТ КОД В САМОМ КОНЦЕ ФАЙЛА */

/* 1. Гарантируем отображение мобильной карты только на мобильных */
@media (max-width: 767px) {
    section#about .mobile-map-container {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        position: relative !important;
        z-index: 5 !important; /* Низкий z-index, чтобы не перекрывала меню (100) и кнопку (1000) */
        height: auto !important;
        width: 100% !important;
        padding: 0 20px 40px !important;
        margin-top: 0 !important;
    }
    
    /* Гарантируем, что карта внутри контейнера видна */
    section#about .mobile-map-container .map-container {
        display: block !important;
        visibility: visible !important;
        height: 250px !important;
    }
}

/* 2. Гарантируем скрытие мобильной карты на десктопе */
@media (min-width: 768px) {
    section#about .mobile-map-container {
        display: none !important;
        visibility: hidden !important;
        height: 0 !important;
        overflow: hidden !important;
        padding: 0 !important;
        margin: 0 !important;
    }
}

/* 3. Переопределяем базовые стили div для нашего контейнера */
section#about .mobile-map-container {
    unicode-bidi: normal !important;
}

/* ==================== ИСПРАВЛЕНИЕ ОТСТУПА НА МОБИЛЬНЫХ ==================== */
@media (max-width: 767px) {
    .hero-text {
        padding-right: 0 !important; /* Убираем отступ справа */
        padding-left: 0 !important;  /* И слева для симметрии */
        text-align: center !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto !important;
    }
    
    /* Центрируем все элементы внутри */
    .hero-text h1,
    .hero-text h1 span,
    .hero-text .hero-subtitle,
    .hero-text .hero-phone {
        text-align: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    
    /* Особенно для телефона - делаем блочным элементом */
    .hero-text .hero-phone {
        display: block !important;
        text-align: center !important;
        margin: 0 auto !important;
    }
}