/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 3rem 0;
}

.hero-cta {
    text-align: center;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .hero-cta {
        margin-bottom: 4rem;
    }
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.25rem 2.5rem;
    background: linear-gradient(to right, var(--primary), var(--primary-dark));
    color: white;
    font-weight: bold;
    font-size: 1.125rem;
    border-radius: 1rem;
    text-decoration: none;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

@media (min-width: 768px) {
    .cta-button {
        padding: 1.5rem 3rem;
        font-size: 1.25rem;
    }
}

.cta-button:hover {
    transform: scale(1.05);
    background: linear-gradient(to right, var(--primary-dark), var(--primary-dark));
    box-shadow: 0 15px 20px -3px rgba(0, 0, 0, 0.4);
}

.cta-button i {
    transition: transform 0.3s ease;
}

.cta-button:hover i {
    transform: translateX(5px);
}

.hero-text {
    text-align: center;
    color: white;
}

.hero-title-1,
.hero-title-2 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

@media (min-width: 640px) {
    .hero-title-1,
    .hero-title-2 {
        font-size: 2rem;
    }
}

@media (min-width: 768px) {
    .hero-title-1,
    .hero-title-2 {
        font-size: 2.5rem;
    }
}

@media (min-width: 1024px) {
    .hero-title-1,
    .hero-title-2 {
        font-size: 3rem;
    }
}

.hero-title-1 {
    background-image: linear-gradient(to right, #93C5FD, #60A5FA, #3B82F6);
}

.hero-title-2 {
    background-image: linear-gradient(to right, #BFDBFE, #93C5FD, #60A5FA);
}

.hero-divider {
    width: 8rem;
    height: 0.25rem;
    background: linear-gradient(to right, var(--primary), var(--primary-dark));
    margin: 2rem auto;
    border-radius: 9999px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.2);
}

.hero-subtitle {
    font-size: 1.125rem;
    font-weight: 600;
    line-height: 1.5;
    max-width: 42rem;
    margin: 0 auto;
    background: linear-gradient(to right, #F9FAFB, #FFFFFF, #F9FAFB);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

@media (min-width: 768px) {
    .hero-subtitle {
        font-size: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .hero-subtitle {
        font-size: 2rem;
    }
}

/* About Section */
.about-section {
    padding: 5rem 0;
    background: white;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .section-header {
        margin-bottom: 4rem;
    }
}

.section-header h2 {
    font-size: 2rem;
    font-weight: bold;
    color: var(--gray-900);
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .section-header h2 {
        font-size: 2.5rem;
    }
}

.section-header h2 span {
    background: linear-gradient(to right, var(--primary), var(--primary-dark));
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

.section-divider {
    width: 6rem;
    height: 0.25rem;
    background: linear-gradient(to right, var(--primary), var(--primary-dark));
    margin: 0 auto;
    border-radius: 9999px;
}

.about-grid {
    display: grid;
    gap: 2rem;
    margin-bottom: 4rem;
}

@media (min-width: 1024px) {
    .about-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }
}

.about-card {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.about-card:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.about-content {
    padding: 1.5rem;
}

@media (min-width: 768px) {
    .about-content {
        padding: 2rem;
    }
}

.about-content p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--gray-700);
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .about-content p {
        font-size: 1.125rem;
    }
}

.about-content p:last-child {
    margin-bottom: 0;
}

.about-content strong {
    color: var(--primary);
}

.directions-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.directions-header i {
    font-size: 2rem;
    color: var(--primary);
}

.directions-header h3 {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--gray-900);
}

.directions-content {
    display: grid;
    gap: 1.5rem;
}

.direction-group h4 {
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.direction-group ul {
    list-style: none;
    padding-left: 1rem;
}

.direction-group li {
    color: var(--gray-700);
    margin-bottom: 0.25rem;
    position: relative;
}

.direction-group li::before {
    content: "•";
    color: var(--primary);
    position: absolute;
    left: -1rem;
}

/* Advantages Section */
.advantages-section {
    margin-bottom: 4rem;
}

.advantages-section h3 {
    font-size: 1.75rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 2rem;
    background: linear-gradient(to right, var(--primary), var(--primary-dark));
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

@media (min-width: 768px) {
    .advantages-section h3 {
        font-size: 2rem;
        margin-bottom: 3rem;
    }
}

.advantages-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(1, 1fr);
}

@media (min-width: 640px) {
    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .advantages-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.advantage-card {
    background: white;
    padding: 1.5rem;
    border-radius: 1rem;
    text-align: center;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.advantage-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.advantage-icon {
    width: 4rem;
    height: 4rem;
    background: linear-gradient(to bottom right, var(--primary), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.advantage-card h4 {
    font-weight: bold;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.advantage-card p {
    font-size: 0.875rem;
    color: var(--gray-600);
    line-height: 1.5;
}

/* Services Section */
.services-section {
    margin-bottom: 4rem;
}

.services-section h3 {
    font-size: 1.75rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 2rem;
    background: linear-gradient(to right, var(--primary), var(--primary-dark));
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

@media (min-width: 768px) {
    .services-section h3 {
        font-size: 2rem;
        margin-bottom: 3rem;
    }
}

.services-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(1, 1fr);
}

@media (min-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.service-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.service-card h4 {
    font-size: 1.25rem;
    font-weight: bold;
    color: var(--gray-900);
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--gray-600);
    line-height: 1.5;
}

/* Final CTA */
.final-cta {
    margin-top: 5rem;
}

.cta-card {
    background: linear-gradient(to right, var(--primary), var(--primary-dark));
    color: white;
    padding: 3rem;
    border-radius: 1rem;
    text-align: center;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.cta-card h3 {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .cta-card h3 {
        font-size: 2rem;
    }
}

.cta-card p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
    align-items: center;
}

@media (min-width: 640px) {
    .cta-buttons {
        flex-direction: row;
    }
}

.cta-button-primary,
.cta-button-secondary {
    display: inline-block;
    padding: 1rem 2rem;
    font-weight: bold;
    font-size: 1.125rem;
    text-decoration: none;
    border-radius: 0.75rem;
    transition: all 0.3s ease;
}

.cta-button-primary {
    background: white;
    color: var(--primary-dark);
}

.cta-button-primary:hover {
    background: var(--gray-100);
    transform: scale(1.05);
}

.cta-button-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid white;
    backdrop-filter: blur(4px);
}

.cta-button-secondary:hover {
    background: white;
    color: var(--primary-dark);
    transform: scale(1.05);
} 

/* Стили для сообщений об ошибках */
.error-message {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: var(--gray-100);
    border-radius: 8px;
    text-align: center;
    min-height: 100px;
}

.error-message i {
    font-size: 2rem;
    color: var(--error);
    margin-bottom: 0.5rem;
}

.error-message span {
    color: var(--gray-600);
    font-size: 0.875rem;
}

/* Стили для видео */
.video-play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
    transition: all 0.3s ease;
}

.video-play-button i {
    font-size: 2rem;
    color: white;
    transition: transform 0.3s ease;
}

.video-play-button:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%) scale(1.1);
}

.video-play-button:hover i {
    transform: scale(1.1);
}

.hero-fallback {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, var(--gray-900), var(--gray-800));
    z-index: 0;
} 