*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --bg-light: #F5F5F0;
    --bg-dark: #1A1A1A;
    --accent: #d43131;
    --accent-hover: #b82828;
    --olive: #3B5323;
    --olive-light: #4A6B2E;
    --text-dark: #1A1A1A;
    --text-light: #F5F5F0;
    --text-muted: #6B6B6B;
    --border-light: #E0E0D8;
    --section-alt: #E8E8E0;
    --font: 'Inter', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font);
    font-size: 17px;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--bg-light);
    -webkit-font-smoothing: antialiased;
}

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

a {
    color: inherit;
    text-decoration: none;
}

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

/* ===== HEADER ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--bg-dark);
    transition: box-shadow 0.3s;
}

.header.scrolled {
    box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

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

.header-logo img {
    height: 42px;
    width: auto;
}

.nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav a {
    color: var(--text-light);
    font-size: 15px;
    font-weight: 500;
    opacity: 0.85;
    transition: opacity 0.2s;
}

.nav a:hover {
    opacity: 1;
}

.header-cta {
    display: inline-flex;
    align-items: center;
    padding: 10px 22px;
    background: var(--accent);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
}

.header-cta:hover {
    background: var(--accent-hover);
}

.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
}

.burger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-light);
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
}

.burger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.burger.active span:nth-child(2) {
    opacity: 0;
}

.burger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ===== HERO ===== */
.hero {
    padding: 160px 0 120px;
    background: linear-gradient(300deg, #628d35 0%, #000000 100%);
    color: var(--text-light);
    overflow: hidden;
}

.hero .container {
    display: flex;
    align-items: center;
    gap: 40px;
}

.hero-content {
    flex: 1;
    min-width: 0;
}

.hero h1 {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 24px;
    letter-spacing: -0.5px;
}

.hero-sub {
    font-size: 18px;
    line-height: 1.6;
    opacity: 0.9;
    margin-bottom: 32px;
    max-width: 520px;
}

.hero-image {
    flex: 0 0 420px;
}

.hero-image img {
    width: 100%;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.3));
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 36px;
    background: var(--accent);
    color: #fff;
    font-size: 17px;
    font-weight: 700;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s;
}

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

.btn:active {
    transform: translateY(0);
}

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

.section-title {
    font-size: 36px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 48px;
    letter-spacing: -0.3px;
}

.section-dark {
    background: var(--bg-dark);
    color: var(--text-light);
}

.section-olive {
    background: var(--olive);
    color: var(--text-light);
}

.section-alt {
    background: var(--section-alt);
}

/* ===== PROBLEM ===== */
.problem {
    text-align: center;
}

.problem p {
    max-width: 780px;
    margin: 0 auto;
    font-size: 18px;
    line-height: 1.7;
    color: var(--text-muted);
}

/* ===== SOLUTION ===== */
.solution .container {
    display: flex;
    align-items: center;
    gap: 60px;
}

.solution-text {
    flex: 1;
}

.solution-text .section-title {
    text-align: left;
}

.solution-text p {
    font-size: 18px;
    line-height: 1.7;
    opacity: 0.9;
}

.solution-image {
    flex: 0 0 380px;
}

.solution-image img {
    border-radius: 16px;
}

/* ===== ADVANTAGES ===== */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.advantage-card {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 16px;
    padding: 32px 28px;
}

.advantage-icon {
    width: 52px;
    height: 52px;
    background: var(--accent);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 24px;
}

.advantage-card h3 {
    font-size: 19px;
    font-weight: 700;
    margin-bottom: 10px;
}

.advantage-card p {
    font-size: 15px;
    line-height: 1.6;
    opacity: 0.8;
}

/* ===== HOW IT WORKS ===== */
.steps {
    display: flex;
    gap: 32px;
    max-width: 960px;
    margin: 0 auto;
}

.step {
    flex: 1;
    text-align: center;
}

.step-number {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    font-size: 28px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.step h3 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 10px;
}

.step p {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-muted);
}

/* ===== USE CASES ===== */
.usecases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.usecase-card {
    background: #fff;
    border-radius: 16px;
    padding: 32px 28px;
    border: 1px solid var(--border-light);
    transition: transform 0.2s, box-shadow 0.2s;
}

.usecase-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.08);
}

.usecase-icon {
    font-size: 36px;
    margin-bottom: 16px;
}

.usecase-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.usecase-card p {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-muted);
}

/* ===== SPECS ===== */
.specs-table {
    max-width: 700px;
    margin: 0 auto;
    width: 100%;
    border-collapse: collapse;
}

.specs-table tr {
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.specs-table td {
    padding: 14px 16px;
    font-size: 16px;
}

.specs-table td:first-child {
    font-weight: 600;
    opacity: 0.9;
    width: 45%;
}

.specs-table td:last-child {
    opacity: 0.8;
}

.specs-note {
    text-align: center;
    margin-top: 24px;
    font-size: 14px;
    opacity: 0.6;
    font-style: italic;
}

/* ===== GALLERY ===== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.gallery-item {
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.2s;
    aspect-ratio: 4/3;
}

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

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

/* ===== GALLERY SLIDER (mobile) ===== */
.gallery-controls {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

.gallery-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--border-light);
    cursor: pointer;
    transition: background 0.2s;
}

.gallery-dot.active {
    background: var(--accent);
}

/* ===== MODELS ===== */
.models-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}

.model-card {
    background: #fff;
    border: 2px solid var(--border-light);
    border-radius: 16px;
    padding: 32px;
    position: relative;
    transition: transform 0.2s, box-shadow 0.2s;
}

.model-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.08);
}

.model-card.recommended {
    border-color: var(--accent);
    box-shadow: 0 0 0 1px var(--accent);
}

.model-badge {
    position: absolute;
    top: -13px;
    left: 28px;
    background: var(--accent);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 14px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.model-card h3 {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 10px;
}

.model-card p {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.model-price {
    font-size: 20px;
    font-weight: 700;
    color: var(--accent);
}

.model-card.option-card {
    background: var(--section-alt);
    border-style: dashed;
}

/* ===== COMPARISON ===== */
.comparison-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.comparison-table {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    border-collapse: collapse;
    font-size: 15px;
}

.comparison-table th,
.comparison-table td {
    padding: 14px 16px;
    text-align: center;
    border-bottom: 1px solid var(--border-light);
}

.comparison-table th {
    font-weight: 700;
    font-size: 16px;
    padding-bottom: 18px;
}

.comparison-table td:first-child,
.comparison-table th:first-child {
    text-align: left;
    font-weight: 600;
}

.comparison-table td:nth-child(2),
.comparison-table th:nth-child(2) {
    background: rgba(232, 96, 10, 0.08);
    color: var(--accent);
    font-weight: 700;
}

.comparison-table th:nth-child(2) {
    color: var(--accent);
    font-size: 17px;
}

/* ===== REVIEWS ===== */
.reviews-slider {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    overflow: hidden;
}

.reviews-track {
    display: flex;
    transition: transform 0.4s ease;
}

.review-card {
    flex: 0 0 100%;
    padding: 0 12px;
}

.review-inner {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    padding: 36px 32px;
}

.review-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.review-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid rgba(255,255,255,0.2);
}

.review-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.review-name {
    font-weight: 700;
    font-size: 17px;
}

.review-tag {
    font-size: 13px;
    opacity: 0.6;
    margin-top: 2px;
}

.review-text {
    font-size: 16px;
    line-height: 1.7;
    opacity: 0.85;
}

.reviews-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 32px;
}

.reviews-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.3);
    background: none;
    color: var(--text-light);
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.2s, background 0.2s;
}

.reviews-btn:hover {
    border-color: var(--accent);
    background: rgba(232,96,10,0.15);
}

.reviews-dots {
    display: flex;
    gap: 8px;
}

.reviews-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.25);
    cursor: pointer;
    transition: background 0.2s;
}

.reviews-dot.active {
    background: var(--accent);
}

/* ===== FAQ ===== */
.faq-list {
    max-width: 780px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--border-light);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 22px 40px 22px 0;
    font-size: 17px;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    font-family: var(--font);
    color: var(--text-dark);
    position: relative;
    line-height: 1.5;
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
    font-weight: 400;
    color: var(--accent);
    transition: transform 0.3s;
}

.faq-item.open .faq-question::after {
    content: '\2212';
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq-answer-inner {
    padding: 0 0 22px;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-muted);
}

/* ===== CTA FORM ===== */
.cta-section {
    background: linear-gradient(135deg, var(--olive) 0%, #2C3E1A 100%);
    color: var(--text-light);
}

.cta-section .section-title {
    margin-bottom: 12px;
}

.cta-sub {
    text-align: center;
    font-size: 18px;
    opacity: 0.85;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}


/* ===== CTA BANNER ===== */
.cta-banner {
    padding: 48px 0;
    text-align: center;
    background: var(--section-alt);
}

.cta-banner.cta-banner-dark {
    background: var(--bg-dark);
}

.cta-banner .btn {
    font-size: 18px;
    padding: 18px 48px;
}

/* ===== CONTACT BUTTONS ===== */
.contact-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    max-width: 700px;
    margin: 0 auto;
}

.contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 32px;
    border-radius: 14px;
    font-size: 17px;
    font-weight: 600;
    color: #fff;
    transition: transform 0.15s, box-shadow 0.2s;
    min-width: 200px;
    justify-content: center;
}

.contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

.contact-btn svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
    flex-shrink: 0;
}

.contact-btn-phone {
    background: var(--accent);
}

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

.contact-btn-telegram {
    background: #2AABEE;
}

.contact-btn-max {
    background: #6C3CE1;
}

@media (max-width: 768px) {
    .contact-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .contact-btn {
        min-width: auto;
    }
}

/* ===== FOOTER ===== */
.footer {
    background: var(--bg-dark);
    color: var(--text-light);
    padding: 40px 0;
}

.footer .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-logo img {
    height: 32px;
}

.footer-center {
    font-size: 14px;
    opacity: 0.6;
}

.footer-links {
    display: flex;
    gap: 20px;
    font-size: 14px;
}

.footer-links a {
    opacity: 0.6;
    transition: opacity 0.2s;
}

.footer-links a:hover {
    opacity: 1;
}

/* ===== LIGHTBOX ===== */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(0,0,0,0.9);
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.lightbox.open {
    display: flex;
}

.lightbox img {
    max-width: 90vw;
    max-height: 90vh;
    border-radius: 8px;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 24px;
    width: 40px;
    height: 40px;
    border: none;
    background: rgba(255,255,255,0.15);
    color: #fff;
    font-size: 24px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ===== ANIMATE ON SCROLL ===== */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== MOBILE NAV OVERLAY ===== */
.mobile-nav {
    display: none;
    position: fixed;
    inset: 0;
    top: 70px;
    background: var(--bg-dark);
    z-index: 999;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 40px;
    gap: 24px;
}

.mobile-nav.open {
    display: flex;
}

.mobile-nav a {
    color: var(--text-light);
    font-size: 18px;
    font-weight: 600;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 36px;
    }

    .hero-image {
        flex: 0 0 320px;
    }

    .advantages-grid,
    .usecases-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .solution .container {
        gap: 40px;
    }

    .solution-image {
        flex: 0 0 300px;
    }
}

@media (max-width: 768px) {
    .nav {
        display: none;
    }

    .header-cta.desktop-only {
        display: none;
    }

    .burger {
        display: flex;
    }

    .hero .container {
        flex-direction: column;
        text-align: center;
    }

    .hero h1 {
        font-size: 30px;
    }

    .hero-sub {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-image {
        flex: none;
        max-width: 300px;
        margin: 0 auto;
    }

    .section-title {
        font-size: 28px;
    }

    .solution .container {
        flex-direction: column;
    }

    .solution-text .section-title {
        text-align: center;
    }

    .solution-image {
        flex: none;
        max-width: 340px;
        margin: 0 auto;
    }

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

    .steps {
        flex-direction: column;
        gap: 40px;
    }

    .gallery-wrapper {
        overflow: hidden;
    }

    .gallery-grid {
        display: flex;
        gap: 0;
    }

    .gallery-item {
        flex: 0 0 100%;
        aspect-ratio: 4/3;
        border-radius: 12px;
    }

    .gallery-controls {
        display: flex;
    }

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

    .comparison-table {
        font-size: 13px;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 10px 8px;
    }

    .review-card {
        padding: 0 4px;
    }

    .footer .container {
        flex-direction: column;
        text-align: center;
    }

    section {
        padding: 60px 0;
    }
}

@media (min-width: 769px) {
    .review-card {
        flex: 0 0 50%;
    }
}

@media (min-width: 1024px) {
    .review-card {
        flex: 0 0 33.333%;
    }
}
