/* /www/wwwroot/furnitureassemblync.com/public/css/style.css */

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

body {
    font-family: 'Inter', sans-serif;
    background: #fff;
    color: #2C3E50;
    line-height: 1.5;
}

:root {
    --primary-dark: #1A3B5C;
    --primary-gold: #E6A817;
    --gray-bg: #F8F9FA;
    --text-dark: #2C3E50;
    --text-light: #5A6E7F;
    --shadow: 0 10px 25px -5px rgba(0,0,0,0.05);
    --shadow-hover: 0 20px 25px -12px rgba(0,0,0,0.1);
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header */
.header {
    background: white;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}
.header__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
}
.logo-link {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}
.logo-name {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-dark);
}
.logo-tagline {
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--text-light);
    letter-spacing: 0.5px;
}
.nav__list {
    display: flex;
    gap: 32px;
    list-style: none;
}
.nav__list a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
}
.nav__list a:hover { color: var(--primary-gold); }
.header__phone {
    display: flex;
    align-items: center;
    gap: 16px;
}
.phone-link {
    font-weight: 600;
    color: var(--primary-dark);
    text-decoration: none;
}
.btn {
    border: none;
    cursor: pointer;
    font-weight: 600;
    border-radius: 40px;
    transition: all 0.2s;
}
.btn--small { padding: 8px 20px; font-size: 0.9rem; }
.btn--large { padding: 14px 32px; font-size: 1rem; }
.btn--gold {
    background: var(--primary-gold);
    color: #1E2A3A;
}
.btn--gold:hover { background: #d49c0e; transform: scale(1.02); }
.btn--outline {
    background: transparent;
    border: 2px solid var(--primary-dark);
    color: var(--primary-dark);
}
.btn--outline:hover { background: var(--primary-dark); color: white; }
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
}

/* Hero */
.hero {
    padding: 60px 0;
    background: var(--gray-bg);
}
.hero__inner {
    display: flex;
    align-items: center;
    gap: 48px;
    flex-wrap: wrap;
}
.hero__content { flex: 1; }
.hero__title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--primary-dark);
}
.highlight { color: var(--primary-gold); }
.hero__subtitle {
    font-size: 1.2rem;
    margin-bottom: 32px;
    color: var(--text-light);
}
.hero__buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}
.hero__trust {
    display: flex;
    gap: 24px;
    font-size: 0.9rem;
}
.hero__image {
    flex: 1;
    background: #ddd;
    border-radius: 24px;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Features */
.features-section, .services-section, .addons-section, .howitworks-section, .portfolio-section, .testimonials-section, .coverage-section {
    padding: 60px 0;
}
.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 48px;
    color: var(--primary-dark);
}
.features-grid, .services-grid, .addons-grid, .steps-grid, .portfolio-grid, .testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}
.feature-card, .service-card, .addon-card, .step-card, .portfolio-item, .testimonial-card {
    background: white;
    border-radius: 24px;
    padding: 28px 20px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.2s;
}
.service-card:hover, .addon-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}
.service-icon, .addon-icon, .feature-icon {
    font-size: 48px;
    margin-bottom: 16px;
}
.service-pricing {
    margin: 15px 0;
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}
.price-1h {
    background: var(--primary-gold);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
}
.price-2h {
    background: #e2e8f0;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
}
.addon-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-gold);
    margin: 15px 0;
}
.step-number {
    width: 60px;
    height: 60px;
    background: var(--primary-dark);
    color: white;
    font-size: 1.8rem;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

/* Service Area (города) */
.coverage-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 40px;
}
.coverage-description {
    font-size: 1.1rem;
    color: var(--text-light);
    margin: 15px 0 20px;
    max-width: 600px;
}
.coverage-phone {
    display: flex;
    align-items: center;
    gap: 10px;
    background: white;
    padding: 8px 20px;
    border-radius: 40px;
    width: fit-content;
    box-shadow: var(--shadow);
}
.phone-number {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-dark);
    text-decoration: none;
}
.phone-number:hover { color: var(--primary-gold); }
.cities-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 30px;
    overflow: hidden;
    transition: max-height 0.3s;
}
.cities-grid.collapsed { max-height: 200px; }
.city-pill {
    background: white;
    padding: 8px 20px;
    border-radius: 40px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--primary-dark);
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}
.toggle-cities-btn {
    background: none;
    border: none;
    color: var(--primary-gold);
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
}
.toggle-cities-btn .arrow {
    transition: transform 0.2s;
}
.toggle-cities-btn.active .arrow {
    transform: rotate(180deg);
}

/* CTA */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-dark), #0f2a3f);
    color: white;
    text-align: center;
}
.cta-section h2 { font-size: 2rem; margin-bottom: 16px; }
.cta-section p { font-size: 1.2rem; margin-bottom: 32px; }

/* Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}
.modal__content {
    background: white;
    padding: 32px;
    border-radius: 24px;
    max-width: 500px;
    width: 90%;
    position: relative;
}
.modal__close {
    position: absolute;
    top: 16px;
    right: 20px;
    font-size: 28px;
    cursor: pointer;
}

/* Footer */
.footer {
    background: var(--primary-dark);
    color: white;
    text-align: center;
    padding: 32px 0;
    margin-top: 60px;
}

/* Responsive */
@media (max-width: 768px) {
    .nav, .header__phone { display: none; }
    .mobile-menu-toggle { display: block; }
    .hero__title { font-size: 2rem; }
    .hero__inner { flex-direction: column; }
    .section-title { font-size: 1.8rem; }
    .features-grid, .services-grid, .addons-grid, .steps-grid, .portfolio-grid, .testimonials-grid {
        grid-template-columns: 1fr;
    }
    .coverage-header { flex-direction: column; align-items: flex-start; }
    .coverage-cta { align-self: flex-start; }
}