/* reset & base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: #343434;
    background-color: #ffffff;
    line-height: 1.4;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Header */
.header {
    position: sticky;
    top: 0;
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    z-index: 1000;
}
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    flex-wrap: wrap;
}
.logo a {
    font-size: 24px;
    font-weight: 700;
    color: #343434;
    text-decoration: none;
}
.nav-menu {
    display: flex;
    gap: 32px;
    list-style: none;
}
.nav-menu a {
    text-decoration: none;
    font-weight: 500;
    color: #343434;
    transition: color 0.2s;
}
.nav-menu a:hover, .nav-menu a.active {
    color: #f65556;
}
.nav-phone {
    background: #f65556;
    color: white;
    padding: 10px 20px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.2s;
}
.nav-phone:hover {
    background: #e83f41;
}
.burger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}
.burger span {
    width: 25px;
    height: 3px;
    background: #343434;
    margin: 3px 0;
    transition: 0.3s;
}
@media (max-width: 768px) {
    .burger {
        display: flex;
    }
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 20px 0;
        gap: 20px;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    }
    .nav-menu.active {
        left: 0;
    }
    .nav-phone {
        display: none;
    }
}

/* Buttons */
.btn-primary {
    display: inline-block;
    background: #f65556;
    color: white;
    padding: 14px 35px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.2s;
    border: none;
    cursor: pointer;
}
.btn-primary:hover {
    background: #e83f41;
}
.btn-outline {
    background: transparent;
    border: 1px solid #f65556;
    color: #f65556;
    padding: 8px 20px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s;
    display: inline-block;
}
.btn-outline:hover {
    background: #f65556;
    color: white;
}

/* Hero section (index) */
.hero {
    background: linear-gradient(140deg, #FFFFFF 0%, #f4f5f6 100%);
    padding: 80px 0;
}
.hero-grid {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}
.hero-content {
    flex: 1;
}
.hero-content h1 {
    font-size: 52px;
    line-height: 1.2;
    margin-bottom: 20px;
    font-weight: 700;
}
.hero-content p {
    font-size: 18px;
    margin-bottom: 30px;
    color: #555;
}
.hero-image {
    flex: 1;
    text-align: center;
}
.hero-image img {
    border-radius: 20px;
    box-shadow: 0 20px 30px -20px rgba(0,0,0,0.2);
}
@media (max-width: 768px) {
    .hero-content h1 { font-size: 36px; }
    .hero-grid { flex-direction: column; text-align: center; }
}

/* Advantages */
.section-title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
    font-weight: 700;
}
.advantages {
    padding: 80px 0;
    background: #fff;
}
.adv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}
.adv-item {
    text-align: center;
}
.adv-icon {
    font-size: 48px;
    margin-bottom: 20px;
}
.adv-item h3 {
    font-size: 22px;
    margin-bottom: 10px;
}

/* Popular sizes (index) */
.popular-sizes {
    background: #f9f9f9;
    padding: 80px 0;
}
.size-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
}
.size-card {
    background: white;
    border-radius: 16px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.2s;
}
.size-card:hover {
    transform: translateY(-5px);
}
.size-card img {
    width: 100%;
    border-radius: 12px;
    margin-bottom: 15px;
    background: #e0e0e0;
    height: 180px;
    object-fit: cover;
}
.price {
    color: #f65556;
    font-weight: 700;
    margin: 12px 0;
}

/* Callback form */
.callback {
    padding: 60px 0;
    background: #343434;
    color: white;
}
.callback .container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: space-between;
    align-items: center;
}
.callback h2 {
    font-size: 32px;
    margin-bottom: 15px;
}
.callback-form {
    flex: 1;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}
.callback-form input {
    flex: 1;
    padding: 14px 20px;
    border: none;
    border-radius: 40px;
    font-size: 16px;
}
.callback-form button {
    background: #f65556;
    border: none;
    padding: 14px 30px;
    border-radius: 40px;
    color: white;
    font-weight: 600;
    cursor: pointer;
}
@media (max-width: 768px) {
    .callback-form { flex-direction: column; }
}

/* Catalog page */
.catalog-header {
    background: #f4f5f6;
    padding: 60px 0 30px;
    text-align: center;
}
.catalog-header h1 {
    font-size: 42px;
    margin-bottom: 15px;
}
.tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 30px 0;
    flex-wrap: wrap;
}
.tab-btn {
    background: none;
    border: none;
    padding: 12px 30px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    border-radius: 40px;
    transition: 0.2s;
    color: #343434;
}
.tab-btn.active {
    background: #f65556;
    color: white;
}
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin: 40px 0;
}
.product-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: 0.2s;
}
.product-card:hover {
    transform: translateY(-5px);
}
.product-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    background: #e0e0e0;
}
.product-info {
    padding: 20px;
}
.product-title {
    font-size: 22px;
    margin-bottom: 10px;
}
.product-desc {
    color: #666;
    margin-bottom: 15px;
    font-size: 14px;
}
.product-price {
    font-size: 24px;
    font-weight: 700;
    color: #f65556;
    margin-bottom: 15px;
}
.btn-order {
    background: #f65556;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 40px;
    width: 100%;
    cursor: pointer;
    font-weight: 600;
}
.category-section {
    display: none;
}
.category-section.active {
    display: block;
}
.unique-text {
    background: #f9f9f9;
    padding: 40px;
    border-radius: 20px;
    margin: 40px 0;
}
.unique-text h2 {
    margin-bottom: 20px;
}
.unique-text p {
    line-height: 1.6;
}

/* About page */
.about-hero {
    background: #f4f5f6;
    padding: 80px 0;
    text-align: center;
}
.about-hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
}
.about-content {
    padding: 60px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    align-items: center;
}
.about-text {
    flex: 1;
}
.about-text h2 {
    font-size: 32px;
    margin: 20px 0 10px;
}
.about-text p {
    margin-bottom: 15px;
    line-height: 1.5;
}
.about-image {
    flex: 1;
    text-align: center;
}
.about-image img {
    border-radius: 24px;
    box-shadow: 0 20px 30px -20px rgba(0,0,0,0.2);
}
.stats {
    background: #343434;
    color: white;
    padding: 60px 0;
    margin: 40px 0;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px,1fr));
    text-align: center;
    gap: 30px;
}
.stats h3 {
    font-size: 42px;
    color: #f65556;
    margin-bottom: 10px;
}

/* Contacts page */
.contacts-hero {
    background: #f4f5f6;
    padding: 60px 0;
    text-align: center;
}
.contacts-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 60px;
    margin: 60px 0;
}
.contact-info {
    flex: 1;
    background: #f9f9f9;
    padding: 40px;
    border-radius: 24px;
}
.contact-info h2 {
    margin-bottom: 30px;
}
.contact-item {
    margin-bottom: 25px;
}
.contact-item h3 {
    font-size: 18px;
    color: #f65556;
    margin-bottom: 8px;
}
.contact-form {
    flex: 1;
    background: white;
    padding: 40px;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}
.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 14px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 30px;
    font-family: inherit;
}
.contact-form button {
    background: #f65556;
    color: white;
    border: none;
    padding: 14px;
    border-radius: 40px;
    width: 100%;
    font-weight: 600;
    cursor: pointer;
}
.map-placeholder {
    height: 300px;
    background: #e0e0e0;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 40px 0;
    color: #666;
}

/* Footer */
.footer {
    background: #2c2c2c;
    color: #ccc;
    padding: 40px 0 20px;
    margin-top: 50px;
}
.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 30px;
}
.footer a {
    color: #ccc;
    text-decoration: none;
}
.footer a:hover {
    color: #f65556;
}
.copyright {
    text-align: center;
    border-top: 1px solid #444;
    padding-top: 20px;
    font-size: 14px;
}
