/* ===== RESET & BASE ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #2c3e50;
    --accent: #e67e22;
    --accent-hover: #d35400;
    --light: #f8f9fa;
    --dark: #1a1a2e;
    --gray: #6c757d;
    --white: #ffffff;
    --shadow: 0 4px 20px rgba(0,0,0,0.1);
    --shadow-hover: 0 8px 30px rgba(0,0,0,0.15);
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: var(--primary);
    background: var(--white);
    overflow-x: hidden;
}

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 1rem;
}

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

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

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

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

.btn-block {
    display: block;
    width: 100%;
}

.btn-large {
    padding: 18px 40px;
    font-size: 1.1rem;
}

.btn-vk {
    background: #0077FF;
    color: white;
}

.btn-vk:hover {
    background: #0066dd;
    transform: translateY(-2px);
}

.btn-phone {
    background: #25D366;
    color: white;
}

.btn-phone:hover {
    background: #128C7E;
    transform: translateY(-2px);
}

.btn-icon {
    margin-right: 8px;
    font-size: 1.2rem;
}

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 15px 0;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 10px 0;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.logo span {
    color: var(--accent);
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-weight: 500;
    position: relative;
    padding: 5px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.btn-nav {
    padding: 10px 24px;
    background: var(--accent);
    color: white;
    border-radius: 30px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-nav:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
}

.burger {
    display: none;
    cursor: pointer;
}

.burger div {
    width: 25px;
    height: 3px;
    background: var(--primary);
    margin: 5px;
    transition: var(--transition);
}

/* ===== HERO SECTION ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(135deg, var(--dark) 0%, var(--primary) 100%);
    color: var(--white);
    text-align: center;
    padding: 100px 20px 60px;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/hero-bg.jpg') center/cover no-repeat;
    opacity: 0.2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(26,26,46,0.8) 0%, rgba(44,62,80,0.9) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero .highlight {
    color: var(--accent);
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
}

.feature-icon {
    font-size: 1.3rem;
}

.hero-price {
    margin-bottom: 30px;
}

.price-tag {
    display: inline-block;
    padding: 10px 25px;
    background: rgba(230,126,34,0.2);
    border: 2px solid var(--accent);
    border-radius: 30px;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--accent);
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--white);
    opacity: 0.8;
    font-size: 0.9rem;
}

.scroll-arrow {
    width: 24px;
    height: 24px;
    border-right: 2px solid var(--white);
    border-bottom: 2px solid var(--white);
    transform: rotate(45deg);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: rotate(45deg) translateY(0); }
    40% { transform: rotate(45deg) translateY(10px); }
    60% { transform: rotate(45deg) translateY(5px); }
}

/* ===== SECTIONS ===== */
section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 50px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--accent);
    margin: 15px auto 0;
    border-radius: 2px;
}

/* ===== ABOUT ===== */
.about {
    background: var(--light);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.about-text p {
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.about-list {
    margin-top: 20px;
}

.about-list li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
}

.about-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
}

.about-image img {
    border-radius: 20px;
    box-shadow: var(--shadow-hover);
    width: 100%;
    height: 400px;
    object-fit: cover;
}

/* ===== PRICES ===== */
.prices-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 800px;
    margin: 0 auto 30px;
}

.price-card {
    background: var(--white);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    border: 2px solid transparent;
}

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

.price-card.featured {
    border-color: var(--accent);
    transform: scale(1.05);
}

.price-card.featured:hover {
    transform: scale(1.05) translateY(-5px);
}

.badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: white;
    padding: 5px 20px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.price-header h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 20px;
}

.price span {
    font-size: 1rem;
    color: var(--gray);
    font-weight: 400;
}

.price-features {
    margin-bottom: 25px;
    text-align: left;
}

.price-features li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
    font-size: 0.95rem;
}

.price-features li:last-child {
    border-bottom: none;
}

.price-note {
    text-align: center;
    padding: 15px 25px;
    background: #fff3e0;
    border-radius: 12px;
    max-width: 500px;
    margin: 0 auto;
}

/* ===== EQUIPMENT ===== */
.equipment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.equipment-card {
    background: var(--white);
    padding: 25px;
    border-radius: 16px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.equipment-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.equipment-card h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.equipment-card ul {
    text-align: left;
}

.equipment-card li {
    padding: 5px 0;
    font-size: 0.95rem;
    color: var(--gray);
}

/* ===== GALLERY ===== */
.gallery {
    background: var(--light);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

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

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: white;
    transform: translateY(100%);
    transition: var(--transition);
}

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

.gallery-cta {
    text-align: center;
}

.gallery-cta p {
    margin-bottom: 20px;
    color: var(--gray);
}

/* ===== CTA ===== */
.cta {
    background: linear-gradient(135deg, var(--primary) 0%, var(--dark) 100%);
    color: var(--white);
    text-align: center;
}

.cta h2 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.cta p {
    margin-bottom: 30px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== CONTACTS ===== */
.contacts-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-item {
    display: flex;
    gap: 15px;
    padding: 20px 0;
    border-bottom: 1px solid #eee;
}

.contact-item:last-child {
    border-bottom: none;
}

.contact-icon {
    font-size: 1.5rem;
    min-width: 40px;
}

.contact-item h4 {
    margin-bottom: 5px;
    font-weight: 600;
}

.contact-item p,
.contact-item a {
    color: var(--gray);
}

.contact-item a:hover {
    color: var(--accent);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    color: var(--accent);
    font-weight: 500;
}

.social-links a:hover {
    text-decoration: underline;
}

.contacts-map iframe {
    width: 100%;
    height: 300px;
    border-radius: 16px;
    border: none;
    box-shadow: var(--shadow);
}

/* ===== FOOTER ===== */
.footer {
    background: var(--dark);
    color: var(--white);
    padding: 40px 0 20px;
    text-align: center;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.footer-logo span {
    color: var(--accent);
}

.footer p {
    opacity: 0.8;
    margin-bottom: 20px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-bottom: 20px;
}

.footer-links a {
    opacity: 0.9;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--accent);
}

.footer-bottom {
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.9rem;
    opacity: 0.7;
}

/* ===== MOBILE MENU ===== */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background: var(--white);
    padding: 80px 30px 30px;
    box-shadow: -5px 0 20px rgba(0,0,0,0.1);
    transition: var(--transition);
    z-index: 1001;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu ul {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mobile-menu a {
    font-size: 1.1rem;
    font-weight: 500;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .about-content,
    .contacts-grid {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        order: -1;
    }
    
    .price-card.featured {
        transform: scale(1);
    }
    
    .price-card.featured:hover {
        transform: translateY(-5px);
    }
}

@media (max-width: 768px) {
    .nav-links,
    .btn-nav {
        display: none;
    }
    
    .burger {
        display: block;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
    }
    
    section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 1.7rem;
    }
}

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

.fade-in {
    animation: fadeInUp 0.6s ease forwards;
}

/* ===== UTILS ===== */
.text-center { text-align: center; }
.mt-20 { margin-top: 20px; }
.mb-20 { margin-bottom: 20px; }
/* Hero with Panoramic Windows */
.hero--panoramic {
    background: linear-gradient(135deg, rgba(44,62,80,0.9) 0%, rgba(26,26,46,0.95) 100%),
                url('../images/hero-bg.jpg') center/cover no-repeat;
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero__features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px;
    background: rgba(255,255,255,0.1);
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.feature__icon {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.feature__text {
    font-size: 0.9rem;
    line-height: 1.4;
}

.hero__trust {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--white);
    opacity: 0.9;
}

.trust__icon {
    color: #2ecc71;
    font-weight: bold;
}

/* CTA Bar */
.cta-bar {
    background: linear-gradient(135deg, #e67e22 0%, #d35400 100%);
    color: white;
    padding: 15px 0;
    text-align: center;
}

.cta-bar__text {
    margin: 0;
    font-size: 1.1rem;
}

.btn--small {
    padding: 8px 20px;
    font-size: 0.9rem;
    background: white;
    color: #e67e22;
    margin-left: 15px;
}

/* About Features */
.about__features {
    margin-top: 30px;
}

.about-feature {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    padding: 20px;
    background: var(--light);
    border-radius: 12px;
    transition: var(--transition);
}

.about-feature:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow);
}

.about-feature__icon {
    font-size: 2rem;
    min-width: 50px;
    text-align: center;
}

.about-feature h4 {
    margin-bottom: 5px;
    color: var(--primary);
}

.about-feature p {
    color: var(--gray);
    font-size: 0.95rem;
    margin: 0;
}

/* Video Section */
.video__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin: 40px 0;
}

.video-item {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.video-item iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 12px;
}

.video__more {
    text-align: center;
    margin-top: 30px;
}

/* MAX Messenger Button */
.btn--max {
    background: #007AFF;
    color: white;
}

.btn--max:hover {
    background: #0056CC;
    transform: translateY(-2px);
}

.social-link--max {
    color: #007AFF;
}

/* Responsive */
@media (max-width: 768px) {
    .hero__features {
        grid-template-columns: 1fr;
    }
    
    .hero__trust {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    
    .cta-bar {
        padding: 12px 0;
    }
    
    .cta-bar__text {
        font-size: 0.95rem;
    }
    
    .btn--small {
        margin-left: 0;
        margin-top: 10px;
        display: block;
    }
    
    .about-feature {
        flex-direction: column;
        text-align: center;
    }
    
    .video__grid {
        grid-template-columns: 1fr;
    }
}
