/* ==========================================================================
   Лаванда — магазин косметики и парфюмерии
   Основные стили проекта
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Переменные
   -------------------------------------------------------------------------- */
:root {
    --c-plum: #5a396d;          /* заголовки */
    --c-plum-deep: #2d1248;     /* тёмный градиент */
    --c-violet: #6b3fa0;        /* светлый градиент */
    --c-header: #9885a6;        /* фон шапки */
    --c-lav: #ad9bc4;           /* блок преимуществ, форма, футер */
    --c-lav-soft: #c3a1c8;      /* бейдж «новинка» */
    --c-border: #d5b7de;        /* рамки карточек */
    --c-line: #e8edf5;          /* разделители логотипов партнёров */
    --c-text: #5e5e5e;          /* основной текст */
    --c-accent: #b67edc;        /* текст кнопки */

    --ff-title: 'Prata', 'Times New Roman', serif;
    --ff-text: 'Manrope', 'Helvetica Neue', Arial, sans-serif;

    --container: 1440px;
    --gutter: 70px;
    --radius-btn: 24px;

    --header-h: 90px;           /* высота прилипающей шапки */
    --anchor-gap: 20px;         /* воздух над секцией при переходе по якорю */
}

/* --------------------------------------------------------------------------
   2. Сброс и база
   -------------------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    /* якорь останавливается не под шапкой, а с отступом от неё */
    scroll-padding-top: calc(var(--header-h) + var(--anchor-gap));
}

body {
    margin: 0;
    font-family: var(--ff-text);
    font-size: 16px;
    line-height: 1.5;
    color: var(--c-text);
    background: #fff;
    -webkit-font-smoothing: antialiased;
    /* hidden делает body скролл-контейнером и ломает переход по якорям,
       clip прячет горизонтальное переполнение, не создавая новый скролл */
    overflow-x: hidden;
    overflow-x: clip;
}

body.is-locked { overflow: hidden; }

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; }

button {
    font: inherit;
    color: inherit;
    background: none;
    border: 0;
    padding: 0;
    cursor: pointer;
}

h1, h2, h3, h4, p, figure { margin: 0; }

ul { margin: 0; padding: 0; list-style: none; }

input, textarea { font: inherit; }

:focus-visible { outline: 2px solid var(--c-accent); outline-offset: 3px; }

/* --------------------------------------------------------------------------
   3. Контейнер и служебные классы
   -------------------------------------------------------------------------- */
.l-container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--gutter);
}

.l-inner { position: relative; }

/* Заголовок секции по центру с линиями по бокам */
.s-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    font-family: var(--ff-title);
    font-size: 30px;
    line-height: 60px;
    color: var(--c-plum);
    text-align: center;
    white-space: nowrap;
}

.s-title::before,
.s-title::after {
    content: '';
    flex: 0 0 100px;
    height: 1px;
    background: var(--c-plum);
}

/* Заголовок секции слева с длинной линией */
.s-title-left {
    display: flex;
    align-items: center;
    gap: 20px;
    font-family: var(--ff-title);
    font-size: 30px;
    line-height: 60px;
    color: var(--c-plum);
    white-space: nowrap;
}

.s-title-left::after {
    content: '';
    flex: 1 1 auto;
    height: 1px;
    background: var(--c-plum);
}

/* --------------------------------------------------------------------------
   4. Шапка
   -------------------------------------------------------------------------- */
.header {
    position: sticky;
    top: 0;
    z-index: 60;
    background: var(--c-header);
    transition: box-shadow .3s ease;
}

.header.is-stuck { box-shadow: 0 6px 22px rgba(45, 18, 72, .22); }

.header__inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 62px;
    height: 90px;
}

.header__nav {
    display: flex;
    align-items: center;
    gap: 62px;
}

.header__link {
    position: relative;
    font-family: var(--ff-title);
    font-size: 16px;
    line-height: 22px;
    color: #fff;
    white-space: nowrap;
    transition: opacity .25s ease;
}

.header__link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 1px;
    background: #fff;
    transition: width .3s ease;
}

.header__link:hover::after { width: 100%; }

.header__logo {
    flex: 0 0 auto;
    margin: 0 88px;
    width: 98px;
    transition: transform .3s ease;
}

.header__logo img { width: 100%; }

.header__logo:hover { transform: scale(1.06); }

.header__burger {
    display: none;
    width: 44px;
    height: 44px;
    position: relative;
    flex: 0 0 auto;
}

.header__burger span,
.header__burger::before,
.header__burger::after {
    content: '';
    position: absolute;
    left: 11px;
    width: 22px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: transform .3s ease, opacity .25s ease;
}

.header__burger::before { top: 15px; }
.header__burger span { top: 21px; }
.header__burger::after { top: 27px; }

.header__burger.is-open::before { transform: translateY(6px) rotate(45deg); }
.header__burger.is-open span { opacity: 0; }
.header__burger.is-open::after { transform: translateY(-6px) rotate(-45deg); }

/* Полноэкранное мобильное меню — выезжает справа налево.
   z-index ниже шапки (60), поэтому бургер остаётся сверху и работает как «крестик». */
.menu {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 55;
    background: linear-gradient(180deg, var(--c-header) 0%, #6f5b80 100%);
    transform: translateX(100%);
    visibility: hidden;
    transition: transform .4s cubic-bezier(.4, 0, .2, 1), visibility .4s;
}

.menu.is-open {
    transform: translateX(0);
    visibility: visible;
}

/* Баннер cookie (z-index 90) выше меню — пока меню открыто, убираем его с дороги */
body.is-menu-open .cookie { display: none; }

.menu__scroll {
    height: 100%;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    padding-top: var(--header-h);
}

.menu__inner { padding: 16px var(--gutter) 44px; }

.menu__nav { display: flex; flex-direction: column; }

.menu__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 0;
    font-family: var(--ff-title);
    font-size: 20px;
    line-height: 26px;
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, .22);
    transition: padding-left .25s ease;
}

.menu__link::after {
    content: '';
    flex: 0 0 auto;
    width: 8px;
    height: 8px;
    border-top: 1px solid currentColor;
    border-right: 1px solid currentColor;
    transform: rotate(45deg);
    opacity: .7;
}

.menu__link:hover { padding-left: 6px; }

.menu__section { margin-top: 30px; }

.menu__title {
    font-family: var(--ff-title);
    font-size: 12px;
    line-height: 16px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .7);
    margin-bottom: 14px;
}

.menu__links li + li { margin-top: 12px; }

.menu__links a {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    line-height: 22px;
    color: rgba(255, 255, 255, .92);
    transition: color .25s ease, transform .25s ease;
}

.menu__links a:hover { color: #fff; transform: translateX(3px); }

.menu__links img { width: 15px; height: 15px; flex: 0 0 auto; }

.menu__social { display: flex; gap: 10px; }

.menu__social a {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(255, 255, 255, .15);
    border: 1px solid rgba(255, 255, 255, .25);
    transition: background .25s ease, transform .25s ease;
}

.menu__social a:hover { background: rgba(255, 255, 255, .32); transform: translateY(-3px); }

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

.menu__shops li {
    display: flex;
    gap: 10px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .16);
}

.menu__shops li:first-child { border-top: 1px solid rgba(255, 255, 255, .16); }

.menu__pin { width: 15px; height: 15px; margin-top: 4px; flex: 0 0 auto; }

.menu__shop-name {
    font-weight: 600;
    font-size: 15px;
    line-height: 21px;
    color: #fff;
}

.menu__shop-sub {
    font-size: 12px;
    line-height: 17px;
    color: rgba(255, 255, 255, .65);
    margin-top: 2px;
}

.menu__shop-time {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    line-height: 17px;
    color: rgba(255, 255, 255, .8);
    margin-top: 6px;
}

.menu__shop-time img { width: 12px; height: 12px; flex: 0 0 auto; }

/* --------------------------------------------------------------------------
   5. Первый экран
   -------------------------------------------------------------------------- */
.hero {
    position: relative;
    min-height: 555px;
    display: flex;
    align-items: center;
    background-color: #ece2f3;
    overflow: hidden;
}

/* Слайдер фоновых изображений. Слайды лежат под контентом и сменяют друг
   друга кроссфейдом — переключение в main.js, блок 3.1. */
.hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero__bg-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.1s ease;
}

.hero__bg-slide.is-active { opacity: 1; }

.hero__bg-slide picture { display: block; width: 100%; height: 100%; }

.hero__bg-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* --------------------------------------------------------------------------
   6. Партнёры
   -------------------------------------------------------------------------- */
.partners { padding: 50px 0 0; }

.partners__list {
    margin-top: 30px;
    overflow: hidden; /* «окно» для конвейера на мобиле; на десктопе ни на что не влияет */
}

.partners__track {
    display: flex;
    flex-wrap: wrap;
}

.partners__item {
    flex: 1 1 0;
    min-width: 180px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    border-right: 1px solid var(--c-line);
    opacity: .75;
    transition: opacity .3s ease, transform .3s ease;
}

/* последний из 6 «настоящих» логотипов — без правой границы */
.partners__item:nth-child(6) { border-right: 0; }

.partners__item:hover { opacity: 1; transform: translateY(-3px); }

/* дубликаты для бесшовной петли конвейера — видны только на мобиле */
.partners__item--clone { display: none; }

.partners__item img {
    width: 100%;
    max-width: 150px;
    max-height: 64px;
    height: auto;
    object-fit: contain;
}

/* Ширины подобраны так, чтобы логотипы выглядели одинаково «весомо» */
.partners__item:nth-child(1) img { max-width: 100px; }
.partners__item:nth-child(2) img { max-width: 128px; }
.partners__item:nth-child(3) img { max-width: 160px; }
.partners__item:nth-child(4) img { max-width: 154px; }
.partners__item:nth-child(5) img { max-width: 141px; }
.partners__item:nth-child(6) img { max-width: 150px; }
.partners__item:nth-child(7) img { max-width: 100px; }
.partners__item:nth-child(8) img { max-width: 128px; }
.partners__item:nth-child(9) img { max-width: 160px; }
.partners__item:nth-child(10) img { max-width: 154px; }
.partners__item:nth-child(11) img { max-width: 141px; }
.partners__item:nth-child(12) img { max-width: 150px; }

/* Бесконечный конвейер: трек продублирован 2 раза, сдвиг ровно на 50% = на один комплект логотипов */
@keyframes partners-marquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* --------------------------------------------------------------------------
   7. Адреса и галерея
   -------------------------------------------------------------------------- */
.addresses { padding: 50px 0 0; }

.addr-grid {
    display: grid;
    grid-template-columns: 474fr 474fr 492fr;
    grid-template-rows: repeat(3, minmax(0, 1fr));
    gap: 5px;
    aspect-ratio: 1440 / 655;
}

.addr-grid__cell {
    position: relative;
    overflow: hidden;
    min-height: 0;
}

.addr-grid__cell img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s ease;
}

.addr-grid__cell--photo { cursor: zoom-in; }

.addr-grid__cell--photo:hover img { transform: scale(1.05); }

.addr-grid__caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 10px 12px;
    background: var(--c-header);
    color: #fff;
    font-size: 13px;
    line-height: 18px;
    text-align: center;
}

.addr-grid__cell--bag  { grid-column: 1; grid-row: 1; }
.addr-grid__cell--duo  { grid-column: 1; grid-row: 2 / 4; }
.addr-grid__cell--team { grid-column: 2; grid-row: 1 / 3; }
.addr-grid__cell--desk { grid-column: 2; grid-row: 3; }
.addr-grid__cell--text { grid-column: 3; grid-row: 1; }
.addr-grid__cell--cert { grid-column: 3; grid-row: 2 / 4; }

.addr-text { padding: 25px 30px 25px 25px; }

.addr-text__title {
    font-family: var(--ff-title);
    font-size: 18px;
    line-height: 24px;
    color: var(--c-plum);
    margin-bottom: 14px;
}

.addr-text__desc {
    font-size: 13.5px;
    line-height: 18px;
    color: var(--c-text);
    max-width: 360px;
    margin-bottom: 22px;
}

.addr-text__link {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    font-family: var(--ff-title);
    font-size: 14px;
    color: var(--c-plum);
    transition: gap .3s ease, color .25s ease;
}

.addr-text__link i {
    display: block;
    width: 30px;
    height: 1px;
    background: currentColor;
    position: relative;
}

.addr-text__link i::after {
    content: '';
    position: absolute;
    right: 0;
    top: -3px;
    width: 7px;
    height: 7px;
    border-top: 1px solid currentColor;
    border-right: 1px solid currentColor;
    transform: rotate(45deg);
}

.addr-text__link:hover { gap: 20px; color: var(--c-accent); }

/* --------------------------------------------------------------------------
   8. Коллекция
   -------------------------------------------------------------------------- */
.collection { padding: 50px 0 0; }

.collection__list { margin-top: 30px; }

.cat-card {
    position: relative;
    display: block;
    height: 171px;
    border: 1px solid var(--c-border);
    overflow: hidden;
}

.cat-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s ease;
}

.cat-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(151deg, rgba(45, 18, 72, .36) 0%, rgba(107, 63, 160, .2) 100%);
    transition: background .35s ease;
}

.cat-card:hover img { transform: scale(1.07); }

.cat-card:hover::after {
    background: linear-gradient(151deg, rgba(45, 18, 72, .55) 0%, rgba(107, 63, 160, .35) 100%);
}

.cat-card__label {
    position: absolute;
    left: 15px;
    bottom: 14px;
    z-index: 2;
    font-family: var(--ff-title);
    font-size: 18px;
    line-height: 1.2;
    color: #fff;
    padding-right: 12px;
}

/* --------------------------------------------------------------------------
   9. Слайдеры и карточки товара
   -------------------------------------------------------------------------- */
.products { padding: 50px 0 0; }

.slider {
    position: relative;
    margin-top: 30px;
    --per: 4;   /* карточек в видимой области */
    --gap: 20px;
}

.slider__viewport { overflow: hidden; }

.slider__track {
    display: flex;
    gap: var(--gap);
    transition: transform .55s cubic-bezier(.25, .8, .25, 1);
    will-change: transform;
}

.slider__slide {
    flex: 0 0 calc((100% - var(--gap) * (var(--per) - 1)) / var(--per));
    max-width: calc((100% - var(--gap) * (var(--per) - 1)) / var(--per));
}

.slider__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-btn);
    background: var(--c-lav);
    border: 1px solid rgba(255, 255, 255, .3);
    color: #fff;
    z-index: 5;
    transition: background .25s ease, transform .25s ease, opacity .25s ease;
}

.slider__nav:hover { background: var(--c-plum); }

.slider__nav:disabled { opacity: .35; cursor: default; }

.slider__nav:disabled:hover { background: var(--c-lav); }

.slider__nav--prev { left: -25px; }
.slider__nav--next { right: -25px; }

.slider__nav svg { width: 22px; height: 22px; }

.p-card {
    position: relative;
    height: 380px;
    border: 1px solid var(--c-border);
    background: #fff;
    padding: 19px;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    transition: box-shadow .35s ease, transform .35s ease, border-color .35s ease;
}

.p-card:hover {
    border-color: var(--c-lav-soft);
    box-shadow: 0 18px 34px rgba(107, 63, 160, .16);
}

.p-card__media {
    height: 237px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.p-card__media img {
    max-height: 237px;
    width: auto;
    object-fit: contain;
    transition: transform .45s ease;
}

.p-card:hover .p-card__media img { transform: scale(1.06); }

.p-card__name {
    font-family: var(--ff-title);
    font-size: 14px;
    line-height: 20px;
    color: var(--c-plum);
    margin-bottom: 2px;
}

.p-card__desc {
    font-size: 15px;
    line-height: 24px;
    color: var(--c-text);
    margin-bottom: 6px;
}

.p-card__price {
    font-weight: 500;
    font-size: 18px;
    line-height: 24px;
    color: var(--c-text);
    margin-top: auto;
}

.p-card__badge {
    position: absolute;
    left: 20px;
    top: 20px;
    z-index: 2;
    min-width: 80px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 10px;
    background: var(--c-lav-soft);
    font-family: var(--ff-title);
    font-size: 10px;
    letter-spacing: .5px;
    color: #fff;
}

/* --------------------------------------------------------------------------
   10. Преимущества
   -------------------------------------------------------------------------- */
.benefits { padding: 50px 0 0; }

.benefits__inner {
    background: var(--c-lav);
    border: 1px solid var(--c-border);
    display: flex;
    flex-wrap: wrap;
    padding: 20px 0;
}

.benefits__item {
    flex: 1 1 0;
    min-width: 220px;
    padding: 22px 24px;
    text-align: center;
    border-right: 1px solid rgba(255, 255, 255, .45);
}

.benefits__item:last-child { border-right: 0; }

.benefits__icon {
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
}

.benefits__icon img {
    height: 100%;
    width: auto;
    transition: transform .4s ease;
}

.benefits__item:hover .benefits__icon img { transform: translateY(-4px) scale(1.05); }

.benefits__title {
    font-family: var(--ff-title);
    font-size: 14px;
    line-height: 20px;
    color: #fff;
    margin-bottom: 4px;
}

.benefits__desc {
    font-size: 12px;
    line-height: 18px;
    color: #fff;
}

/* --------------------------------------------------------------------------
   11. Команда
   -------------------------------------------------------------------------- */
.team { padding: 50px 0 0; }

.team-card {
    position: relative;
    height: 400px;
    overflow: hidden;
}

.team-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s ease;
}

.team-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(45, 18, 72, 0) 45%, rgba(45, 18, 72, .55) 100%);
}

.team-card:hover img { transform: scale(1.06); }

.team-card__name {
    position: absolute;
    left: 20px;
    bottom: 22px;
    z-index: 2;
    font-family: var(--ff-title);
    font-size: 30px;
    line-height: 1.1;
    color: #fff;
}

.team-card__desc {
    display: block;             
    margin-top: 6px;            
    color: var(--c-line);       
    font-family: var(--ff-text);
    font-size: 16px;            
    font-weight: 400;           
    line-height: 1.3;
    text-transform: lowercase;  
}

/* --------------------------------------------------------------------------
   12. Обратная связь
   -------------------------------------------------------------------------- */
.contact { margin-top: 50px; }

.contact__grid {
    display: grid;
    grid-template-columns: 721fr 719fr;
    align-items: stretch;
}

.contact__aside {
    position: relative;
    min-height: 580px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 47px 43px;
    overflow: hidden;
    color: #fff;
}

.contact__aside img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contact__aside::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(141deg, rgba(45, 18, 72, .72) 0%, rgba(138, 89, 165, .4) 100%);
}

.contact__aside > * { position: relative; z-index: 2; }

.contact__kicker {
    font-size: 16px;
    line-height: 24px;
    color: rgba(255, 255, 255, .9);
    margin-bottom: 12px;
}

.contact__title {
    font-family: var(--ff-title);
    font-size: 39px;
    line-height: 47px;
    color: #fff;
    margin-bottom: 16px;
}

.contact__desc {
    font-size: 13.5px;
    line-height: 23px;
    color: rgba(255, 255, 255, .72);
    max-width: 310px;
}

.contact__form-wrap {
    background: var(--c-lav);
    padding: 58px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.form__title {
    font-family: var(--ff-title);
    font-size: 25px;
    line-height: 38px;
    color: #fff;
}

.form__subtitle {
    font-size: 13px;
    line-height: 20px;
    color: rgba(255, 255, 255, .78);
    margin-bottom: 14px;
}

.form__field { margin-bottom: 14px; }

.form__label {
    display: block;
    font-weight: 700;
    font-size: 11px;
    line-height: 16px;
    letter-spacing: .45px;
    color: rgba(255, 255, 255, .88);
    text-transform: uppercase;
    margin-bottom: 6px;
}

.form__control {
    display: block;
    width: 100%;
    min-height: 46px;
    padding: 13px 17px;
    font-size: 13px;
    line-height: 20px;
    color: #fff;
    background: rgba(255, 255, 255, .18);
    border: 1px solid rgba(255, 255, 255, .45);
    border-radius: 0;
    transition: background .25s ease, border-color .25s ease;
}

.form__control::placeholder { color: rgba(255, 255, 255, .5); }

.form__control:focus {
    background: rgba(255, 255, 255, .26);
    border-color: #fff;
    outline: none;
}

textarea.form__control { min-height: 104px; resize: vertical; }

.form__control.is-invalid { border-color: #ffd2d2; background: rgba(255, 120, 120, .2); }

.form__error {
    display: none;
    margin-top: 5px;
    font-size: 11px;
    line-height: 15px;
    color: #ffe4e4;
}

.form__field.has-error .form__error { display: block; }

.btn-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px 20px;
    margin-top: 4px;
    background: #fff;
    font-weight: 700;
    font-size: 13.5px;
    line-height: 20px;
    color: var(--c-accent);
    box-shadow: 0 7px 11px rgba(107, 63, 160, .2);
    transition: transform .25s ease, box-shadow .25s ease, color .25s ease;
}

.btn-submit img { width: 14px; height: 14px; }

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 20px rgba(107, 63, 160, .3);
    color: var(--c-plum);
}

.form__field--consent { margin: 14px 0 0; }

.form__consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    user-select: none;
}

.form__consent-input {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: 0;
    opacity: 0;
    pointer-events: none;
}

.form__consent-box {
    position: relative;
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    margin-top: 1px;
    background: rgba(255, 255, 255, .18);
    border: 1px solid rgba(255, 255, 255, .45);
    transition: background .25s ease, border-color .25s ease;
}

.form__consent-box::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 5px;
    width: 5px;
    height: 9px;
    border: solid var(--c-accent);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg) scale(0);
    transition: transform .2s ease;
}

.form__consent:hover .form__consent-box { border-color: #fff; }

.form__consent-input:checked + .form__consent-box {
    background: #fff;
    border-color: #fff;
}

.form__consent-input:checked + .form__consent-box::after { transform: rotate(45deg) scale(1); }

.form__consent-input:focus-visible + .form__consent-box {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

.form__consent-text {
    font-size: 12px;
    line-height: 18px;
    color: rgba(255, 255, 255, .78);
}

.form__consent-link {
    color: #fff;
    text-decoration: underline;
    transition: color .25s ease;
}

.form__consent-link:hover { color: rgba(255, 255, 255, .75); }

.form__field--consent.has-error .form__consent-box {
    border-color: #ffd2d2;
    background: rgba(255, 120, 120, .2);
}

.form__status {
    display: none;
    margin-top: 12px;
    font-size: 12px;
    line-height: 18px;
    color: rgba(255, 255, 255, .88);
}

.form__status.is-visible { display: block; }

.form__status.is-error { color: #ffe4e4; }

.form.is-sending .btn-submit {
    opacity: .65;
    cursor: progress;
    transform: none;
    box-shadow: 0 7px 11px rgba(107, 63, 160, .2);
}

/* --------------------------------------------------------------------------
   13. Карты
   -------------------------------------------------------------------------- */
.maps { padding: 60px 0 10px; }

.maps__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin-top: 30px;
}

.maps__item { display: flex; flex-direction: column; }

.maps__frame {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #f7f1fa;
}

.maps__frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.maps__caption {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 14px 4px 0;
}

.maps__addr {
    font-family: var(--ff-title);
    font-size: 15px;
    line-height: 20px;
    color: var(--c-plum);
}

.maps__sub {
    font-size: 13px;
    line-height: 18px;
    color: var(--c-text);
}

/* --------------------------------------------------------------------------
   14. Футер
   -------------------------------------------------------------------------- */
.footer { background: var(--c-lav); padding-top: 60px; color: #fff; }

.footer__container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 104px;
}

.footer__grid {
    display: grid;
    grid-template-columns: 427fr 254fr 254fr 297fr;
    gap: 40px;
    padding-bottom: 48px;
}

.footer__logo { width: 264px; max-width: 100%; margin-bottom: 20px; }

.footer__about {
    max-width: 280px;
    font-size: 14px;
    line-height: 24px;
    color: rgba(255, 255, 255, .88);
}

.footer__about strong{
    font-weight: normal
}

.footer__social-title {
    margin-top: 24px;
    font-weight: 600;
    font-size: 12px;
    line-height: 18px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .8);
}

.footer__social {
    display: flex;
    gap: 10px;
    margin-top: 14px;
}

.footer__social a {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(255, 255, 255, .15);
    border: 1px solid rgba(255, 255, 255, .25);
    transition: background .25s ease, transform .25s ease;
}

.footer__social a:hover { background: rgba(255, 255, 255, .32); transform: translateY(-3px); }

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

.footer__col  { display: block; }

.footer__col-title {
    font-family: var(--ff-title);
    font-size: 16px;
    line-height: 24px;
    color: #fff;
    margin-bottom: 20px;
}

.footer__links li + li { margin-top: 12px; }

.footer__links a,
.footer__links span {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    line-height: 19.5px;
    color: rgba(255, 255, 255, .88);
    transition: color .25s ease, transform .25s ease;
}

.footer__links a:hover { color: #fff; transform: translateX(3px); }

.footer__links img { width: 13px; height: 13px; flex: 0 0 auto; }

.footer__nav li + li { margin-top: 10px; }

.footer__nav .star { font-size: 9px; line-height: 1; color: rgba(255, 255, 255, .8); }

.footer__shops li + li { margin-top: 16px; }

.footer__shop { display: flex; gap: 8px; }

.footer__shop > img { width: 13px; height: 13px; margin-top: 4px; flex: 0 0 auto; }

.footer__shop-name {
    font-weight: 600;
    font-size: 13px;
    line-height: 19.5px;
    color: #fff;
}

.footer__shop-sub {
    font-size: 11px;
    line-height: 16.5px;
    color: rgba(255, 255, 255, .65);
    margin-top: 2px;
}

.footer__shop-time {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 4px;
    font-weight: 600;
    font-size: 11px;
    line-height: 16.5px;
    color: rgba(255, 255, 255, .8);
}

.footer__shop-time img { width: 10px; height: 10px; }

.footer__bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 32px;
    padding: 21px 0 16px;
    border-top: 1px solid rgba(255, 255, 255, .2);
    font-size: 12px;
    line-height: 18px;
}

.footer__policy {
    flex: 1 1 auto;
    color: rgba(255, 255, 255, .7);
    text-decoration: underline;
}

.footer__policy:hover { color: #fff; }

.footer__legal { font-weight: 600; color: rgba(255, 255, 255, .7); }

.footer__sep { color: rgba(255, 255, 255, .25); }

.footer__reg { color: rgba(255, 255, 255, .6); }

.footer__dev {
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer__dev img { width: 116px; transition: opacity .25s ease; }

.footer__dev:hover img { opacity: .75; }

/* --------------------------------------------------------------------------
   15. Модальные окна
   -------------------------------------------------------------------------- */
.modal {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(45, 18, 72, .62);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .35s ease, visibility .35s ease;
}

.modal.is-open { opacity: 1; visibility: visible; }

.modal__dialog {
    position: relative;
    width: 100%;
    max-width: 760px;
    max-height: calc(100vh - 48px);
    overflow-y: auto;
    background: #fff;
    box-shadow: 0 30px 70px rgba(45, 18, 72, .45);
    transform: translateY(28px) scale(.97);
    opacity: 0;
    transition: transform .4s cubic-bezier(.22, 1, .36, 1), opacity .4s ease;
}

.modal.is-open .modal__dialog { transform: translateY(0) scale(1); opacity: 1; }

.modal__dialog--narrow { max-width: 470px; }

.modal__close {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 3;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, .85);
    color: var(--c-plum);
    transition: background .25s ease, transform .3s ease;
}

.modal__close:hover { background: var(--c-lav-soft); color: #fff; transform: rotate(90deg); }

/* — товар — */
.modal-product { display: grid; grid-template-columns: 320fr 440fr; }

.modal-product__media {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(160deg, #f6effa 0%, #e9dcf3 100%);
}

.modal-product__media img { max-height: 320px; width: auto; }

.modal-product__body { padding: 46px 44px 40px; }

.modal-product__badge {
    display: inline-block;
    margin-bottom: 14px;
    padding: 5px 12px;
    background: var(--c-lav-soft);
    font-family: var(--ff-title);
    font-size: 10px;
    letter-spacing: .5px;
    color: #fff;
}

.modal-product__name {
    font-family: var(--ff-title);
    font-size: 26px;
    line-height: 34px;
    color: var(--c-plum);
    margin-bottom: 6px;
}

.modal-product__desc {
    font-size: 15px;
    line-height: 24px;
    color: var(--c-text);
    margin-bottom: 18px;
}

.modal-product__text {
    font-size: 14px;
    line-height: 23px;
    color: #7a6c85;
    margin-bottom: 24px;
}

.modal-product__price {
    font-family: var(--ff-title);
    font-size: 28px;
    line-height: 1.2;
    color: var(--c-plum);
    margin-bottom: 24px;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 50px;
    padding: 14px 34px;
    background: var(--c-lav);
    font-weight: 700;
    font-size: 14px;
    letter-spacing: .3px;
    color: #fff;
    transition: background .28s ease, transform .28s ease, box-shadow .28s ease;
}

.btn-primary:hover {
    background: var(--c-plum);
    transform: translateY(-2px);
    box-shadow: 0 14px 24px rgba(107, 63, 160, .3);
}

.btn-primary--block { width: 100%; }

/* — форма заказа / успех — */
.modal-form { padding: 48px 44px 44px; background: var(--c-lav); }

.modal-form .form__title { margin-bottom: 4px; }

.modal-form .form__subtitle { margin-bottom: 20px; }

.modal-success { padding: 54px 44px 48px; text-align: center; }

.modal-success__icon {
    width: 74px;
    height: 74px;
    margin: 0 auto 22px;
    border-radius: 50%;
    background: linear-gradient(150deg, var(--c-lav-soft), var(--c-lav));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.modal-success__title {
    font-family: var(--ff-title);
    font-size: 26px;
    line-height: 34px;
    color: var(--c-plum);
    margin-bottom: 10px;
}

.modal-success__text {
    font-size: 15px;
    line-height: 24px;
    color: var(--c-text);
    margin-bottom: 26px;
}

/* — лайтбокс — */
.modal-lightbox { background: rgba(45, 18, 72, .88); }

.modal-lightbox .modal__dialog {
    max-width: 1080px;
    background: transparent;
    box-shadow: none;
    overflow: visible;
}

.modal-lightbox img {
    width: 100%;
    max-height: calc(100vh - 130px);
    object-fit: contain;
}

.lightbox__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-btn);
    background: rgba(255, 255, 255, .16);
    border: 1px solid rgba(255, 255, 255, .35);
    color: #fff;
    transition: background .25s ease;
}

.lightbox__nav:hover { background: rgba(255, 255, 255, .34); }

.lightbox__nav--prev { left: -64px; }
.lightbox__nav--next { right: -64px; }

.modal-lightbox .modal__close { top: -52px; right: 0; }

/* --------------------------------------------------------------------------
   16. Cookie-баннер
   -------------------------------------------------------------------------- */
.cookie {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 90;   /* выше шапки (60), ниже модалок (100) */
    padding: 16px var(--gutter);
    background: var(--c-plum-deep);
    box-shadow: 0 -8px 24px rgba(45, 18, 72, .28);
    transform: translateY(100%);
    transition: transform .4s ease;
}

.cookie.is-visible { transform: translateY(0); }

.cookie__inner {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 24px;
}

.cookie__text {
    margin: 0;
    font-size: 13px;
    line-height: 20px;
    color: rgba(255, 255, 255, .82);
}

.cookie__link {
    color: #fff;
    text-decoration: underline;
    transition: color .25s ease;
}

.cookie__link:hover { color: var(--c-lav-soft); }

.cookie__btn {
    flex: 0 0 auto;
    min-height: 44px;
    padding: 12px 34px;
    background: #fff;
    font-weight: 700;
    font-size: 13.5px;
    line-height: 20px;
    letter-spacing: .3px;
    color: var(--c-accent);
    box-shadow: 0 7px 11px rgba(107, 63, 160, .2);
    transition: transform .25s ease, box-shadow .25s ease, color .25s ease;
}

.cookie__btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 20px rgba(107, 63, 160, .3);
    color: var(--c-plum);
}

/* --------------------------------------------------------------------------
   17. Страница 404
   -------------------------------------------------------------------------- */
.e404 {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - var(--header-h) - 120px);
    padding: 80px 0 100px;
    text-align: center;
}

.e404__inner {
    width: 100%;
    max-width: 640px;
    margin: 0 auto;
}

.e404__code {
    font-family: var(--ff-title);
    font-size: 132px;
    line-height: 1;
    color: var(--c-lav);
    letter-spacing: 6px;
}

.e404__title {
    margin-top: 18px;
    font-family: var(--ff-title);
    font-size: 34px;
    line-height: 44px;
    color: var(--c-plum);
}

.e404__text {
    margin-top: 14px;
    font-size: 15px;
    line-height: 24px;
    color: var(--c-text);
}

.e404__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 34px;
}

.e404__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 14px 34px;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: .3px;
    color: var(--c-plum);
    border: 1px solid var(--c-border);
    transition: background .28s ease, color .28s ease, border-color .28s ease;
}

.e404__link:hover {
    background: var(--c-lav);
    border-color: var(--c-lav);
    color: #fff;
}

/* --------------------------------------------------------------------------
   18. Адаптивность
   -------------------------------------------------------------------------- */
@media (max-width: 1279px) {
    :root { --gutter: 40px; }

    .header__inner { gap: 34px; }
    .header__nav { gap: 34px; }
    .header__logo { margin: 0 40px; }

    .hero__bg-slide[data-key="bg_0"] img { object-position: 15% center;}
    .hero__bg-slide[data-key="bg_1"] img { object-position: 10% center;}
    .hero__bg-slide[data-key="bg_2"] img { object-position: 0%  center;}

    .footer__container { padding: 0 40px; }

    .footer__col, 
    .footer__col ul {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    
    .footer__grid { grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 30px; }

    .slider { --per: 3; }
    .slider__nav--prev { left: -18px; }
    .slider__nav--next { right: -18px; }

    .modal-product { grid-template-columns: 1fr 1.2fr; }
    .modal-product__body { padding: 34px 30px; }

    .lightbox__nav--prev { left: 10px; }
    .lightbox__nav--next { right: 10px; }
}

@media (max-width: 991px) {
    :root { --header-h: 72px; --anchor-gap: 14px; }

    .header__inner { justify-content: space-between; gap: 0; height: 72px; }

    .header__logo { margin: 0; }

    .header__burger { display: block; }

    .menu { display: block; }

    .hero { min-height: 460px; }

    .addr-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
        aspect-ratio: auto;
    }

    .addr-grid__cell { min-height: 190px; }
    .addr-grid__cell--bag,
    .addr-grid__cell--duo,
    .addr-grid__cell--team,
    .addr-grid__cell--desk { grid-column: auto; grid-row: auto; }
    .addr-grid__cell--text { grid-column: 1 / 3; grid-row: auto; }
    .addr-grid__cell--cert { grid-column: 1 / 3; grid-row: auto; min-height: 320px; }

    .addr-text { padding: 26px 20px; }
    .addr-text__desc { max-width: none; }

    .maps__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }

    .contact__grid { grid-template-columns: 1fr; }
    .contact__aside { min-height: 380px; padding: 40px 30px; }
    .contact__title { font-size: 32px; line-height: 40px; }
    .contact__form-wrap { padding: 44px 30px; }

    .footer__grid { grid-template-columns: 1fr 1fr; gap: 34px; }

    .modal-product { grid-template-columns: 1fr; }
    .modal-product__media { padding: 34px 24px; }
    .modal-product__media img { max-height: 230px; }
}

@media (max-width: 767px) {
    :root { --gutter: 20px; }

    .s-title { font-size: 24px; gap: 14px; }
    .s-title::before,
    .s-title::after { flex-basis: 40px; }

    .s-title-left { font-size: 24px; justify-content: center;}
    .s-title-left::after { display: none;}

    /* Окно слайдера на мобильном: высота повторяет пропорции мобильной
       картинки (690 x 1226), поэтому contain вписывает её без полей и
       текст на ней не обрезается. */
    .hero { min-height: calc(100vw * 1226 / 690); align-items: start; }
    .hero__bg-slide img { object-fit: contain; padding: 0 0vw; }

    .addr-text__link {flex-direction: column;}
    .addr-text__link i {width: 15px;transform: rotate(90deg);}

    .maps { padding: 40px 0 10px; }
    .maps__grid { grid-template-columns: 1fr; gap: 18px; }

    .partners__track {
        flex-wrap: nowrap;
        width: max-content;
        animation: partners-marquee 22s linear infinite;
    }

    .partners__track:hover { animation-play-state: paused; }

    .partners__item {
        flex: 0 0 auto;
        min-width: 0;
        height: 60px;
        padding: 10px 22px;
        border-right: 1px solid var(--c-line);
    }

    .partners__item--clone { display: flex; }

    .benefits__item { flex: 0 0 100%; border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, .45); }
    .benefits__item:last-child { border-bottom: 0; }

    .footer__container { padding: 0 20px; }
    .footer__grid { grid-template-columns: 1fr; gap: 30px; }
    .footer__bottom { flex-direction: column; align-items: flex-start; gap: 8px; }

    .slider { --per: 2; --gap: 14px; }
    .slider__nav { width: 40px; height: 40px; }
    .slider__nav--prev { left: -8px; }
    .slider__nav--next { right: -8px; }

    .modal { padding: 14px; }
    .modal__dialog { max-height: calc(100vh - 28px); }
    .modal-product__body { padding: 28px 22px 30px; }
    .modal-product__name { font-size: 22px; line-height: 30px; }
    .modal-form { padding: 34px 22px 30px; }
    .modal-success { padding: 40px 24px 34px; }
    .modal-lightbox .modal__close { top: 8px; right: 8px; background: rgba(255, 255, 255, .9); }

    .cookie { padding: 16px 20px; }
    .cookie__inner { flex-direction: column; align-items: stretch; gap: 14px; }
    .cookie__btn { width: 100%; }

    .e404 { padding: 60px 0 70px; }
    .e404__code { font-size: 96px; }
    .e404__title { font-size: 26px; line-height: 34px; }
}

@media (max-width: 575px) {
    .slider { --per: 1; }

    .e404__code { font-size: 76px; }
    .e404__actions { flex-direction: column; }
    .e404__actions > * { width: 100%; }

    .addr-grid { grid-template-columns: 1fr; gap: 10px; }
    .addr-grid__cell--text,
    .addr-grid__cell--cert { grid-column: 1; }

    .cat-card { height: 150px; }
    .team-card { height: 340px; }
    .team-card__name { font-size: 24px; }

    .contact__aside { min-height: 320px; padding: 32px 20px; }
    .contact__title { font-size: 27px; line-height: 34px; }
    .contact__form-wrap { padding: 34px 20px; }
}

/* Уважаем настройку «уменьшить движение» */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}

/* sharepulse */
@keyframes pulse{
  0%, 100% {
      -webkit-transform: scale(1);
      -ms-transform: scale(1);
      transform: scale(1);
  }
  
  50% {
      -webkit-transform: scale(1.3);
      -ms-transform: scale(1.3);
      transform: scale(1.3);
  }

}

/* --------------------------------------------------------------------------
   19. Мультитул связи (плавающая кнопка справа снизу) share-pulse
   -------------------------------------------------------------------------- */
.share {
    position: fixed;
    right: 40px;
    bottom: 40px;
    z-index: 50;              /* выше контента, но ниже меню (55), шапки (60),
                                 cookie (90) и модалок (100) — они перекрывают его сами */
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

/* --- кружки со ссылками --------------------------------------------------- */
.share__list {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.share__item {
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px) scale(.5);
    transition: opacity .28s ease, transform .28s ease, visibility .28s;
}

/* Закрываются в обратном порядке: сначала дальний кружок */
.share__item:nth-child(1) { transition-delay: 0s; }
.share__item:nth-child(2) { transition-delay: .07s; }

/* Открываются снизу вверх: сначала ближний к кнопке */
.share.is-open .share__item {
    opacity: 1;
    visibility: visible;
    transform: none;
}

.share.is-open .share__item:nth-child(1) { transition-delay: .07s; }
.share.is-open .share__item:nth-child(2) { transition-delay: 0s; }

.share__link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--c-header);
    box-shadow: 0 2px 5px rgba(0, 0, 0, .25);
    transition: background .25s ease, transform .25s ease;
}

.share__link:hover { background: var(--c-plum); transform: scale(1.08); }

.share__link img { display: block; width: 22px; height: 22px; }

/* --- основная кнопка ------------------------------------------------------ */
.share__toggle {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: var(--c-header);
    box-shadow: 0 2px 5px rgba(0, 0, 0, .3);
    cursor: pointer;
    transition: background .39s ease;
}

/* Пульсирующее кольцо — приманка. Пока меню раскрыто, оно не нужно. */
.share__toggle::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    box-shadow: 0 0 2px 2px var(--c-header);
    animation: pulse 2s infinite;
    pointer-events: none;
    will-change: transform;
}

.share.is-open .share__toggle::before { animation: none; }

.share__toggle:hover { background: #ffffff; }

.share__icon {
    position: absolute;
    width: 25px;
    height: 25px;
    fill: #ffffff;
    color: #ffffff;
    transition: opacity .3s ease, transform .3s ease, fill .39s ease, color .39s ease;
}

.share__toggle:hover .share__icon { fill: var(--c-header); color: var(--c-header); }

.share__icon--close { opacity: 0; transform: rotate(-90deg); }

.share.is-open .share__icon--phone { opacity: 0; transform: rotate(90deg); }
.share.is-open .share__icon--close { opacity: 1; transform: rotate(0); }

@media (max-width: 991px) {
    .share { right: 30px; bottom: 30px; }
}
