:root {
    --primary: #a47a06;
    --secondary: #f0bf4a;
    --success: #808080;
}


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

body {
    font-family: Roboto, 'Helvetica Neue', sans-serif;
    background: #F5F5F5;
    color: #111;
    line-height: 1.5;
}


.container {
    width: 100%;
    max-width: 1020px;
    padding-left: 20px;
    padding-right: 20px;
    position: relative;
    margin: 0 auto;
    overflow: hidden;
    transition: all 0.2s;
}


.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.75rem;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 60px;
    border: none;
    cursor: pointer;
    transition: all 0.25s ease;
    background-color: var(--primary);
    color: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    text-decoration: none;
    letter-spacing: 0.3px;
}
.button:hover {
    background-color: var(--secondary);
}

.button:active {
    transform: translateY(1px);
}



/* header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding-top: 20px;
    padding-bottom: 20px;
    background-color: #fff;
    border-bottom: 3px solid var(--primary);
    z-index: 40;
}
.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.logo {
    flex: 0 0 auto;
    display: block;
    width: 210px;
}
.logo img {
    display: block;
    width: 100%;
    height: auto;
}

.header-menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.75rem 1.25rem;
    flex: 1 1 auto;
    min-width: 0;
}
.header-menu a {
    color: var(--primary);
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.25;
    text-align: center;
    text-decoration: none;
    overflow-wrap: anywhere;
    transition: color 0.2s;
}
.header-menu a:hover {
    color: var(--success);
    text-decoration: underline;
}

.menu-button {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0.65rem 1.1rem;
    border: 1px solid var(--primary);
    border-radius: 60px;
    background: #fff;
    color: var(--primary);
    cursor: pointer;
    font: inherit;
    font-weight: 600;
    transition: all 0.25s ease;
}
.menu-button:hover {
    background: var(--primary);
    color: #fff;
}
.menu-button__icon,
.menu-button__icon::before,
.menu-button__icon::after {
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
}
.menu-button__icon {
    position: relative;
}
.menu-button__icon::before,
.menu-button__icon::after {
    content: '';
    position: absolute;
    left: 0;
}
.menu-button__icon::before {
    top: -6px;
}
.menu-button__icon::after {
    top: 6px;
}

.menu-modal {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: none;
}
.menu-modal.is-open {
    display: block;
}
.menu-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
}
.menu-modal__panel {
    position: absolute;
    top: 50%;
    left: 50%;
    width: min(420px, calc(100% - 32px));
    max-height: calc(100vh - 48px);
    overflow-y: auto;
    transform: translate(-50%, -50%);
    padding: 22px;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
}
.menu-modal__head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 18px;
}
.menu-modal__title {
    color: var(--primary);
    font-size: 1.35rem;
    font-weight: 700;
}
.menu-modal__close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--secondary);
    border-radius: 50%;
    background: #fff;
    color: var(--primary);
    cursor: pointer;
    font-size: 28px;
    line-height: 1;
    transition: all 0.25s ease;
}
.menu-modal__close:hover {
    background: var(--primary);
    color: #fff;
}
.menu-modal__nav {
    display: grid;
    gap: 10px;
}
.menu-modal__nav a {
    display: block;
    padding: 13px 14px;
    border: 1px solid rgba(164, 122, 6, 0.2);
    border-radius: 8px;
    color: var(--primary);
    font-weight: 600;
    line-height: 1.35;
    text-decoration: none;
    overflow-wrap: anywhere;
    transition: all 0.2s ease;
}
.menu-modal__nav a:hover {
    border-color: var(--primary);
    background: #f8f3e4;
}
body.menu-modal-open {
    overflow: hidden;
}






.content {
    margin-top: 6rem;
    padding: 1rem 2rem 4rem;
    color: #010101;
}
.content .container {
    padding-top: 16px;
    padding-bottom: 20px;
    background-color: #fff;
    backdrop-filter: blur(1px);
    border-radius: 0;
    box-shadow: 0 20px 35px -12px rgba(0, 20, 50, 0.25);
}
.content h1 {
    font-size: 2.5rem;
    margin: 0 0 1.5rem;
    color: var(--primary);
    font-weight: 600;
    text-align: center;
}
.content h2 {
    font-size: 1.8rem;
    margin: 1.8rem 0 1rem 0;
    color: var(--primary);
    font-weight: 600;
}
.content h3 {
    font-size: 1.4rem;
    margin: 1.2rem 0 0.8rem;
    color: var(--primary);
}
.content p {
    margin-bottom: 1rem;
}
.content .table-wrapper {
    overflow-x: auto;
    margin: 1.5rem 0 24px;
    border-radius: 8px;
    border: 1px solid var(--secondary);
    background: white;
}
.content table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
    min-width: 500px;
}
.content th {
    background-color: var(--primary);
    color: white;
    padding: 12px 16px;
    text-align: left;
    font-weight: 600;
}
.content th p {
    margin-bottom: 0;
}
.content td {
    padding: 10px 16px;
    border-bottom: 1px solid var(--secondary);
    color: #010101;
}
.content tr:last-child td {
    border-bottom: none;
}
.content tr:hover td {
    background-color: #F5F5F5;
}
.content img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    margin: 1rem 0 1.5rem;
}
.content ul,
.content ol {
    margin: 1rem 0 1rem 1.8rem;
}
.content li {
    margin: 0.4rem 0;
}
.content ul li::marker {
    color: var(--secondary);
}

.center-wrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    padding-top: 16px;
    padding-bottom: 24px;
}






.author {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    background: #f0f9ff;
    padding: 12px;
    border-radius: 5px;
    margin-bottom: 25px;
}
.author__photo {
    display: block;
    width: 80px;
    height: 80px;
    border-radius: 5px;
    overflow: hidden;
}
.author__photo img {
    display: block;
    width: 100%;
    height: 100%;
    margin: 0;
    object-fit: cover;
}
.author__info {
    flex: 1;
}
.author__name {
    margin-bottom: 8px;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.2;
}
.author__text {
    font-size: 14px;
    font-style: italic;
}

@media (max-width: 480px) {
    .author__photo {
        margin: 0 auto;
    }
    .author__info {
        flex: none;
        width: 100%;
        text-align: center;
    }
}





.prod-list {
    padding-top: 20px;
    padding-bottom: 40px;
}
.prod-item {
    --first: var(--primary);
    --second: var(--secondary);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 10px;
    border-radius: 16px;
    margin-bottom: 8px;
    background: rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(0, 0, 0, 0.04);
    position: relative;
    transition: all 0.25s ease;
}
.prod-item:hover {
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 0 16px rgba(0, 0, 0, 0.1);
}
.prod-item:first-child {
    border-color: var(--second);
}
.prod-item__bage {
    position: absolute;
    top: -8px;
    left: -8px;
    padding: 2px 12px;
    background: var(--second);
    border-radius: 4px;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
}
.prod-item__thumb {
    width: 120px;
    height: 120px;
}
.prod-item__thumb img {
    display: block;
    width: 100%;
    height: 100%;
    margin: 0;
    object-fit: cover;
}
.prod-item__info {
    flex: 1;
    text-align: center;
}
.prod-item__name {
    margin-bottom: 5px;
    font-size: 22px;
    font-weight: bold;
    line-height: 1.2;
}
.prod-item__stars {
    padding-top: 4px;
}
.prod-item__stars-head {
    width: 100%;
    color: rgba(0, 0, 0 , .5);
    font-size: 15px;
}
.prod-item__stars-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 4px;
}
.prod-item__stars-list img {
    display: block;
    width: 12px;
    height: 12px;
    margin: 0;
    object-fit: contain;
}
.prod-item__rating {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    padding: 10px;
    background: green;
    border-radius: 8px;
    color: #fff;
    font-size: 20px;
    font-weight: bold;
    line-height: 1.2;
    text-align: center;;
}
.prod-item__read-more {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    min-height: 56px;
    padding: 8px 20px;
    border-radius: 28px;
    background: var(--first);
    color: #fff;
    font-size: 18px;
    line-height: 1.3;
    text-align: center;
    text-decoration: none;
    transition: all 0.25s ease;
}
.prod-item__read-more::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.prod-item__read-more:hover {
    background: var(--second);
}


@media (max-width: 720px) {

    .prod-item {
        display: block;
    }
    .prod-item__thumb {
        margin: 0 auto 20px;
    }
    .prod-item__info {
        width: 100%;
        margin-bottom: 20px;
    }
    .prod-item__rating {
        width: 120px;
        margin: 0 auto 16px;
    }
    .prod-item__read-more {
        width: 220px;
        margin: 0 auto;
    }

}





.footer {
    background-color: #fff;
    color: #eef5ff;
}
.footer-top {
    padding: 1.2rem 0;
}
.footer-top .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;

}
.footer-logo {
    display: block;
    width: 210px;
}
.footer-logo img {
    display: block;
    width: 100%;
    height: auto;
}
.footer-menu {
    display: flex;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}
.footer-menu a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.2s;
    font-weight: 500;
}
.footer-menu a:hover {
    color: var(--success);
    text-decoration: underline;
}

.middle-block {
    padding: 1.8rem 0;
    background-color: #010101;
}
.middle-block .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
}
.attention {
    width: 100%;
    background: var(--success);
    padding: 1rem;
    border-radius: 10px;
    display: inline-block;
    font-size: 15px;
    text-align: center;
}
.control-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 1.8rem;
    width: 100%;
}
.control-logos img {
    max-height: 48px;
    width: auto;
    margin: 0;
    filter: brightness(0) invert(1);
    opacity: 0.9;
    background: transparent;
    box-shadow: none;
    border-radius: 8px;
}

.copyright {
    width: 100%;
    border-top: 1px solid var(--secondary);
    text-align: center;
    padding: 1.3rem 0;
    font-size: 0.8rem;
    background: #010101;
    color: #fff;
}

@media (max-width: 900px) {
    .header .container {
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;
    }
    .header-menu {
        display: none;
    }
    .menu-button {
        display: inline-flex;
    }
    .footer-menu {
        justify-content: center;
    }
}

@media (max-width: 720px) {
    .header, .footer-top, .middle-block {
        flex-direction: column;
        text-align: center;
    }

    .hero .container{
        padding-top: 2rem;
        padding-bottom: 3rem;
    }
    .hero__info p {
        padding-right: 3rem;
    }

    .content {
        padding: 1rem;
    }
    .content h1 {
        border-left: none;
        padding-left: 0;
        font-size: 1.7rem;
        line-height: 1.3;
        text-align: center;
    }
    .content h2 {
        font-size: 1.5rem;
        margin: 1.2rem 0 1rem 0;
    }
    .button {
        padding: 0.6rem 1.3rem;
    }
    .warning-text {
        text-align: center;
    }
}

@media (max-width: 560px) {
    .content {
        margin-top: 10rem;
    }
}



@media (max-width: 450px) {
    .hero__info h1 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    .hero__info p {
        padding-right: 0;
    }
}
