/* Кейс Gulliver Market — стили страницы cases/gulliver.html (восстановлено) */

.gulliver-page {
    color: #333333;
    background-color: #ffffff;
    /* без этого декор (figur, звезда) с vw/отрицательным left даёт горизонтальный скролл на мобилке */
    overflow-x: clip;
}

@supports not (overflow: clip) {
    .gulliver-page {
        overflow-x: hidden;
    }
}

.gulliver-main {
    max-width: none;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    width: 100%;
}

/* ========= Hero: back-gulliver.png + контент внизу ========= */
.gulliver-hero {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-color: #ffffff;
    overflow: hidden;
}

.gulliver-hero__bg {
    grid-column: 1;
    grid-row: 1;
    display: block;
    width: 100%;
    height: auto;
}

.gulliver-hero__inner {
    grid-column: 1;
    grid-row: 1;
    position: relative;
    z-index: 1;
    align-self: end;
    justify-self: start;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 clamp(16px, 4vw, 32px) clamp(48px, 9vw, 120px);
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.gulliver-hero__kicker {
    margin: 0 0 clamp(10px, 1.5vw, 16px);
    padding: 0;
    font-family: 'Gilroy', sans-serif;
    font-weight: 500 !important;
    font-size: 14px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #111111;
}

.gulliver-hero__logo {
    display: block;
    width: min(100%, clamp(200px, 32vw, 300px));
    height: auto;
    margin: 0 0 clamp(14px, 2.5vw, 28px);
    object-fit: contain;
}

.gulliver-hero__title {
    margin: 0;
    padding: 0;
    font-family: 'Gilroy', sans-serif !important;
    font-weight: 600 !important;
    font-size: clamp(24px, 2.4vw, 42px) !important;
    line-height: 1.15 !important;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #111111 !important;
}

@media (max-width: 1024px) {
    .gulliver-hero {
        display: block;
        position: relative;
        min-height: clamp(620px, 82vh, 900px);
    }

    .gulliver-hero__bg {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        min-width: 100%;
        min-height: 100%;
        object-fit: cover;
        /* якорь на зоне с телефоном; чуть «приближаем» уже на планшете */
        object-position: 60% 42%;
        transform: scale(1.05);
        transform-origin: 82% 44%;
    }

    .gulliver-hero__inner {
        position: relative;
        z-index: 1;
        min-height: inherit;
        justify-content: flex-end;
        align-items: flex-start;
        text-align: left;
        padding-bottom: clamp(40px, 8vw, 100px);
    }
}

@media (max-width: 900px) {
    .gulliver-hero__bg {
        object-position: 60% 41%;
        transform: scale(1.1);
        transform-origin: 80% 43%;
    }

    .gulliver-video-banner__gif{
        clip-path: inset(13px 29px 35px 38px round 42px) !important;
    }
}

@media (max-width: 768px) {
    .gulliver-hero {
        min-height: clamp(640px, 80vh, 920px);
    }

    /* scale < 1 даёт «поля»: картинка визуально меньше блока, виден фон секции (#fff) */
    .gulliver-hero__bg {
        object-position: 63% 40%;
        transform: scale(1);
        transform-origin: 78% 42%;
    }

    .gulliver-hero {
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
    }

    .gulliver-hero__inner {
        align-self: stretch;
        margin-top: auto;
        align-items: flex-start;
        text-align: left;
        padding: 0 clamp(14px, 4vw, 24px) clamp(36px, 12vw, 72px);
    }
}

@media (max-width: 600px) {
    .gulliver-hero__bg {
        object-position: 66% 39%;
        transform: scale(1);
        top: -50px;
        transform-origin: 76% 41%;
    }

    .gulliver-hero__inner {
        align-self: stretch;
        padding-top: clamp(100px, 28vw, 180px);
    }
}

@media (max-width: 480px) {
    .gulliver-hero {
        min-height: clamp(520px, 70vh, 1000px);
    }

    .gulliver-hero__bg {
        object-position: 62% 59%;
        transform: scale(1.02);
        top: -50px;
        transform-origin: 22% 191%;
    }

    .gulliver-features__card{
        padding: 16px !important;
    }
}

@media (max-width: 380px) {
    .gulliver-hero__bg {
        object-position: 62% 42%;
        transform: scale(1);
        transform-origin: 70% 42%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .gulliver-hero__bg {
        transform: none !important;
    }
}

/* ========= Brief: серая плашка, left/right/up, звёзды, таблетки ========= */
.gulliver-brief {
    padding: clamp(32px, 5vw, 56px) 20px clamp(48px, 7vw, 80px);
    background: #ffffff;
    box-sizing: border-box;
}

.gulliver-brief__wrap {
    max-width: 1200px;
    margin: 0 auto;
}

.gulliver-brief__plate {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
    padding: clamp(64px, 9vw, 104px) clamp(10px, 3vw, 32px) clamp(48px, 7vw, 88px);
    background: #646468;
    border-radius: 40px;
    box-sizing: border-box;
    overflow: visible;
}

.gulliver-brief__up-wrap {
    display: none;
}

.gulliver-brief__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: visible;
    border-radius: inherit;
    pointer-events: none;
}

.gulliver-brief__img {
    position: absolute;
    display: block;
    height: auto;
}

.gulliver-brief__img--left {
    left: 0;
    bottom: 70px;
    width: min(32%, 140px);
    max-width: 200px;
}

.gulliver-brief__img--right {
    right: 0;
    top: 0;
    width: min(30%, 320px);
    max-width: 240px;
    transform: translateY(-8%);
}

.gulliver-brief__img--up {
    position: relative;
    width: min(88%, 400px);
    margin: 0 auto;
}

.gulliver-brief__star {
    position: absolute;
    z-index: 1;
    pointer-events: none;
}

.gulliver-brief__star--2 {
    top: 12%;
    right: 18%;
}

.gulliver-brief__star--3 {
    top: 38%;
    left: 8%;
}

.gulliver-brief__star--4 {
    bottom: 22%;
    right: 12%;
}

.gulliver-brief__content {
    position: relative;
    z-index: 2;
    max-width: min(700px, 92%);
    margin: 0 auto;
    text-align: start;
}

.gulliver-brief__heading {
    margin: 0;
    font-family: 'Gilroy', sans-serif;
    font-size: clamp(16px, 1.8vw, 20px);
    font-weight: 600 !important;
    line-height: 1.2;
    color: #333333;
}

.gulliver-brief__heading.gulliver-brief__heading--plate {
    display: inline-block;
    padding: clamp(8px, 1.2vw, 12px) clamp(18px, 2.5vw, 28px);
    background: #ffffff;
    border-radius: 999px;
    color: #333333;
    text-transform: uppercase;
}

.gulliver-brief__heading:not(:first-child) {
    margin-top: clamp(28px, 4vw, 44px);
}

.gulliver-brief__lead {
    margin: clamp(16px, 2.5vw, 24px) 0 0;
    font-family: 'Gilroy', sans-serif;
    font-size: clamp(16px, 1.6vw, 18px);
    font-weight: 400;
    line-height: 1.55;
    color: #f2f2f5;
}

.gulliver-brief__block {
    margin-top: clamp(24px, 3.5vw, 36px);
}

.gulliver-brief__question {
    margin: 0 0 clamp(8px, 1.2vw, 12px);
    font-family: 'Gilroy', sans-serif;
    font-size: clamp(16px, 1.6vw, 18px);
    font-weight: 500;
    line-height: 1.5;
    color: #f2f2f5;
}

.gulliver-brief__answer {
    margin: 0 0 clamp(8px, 1.2vw, 12px);
    font-family: 'Gilroy', sans-serif;
    font-size: clamp(16px, 1.6vw, 18px);
    font-weight: 400;
    line-height: 1.6;
    color: #e8e8ec;
}

.gulliver-brief__accent {
    color: #d4ff00;
}

.gulliver-brief__sign {
    margin: 0;
    font-family: 'Gilroy', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.75);
    text-align: end;
}

.gulliver-brief__pill {
    position: absolute;
    z-index: 3;
    padding: clamp(8px, 1.2vw, 12px) clamp(14px, 2vw, 20px);
    font-family: 'Gilroy', sans-serif;
    font-size: clamp(12px, 1.4vw, 15px);
    font-weight: 600;
    color: #333333;
    background: #ffffff;
    border-radius: 999px;
    white-space: nowrap;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

.gulliver-brief__pill--1 {
    top: 8%;
    right: 26%;
    transform: rotate(-6deg);
}

.gulliver-brief__pill--2 {
    top: 29%;
    left: 1%;
    transform: rotate(5deg);
}

.gulliver-brief__pill--3 {
    bottom: 13%;
    right: 1%;
    transform: rotate(4deg);
}

.gulliver-brief__pill--4 {
    bottom: 8%;
    left: 8%;
    transform: rotate(-5deg);
}

@media (max-width: 900px) {
    .gulliver-brief__pill--2 {
        top: 4%;
    }
}

@media (max-width: 800px) {
    .gulliver-brief__star,
    .gulliver-brief__bg {
        display: none !important;
    }

    .gulliver-brief__up-wrap {
        display: block;
        margin: clamp(-44px, -11vw, -24px) auto clamp(2px, 1.5vw, 8px);
        text-align: center;
    }

    .gulliver-brief {
        padding-top: clamp(8px, 3vw, 24px);
    }

    .gulliver-brief__plate {
        padding-top: clamp(6px, 2vw, 14px);
    }

    .gulliver-brief__pill {
        display: none !important;
    }

    .gulliver-brief__img--left {
        width: min(40%, 180px);
        max-width: 170px;
    }

    .gulliver-brief__img--right {
        width: min(48%, 220px);
        max-width: 260px;
    }
}

/* ========= Особенности: три плашки + L.png ========= */
.gulliver-features {
    --gf-gap: 20px;
    padding: clamp(40px, 6vw, 72px) 20px clamp(48px, 7vw, 88px);
    background: #ffffff;
    box-sizing: border-box;
}

.gulliver-features__inner {
    max-width: 1200px;
    margin: 0 auto;
}

.gulliver-features__title {
    margin: 0 0 clamp(28px, 4vw, 44px);
    font-family: 'Gilroy', sans-serif;
    font-size: clamp(22px, 2.8vw, 36px);
    font-weight: 600 !important;
    line-height: 1.2;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    color: #1a1a1a;
    text-align: left;
}

.gulliver-features__row-wrap {
    position: relative;
    width: 100%;
}

.gulliver-features__row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--gf-gap);
    align-items: stretch;
}

.gulliver-features__card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 32px;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 400 / 600;
    background-size: cover;
    background-position: center bottom;
    box-sizing: border-box;
}

.gulliver-features__card--1 {
    background-image: url('../images/cases/Frame1.png');
}

.gulliver-features__card--2 {
    background-image: url('../images/cases/Frame2.png');
}

.gulliver-features__card--3 {
    background-image: url('../images/cases/Frame3.png');
}

.gulliver-features__text {
    margin: 0;
    position: relative;
    z-index: 1;
    font-family: 'Gilroy', sans-serif;
    font-size: clamp(15px, 1.7vw, 18px);
    font-weight: 500;
    line-height: 1.45;
    color: #ffffff;
}

.gulliver-features__text--on-light {
    color: #1a1a1a;
}

.gulliver-features__balloon {
    position: absolute;
    z-index: 3;
    left: clamp(-92px, -3.5vw, -16px);
    bottom: 0;
    height: clamp(120px, 22vw, 290px);
    width: auto;
    max-width: min(38vw, 200px);
    object-fit: contain;
    object-position: left bottom;
    pointer-events: none;
}

@media (max-width: 799px) {
    .gulliver-features__row {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        gap: var(--gf-gap);
        overflow-x: auto;
        overflow-y: visible;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior-x: contain;
        scrollbar-width: none;
        -ms-overflow-style: none;
        padding-bottom: 4px;
    }

    .gulliver-features__row::-webkit-scrollbar {
        display: none;
    }

    .gulliver-features__card {
        min-width: 0;
        scroll-snap-align: start;
    }
}

@media (max-width: 799px) and (min-width: 650px) {
    .gulliver-features__card {
        flex: 0 0 calc((100% - 2 * var(--gf-gap)) * 3 / 7);
        width: calc((100% - 2 * var(--gf-gap)) * 3 / 7);
    }
}

@media (max-width: 649px) and (min-width: 500px) {
    .gulliver-features__card {
        flex: 0 0 calc((100% - var(--gf-gap)) / 1.7);
        width: calc((100% - var(--gf-gap)) / 1.7);
    }
}

@media (max-width: 499px) {
    .gulliver-features__card {
        flex: 0 0 calc((100% - var(--gf-gap)) * 3 / 4);
        width: calc((100% - var(--gf-gap)) * 3 / 4);
    }
}

@media (max-width: 799px) {
    .gulliver-features__balloon {
        height: clamp(100px, 35vw, 200px);
        max-width: min(42vw, 160px);
        left: clamp(-40px, -6vw, -12px);
    }
}

/* ========= Мини-карточки ========= */
.gulliver-mini-cards {
    --gulliver-mc-pad-x: 20px;
    --gulliver-mc-pad-top: clamp(48px, 7vw, 96px);
    --gulliver-mc-pad-bottom: clamp(56px, 8vw, 100px);
    position: relative;
    padding: var(--gulliver-mc-pad-top) var(--gulliver-mc-pad-x) var(--gulliver-mc-pad-bottom);
    background-color: #ffffff;
    box-sizing: border-box;
    overflow-x: clip;
    overflow-y: visible;
}

@supports not (overflow: clip) {
    .gulliver-mini-cards {
        overflow-x: hidden;
    }
}

.gulliver-mini-cards::before {
    content: "";
    position: absolute;
    z-index: 0;
    pointer-events: none;
    top: calc(-1 * var(--gulliver-mc-pad-top));
    left: calc(-1 * var(--gulliver-mc-pad-x));
    right: calc(-1 * var(--gulliver-mc-pad-x));
    bottom: calc(-1 * var(--gulliver-mc-pad-bottom));
    background-image: url('../images/cases/figur.png');
    background-repeat: no-repeat;
    background-position: right clamp(40px, 11vw, 160px) center;
    background-size: min(84vw, 1000px) auto;
    opacity: 0.78;
}

/* Совпадает с колонкой .gulliver-mini-cards__inner (900px), иначе при 769–900px правки «не видны» */
@media (max-width: 900px) {
    .gulliver-mini-cards::before {
        /* больше отступ от right — визуально фигура уходит влево */
        background-position: right clamp(72px, 22vw, 260px) 62%;
        background-size: min(98vw, 1220px) auto;
        background-image: none;
    }
}

.gulliver-mini-cards__inner {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-start;
    box-sizing: border-box;
}

.gulliver-mini-cards__visual {
    position: relative;
    flex: 1 1 44%;
    min-width: 0;
    max-width: min(100%, 580px);
    z-index: 1;
}

.gulliver-mini-cards__star {
    position: absolute;
    z-index: 0;
    left: -22%;
    top: 52%;
    transform: translateY(-50%) rotate(-14deg);
    width: min(145%, 580px);
    aspect-ratio: 1;
    color: #dfff00;
    pointer-events: none;
}

.gulliver-mini-cards__star-svg {
    display: block;
    width: 100%;
    height: 100%;
}

.gulliver-mini-cards__phones {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    max-width: 400px;
    height: auto;
    margin: 0 auto;
}

.gulliver-mini-cards__copy {
    position: relative;
    z-index: 2;
    flex: 1 1 0;
    min-width: 0;
    transform: translateY(-100px);
}

.gulliver-mini-cards__title {
    margin: 0;
    font-family: 'Gilroy', sans-serif;
    font-size: clamp(22px, 2.8vw, 40px);
    font-weight: 600 !important;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: #1a1a1a;
}

.gulliver-mini-cards__balloon {
    position: absolute;
    right: 0;
    bottom: clamp(4px, 1.5vw, 16px);
    height: clamp(120px, 32vw, 260px);
    width: auto;
    max-width: min(38vw, 280px);
    object-fit: contain;
    transform: rotate(9deg);
    z-index: 2;
}

@media (max-width: 900px) {
    .gulliver-mini-cards__inner {
        position: relative;
        flex-direction: column;
        align-items: stretch;
        gap: clamp(24px, 4vw, 40px);
    }

    .gulliver-mini-cards__copy {
        order: 1;
        transform: none;
    }

    .gulliver-mini-cards__visual {
        order: 2;
        max-width: min(100%, 360px);
        align-self: center;
    }

    .gulliver-mini-cards__balloon {
        position: absolute;
        right: clamp(8px, 3vw, 24px);
        bottom: clamp(-40px, -12.5vw, 16px);
        top: auto;
        left: auto;
        height: clamp(120px, 32vw, 200px);
        max-width: min(38vw, 280px);
        transform: rotate(9deg);
    }
}

/* ========= Корзина ========= */
.gulliver-cart-highlight {
    padding: clamp(48px, 7vw, 96px) 20px clamp(56px, 8vw, 100px);
    background: #5c5c62;
    box-sizing: border-box;
}

.gulliver-cart-highlight__inner {
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: clamp(20px, 3vw, 40px);
    max-width: 1200px;
    margin: 0 auto;
}

.gulliver-cart-highlight__figure {
    flex: 1 1 48%;
    min-width: 0;
    max-width: min(100%, 420px);
    margin: 0;
}

.gulliver-cart-highlight__gif {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 12px;
    -webkit-clip-path: inset(20px 40px 50px 40px round 12px);
    clip-path: inset(20px 40px 50px 50px round 50px);
}

.gulliver-cart-highlight__aside {
    position: relative;
    flex: 1 1 46%;
    min-width: min(100%, 280px);
    align-self: stretch;
    display: flex;
    align-items: center;
}

.gulliver-cart-highlight__plaque-cluster {
    position: relative;
    width: 80%;
}

.gulliver-cart-highlight__plaque {
    position: relative;
    z-index: 1;
    width: 100%;
    padding: clamp(24px, 3vw, 36px) clamp(24px, 3vw, 40px);
    border-radius: 24px;
    background: #dfff00;
    box-sizing: border-box;
}

.gulliver-cart-highlight__overlay-i {
    position: absolute;
    z-index: 2;
    top:clamp(-104px, -16.5vw, -18px);
    right: clamp(-20px, -3vw, -6px);
    width: clamp(120px, 28vw, 200px);
    height: auto;
    pointer-events: none;
    transform: rotate(9deg);
    transform-origin: 50% 50%;
}

.gulliver-cart-highlight__icon {
    display: block;
    margin-bottom: clamp(12px, 2vw, 18px);
    color: #52525b;
}

.gulliver-cart-highlight__title {
    margin: 0;
    font-family: 'Gilroy', sans-serif;
    font-size: clamp(18px, 2.2vw, 28px);
    font-weight: 500 !important;
    line-height: 1.25;
    letter-spacing: -0.02em;
    color: #333333;
}

@media (max-width: 900px) {
    .gulliver-cart-highlight__inner {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

    .gulliver-cart-highlight__plaque-cluster {
        width: 100%;
    }

    .gulliver-cart-highlight__gif {
        clip-path: inset(13px 29px 35px 38px round 42px);
    }

    .gulliver-cart-highlight__figure {
        flex: none;
        max-width: min(100%, 320px);
        align-self: center;
        order: 1;
    }

    .gulliver-cart-highlight__aside {
        flex: none;
        order: 2;
        align-items: stretch;
    }
}

@media (max-width: 499px) {
    .gulliver-cart-highlight__overlay-i {
        top: clamp(-70px, -12.5vw, -80px) !important;
    }
}

/* ========= Видео-баннеры ========= */
.gulliver-video-banner {
    position: relative;
    z-index: 1;
    padding: clamp(40px, 6vw, 72px) 20px clamp(48px, 7vw, 88px);
    background-color: #ffffff;
    box-sizing: border-box;
    overflow: hidden;
}

.gulliver-video-banner::before {
    content: "";
    position: absolute;
    top: clamp(-150px, -10vw, -180px);
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    pointer-events: none;
    background-image: url('../images/cases/figur.png');
    background-repeat: no-repeat;
    background-position: left clamp(8px, 3vw, 40px) center;
}

.gulliver-video-banner__inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    gap: clamp(20px, 3vw, 40px);
    max-width: 1200px;
    margin: 0 auto;
}

.gulliver-video-banner__aside {
    position: relative;
    flex: 1 1 46%;
    min-width: min(100%, 280px);
    align-self: stretch;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.gulliver-video-banner__panel {
    position: relative;
    z-index: 1;
    width: 80%;
    padding: clamp(24px, 3vw, 36px) clamp(24px, 3vw, 40px);
    background-color: #6a6a72;
    border-radius: 24px;
    box-sizing: border-box;
}

.gulliver-video-banner__icon-wrap {
    display: block;
    margin-bottom: clamp(16px, 2vw, 22px);
}

.gulliver-video-banner__icon {
    display: block;
    width: 50px;
    height: 50px;
}

.gulliver-video-banner__title {
    margin: 0;
    font-family: 'Gilroy', sans-serif;
    font-size: clamp(18px, 2.2vw, 28px);
    font-weight: 500 !important;
    line-height: 1.25;
    letter-spacing: -0.02em;
    color: #ffffff;
    text-align: left;
}

.gulliver-video-banner__figure {
    flex: 1 1 48%;
    min-width: 0;
    margin: 0;
    max-width: min(100%, 420px);
}

.gulliver-video-banner__gif {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 12px;
    clip-path: inset(18px 40px 49px 50px round 50px);
}

@media (max-width: 900px) {
    .gulliver-video-banner__inner {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

    .gulliver-video-banner__panel {
        width: 100%;
    }

    .gulliver-video-banner__figure {
        flex: none;
        max-width: min(100%, 320px);
        align-self: center;
        order: 1;
    }

    .gulliver-video-banner__aside {
        flex: none;
        order: 2;
        align-items: stretch;
    }

    .gulliver-video-banner::before {
        top: clamp(-40px, -10vw, -88px);
        left: clamp(-120px, -32vw, -36px);
        right: 0;
        bottom: 0;
        background-size: auto 122%;
        background-position: left center;
        opacity: 0.72;
    }
}

/* ========= Поиск / бренд-зона ========= */
.gulliver-brand-search {
    position: relative;
    z-index: 1;
    padding: clamp(48px, 7vw, 96px) 20px clamp(56px, 8vw, 100px);
    background-color: #ffffff;
    box-sizing: border-box;
    overflow: hidden;
    max-width: 1200px;
    margin: 0 auto;
}

.gulliver-brand-search::before {
    content: "";
    position: absolute;
    z-index: 0;
    pointer-events: none;
    top: 90%;
    left: 35%;
    width: min(100%, 1120px);
    max-width: 100%;
    aspect-ratio: 1;
    height: auto;
    background-image: url('../images/cases/figur.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    transform: translate(-50%, -50%) rotate(70deg);
    transform-origin: center center;
    opacity: 0.78;
}

.gulliver-brand-search__inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    gap: clamp(24px, 2vw, 48px);
    max-width: 1200px;
    margin: 0 auto;
}

.gulliver-brand-search__copy {
    position: relative;
    z-index: 2;
    flex: 1 1 52%;
    min-width: min(100%, 280px);
    display: flex;
    flex-direction: column;
    gap: clamp(18px, 2.4vw, 28px);
}

.gulliver-brand-search__text {
    margin: 0;
    font-family: 'Gilroy', sans-serif;
    font-size: clamp(18px, 2.2vw, 28px);
    font-weight: 500 !important;
    line-height: 1.45;
    letter-spacing: -0.02em;
    color: #1a1a1a;
}

.gulliver-brand-search__visual {
    position: relative;
    flex: 1 1 46%;
    min-width: 0;
    max-width: min(100%, 460px);
    margin: 0;
}

.gulliver-brand-search__star {
    position: absolute;
    z-index: 0;
    left: 32%;
    top: 52%;
    transform: translate(-50%, -50%) rotate(-12deg);
    width: min(118%, 520px);
    pointer-events: none;
    /* path с fill="currentColor" — без этого наследуется #333 у страницы */
    color: #dcff00;
}

.gulliver-brand-search__star-svg {
    display: block;
    width: 100%;
    height: auto;
}

.gulliver-brand-search__phones {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    height: auto;
}

@media (max-width: 900px) {
    .gulliver-brand-search__inner {
        flex-direction: column;
        align-items: stretch;
        gap: clamp(28px, 5vw, 40px);
    }

    .gulliver-brand-search__copy {
        flex: none;
        order: 1;
    }

    .gulliver-brand-search__visual {
        flex: none;
        order: 2;
        max-width: min(100%, 340px);
        align-self: center;
    }

    .gulliver-brand-search::before {
        top: 82%;
        width: min(150%, 920px);
        max-width: 150%;
    }
}

/* ========= Показатели (E + список, перед формой) ========= */
.gulliver-metrics {
    position: relative;
    z-index: 1;
    padding: clamp(48px, 7vw, 96px) clamp(20px, 4vw, 32px) clamp(56px, 8vw, 100px);
    background-color: #ffffff;
    box-sizing: border-box;
    overflow: hidden;
}

.gulliver-metrics::before {
    content: "";
    position: absolute;
    z-index: 0;
    pointer-events: none;
    top: 40%;
    left: 75%;
    width: min(100%, 820px);
    max-width: 100%;
    aspect-ratio: 1;
    height: auto;
    background-image: url('../images/cases/figur.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    transform: translate(-50%, -50%) rotate(70deg);
    transform-origin: center center;
    opacity: 0.78;
}

/*.gulliver-metrics::after {*/
/*    content: "";*/
/*    position: absolute;*/
/*    z-index: 0;*/
/*    pointer-events: none;*/
/*    top: 88%;*/
/*    right: 8%;*/
/*    width: min(90%, 720px);*/
/*    max-width: 100%;*/
/*    aspect-ratio: 1;*/
/*    height: auto;*/
/*    background-image: url('../images/cases/figur.png');*/
/*    background-repeat: no-repeat;*/
/*    background-position: center;*/
/*    background-size: contain;*/
/*    transform: translate(40%, -50%) rotate(-35deg);*/
/*    transform-origin: center center;*/
/*    opacity: 0.55;*/
/*}*/

.gulliver-metrics__inner {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 0;
}

.gulliver-metrics__visual {
    position: absolute;
    z-index: 2;
    right: clamp(0px, 2vw, 24px);
    bottom: clamp(-60px, -15vw, 16px);
    left: -5%;
    top: 20%;
    pointer-events: none;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    min-width: 0;
    max-width: min(46vw, 320px);
}

.gulliver-metrics__e {
    display: block;
    width: 100%;
    max-width: 320px;
    height: auto;
    object-fit: contain;
}

.gulliver-metrics__copy {
    position: relative;
    z-index: 2;
    margin-left: auto;
    margin-right: auto;
    max-width: min(92vw, 560px);
    width: 100%;
}

.gulliver-metrics__list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.gulliver-metrics__item {
    display: flex;
    align-items: flex-start;
    gap: clamp(14px, 2.2vw, 22px);
    margin: 0 0 clamp(22px, 3.2vw, 32px);
}

.gulliver-metrics__item:last-child {
    margin-bottom: 0;
}

.gulliver-metrics__marker {
    flex-shrink: 0;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    width: clamp(40px, 5.5vw, 52px);
    padding-top: 4px;
}

.gulliver-metrics__marker-svg {
    display: block;
    width: 100%;
    height: auto;
}

.gulliver-metrics__text {
    margin: 0;
    font-family: 'Gilroy', sans-serif;
    font-size: clamp(18px, 2.2vw, 28px);
    font-weight: 500 !important;
    line-height: 1.45;
    letter-spacing: -0.02em;
    color: #1a1a1a;
}

@media (max-width: 900px) {
    .gulliver-metrics__inner {
        padding-bottom: clamp(100px, 36vw, 200px);
    }

    .gulliver-metrics__visual {
        right: clamp(-8px, -1vw, 12px);
        bottom: clamp(-80px, -19vw, 8px);
        max-width: min(58vw, 260px);
        top: auto;
        left: auto;
    }

    .gulliver-metrics__copy {
        max-width: min(100%, 520px);
    }

    .gulliver-metrics::before {
        top: 38%;
        left: 18%;
        width: min(140%, 820px);
        opacity: 0.65;
    }
}

@media (max-width: 800px) {
    .gulliver-metrics__copy {
        margin-left: 0;
        margin-right: 0;
        max-width: 100%;
        text-align: left;
    }
}

/* ========= Отзыв (перед формой) ========= */
.gulliver-testimonial {
    padding: clamp(48px, 7vw, 96px) clamp(20px, 4vw, 32px);
    background-color: #6c6d72;
    box-sizing: border-box;
}

.gulliver-testimonial__inner {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    gap: clamp(24px, 4vw, 56px);
    max-width: 1200px;
    margin: 0 auto;
}

.gulliver-testimonial__brand {
    flex: 0 0 auto;
    align-self: center;
}

.gulliver-testimonial__logo {
    display: block;
    width: clamp(140px, 22vw, 220px);
    height: auto;
}

.gulliver-testimonial__copy {
    flex: 1 1 0;
    min-width: 0;
    color: #ffffff;
}

.gulliver-testimonial__quote {
    margin: 0;
    font-family: 'Gilroy', sans-serif;
    font-size: clamp(17px, 1.85vw, 22px);
    font-weight: 400;
    line-height: 1.55;
    letter-spacing: -0.01em;
}

.gulliver-testimonial__quote p {
    margin: 0 0 clamp(16px, 2.2vw, 22px);
}

.gulliver-testimonial__quote p:last-of-type {
    margin-bottom: clamp(20px, 2.8vw, 28px);
}

.gulliver-testimonial__accent {
    color: #d4ff00;
    font-weight: 600;
}

.gulliver-testimonial__signature {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
    font-family: 'Gilroy', sans-serif;
    font-size: clamp(15px, 1.4vw, 17px);
    font-weight: 500;
    color: #ffffff;
}

.gulliver-testimonial__sig-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #ffffff;
    color: #4a4a52;
    font-size: 17px;
    font-weight: 600;
    line-height: 1;
}

.gulliver-testimonial__sig-name {
    line-height: 1.2;
}

.gulliver-testimonial__visual {
    flex: 0 0 auto;
    align-self: stretch;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    min-width: 0;
}

.gulliver-testimonial__v {
    display: block;
    width: auto;
    max-width: min(38vw, 280px);
    height: auto;
    max-height: clamp(220px, 32vw, 400px);
    object-fit: contain;
    transform: rotate(9deg);
    object-position: right center;
}

@media (max-width: 900px) {
    .gulliver-testimonial {
        background-color: #ffffff;
        padding: clamp(24px, 5vw, 40px) clamp(16px, 4vw, 24px) clamp(64px, 20vw, 112px);
    }

    .gulliver-testimonial__inner {
        position: relative;
        flex-direction: column;
        align-items: stretch;
        text-align: left;
        gap: 0;
        background-color: #5d5e66;
        border-radius: clamp(20px, 5vw, 28px);
        padding: clamp(22px, 5vw, 32px) clamp(18px, 4vw, 24px) clamp(88px, 26vw, 132px);
        overflow: visible;
    }

    .gulliver-testimonial__brand {
        display: none;
    }

    .gulliver-testimonial__copy {
        position: relative;
        z-index: 1;
    }

    .gulliver-testimonial__visual {
        position: absolute;
        right: clamp(-6px, -1vw, 4px);
        bottom: clamp(-96px, -15vw, -16px);
        left: auto;
        top: auto;
        align-self: auto;
        justify-content: flex-end;
        align-items: flex-end;
        width: auto;
        min-width: 0;
        pointer-events: none;
    }

    .gulliver-testimonial__v {
        max-width: min(50vw, 220px);
        max-height: none;
        width: auto;
        height: auto;
        margin: 0;
        transform: rotate(-8deg);
        object-position: right bottom;
    }

    .gulliver-page #contact.gulliver-contact .gulliver-contact__decor{
        right: -40% !important;
    }
}

@media (max-width: 400px) {
    .gulliver-metrics__visual {
        right: clamp(-8px, -1vw, 12px);
        bottom: clamp(-120px, -18vw, -40px);
        max-width: min(52vw, 260px);
    }
}

/* ========= Форма обратной связи ========= */
.gulliver-page #contact.gulliver-contact.contact-form {
    margin-top: 0;
    padding: clamp(48px, 8vw, 88px) clamp(16px, 4vw, 32px) clamp(56px, 9vw, 96px);
    background-color: #ffffff;
    background-image: url('../images/cases/back-form.png');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    box-sizing: border-box;
    position: relative;
    overflow-x: clip;
}

.gulliver-page #contact.gulliver-contact .gulliver-contact__container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
}

.gulliver-page #contact.gulliver-contact .gulliver-contact__decor {
    position: absolute;
    z-index: 0;
    right: -60%;
    left: auto;
    top: 30%;
    transform: translateY(-50%);
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.gulliver-page #contact.gulliver-contact .gulliver-contact__r {
    display: block;
    width: auto;
    max-width: min(42vw, 380px);
    height: auto;
    max-height: clamp(180px, 38vw, 480px);
    object-fit: contain;
    opacity: 0.95;
}

.gulliver-page #contact.gulliver-contact .gulliver-contact__layout {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.gulliver-page #contact.gulliver-contact .contact-form__content.gulliver-contact__layout {
    background-color: transparent;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
    overflow: visible;
}

.gulliver-page #contact.gulliver-contact .contact-form__content::before {
    display: none;
}

.gulliver-page #contact.gulliver-contact .contact-form__left.gulliver-contact__panel {
    position: relative;
    overflow: visible;
    width: 100%;
    max-width: min(520px, 100%);
    padding: clamp(28px, 4vw, 40px) clamp(22px, 4vw, 36px) clamp(28px, 4vw, 36px);
    background-color: #6a6a72;
    border-radius: 16px;
    box-shadow: none;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.gulliver-page #contact.gulliver-contact .gulliver-contact__form,
.gulliver-page #contact.gulliver-contact .gulliver-contact__heading {
    position: relative;
    z-index: 1;
}

.gulliver-page #contact.gulliver-contact .contact-form__title.gulliver-contact__heading {
    font-family: 'Gilroy', sans-serif;
    font-size: clamp(22px, 2vw, 32px);
    font-weight: 600 !important;
    line-height: 1.25;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #ffffff;
    margin: 0 0 clamp(20px, 3vw, 28px);
}

.gulliver-page #contact.gulliver-contact .contact-form__form.gulliver-contact__form {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 0;
}

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

.gulliver-page #contact.gulliver-contact .form-group.gulliver-contact__field {
    width: 100%;
    margin: 0 0 clamp(20px, 2.8vw, 28px);
    position: relative;
}

.gulliver-page #contact.gulliver-contact .form-input.gulliver-contact__input {
    width: 100%;
    padding: 12px 0;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 0;
    font-size: 16px;
    font-family: 'Gilroy', sans-serif;
    outline: none;
    background-color: transparent;
    font-weight: 400;
    line-height: 1.6;
    color: #f2f2f5;
    transition: border-color 0.3s ease;
    margin-bottom: 0;
    box-sizing: border-box;
}

.gulliver-page #contact.gulliver-contact .form-input.gulliver-contact__input:focus {
    border-bottom-color: #ffffff;
    box-shadow: none;
}

.gulliver-page #contact.gulliver-contact .form-input.gulliver-contact__input::placeholder {
    color: rgba(255, 255, 255, 0.45);
    transition: opacity 0.3s ease;
}

.gulliver-page #contact.gulliver-contact .form-input.gulliver-contact__input:focus::placeholder {
    opacity: 0.7;
}

.gulliver-page #contact.gulliver-contact .checkbox-container input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    height: 0;
    width: 0;
}

.gulliver-page #contact.gulliver-contact .checkmark {
    position: relative;
    flex-shrink: 0;
    display: inline-block;
    width: 20px;
    height: 20px;
    background-color: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 4px;
    top: auto;
    left: auto;
}

.gulliver-page #contact.gulliver-contact .checkbox-container:hover input[type="checkbox"] ~ .checkmark {
    border-color: #ffffff;
}

.gulliver-page #contact.gulliver-contact .checkbox-container input[type="checkbox"]:checked ~ .checkmark {
    background-color: #ffffff;
    border-color: #ffffff;
}

.gulliver-page #contact.gulliver-contact .checkmark::after {
    content: "";
    position: absolute;
    display: none;
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid #6a6a72;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.gulliver-page #contact.gulliver-contact .checkbox-container input[type="checkbox"]:checked ~ .checkmark::after {
    display: block;
}

.gulliver-page #contact.gulliver-contact .checkbox-text {
    font-size: 13px;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.88);
}

.gulliver-page #contact.gulliver-contact .checkbox-container.gulliver-contact__checkbox-wrap {
    display: flex;
    align-items: flex-start;
    position: relative;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.45;
    padding: clamp(8px, 1.5vw, 12px) 0 4px;
    gap: 10px;
    margin-top: 4px;
    margin-bottom: clamp(16px, 2.5vw, 22px);
    cursor: pointer;
}

.gulliver-page #contact.gulliver-contact .privacy-link {
    color: #ffffff;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.gulliver-page #contact.gulliver-contact .privacy-link:hover {
    color: #e8e8ec;
}

.gulliver-page #contact.gulliver-contact .submit-button.gulliver-contact__submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: flex-start;
    padding: 12px 32px;
    min-height: 44px;
    border-radius: 99px;
    background-color: #f2f2f5;
    color: #4a4a52;
    font-size: 16px;
    font-family: 'Gilroy', sans-serif;
    font-weight: 600;
    letter-spacing: 0.12em;
    width: auto;
    max-width: 100%;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.15s ease;
}

.gulliver-page #contact.gulliver-contact .submit-button.gulliver-contact__submit:hover {
    background-color: #ffffff;
    box-shadow: none;
    transform: none;
}

.gulliver-page #contact.gulliver-contact .submit-button.gulliver-contact__submit:disabled {
    opacity: 0.65;
    cursor: default;
}

@media (max-width: 768px) {
    .gulliver-page #contact.gulliver-contact.contact-form {
        padding: 40px 20px clamp(56px, 18vw, 96px);
        overflow-x: visible;
    }

    .gulliver-page #contact.gulliver-contact .gulliver-contact__decor {
        top: auto;
        bottom: clamp(-152px, -15vw, -120px);
        right: clamp(-8px, -2vw, 12px) !important;
        left: auto;
        transform: none;
        z-index: 2;
        opacity: 1;
    }

    .gulliver-page #contact.gulliver-contact .gulliver-contact__r {
        max-width: min(52vw, 200px);
        max-height: 260px;
    }

    .gulliver-page #contact.gulliver-contact .contact-form__left.gulliver-contact__panel {
        padding: 24px 18px clamp(52px, 16vw, 76px);
        border-radius: 20px;
    }

    .gulliver-page #contact.gulliver-contact .contact-form__title.gulliver-contact__heading {
        margin-bottom: 20px;
    }

    .gulliver-page #contact.gulliver-contact .form-input.gulliver-contact__input {
        font-size: 15px;
        padding: 11px 0;
    }

    .gulliver-page #contact.gulliver-contact .submit-button.gulliver-contact__submit {
        width: 100%;
        justify-content: center;
    }
}
