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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}


@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');


.header {
    background-color: #fff;
    border-bottom: 1px solid #e5e5e5;
}

.header__top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.header__logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c5530;
    text-decoration: none;
    transition: all 0.3s ease;
}

.header__logo:hover {
    color: #1e3a22;
    transform: scale(1.05);
}

.header__actions {
    display: flex;
    gap: 1rem;
}

.header__button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.header__button:hover {
    background-color: #f5f5f5;
    transform: translateY(-2px);
}

.header__button:focus {
    outline: 2px solid #2c5530;
    outline-offset: 2px;
}

.header__button img {
    width: 20px;
    height: 20px;
}

.nav {
    background-color: #f8f9fa;
}

.nav__list {
    display: flex;
    justify-content: center;
    gap: 2rem;
    list-style: none;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.nav__item {
    position: relative;
}

.nav__link {
    text-decoration: none;
    color: #666;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    display: block;
}

.nav__link:hover {
    color: #2c5530;
    background-color: #e8f5e8;
    transform: translateY(-1px);
}

.nav__link:focus {
    outline: 2px solid #2c5530;
    outline-offset: 2px;
}

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


.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
    min-height: 60vh;
}

.hero__content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.hero__title {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    color: #2c5530;
}

.hero__text {
    font-size: 1.125rem;
    color: #666;
    line-height: 1.7;
}

.hero__image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.hero__image:hover {
    transform: scale(1.02);
}

.button {
    display: inline-block;
    background-color: #2c5530;
    color: white;
    text-decoration: none;
    padding: 0.875rem 2rem;
    border-radius: 6px;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.button:hover {
    background-color: #1e3a22;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(44, 85, 48, 0.3);
}

.button:focus {
    outline: 2px solid #2c5530;
    outline-offset: 2px;
}

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

.button--secondary {
    background-color: transparent;
    color: #2c5530;
    border: 2px solid #2c5530;
}

.button--secondary:hover {
    background-color: #2c5530;
    color: white;
}

.advantages {
    background-color: #f8f9fa;
    padding: 4rem 2rem;
}

.advantages__title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c5530;
    margin-bottom: 3rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-grid__item {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-grid__item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.feature-grid__item img {
    width: 48px;
    height: 48px;
    margin-bottom: 1.5rem;
}

.feature-grid__title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #2c5530;
    margin-bottom: 1rem;
}

.feature-grid__text {
    color: #666;
    line-height: 1.6;
}

.products {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.products__title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c5530;
    text-align: center;
    margin-bottom: 3rem;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.product-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.product-card__image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-card__image {
    transform: scale(1.05);
}

.product-card__content {
    padding: 1.5rem;
}

.product-card__title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #2c5530;
    margin-bottom: 0.5rem;
}

.product-card__price {
    font-size: 1.25rem;
    font-weight: 700;
    color: #2c5530;
}

.brand-story {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
    background-color: #f8f9fa;
}

.brand-story__content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.brand-story__title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c5530;
    line-height: 1.2;
}

.brand-story__text {
    font-size: 1.125rem;
    color: #666;
    line-height: 1.7;
}

.brand-story__image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.newsletter {
    background-color: #2c5530;
    color: white;
    padding: 4rem 2rem;
    text-align: center;
}

.newsletter__title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.newsletter__text {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.signup-form {
    display: flex;
    justify-content: center;
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto;
}

.signup-form__input {
    flex: 1;
    padding: 0.875rem 1rem;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.signup-form__input:focus {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

.signup-form__input::placeholder {
    color: #999;
}

.signup-form__button {
    background-color: #fff;
    color: #2c5530;
    padding: 0.875rem 2rem;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.signup-form__button:hover {
    background-color: #f5f5f5;
    transform: translateY(-2px);
}

.signup-form__button:focus {
    outline: 2px solid #fff;
    outline-offset: 2px;
}


.footer {
    background-color: #333;
    color: white;
    padding: 3rem 2rem 1rem;
}

.footer__links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto 2rem;
}

.footer__group h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #2c5530;
}

.footer__list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer__link {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer__link:hover {
    color: #2c5530;
}

.footer__link:focus {
    outline: 2px solid #2c5530;
    outline-offset: 2px;
}

.footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid #555;
}

.footer__copyright {
    color: #999;
}

.footer__social-links {
    display: flex;
    gap: 1rem;
}

.footer__social-link {
    display: block;
    padding: 0.5rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.footer__social-link:hover {
    background-color: #444;
    transform: translateY(-2px);
}

.footer__social-link img {
    width: 20px;
    height: 20px;
    filter: brightness(0.8);
    transition: filter 0.3s ease;
}

.footer__social-link:hover img {
    filter: brightness(1.2);
}


.hamburger-nav {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1001;
}

.hamburger-nav__toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1002;
}

.hamburger-nav__line {
    width: 100%;
    height: 3px;
    background-color: #2c5530;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger-nav__toggle:hover .hamburger-nav__line {
    background-color: #1e3a22;
}

.hamburger-nav__menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 250px;
    height: 100vh;
    background: white;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
    padding: 80px 20px 20px;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.hamburger-nav__menu.active {
    right: 0;
}

.hamburger-nav__link {
    text-decoration: none;
    color: #333;
    font-size: 1.125rem;
    padding: 1rem;
    border-radius: 6px;
    transition: all 0.3s ease;
    display: block;
}

.hamburger-nav__link:hover {
    color: #2c5530;
    background-color: #e8f5e8;
    transform: translateX(5px);
}

.hamburger-nav__toggle.active .hamburger-nav__line:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger-nav__toggle.active .hamburger-nav__line:nth-child(2) {
    opacity: 0;
}

.hamburger-nav__toggle.active .hamburger-nav__line:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

@media (max-width: 768px) {
    .hamburger-nav {
        top: 15px;
        right: 15px;
    }
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.text-center {
    text-align: center;
}

.mb-2 {
    margin-bottom: 1rem;
}

.mb-4 {
    margin-bottom: 2rem;
}


@media (max-width: 768px) {
    .hero {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero__title {
        font-size: 2rem;
    }
    
    .brand-story {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .brand-story__title {
        font-size: 2rem;
    }
    
    .nav__list {
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .signup-form {
        flex-direction: column;
    }
    
    .footer__bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .anchor-nav {
        position: static;
        margin-bottom: 2rem;
        box-shadow: none;
        background: transparent;
    }
}

@media (max-width: 480px) {
    .header__top {
        padding: 1rem;
    }
    
    .hero,
    .products,
    .advantages,
    .brand-story {
        padding: 2rem 1rem;
    }
    
    .hero__title {
        font-size: 1.75rem;
    }
    
    .brand-story__title {
        font-size: 1.75rem;
    }
    
    .feature-grid,
    .product-grid {
        grid-template-columns: 1fr;
    }
}