/*
 * RubberFlex RX — premium redesign layer.
 * Стили изолированы префиксом rx-, чтобы не менять шаблон страницы PRO.
 */

:root {
    --rx-ink: #101815;
    --rx-muted: #66716d;
    --rx-paper: #f3f1eb;
    --rx-white: #ffffff;
    --rx-green: #075844;
    --rx-green-dark: #063f35;
    --rx-lime: #a7d83b;
    --rx-line: rgba(16, 24, 21, 0.14);
    --rx-radius: 30px;
    --rx-radius-sm: 18px;
    --rx-shadow: 0 24px 70px rgba(4, 40, 32, 0.12);
    --rx-container: 1420px;
}

html {
    scroll-behavior: smooth;
}

html.rx-menu-open {
    overflow: hidden;
}

body.rx-site {
    margin: 0;
    overflow-x: hidden;
}

body.rx-site:not(.rx-site--pro) {
    background: var(--rx-paper);
    color: var(--rx-ink);
}

.rx-container {
    width: min(calc(100% - 64px), var(--rx-container));
    margin-inline: auto;
}

.rx-section {
    padding: 132px 0;
}

.rx-section-label {
    margin-bottom: 18px;
    color: var(--rx-green);
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.rx-section-title {
    max-width: 970px;
    margin: 0;
    color: var(--rx-ink);
    font-size: clamp(42px, 4.4vw, 74px);
    font-weight: 500;
    line-height: 0.98;
    letter-spacing: -0.045em;
}

.rx-section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 52px;
}

.rx-button {
    display: inline-flex;
    min-height: 58px;
    padding: 16px 28px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--rx-green);
    border-radius: 999px;
    background: var(--rx-green);
    color: var(--rx-white) !important;
    font-size: 15px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none !important;
    transition: background 180ms ease, border 180ms ease, color 180ms ease, transform 180ms ease;
}

.rx-button:hover {
    border-color: var(--rx-lime);
    background: var(--rx-lime);
    color: var(--rx-ink) !important;
    transform: translateY(-2px);
}

.rx-button--light {
    border-color: var(--rx-white);
    background: var(--rx-white);
    color: var(--rx-ink) !important;
}

.rx-button--light:hover {
    border-color: var(--rx-lime);
    background: var(--rx-lime);
}

.rx-button--wide {
    width: 100%;
}

.rx-link {
    display: inline-flex;
    gap: 10px;
    align-items: center;
    color: var(--rx-ink) !important;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none !important;
    white-space: nowrap;
}

.rx-link::after {
    width: 34px;
    height: 1px;
    background: currentColor;
    content: '';
    transition: width 180ms ease;
}

.rx-link:hover::after {
    width: 50px;
}

.rx-link--light {
    color: var(--rx-white) !important;
}

/* Header */
.rx-header {
    position: sticky;
    z-index: 900;
    top: 0;
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: var(--rx-green-dark);
    transition: box-shadow 180ms ease, background 180ms ease;
}

.rx-header.is-scrolled {
    box-shadow: 0 12px 34px rgba(3, 31, 25, 0.18);
    background: rgba(6, 63, 53, 0.96);
    backdrop-filter: blur(16px);
}

.rx-header__inner {
    display: grid;
    min-height: 92px;
    grid-template-columns: 174px minmax(440px, 1fr) auto auto;
    gap: 26px;
    align-items: center;
}

.rx-header__logo {
    display: flex;
    width: 144px;
    height: 58px;
    align-items: center;
}

.rx-header__logo img,
.rx-drawer__logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.rx-header__nav .header__menu {
    display: flex;
    margin: 0;
    padding: 0;
    gap: clamp(18px, 1.8vw, 34px);
    align-items: center;
    list-style: none;
}

.rx-header__nav .header__menu li {
    margin: 0;
    padding: 0;
}

.rx-header__nav .header__menu a {
    position: relative;
    color: rgba(255, 255, 255, 0.82) !important;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.2;
    text-decoration: none !important;
    white-space: nowrap;
    transition: color 180ms ease;
}

.rx-header__nav .header__menu a::after {
    position: absolute;
    right: 0;
    bottom: -10px;
    left: 0;
    height: 2px;
    background: var(--rx-lime);
    content: '';
    opacity: 0;
    transform: scaleX(0.6);
    transition: opacity 180ms ease, transform 180ms ease;
}

.rx-header__nav .header__menu a:hover,
.rx-header__nav .header__menu a.selected {
    color: var(--rx-white) !important;
}

.rx-header__nav .header__menu a:hover::after,
.rx-header__nav .header__menu a.selected::after {
    opacity: 1;
    transform: scaleX(1);
}

.rx-header__contacts {
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: flex-end;
}

.rx-header__contacts .header__info {
    margin: 0;
    color: rgba(255, 255, 255, 0.78) !important;
    font-size: 12px;
    line-height: 1.25;
    text-decoration: none !important;
    white-space: nowrap;
}

.rx-header__contacts .header__info:last-child {
    color: var(--rx-white) !important;
    font-size: 15px;
    font-weight: 600;
}

.rx-button--header {
    min-height: 46px;
    padding: 13px 22px;
    border-color: rgba(255, 255, 255, 0.38);
    background: transparent;
    font-size: 13px;
}

.rx-header__burger {
    display: none;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.26);
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
}

.rx-header__burger span {
    display: block;
    width: 20px;
    height: 1px;
    margin: 5px auto;
    background: var(--rx-white);
}

.rx-drawer {
    position: fixed;
    z-index: 1100;
    inset: 0;
    visibility: hidden;
    pointer-events: none;
}

.rx-drawer.is-open {
    visibility: visible;
    pointer-events: auto;
}

.rx-drawer__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(3, 21, 17, 0.54);
    opacity: 0;
    transition: opacity 260ms ease;
}

.rx-drawer.is-open .rx-drawer__backdrop {
    opacity: 1;
}

.rx-drawer__panel {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    display: flex;
    width: min(520px, 92vw);
    padding: 34px;
    flex-direction: column;
    background: var(--rx-green-dark);
    color: var(--rx-white);
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 300ms cubic-bezier(0.22, 1, 0.36, 1);
}

.rx-drawer.is-open .rx-drawer__panel {
    transform: translateX(0);
}

.rx-drawer__top {
    display: flex;
    margin-bottom: 56px;
    align-items: center;
    justify-content: space-between;
}

.rx-drawer__logo {
    display: block;
    width: 148px;
    height: 62px;
}

.rx-drawer__close {
    display: grid;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    background: transparent;
    color: var(--rx-white);
    cursor: pointer;
    place-items: center;
}

.rx-drawer__close svg {
    width: 21px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-width: 1.7;
}

.rx-drawer__nav .menu__nav,
.rx-drawer__nav .menu__downbackground,
.rx-drawer__nav .menu__downmenu {
    position: static;
    display: block;
    width: auto;
    height: auto;
    margin: 0;
    padding: 0;
    background: none;
    list-style: none;
    opacity: 1;
    transform: none;
}

.rx-drawer__nav .menu__nav > li {
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.rx-drawer__nav .menu__nav > li > a {
    display: block;
    padding: 18px 0;
    color: var(--rx-white) !important;
    font-size: 25px;
    font-weight: 500;
    line-height: 1.15;
    text-decoration: none !important;
}

.rx-drawer__nav .menu__toggle-button,
.rx-drawer__nav .menu__downmenu-close,
.rx-drawer__nav .menu__downbackground > a {
    display: none;
}

.rx-drawer__nav .menu__downmenu {
    padding: 0 0 16px 14px;
}

.rx-drawer__nav .menu__downmenu a {
    display: block;
    padding: 7px 0;
    color: rgba(255, 255, 255, 0.66) !important;
    font-size: 14px;
    text-decoration: none !important;
}

.rx-drawer__contacts {
    display: flex;
    margin: auto 0 26px;
    padding-top: 42px;
    flex-direction: column;
    gap: 8px;
}

.rx-drawer__contacts a {
    color: var(--rx-white) !important;
    font-size: 16px;
    text-decoration: none !important;
}

.rx-up {
    position: fixed;
    z-index: 700;
    right: 28px;
    bottom: 28px;
    display: grid;
    width: 52px;
    height: 52px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: var(--rx-green);
    box-shadow: 0 14px 34px rgba(3, 48, 37, 0.24);
    color: var(--rx-white);
    cursor: pointer;
    object-fit: initial;
    place-items: center;
    transition: opacity 180ms ease, transform 180ms ease;
}

.rx-up:hover {
    transform: translateY(-3px);
}

.rx-up svg {
    width: 24px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7;
}

.rx-breadcrumbs {
    padding: 24px 0 0;
    background: var(--rx-paper);
}

.rx-breadcrumbs .breadcrumbs__list,
.rx-breadcrumbs ul {
    margin: 0;
}

/* Hero */
.rx-hero {
    padding: 20px 0 0;
    background: var(--rx-paper);
}

.rx-hero__slider {
    position: relative;
    border-radius: 0 0 54px 54px;
    background: var(--rx-green-dark);
    box-shadow: var(--rx-shadow);
    overflow: hidden;
}

.rx-hero__slide {
    position: relative;
    min-height: min(780px, calc(100vh - 112px));
    color: var(--rx-white);
    overflow: hidden;
}

.rx-hero__media,
.rx-hero__media img,
.rx-hero__shade {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.rx-hero__media img {
    object-fit: cover;
}

.rx-hero__shade {
    background: linear-gradient(90deg, rgba(3, 34, 27, 0.92) 0%, rgba(3, 34, 27, 0.68) 50%, rgba(3, 34, 27, 0.14) 100%);
}

.rx-hero__content {
    position: relative;
    z-index: 2;
    display: flex;
    min-height: inherit;
    width: min(760px, 72%);
    padding: clamp(90px, 9vw, 146px) clamp(38px, 6vw, 98px) 100px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.rx-hero__eyebrow {
    margin-bottom: 24px;
    color: var(--rx-lime);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.rx-hero__title {
    margin: 0;
    color: var(--rx-white);
    font-size: clamp(54px, 6.3vw, 108px);
    font-weight: 500;
    line-height: 0.92;
    letter-spacing: -0.06em;
}

.rx-hero__text {
    max-width: 650px;
    margin-top: 30px;
    color: rgba(255, 255, 255, 0.8);
    font-size: clamp(17px, 1.5vw, 22px);
    line-height: 1.42;
}

.rx-hero__text p {
    margin: 0;
}

.rx-hero__actions {
    display: flex;
    margin-top: 42px;
    gap: 28px;
    align-items: center;
}

.rx-hero__detail {
    position: absolute;
    z-index: 3;
    right: 40px;
    bottom: 40px;
    width: clamp(190px, 19vw, 310px);
    margin: 0;
    overflow: hidden;
}

.rx-hero__detail img {
    display: block;
    width: 100%;
    aspect-ratio: 1.2;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 24px;
    object-fit: cover;
}

.rx-hero__detail figcaption {
    margin-top: 12px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 12px;
    letter-spacing: 0.12em;
    text-align: right;
}

.rx-hero__controls {
    position: absolute;
    z-index: 5;
    bottom: 36px;
    left: clamp(38px, 6vw, 98px);
    display: flex;
    gap: 12px;
    align-items: center;
}

.rx-hero__arrow {
    display: grid;
    width: 46px;
    height: 46px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.38);
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.12);
    color: var(--rx-white);
    cursor: pointer;
    place-items: center;
}

.rx-hero__arrow svg {
    width: 21px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7;
}

.rx-hero__pagination {
    position: static;
    width: 60px;
    color: var(--rx-white);
    font-size: 12px;
}

/* Solutions cards */
.rx-home-solutions {
    background: var(--rx-paper);
}

.rx-solutions-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 20px;
}

.rx-solution-card {
    grid-column: span 5;
    min-height: 430px;
}

.rx-solution-card--large {
    grid-column: span 7;
}

.rx-solution-card__link {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    min-height: inherit;
    border-radius: var(--rx-radius);
    background: var(--rx-green-dark);
    color: var(--rx-white) !important;
    overflow: hidden;
    text-decoration: none !important;
}

.rx-solution-card__image,
.rx-solution-card__shade {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.rx-solution-card__image {
    object-fit: cover;
    transition: transform 650ms cubic-bezier(0.22, 1, 0.36, 1);
}

.rx-solution-card__shade {
    background: linear-gradient(180deg, rgba(5, 35, 28, 0.03) 22%, rgba(5, 35, 28, 0.88) 100%);
}

.rx-solution-card__content {
    position: absolute;
    z-index: 2;
    right: 34px;
    bottom: 34px;
    left: 34px;
    display: flex;
    padding-right: 56px;
    flex-direction: column;
}

.rx-solution-card__eyebrow {
    margin-bottom: 10px;
    color: var(--rx-lime);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.rx-solution-card__title {
    color: var(--rx-white);
    font-size: clamp(27px, 2.4vw, 42px);
    font-weight: 500;
    line-height: 1;
    letter-spacing: -0.035em;
}

.rx-solution-card__text {
    display: -webkit-box;
    max-width: 590px;
    margin-top: 12px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 14px;
    line-height: 1.45;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.rx-solution-card__arrow {
    position: absolute;
    z-index: 3;
    right: 26px;
    bottom: 28px;
    display: grid;
    width: 52px;
    height: 52px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    color: var(--rx-white);
    place-items: center;
    transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.rx-solution-card__arrow svg {
    width: 22px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7;
}

.rx-solution-card__link:hover .rx-solution-card__image {
    transform: scale(1.04);
}

.rx-solution-card__link:hover .rx-solution-card__arrow {
    background: var(--rx-lime);
    color: var(--rx-ink);
    transform: rotate(45deg);
}

/* System overview */
.rx-system-overview {
    background: var(--rx-green-dark);
    color: var(--rx-white);
}

.rx-system-overview__grid {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    gap: clamp(60px, 8vw, 130px);
    align-items: center;
}

.rx-system-overview__visual {
    position: relative;
    min-height: 780px;
    margin: 0;
    border-radius: 44px;
    overflow: hidden;
}

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

.rx-system-overview .rx-section-label {
    color: var(--rx-lime);
}

.rx-system-overview .rx-section-title {
    margin-bottom: 48px;
    color: var(--rx-white);
    font-size: clamp(40px, 4vw, 67px);
}

.rx-system-overview__list {
    border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.rx-mini-disclosure {
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.rx-mini-disclosure summary,
.rx-disclosure summary,
.rx-step summary {
    list-style: none;
}

.rx-mini-disclosure summary::-webkit-details-marker,
.rx-disclosure summary::-webkit-details-marker,
.rx-step summary::-webkit-details-marker {
    display: none;
}

.rx-mini-disclosure summary {
    display: grid;
    min-height: 82px;
    grid-template-columns: 48px 1fr 32px;
    gap: 18px;
    align-items: center;
    color: var(--rx-white);
    font-size: 21px;
    font-weight: 500;
    cursor: pointer;
}

.rx-mini-disclosure__number {
    color: var(--rx-lime);
    font-size: 12px;
    letter-spacing: 0.1em;
}

.rx-disclosure__icon {
    position: relative;
    display: inline-block;
    width: 24px;
    height: 24px;
}

.rx-disclosure__icon::before,
.rx-disclosure__icon::after {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 18px;
    height: 1px;
    background: currentColor;
    content: '';
    transform: translate(-50%, -50%);
    transition: transform 180ms ease;
}

.rx-disclosure__icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

details[open] > summary .rx-disclosure__icon::after {
    transform: translate(-50%, -50%) rotate(0deg);
}

.rx-mini-disclosure__content {
    max-width: 610px;
    padding: 0 54px 26px 66px;
    color: rgba(255, 255, 255, 0.68);
    font-size: 16px;
    line-height: 1.6;
}

/* Steps */
.rx-steps {
    background: var(--rx-white);
}

.rx-steps__head {
    display: grid;
    margin-bottom: 62px;
    grid-template-columns: 220px 1fr;
    gap: 40px;
    align-items: start;
}

.rx-steps__head .rx-section-title {
    max-width: 1060px;
}

.rx-steps__list {
    border-top: 1px solid var(--rx-line);
}

.rx-step {
    border-bottom: 1px solid var(--rx-line);
}

.rx-step summary {
    display: grid;
    min-height: 116px;
    grid-template-columns: 90px 1fr 48px;
    gap: 30px;
    align-items: center;
    cursor: pointer;
}

.rx-step__number {
    color: var(--rx-green);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.rx-step__title {
    max-width: 960px;
    font-size: clamp(27px, 2.8vw, 45px);
    font-weight: 500;
    line-height: 1.06;
    letter-spacing: -0.035em;
}

.rx-step__content {
    display: grid;
    padding: 6px 0 58px 120px;
    grid-template-columns: minmax(260px, 0.9fr) minmax(220px, 0.7fr) minmax(220px, 0.7fr);
    gap: 32px;
}

.rx-step__visual {
    min-height: 310px;
    margin: 0;
    border-radius: 24px;
    overflow: hidden;
}

.rx-step__visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rx-step__text-block {
    padding-top: 14px;
}

.rx-step__label {
    margin-bottom: 18px;
    color: var(--rx-green);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.rx-step__text {
    color: var(--rx-muted);
    font-size: 16px;
    line-height: 1.62;
}

/* Company */
.rx-company {
    background: var(--rx-paper);
}

.rx-company__grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: clamp(60px, 9vw, 150px);
    align-items: center;
}

.rx-company__content .title__text,
.rx-company__content .company__title {
    color: var(--rx-ink);
    font-size: clamp(42px, 4.4vw, 74px);
    font-weight: 500;
    line-height: 0.98;
    letter-spacing: -0.045em;
}

.rx-company__content .title__text {
    margin-bottom: 28px;
    color: var(--rx-green);
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.rx-company__content .company__descr {
    max-width: 680px;
    margin: 28px 0 34px;
    color: var(--rx-muted);
    font-size: 18px;
    line-height: 1.62;
}

.rx-company__visual {
    position: relative;
    min-height: 650px;
    margin: 0;
    border-radius: 44px;
    overflow: hidden;
}

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

.rx-company__visual figcaption {
    position: absolute;
    right: 28px;
    bottom: 20px;
    color: rgba(255, 255, 255, 0.94);
    font-size: clamp(72px, 8vw, 140px);
    font-weight: 500;
    line-height: 0.9;
    letter-spacing: -0.07em;
}

/* Contacts */
.rx-contacts {
    background: var(--rx-white);
}

.rx-contacts__grid {
    display: grid;
    grid-template-columns: minmax(330px, 0.72fr) minmax(0, 1.28fr);
    gap: 56px;
    align-items: stretch;
}

.rx-contacts .contacts__info {
    padding: 24px 0;
}

.rx-contacts .title__text {
    margin-bottom: 26px;
    color: var(--rx-green);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.rx-contacts .contacts__title {
    margin-bottom: 36px;
    font-size: clamp(38px, 4vw, 66px);
    font-weight: 500;
    line-height: 0.98;
    letter-spacing: -0.045em;
}

.rx-contacts .contacts__item-wrapper {
    display: grid;
    gap: 20px;
}

.rx-contacts .contacts__item-title {
    margin-bottom: 5px;
    color: var(--rx-muted);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.rx-contacts .contacts__item-text {
    color: var(--rx-ink) !important;
    font-size: 16px;
    line-height: 1.45;
    text-decoration: none !important;
}

.rx-contacts .contacts__socials {
    display: flex;
    margin-top: 28px;
    gap: 10px;
}

.rx-contacts .contacts__social {
    display: grid;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--rx-green);
    place-items: center;
}

.rx-contacts .contacts__social img {
    width: 22px;
    height: 22px;
    object-fit: contain;
}

.rx-contacts__map,
.rx-contacts__map .contacts__map,
.rx-contacts__map iframe {
    width: 100%;
    min-height: 720px;
    margin: 0;
    border: 0;
    border-radius: 40px;
    overflow: hidden;
}

/* Ready solutions list page */
.rx-solutions-page__hero {
    padding: 40px 0 78px;
}

.rx-solutions-page__hero-grid {
    display: grid;
    min-height: 520px;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    border-radius: 44px;
    background: var(--rx-green-dark);
    color: var(--rx-white);
    overflow: hidden;
}

.rx-solutions-page__heading {
    display: flex;
    padding: clamp(44px, 7vw, 100px);
    flex-direction: column;
    justify-content: center;
}

.rx-solutions-page__heading .rx-section-label {
    color: var(--rx-lime);
}

.rx-solutions-page__heading h1 {
    margin: 0;
    color: var(--rx-white);
    font-size: clamp(52px, 6vw, 96px);
    font-weight: 500;
    line-height: 0.94;
    letter-spacing: -0.055em;
}

.rx-solutions-page__visual {
    min-height: inherit;
    margin: 0;
}

.rx-solutions-page__visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rx-solutions-page__catalog {
    padding: 0 0 132px;
}

.rx-solutions-filter {
    margin-bottom: 34px;
    border: 1px solid var(--rx-line);
    border-radius: 18px;
    background: var(--rx-white);
}

.rx-solutions-filter > summary {
    padding: 22px 26px;
    font-weight: 600;
    cursor: pointer;
}

.rx-solutions-filter__body {
    padding: 0 26px 26px;
}

.rx-pagination {
    margin-top: 44px;
}

/* Ready solution detail */
.rx-solution__hero {
    padding: 40px 0 110px;
}

.rx-solution__hero-grid {
    display: grid;
    min-height: 660px;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    border-radius: 44px;
    background: var(--rx-green-dark);
    color: var(--rx-white);
    overflow: hidden;
}

.rx-solution__intro {
    display: flex;
    padding: clamp(44px, 7vw, 92px);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.rx-back-link {
    display: inline-flex;
    margin-bottom: 50px;
    gap: 8px;
    align-items: center;
    color: rgba(255, 255, 255, 0.7) !important;
    font-size: 13px;
    text-decoration: none !important;
}

.rx-back-link svg {
    width: 18px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.6;
}

.rx-solution__eyebrow {
    margin-bottom: 18px;
    color: var(--rx-lime);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.rx-solution__title {
    margin: 0;
    color: var(--rx-white);
    font-size: clamp(48px, 5.5vw, 88px);
    font-weight: 500;
    line-height: 0.94;
    letter-spacing: -0.055em;
}

.rx-solution__lead {
    display: -webkit-box;
    max-width: 620px;
    margin: 28px 0 38px;
    color: rgba(255, 255, 255, 0.75);
    font-size: 18px;
    line-height: 1.55;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
}

.rx-solution__lead p {
    margin: 0;
}

.rx-solution__hero-media {
    min-height: inherit;
    margin: 0;
}

.rx-solution__hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rx-solution__body {
    padding: 0 0 132px;
}

.rx-solution__layout {
    display: grid;
    grid-template-columns: minmax(300px, 0.75fr) minmax(0, 1.25fr);
    gap: clamp(48px, 8vw, 120px);
    align-items: start;
}

.rx-solution__gallery {
    display: grid;
    gap: 20px;
}

.rx-solution__gallery-item {
    min-height: 300px;
    margin: 0;
    border-radius: 28px;
    background: var(--rx-green-dark);
    overflow: hidden;
}

.rx-solution__gallery-item:first-child {
    min-height: 500px;
}

.rx-solution__gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rx-solution__accordions {
    position: sticky;
    top: 126px;
    border-top: 1px solid var(--rx-line);
}

.rx-disclosure {
    border-bottom: 1px solid var(--rx-line);
}

.rx-disclosure > summary {
    display: grid;
    min-height: 104px;
    grid-template-columns: 1fr 38px;
    gap: 20px;
    align-items: center;
    font-size: clamp(24px, 2.4vw, 38px);
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: -0.03em;
    cursor: pointer;
}

.rx-disclosure__content {
    padding: 0 0 48px;
}

.rx-richtext {
    color: var(--rx-muted);
    font-size: 17px;
    line-height: 1.7;
}

.rx-richtext > :first-child {
    margin-top: 0;
}

.rx-richtext > :last-child {
    margin-bottom: 0;
}

.rx-richtext img {
    height: auto;
    border-radius: 20px;
}

.rx-richtext h2,
.rx-richtext h3,
.rx-richtext h4 {
    margin: 42px 0 18px;
    color: var(--rx-ink);
    font-weight: 500;
    line-height: 1.15;
}

.rx-richtext h2 {
    font-size: clamp(30px, 3vw, 44px);
}

.rx-richtext table {
    display: block;
    max-width: 100%;
    overflow-x: auto;
}

.rx-properties {
    margin: 0;
}

.rx-properties__row {
    display: grid;
    padding: 18px 0;
    grid-template-columns: minmax(160px, 0.45fr) 1fr;
    gap: 24px;
    border-bottom: 1px solid var(--rx-line);
}

.rx-properties__row dt {
    color: var(--rx-muted);
}

.rx-properties__row dd {
    margin: 0;
}

/* Bottom consultation */
.consultation.consultation--premium {
    padding: 118px 0;
    background: var(--rx-green-dark);
}

.consultation--premium .container {
    width: min(calc(100% - 64px), var(--rx-container));
    max-width: none;
    margin-inline: auto;
}

.consultation__wrapper--premium {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(420px, 0.75fr);
    gap: clamp(50px, 8vw, 130px);
    align-items: start;
}

.consultation--premium .consultation__content {
    color: var(--rx-white);
}

.consultation--premium .consultation__eyebrow {
    margin-bottom: 18px;
    color: var(--rx-lime);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.consultation--premium .consultation__title--premium {
    margin: 0;
    color: var(--rx-white);
    font-size: clamp(43px, 4.3vw, 72px);
    font-weight: 500;
    line-height: 0.98;
    letter-spacing: -0.045em;
}

.consultation--premium .consultation__descr--premium {
    max-width: 650px;
    margin-top: 26px;
    color: rgba(255, 255, 255, 0.68);
    font-size: 17px;
    line-height: 1.6;
}

.consultation--premium .consultation__benefits {
    display: grid;
    margin: 32px 0;
    gap: 12px;
}

.consultation--premium .consultation__benefit {
    position: relative;
    padding-left: 20px;
    color: rgba(255, 255, 255, 0.82);
}

.consultation--premium .consultation__benefit::before {
    position: absolute;
    top: 9px;
    left: 0;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--rx-lime);
    content: '';
}

.consultation--premium .consultation__phone {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.consultation--premium .consultation__phone span {
    color: rgba(255, 255, 255, 0.52);
    font-size: 12px;
    text-transform: uppercase;
}

.consultation--premium .consultation__phone a {
    color: var(--rx-white) !important;
    font-size: 25px;
    font-weight: 500;
    text-decoration: none !important;
}

.consultation__visual {
    height: 250px;
    margin: 40px 0 0;
    border-radius: 24px;
    overflow: hidden;
}

.consultation__visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.consultation--premium .consultation__form-card {
    padding: 38px;
    border-radius: 30px;
    background: var(--rx-white);
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.16);
}

.consultation--premium .consultation__form,
.consultation--premium .consultation__form-grid {
    width: 100%;
}

.rx-honeypot {
    position: absolute !important;
    top: -9999px !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
    overflow: hidden !important;
}

.consultation--premium .consultation__form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.consultation--premium .consultation__field--full {
    grid-column: 1 / -1;
}

.consultation--premium .consultation__input,
.consultation--premium .consultation__textarea,
.consultation--premium .solution-select__current {
    width: 100%;
    min-height: 58px;
    padding: 16px 18px;
    border: 1px solid var(--rx-line);
    border-radius: 14px;
    background: #f7f7f4;
    color: var(--rx-ink);
    font-size: 15px;
}

.consultation--premium .consultation__textarea {
    min-height: 120px;
    resize: vertical;
}

.consultation--premium .consultation__button {
    width: 100%;
    min-height: 58px;
    margin-top: 14px;
    border: 0;
    border-radius: 999px;
    background: var(--rx-green);
    color: var(--rx-white);
    font-weight: 600;
    cursor: pointer;
}

.consultation--premium .consultation__agree {
    margin-top: 18px;
    color: var(--rx-muted);
    font-size: 12px;
    line-height: 1.45;
}

.consultation--premium .solution-select {
    position: relative;
}

.consultation--premium .solution-select__current {
    display: flex;
    align-items: center;
    text-align: left;
    cursor: pointer;
}

.consultation--premium .solution-select__dropdown {
    position: absolute;
    z-index: 20;
    top: calc(100% + 8px);
    right: 0;
    left: 0;
    display: none;
    max-height: 300px;
    padding: 8px;
    border: 1px solid var(--rx-line);
    border-radius: 16px;
    background: var(--rx-white);
    box-shadow: var(--rx-shadow);
    overflow-y: auto;
}

.consultation--premium .solution-select.is-open .solution-select__dropdown {
    display: block;
}

.consultation--premium .solution-select__option {
    display: flex;
    width: 100%;
    padding: 8px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    gap: 10px;
    align-items: center;
    text-align: left;
    cursor: pointer;
}

.consultation--premium .solution-select__option:hover {
    background: var(--rx-paper);
}

.consultation--premium .solution-select__image {
    display: block;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    border-radius: 8px;
    overflow: hidden;
}

.consultation--premium .solution-select__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Footer */
.rx-footer {
    padding: 88px 0 28px;
    background: #092d27;
    color: var(--rx-white);
}

.rx-footer__main {
    display: grid;
    padding-bottom: 70px;
    grid-template-columns: minmax(300px, 1.3fr) minmax(180px, 0.55fr) minmax(260px, 0.75fr);
    gap: clamp(50px, 8vw, 130px);
}

.rx-footer__logo {
    display: block;
    width: 220px;
}

.rx-footer__logo img {
    display: block;
    width: 100%;
    height: auto;
}

.rx-footer__brand p {
    max-width: 460px;
    margin: 28px 0 0;
    color: rgba(255, 255, 255, 0.58);
    font-size: 15px;
    line-height: 1.6;
}

.rx-footer__heading {
    margin-bottom: 22px;
    color: rgba(255, 255, 255, 0.44);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.rx-footer__nav,
.rx-footer__contacts {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.rx-footer__nav a,
.rx-footer__contacts a,
.rx-footer__contacts span {
    color: rgba(255, 255, 255, 0.78) !important;
    font-size: 15px;
    line-height: 1.4;
    text-decoration: none !important;
}

.rx-footer__contacts .rx-footer__phone {
    margin-bottom: 4px;
    color: var(--rx-white) !important;
    font-size: 25px;
    font-weight: 500;
}

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

.rx-footer__socials a {
    display: grid;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    place-items: center;
}

.rx-footer__socials img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.rx-footer__bottom {
    display: flex;
    padding-top: 26px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    gap: 30px;
    align-items: center;
    justify-content: space-between;
    color: rgba(255, 255, 255, 0.45);
    font-size: 12px;
}

.rx-footer__legal {
    display: flex;
    gap: 26px;
}

.rx-footer__legal a {
    color: rgba(255, 255, 255, 0.58) !important;
    text-decoration: none !important;
}

.rx-cookie {
    position: fixed;
    z-index: 9999;
    right: 18px;
    bottom: 18px;
    left: 18px;
    padding: 18px 22px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 18px;
    background: #092d27;
    box-shadow: 0 18px 60px rgba(0, 0, 0, 0.28);
    color: var(--rx-white);
}

.rx-cookie[hidden] {
    display: none;
}

.rx-cookie__inner {
    display: flex;
    max-width: 1180px;
    margin: 0 auto;
    gap: 24px;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
    line-height: 1.45;
}

.rx-cookie a {
    color: var(--rx-white) !important;
    text-decoration: underline;
}

.rx-cookie button {
    min-width: 64px;
    padding: 10px 20px;
    border: 0;
    border-radius: 999px;
    background: var(--rx-lime);
    color: var(--rx-ink);
    font-weight: 700;
    cursor: pointer;
}

/* Preserve PRO layout: redesign layer never targets .pro-page internals. */

@media (max-width: 1240px) {
    .rx-header__inner {
        grid-template-columns: 160px 1fr auto;
    }

    .rx-header__nav,
    .rx-header__contacts,
    .rx-button--header {
        display: none;
    }

    .rx-header__burger {
        display: block;
        grid-column: 3;
    }

    .rx-step__content {
        padding-left: 0;
        grid-template-columns: minmax(260px, 1fr) 1fr 1fr;
    }

    .rx-solution__hero-grid,
    .rx-solutions-page__hero-grid {
        min-height: 580px;
    }
}

@media (max-width: 980px) {
    .rx-container,
    .consultation--premium .container {
        width: min(calc(100% - 40px), var(--rx-container));
    }

    .rx-section {
        padding: 92px 0;
    }

    .rx-hero__slide {
        min-height: 700px;
    }

    .rx-hero__detail {
        width: 200px;
    }

    .rx-solution-card,
    .rx-solution-card--large {
        grid-column: span 6;
        min-height: 400px;
    }

    .rx-system-overview__grid,
    .rx-company__grid,
    .rx-contacts__grid,
    .rx-solution__layout,
    .consultation__wrapper--premium {
        grid-template-columns: 1fr;
    }

    .rx-system-overview__visual {
        min-height: 560px;
    }

    .rx-steps__head {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .rx-step__content {
        grid-template-columns: 1fr 1fr;
    }

    .rx-step__visual {
        grid-column: 1 / -1;
    }

    .rx-company__visual {
        min-height: 560px;
    }

    .rx-contacts__map,
    .rx-contacts__map .contacts__map,
    .rx-contacts__map iframe {
        min-height: 520px;
    }

    .rx-solutions-page__hero-grid,
    .rx-solution__hero-grid {
        grid-template-columns: 1fr;
    }

    .rx-solutions-page__visual,
    .rx-solution__hero-media {
        min-height: 420px;
    }

    .rx-solution__accordions {
        position: static;
    }

    .rx-footer__main {
        grid-template-columns: 1fr 1fr;
    }

    .rx-footer__brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 680px) {
    .rx-container,
    .consultation--premium .container {
        width: min(calc(100% - 28px), var(--rx-container));
    }

    .rx-section {
        padding: 70px 0;
    }

    .rx-section-title {
        font-size: 40px;
    }

    .rx-section-head {
        display: grid;
        margin-bottom: 34px;
    }

    .rx-header__inner {
        min-height: 76px;
        grid-template-columns: 138px 1fr auto;
    }

    .rx-header__logo {
        width: 126px;
        height: 50px;
    }

    .rx-header__burger {
        width: 44px;
        height: 44px;
    }

    .rx-drawer__panel {
        padding: 22px;
    }

    .rx-drawer__nav .menu__nav > li > a {
        font-size: 22px;
    }

    .rx-hero {
        padding-top: 10px;
    }

    .rx-hero__slider {
        border-radius: 0 0 30px 30px;
    }

    .rx-hero__slide {
        min-height: 680px;
    }

    .rx-hero__shade {
        background: linear-gradient(180deg, rgba(3, 34, 27, 0.35) 0%, rgba(3, 34, 27, 0.95) 78%);
    }

    .rx-hero__content {
        width: 100%;
        padding: 64px 24px 168px;
        justify-content: flex-end;
    }

    .rx-hero__title {
        font-size: 49px;
    }

    .rx-hero__text {
        margin-top: 20px;
        font-size: 16px;
    }

    .rx-hero__actions {
        display: grid;
        width: 100%;
        margin-top: 28px;
        gap: 18px;
        justify-items: start;
    }

    .rx-hero__detail {
        right: 18px;
        bottom: 18px;
        width: 132px;
    }

    .rx-hero__detail figcaption {
        display: none;
    }

    .rx-hero__controls {
        bottom: 20px;
        left: 22px;
    }

    .rx-solutions-grid {
        grid-template-columns: 1fr;
    }

    .rx-solution-card,
    .rx-solution-card--large {
        grid-column: 1;
        min-height: 390px;
    }

    .rx-solution-card__content {
        right: 22px;
        bottom: 24px;
        left: 22px;
        padding-right: 42px;
    }

    .rx-solution-card__title {
        font-size: 29px;
    }

    .rx-solution-card__arrow {
        right: 18px;
        bottom: 20px;
        width: 44px;
        height: 44px;
    }

    .rx-system-overview__visual,
    .rx-company__visual {
        min-height: 440px;
        border-radius: 28px;
    }

    .rx-system-overview .rx-section-title {
        font-size: 40px;
    }

    .rx-mini-disclosure summary {
        grid-template-columns: 36px 1fr 28px;
        gap: 10px;
        font-size: 17px;
    }

    .rx-mini-disclosure__content {
        padding-left: 46px;
    }

    .rx-step summary {
        min-height: 94px;
        grid-template-columns: 44px 1fr 28px;
        gap: 12px;
    }

    .rx-step__title {
        font-size: 24px;
    }

    .rx-step__content {
        padding-bottom: 38px;
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .rx-step__visual {
        min-height: 270px;
        grid-column: auto;
    }

    .rx-company__content .company__title,
    .rx-contacts .contacts__title {
        font-size: 40px;
    }

    .rx-contacts__map,
    .rx-contacts__map .contacts__map,
    .rx-contacts__map iframe {
        min-height: 420px;
        border-radius: 26px;
    }

    .rx-solutions-page__hero,
    .rx-solution__hero {
        padding-top: 20px;
        padding-bottom: 72px;
    }

    .rx-solutions-page__hero-grid,
    .rx-solution__hero-grid {
        border-radius: 28px;
    }

    .rx-solutions-page__heading,
    .rx-solution__intro {
        padding: 44px 26px;
    }

    .rx-solutions-page__heading h1,
    .rx-solution__title {
        font-size: 47px;
    }

    .rx-solutions-page__visual,
    .rx-solution__hero-media {
        min-height: 330px;
    }

    .rx-solution__gallery-item,
    .rx-solution__gallery-item:first-child {
        min-height: 330px;
    }

    .rx-disclosure > summary {
        min-height: 86px;
        font-size: 25px;
    }

    .rx-richtext {
        font-size: 15px;
    }

    .rx-properties__row {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .consultation.consultation--premium {
        padding: 76px 0;
    }

    .consultation--premium .consultation__title--premium {
        font-size: 40px;
    }

    .consultation--premium .consultation__form-card {
        padding: 22px;
        border-radius: 24px;
    }

    .consultation--premium .consultation__form-grid {
        grid-template-columns: 1fr;
    }

    .consultation--premium .consultation__field--full {
        grid-column: auto;
    }

    .rx-footer {
        padding-top: 62px;
    }

    .rx-footer__main,
    .rx-footer__bottom,
    .rx-footer__legal {
        display: grid;
        grid-template-columns: 1fr;
    }

    .rx-footer__brand {
        grid-column: auto;
    }

    .rx-footer__bottom {
        gap: 18px;
    }

    .rx-footer__legal {
        gap: 10px;
    }

    .rx-cookie__inner {
        align-items: flex-start;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .rx-site *,
    .rx-site *::before,
    .rx-site *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}
