/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #ff6b35;
    --secondary-color: #004e89;
    --accent-color: #ffa500;
    --dark-bg: #0a0a0a;
    --dark-secondary: #1a1a1a;
    --dark-tertiary: #2a2a2a;
    --text-primary: #ffffff;
    --text-secondary: #b0b0b0;
    --text-muted: #808080;
    --border-color: #333333;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    --shadow-hover: 0 15px 40px rgba(255, 107, 53, 0.3);
}

html {
    scroll-behavior: smooth;
    max-width: 100%;
    overflow-x: hidden;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Header */
.header {
    background-color: var(--dark-secondary);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
}

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

.logo-link {
    text-decoration: none;
    cursor: pointer;
}

.logo-link:hover .logo h1 {
    color: var(--accent-color);
    transition: color 0.3s ease;
}

.logo h1 {
    font-size: 2.35rem;
    color: var(--primary-color);
    margin-bottom: 0.2rem;
    font-weight: 700;
    transition: color 0.3s ease;
}

.logo p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.header-address {
    display: flex;
    flex-direction: column;
    margin-left: 1rem;
    margin-right: 1.5rem;
    padding-right: 1.5rem;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.85rem;
    color: var(--text-secondary);
    user-select: none;
    transition: color 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
}

.header-address-line + .header-address-line {
    margin-top: 0.1rem;
}

.header-address-line {
    cursor: pointer;
    font-weight: 600;
    transition: color 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
}

.header-address-line:hover {
    color: var(--primary-color);
    opacity: 0.95;
    transform: translateY(-1px);
}

.header-address-hint {
    margin-top: 0.15rem;
    font-size: 0.7rem;
    color: var(--text-muted);
}

.copy-toast {
    position: fixed;
    left: 50%;
    top: 80px;
    transform: translateX(-50%);
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.85);
    color: var(--text-primary);
    font-size: 0.85rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 1500;
}

.copy-toast.visible {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.mobile-header-address {
    display: none;
}

.mobile-header-address-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 0;
    gap: 0.1rem;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 1.25rem;
}

.nav {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.nav-list a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    position: relative;
}

.nav-list li:first-child {
    margin-left: 0.75rem;
}

.nav-list a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-list a:hover::after,
.nav-list a.active::after {
    width: 100%;
}

.nav-list a:hover,
.nav-list a.active {
    color: var(--primary-color);
}

.header-phone {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 1rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 107, 53, 0.35);
    background: rgba(26, 26, 26, 0.6);
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 0.2px;
    white-space: nowrap;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
    transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.header-phone:hover,
.header-phone:focus-visible {
    border-color: rgba(255, 107, 53, 0.75);
    background: rgba(255, 107, 53, 0.08);
    box-shadow: 0 10px 24px rgba(255, 107, 53, 0.18);
    transform: translateY(-1px);
    outline: none;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--text-primary);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    position: relative;
    height: 85vh;
    min-height: 510px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    animation: zoom 20s infinite;
    image-rendering: auto;
    image-rendering: -webkit-optimize-contrast;
    transform: translateZ(0);
    will-change: transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translateZ(0);
    will-change: transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.85) 0%, rgba(26, 26, 26, 0.75) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 2rem;
    max-width: 800px;
}

.hero-content h2 {
    font-size: 4.6rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-weight: 700;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.8);
    animation: fadeInUp 1s ease-out;
}

.hero-text {
    font-size: 1.7rem;
    color: var(--text-primary);
    line-height: 2;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.8);
    animation: fadeInUp 1s ease-out 0.3s both;
}

.hero-text p {
    margin: 0.5rem 0;
}

.hero-text strong {
    color: var(--accent-color);
    font-weight: 700;
}

.hero-actions {
    margin-top: 2.5rem;
}

/* Gallery Section with Carousel */
.gallery-section {
    background-color: var(--dark-secondary);
    padding: 5rem 0;
}

.gallery-section .carousel-container {
    position: relative;
    width: 100%;
    height: 600px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.carousel-slide.active {
    opacity: 1;
    z-index: 1;
}

.carousel-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    animation: zoom 20s infinite;
}

@keyframes zoom {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.8) 0%, rgba(26, 26, 26, 0.6) 100%);
    z-index: 1;
}

.carousel-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 2;
    padding: 2rem;
}

.carousel-content h2,
.carousel-content h3 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.8);
    animation: fadeInUp 1s ease-out;
}

.carousel-content p {
    font-size: 1.5rem;
    color: var(--text-secondary);
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.8);
    animation: fadeInUp 1s ease-out 0.3s both;
}

.gallery-section .carousel-content h3 {
    font-size: 2.5rem;
}

.gallery-section .carousel-content p {
    font-size: 1.2rem;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeInUp 1s ease-out;
}

.fade-in-delay {
    animation: fadeInUp 1s ease-out 0.3s both;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 107, 53, 0.8);
    border: none;
    color: white;
    font-size: 3rem;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 3;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-btn:hover {
    background-color: var(--primary-color);
    transform: translateY(-50%) scale(1.1);
}

.carousel-btn.prev {
    left: 30px;
}

.carousel-btn.next {
    right: 30px;
}

.carousel-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active,
.dot:hover {
    background-color: var(--primary-color);
    transform: scale(1.3);
}

/* Sections */
section {
    padding: 5rem 0;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-primary);
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

/* Intro Section */
.intro-section {
    background-color: var(--dark-secondary);
}

.intro-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.intro-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

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

.footer-address {
    color: var(--text-secondary);
}

/* Services Section */
.services {
    background-color: var(--dark-secondary);
}

.services .container {
    max-width: 1500px;
}

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

.service-card {
    background-color: var(--dark-tertiary);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-color);
}

.service-icon {
    font-size: 0;
    margin-bottom: 1rem;
    width: 100%;
}

.service-card {
    display: flex;
    flex-direction: column;
}

.service-icon img {
    width: 100%;
    height: 140px; /* примерно 30% средней высоты карточки */
    object-fit: cover;
    border-radius: 10px;
    display: block;
}

@media (max-width: 768px) {
    .service-icon img {
        height: 120px;
    }
}

.service-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.service-card p {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* Advantages Section */
.advantages {
    background-color: var(--dark-bg);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.advantage-item {
    text-align: center;
    padding: 2rem;
    background-color: var(--dark-secondary);
    border-radius: 10px;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.advantage-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow);
}

.advantage-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
    opacity: 0.3;
}

.advantage-item h3 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.advantage-item p {
    color: var(--text-secondary);
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--dark-secondary) 0%, var(--dark-tertiary) 100%);
    padding: 4rem 0;
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.page-header p {
    font-size: 1.2rem;
    color: var(--text-secondary);
}

/* Prices Section */
.prices {
    background-color: var(--dark-bg);
}

.prices-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.price-card {
    background-color: var(--dark-secondary);
    padding: 2rem;
    border-radius: 10px;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
    text-align: center;
}

.price-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-hover);
}

.price-card h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.price-amount {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
}

.price-features {
    list-style: none;
    text-align: left;
}

.price-features li {
    color: var(--text-secondary);
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.price-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.price-note {
    margin-top: 3rem;
    padding: 1.5rem;
    background-color: var(--dark-secondary);
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
}

.price-note p {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* Gallery Section */
.gallery {
    background-color: var(--dark-bg);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    aspect-ratio: 4/3;
    cursor: pointer;
}

.gallery-image {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

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

.gallery-item:hover .gallery-image img {
    transform: scale(1.2);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0) 100%);
    padding: 2rem;
    transform: translateY(100%);
    transition: transform 0.5s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.gallery-overlay p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Video Section */
.video-section {
    background-color: var(--dark-bg);
    padding: 3rem 0;
}

.video-accordion {
    width: 100%;
}

.video-accordion-toggle {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 1.5rem 0;
    text-align: left;
    transition: all 0.3s ease;
}

.video-accordion-toggle:hover {
    opacity: 0.8;
}

.video-accordion-title-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.video-accordion-toggle .section-title {
    margin: 0;
    padding: 0;
}

.video-accordion-toggle .section-title::after {
    display: none;
}

.video-accordion-hint {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 400;
    transition: color 0.3s ease;
}

.video-accordion-toggle:hover .video-accordion-hint {
    color: var(--text-secondary);
}

.accordion-icon {
    font-size: 1.2rem;
    color: var(--primary-color);
    transition: transform 0.3s ease;
    margin-left: 1rem;
}

.video-accordion-toggle[aria-expanded="true"] .accordion-icon {
    transform: rotate(180deg);
}

.video-accordion-toggle[aria-expanded="true"] .video-accordion-hint {
    display: none;
}

.video-accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
}

.video-accordion-content.active {
    max-height: 5000px;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding-top: 2rem;
}

.video-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    background-color: var(--dark-secondary);
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.video-item video {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
}

/* Contacts Section */
.contacts-section {
    background-color: var(--dark-secondary);
}

.contacts-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.contacts-map {
    margin-top: 2rem;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.contacts-map iframe {
    width: 100%;
    height: 320px;
    border: 0;
}

.contact-info h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.phone-number {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0.5rem 0;
}

.phone-number a,
.footer-section p a {
    color: inherit;
    text-decoration: none;
}

.phone-number a:hover,
.footer-section p a:hover {
    color: var(--primary-color);
}

.work-hours {
    color: var(--text-secondary);
}

.contact-address {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.contact-address .header-address-line {
    font-size: 1rem;
    color: var(--text-primary);
    cursor: pointer;
    transition: color 0.2s ease;
}

.contact-address .header-address-line:hover {
    color: var(--primary-color);
}

.contact-address .header-address-line + .header-address-line {
    margin-top: 0.1rem;
}

.contact-address .header-address-hint {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 0.3rem;
}

.contact-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.contact-buttons .btn {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Contacts Page */
.contacts-page {
    background-color: var(--dark-bg);
}

.contacts-page .contacts-map {
    margin-top: 0.5rem;
}

.contacts-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.contact-card {
    background-color: var(--dark-secondary);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow);
}

.contact-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.contact-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.contact-card p {
    color: var(--text-secondary);
    margin: 0.5rem 0;
}

.contact-card-address {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    margin-top: 1rem;
    align-items: center;
}

.contact-card-address .header-address-line {
    font-size: 1rem;
    color: var(--text-primary);
    cursor: pointer;
    transition: color 0.2s ease;
    text-align: center;
}

.contact-card-address .header-address-line:hover {
    color: var(--primary-color);
}

.contact-card-address .header-address-line + .header-address-line {
    margin-top: 0.1rem;
}

.contact-card-address .header-address-hint {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 0.3rem;
}

.messenger-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 1rem;
}

/* Contact Form */
.contact-form-section {
    background-color: var(--dark-secondary);
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background-color: var(--dark-tertiary);
    padding: 2rem;
    border-radius: 10px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    background-color: var(--dark-secondary);
    border: 1px solid var(--border-color);
    border-radius: 5px;
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    width: 100%;
}

.btn-primary:hover {
    background-color: #ff5722;
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-call {
    background-color: var(--primary-color);
    color: white;
}

.btn-call:hover {
    background-color: #ff5722;
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-telegram {
    background-color: #0088cc;
    color: white;
}

.btn-telegram:hover {
    background-color: #006ba3;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 136, 204, 0.4);
}

.btn-viber {
    background-color: #665cac;
    color: white;
}

.btn-viber:hover {
    background-color: #524a8a;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 92, 172, 0.4);
}

.btn-whatsapp {
    background-color: #25D366;
    color: #ffffff;
}

.btn-whatsapp:hover {
    background-color: #1DA851;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.4);
}

/* Footer */
.footer {
    background-color: var(--dark-secondary);
    padding: 3rem 0 1rem;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.footer-section p {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.view-counter {
    margin-top: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    opacity: 0.8;
}

.developed-links {
    text-align: center;
    padding-top: 1rem;
    margin-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.developed-links .social-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.developed-links .social-link:hover {
    color: var(--primary-color);
}

.developed-links .social-link i {
    font-size: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-list {
        position: fixed;
        top: 70px;
        left: -100%;
        flex-direction: column;
        background-color: var(--dark-secondary);
        width: 100%;
        padding: 2rem;
        transition: left 0.3s ease;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
        z-index: 999;
    }

    .nav-list.active {
        left: 0;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .header-phone {
        padding: 0.45rem 0.75rem;
        font-size: 0.95rem;
    }

    .header-address {
        display: none;
    }

    .mobile-header-address {
        display: block;
        background-color: var(--dark-secondary);
        padding: 0;
    }

    .mobile-header-address-inner {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 0.08rem 0.5rem;
        gap: 0.05rem;
        font-size: 0.75rem;
    }

    .mobile-header-address-main {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        max-width: 100%;
        overflow: hidden;
    }

    .mobile-header-address-inner .header-address-line {
        white-space: nowrap;
        display: inline;
        max-width: 100%;
    }

    .mobile-header-address-inner .header-address-line:first-child::after {
        content: '|';
        margin: 0 0.35rem;
        color: var(--text-muted);
    }

    .mobile-header-address .header-address-hint {
        display: block;
        font-size: 0.6rem;
        color: var(--text-muted);
        white-space: nowrap;
        margin-top: 0.02rem;
    }

    .logo p {
        display: none;
    }

    .hero-content h2 {
        font-size: 5rem;
    }

    .hero-text {
        font-size: 4.3rem;
    }

    .gallery-section .carousel-container {
        height: 400px;
    }

    .carousel-content h2,
    .carousel-content h3 {
        font-size: 2rem;
    }

    .carousel-content p {
        font-size: 1.2rem;
    }

    .carousel-btn {
        width: 50px;
        height: 50px;
        font-size: 2rem;
    }

    .carousel-btn.prev {
        left: 10px;
    }

    .carousel-btn.next {
        right: 10px;
    }

    .section-title {
        font-size: 2rem;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .contacts-content {
        flex-direction: column;
        text-align: center;
    }

    .contact-buttons {
        justify-content: center;
        width: 100%;
    }

    .contact-buttons .btn {
        flex: 1;
        min-width: 120px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .video-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .video-accordion-toggle {
        padding: 1rem 0;
    }

    .video-accordion-toggle .section-title {
        font-size: 1.5rem;
    }

    .services-grid,
    .advantages-grid,
    .prices-grid {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .logo h1 {
        font-size: 1.5rem;
    }

    .hero-content h2 {
        font-size: 3rem;
    }

    .hero-text {
        font-size: 1.4rem;
    }

    .gallery-section .carousel-container {
        height: 300px;
    }

    .carousel-content h2,
    .carousel-content h3 {
        font-size: 1.5rem;
    }

    .carousel-content p {
        font-size: 1rem;
    }

    section {
        padding: 3rem 0;
    }

    .phone-number {
        font-size: 1.5rem;
    }
}

/* Loading Animation */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.loading {
    animation: pulse 2s infinite;
}

/* Smooth Scroll */

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
