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

:root {
    --primary-color: #16a34a;
    --primary-dark: #15803d;
    --primary-light: #22c55e;
    --secondary-color: #eab308;
    --secondary-dark: #ca8a04;
    --secondary-light: #facc15;
    --accent-color: #fbbf24;
    --text-color: #1f2937;
    --text-light: #6b7280;
    --text-muted: #9ca3af;
    --bg-light: #f3f4f6;
    --bg-lighter: #fefce8;
    --white: #ffffff;
    --border-color: #e5e7eb;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --radius: 12px;
    --radius-lg: 16px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background: var(--white);
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
    gap: 8px;
}

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

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

.btn-outline {
    background: transparent;
    border-color: var(--primary-color);
    color: var(--primary-color);
}

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

/* Hero specific buttons */
.hero .btn-primary {
    background: var(--white);
    color: var(--primary-color);
}

.hero .btn-primary:hover {
    background: #f0f0f0;
    color: var(--primary-dark);
}

.hero .btn-outline {
    background: transparent;
    border-color: var(--white);
    color: var(--white);
}

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

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

.btn-white:hover {
    background: var(--bg-light);
    transform: translateY(-2px);
}

.btn-outline-white {
    background: transparent;
    border-color: var(--white);
    color: var(--white);
}

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

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

/* Header */
.header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    gap: 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
    border-radius: 8px;
}

.footer-logo {
    height: 60px;
    background: white;
    padding: 5px;
    border-radius: 8px;
}

.logo-icon {
    font-size: 1.8rem;
}

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

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

.nav-list {
    display: flex;
    gap: 8px;
}

.nav-link {
    padding: 10px 16px;
    font-weight: 500;
    color: var(--text-color);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    background: var(--bg-light);
    color: var(--primary-color);
}

.header-phones {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.phone-link {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-color);
    white-space: nowrap;
}

.phone-link:hover {
    color: var(--primary-dark);
}

/* Language Toggle */
.lang-toggle {
    display: flex;
    align-items: center;
    background: var(--bg-light);
    border-radius: 50px;
    padding: 4px;
    gap: 0;
}

.lang-btn {
    padding: 8px 16px;
    border: none;
    background: transparent;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    border-radius: 50px;
    transition: all 0.3s ease;
    color: var(--text-light);
    font-family: inherit;
}

.lang-btn.active {
    background: var(--secondary-color);
    color: var(--text-color);
}

.lang-btn:hover:not(.active) {
    color: var(--primary-color);
}

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

.mobile-menu-toggle span {
    width: 28px;
    height: 3px;
    background: var(--text-color);
    border-radius: 2px;
    transition: all 0.3s;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    padding: 160px 0 100px;
    text-align: center;
    color: var(--white);
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(22, 163, 74, 0.95) 0%, rgba(21, 128, 61, 0.98) 100%);
    z-index: 0;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3.2rem;
    font-weight: 800;
    margin-bottom: 16px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.3rem;
    opacity: 0.9;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.hero-badges {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.badge {
    background: var(--secondary-color);
    color: var(--text-color);
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
}

/* Store Presentation */
.store-presentation {
    padding: 100px 0;
    background: var(--white);
}

.store-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.image-placeholder {
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-lighter) 100%);
    border: 3px dashed var(--border-color);
    border-radius: var(--radius-lg);
    height: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
}

.image-placeholder span {
    font-size: 4rem;
    margin-bottom: 15px;
}

.image-placeholder p {
    font-weight: 500;
}

.image-placeholder.large {
    height: 450px;
}

/* Image Carousel */
.image-carousel {
    position: relative;
    width: 100%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background: var(--bg-light);
}

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

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.5s ease;
    cursor: pointer;
}

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

.carousel-slide:hover {
    transform: scale(1.02);
    transition: transform 0.3s ease, opacity 0.5s ease;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    color: var(--text-color);
    border: none;
    padding: 15px 18px;
    cursor: pointer;
    font-size: 1.2rem;
    border-radius: 50%;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

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

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

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

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

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

.dot:hover,
.dot.active {
    background: var(--primary-color);
    border-color: var(--white);
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: var(--radius);
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 3rem;
    color: var(--white);
    cursor: pointer;
    z-index: 10001;
    transition: color 0.3s ease;
}

.lightbox-close:hover {
    color: var(--primary-color);
}

.lightbox-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 20px 25px;
    cursor: pointer;
    font-size: 1.5rem;
    border-radius: 50%;
    z-index: 10001;
    transition: all 0.3s ease;
}

.lightbox-btn:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

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

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

@media (max-width: 768px) {
    .carousel-container {
        height: 280px;
    }

    .carousel-btn {
        padding: 10px 14px;
        font-size: 1rem;
    }

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

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

    .dot {
        width: 10px;
        height: 10px;
    }

    .lightbox-btn {
        padding: 15px 18px;
        font-size: 1.2rem;
    }

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

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

    .lightbox-close {
        top: 15px;
        right: 20px;
        font-size: 2.5rem;
    }
}

.store-info h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: var(--text-color);
}

.store-description {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 20px;
}

.store-info p {
    color: var(--text-light);
    margin-bottom: 30px;
}

.store-highlights {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.highlight {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.highlight-icon {
    font-size: 2rem;
    line-height: 1;
}

.highlight strong {
    display: block;
    font-size: 1.05rem;
    margin-bottom: 4px;
}

.highlight p {
    margin: 0;
    font-size: 0.9rem;
}

/* Section Titles */
.section-title {
    font-size: 2.4rem;
    text-align: center;
    margin-bottom: 12px;
    font-weight: 700;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 50px;
}

/* What We Offer */
.what-we-offer {
    padding: 100px 0;
    background: linear-gradient(135deg, #fefce8 0%, #fef9c3 100%);
}

.offer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.offer-card {
    background: var(--white);
    padding: 35px 25px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    display: block;
}

.offer-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.offer-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.offer-card h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
    color: var(--text-color);
}

.offer-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.offer-link {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
}

/* Services Section */
.services {
    padding: 100px 0;
    background: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 50px;
}

.service-card {
    background: var(--bg-light);
    padding: 30px 25px;
    border-radius: var(--radius-lg);
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
}

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

.service-card.featured {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
}

.service-card.featured p {
    color: rgba(255, 255, 255, 0.9);
}

.service-card.free {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--secondary-dark) 100%);
    color: var(--text-color);
}

.service-card.free p {
    color: var(--text-color);
}

.free-badge {
    position: absolute;
    top: -10px;
    right: -10px;
    background: var(--accent-color);
    color: var(--white);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 18px;
}

.service-card h3 {
    font-size: 1.1rem;
    margin-bottom: 12px;
}

.service-card p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.6;
}

.price-guarantee {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--secondary-dark) 100%);
    border-radius: var(--radius-lg);
    padding: 40px;
    text-align: center;
    color: var(--text-color);
}

.price-guarantee h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.price-guarantee p {
    font-size: 1.05rem;
    opacity: 0.95;
}

/* History Section */
.history {
    padding: 100px 0;
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
}

.history-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

.history-text h2 {
    font-size: 2.2rem;
    margin-bottom: 25px;
}

.history-text p {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.8;
}

.history-stats {
    display: flex;
    gap: 40px;
    margin-top: 40px;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.contact-icon {
    font-size: 2rem;
    line-height: 1;
}

.contact-item h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.contact-item a,
.contact-item p {
    color: var(--text-light);
    display: block;
    margin-bottom: 4px;
}

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

.contact-cta {
    background: var(--bg-light);
    padding: 50px;
    border-radius: var(--radius-lg);
    text-align: center;
}

.contact-cta h3 {
    font-size: 1.6rem;
    margin-bottom: 15px;
}

.contact-cta p {
    color: var(--text-light);
    margin-bottom: 30px;
}

.contact-cta .cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #15803d 0%, #14532d 100%);
    color: #d1d5db;
    padding: 70px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer .logo-text {
    color: var(--white);
}

.footer-col > p {
    margin-top: 15px;
    font-size: 0.95rem;
    line-height: 1.7;
    color: #9ca3af;
}

.footer-phones {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 20px;
}

.footer-phones a {
    color: var(--secondary-color);
    font-weight: 500;
}

.footer-phones a:hover {
    color: var(--secondary-light);
}

.footer-col h4 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul a {
    color: #9ca3af;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.footer-col ul a:hover {
    color: var(--secondary-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 25px;
    text-align: center;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Page Hero */
.page-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    padding: 140px 0 80px;
    text-align: center;
    color: var(--white);
}

.page-hero.apple-hero {
    background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
}

.page-hero.android-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
}

.page-hero.tablet-hero {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--secondary-dark) 100%);
    color: var(--text-color);
}

.page-icon {
    font-size: 4rem;
    display: block;
    margin-bottom: 20px;
}

.page-hero h1 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 15px;
}

.page-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Intro Section */
.intro-section {
    padding: 80px 0;
    background: var(--white);
}

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

.intro-content h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

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

.intro-badges {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.intro-badge {
    background: linear-gradient(135deg, var(--secondary-light) 0%, var(--secondary-color) 100%);
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    color: var(--text-color);
}

/* Models Section */
.models-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.models-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.model-category {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.model-category h3 {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--bg-light);
}

.model-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.model-list li {
    color: var(--text-light);
    font-size: 0.9rem;
    padding-left: 15px;
    position: relative;
}

.model-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

/* Repairs Section */
.repairs-section {
    padding: 80px 0;
    background: var(--white);
}

.repairs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.repair-card {
    background: var(--bg-light);
    padding: 30px 25px;
    border-radius: var(--radius-lg);
    text-align: center;
    transition: all 0.3s ease;
}

.repair-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    background: var(--white);
}

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

.repair-card h3 {
    font-size: 1.05rem;
    margin-bottom: 10px;
    color: var(--text-color);
}

.repair-card p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* Brands Section (Android page) */
.brands-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.brand-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.brand-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 20px 25px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-logo {
    font-size: 1.8rem;
}

.brand-header h3 {
    font-size: 1.3rem;
    font-weight: 700;
}

.brand-models {
    padding: 25px;
}

.brand-models h4 {
    font-size: 0.95rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    margin-top: 20px;
}

.brand-models h4:first-child {
    margin-top: 0;
}

.brand-models ul {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.brand-models li {
    font-size: 0.9rem;
    color: var(--text-light);
    padding-left: 15px;
    position: relative;
}

.brand-models li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

/* Tablet Section */
.tablet-section {
    padding: 80px 0;
    background: var(--white);
}

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

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

.category-icon {
    font-size: 2.5rem;
}

.category-header h2 {
    font-size: 2rem;
    margin: 0;
}

.category-description {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 40px;
}

.tablet-models {
    grid-template-columns: repeat(4, 1fr);
}

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

.page-cta.android-cta {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
}

.page-cta.tablet-cta {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--secondary-dark) 100%);
}

.page-cta.tablet-cta h2,
.page-cta.tablet-cta p {
    color: var(--text-color);
}

.page-cta h2 {
    color: var(--white);
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.page-cta p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    margin-bottom: 30px;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
    .offer-grid,
    .services-grid,
    .models-grid,
    .repairs-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .store-grid,
    .history-content,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .store-image {
        order: -1;
    }

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

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

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

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

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-buttons,
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-badges {
        flex-direction: column;
        gap: 12px;
    }

    .offer-grid,
    .services-grid,
    .models-grid,
    .repairs-grid,
    .brands-grid {
        grid-template-columns: 1fr;
    }

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

    .history-stats {
        flex-direction: column;
        gap: 25px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

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

    .intro-badges {
        flex-direction: column;
        align-items: center;
    }

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

    .contact-cta {
        padding: 35px 25px;
    }
}

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

    .hero {
        padding: 130px 0 70px;
    }

    .btn-large {
        padding: 14px 28px;
        font-size: 1rem;
    }

    .image-placeholder {
        height: 280px;
    }

    .image-placeholder.large {
        height: 320px;
    }

    .store-info h2,
    .history-text h2 {
        font-size: 1.7rem;
    }

    .price-guarantee {
        padding: 30px 20px;
    }

    .price-guarantee h3 {
        font-size: 1.3rem;
    }
}

/* Mobile Menu */
.nav.active {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: var(--shadow-lg);
    padding: 20px;
    border-top: 1px solid var(--border-color);
}

.nav.active .nav-list {
    flex-direction: column;
    gap: 0;
}

.nav.active .nav-link {
    display: block;
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
    border-radius: 0;
}

.nav.active .nav-link:last-child {
    border-bottom: none;
}

/* Mobile menu toggle animation */
.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}
