.hero-section {
            background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('images/background.jpg') no-repeat center center;
            background-size: cover;
            height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            text-align: center;
            color: var(--white);
            padding: 0 1.5rem;
            box-sizing: border-box;
            overflow: hidden;
            position: relative;
        }
        
        .hero-content {
            max-width: 800px;
            margin: 0 auto;
            max-height: 90vh;
            display: flex;
            flex-direction: column;
            justify-content: center;
            overflow: hidden;
        }
        
        .hero-content h1 {
            font-size: 3.5rem;
            margin-bottom: 1.5rem;
            color: var(--white);
            position: relative;
            line-height: 1.2;
        }
        
        .hero-content h1:after {
            content: '';
            display: block;
            width: 60px;
            height: 2px;
            background-color: var(--gold);
            margin: 1rem auto 0;
        }
        
        .hero-content p {
            font-size: 1.5rem;
            margin-bottom: 3rem;
            color: var(--white);
            line-height: 1.4;
        }
        
        .profiles-carousel {
            position: relative;
            margin: 3rem 0;
            padding: 0 3rem;
        }
        
        .carousel-container {
            display: flex;
            overflow-x: hidden;
            scroll-behavior: smooth;
            gap: 1.5rem;
            padding: 1rem 0;
        }
        
        .carousel-item {
            flex: 0 0 auto;
            width: 240px;
            border-radius: 10px;
            overflow: hidden;
            position: relative;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
        }
        
        .carousel-item img {
            width: 100%;
            height: 240px;
            object-fit: cover;
            filter: blur(4px);
        }
        
        .carousel-item-info {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
            padding: 1rem;
            color: var(--white);
        }
        
        .view-btn {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            background-color: transparent;
            color: var(--white);
            border: 2px solid var(--white);
            padding: 0.5rem 1rem;
            border-radius: 5px;
            font-size: 0.8rem;
            z-index: 5;
            cursor: pointer;
            text-transform: uppercase;
            font-family: 'Montserrat', sans-serif;
            font-weight: 600;
        }
        
        .carousel-btn {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            background-color: var(--gold);
            color: var(--white);
            border: none;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            z-index: 10;
        }
        
        .carousel-btn.prev {
            left: 0;
        }
        
        .carousel-btn.next {
            right: 0;
        }
        
        .reviews-section {
            background-color: var(--primary-dark);
            padding: 3rem 0;
            margin: 3rem 0;
        }
        
        .reviews-section h2 {
            color: var(--white);
        }
        
        .reviews-container {
            display: flex;
            overflow-x: auto;
            scroll-behavior: smooth;
            gap: 1.5rem;
            padding: 1.5rem;
            scrollbar-width: thin;
            -ms-overflow-style: none;
            max-width: 1200px;
            margin: 0 auto;
        }
        
        .reviews-container::-webkit-scrollbar {
            height: 6px;
        }
        
        .reviews-container::-webkit-scrollbar-thumb {
            background-color: var(--gold);
            border-radius: 3px;
        }
        
        .review-card {
            flex: 0 0 auto;
            width: 350px;
            background-color: var(--white);
            border-radius: 10px;
            padding: 1.5rem;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
            position: relative;
        }
        
        .review-card::before {
            content: "„";
            position: absolute;
            bottom: 10px;
            left: 15px;
            font-size: 3rem;
            color: var(--gold);
            opacity: 0.3;
            font-family: 'Times New Roman', serif;
        }
        
        .review-card::after {
            content: "“";
            position: absolute;
            top: 15px;
            right: 15px;
            font-size: 3rem;
            color: var(--gold);
            opacity: 0.3;
            font-family: 'Times New Roman', serif;
        }
        
        .review-header {
            display: flex;
            align-items: center;
            margin-bottom: 1rem;
        }
        
        .review-header img {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            object-fit: cover;
            margin-right: 1rem;
        }
        
        .review-text {
            color: var(--dark-gray);
            font-style: italic;
            line-height: 1.6;
        }
        
        .gender-switch {
            display: flex;
            justify-content: center;
            margin-bottom: 2rem;
            gap: 1rem;
        }
        
        .gender-btn {
            padding: 0.8rem 1.5rem;
            background-color: var(--light-gray);
            border: none;
            border-radius: 5px;
            cursor: pointer;
            font-family: 'Montserrat', sans-serif;
            font-weight: 500;
            transition: all 0.3s;
        }
        
        .gender-btn.active {
            background-color: var(--gold);
            color: var(--white);
        }
        
        .female-tariffs {
            display: none;
        }
        
        .modal-tabs {
            display: flex;
            margin-bottom: 1.5rem;
            border-bottom: 1px solid var(--light-gray);
        }
        
        .modal-tab {
            padding: 0.8rem 1.5rem;
            cursor: pointer;
            font-weight: 600;
            color: var(--gray);
            transition: all 0.3s;
            text-transform: uppercase;
            font-size: 0.9rem;
            font-family: 'Montserrat', sans-serif;
        }
        
        .modal-tab.active {
            color: var(--gold);
            border-bottom: 2px solid var(--gold);
        }
        
        .modal-form {
            display: none;
        }
        
        .modal-form.active {
            display: block;
        }
        
        .forgot-password {
            text-align: right;
            margin-bottom: 1.5rem;
        }
        
        .checkbox-group {
            display: flex;
            align-items: flex-start;
            margin-bottom: 1.5rem;
        }
        
        .checkbox-group input {
            margin-right: 0.8rem;
            margin-top: 0.2rem;
        }
        
        .modal-note {
            background-color: rgba(201, 166, 107, 0.1);
            padding: 1rem;
            border-radius: 5px;
            margin-bottom: 1.5rem;
            border-left: 3px solid var(--gold);
        }
        
        .modal-note p {
            margin-bottom: 0.8rem;
        }
        
        .modal-note p:last-child {
            margin-bottom: 0;
        }
        
        .modal-buttons-center .loading-spinner {
            display: none;
            text-align: center;
            color: #c9a66b;
            margin-top: 10px;
        }

        .modal-buttons-center {
            text-align: center;
            position: relative;
            min-height: 50px; /* Фиксированная высота для предотвращения сдвигов */
        }

         .btn-primary {
            display: inline-block !important; /* Принудительно устанавливаем значение */
            margin: 0 auto; /* Центрирование */
        }
        
        .password-field {
            position: relative;
        }
        
        .toggle-password {
            position: absolute;
            right: 10px;
            top: 50%;
            transform: translateY(-50%);
            cursor: pointer;
            color: var(--gray);
        }
        
        @media (max-width: 1024px) {
            .hero-content h1 {
                font-size: 2.8rem;
            }
            
            .hero-content p {
                font-size: 1.3rem;
            }
        }
        
        @media (max-width: 768px) {
            .hero-content h1 {
                font-size: 2.2rem;
            }
            
            .hero-content p {
                font-size: 1.1rem;
                margin-bottom: 2.5rem;
            }
            
            .carousel-item {
                width: 200px;
            }
            
            .carousel-item img {
                height: 200px;
            }
            
            .review-card {
                width: 300px;
            }
            
            .profiles-carousel {
                padding: 0 2.5rem;
            }
        }
        
        @media (max-width: 600px) {
            .carousel-item {
                width: 180px;
            }
            
            .carousel-item img {
                height: 180px;
            }
            
            .gender-switch {
                flex-direction: column;
                align-items: center;
            }
            
            .hero-content h1 {
                font-size: 1.8rem;
            }
            
            .hero-content p {
                font-size: 1rem;
            }
            
            .review-card {
                width: 280px;
            }
        }

        /* Новые медиа-запросы для очень маленьких экранов */
        @media (max-height: 600px) and (max-width: 600px) {
            .hero-content h1 {
                font-size: 1.5rem;
                margin-bottom: 1rem;
            }
            
            .hero-content p {
                font-size: 0.9rem;
                margin-bottom: 1.5rem;
            }
            
            .btn-primary {
                padding: 0.7rem 1.2rem;
                font-size: 0.8rem;
            }
        }
        
        @media (max-height: 500px) {
            .hero-content {
                max-height: 85vh;
                transform: scale(0.9);
            }
        }
        
        @media (max-height: 400px) {
            .hero-content {
                max-height: 80vh;
                transform: scale(0.8);
            }
            
            .hero-content h1 {
                font-size: 1.2rem;
                margin-bottom: 0.8rem;
            }
            
            .hero-content p {
                font-size: 0.8rem;
                margin-bottom: 1.2rem;
            }
        }