/* Reset и основные стили */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
    color: #222;
}

h2 {
    font-size: 2rem;
    color: #222;
}

h3 {
    font-size: 1.25rem;
    color: #333;
}

h4 {
    font-size: 1rem;
    color: #333;
    margin-bottom: 0.5rem;
}

p {
    margin-bottom: 0.75rem;
}

a {
    color: #530086;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #380070;
}

/* Container */
.container {
    width: 100%;
    max-width: 1270px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
    flex-wrap: wrap;
    gap: 2rem;
}

.logo {
    flex-shrink: 0;
}

.logo__img {
    max-width: 200px;
    height: auto;
    display: block;
}

.nav {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
    justify-content: center;
}

.nav__link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.nav__link--home {
    color: #666;
}

.nav__link--home:hover {
    color: #530086;
    background-color: #f5f5f5;
}

.nav__link svg {
    width: 16px;
    height: 16px;
}

.contact {
    flex-shrink: 0;
}

.contact__phone {
    font-weight: 600;
    color: #333;
    font-size: 1.125rem;
}

.contact__phone:hover {
    color: #530086;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #f5f5f5 0%, #fff 100%);
    padding: 3rem 0;
    text-align: center;
}

.hero__title {
    margin-bottom: 2rem;
}

.hero__logo {
    max-width: 400px;
    height: auto;
    margin: 0 auto;
}

/* Catalog Section */
.catalog {
    padding: 4rem 0;
}

.catalog__title {
    text-align: center;
    margin-bottom: 3rem;
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

/* Product Card */
.product-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.product-card__image {
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #f5f5f5;
}

.product-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-card__image img {
    transform: scale(1.05);
}

.product-card__content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-card__title {
    color: #333;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.product-card__specs {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #f1f1f1;
}

.product-card__specs p {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.product-card__composition {
    flex: 1;
}

.product-card__composition h4 {
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.product-card__composition p {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.product-card__composition ul {
    margin-left: 1rem;
    margin-bottom: 0.75rem;
}

.product-card__composition li {
    list-style: disc;
    margin-bottom: 0.25rem;
    font-size: 0.95rem;
}

/* Button */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 2rem;
    border-radius: 3px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    font-size: 1rem;
}

.btn--primary {
    background-color: #530086;
    color: #fff;
}

.btn--primary:hover {
    background-color: #571987;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(83, 0, 134, 0.3);
}

.btn--primary:active {
    background-color: #380070;
    transform: translateY(0);
}

/* Footer */
.footer {
    background: #f8f9fa;
    padding: 3rem 0;
    text-align: center;
    margin-top: 4rem;
    border-top: 1px solid #e9ecef;
}

/* Responsive Design */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .header__inner {
        gap: 1rem;
        padding: 1rem 0;
    }

    .logo__img {
        max-width: 150px;
    }

    .nav {
        width: 100%;
        flex-basis: 100%;
        justify-content: flex-start;
    }

    .contact {
        width: 100%;
        text-align: left;
    }

    .hero {
        padding: 2rem 0;
    }

    .hero__title {
        font-size: 1.75rem;
    }

    .hero__logo {
        max-width: 300px;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
    }

    .product-card__content {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.5rem;
    }

    h2 {
        font-size: 1.25rem;
    }

    .header__inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .logo__img {
        max-width: 120px;
    }

    .nav {
        width: 100%;
        justify-content: flex-start;
    }

    .contact__phone {
        font-size: 1rem;
    }

    .products-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .hero {
        padding: 1.5rem 0;
    }

    .hero__title {
        font-size: 1.25rem;
        margin-bottom: 1rem;
    }

    .catalog {
        padding: 2rem 0;
    }

    .footer {
        padding: 2rem 0;
    }
}
