/* ==========================================================================
   Гидроцилиндры: конверсионная посадочная для Яндекс.Директа
   ========================================================================== */

.hydro-conversion {
    --hydro-navy: #002359;
    --hydro-navy-deep: #001a43;
    --hydro-yellow: #f5b335;
    --hydro-yellow-hover: #ffc34d;
    --hydro-text: #101828;
    --hydro-muted: #526070;
    --hydro-border: #dce2ea;
    --hydro-surface: #f6f8fb;
    --hydro-white: #ffffff;
    --hydro-radius: 12px;
    --hydro-shadow: 0 14px 34px rgba(0, 35, 89, 0.1);
    color: var(--hydro-text);
    background: var(--hydro-white);
}

.hydro-conversion *,
.hydro-conversion *::before,
.hydro-conversion *::after {
    box-sizing: border-box;
}

.hydro-conversion h1,
.hydro-conversion h2,
.hydro-conversion h3,
.hydro-conversion p {
    margin-top: 0;
}

.hydro-conversion a {
    text-decoration: none;
}

.hydro-button {
    display: inline-flex;
    min-height: 56px;
    align-items: center;
    justify-content: center;
    padding: 14px 24px;
    border: 2px solid transparent;
    border-radius: 9px;
    font: inherit;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    cursor: pointer;
    transition:
        color 180ms ease,
        background 180ms ease,
        border-color 180ms ease,
        transform 180ms ease,
        box-shadow 180ms ease;
}

.hydro-button:hover {
    transform: translateY(-1px);
}

.hydro-button:focus-visible,
.hydro-contact-link:focus-visible,
.hydro-text-link:focus-visible,
.hydro-messenger-button:focus-visible,
.hydro-product__request:focus-visible,
.hydro-final__phone:focus-visible,
.hydro-final__messengers a:focus-visible {
    outline: 3px solid rgba(245, 179, 53, 0.48);
    outline-offset: 3px;
}

.hydro-button--primary {
    border-color: var(--hydro-yellow);
    background: var(--hydro-yellow);
    color: var(--hydro-navy-deep);
    box-shadow: 0 9px 24px rgba(245, 179, 53, 0.22);
}

.hydro-button--primary:hover {
    border-color: var(--hydro-yellow-hover);
    background: var(--hydro-yellow-hover);
    color: var(--hydro-navy-deep);
    box-shadow: 0 12px 30px rgba(245, 179, 53, 0.3);
}

.hydro-button--secondary {
    border-color: rgba(255, 255, 255, 0.4);
    background: transparent;
    color: var(--hydro-white);
}

.hydro-button--secondary:hover {
    border-color: var(--hydro-white);
    background: rgba(255, 255, 255, 0.08);
    color: var(--hydro-white);
}

.hydro-section-heading {
    max-width: 760px;
}

.hydro-section-heading h2,
.hydro-trust h2,
.hydro-final h2 {
    color: var(--hydro-text);
    font-family: var(--font-family-heading);
    font-size: clamp(30px, 3vw, 44px);
    line-height: 1.12;
}

.hydro-section-heading p {
    margin-bottom: 0;
    color: var(--hydro-muted);
    font-size: 17px;
    line-height: 1.6;
}

/* Компактная шапка освобождает первый экран под оффер и действие. */
@media (min-width: 769px) {
    body:has(.hydro-conversion) .header-top {
        padding: 7px 0;
    }

    body:has(.hydro-conversion) .header-top__inner {
        flex-wrap: nowrap;
    }

    body:has(.hydro-conversion) .header-top__logo img {
        height: 64px;
    }

    body:has(.hydro-conversion) .header-top__tagline {
        max-width: 250px;
        font-size: 13px;
    }

    body:has(.hydro-conversion) .header-contact-box {
        gap: 16px;
        padding: 8px 14px;
        border-radius: 13px;
        background: var(--hydro-white);
    }

    body:has(.hydro-conversion) .header-contact-box__main {
        gap: 3px;
    }

    body:has(.hydro-conversion) .header-contact-box__phone {
        font-size: 18px;
    }

    body:has(.hydro-conversion) .header-contact-box__email {
        font-size: 12px;
    }

    body:has(.hydro-conversion) .header-contact-box__icon {
        width: 24px;
        height: 24px;
    }

    body:has(.hydro-conversion) .header-contact-box__messengers {
        gap: 4px;
        padding-left: 16px;
    }

    body:has(.hydro-conversion) .header-contact-box__links a {
        width: 34px;
        height: 34px;
    }

    body:has(.hydro-conversion) .header-nav {
        padding: 6px 0;
    }
}

/* Первый экран */
.hydro-hero {
    overflow: hidden;
    background: var(--hydro-navy);
}

.hydro-hero__grid {
    display: grid;
    min-height: 520px;
    grid-template-columns: minmax(0, 1fr) minmax(420px, 0.94fr);
    align-items: stretch;
    gap: clamp(28px, 4vw, 64px);
}

.hydro-hero__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 42px 0 44px;
}

.hydro-hero__title {
    max-width: 720px;
    margin-bottom: 20px;
    color: var(--hydro-white);
    font-family: var(--font-family-heading);
    font-size: clamp(42px, 4.2vw, 54px);
    line-height: 1.04;
    letter-spacing: -0.025em;
}

.hydro-hero__lead {
    max-width: 700px;
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: clamp(17px, 1.5vw, 20px);
    line-height: 1.62;
}

.hydro-hero__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-top: 28px;
}

.hydro-hero__actions .hydro-button {
    min-width: 220px;
}

.hydro-hero__contacts {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 18px;
    margin-top: 22px;
}

.hydro-contact-link {
    color: rgba(255, 255, 255, 0.84);
    font-size: 15px;
    font-weight: 650;
    text-decoration: underline;
    text-decoration-color: rgba(245, 179, 53, 0.56);
    text-underline-offset: 5px;
    transition: color 180ms ease, text-decoration-color 180ms ease;
}

.hydro-contact-link:hover {
    color: var(--hydro-white);
    text-decoration-color: var(--hydro-yellow);
}

.hydro-contact-link--phone {
    color: var(--hydro-white);
    font-size: 18px;
    text-decoration: none;
}

.hydro-hero__media {
    display: flex;
    min-width: 0;
    align-items: stretch;
    justify-content: flex-end;
    background: #0b1523;
}

.hydro-hero__media img {
    display: block;
    width: 100%;
    max-width: 600px;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

/* Полоса доверия */
.hydro-proof {
    position: relative;
    z-index: 2;
    border-bottom: 1px solid var(--hydro-border);
    background: var(--hydro-white);
    box-shadow: 0 8px 24px rgba(0, 35, 89, 0.06);
}

.hydro-proof__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.hydro-proof__item {
    display: flex;
    min-height: 92px;
    align-items: center;
    gap: 14px;
    padding: 20px 24px;
    border-right: 1px solid var(--hydro-border);
    color: var(--hydro-text);
    font-size: 15px;
    line-height: 1.35;
}

.hydro-proof__item:last-child {
    border-right: 0;
}

.hydro-proof__item svg {
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
    fill: none;
    stroke: var(--hydro-navy);
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.hydro-proof__item strong {
    margin-right: 3px;
    color: var(--hydro-navy);
    font-size: 22px;
}

/* Короткая заявка */
.hydro-request {
    scroll-margin-top: 118px;
    padding: 78px 0;
    background: var(--hydro-white);
}

.hydro-request__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(300px, 0.7fr);
    gap: clamp(42px, 7vw, 96px);
}

.hydro-request__form-card .hydro-section-heading {
    margin-bottom: 30px;
}

.hydro-form__fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.hydro-field-group {
    display: grid;
    gap: 8px;
    color: var(--hydro-text);
    font-size: 14px;
    font-weight: 700;
}

.hydro-field-group--wide {
    grid-column: 1 / -1;
}

.hydro-field-group small {
    color: var(--hydro-muted);
    font-size: 12px;
    font-weight: 500;
}

.hydro-conversion .hydro-field {
    width: 100%;
    min-height: 54px;
    padding: 13px 15px;
    border: 1px solid #cdd5df;
    border-radius: 8px;
    background: #f8fafc;
    color: var(--hydro-text);
    font: inherit;
    font-size: 16px;
    line-height: 1.4;
    outline: none;
    transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.hydro-conversion .hydro-field::placeholder {
    color: #778395;
}

.hydro-conversion .hydro-field:focus {
    border-color: var(--hydro-navy);
    background: var(--hydro-white);
    box-shadow: 0 0 0 3px rgba(0, 35, 89, 0.1);
}

.hydro-conversion .hydro-field--textarea {
    min-height: 94px;
    resize: vertical;
}

.hydro-consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 18px;
    color: var(--hydro-muted);
    font-size: 13px;
    line-height: 1.45;
    cursor: pointer;
}

.hydro-consent input {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    margin: 1px 0 0;
    accent-color: var(--hydro-navy);
}

.hydro-consent a {
    color: var(--hydro-navy);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.hydro-form__submit {
    min-width: 250px;
    margin-top: 22px;
}

.hydro-form__success {
    padding: 28px;
    border: 1px solid rgba(34, 197, 94, 0.28);
    border-radius: var(--hydro-radius);
    background: #f0fdf4;
    color: #14532d;
}

.hydro-form__success h3 {
    margin-bottom: 6px;
    font-size: 22px;
}

.hydro-form__success p {
    margin-bottom: 0;
}

.hydro-request__messengers {
    align-self: start;
    padding-left: clamp(30px, 5vw, 72px);
    border-left: 1px solid var(--hydro-border);
}

.hydro-request__messengers h2 {
    margin-bottom: 14px;
    color: var(--hydro-text);
    font-family: var(--font-family-heading);
    font-size: clamp(27px, 2.2vw, 36px);
    line-height: 1.15;
}

.hydro-request__messengers > p {
    margin-bottom: 0;
    color: var(--hydro-muted);
    font-size: 16px;
    line-height: 1.6;
}

.hydro-request__messenger-actions {
    display: grid;
    gap: 12px;
    margin-top: 26px;
}

.hydro-messenger-button {
    display: flex;
    min-height: 56px;
    align-items: center;
    gap: 12px;
    padding: 13px 16px;
    border: 1px solid var(--hydro-border);
    border-radius: 8px;
    background: var(--hydro-white);
    color: var(--hydro-text);
    font-size: 15px;
    font-weight: 700;
    transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.hydro-messenger-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(0, 35, 89, 0.08);
}

.hydro-messenger-button--telegram:hover {
    border-color: #229ed9;
}

.hydro-messenger-button--whatsapp:hover {
    border-color: #25d366;
}

.hydro-request__messenger-note {
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid var(--hydro-border);
    font-size: 14px !important;
}

/* Реальные товары */
.hydro-products {
    padding: 76px 0 84px;
    background: var(--hydro-surface);
}

.hydro-section-top {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 28px;
    margin-bottom: 32px;
}

.hydro-text-link {
    flex: 0 0 auto;
    padding-bottom: 4px;
    border-bottom: 2px solid var(--hydro-yellow);
    color: var(--hydro-navy);
    font-size: 15px;
    font-weight: 700;
}

.hydro-text-link:hover {
    color: var(--hydro-navy-deep);
}

.hydro-products__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.hydro-product {
    display: flex;
    min-width: 0;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--hydro-border);
    border-radius: var(--hydro-radius);
    background: var(--hydro-white);
    box-shadow: 0 6px 18px rgba(0, 35, 89, 0.045);
    transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.hydro-product:hover {
    border-color: #bac5d2;
    transform: translateY(-2px);
    box-shadow: var(--hydro-shadow);
}

.hydro-product__image-link {
    display: flex;
    aspect-ratio: 1 / 1;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-bottom: 1px solid var(--hydro-border);
    background: var(--hydro-white);
}

.hydro-product__image {
    display: block;
    width: 100%;
    height: 100%;
    padding: 14px;
    object-fit: contain;
}

.hydro-product__image-link > .image-placeholder {
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 0;
}

.hydro-product__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 18px;
}

.hydro-product__title {
    display: -webkit-box;
    min-height: calc(1.4em * 3);
    overflow: hidden;
    color: var(--hydro-text);
    font-size: 16px;
    font-weight: 750;
    line-height: 1.4;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.hydro-product__title:hover {
    color: var(--hydro-navy);
}

.hydro-product__sku {
    margin-top: 9px;
    color: var(--hydro-muted);
    font-size: 13px;
    overflow-wrap: anywhere;
}

.hydro-product__commerce {
    display: grid;
    gap: 5px;
    margin-top: auto;
    padding-top: 18px;
}

.hydro-product__commerce strong {
    color: var(--hydro-text);
    font-size: 22px;
}

.hydro-product__commerce span {
    color: var(--hydro-muted);
    font-size: 13px;
}

.hydro-product__request {
    width: 100%;
    min-height: 46px;
    margin-top: 16px;
    padding: 10px 12px;
    border: 1px solid var(--hydro-yellow);
    border-radius: 7px;
    background: var(--hydro-yellow);
    color: var(--hydro-navy-deep);
    font: inherit;
    font-size: 14px;
    font-weight: 750;
    cursor: pointer;
    transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.hydro-product__request:hover {
    border-color: var(--hydro-yellow-hover);
    background: var(--hydro-yellow-hover);
    transform: translateY(-1px);
}

.hydro-products__empty {
    padding: 30px;
    border: 1px solid var(--hydro-border);
    border-radius: var(--hydro-radius);
    background: var(--hydro-white);
}

/* Логика точного подбора */
.hydro-fit {
    padding: 78px 0 68px;
    background: var(--hydro-navy);
}

.hydro-fit__heading {
    max-width: 860px;
    margin: 0 auto 42px;
    text-align: center;
}

.hydro-fit__heading h2 {
    margin-bottom: 12px;
    color: var(--hydro-white);
    font-family: var(--font-family-heading);
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.12;
}

.hydro-fit__heading p {
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 17px;
}

.hydro-fit__steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

.hydro-fit__steps li {
    display: grid;
    align-content: start;
    grid-template-columns: auto 1fr;
    gap: 16px;
    min-width: 0;
    padding: 0 26px;
    border-right: 1px solid rgba(255, 255, 255, 0.16);
}

.hydro-fit__steps li:first-child {
    padding-left: 0;
}

.hydro-fit__steps li:last-child {
    padding-right: 0;
    border-right: 0;
}

.hydro-fit__number {
    color: var(--hydro-yellow);
    font-family: var(--font-family-heading);
    font-size: 50px;
    font-weight: 800;
    line-height: 0.95;
}

.hydro-fit__steps h3 {
    margin-bottom: 10px;
    color: var(--hydro-white);
    font-size: 19px;
    line-height: 1.25;
}

.hydro-fit__steps p {
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.68);
    font-size: 14px;
    line-height: 1.55;
}

.hydro-fit__reassurance {
    max-width: 720px;
    margin: 38px auto 0;
    padding-top: 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--hydro-white);
    font-size: 18px;
    font-weight: 700;
    text-align: center;
}

/* Коммерческое доверие */
.hydro-trust {
    padding: 78px 0;
    background: var(--hydro-white);
}

.hydro-trust__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(42px, 7vw, 96px);
}

.hydro-trust__column--company {
    padding-left: clamp(36px, 6vw, 82px);
    border-left: 1px solid var(--hydro-border);
}

.hydro-trust h2 {
    margin-bottom: 28px;
    font-size: clamp(30px, 3vw, 40px);
}

.hydro-trust__list {
    display: grid;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

.hydro-trust__list li {
    position: relative;
    display: grid;
    gap: 5px;
    padding: 19px 0 19px 42px;
    border-bottom: 1px solid var(--hydro-border);
}

.hydro-trust__list li:first-child {
    padding-top: 0;
}

.hydro-trust__list li:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.hydro-trust__list li::before {
    content: "";
    position: absolute;
    top: 22px;
    left: 4px;
    width: 19px;
    height: 10px;
    border-bottom: 3px solid var(--hydro-yellow);
    border-left: 3px solid var(--hydro-yellow);
    transform: rotate(-45deg);
}

.hydro-trust__list li:first-child::before {
    top: 3px;
}

.hydro-trust__list strong {
    color: var(--hydro-text);
    font-size: 17px;
}

.hydro-trust__list span {
    color: var(--hydro-muted);
    font-size: 14px;
    line-height: 1.5;
}

/* FAQ */
.hydro-faq {
    padding: 76px 0;
    border-top: 1px solid var(--hydro-border);
    background: var(--hydro-surface);
}

.hydro-faq .hydro-section-heading {
    margin-bottom: 32px;
}

.hydro-faq__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: clamp(44px, 7vw, 100px);
}

.hydro-faq__grid article {
    padding: 25px 0;
    border-bottom: 1px solid var(--hydro-border);
}

.hydro-faq__grid h3 {
    margin-bottom: 9px;
    color: var(--hydro-text);
    font-size: 20px;
    line-height: 1.3;
}

.hydro-faq__grid p {
    margin-bottom: 0;
    color: var(--hydro-muted);
    font-size: 15px;
    line-height: 1.6;
}

/* Финальный призыв */
.hydro-final {
    background: var(--hydro-navy);
}

.hydro-final__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 32px 64px;
    padding-top: 62px;
    padding-bottom: 34px;
}

.hydro-final__copy h2 {
    margin-bottom: 12px;
    color: var(--hydro-white);
}

.hydro-final__copy p {
    max-width: 720px;
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.76);
    font-size: 18px;
    line-height: 1.55;
}

.hydro-final__actions {
    display: grid;
    min-width: 280px;
    justify-items: center;
    gap: 12px;
}

.hydro-final__actions .hydro-button {
    width: 100%;
}

.hydro-final__phone {
    color: var(--hydro-white);
    font-size: 23px;
    font-weight: 800;
}

.hydro-final__messengers {
    display: flex;
    gap: 20px;
}

.hydro-final__messengers a {
    color: rgba(255, 255, 255, 0.82);
    font-size: 14px;
    font-weight: 650;
    text-decoration: underline;
    text-decoration-color: rgba(245, 179, 53, 0.55);
    text-underline-offset: 4px;
}

.hydro-final__legal {
    grid-column: 1 / -1;
    margin: 4px 0 0;
    padding-top: 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
    text-align: center;
}

/* Cookie, чат и модальные окна не должны конкурировать за один слой. */
body:has(.hydro-conversion) .modal {
    z-index: 10020;
}

body:has(.hydro-conversion):has(.cookie-banner.active) .chat-widget,
body:has(.hydro-conversion):has(.modal.active) .chat-widget,
body:has(.hydro-conversion):has(.modal.is-active) .chat-widget {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
}

body:has(.hydro-conversion) .chat-widget__hint {
    display: none !important;
}

@media (min-width: 769px) {
    body:has(.hydro-conversion) .cookie-banner__inner {
        gap: 18px;
        padding: 12px 24px;
    }

    body:has(.hydro-conversion) .cookie-banner__content {
        align-items: center;
        gap: 12px;
    }

    body:has(.hydro-conversion) .cookie-banner__icon {
        width: 28px;
        height: 28px;
        margin-top: 0;
    }

    body:has(.hydro-conversion) .cookie-banner__title {
        margin-bottom: 2px;
        font-size: 14px;
    }

    body:has(.hydro-conversion) .cookie-banner__desc {
        font-size: 12px;
        line-height: 1.4;
    }

    body:has(.hydro-conversion) .cookie-banner__actions {
        gap: 8px;
    }

    body:has(.hydro-conversion) .cookie-banner__btn {
        min-height: 40px;
        padding: 8px 14px;
        font-size: 12px;
    }

    body:has(.hydro-conversion) .cookie-banner__btn--settings {
        padding-right: 8px;
        padding-left: 8px;
    }
}

@media (max-width: 1180px) {
    .hydro-hero__grid {
        grid-template-columns: minmax(0, 1fr) minmax(380px, 0.88fr);
        gap: 34px;
    }

    .hydro-hero__title {
        font-size: clamp(40px, 4.5vw, 52px);
    }

    .hydro-proof__item {
        padding-right: 16px;
        padding-left: 16px;
    }

    .hydro-products__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    .hydro-fit__steps li:nth-child(2) {
        padding-right: 0;
        border-right: 0;
    }

    .hydro-fit__steps li:nth-child(3) {
        padding-left: 0;
    }
}

@media (max-width: 900px) {
    .hydro-hero__grid {
        min-height: 0;
        grid-template-columns: 1fr;
        gap: 0;
    }

    .hydro-hero__content {
        padding: 42px 0 38px;
    }

    .hydro-hero__media {
        justify-content: center;
    }

    .hydro-hero__media img {
        max-width: 680px;
        height: auto;
        aspect-ratio: 1 / 1;
        object-fit: contain;
    }

    .hydro-proof__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hydro-proof__item:nth-child(2) {
        border-right: 0;
    }

    .hydro-proof__item:nth-child(-n + 2) {
        border-bottom: 1px solid var(--hydro-border);
    }

    .hydro-request__grid,
    .hydro-trust__grid {
        grid-template-columns: 1fr;
    }

    .hydro-request__messengers,
    .hydro-trust__column--company {
        padding-top: 34px;
        padding-left: 0;
        border-top: 1px solid var(--hydro-border);
        border-left: 0;
    }

    .hydro-final__inner {
        grid-template-columns: 1fr;
    }

    .hydro-final__actions {
        width: min(100%, 430px);
        min-width: 0;
        justify-items: stretch;
    }

    .hydro-final__phone,
    .hydro-final__messengers {
        justify-self: center;
    }
}

@media (max-width: 768px) {
    body:has(.hydro-conversion):has(#hydro-request:target) .chat-widget {
        visibility: hidden;
        opacity: 0;
        pointer-events: none;
    }

    .hydro-button {
        min-height: 54px;
        padding: 13px 18px;
    }

    .hydro-hero__content {
        padding: 30px 0 32px;
    }

    .hydro-hero__title {
        max-width: 620px;
        margin-bottom: 16px;
        font-size: clamp(29px, 8vw, 36px);
        line-height: 1.06;
    }

    .hydro-hero__lead {
        font-size: 16px;
        line-height: 1.55;
    }

    .hydro-hero__actions {
        align-items: stretch;
        flex-direction: column;
        margin-top: 22px;
    }

    .hydro-hero__actions .hydro-button {
        width: 100%;
        min-width: 0;
    }

    .hydro-hero__contacts {
        gap: 12px 16px;
        margin-top: 18px;
    }

    .hydro-contact-link--phone {
        width: 100%;
    }

    .hydro-proof__item {
        min-height: 82px;
        padding: 15px 13px;
        font-size: 13px;
    }

    .hydro-proof__item svg {
        width: 26px;
        height: 26px;
        flex-basis: 26px;
    }

    .hydro-proof__item strong {
        font-size: 18px;
    }

    .hydro-request,
    .hydro-products,
    .hydro-fit,
    .hydro-trust,
    .hydro-faq {
        padding-top: 54px;
        padding-bottom: 54px;
    }

    .hydro-section-heading h2,
    .hydro-trust h2,
    .hydro-final h2 {
        font-size: clamp(29px, 8vw, 36px);
    }

    .hydro-request .hydro-section-heading h2 {
        font-size: 27px;
        line-height: 1.1;
    }

    .hydro-section-heading p {
        font-size: 15px;
    }

    .hydro-form__fields {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .hydro-field-group--wide {
        grid-column: auto;
    }

    .hydro-form__submit {
        width: 100%;
        min-width: 0;
    }

    .hydro-section-top {
        align-items: flex-start;
        flex-direction: column;
        margin-bottom: 26px;
    }

    .hydro-products__grid {
        grid-auto-columns: minmax(278px, 82vw);
        grid-auto-flow: column;
        grid-template-columns: none;
        gap: 14px;
        margin-right: calc(-1 * var(--spacing-4));
        padding-right: var(--spacing-4);
        padding-bottom: 12px;
        overflow-x: auto;
        scroll-padding-left: 0;
        scroll-snap-type: x mandatory;
        scrollbar-width: thin;
    }

    .hydro-product {
        scroll-snap-align: start;
    }

    .hydro-fit__heading {
        margin-bottom: 32px;
        text-align: left;
    }

    .hydro-fit__heading h2 {
        font-size: clamp(31px, 8vw, 39px);
    }

    .hydro-fit__steps {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .hydro-fit__steps li,
    .hydro-fit__steps li:first-child,
    .hydro-fit__steps li:nth-child(3) {
        padding: 22px 0;
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.16);
    }

    .hydro-fit__steps li:first-child {
        padding-top: 0;
    }

    .hydro-fit__steps li:last-child {
        padding-bottom: 0;
        border-bottom: 0;
    }

    .hydro-fit__number {
        font-size: 42px;
    }

    .hydro-fit__reassurance {
        margin-top: 30px;
        font-size: 16px;
        text-align: left;
    }

    .hydro-trust h2 {
        margin-bottom: 20px;
    }

    .hydro-faq__grid {
        grid-template-columns: 1fr;
    }

    .hydro-faq__grid article {
        padding: 20px 0;
    }

    .hydro-faq__grid h3 {
        font-size: 18px;
    }

    .hydro-final__inner {
        gap: 28px;
        padding-top: 48px;
        padding-bottom: 28px;
    }

    .hydro-final__copy p {
        font-size: 16px;
    }

    .hydro-final__phone {
        font-size: 21px;
    }

    /* Компактное, но полноценное согласие на cookie. */
    body:has(.hydro-conversion) .cookie-banner__inner {
        gap: 10px;
        padding: 12px 14px;
        text-align: left;
    }

    body:has(.hydro-conversion) .cookie-banner__content {
        display: block;
    }

    body:has(.hydro-conversion) .cookie-banner__title {
        margin-bottom: 3px;
        font-size: 14px;
    }

    body:has(.hydro-conversion) .cookie-banner__desc {
        max-height: 44px;
        overflow-y: auto;
        font-size: 11px;
        line-height: 1.35;
    }

    body:has(.hydro-conversion) .cookie-banner__actions {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    body:has(.hydro-conversion) .cookie-banner__btn {
        min-height: 40px;
        padding: 8px 10px;
        font-size: 12px;
    }

    body:has(.hydro-conversion) .cookie-banner__btn--settings {
        grid-column: 1 / -1;
        min-height: 28px;
        padding: 3px 8px;
    }
}

@media (max-width: 420px) {
    .hydro-proof__grid {
        grid-template-columns: 1fr;
    }

    .hydro-proof__item,
    .hydro-proof__item:nth-child(2) {
        min-height: 66px;
        border-right: 0;
        border-bottom: 1px solid var(--hydro-border);
    }

    .hydro-proof__item:last-child {
        border-bottom: 0;
    }

    .hydro-product__body {
        padding: 16px;
    }

    .hydro-request__messengers h2 {
        font-size: 27px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hydro-conversion *,
    .hydro-conversion *::before,
    .hydro-conversion *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}
