/*
 * Адаптивные стили.
 * Подключать после style.css.
 */



/* =========================================================
   ДОПОЛНИТЕЛЬНЫЕ АДРЕСА МАГАЗИНОВ
   ========================================================= */

.where-section__more {
    margin-top: 36px;
}

.where-section__more-inner {
    overflow: visible;
}

.where-section__shops--more {
    margin-top: 0;
}

.where-section__toggle {
    display: none;
}

/* =========================================================
   (MAX-WIDTH: 1100PX)
   ========================================================= */
@media (max-width: 1100px) {

    .hero-frame {
        display: none;
    }

    body.menu-is-open {
        overflow: hidden;
    }

    .site-header {
        z-index: 1000;
    }

    .site-header__inner {
        position: relative;
        z-index: 1002;
        width: calc(100% - 72px);
        height: 96px;
        margin-inline: auto;
        display: grid;
        grid-template-columns: 44px 82px minmax(0, 1fr);
        align-items: center;
        column-gap: 18px;
    }

    .menu-toggle {
        position: relative;
        z-index: 1003;
        width: 46px;
        height: 46px;
        padding: 0;
        display: block;
        border: 0;
        background: transparent;
        cursor: pointer;
    }

    .menu-toggle span {
        position: absolute;
        left: 50%;
        display: block;
        width: 34px;
        height: 2px;
        background: var(--accent);
        transform-origin: center;
        transition: top 0.25s ease, transform 0.25s ease;
    }

    .menu-toggle span:nth-child(1) {
        top: 16px;
        transform: translateX(-50%);
    }

    .menu-toggle span:nth-child(2) {
        top: 28px;
        transform: translateX(-50%);
    }

    .menu-toggle[aria-expanded="true"] {
        position: fixed;
        top: 18px;
        right: 18px;
    }

    .menu-toggle[aria-expanded="true"] span:nth-child(1),
    .menu-toggle[aria-expanded="true"] span:nth-child(2) {
        top: 50%;
    }

    .menu-toggle[aria-expanded="true"] span:nth-child(1) {
        background: linear-gradient( to right, var(--accent) 0, var(--accent) 50%, transparent 50%, transparent 64%, var(--accent) 64%, var(--accent) 100% );
        transform: translate(-50%, -50%) rotate(45deg);
    }

    .menu-toggle[aria-expanded="true"] span:nth-child(2) {
        background: var(--accent);
        transform: translate(-50%, -50%) rotate(-45deg);
    }

    .nav--left {
        display: none;
    }

    .brand {
        width: 82px;
        height: 82px;
        margin: 0;
        justify-self: start;
        transition: opacity 0.2s ease, visibility 0.2s ease;
    }

    .brand img {
        width: 82px;
        height: 82px;
    }

    body.menu-is-open .site-header__inner .brand {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }

    .site-header__right {
        grid-column: 3;
        margin: 0;
        justify-self: end;
        align-self: center;
    }

    .nav--right {
        display: none;
    }

    .header-contact {
        min-width: 0;
        text-align: right;
    }

    .mobile-drawer {
        position: fixed;
        inset: 0;
        z-index: 1001;
        width: 100%;
        min-height: 100dvh;
        padding: max(18px, env(safe-area-inset-top)) 24px max(36px, env(safe-area-inset-bottom));
        display: flex;
        flex-direction: column;
        align-items: center;
        overflow-x: hidden;
        overflow-y: auto;
        background: #2f2929;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity 0.25s ease, visibility 0.25s ease;
        justify-content: space-between;
    }

    .mobile-drawer.is-open {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .mobile-drawer__logo {
        width: 104px;
        height: 104px;
        display: grid;
        place-items: center;
        flex: 0 0 auto;
    }

    .mobile-drawer__logo img {
        display: block;
        width: 104px;
        height: 104px;
        object-fit: contain;
    }

    .mobile-drawer__nav {
        width: 100%;
        margin-top: clamp(72px, 10vh, 110px);
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: clamp(24px, 4vh, 34px);
    }

    .mobile-drawer__nav a {
        color: #f1ece0;
        font-family: var(--serif);
        font-size: clamp(24px, 4vw, 30px);
        font-weight: 400;
        line-height: 1.1;
        text-align: center;
        text-transform: uppercase;
        transition: color 0.2s ease;
    }

    .mobile-drawer__nav a:hover,
    .mobile-drawer__nav a:focus-visible {
        color: var(--accent);
    }

    .mobile-drawer__social {
        margin-top: clamp(50px, 8vh, 82px);
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 34px;
    }

    .mobile-social-link {
        width: 58px;
        height: 58px;
        display: grid;
        place-items: center;
        border: 1px solid var(--accent);
        background: transparent;
        transform: rotate(45deg);
        transition: background-color 0.2s ease, border-color 0.2s ease;
    }

    .mobile-social-link:hover,
    .mobile-social-link:focus-visible {
        border-color: #fff;
        background: rgba(250, 152, 121, 0.12);
    }

    .mobile-social-icon {
        display: block;
        background-color: var(--accent);
        transform: rotate(-45deg);
        mask-repeat: no-repeat;
        mask-position: center;
        mask-size: contain;
        -webkit-mask-repeat: no-repeat;
        -webkit-mask-position: center;
        -webkit-mask-size: contain;
        transition: background-color 0.2s ease;
    }

    .mobile-social-icon--vk {
        width: 29px;
        height: 17px;
        mask-image: url("../images/icon-vk.svg");
        -webkit-mask-image: url("../images/icon-vk.svg");
    }

    .mobile-social-icon--tools {
        width: 28px;
        height: 22px;
        mask-image: url("../images/icon-tools.svg");
        -webkit-mask-image: url("../images/icon-tools.svg");
    }

    .mobile-social-link:hover .mobile-social-icon,
    .mobile-social-link:focus-visible .mobile-social-icon {
        background-color: #fff;
    }

    .mobile-drawer__button {
        width: min(206px, 100%);
        min-height: 80px;
        margin-top: auto;
        padding: 18px 22px;
        border: 0;
        background: #e86d48;
        color: #fff;
        font-family: var(--serif);
        font-size: 18px;
        font-weight: 400;
        line-height: 1;
        cursor: pointer;
        transition: background-color 0.2s ease;
    }

    .mobile-drawer__button:hover,
    .mobile-drawer__button:focus-visible {
        background: #cf6545;
    }

    .menu-toggle[aria-expanded="true"] span {
        position: absolute;
        top: 50%;
        left: 50%;
        width: 48px;
        height: 3px;
        transform-origin: center;
    }

}


/* =========================================================
   (MAX-WIDTH: 1000PX)
   ========================================================= */
@media (max-width: 1000px) {

    .cooperation-section__top {
        background-size: 60%;
        background-position: right 25%;
        margin-bottom: 40px;
        padding-bottom: 20px;
        grid-template-columns: minmax(330px, 0.95fr) minmax(0, 1fr);
        gap: 42px;
    }

    .cooperation-section__info {
        min-height: 245px;
        padding-right: 165px;
        background-size: auto 92%;
    }

    .cooperation-section__benefits {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 38px 24px;
    }

    .cooperation-section__benefits
    .ingredients-section__item:nth-child(4),
    .cooperation-section__benefits
    .ingredients-section__item:nth-child(5) {
        grid-column: auto;
    }

}


/* =========================================================
   (MAX-WIDTH: 900PX)
   ========================================================= */
@media (max-width: 900px) {

    .about-section {
        padding: 54px 0 64px;
    }

    .about-section__inner {
        width: min(calc(100% - 36px), 720px);
    }

    .about-section__title {
        margin-bottom: 32px;
        font-size: 46px;
    }

    .about-section__content {
        grid-template-columns: 1fr;
        row-gap: 32px;
    }

    .about-section__media {
        width: 100%;
        aspect-ratio: 796 / 481;
    }

    .about-section__text {
        font-size: 17px;
    }

    .about-section__initial {
        width: 48px;
        height: 102px;
        margin-right: 9px;
        font-size: 108px;
    }

    .ingredients-section {
        padding: 42px 0 62px;
    }

    .ingredients-section__title {
        margin-bottom: 36px;
        font-size: 46px;
    }

    .ingredients-section__list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 42px 28px;
    }

    .ingredients-section__item:nth-child(4) {
        grid-column: 1 / 2;
    }

    .ingredients-section__item:nth-child(5) {
        grid-column: 3 / 4;
    }

    .process-section__subtitle br {
        display: none;
    }

    .process-section__list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 42px 34px;
    }

    .process-section .ingredients-section__item:nth-child(4),
    .process-section .ingredients-section__item:nth-child(5) {
        grid-column: auto;
    }

    .process-section .ingredients-section__item::after {
        display: none;
    }

    .where-section__shops {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 40px 28px;
    }

    .where-section .ingredients-section__item:nth-child(4),
    .where-section .ingredients-section__item:nth-child(5),
    .where-section .ingredients-section__item:last-child {
        grid-column: auto;
    }

    .where-section__media {
        margin-top: 40px;
    }

    .site-footer {
        padding: 56px 46px 54px;
    }

    .site-footer__inner {
        width: min(calc(100% - 20px), 720px);
        grid-template-columns: 1fr 1fr;
        gap: 44px 36px;
    }

    .site-footer__side {
        min-height: 0;
        align-items: flex-start;
    }

    .site-footer__developer {
        margin-top: 38px;
    }

}


/* =========================================================
   (MAX-WIDTH: 760PX)
   ========================================================= */
@media (max-width: 760px) {

    .hero {
        width: 100%;
        height: 100svh;
        min-height: 600px;
        max-height: none;
        background: #090705;
    }

    .hero__video {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center center;
    }

    .hero::before {
        background: linear-gradient( rgba(5, 4, 3, 0.22), rgba(5, 4, 3, 0.16) );
    }

    .hero-frame {
        inset: 4px;
    }

    .hero-frame img {
        width: 100%;
        height: 100%;
        object-fit: fill;
    }

    .site-header__inner {
        position: relative;
        width: 100%;
        height: 112px;
        margin: 0;
        display: block;
    }

    .brand {
        position: absolute;
        top: 15px;
        left: 50%;
        width: 98px;
        height: 98px;
        margin: 0;
        transform: translateX(-50%);
    }

    .brand img {
        width: 98px;
        height: 98px;
    }

    .menu-toggle {
        position: absolute;
        top: 18px;
        right: 17px;
        width: 46px;
        height: 46px;
    }

    .menu-toggle[aria-expanded="true"] {
        position: fixed;
        top: 18px;
        right: 17px;
    }

    .site-header__right {
        display: none;
    }

    .hero__content {
        position: absolute;
        inset: 0;
        z-index: 3;
        width: 100%;
        height: 100%;
        padding: clamp(180px, 31vh, 220px) 18px 18px;
        transform: none;
        text-align: center;
    }

    .hero__eyebrow {
        margin: 0 0 22px;
        color: #fff;
        font-size: 16px;
        line-height: 1;
    }

    .hero h1 {
        width: 100%;
        margin: 0 auto;
        color: #f1ece0;
        font-size: clamp(52px, 22vw, 110px);
        line-height: 0.98;
        letter-spacing: 0.02em;
        white-space: normal;
    }

    .hero h1 span {
        display: block;
    }

    .hero__meta {
        margin: 22px 0 0;
        color: #fff;
        font-size: 15px;
        line-height: 1.35;
    }

    .hero__actions {
        position: absolute;
        right: 18px;
        bottom: max(32px, calc(env(safe-area-inset-bottom) + 24px));
        left: 18px;
        display: grid;
        grid-template-columns: 1.08fr 0.92fr;
        gap: 10px;
    }


    .button {
        width: 100%;
        min-width: 0;
        min-height: 58px;
        padding: 14px 8px;
        font-size: 15px;
        line-height: 1.15;
        white-space: nowrap;
    }

    .hero__social {
        display: none;
    }

    .mobile-drawer {
        padding: max(18px, env(safe-area-inset-top)) 20px max(34px, env(safe-area-inset-bottom));
    }

    .mobile-drawer__logo {
        width: 104px;
        height: 104px;
    }

    .mobile-drawer__logo img {
        width: 104px;
        height: 104px;
    }

    .mobile-drawer__nav {
        margin-top: clamp(72px, 10vh, 100px);
        gap: clamp(24px, 4vh, 32px);
    }

    .mobile-drawer__nav a {
        font-size: clamp(24px, 6.4vw, 28px);
    }

    .mobile-drawer__social {
        margin-top: clamp(50px, 7vh, 74px);
    }

    .mobile-drawer__button {
        width: 206px;
        min-height: 80px;
        font-size: 22px;
    }

}


/* =========================================================
   (MAX-WIDTH: 760PX) AND (MAX-HEIGHT: 700PX)
   ========================================================= */
@media (max-width: 760px) and (max-height: 700px) {

    .mobile-drawer__logo,
    .mobile-drawer__logo img {
        width: 98px;
        height: 98px;
        margin: -2px 0 0 0;
        padding: 0;
    }

    .mobile-drawer__nav {
        margin-top: 36px;
        gap: 18px;
    }

    .mobile-drawer__nav a {
        font-size: 21px;
    }

    .mobile-drawer__social {
        margin-top: 34px;
    }

    .mobile-social-link {
        width: 52px;
        height: 52px;
    }

    .mobile-drawer__button {
        min-height: 64px;
        margin-top: 32px;
    }

}


/* =========================================================
   (MAX-WIDTH: 700PX)
   ========================================================= */
@media (max-width: 700px) {

    .cooperation-section {
        padding-top: 42px;
        padding-bottom: 50px;
    }

    .cooperation-section .about-section__title {
        margin-bottom: 24px;
    }

    .cooperation-section__top {
        padding-bottom: 0;
        display: flex;
        flex-direction: column;
        gap: 52px;
        margin: 0;
    }

    .cooperation-section__info {
        order: 1;
        width: 100%;
        min-height: 190px;
        padding: 0;
        background-position: right bottom;
        background-size: auto 92%;
    }

    .cooperation-section__form {
        order: 2;
        width: 100%;
    }

    .cooperation-section__text {
        margin-top: 0;
        margin-bottom: 16px;
        font-size: 16px;
        line-height: 1.32;
        text-align: center;
        font-weight: 700;
    }

    .cooperation-section__text br {
        display: none;
    }

    .cooperation-section__contacts {
        gap: 25px;
    }

    .cooperation-section__contact {
        gap: 12px;
        font-size: 22px;
    }

    .cooperation-section__diamond {
        width: 27px;
        height: 27px;
        flex-basis: 27px;
    }

    .cooperation-section__diamond::before {
        width: 13px;
        height: 13px;
    }

    .cooperation-section__fields {
        grid-template-columns: 1fr;
        gap: 7px;
    }

    .cooperation-section__message {
        grid-column: auto;
    }

    .cooperation-section__fields input {
        height: 46px;
        padding-inline: 11px;
        font-size: 16px;
    }

    .cooperation-section__fields textarea {
        min-height: 104px;
        padding: 11px;
        font-size: 16px;
    }

    .cooperation-section__submit {
        height: 62px;
        margin-top: 9px;
        font-size: 20px;
    }

    .cooperation-section__benefits {
        grid-template-columns: 1fr;
        gap: 32px;
        border-top-color: rgba(224, 116, 83, 0.2);
        padding: 16px 0;
    }

    .cooperation-section__benefits
    .ingredients-section__item,
    .cooperation-section__benefits
    .ingredients-section__item:nth-child(4),
    .cooperation-section__benefits
    .ingredients-section__item:nth-child(5),
    .cooperation-section__benefits
    .ingredients-section__item:last-child {
        grid-column: auto;
    }

    .cooperation-section__benefits
    .ingredients-section__name {
        font-size: 16px;
    }

}


/* =========================================================
   (MAX-WIDTH: 600PX)
   ========================================================= */
@media (max-width: 600px) {

    .about-section {
        padding: 44px 0 52px;
    }

    .about-section__inner {
        width: calc(100% - 28px);
    }

    .about-section__title {
        margin-bottom: 26px;
        font-size: 36px;
    }

    .about-section__content {
        row-gap: 26px;
    }

    .about-section__media {
        aspect-ratio: 796 / 481;
        order: 2;
    }

    .about-section__text {
        font-size: 16px;
        line-height: 1.38;
        order: 1;
    }

    .about-section__text p {
        margin-bottom: 16px;
        line-height: 1.2;
        color: #564743;
        font-family: var(--serif);
        font-weight: 700;
    }

    .process-section .ingredients-section__item p {
        margin: 0;
        color: #564743;
        font-family: var(--serif);
        font-size: 16px;
        text-align: left;
        line-height: 1.2;
        font-weight: 700;
    }

    .about-section__initial {
        width: 38px;
        height: 82px;
        margin: -2px 7px -3px 0;
        font-size: 88px;
        line-height: 0.93;
    }

    .ingredients-section {
        padding: 38px 0 50px;
    }

    .ingredients-section__title {
        margin-bottom: 12px;
        font-size: 36px;
    }

    .ingredients-section__list {
        grid-template-columns: repeat(1, minmax(0, 1fr));
        gap: 34px 18px;
    }

    .ingredients-section__item:nth-child(4),
    .ingredients-section__item:nth-child(5) {
        grid-column: auto;
    }

    .ingredients-section__item:last-child {
        grid-column: 1 / -1;
    }

    .ingredients-section__icon {
        width: 160px;
        height: 160px;
        margin-bottom: 8px;
    }

    .ingredients-section__name {
        font-size: 16px;
    }

    .process-section {
        padding-top: 32px;
    }

    .process-section__subtitle {
        margin-bottom: 30px;
        font-size: 16px;
        line-height: 1.2;
    }

    .process-section__list {
        grid-template-columns: 1fr;
        gap: 38px;
    }

    .process-section .ingredients-section__item:last-child {
        grid-column: auto;
    }

    .process-section__image {
        height: 180px;
        object-position: center bottom;
    }

    .process-section .ingredients-section__name,
    .process-section .ingredients-section__item p {
        text-align: center;
    }

    .where-section {
        padding-top: 38px;
    }

    .where-section .about-section__title {
        margin-bottom: 30px;
    }

    .where-section__group-title {
        font-size: 24px;
    }

    .where-section__brewery {
        margin-bottom: 40px;
    }

    .where-section__shops {
        grid-template-columns: repeat(1, minmax(0, 1fr));
        gap: 34px 14px;
        padding: 0;
    }

    .where-section .ingredients-section__icon {
        width: 89px;
        height: 90px;
    }

    .where-section__address {
        font-size: 12px;
    }

    .where-section__media {
        margin-top: 34px;
        aspect-ratio: 2 / 1;
    }


    /* =====================================================
       ГДЕ ПОПРОБОВАТЬ — ДОПОЛНИТЕЛЬНЫЕ АДРЕСА
       ===================================================== */

    .where-section__more {
        display: grid;
        grid-template-rows: 0fr;
        margin-top: 0;
        opacity: 0;
        visibility: hidden;
        transition:
                grid-template-rows 0.5s ease,
                margin-top 0.5s ease,
                opacity 0.35s ease,
                visibility 0s linear 0.5s;
    }

    .where-section__more.is-open {
        grid-template-rows: 1fr;
        margin-top: 34px;
        opacity: 1;
        visibility: visible;
        transition:
                grid-template-rows 0.5s ease,
                margin-top 0.5s ease,
                opacity 0.35s ease,
                visibility 0s linear 0s;
    }

    .where-section__more-inner {
        min-height: 0;
        overflow: hidden;
    }

    .where-section__shops--more {
        margin-top: 0;
    }

    .where-section__toggle {
        display: flex;
        width: 50vw;
        min-width: 0;
        margin: 30px auto 0;
    }

    /* =====================================================
       ФУТЕР — МОБИЛЬНАЯ ВЕРСИЯ
       ===================================================== */

    .site-footer {
        padding: 22px 18px 30px;
        overflow: hidden;
        box-shadow:
                inset 0 0 0 1px rgba(250, 152, 121, 0.34);
    }

    .site-footer__frame,
    .site-footer::before {
        display: none;
    }

    .site-footer__inner {
        position: relative;
        width: 100%;
        margin: 0;
        display: grid;
        grid-template-columns: 1fr;
        gap: 34px;
        align-items: start;
    }

    .site-footer__brand {
        width: calc(100% - 104px);
        min-width: 0;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }

    .site-footer__logo {
        width: 80px;
        height: 80px;
        margin: 0;
    }

    .site-footer__copyright {
        margin: 16px 0 6px;
        font-size: 16px;
        line-height: 1.25;
    }

    .site-footer__rights {
        margin: 0;
        font-size: 16px;
        line-height: 1.25;
    }

    .site-footer__nav {
        padding: 0;
        align-items: flex-start;
        gap: 20px;
        text-align: left;
    }

    .site-footer__nav a {
        font-size: 18px;
        line-height: 1.1;
    }

    .site-footer__contacts {
        width: 100%;
        padding: 0;
        align-items: stretch;
        gap: 25px;
        text-align: left;
    }

    .site-footer__contact {
        width: 100%;
        max-height: 36px;
        justify-content: flex-start;
        gap: 17px;
        font-size: 20px;
        line-height: 1.35;
        text-align: left;
    }

    .site-footer__diamond {
        width: 37px;
        height: 37px;
        flex: 0 0 37px;
    }

    .site-footer__diamond::before {
        width: 16px;
        height: 16px;
    }

    .site-footer__up .site-footer__diamond::before {
        width: 22px;
        height: 22px;
        left: 1px;
    }

    .site-footer__side {
        min-height: 0;
        display: block;
    }

    .site-footer__up {
        position: absolute;
        top: 12px;
        right: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
        font-size: 16px;
        line-height: 1;
        text-align: center;
    }

    .site-footer__up .site-footer__diamond {
        width: 37px;
        height: 37px;
        flex-basis: 37px;
        margin-bottom: 10px;
    }

    .site-footer__developer {
        justify-content: flex-start;
        margin: 8px 0 0;
        gap: 10px;
        color: rgba(246, 237, 227, 0.62);
        font-size: 14px;
        line-height: 1.2;
        text-align: left;
        text-decoration: underline;
        text-transform: uppercase;
        text-underline-offset: 3px;
    }

    .site-footer__developer img {
        width: 22px;
        height: 22px;
        flex: 0 0 22px;
    }

    .age-gate {
        width: calc(100% - 28px);
    }

    .age-gate__card {
        padding: 34px 20px 24px;
    }

    .age-gate .age-gate__title {
        margin-bottom: 22px;
        font-size: 30px;
    }

    .age-gate__text {
        font-size: 15px;
        line-height: 1.28;
    }

    .age-gate__button {
        min-width: 162px;
        min-height: 64px;
        margin-top: 16px;

        font-size: 17px;
    }

    .contact-modal {
        width: calc(100% - 24px);
        max-height: calc(100vh - 24px);
    }

    .contact-modal__card {
        max-height: calc(100vh - 24px);
        padding: 40px 20px 24px;
    }

    .contact-modal__title {
        font-size: 30px;
    }

    .contact-modal__description {
        margin-bottom: 22px;
        font-size: 15px;
    }

    .contact-modal input,
    .contact-modal textarea,
    .contact-modal select {
        font-size: 16px;
    }

    .contact-modal {
        width: calc(100% - 24px);
        max-width: calc(100% - 24px);
        margin: auto;
    }

    .contact-modal__card {
        width: 100%;
        max-height: calc(100dvh - 24px);
        overflow-x: hidden;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior: contain;
    }

    .result-modal {
        width: calc(100% - 24px);
    }

    .result-modal__card {
        padding: 24px 20px 28px;
    }

    .result-modal__illustration {
        width: min(230px, 78%);
        height: 142px;
        margin-bottom: 6px;
    }

    .result-modal__title {
        font-size: 28px;
    }

    .result-modal__description {
        margin-bottom: 20px;
        font-size: 14px;
    }

    .result-modal__button {
        min-width: 135px;
        min-height: 52px;
    }

}


/* =========================================================
   (MAX-WIDTH: 500PX)
   ========================================================= */
@media (max-width: 500px) {

    .hero__content {
        padding-top: clamp(180px, 30vh, 245px);
    }

    .hero h1 {
        font-size: clamp(52px, 22vw, 110px);
    }

    .hero__eyebrow {
        font-size: 22px;
    }

    .hero__meta {
        font-size: 16px;
    }

    .hero__actions {
        right: 18px;
        bottom: max(32px, calc(env(safe-area-inset-bottom) + 24px));
        left: 18px;
        gap: 9px;
    }

    .button {
        min-height: 58px;
        font-size: 18px;
    }

    .mobile-drawer__nav a {
        font-size: 24px;
    }

    .mobile-drawer__button {
        width: 206px;
    }

}


/* =========================================================
   (MAX-WIDTH: 420PX)
   ========================================================= */
@media (max-width: 420px) {

    .where-section__shops {
        grid-template-columns: 1fr;
    }

    .where-section__address {
        font-size: 16px;
    }

}


/* =========================================================
   (MAX-WIDTH: 360PX)
   ========================================================= */
@media (max-width: 360px) {

    .hero__content {
        padding-top: 180px;
    }

    .hero h1 {
        font-size: 82px;
    }

    .hero__actions {
        right: 14px;
        left: 14px;
    }

    .button {
        font-size: 13px;
    }

    .mobile-drawer {
        padding-right: 16px;
        padding-left: 16px;
    }

    .mobile-drawer__nav {
        margin-top: 62px;
        gap: 22px;
    }

    .mobile-drawer__nav a {
        font-size: 22px;
    }

    .mobile-drawer__social {
        margin-top: 44px;
    }

    .site-footer {
        padding-right: 16px;
        padding-left: 16px;
    }

    .site-footer__inner {
        gap: 30px;
    }

    .site-footer__brand {
        width: calc(100% - 96px);
    }

    .site-footer__nav a {
        font-size: 17px;
    }

    .site-footer__contact {
        gap: 14px;
        font-size: 15px;
    }

    .site-footer__diamond {
        width: 46px;
        height: 46px;
        flex-basis: 46px;
    }

    .site-footer__developer {
        font-size: 12px;
    }

    .about-section__inner {
        width: calc(100% - 22px);
    }

    .about-section__title {
        font-size: 32px;
    }

    .about-section__text {
        font-size: 14px;
    }

    .about-section__initial {
        width: 34px;
        height: 74px;
        font-size: 78px;
    }

}


/* =========================================================
   (PREFERS-REDUCED-MOTION: REDUCE)
   ========================================================= */
@media (prefers-reduced-motion: reduce) {

    .menu-toggle span,
    .mobile-drawer,
    .mobile-drawer__nav a,
    .mobile-social-link,
    .mobile-social-icon,
    .mobile-drawer__button,
    .where-section__more {
        transition: none;
    }

}

/* =========================================================
   СТРАНИЦА 404 — МОБИЛЬНАЯ ВЕРСИЯ
   ========================================================= */

@media (max-width: 600px) {

    .error-404 {
        padding: 18px 16px 26px;
    }

    .error-404__logo {
        width: 54px;
        height: 54px;
    }

    .error-404__content {
        width: 100%;
        margin-top: -6px;
    }

    .error-404__illustration {
        width: min(330px, 94vw);
        margin-bottom: 10px;
    }

    .error-404__title {
        margin: 0 0 24px;
        font-size: clamp(24px, 8vw, 32px);
    }

    .error-404__button {
        min-width: 126px;
        min-height: 46px;
        padding: 12px 18px;
        font-size: 14px;
    }
}

@media (max-width: 380px) {

    .error-404__logo {
        width: 48px;
        height: 48px;
    }

    .error-404__content {
        margin-top: 0;
    }

    .error-404__illustration {
        width: min(296px, 96vw);
    }

    .error-404__title {
        font-size: 23px;
    }
}

@media (max-height: 560px) and (orientation: landscape) {

    .error-404 {
        grid-template-columns: 78px 1fr;
        grid-template-rows: 1fr;
        align-items: center;
        gap: 24px;
        padding-block: 18px;
    }

    .error-404__logo {
        align-self: start;
    }

    .error-404__content {
        margin: 0;
    }

    .error-404__illustration {
        width: min(370px, 52vw);
        margin-bottom: 4px;
    }

    .error-404__title {
        margin-bottom: 16px;
        font-size: 28px;
    }

    .error-404__button {
        min-height: 44px;
    }
}