/* =========================================================
   Rubberflex RX — premium patch 25.08.2026
   Built for /local/templates/prime
   Loaded AFTER rx-redesign.css.
   ========================================================= */

:root {
    --rxp-ink: #101713;
    --rxp-muted: #63706a;
    --rxp-green: #0b4f3d;
    --rxp-green-deep: #072f27;
    --rxp-green-dark: #052e26;
    --rxp-lime: #9fcf59;
    --rxp-paper: #f5f6f2;
    --rxp-white: #ffffff;
    --rxp-line: rgba(16, 23, 19, .11);
    --rxp-shadow: 0 28px 80px rgba(6, 42, 32, .11);
}

/* =========================================================
   HOME HERO — image fills viewport width, no lower mini-image
   ========================================================= */
.rx-hero.rx-hero--premium {
    width: 100%;
    padding: 0;
    background: var(--rxp-green-dark);
}

.rx-hero.rx-hero--premium .rx-hero__slider {
    width: 100%;
    border-radius: 0;
    box-shadow: none;
    overflow: hidden;
}

.rx-hero.rx-hero--premium .rx-hero__slide {
    position: relative;
    min-height: clamp(680px, calc(100svh - 74px), 920px);
    overflow: hidden;
}

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

.rx-hero.rx-hero--premium .rx-hero__media img {
    object-fit: cover;
    object-position: center center;
    transform: scale(1.005);
}

.rx-hero.rx-hero--premium .rx-hero__shade {
    z-index: 1;
    background:
        linear-gradient(90deg, rgba(4, 27, 22, .74) 0%, rgba(4, 27, 22, .52) 34%, rgba(4, 27, 22, .19) 65%, rgba(4, 27, 22, .08) 100%),
        linear-gradient(180deg, rgba(3, 22, 18, .08) 0%, rgba(3, 22, 18, .05) 55%, rgba(3, 22, 18, .34) 100%);
}

.rx-hero.rx-hero--premium .rx-hero__slide-inner {
    position: relative;
    z-index: 2;
    display: flex;
    min-height: inherit;
    align-items: center;
}

.rx-hero.rx-hero--premium .rx-hero__content {
    display: flex;
    width: min(760px, 72vw);
    min-height: 0;
    padding: clamp(92px, 10vw, 152px) 0 clamp(112px, 11vw, 168px);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.rx-hero.rx-hero--premium .rx-hero__eyebrow {
    display: inline-flex;
    margin-bottom: 22px;
    padding: 9px 13px;
    border: 1px solid rgba(255,255,255,.25);
    border-radius: 999px;
    background: rgba(3, 38, 29, .18);
    color: rgba(255,255,255,.88);
    backdrop-filter: blur(10px);
    font-size: 11px;
    font-weight: 650;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.rx-hero.rx-hero--premium .rx-hero__title {
    max-width: 880px;
    margin: 0;
    color: #fff;
    font-size: clamp(48px, 5.9vw, 94px);
    font-weight: 500;
    line-height: .94;
    letter-spacing: -.055em;
    text-wrap: balance;
}

.rx-hero.rx-hero--premium .rx-hero__text {
    max-width: 660px;
    margin-top: 28px;
    color: rgba(255,255,255,.84);
    font-size: clamp(18px, 1.55vw, 23px);
    line-height: 1.5;
}

.rx-hero.rx-hero--premium .rx-hero__actions {
    margin-top: 38px;
}

.rx-hero.rx-hero--premium .rx-hero__detail {
    display: none !important;
}

.rx-hero.rx-hero--premium .rx-hero__controls {
    right: auto;
    bottom: 38px;
    left: max(24px, calc((100vw - var(--rx-container, 1320px)) / 2 + 24px));
}

/* =========================================================
   8-photo works gallery between homepage system / solutions
   ========================================================= */
.rx-home-works {
    padding: clamp(24px, 4vw, 58px) 0 clamp(62px, 8vw, 112px);
    background: var(--rx-paper, #f6f7f4);
}

.rx-home-works__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-template-rows: repeat(4, clamp(130px, 16vw, 230px));
    grid-template-areas:
        "first first second third"
        "first first fourth fourth"
        "fifth sixth eighth eighth"
        "seventh seventh eighth eighth";
    gap: clamp(10px, 1.2vw, 18px);
}

.rx-home-works__item[data-rx-work-slot="01"] { grid-area: first; }
.rx-home-works__item[data-rx-work-slot="02"] { grid-area: second; }
.rx-home-works__item[data-rx-work-slot="03"] { grid-area: third; }
.rx-home-works__item[data-rx-work-slot="04"] { grid-area: fourth; }
.rx-home-works__item[data-rx-work-slot="05"] { grid-area: fifth; }
.rx-home-works__item[data-rx-work-slot="06"] { grid-area: sixth; }
.rx-home-works__item[data-rx-work-slot="07"] { grid-area: seventh; }
.rx-home-works__item[data-rx-work-slot="08"] { grid-area: eighth; }

.rx-home-works__item {
    position: relative;
    display: block;
    aspect-ratio: auto;
    min-width: 0;
    min-height: 0;
    border: 1px solid rgba(8, 62, 47, .11);
    border-radius: 22px;
    background:
        linear-gradient(145deg, rgba(11,79,61,.045), rgba(11,79,61,.012)),
        #eef2ef;
    overflow: hidden;
    cursor: default;
    transition: border-color .32s ease;
}

.rx-home-works__item.has-image {
    cursor: zoom-in;
}

.rx-home-works__item.has-image:hover {
    border-color: rgba(11,79,61,.28);
}

.rx-home-works__item img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .55s cubic-bezier(.2,.7,.2,1);
}

.rx-home-works__item.has-image:hover img,
.rx-home-works__item.has-image:focus-visible img {
    transform: scale(1.035);
}

.rx-home-works__item:focus-visible {
    outline: 3px solid var(--rxp-green);
    outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {
    .rx-home-works__item,
    .rx-home-works__item img {
        transition: none;
    }
    .rx-home-works__item.has-image:hover img,
    .rx-home-works__item.has-image:focus-visible img {
        transform: none;
    }
}

.rx-home-works__placeholder {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: rgba(11,79,61,.28);
    font-size: 13px;
    font-weight: 650;
    letter-spacing: .12em;
}

.rx-home-works__placeholder::before,
.rx-home-works__placeholder::after {
    position: absolute;
    content: '';
    background: rgba(11,79,61,.08);
}

.rx-home-works__placeholder::before {
    top: 50%;
    left: 13%;
    width: 74%;
    height: 1px;
}

.rx-home-works__placeholder::after {
    top: 13%;
    left: 50%;
    width: 1px;
    height: 74%;
}

.rx-home-works__placeholder span {
    position: relative;
    z-index: 1;
    display: grid;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(11,79,61,.12);
    border-radius: 50%;
    background: #f3f6f4;
    place-items: center;
}

.rx-home-works__item.has-image .rx-home-works__placeholder {
    display: none;
}

/* =========================================================
   PROJECT STEPS — no images, premium architectural backdrop
   ========================================================= */
.project-steps-premium.rx-project-steps--background {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: clamp(82px, 9vw, 132px) 0;
    background:
        radial-gradient(circle at 86% 12%, rgba(144, 200, 93, .18), transparent 30%),
        radial-gradient(circle at 8% 92%, rgba(255,255,255,.07), transparent 30%),
        linear-gradient(135deg, #073c31 0%, #062f28 58%, #082a24 100%);
}

.project-steps-premium.rx-project-steps--background::before,
.project-steps-premium.rx-project-steps--background::after {
    position: absolute;
    z-index: -1;
    pointer-events: none;
    content: '';
}

.project-steps-premium.rx-project-steps--background::before {
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: linear-gradient(90deg, transparent 0, #000 16%, #000 84%, transparent 100%);
}

.project-steps-premium.rx-project-steps--background::after {
    top: -26%;
    right: -8%;
    width: min(58vw, 820px);
    aspect-ratio: 1;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 50%;
    box-shadow:
        -120px 120px 0 -1px rgba(255,255,255,.025),
        -240px 240px 0 -1px rgba(255,255,255,.018);
}

.project-steps-premium.rx-project-steps--background .project-steps-premium__head {
    max-width: 980px;
    margin-bottom: 44px;
}

.project-steps-premium.rx-project-steps--background .project-steps-premium__label {
    color: var(--rxp-lime);
}

.project-steps-premium.rx-project-steps--background .project-steps-premium__title {
    color: #fff;
    font-size: clamp(38px, 4.2vw, 66px);
    line-height: 1.02;
    letter-spacing: -.045em;
}

.project-steps-premium.rx-project-steps--background .project-steps-premium__subtitle {
    color: rgba(255,255,255,.66);
}

.project-steps-premium.rx-project-steps--background .project-steps-premium__list {
    gap: 12px;
}

.project-steps-premium.rx-project-steps--background .project-step-card {
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 22px;
    background: rgba(255,255,255,.965);
    box-shadow: 0 16px 48px rgba(0,0,0,.11);
}

.project-steps-premium.rx-project-steps--background .project-step-card:hover {
    transform: none;
    border-color: rgba(159,207,89,.48);
    box-shadow: 0 20px 60px rgba(0,0,0,.16);
}

.project-steps-premium.rx-project-steps--background img,
.project-steps-premium.rx-project-steps--background picture,
.project-steps-premium.rx-project-steps--background .project-step-card__image,
.project-steps-premium.rx-project-steps--background .project-step-card__media,
.project-steps-premium.rx-project-steps--background .project-step-card__visual {
    display: none !important;
}

.project-steps-premium.rx-project-steps--background .project-step-card__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

.project-steps-premium.rx-project-steps--background .project-steps-premium__bottom {
    border: 1px solid rgba(255,255,255,.15);
    background: rgba(255,255,255,.08);
    color: rgba(255,255,255,.78);
    box-shadow: none;
    backdrop-filter: blur(10px);
}

.project-steps-premium.rx-project-steps--background .project-steps-premium__bottom strong {
    color: #fff;
}

/* =========================================================
   COMPANY — rebuilt as text-only premium block
   ========================================================= */
.company.company--rx-premium {
    position: relative;
    overflow: hidden;
    margin-top: 0 !important;
    padding: clamp(86px, 9vw, 140px) 0;
    border-top: 1px solid var(--rxp-line);
    border-bottom: 1px solid var(--rxp-line);
    background:
        radial-gradient(circle at 92% 10%, rgba(11,79,61,.065), transparent 28%),
        #f4f5f1;
}

.company.company--rx-premium .company__wrapper {
    position: relative;
    display: grid !important;
    grid-template-columns: minmax(0, 1.25fr) minmax(250px, .55fr);
    gap: clamp(48px, 8vw, 126px);
    align-items: end;
}

.company.company--rx-premium .company__text {
    position: relative;
    z-index: 2;
    width: 100% !important;
    max-width: 880px;
}

.company.company--rx-premium .title {
    margin: 0 0 24px;
}

.company.company--rx-premium .title__text {
    color: var(--rxp-green);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.company.company--rx-premium .company__title {
    max-width: 900px;
    margin: 0 !important;
    color: var(--rxp-ink);
    font-size: clamp(40px, 4.6vw, 72px);
    font-weight: 500;
    line-height: 1.01;
    letter-spacing: -.048em;
    text-wrap: balance;
}

.company.company--rx-premium .company__descr {
    max-width: 760px;
    margin: 30px 0 0 !important;
    color: #59655f;
    font-size: clamp(17px, 1.35vw, 20px);
    line-height: 1.65;
}

.company.company--rx-premium .company__descr p {
    margin: 0;
}

.company.company--rx-premium .company__slider-wrap,
.company.company--rx-premium .company__slider,
.company.company--rx-premium .company__slider-controls,
.company.company--rx-premium .company__buttons,
.company.company--rx-premium .company__slide,
.company.company--rx-premium .company__visual,
.company.company--rx-premium .company__image,
.company.company--rx-premium .company__media,
.company.company--rx-premium img {
    display: none !important;
}

.company.company--rx-premium .company__year {
    align-self: end;
    justify-self: end;
    color: rgba(11,79,61,.10);
    font-size: clamp(100px, 12vw, 190px);
    font-weight: 600;
    line-height: .72;
    letter-spacing: -.075em;
    user-select: none;
    pointer-events: none;
}

.company.company--rx-premium .company__button {
    display: inline-flex !important;
    width: auto !important;
    min-height: 52px;
    margin-top: 34px !important;
    padding: 0 26px;
    border: 1px solid var(--rxp-green-deep) !important;
    border-radius: 999px;
    background: var(--rxp-green-deep) !important;
    color: #fff !important;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
}

/* =========================================================
   BOTTOM FORM — image removed, cleaner 2-column layout
   ========================================================= */
.consultation.consultation--premium.rx-form-premium,
.consultation.consultation--premium {
    padding: clamp(86px, 9vw, 128px) 0;
    background:
        radial-gradient(circle at 10% 110%, rgba(159,207,89,.13), transparent 30%),
        var(--rx-green-dark, #073c31);
}

.consultation--premium .consultation__wrapper--premium {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(430px, .82fr);
    gap: clamp(48px, 7vw, 112px);
    align-items: center;
}

.consultation--premium .consultation__visual,
.consultation--premium .form-bottom__image,
.consultation--premium .consultation__image,
.consultation--premium .connection__img,
.consultation--premium .connection__img2,
.consultation--premium .connection__img3,
.consultation--premium .connection__img4,
.consultation--premium .connection__img5 {
    display: none !important;
}

.consultation--premium .consultation__content {
    max-width: 700px;
}

.consultation--premium .consultation__form-card {
    padding: clamp(28px, 3vw, 42px);
    border-radius: 28px;
    box-shadow: 0 30px 80px rgba(0,0,0,.18);
}

/* =========================================================
   READY-SOLUTION LONGFORM — restored old information,
   thesis visible / details hidden
   ========================================================= */
.rx-longform {
    background: #fff;
    color: var(--rxp-ink);
}

.rx-longform-section {
    padding: clamp(68px, 8vw, 112px) 0;
    border-top: 1px solid var(--rxp-line);
}

.rx-longform-section--soft {
    background: var(--rxp-paper);
}

.rx-longform-section--dark {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 90% 10%, rgba(159,207,89,.13), transparent 30%),
        #063a30;
    color: #fff;
}

.rx-longform__head {
    max-width: 940px;
    margin-bottom: 38px;
}

.rx-longform__eyebrow {
    margin-bottom: 14px;
    color: var(--rxp-green);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.rx-longform-section--dark .rx-longform__eyebrow {
    color: var(--rxp-lime);
}

.rx-longform__title {
    max-width: 980px;
    margin: 0;
    color: var(--rxp-ink);
    font-size: clamp(36px, 4vw, 62px);
    font-weight: 500;
    line-height: 1.02;
    letter-spacing: -.045em;
    text-wrap: balance;
}

.rx-longform-section--dark .rx-longform__title {
    color: #fff;
}

.rx-longform__lead {
    max-width: 820px;
    margin-top: 18px;
    color: var(--rxp-muted);
    font-size: 17px;
    line-height: 1.65;
}

.rx-longform-section--dark .rx-longform__lead {
    color: rgba(255,255,255,.68);
}

/* Variant switch */
.rx-longform-variants__nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.rx-longform-variants__button {
    min-height: 48px;
    padding: 0 18px;
    border: 1px solid rgba(11,79,61,.16);
    border-radius: 999px;
    background: #fff;
    color: #55625c;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background .2s ease, color .2s ease, border-color .2s ease;
}

.rx-longform-variants__button.is-active {
    border-color: var(--rxp-green);
    background: var(--rxp-green);
    color: #fff;
}

.rx-longform-variants__panel {
    display: none;
}

.rx-longform-variants__panel.is-active {
    display: block;
}

/* Generic disclosure list */
.rx-longform-list {
    border-top: 1px solid var(--rxp-line);
}

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

.rx-longform-item > summary {
    display: grid;
    min-height: 112px;
    padding: 22px 0;
    list-style: none;
    grid-template-columns: minmax(0, 1fr) 48px;
    gap: 30px;
    align-items: center;
    cursor: pointer;
}

.rx-longform-item > summary::-webkit-details-marker {
    display: none;
}

.rx-longform-item__title {
    display: block;
    color: var(--rxp-ink);
    font-size: clamp(22px, 2.3vw, 34px);
    font-weight: 500;
    line-height: 1.12;
    letter-spacing: -.028em;
}

.rx-longform-item__thesis {
    display: block;
    max-width: 900px;
    margin-top: 8px;
    color: var(--rxp-muted);
    font-size: 15px;
    line-height: 1.55;
}

.rx-longform-item__icon {
    position: relative;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(11,79,61,.22);
    border-radius: 50%;
    background: #f4f7f5;
}

.rx-longform-item__icon::before,
.rx-longform-item__icon::after {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 14px;
    height: 1px;
    background: var(--rxp-green);
    content: '';
    transform: translate(-50%, -50%);
    transition: transform .22s ease, opacity .22s ease;
}

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

.rx-longform-item[open] .rx-longform-item__icon::after {
    opacity: 0;
}

.rx-longform-item__body {
    max-width: 980px;
    padding: 0 76px 38px 0;
    color: #48554f;
    font-size: 16px;
    line-height: 1.72;
}

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

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

.rx-longform-item__body h2,
.rx-longform-item__body h3,
.rx-longform-item__body h4 {
    margin: 28px 0 12px;
    color: var(--rxp-ink);
    font-size: 22px;
    font-weight: 600;
}

.rx-longform-item__body ul,
.rx-longform-item__body ol {
    padding-left: 22px;
}

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

/* Main thought */
.rx-longform-thought {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 24px;
    max-width: 1040px;
    padding: clamp(28px, 4vw, 48px);
    border: 1px solid rgba(11,79,61,.12);
    border-radius: 28px;
    background: #fff;
    box-shadow: 0 20px 56px rgba(8,49,38,.06);
}

.rx-longform-thought__mark {
    display: grid;
    width: 64px;
    height: 64px;
    border-radius: 20px;
    background: var(--rxp-green);
    color: #fff;
    place-items: center;
    font-size: 26px;
    font-weight: 500;
}

.rx-longform-thought__label {
    margin-bottom: 10px;
    color: var(--rxp-green);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.rx-longform-thought__title {
    margin: 0 0 12px;
    color: var(--rxp-ink);
    font-size: clamp(24px, 2.7vw, 40px);
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: -.03em;
}

.rx-longform-thought__text {
    color: #4f5c56;
    font-size: 17px;
    line-height: 1.65;
}

/* Core logic */
.rx-longform-core {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(260px, .75fr);
    gap: clamp(36px, 6vw, 86px);
    padding: clamp(38px, 5vw, 66px);
    border-radius: 30px;
    background: #063a30;
    color: #fff;
    align-items: end;
}

.rx-longform-core__label {
    margin-bottom: 16px;
    color: var(--rxp-lime);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.rx-longform-core__text {
    max-width: 820px;
    font-size: clamp(24px, 2.8vw, 42px);
    font-weight: 500;
    line-height: 1.14;
    letter-spacing: -.035em;
}

.rx-longform-core__note {
    color: rgba(255,255,255,.72);
    font-size: 16px;
    line-height: 1.65;
}

/* References */
.rx-longform-references {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.rx-longform-reference {
    position: relative;
    min-height: 360px;
    border-radius: 24px;
    background: #dce6e1;
    overflow: hidden;
}

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

.rx-longform-reference::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 38%, rgba(4,28,22,.88) 100%);
    content: '';
}

.rx-longform-reference__caption {
    position: absolute;
    z-index: 2;
    right: 22px;
    bottom: 20px;
    left: 22px;
    color: #fff;
}

.rx-longform-reference__title {
    font-size: 20px;
    font-weight: 500;
    line-height: 1.15;
}

.rx-longform-reference__meta {
    margin-top: 8px;
    color: rgba(255,255,255,.7);
    font-size: 12px;
    line-height: 1.45;
}

/* Errors */
.rx-longform-errors {
    display: grid;
    align-items: start;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.rx-longform-error {
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 22px;
    background: rgba(255,255,255,.07);
    backdrop-filter: blur(10px);
    overflow: hidden;
}

.rx-longform-error > summary {
    display: grid;
    align-items: center;
    min-height: 88px;
    padding: 24px;
    list-style: none;
    grid-template-columns: minmax(0, 1fr) 42px;
    gap: 20px;
    cursor: pointer;
}

.rx-longform-error > summary::-webkit-details-marker {
    display: none;
}

.rx-longform-error__title {
    display: block;
    color: #fff;
    font-size: 22px;
    font-weight: 500;
    line-height: 1.15;
}

.rx-longform-error__thesis {
    display: block;
    margin-top: 10px;
    color: rgba(255,255,255,.64);
    font-size: 14px;
    line-height: 1.55;
}

.rx-longform-error__icon {
    position: relative;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 50%;
}

.rx-longform-error__icon::before,
.rx-longform-error__icon::after {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 13px;
    height: 1px;
    background: var(--rxp-lime);
    content: '';
    transform: translate(-50%, -50%);
}

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

.rx-longform-error[open] .rx-longform-error__icon::after {
    display: none;
}

.rx-longform-error__body {
    padding: 0 24px 26px;
    color: rgba(255,255,255,.78);
    font-size: 15px;
    line-height: 1.65;
}

.rx-longform-error__body > :first-child { margin-top: 0; }
.rx-longform-error__body > :last-child { margin-bottom: 0; }

/* Positioning note */
.rx-longform-note {
    display: grid;
    grid-template-columns: 10px minmax(0,1fr);
    gap: 22px;
    max-width: 1000px;
    padding: 30px 34px;
    border: 1px solid rgba(11,79,61,.14);
    border-radius: 24px;
    background: #fff;
}

.rx-longform-note::before {
    display: block;
    width: 4px;
    border-radius: 999px;
    background: var(--rxp-green);
    content: '';
}

.rx-longform-note__label {
    margin-bottom: 8px;
    color: var(--rxp-green);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.rx-longform-note__text {
    color: var(--rxp-ink);
    font-size: clamp(19px, 2vw, 27px);
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: -.018em;
}

/* Project steps on ready-solution detail */
.rx-longform-steps {
    border-top: 1px solid rgba(255,255,255,.14);
}

.rx-longform-step {
    border-bottom: 1px solid rgba(255,255,255,.14);
}

.rx-longform-step > summary {
    display: grid;
    min-height: 118px;
    padding: 22px 0;
    list-style: none;
    grid-template-columns: 58px minmax(0, 1fr) 46px;
    gap: 22px;
    align-items: center;
    cursor: pointer;
}

.rx-longform-step > summary::-webkit-details-marker {
    display: none;
}

.rx-longform-step__num {
    color: var(--rxp-lime);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .12em;
}

.rx-longform-step__title {
    display: block;
    color: #fff;
    font-size: clamp(22px, 2.5vw, 36px);
    font-weight: 500;
    line-height: 1.12;
    letter-spacing: -.03em;
}

.rx-longform-step__thesis {
    display: block;
    max-width: 820px;
    margin-top: 7px;
    color: rgba(255,255,255,.62);
    font-size: 14px;
    line-height: 1.5;
}

.rx-longform-step__icon {
    position: relative;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255,255,255,.24);
    border-radius: 50%;
}

.rx-longform-step__icon::before,
.rx-longform-step__icon::after {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 14px;
    height: 1px;
    background: var(--rxp-lime);
    content: '';
    transform: translate(-50%, -50%);
}

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

.rx-longform-step[open] .rx-longform-step__icon::after {
    display: none;
}

.rx-longform-step__body {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    padding: 0 0 34px 80px;
}

.rx-longform-step__col {
    padding: 22px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 18px;
    background: rgba(255,255,255,.06);
}

.rx-longform-step__col-label {
    margin-bottom: 10px;
    color: var(--rxp-lime);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.rx-longform-step__col-text {
    color: rgba(255,255,255,.78);
    font-size: 15px;
    line-height: 1.65;
}

.rx-longform-step__footer {
    margin-top: 30px;
    color: rgba(255,255,255,.7);
    font-size: 20px;
    line-height: 1.55;
}

.rx-longform-step__footer strong {
    color: #fff;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1100px) {
    .company.company--rx-premium .company__wrapper {
        grid-template-columns: 1fr;
        gap: 52px;
    }

    .company.company--rx-premium .company__year {
        justify-self: start;
    }

    .rx-longform-references {
        grid-template-columns: repeat(2, minmax(0,1fr));
    }
}

@media (max-width: 900px) {
    .rx-hero.rx-hero--premium .rx-hero__slide {
        min-height: 720px;
    }

    .rx-hero.rx-hero--premium .rx-hero__content {
        width: min(680px, 90vw);
    }

    .project-steps-premium.rx-project-steps--background .project-step-card__grid,
    .rx-longform-step__body {
        grid-template-columns: 1fr !important;
    }

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

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

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

@media (max-width: 767px) {
    .rx-hero.rx-hero--premium .rx-hero__slide {
        min-height: 670px;
    }

    .rx-hero.rx-hero--premium .rx-hero__shade {
        background:
            linear-gradient(180deg, rgba(4,27,22,.36) 0%, rgba(4,27,22,.44) 42%, rgba(4,27,22,.76) 100%);
    }

    .rx-hero.rx-hero--premium .rx-hero__media img {
        object-position: 62% center;
    }

    .rx-hero.rx-hero--premium .rx-hero__content {
        width: 100%;
        padding: 96px 0 120px;
        justify-content: flex-end;
    }

    .rx-hero.rx-hero--premium .rx-hero__title {
        font-size: clamp(42px, 13vw, 62px);
        line-height: .96;
    }

    .rx-hero.rx-hero--premium .rx-hero__text {
        margin-top: 20px;
        font-size: 17px;
    }

    .rx-hero.rx-hero--premium .rx-hero__actions {
        width: 100%;
        margin-top: 28px;
        gap: 16px;
        align-items: flex-start;
        flex-direction: column;
    }

    .rx-home-works {
        padding-top: 18px;
    }

    .rx-home-works__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: repeat(6, clamp(140px, 42vw, 285px));
        grid-template-areas:
            "first first"
            "second third"
            "fourth fourth"
            "fifth sixth"
            "seventh seventh"
            "eighth eighth";
        gap: 10px;
    }

    .rx-home-works__item {
        border-radius: 14px;
        aspect-ratio: auto;
    }

    .project-steps-premium.rx-project-steps--background::before {
        background-size: 44px 44px;
    }

    .company.company--rx-premium {
        padding: 74px 0 82px;
    }

    .company.company--rx-premium .company__wrapper {
        gap: 38px;
    }

    .company.company--rx-premium .company__title {
        font-size: 38px;
        line-height: 1.04;
    }

    .company.company--rx-premium .company__year {
        font-size: 90px;
    }

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

    .rx-longform-section {
        padding: 64px 0;
    }

    .rx-longform__title {
        font-size: 34px;
    }

    .rx-longform-item > summary {
        min-height: 96px;
        grid-template-columns: minmax(0,1fr) 42px;
        gap: 18px;
    }

    .rx-longform-item__title {
        font-size: 22px;
    }

    .rx-longform-item__thesis {
        font-size: 14px;
    }

    .rx-longform-item__body {
        padding-right: 0;
        font-size: 15px;
    }

    .rx-longform-thought {
        grid-template-columns: 1fr;
        padding: 24px;
    }

    .rx-longform-thought__mark {
        width: 52px;
        height: 52px;
        border-radius: 16px;
    }

    .rx-longform-core {
        padding: 28px 24px;
        border-radius: 24px;
    }

    .rx-longform-core__text {
        font-size: 26px;
    }

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

    .rx-longform-reference {
        min-height: 320px;
    }

    .rx-longform-error > summary {
        min-height: 132px;
        padding: 20px;
    }

    .rx-longform-step > summary {
        min-height: 106px;
        grid-template-columns: 42px minmax(0,1fr) 40px;
        gap: 13px;
    }

    .rx-longform-step__body {
        padding-left: 0;
    }

    .rx-longform-step__col {
        padding: 18px;
    }

    .rx-longform-note {
        padding: 24px 20px;
    }
}

/* =========================================================
   27.08.2026 tweaks
   - homepage hero: already full-width via premium template
   - ready solutions hero: full-width background image
   - ready solutions longform: more compact presentation
   ========================================================= */

.rx-solution__hero.rx-solution__hero--wide {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    min-height: clamp(520px, calc(100svh - 74px), 820px);
    padding: 0;
    background: #082d24;
}

.rx-solution__hero--wide .rx-solution__hero-media,
.rx-solution__hero--wide .rx-solution__hero-media img,
.rx-solution__hero--wide .rx-solution__hero-shade {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.rx-solution__hero--wide .rx-solution__hero-media img {
    object-fit: cover;
    object-position: center center;
}

.rx-solution__hero--wide .rx-solution__hero-shade {
    z-index: 1;
    background:
        linear-gradient(90deg, rgba(4, 27, 22, .78) 0%, rgba(4, 27, 22, .58) 34%, rgba(4, 27, 22, .18) 67%, rgba(4, 27, 22, .10) 100%),
        linear-gradient(180deg, rgba(3, 22, 18, .10) 0%, rgba(3, 22, 18, .12) 60%, rgba(3, 22, 18, .28) 100%);
}

.rx-solution__hero-inner {
    position: relative;
    z-index: 2;
    display: flex;
    min-height: inherit;
    align-items: center;
}

.rx-solution__hero--wide .rx-solution__intro {
    width: min(760px, 72vw);
    padding: clamp(86px, 10vw, 152px) 0 clamp(96px, 11vw, 148px);
}

.rx-back-link--light {
    color: rgba(255,255,255,.88);
    border-color: rgba(255,255,255,.16);
    background: rgba(255,255,255,.08);
    backdrop-filter: blur(12px);
}

.rx-back-link--light:hover {
    color: #fff;
    border-color: rgba(255,255,255,.30);
    background: rgba(255,255,255,.12);
}

.rx-solution__eyebrow--light {
    display: inline-flex;
    margin: 20px 0 18px;
    padding: 8px 12px;
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 999px;
    background: rgba(255,255,255,.08);
    color: rgba(255,255,255,.86);
    font-size: 11px;
    font-weight: 650;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.rx-solution__title--hero {
    max-width: 900px;
    margin: 0;
    color: #fff;
    font-size: clamp(38px, 5.2vw, 76px);
    font-weight: 500;
    line-height: .98;
    letter-spacing: -.045em;
    text-wrap: balance;
}

.rx-solution__lead--hero {
    max-width: 700px;
    margin-top: 24px;
    color: rgba(255,255,255,.82);
    font-size: clamp(16px, 1.35vw, 20px);
    line-height: 1.58;
}

.rx-solution__hero-actions {
    margin-top: 30px;
}

.rx-solution__body--compact {
    padding-top: clamp(28px, 4vw, 46px);
}

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

.rx-solution__gallery {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.rx-solution__gallery-item {
    margin: 0;
    overflow: hidden;
    border: 1px solid rgba(8, 53, 42, .09);
    border-radius: 18px;
    background: #edf2ef;
    aspect-ratio: 1.26 / 1;
}

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

.rx-solution__accordions {
    display: grid;
    gap: 12px;
}

.rx-disclosure {
    border: 1px solid rgba(8, 53, 42, .09);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 14px 36px rgba(7, 44, 34, .05);
}

.rx-disclosure > summary {
    padding: 18px 22px;
    font-size: 14px;
    font-weight: 650;
}

.rx-disclosure__content {
    padding: 0 22px 20px;
    color: #52615b;
    font-size: 14px;
    line-height: 1.62;
}

.rx-disclosure__content p,
.rx-richtext p {
    margin: 0 0 12px;
}

.rx-properties {
    display: grid;
    gap: 0;
}

.rx-properties__row {
    display: grid;
    grid-template-columns: minmax(180px, 250px) minmax(0, 1fr);
    gap: 12px 18px;
    padding: 10px 0;
    border-top: 1px solid rgba(8, 53, 42, .08);
}

.rx-properties__row:first-child {
    border-top: 0;
    padding-top: 0;
}

.rx-properties__row dt {
    color: #143b31;
    font-size: 13px;
    font-weight: 600;
}

.rx-properties__row dd {
    margin: 0;
    color: #52615b;
    font-size: 13px;
    line-height: 1.55;
}

/* Compact ready-solution content blocks */
.rx-longform-section {
    padding: clamp(44px, 5vw, 68px) 0;
}

.rx-longform-section--compact {
    padding-top: 26px;
}

.rx-longform__head--compact {
    max-width: 760px;
    margin-bottom: 22px;
}

.rx-longform__head--compact .rx-longform__title {
    font-size: clamp(28px, 3vw, 40px);
}

.rx-longform__head--compact .rx-longform__lead {
    font-size: 14px;
    line-height: 1.6;
}

.rx-longform-variants--compact .rx-longform-variants__nav {
    margin-bottom: 18px;
}

.rx-longform-variants__panel-title {
    margin: 0 0 16px;
    color: #143b31;
    font-size: 22px;
    font-weight: 500;
    line-height: 1.15;
}

.rx-longform-structure-grid {
    display: grid;
    align-items: start;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.rx-longform-structure-card {
    border: 1px solid rgba(8, 53, 42, .09);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 14px 36px rgba(7, 44, 34, .05);
    overflow: hidden;
}

.rx-longform-structure-card > summary {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
    padding: 14px;
    cursor: pointer;
    list-style: none;
}

.rx-longform-structure-card > summary::-webkit-details-marker {
    display: none;
}

.rx-longform-structure-card__thumb {
    display: block;
    width: 94px;
    min-width: 94px;
    aspect-ratio: 1 / 1;
    border-radius: 14px;
    overflow: hidden;
    background: #edf2ef;
}

.rx-longform-structure-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.rx-longform-structure-card__content {
    display: grid;
    gap: 5px;
    min-width: 0;
}

.rx-longform-structure-card__title {
    color: #143b31;
    font-size: 15px;
    font-weight: 650;
    line-height: 1.35;
}

.rx-longform-structure-card__thesis {
    color: #66756f;
    font-size: 13px;
    line-height: 1.55;
}

.rx-longform-structure-card__icon {
    position: relative;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 1px solid rgba(8, 53, 42, .14);
}

.rx-longform-structure-card__icon::before,
.rx-longform-structure-card__icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 1.5px;
    background: #143b31;
    transform: translate(-50%, -50%);
}

.rx-longform-structure-card__icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
    transition: transform .2s ease;
}

.rx-longform-structure-card[open] .rx-longform-structure-card__icon::after {
    transform: translate(-50%, -50%) rotate(0deg);
}

.rx-longform-structure-card__body {
    padding: 0 14px 14px 122px;
    color: #52615b;
    font-size: 13px;
    line-height: 1.58;
}

.rx-longform-structure-card__body > :first-child {
    margin-top: 0;
}

.rx-longform-structure-card__body > :last-child {
    margin-bottom: 0;
}

.rx-longform-thought {
    gap: 22px;
    padding: 22px 24px;
    border-radius: 20px;
}

.rx-longform-thought__mark {
    width: 56px;
    height: 56px;
    font-size: 16px;
}

.rx-longform-thought__label,
.rx-longform-core__label,
.rx-longform-note__label {
    font-size: 11px;
    letter-spacing: .11em;
}

.rx-longform-thought__title {
    font-size: clamp(24px, 2.7vw, 34px);
}

.rx-longform-thought__text {
    font-size: 14px;
    line-height: 1.65;
}

.rx-longform-core {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    padding: 18px 20px;
    border-radius: 16px;
    background: rgba(255,255,255,.72);
    border: 1px solid rgba(8, 53, 42, .09);
    box-shadow: none;
}

.rx-longform-core__text,
.rx-longform-core__note {
    font-size: 13px;
    line-height: 1.55;
    color: #52615b;
}

.rx-longform-core__note {
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(8, 53, 42, .04);
}

.rx-longform-note {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
    padding: 14px 18px;
    border-radius: 14px;
    border: 1px solid rgba(8, 53, 42, .08);
    background: rgba(255,255,255,.65);
    box-shadow: none;
}

.rx-longform-note::before {
    display: none;
}

.rx-longform-note__text {
    font-size: 13px;
    line-height: 1.55;
    color: #52615b;
}

/* Smaller project-steps / errors cards to match subdued solution pages */
.rx-longform-error > summary,
.rx-longform-step > summary,
.rx-longform-item > summary {
    padding: 16px 18px;
}

.rx-longform-error__title,
.rx-longform-step__title,
.rx-longform-item__title {
    font-size: 15px;
}

.rx-longform-error__thesis,
.rx-longform-step__thesis,
.rx-longform-item__thesis,
.rx-longform-error__body,
.rx-longform-step__col-text,
.rx-longform-item__body {
    font-size: 13px;
    line-height: 1.58;
}

@media (max-width: 980px) {
    .rx-solution__gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

@media (max-width: 767px) {
    .rx-solution__hero.rx-solution__hero--wide {
        min-height: 460px;
    }

    .rx-solution__hero--wide .rx-solution__intro {
        width: 100%;
        padding: 72px 0 86px;
    }

    .rx-solution__title--hero {
        font-size: clamp(30px, 9vw, 44px);
    }

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

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

    .rx-longform-structure-card > summary {
        grid-template-columns: 78px minmax(0, 1fr) auto;
        gap: 12px;
    }

    .rx-longform-structure-card__thumb {
        width: 78px;
        min-width: 78px;
        border-radius: 12px;
    }

    .rx-longform-structure-card__body {
        padding: 0 14px 14px;
    }
}

/* =========================================================
   27.08.2026 — edge clipping fix + removed legacy blocks
   ========================================================= */

/* Эти блоки больше не используем ни на главной, ни в готовых решениях */
.rx-longform-thought,
.rx-longform-core,
.rx-longform-note,
.main-thought-block,
.foundation-premium,
.premium-note {
    display: none !important;
}

/* Страховка от обрезания карточек и текста по бокам на страницах решений */
.rx-solution,
.rx-solution__body,
.rx-longform,
.rx-longform-section,
.rx-longform-section > .rx-container {
    box-sizing: border-box;
    max-width: 100%;
}

.rx-longform-section--dark {
    overflow: visible;
}

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

.rx-longform-variants,
.rx-longform-variants__panel,
.rx-longform-structure-grid,
.rx-longform-structure-card,
.rx-longform-errors,
.rx-longform-error,
.rx-longform-steps,
.rx-longform-step,
.rx-longform-references,
.rx-longform-reference,
.rx-solution__top-grid,
.rx-solution__accordions,
.rx-disclosure,
.rx-properties,
.rx-properties__row {
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
}

.rx-longform-structure-card > summary > *,
.rx-longform-error > summary > *,
.rx-longform-step > summary > *,
.rx-disclosure > summary > * {
    min-width: 0;
}

.rx-longform-structure-card__title,
.rx-longform-structure-card__thesis,
.rx-longform-error__title,
.rx-longform-error__thesis,
.rx-longform-step__title,
.rx-longform-step__thesis,
.rx-properties__row dt,
.rx-properties__row dd,
.rx-disclosure__content,
.rx-longform-structure-card__body {
    overflow-wrap: anywhere;
    word-break: normal;
}

.rx-longform-structure-card__body,
.rx-disclosure__content,
.rx-longform-item__body,
.rx-longform-error__body,
.rx-longform-step__body {
    max-width: 100%;
    box-sizing: border-box;
}

.rx-longform-structure-card__body table,
.rx-disclosure__content table,
.rx-longform-item__body table {
    display: block;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* Чуть больше воздуха от краёв экрана именно у длинных блоков решений */
@media (max-width: 980px) {
    .rx-longform .rx-container {
        width: min(calc(100% - 40px), var(--rx-container));
    }
}

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

    .rx-longform-structure-card > summary {
        width: 100%;
        grid-template-columns: 72px minmax(0, 1fr) 20px;
        gap: 10px;
        padding: 12px;
    }

    .rx-longform-structure-card__thumb {
        width: 72px;
        min-width: 72px;
    }

    .rx-longform-error > summary {
        width: 100%;
        grid-template-columns: minmax(0, 1fr) 34px;
        gap: 12px;
        padding: 16px;
    }

    .rx-longform-step > summary {
        width: 100%;
        grid-template-columns: 34px minmax(0, 1fr) 34px;
        gap: 10px;
        padding: 16px 0;
    }

    .rx-longform-step__body {
        width: 100%;
        grid-template-columns: 1fr;
        padding: 0 0 24px;
    }
}

/* =========================================================
   27.08.2026 V3 — root width fix + references 4-up
   ========================================================= */

/*
 * Причина прежнего обрезания была выше уровня карточек:
 * базовый rx-redesign задаёт .rx-container через width: calc(...),
 * а body.rx-site одновременно скрывает горизонтальный overflow.
 * Для длинных блоков готового решения это давало конфликт с grid,
 * внутренними min-content-размерами и тенями. Здесь полностью
 * переопределяем геометрию контейнера именно внутри rx-longform.
 */
.rx-longform {
    width: 100%;
    max-width: 100%;
    overflow: visible !important;
}

.rx-longform-section {
    width: 100%;
    max-width: 100%;
    overflow: visible !important;
}

.rx-longform-section > .rx-container {
    width: 100% !important;
    max-width: calc(var(--rx-container, 1420px) + 64px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 32px !important;
    padding-right: 32px !important;
    box-sizing: border-box !important;
}

/* Всё содержимое длинных блоков обязано ужиматься внутри grid. */
.rx-longform-section > .rx-container > *,
.rx-longform-variants,
.rx-longform-variants__panel,
.rx-longform-structure-grid,
.rx-longform-structure-card,
.rx-longform-errors,
.rx-longform-error,
.rx-longform-steps,
.rx-longform-step,
.rx-longform-step > summary,
.rx-longform-step__body,
.rx-longform-step__col,
.rx-longform-step__footer,
.rx-longform-references,
.rx-longform-reference {
    min-width: 0 !important;
    max-width: 100%;
    box-sizing: border-box;
}

/* Убираем старый левый отступ, который мог выталкивать раскрытый step. */
.rx-longform-step__body {
    padding-left: 0 !important;
}

/* На раскрытии сохраняем воздух, но только внутри собственной ширины. */
.rx-longform-error__body,
.rx-longform-step__body,
.rx-longform-structure-card__body,
.rx-longform-item__body {
    width: 100%;
    overflow-wrap: anywhere;
}

/* Тёмный фон остаётся на всю ширину, контент не режется родителем. */
.rx-longform-section--dark {
    overflow: visible !important;
}

/* -------- References: только изображения, 4 в ряд -------- */
.rx-longform-section--references {
    padding: clamp(38px, 5vw, 72px) 0;
    background: #fff;
}

.rx-longform-section--references > .rx-longform-references-shell {
    max-width: 1840px !important;
    padding-left: 24px !important;
    padding-right: 24px !important;
}

.rx-longform-references {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 14px !important;
}

.rx-longform-reference {
    position: relative;
    display: block;
    width: 100%;
    min-height: 0 !important;
    aspect-ratio: 1.08 / 1;
    border-radius: 22px;
    background: #e5ebe8;
    overflow: hidden !important;
    cursor: zoom-in;
    box-shadow: none;
    text-decoration: none !important;
}

.rx-longform-reference img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .45s cubic-bezier(.2,.7,.2,1);
}

.rx-longform-reference:hover img {
    transform: scale(1.025);
}

/* Никаких подписей, градиентов и текста у референсов. */
.rx-longform-reference::after,
.rx-longform-reference__caption,
.rx-longform-reference__title,
.rx-longform-reference__meta,
.rx-longform-section--references .rx-longform__head,
.rx-longform-section--references .rx-longform__eyebrow,
.rx-longform-section--references .rx-longform__title,
.rx-longform-section--references .rx-longform__lead {
    display: none !important;
}

@media (max-width: 1180px) {
    .rx-longform-references {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 767px) {
    .rx-longform-section > .rx-container {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }

    .rx-longform-section--references > .rx-longform-references-shell {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }

    .rx-longform-references {
        gap: 10px !important;
    }

    .rx-longform-reference {
        border-radius: 16px;
        aspect-ratio: 1 / 1;
    }
}

@media (max-width: 520px) {
    .rx-longform-references {
        grid-template-columns: 1fr !important;
    }
}

/* =========================================================
   27.08.2026 V4 — unified geometry, cleaner palette and forms
   ========================================================= */

/* One restrained palette for the redesigned site. PRO keeps its own styles. */
body.rx-site:not(.rx-site--pro) {
    --rx-ink: #111915;
    --rx-muted: #5f6c66;
    --rx-paper: #f4f5f1;
    --rx-green: #0b4f3d;
    --rx-green-dark: #06382f;
    --rx-lime: #a4cf63;
    --rx-line: rgba(8, 53, 42, .11);
    --rx-radius: 24px;
    --rx-radius-sm: 16px;
    --rx-shadow: 0 22px 64px rgba(6, 42, 32, .10);
    --rxp-ink: #111915;
    --rxp-muted: #5f6c66;
    --rxp-green: #0b4f3d;
    --rxp-green-deep: #07382f;
    --rxp-green-dark: #052f28;
    --rxp-lime: #a4cf63;
    --rxp-paper: #f4f5f1;
    --rxp-line: rgba(8, 53, 42, .10);
}

@supports (overflow: clip) {
    body.rx-site:not(.rx-site--pro) {
        overflow-x: clip;
    }
}

/*
 * A single container model: full available width, internal safe area and a
 * fixed maximum content width. This replaces the conflicting width:calc()
 * models that caused solution-page edges to disappear.
 */
body.rx-site:not(.rx-site--pro) .rx-container {
    width: 100%;
    max-width: calc(var(--rx-container, 1420px) + 64px);
    margin-right: auto;
    margin-left: auto;
    padding-right: 32px;
    padding-left: 32px;
    box-sizing: border-box;
}

body.rx-site:not(.rx-site--pro) .rx-solutions-page,
body.rx-site:not(.rx-site--pro) .rx-solution,
body.rx-site:not(.rx-site--pro) .rx-solutions-page > *,
body.rx-site:not(.rx-site--pro) .rx-solution > *,
body.rx-site:not(.rx-site--pro) .rx-solution__body > .rx-container,
body.rx-site:not(.rx-site--pro) .rx-solution__top-grid,
body.rx-site:not(.rx-site--pro) .rx-solution__gallery,
body.rx-site:not(.rx-site--pro) .rx-solution__accordions,
body.rx-site:not(.rx-site--pro) .rx-solutions-grid,
body.rx-site:not(.rx-site--pro) .rx-solution-card {
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
}

/* This element is both a container and the rounded hero card itself. */
body.rx-site:not(.rx-site--pro) .rx-solutions-page__hero-grid {
    width: min(calc(100% - 64px), var(--rx-container, 1420px));
    max-width: var(--rx-container, 1420px);
    padding-right: 0;
    padding-left: 0;
}

/* Old rich-text markup must never determine the page width. */
body.rx-site:not(.rx-site--pro) .rx-solution .rx-richtext,
body.rx-site:not(.rx-site--pro) .rx-solution .rx-disclosure__content,
body.rx-site:not(.rx-site--pro) .rx-solution .rx-richtext > *,
body.rx-site:not(.rx-site--pro) .rx-solution .rx-disclosure__content > * {
    min-width: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
    box-sizing: border-box;
}

body.rx-site:not(.rx-site--pro) .rx-solution .rx-richtext img,
body.rx-site:not(.rx-site--pro) .rx-solution .rx-richtext picture,
body.rx-site:not(.rx-site--pro) .rx-solution .rx-richtext video,
body.rx-site:not(.rx-site--pro) .rx-solution .rx-richtext svg {
    display: block;
    max-width: 100% !important;
    height: auto;
}

body.rx-site:not(.rx-site--pro) .rx-solution .rx-richtext iframe {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
}

body.rx-site:not(.rx-site--pro) .rx-solution .rx-richtext .container {
    width: 100% !important;
    max-width: 100% !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
    padding-right: 0 !important;
    padding-left: 0 !important;
}

body.rx-site:not(.rx-site--pro) .rx-solution .rx-richtext pre {
    max-width: 100%;
    overflow-x: auto;
}

/* Compact, consistent cards on solution pages. */
body.rx-site:not(.rx-site--pro) .rx-solution__body--compact {
    padding-bottom: clamp(48px, 6vw, 84px);
}

body.rx-site:not(.rx-site--pro) .rx-solution__accordions {
    position: static;
    top: auto;
    border-top: 0;
}

body.rx-site:not(.rx-site--pro) .rx-disclosure,
body.rx-site:not(.rx-site--pro) .rx-longform-structure-card {
    border-color: rgba(8, 53, 42, .10);
    border-radius: 20px;
    box-shadow: 0 12px 32px rgba(7, 44, 34, .055);
}

body.rx-site:not(.rx-site--pro) .rx-disclosure > summary {
    min-height: 72px;
    padding: 18px 22px;
    grid-template-columns: minmax(0, 1fr) 32px;
    gap: 18px;
}

body.rx-site:not(.rx-site--pro) .rx-longform-structure-card--no-image > summary {
    grid-template-columns: minmax(0, 1fr) auto;
}

body.rx-site:not(.rx-site--pro) .rx-longform-structure-card--no-image .rx-longform-structure-card__body {
    padding-left: 14px;
}

body.rx-site:not(.rx-site--pro) .rx-longform-section--errors {
    background:
        radial-gradient(circle at 88% 4%, rgba(164, 207, 99, .10), transparent 28%),
        #052f28;
}

body.rx-site:not(.rx-site--pro) .rx-longform-section--process {
    border-top-color: rgba(255, 255, 255, .16);
    background:
        radial-gradient(circle at 10% 100%, rgba(164, 207, 99, .10), transparent 30%),
        #073a30;
}

body.rx-site:not(.rx-site--pro) .rx-solution-card__link,
body.rx-site:not(.rx-site--pro) .rx-solution__gallery-item,
body.rx-site:not(.rx-site--pro) .rx-solutions-page__hero-grid {
    border-radius: 24px;
}

/* Company: wider headline and copy, with the year kept as a quiet accent. */
body.rx-site:not(.rx-site--pro) .company.company--rx-premium > .container {
    width: 100% !important;
    max-width: calc(var(--rx-container, 1420px) + 64px) !important;
    margin-right: auto !important;
    margin-left: auto !important;
    padding-right: 32px !important;
    padding-left: 32px !important;
    box-sizing: border-box;
}

body.rx-site:not(.rx-site--pro) .company.company--rx-premium .company__wrapper {
    grid-template-columns: minmax(0, 1120px) auto;
    gap: clamp(36px, 5vw, 76px);
    align-items: end;
    justify-content: space-between;
}

body.rx-site:not(.rx-site--pro) .company.company--rx-premium .company__text {
    max-width: 1120px;
}

body.rx-site:not(.rx-site--pro) .company.company--rx-premium .title {
    margin-bottom: 20px;
}

body.rx-site:not(.rx-site--pro) .company.company--rx-premium .company__title {
    max-width: 1100px;
    font-size: clamp(40px, 4.25vw, 68px);
    line-height: 1.04;
    letter-spacing: -.042em;
    text-wrap: pretty;
}

body.rx-site:not(.rx-site--pro) .company.company--rx-premium .company__descr {
    max-width: 940px;
    margin-top: 28px !important;
    color: var(--rxp-muted);
}

body.rx-site:not(.rx-site--pro) .company.company--rx-premium .company__year {
    color: rgba(11, 79, 61, .075);
    font-size: clamp(92px, 10vw, 156px);
    line-height: .78;
}

/* The form card is white, therefore the old white consent text was invisible. */
body.rx-site:not(.rx-site--pro) .consultation--premium .consultation__agree,
body.rx-site:not(.rx-site--pro) .consultation--premium .consultation__agree-label,
body.rx-site:not(.rx-site--pro) .consultation--premium .consultation__agree-text {
    color: #58655f !important;
}

body.rx-site:not(.rx-site--pro) .consultation--premium .consultation__agree-label {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 12px;
    line-height: 1.5;
}

body.rx-site:not(.rx-site--pro) .consultation--premium .consultation__agree-label input[type="checkbox"] {
    display: block !important;
    width: 16px;
    min-width: 16px;
    height: 16px;
    margin: 1px 0 0;
    padding: 0;
    opacity: 1;
    accent-color: var(--rxp-green);
}

body.rx-site:not(.rx-site--pro) .consultation--premium .consultation__agree-label a,
body.rx-site:not(.rx-site--pro) .popup__form-label a {
    color: var(--rxp-green) !important;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
}

body.rx-site:not(.rx-site--pro) .popup__form-label {
    color: #46534d;
    line-height: 1.5;
}

/* Clear keyboard focus for cards, disclosure controls and form actions. */
body.rx-site:not(.rx-site--pro) :where(a, button, summary, input, textarea, select):focus-visible {
    outline: 3px solid rgba(164, 207, 99, .78);
    outline-offset: 3px;
}

@media (max-width: 1100px) {
    body.rx-site:not(.rx-site--pro) .company.company--rx-premium .company__wrapper {
        grid-template-columns: minmax(0, 1fr);
        gap: 34px;
    }

    body.rx-site:not(.rx-site--pro) .company.company--rx-premium .company__year {
        justify-self: start;
    }
}

@media (max-width: 980px) {
    body.rx-site:not(.rx-site--pro) .rx-container,
    body.rx-site:not(.rx-site--pro) .company.company--rx-premium > .container {
        padding-right: 20px !important;
        padding-left: 20px !important;
    }

    body.rx-site:not(.rx-site--pro) .rx-solutions-page__hero-grid {
        width: min(calc(100% - 40px), var(--rx-container, 1420px));
        padding-right: 0 !important;
        padding-left: 0 !important;
    }
}

@media (max-width: 680px) {
    body.rx-site:not(.rx-site--pro) .rx-container,
    body.rx-site:not(.rx-site--pro) .company.company--rx-premium > .container {
        padding-right: 14px !important;
        padding-left: 14px !important;
    }

    body.rx-site:not(.rx-site--pro) .rx-solutions-page__hero-grid {
        width: min(calc(100% - 28px), var(--rx-container, 1420px));
        padding-right: 0 !important;
        padding-left: 0 !important;
    }

    body.rx-site:not(.rx-site--pro) .company.company--rx-premium .company__title {
        font-size: 36px;
        line-height: 1.06;
    }

    body.rx-site:not(.rx-site--pro) .company.company--rx-premium .company__descr {
        font-size: 16px;
        line-height: 1.62;
    }

    body.rx-site:not(.rx-site--pro) .company.company--rx-premium .company__year {
        font-size: 78px;
    }

    body.rx-site:not(.rx-site--pro) .rx-longform-structure-card--no-image > summary {
        grid-template-columns: minmax(0, 1fr) 20px;
    }
}

/* 09.09.2026 — catalogue materials and company. Scoped to rxm components. */
.rx-home-works .rx-home-works__title { max-width: 860px; margin: 0 0 34px; }
.rxm-heading { margin: 0; color: #103c31; font-size: clamp(34px, 3.8vw, 58px); font-weight: 500; line-height: 1.08; letter-spacing: -.045em; text-wrap: balance; overflow-wrap: anywhere; }
.rxm-eyebrow { margin-bottom: 20px; color: #657b6f; font-size: 11px; font-weight: 650; letter-spacing: .14em; line-height: 1.5; text-transform: uppercase; }
.rxm-section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 38px; }
.rxm-section-head > div { min-width: 0; }
.rxm-text-link { display: inline-flex; align-items: center; gap: 24px; color: #103c31; text-decoration: none; font-size: 15px; font-weight: 600; line-height: 1.5; border-bottom: 1px solid #a6b7ad; padding-bottom: 6px; }
.rxm-text-link:hover { color: #296d51; border-color: currentColor; }
.rxm-text-link > span { font-size: 21px; }
.rxm-materials { padding: clamp(64px, 7vw, 100px) 0; background: #eef1eb; }
.rxm-system-switch { display: inline-flex; gap: 4px; flex-shrink: 0; padding: 6px; border: 1px solid #d4ddd4; border-radius: 999px; background: #f9faf6; }
.rxm-system-switch button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 13px 19px; border: 0; border-radius: 999px; background: transparent; color: #224d3e; font: inherit; font-size: 14px; line-height: 1.4; cursor: pointer; }
.rxm-system-switch button[aria-selected="true"] { background: #103c31; color: white; }
.rxm-system-switch button:hover:not([aria-selected="true"]) { background: #e8eee6; }
.rxm-swatch { display: inline-block; width: 16px; height: 16px; flex: 0 0 16px; border-radius: 50%; border: 1px solid #b5bfb6; }
.rxm-swatch--black { background: #202421; }
.rxm-swatch--white { background: #f8f8f3; }
.rxm-panel-heading { margin: 0 0 25px; font-size: 26px; color: #123c31; font-weight: 500; }
[data-rxm-ready] .rxm-panel-heading { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
[data-rxm-panel][hidden], [data-rxm-tablist][hidden] { display: none !important; }
.rxm-system-panel { scroll-margin-top: 115px; }
.rxm-system-panel + .rxm-system-panel { margin-top: 42px; }
[data-rxm-ready] .rxm-system-panel { margin-top: 0; }
.rxm-material-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.rxm-material-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.rxm-material-grid--1 { grid-template-columns: minmax(0, 1fr); }
.rxm-material-card { min-width: 0; display: flex; flex-direction: column; border: 1px solid #dfe5dc; border-radius: 22px; overflow: hidden; background: #fff; text-decoration: none; color: #123c31; }
.rxm-material-card__visual { display: grid; place-items: center; height: 290px; padding: 34px; background: #f8f9f5; }
.rxm-material-card__visual img { display: block; width: 100%; height: 100%; min-height: 0; object-fit: contain; transition: transform .4s ease; }
.rxm-material-card:hover .rxm-material-card__visual img { transform: scale(1.035); }
.rxm-material-card__content { display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding: 28px; }
.rxm-material-card h3 { margin: 0; color: #103c31; font-size: 25px; line-height: 1.16; letter-spacing: -.025em; font-weight: 550; overflow-wrap: anywhere; }
.rxm-material-card p { margin: 16px 0 22px; font-size: 15px; line-height: 1.65; color: #607064; }
.rxm-material-card__link { display: flex; width: 100%; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 25px; color: #123c31; font-size: 14px; font-weight: 600; }
.rxm-material-card__link > span { font-size: 25px; font-weight: 400; }
.rxm-material-grid--1 .rxm-material-card { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.rxm-material-grid--1 .rxm-material-card__visual { height: 390px; }
.rxm-material-grid--1 .rxm-material-card__content { justify-content: center; padding: 48px; }
.rxm-material-grid--1 .rxm-material-card__link { margin-top: 0; }
.rxm-no-photo { display: block; padding: 24px; color: #748477; font-size: clamp(18px, 2vw, 30px); line-height: 1.2; letter-spacing: -.035em; text-align: center; }
.rxm-materials-empty { min-height: 160px; display: flex; align-items: center; border-top: 1px solid #d4ddd4; }
.rxm-company { padding: clamp(64px, 7vw, 108px) 0; background: #f6f7f3; }
.rxm-company__grid { display: grid; grid-template-columns: 1.1fr 1fr; min-width: 0; border: 1px solid #dce4d9; border-radius: 28px; overflow: hidden; background: #fff; }
.rxm-company__content { min-width: 0; padding: clamp(30px, 4.2vw, 64px); align-self: center; }
.rxm-company__content .rxm-heading { max-width: 610px; font-size: clamp(34px, 3.4vw, 48px); }
.rxm-company__lead { margin: 27px 0 20px; font-size: 20px; line-height: 1.55; color: #234a3d; }
.rxm-company__copy > .title, .rxm-company__copy > .company__title { display: none; }
.rxm-company__copy .company__descr { max-width: none; margin: 0 0 30px; padding: 0; color: #657368; font-size: 16px; line-height: 1.7; }
.rxm-company__copy .company__descr p { margin: 0; }
.rxm-company__visual { position: relative; min-width: 0; min-height: 560px; height: 100%; margin: 0; overflow: hidden; background: #d8e0d5; }
.rxm-company__visual > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.rxm-company__visual::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(4,35,26,.78)); pointer-events: none; }
.rxm-company__visual figcaption { position: absolute; z-index: 1; bottom: 36px; left: 36px; right: 28px; color: #fff; }
.rxm-company__visual figcaption strong { display: block; font-weight: 400; font-size: clamp(66px, 7vw, 104px); line-height: 1; letter-spacing: -.06em; }
.rxm-company__visual figcaption span { display: block; margin-top: 16px; max-width: 240px; color: rgba(255,255,255,.86); font-size: 15px; line-height: 1.55; }
.rxm-back { display: inline-flex; margin: 0 0 34px; color: #526c5d; text-decoration: none; font-size: 14px; line-height: 1.5; }
.rxm-product { width: 100%; min-width: 0; color: #163e32; background: #f6f7f3; }
.rxm-product-hero { padding: 28px 0 72px; }
.rxm-product-hero__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(30px, 5vw, 80px); align-items: start; }
.rxm-product-hero__grid > * { min-width: 0; }
.rxm-product-gallery__main { position: relative; display: flex; align-items: center; justify-content: center; padding: 48px; height: clamp(380px, 39vw, 580px); min-width: 0; border: 1px solid #dce4d9; border-radius: 26px; background: #fff; overflow: hidden; }
.rxm-product-gallery__main img { display: block; width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.rxm-photo-zoom { position: absolute; right: 20px; bottom: 20px; display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; place-items: center; color: #123c31; background: #f0f3ed; border-radius: 50%; font-size: 24px; }
.rxm-product-gallery__thumbs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin-top: 16px; }
.rxm-product-gallery__thumbs a { display: grid; place-items: center; min-width: 0; height: 100px; padding: 12px; border: 1px solid #dce4d9; border-radius: 14px; background: #fff; }
.rxm-product-gallery__thumbs img { width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.rxm-product-info { padding: 26px 0; }
.rxm-product-info .rxm-heading { font-size: clamp(36px, 3.4vw, 56px); }
.rxm-product-types { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 25px; }
.rxm-product-types > span { display: inline-flex; align-items: center; gap: 9px; padding: 9px 13px; border: 1px solid #d4dfd3; border-radius: 999px; font-size: 12px; color: #2b5342; }
.rxm-product-lead { margin: 28px 0 0; font-size: 18px; line-height: 1.75; color: #627166; }
.rxm-product-contact { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; padding-top: 32px; margin-top: 34px; border-top: 1px solid #d8e1d5; }
.rxm-product-price { flex: 0 0 100%; color: #123c31; font-size: 30px; letter-spacing: -.025em; line-height: 1.4; }
.rxm-product-details { padding: 0 0 clamp(64px, 7vw, 104px); }
.rxm-product-nav { display: flex; gap: 8px; overflow-x: auto; border-bottom: 1px solid #cfdbce; margin-bottom: 32px; padding: 0 0 12px; }
.rxm-product-nav button { flex: 0 0 auto; padding: 15px 22px; border: 0; border-radius: 12px; background: transparent; color: #66766a; font: inherit; font-size: 15px; cursor: pointer; }
.rxm-product-nav button[aria-selected="true"] { background: #103c31; color: #fff; }
.rxm-product-panel { margin-top: 28px; padding: clamp(24px, 4vw, 48px); border: 1px solid #dde5d9; border-radius: 24px; background: #fff; scroll-margin-top: 120px; }
[data-rxm-ready] .rxm-product-panel { margin-top: 0; }
.rxm-richtext { color: #4d6254; font-size: 17px; line-height: 1.8; overflow-wrap: anywhere; max-width: 100%; overflow-x: auto; }
.rxm-richtext > :first-child { margin-top: 0; }
.rxm-richtext > :last-child { margin-bottom: 0; }
.rxm-richtext h2, .rxm-richtext h3 { color: #123c31; margin: 30px 0 18px; font-weight: 550; line-height: 1.3; }
.rxm-richtext img, .rxm-richtext video { max-width: 100%; height: auto; }
.rxm-richtext ul, .rxm-richtext ol { padding-left: 24px; }
.rxm-richtext ul { list-style: disc; }
.rxm-richtext ol { list-style: decimal; }
.rxm-richtext li { margin: 8px 0; }
.rxm-richtext table { border-collapse: collapse; max-width: 100%; }
.rxm-richtext td, .rxm-richtext th { padding: 14px; border: 1px solid #dce3d7; }
.rxm-video { margin-top: 32px; max-width: 100%; }
.rxm-video iframe, .rxm-video video { display: block; width: 100%; max-width: 100%; height: auto; aspect-ratio: 16 / 9; border: 0; border-radius: 16px; }
.rxm-specifications { max-width: 100%; overflow-x: auto; }
.rxm-specifications table { width: 100%; border-collapse: collapse; font-size: 16px; line-height: 1.65; color: #244b39; }
.rxm-specifications th, .rxm-specifications td { text-align: left; padding: 18px 22px; border-bottom: 1px solid #dfe6db; vertical-align: top; overflow-wrap: anywhere; }
.rxm-specifications th { width: 50%; font-weight: 500; color: #70816f; }
.rxm-specifications tr:nth-child(odd) { background: #f7f9f4; }
.rxm-product-solutions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.rxm-product-solutions a { display: flex; flex-direction: column; min-width: 0; color: #133d2e; text-decoration: none; border: 1px solid #dce4d9; border-radius: 18px; overflow: hidden; }
.rxm-product-solutions img { width: 100%; height: 220px; object-fit: cover; }
.rxm-product-solutions a > span { display: flex; justify-content: space-between; gap: 20px; padding: 22px; font-size: 18px; line-height: 1.4; }
.rxm-documents { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.rxm-documents a { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 18px; align-items: center; min-width: 0; padding: 24px; border: 1px solid #d9e3d6; border-radius: 16px; color: #164431; text-decoration: none; font-size: 15px; line-height: 1.5; overflow-wrap: anywhere; }
.rxm-document-type { font-size: 10px; letter-spacing: .06em; background: #edf2e8; padding: 12px 8px; border-radius: 7px; }
.rxm-about { background: #f6f7f3; }
.rxm-about-hero { padding: 48px 0 84px; }
.rxm-about-hero__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 90px); align-items: center; }
.rxm-about-hero__grid > * { min-width: 0; }
.rxm-about-hero .rxm-heading { max-width: 650px; font-size: clamp(40px, 4.6vw, 68px); }
.rxm-about-lead { margin: 32px 0 0; color: #647567; font-size: 19px; line-height: 1.8; }
.rxm-about-hero__photo { position: relative; height: 560px; margin: 0; border-radius: 26px; overflow: hidden; background: #d9e2d5; }
.rxm-about-hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.rxm-about-hero__photo figcaption { position: absolute; left: 26px; right: 26px; bottom: 26px; display: flex; align-items: center; gap: 26px; padding: 24px 28px; background: #f6f7f3; border-radius: 18px; color: #154332; }
.rxm-about-hero__photo figcaption strong { font-size: 62px; font-weight: 400; letter-spacing: -.05em; line-height: 1; }
.rxm-about-hero__photo figcaption span { font-size: 13px; line-height: 1.6; }
.rxm-about-section { padding: 80px 0; border-top: 1px solid #dce4d6; }
.rxm-about-editorial { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; }
.rxm-about-copy { min-width: 0; font-size: 20px; line-height: 1.8; color: #536d58; }
.rxm-about-copy p { margin: 0; }
.rxm-about-mission { padding: clamp(70px, 8vw, 115px) 0; background: #0a352a; }
.rxm-about-mission .rxm-eyebrow { color: #bfd3a3; }
.rxm-about-mission p { max-width: 1180px; margin: 0; font-size: clamp(26px, 3.2vw, 44px); line-height: 1.4; letter-spacing: -.025em; color: #f0f4e9; }
.rxm-about-quality { min-width: 0; }
.rxm-about-quality details { border-top: 1px solid #c8d7c3; }
.rxm-about-quality details:last-child { border-bottom: 1px solid #c8d7c3; }
.rxm-about-quality summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 26px 0; list-style: none; font-size: 22px; color: #1e4c36; cursor: pointer; }
.rxm-about-quality summary::-webkit-details-marker { display: none; }
.rxm-about-quality summary > span { font-size: 30px; transition: transform .2s ease; }
.rxm-about-quality details[open] summary > span { transform: rotate(45deg); }
.rxm-about-quality details > div { padding: 0 0 24px; color: #5c735f; font-size: 17px; line-height: 1.8; }
.rxm-about-quality p { margin: 0; }
.rxm-about-brand { padding: 72px 0 95px; background: #e9efe3; }
.rxm-about-brand__grid { display: grid; grid-template-columns: .8fr 1.2fr; align-items: center; gap: 64px; }
.rxm-about-brand__grid > img { display: block; width: 100%; max-width: 360px; height: auto; }
.rxm-about-brand p { color: #3e6149; font-size: 18px; line-height: 1.75; margin: 0 0 26px; }
.rxm-about-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 24px; }
.rxm-system-switch button:focus-visible, .rxm-product-nav button:focus-visible, .rxm-material-card:focus-visible, .rxm-product a:focus-visible, .rxm-about a:focus-visible, .rxm-about summary:focus-visible, .rxm-company a:focus-visible { outline: 2px solid #678c47; outline-offset: 4px; }
@media (max-width: 1100px) {
    .rxm-section-head { align-items: flex-start; flex-direction: column; }
    .rxm-product-hero__grid { gap: 34px; }
    .rxm-product-gallery__main { padding: 28px; }
    .rxm-company__content { padding: 32px; }
    .rxm-company__lead { font-size: 18px; }
    .rxm-about-hero__photo figcaption { flex-wrap: wrap; gap: 16px; }
    .rxm-material-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 800px) {
    .rxm-company__grid, .rxm-about-hero__grid, .rxm-about-editorial, .rxm-about-brand__grid, .rxm-product-hero__grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
    .rxm-company__grid { gap: 0; }
    .rxm-company__visual { min-height: 400px; }
    .rxm-product-gallery__main { height: 430px; }
    .rxm-product-info { padding: 0; }
    .rxm-about-hero__photo { height: 450px; }
    .rxm-about-hero__photo figcaption { flex-wrap: nowrap; }
    .rxm-product-solutions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .rxm-documents { grid-template-columns: minmax(0, 1fr); }
    .rxm-about-editorial h2 br { display: none; }
}
@media (max-width: 600px) {
    .rx-home-works .rx-home-works__title { margin-bottom: 25px; }
    .rxm-heading { font-size: 34px; }
    .rxm-section-head { gap: 26px; margin-bottom: 26px; }
    .rxm-eyebrow { margin-bottom: 16px; }
    .rxm-system-switch { width: 100%; padding: 4px; border-radius: 18px; }
    .rxm-system-switch button { flex: 1; min-width: 0; gap: 8px; padding: 13px 8px; font-size: 12px; border-radius: 14px; }
    .rxm-swatch { width: 13px; height: 13px; flex-basis: 13px; }
    .rxm-material-grid, .rxm-material-grid--1 .rxm-material-card { grid-template-columns: minmax(0, 1fr); }
    .rxm-material-card__visual, .rxm-material-grid--1 .rxm-material-card__visual { height: 290px; padding: 28px; }
    .rxm-material-card__content, .rxm-material-grid--1 .rxm-material-card__content { padding: 25px; }
    .rxm-material-card h3 { font-size: 24px; }
    .rxm-company__grid { border-radius: 22px; }
    .rxm-company__content { padding: 30px 24px; }
    .rxm-company__content .rxm-heading { font-size: 34px; }
    .rxm-company__copy .company__descr { font-size: 15px; }
    .rxm-company__visual { min-height: 340px; }
    .rxm-company__visual figcaption { left: 25px; bottom: 25px; }
    .rxm-company__visual figcaption strong { font-size: 76px; }
    .rxm-product-hero { padding: 15px 0 44px; }
    .rxm-product-hero__grid { gap: 32px; }
    .rxm-back { margin-bottom: 24px; }
    .rxm-product-gallery__main { height: 350px; padding: 25px; border-radius: 22px; }
    .rxm-product-gallery__thumbs { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
    .rxm-product-gallery__thumbs a { height: 74px; padding: 8px; }
    .rxm-product-info .rxm-heading { font-size: 34px; }
    .rxm-product-lead { font-size: 16px; }
    .rxm-product-contact { margin-top: 26px; padding-top: 26px; gap: 24px; }
    .rxm-product-contact .rx-button { width: 100%; }
    .rxm-product-nav { gap: 4px; }
    .rxm-product-nav button { padding: 13px 16px; font-size: 14px; }
    .rxm-product-panel { padding: 24px 18px; border-radius: 18px; }
    .rxm-richtext { font-size: 16px; }
    .rxm-specifications th, .rxm-specifications td { padding: 14px 10px; font-size: 14px; }
    .rxm-product-solutions { grid-template-columns: minmax(0, 1fr); }
    .rxm-documents a { padding: 17px; gap: 12px; font-size: 14px; }
    .rxm-about-hero { padding: 24px 0 54px; }
    .rxm-about-hero .rxm-heading { font-size: 42px; }
    .rxm-about-lead { font-size: 17px; margin-top: 26px; }
    .rxm-about-hero__photo { height: 370px; }
    .rxm-about-hero__photo figcaption { left: 16px; right: 16px; bottom: 16px; padding: 20px; }
    .rxm-about-hero__photo figcaption strong { font-size: 52px; }
    .rxm-about-hero__photo figcaption span { font-size: 12px; }
    .rxm-about-section { padding: 52px 0; }
    .rxm-about-copy { font-size: 17px; }
    .rxm-about-quality summary { font-size: 20px; }
    .rxm-about-brand { padding: 52px 0 64px; }
    .rxm-about-brand__grid > img { max-width: 270px; }
    .rxm-about-brand p { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
    .rxm-material-card__visual img, .rxm-about-quality summary > span { transition: none; }
    .rxm-material-card:hover .rxm-material-card__visual img { transform: none; }
}

/* =========================================================
   21.09.2026 — compact rhythm and one visual system
   PRO and Quiz deliberately keep their own presentation.
   ========================================================= */
body.rx-site:not(.rx-site--pro):not(.rx-site--quiz) {
    --rx-surface: #f4f5f1;
    --rx-surface-soft: #edf1eb;
    --rx-surface-card: #ffffff;
    --rx-surface-dark: #06382f;
    --rx-surface-dark-deep: #052f28;
    background: var(--rx-surface);
}

/* The original logo contains its own brand colours. Do not bleach it white. */
body.rx-site:not(.rx-site--pro):not(.rx-site--quiz) .rx-header__logo img,
body.rx-site:not(.rx-site--pro):not(.rx-site--quiz) .rx-drawer__logo img {
    filter: none !important;
}

/* Hero sections never exceed the available viewport below the header. */
body.rx-site--home .rx-hero.rx-hero--premium .rx-hero__slide {
    height: min(780px, calc(100svh - 92px));
    min-height: min(600px, calc(100svh - 92px));
}

body.rx-site--home .rx-hero.rx-hero--premium .rx-hero__slide-inner {
    height: 100%;
    min-height: 0;
}

body.rx-site--home .rx-hero.rx-hero--premium .rx-hero__content {
    padding-top: clamp(62px, 7vw, 104px);
    padding-bottom: clamp(82px, 8vw, 124px);
}

body.rx-site--solution-detail .rx-solution__hero.rx-solution__hero--wide {
    height: min(720px, calc(100svh - 92px));
    min-height: min(520px, calc(100svh - 92px));
}

body.rx-site--solution-detail .rx-solution__hero-inner {
    height: 100%;
    min-height: 0;
}

body.rx-site--solution-detail .rx-solution__hero--wide .rx-solution__intro {
    padding-top: clamp(58px, 7vw, 96px);
    padding-bottom: clamp(66px, 8vw, 108px);
}

body.rx-site:not(.rx-site--pro):not(.rx-site--quiz) .rx-solutions-page__hero {
    padding: 28px 0 58px;
    background: var(--rx-surface);
}

body.rx-site:not(.rx-site--pro):not(.rx-site--quiz) .rx-solutions-page__hero-grid {
    height: min(600px, calc(100svh - 148px));
    min-height: min(460px, calc(100svh - 148px));
    background: var(--rx-surface-dark);
}

/* Slightly denser vertical rhythm throughout the redesigned pages. */
body.rx-site:not(.rx-site--pro):not(.rx-site--quiz) .rx-section {
    padding-top: clamp(72px, 7vw, 104px);
    padding-bottom: clamp(72px, 7vw, 104px);
}

body.rx-site:not(.rx-site--pro):not(.rx-site--quiz) .rx-section-head {
    margin-bottom: 42px;
}

body.rx-site:not(.rx-site--pro):not(.rx-site--quiz) .rx-section-title {
    font-size: clamp(38px, 4vw, 66px);
}

body.rx-site:not(.rx-site--pro):not(.rx-site--quiz) .rx-solution-card {
    min-height: 390px;
}

body.rx-site:not(.rx-site--pro):not(.rx-site--quiz) .rx-system-overview__visual {
    min-height: 660px;
}

body.rx-site:not(.rx-site--pro):not(.rx-site--quiz) .rx-step summary {
    min-height: 98px;
}

body.rx-site:not(.rx-site--pro):not(.rx-site--quiz) .rx-step__content {
    padding-bottom: 44px;
}

body.rx-site:not(.rx-site--pro):not(.rx-site--quiz) .rx-contacts__map,
body.rx-site:not(.rx-site--pro):not(.rx-site--quiz) .rx-contacts__map .contacts__map,
body.rx-site:not(.rx-site--pro):not(.rx-site--quiz) .rx-contacts__map iframe {
    min-height: 620px;
}

body.rx-site:not(.rx-site--pro):not(.rx-site--quiz) .rx-home-works {
    padding-top: clamp(22px, 3vw, 42px);
    padding-bottom: clamp(64px, 7vw, 96px);
}

body.rx-site:not(.rx-site--pro):not(.rx-site--quiz) .rxm-materials,
body.rx-site:not(.rx-site--pro):not(.rx-site--quiz) .rxm-company,
body.rx-site:not(.rx-site--pro):not(.rx-site--quiz) .company.company--rx-premium,
body.rx-site:not(.rx-site--pro):not(.rx-site--quiz) .rxm-about-mission,
body.rx-site:not(.rx-site--pro):not(.rx-site--quiz) .rxm-about-brand {
    padding-top: clamp(62px, 6.5vw, 92px);
    padding-bottom: clamp(62px, 6.5vw, 92px);
}

body.rx-site:not(.rx-site--pro):not(.rx-site--quiz) .rx-longform-section {
    padding-top: clamp(54px, 5.5vw, 82px);
    padding-bottom: clamp(54px, 5.5vw, 82px);
}

body.rx-site:not(.rx-site--pro):not(.rx-site--quiz) .rx-longform-section--compact {
    padding-top: 24px;
}

body.rx-site:not(.rx-site--pro):not(.rx-site--quiz) .consultation.consultation--premium,
body.rx-site:not(.rx-site--pro):not(.rx-site--quiz) .consultation.consultation--premium.rx-form-premium {
    padding-top: clamp(70px, 7vw, 98px);
    padding-bottom: clamp(70px, 7vw, 98px);
}

body.rx-site:not(.rx-site--pro):not(.rx-site--quiz) .rxm-about-hero {
    padding-top: 34px;
    padding-bottom: 66px;
}

body.rx-site:not(.rx-site--pro):not(.rx-site--quiz) .rxm-about-section {
    padding-top: 66px;
    padding-bottom: 66px;
}

body.rx-site:not(.rx-site--pro):not(.rx-site--quiz) .rxm-about-hero__photo {
    height: 500px;
}

body.rx-site:not(.rx-site--pro):not(.rx-site--quiz) .rxm-company__visual {
    min-height: 500px;
}

body.rx-site:not(.rx-site--pro):not(.rx-site--quiz) .rxm-product-hero {
    padding-top: 24px;
    padding-bottom: 58px;
}

body.rx-site:not(.rx-site--pro):not(.rx-site--quiz) .rxm-product-details {
    padding-bottom: clamp(58px, 6vw, 88px);
}

body.rx-site:not(.rx-site--pro):not(.rx-site--quiz) .rx-footer {
    padding-top: 72px;
}

body.rx-site:not(.rx-site--pro):not(.rx-site--quiz) .rx-footer__main {
    padding-bottom: 54px;
}

/* One background language: warm base, one soft alternate and solid dark green. */
body.rx-site:not(.rx-site--pro):not(.rx-site--quiz) :where(
    .rx-home,
    .rx-solutions-page,
    .rx-solution,
    .rx-home-solutions,
    .rx-home-works,
    .rx-steps,
    .rx-contacts,
    .rx-solutions-page__catalog,
    .rx-solution__body,
    .rx-longform,
    .rx-longform-section,
    .rxm-about,
    .rxm-about-hero,
    .rxm-about-section,
    .rxm-product,
    .rxm-product-hero,
    .rxm-product-details
) {
    background-color: var(--rx-surface);
    background-image: none;
}

body.rx-site:not(.rx-site--pro):not(.rx-site--quiz) :where(
    .rxm-materials,
    .rxm-company,
    .company.company--rx-premium,
    .rx-longform-section--soft,
    .rxm-about-brand
) {
    background-color: var(--rx-surface-soft);
    background-image: none;
}

body.rx-site:not(.rx-site--pro):not(.rx-site--quiz) :where(
    .rx-system-overview,
    .rx-longform-section--dark,
    .rx-longform-section--errors,
    .rx-longform-section--process,
    .project-steps-premium.rx-project-steps--background,
    .rxm-about-mission,
    .consultation.consultation--premium,
    .rx-footer
) {
    background-color: var(--rx-surface-dark);
    background-image: none;
}

body.rx-site:not(.rx-site--pro):not(.rx-site--quiz) .project-steps-premium.rx-project-steps--background::before,
body.rx-site:not(.rx-site--pro):not(.rx-site--quiz) .project-steps-premium.rx-project-steps--background::after {
    display: none;
}

body.rx-site:not(.rx-site--pro):not(.rx-site--quiz) :where(
    .rx-disclosure,
    .rx-longform-structure-card,
    .rxm-material-card,
    .rxm-company__grid,
    .rxm-product-gallery__main,
    .rxm-product-gallery__thumbs a,
    .rxm-product-panel
) {
    background-color: var(--rx-surface-card);
}

/* Existing PNG glyphs are dark green; on green circles they appeared missing. */
body.rx-site:not(.rx-site--pro):not(.rx-site--quiz) .rx-contacts .contacts__social img,
body.rx-site:not(.rx-site--pro):not(.rx-site--quiz) .rx-footer__socials img {
    width: 42px !important;
    height: 42px !important;
    filter: grayscale(1) brightness(0) invert(1) !important;
    opacity: 1 !important;
}

body.rx-site:not(.rx-site--pro):not(.rx-site--quiz) .rx-contacts .contacts__social,
body.rx-site:not(.rx-site--pro):not(.rx-site--quiz) .rx-footer__socials a {
    border: 0;
    background: var(--rx-surface-dark);
}

@media (max-width: 767px) {
    body.rx-site--home .rx-hero.rx-hero--premium .rx-hero__slide {
        height: min(650px, calc(100svh - 76px));
        min-height: min(520px, calc(100svh - 76px));
    }

    body.rx-site--home .rx-hero.rx-hero--premium .rx-hero__content {
        padding-top: 62px;
        padding-bottom: 92px;
    }

    body.rx-site--solution-detail .rx-solution__hero.rx-solution__hero--wide {
        height: min(620px, calc(100svh - 76px));
        min-height: min(480px, calc(100svh - 76px));
    }

    body.rx-site--solution-detail .rx-solution__hero--wide .rx-solution__intro {
        padding-top: 54px;
        padding-bottom: 68px;
    }

    body.rx-site:not(.rx-site--pro):not(.rx-site--quiz) .rx-solutions-page__hero-grid {
        height: auto;
        min-height: 0;
    }

    body.rx-site:not(.rx-site--pro):not(.rx-site--quiz) .rx-section {
        padding-top: 62px;
        padding-bottom: 62px;
    }

    body.rx-site:not(.rx-site--pro):not(.rx-site--quiz) .rx-system-overview__visual,
    body.rx-site:not(.rx-site--pro):not(.rx-site--quiz) .rx-contacts__map,
    body.rx-site:not(.rx-site--pro):not(.rx-site--quiz) .rx-contacts__map .contacts__map,
    body.rx-site:not(.rx-site--pro):not(.rx-site--quiz) .rx-contacts__map iframe {
        min-height: 390px;
    }

    body.rx-site:not(.rx-site--pro):not(.rx-site--quiz) .rx-longform-section,
    body.rx-site:not(.rx-site--pro):not(.rx-site--quiz) .rxm-materials,
    body.rx-site:not(.rx-site--pro):not(.rx-site--quiz) .rxm-company,
    body.rx-site:not(.rx-site--pro):not(.rx-site--quiz) .company.company--rx-premium {
        padding-top: 54px;
        padding-bottom: 54px;
    }

    body.rx-site:not(.rx-site--pro):not(.rx-site--quiz) .rxm-company__visual,
    body.rx-site:not(.rx-site--pro):not(.rx-site--quiz) .rxm-about-hero__photo {
        min-height: 0;
        height: 370px;
    }
}
/* =========================================================
   21.09.2026 — single green visual direction
   All redesigned page sections use green surfaces and white type.
   PRO and Quiz keep their own visual systems.
   ========================================================= */
body.rx-site:not(.rx-site--pro):not(.rx-site--quiz) {
    --rx-green-canvas: #06382f;
    --rx-green-panel: #0a463a;
    --rx-green-panel-deep: #052f28;
    --rx-green-card: rgba(255, 255, 255, .055);
    --rx-green-line: rgba(255, 255, 255, .17);
    --rx-green-muted: rgba(255, 255, 255, .72);
    --rx-green-soft: rgba(255, 255, 255, .08);
    background: var(--rx-green-canvas) !important;
    color: #fff;
}

body.rx-site:not(.rx-site--pro):not(.rx-site--quiz) main {
    color: #fff;
    background: var(--rx-green-canvas);
}

body.rx-site:not(.rx-site--pro):not(.rx-site--quiz) main :where(
    h1, h2, h3, h4, h5, h6, p, li, dt, dd, th, td, summary, figcaption, span, strong, small, label, button, a
) {
    color: inherit;
}

body.rx-site:not(.rx-site--pro):not(.rx-site--quiz) :where(
    .rx-home,
    .rx-solutions-page,
    .rx-solution,
    .rx-section,
    .rx-home-solutions,
    .rx-home-benefits,
    .rx-home-works,
    .rx-system-overview,
    .rxm-materials,
    .rx-steps,
    .rxm-company,
    .company.company--rx-premium,
    .rx-contacts,
    .rx-solutions-page__hero,
    .rx-solutions-page__catalog,
    .rx-solution__body,
    .rx-longform,
    .rx-longform-section,
    .rx-longform-section--soft,
    .rx-longform-section--dark,
    .rx-longform-section--errors,
    .rx-longform-section--process,
    .project-steps-premium.rx-project-steps--background,
    .rxm-about,
    .rxm-about-hero,
    .rxm-about-section,
    .rxm-about-mission,
    .rxm-about-brand,
    .rxm-product,
    .rxm-product-hero,
    .rxm-product-details,
    .consultation.consultation--premium,
    .rx-footer,
    .rx-breadcrumbs
) {
    background-color: var(--rx-green-canvas) !important;
    background-image: none !important;
    color: #fff;
}

body.rx-site:not(.rx-site--pro):not(.rx-site--quiz) :where(
    .rx-section-title,
    .rxm-heading,
    .rxm-panel-heading,
    .rxm-product-info .rxm-heading,
    .rxm-about-hero .rxm-heading,
    .rxm-company__content .rxm-heading,
    .rxm-material-card h3,
    .rxm-about-quality summary,
    .rx-longform__title,
    .rx-longform-variants__panel-title,
    .rx-solution__title,
    .rx-solutions-page__heading h1,
    .company.company--rx-premium .company__title,
    .contacts__title,
    .title__text
) {
    color: #fff !important;
}

body.rx-site:not(.rx-site--pro):not(.rx-site--quiz) :where(
    .rx-section-label,
    .rxm-eyebrow,
    .rx-home-benefit__number,
    .rx-mini-disclosure__number,
    .rx-step__number,
    .rx-step__label,
    .rx-longform__eyebrow,
    .rx-longform-step__num,
    .rx-longform-step__col-label,
    .rx-longform-error__title,
    .rx-solution-card__eyebrow
) {
    color: var(--rxp-lime, #a4cf63) !important;
}

body.rx-site:not(.rx-site--pro):not(.rx-site--quiz) :where(
    .rx-hero__text,
    .rx-solution-card__text,
    .rx-mini-disclosure__content,
    .rx-step__text,
    .rxm-material-card p,
    .rxm-company__lead,
    .rxm-company__copy .company__descr,
    .rxm-product-lead,
    .rxm-richtext,
    .rxm-about-lead,
    .rxm-about-copy,
    .rxm-about-quality details > div,
    .rxm-about-brand p,
    .rx-longform__lead,
    .rx-longform-item__thesis,
    .rx-longform-item__body,
    .rx-longform-error__thesis,
    .rx-longform-error__body,
    .rx-longform-step__thesis,
    .rx-longform-step__col-text,
    .rx-longform-core__text,
    .rx-longform-core__note,
    .rx-longform-note__text,
    .rx-longform-thought__text,
    .rx-longform-structure-card__thesis,
    .rx-longform-structure-card__body,
    .rx-disclosure__content,
    .rx-richtext,
    .rx-properties__row dt,
    .rx-properties__row dd,
    .contacts__item-title,
    .contacts__item-text,
    .rx-footer__brand p,
    .rx-footer__contacts span
) {
    color: var(--rx-green-muted) !important;
}

body.rx-site:not(.rx-site--pro):not(.rx-site--quiz) :where(
    .rx-disclosure,
    .rx-longform-structure-card,
    .rx-longform-thought,
    .rx-longform-core,
    .rx-longform-note,
    .rx-longform-error,
    .rx-longform-step,
    .rxm-material-card,
    .rxm-company__grid,
    .rxm-product-gallery__main,
    .rxm-product-gallery__thumbs a,
    .rxm-product-panel,
    .rxm-product-solutions a,
    .rxm-documents a,
    .rx-solutions-filter,
    .consultation--premium .consultation__form-card
) {
    border-color: var(--rx-green-line) !important;
    background-color: var(--rx-green-card) !important;
    background-image: none !important;
    color: #fff;
    box-shadow: none !important;
}

body.rx-site:not(.rx-site--pro):not(.rx-site--quiz) :where(
    .rxm-product-price,
    .rxm-product-nav button,
    .rxm-system-switch button,
    .rx-longform-variants__button,
    .rx-longform-reference__caption,
    .rx-longform-structure-card__title
) {
    color: #fff !important;
}

body.rx-site:not(.rx-site--pro):not(.rx-site--quiz) :where(
    .rxm-material-card__visual,
    .rxm-no-photo,
    .rxm-photo-zoom,
    .rx-longform-reference,
    .rx-solution__gallery-item,
    .rx-longform-structure-card__thumb,
    .rxm-document-type
) {
    background: var(--rx-green-panel-deep) !important;
    color: #fff !important;
}

body.rx-site:not(.rx-site--pro):not(.rx-site--quiz) :where(
    .rxm-system-switch,
    .rxm-system-switch button:hover:not([aria-selected="true"]),
    .rxm-product-nav button[aria-selected="true"]
) {
    border-color: var(--rx-green-line) !important;
    background: var(--rx-green-panel) !important;
    color: #fff !important;
}

body.rx-site:not(.rx-site--pro):not(.rx-site--quiz) .rxm-system-switch button[aria-selected="true"] {
    background: var(--rxp-lime, #a4cf63) !important;
    color: #082d25 !important;
}

body.rx-site:not(.rx-site--pro):not(.rx-site--quiz) :where(
    .rxm-system-switch button[aria-selected="true"] span,
    .rx-button:hover,
    .consultation--premium .consultation__button
) {
    color: #082d25 !important;
}

body.rx-site:not(.rx-site--pro):not(.rx-site--quiz) .consultation--premium .consultation__button {
    background: var(--rxp-lime, #a4cf63) !important;
}

body.rx-site:not(.rx-site--pro):not(.rx-site--quiz) :where(
    .consultation--premium .consultation__input,
    .consultation--premium .consultation__textarea,
    .consultation--premium .solution-select__current,
    .consultation--premium .solution-select__dropdown,
    .consultation--premium .solution-select__option
) {
    border-color: var(--rx-green-line) !important;
    background: var(--rx-green-soft) !important;
    color: #fff !important;
}

body.rx-site:not(.rx-site--pro):not(.rx-site--quiz) :where(
    .consultation--premium input,
    .consultation--premium textarea,
    .consultation--premium select
)::placeholder {
    color: rgba(255, 255, 255, .48) !important;
}

body.rx-site:not(.rx-site--pro):not(.rx-site--quiz) .consultation--premium .consultation__agree,
body.rx-site:not(.rx-site--pro):not(.rx-site--quiz) .consultation--premium .consultation__agree-label,
body.rx-site:not(.rx-site--pro):not(.rx-site--quiz) .consultation--premium .consultation__agree-text,
body.rx-site:not(.rx-site--pro):not(.rx-site--quiz) .consultation--premium .consultation__agree-label a {
    color: rgba(255, 255, 255, .72) !important;
}

body.rx-site:not(.rx-site--pro):not(.rx-site--quiz) .rx-breadcrumbs :where(a, span, li) {
    color: rgba(255, 255, 255, .76) !important;
}

body.rx-site:not(.rx-site--pro):not(.rx-site--quiz) :where(
    .consultation.consultation--premium,
    .consultation.consultation--premium.rx-form-premium,
    .consultation--premium .consultation__form-card
)::before,
body.rx-site:not(.rx-site--pro):not(.rx-site--quiz) :where(
    .consultation.consultation--premium,
    .consultation.consultation--premium.rx-form-premium,
    .consultation--premium .consultation__form-card
)::after {
    display: none !important;
    background: none !important;
}

body.rx-site:not(.rx-site--pro):not(.rx-site--quiz) :where(
    .rxm-specifications tr:nth-child(odd),
    .rxm-specifications tr:nth-child(even)
) {
    background: transparent !important;
}

body.rx-site:not(.rx-site--pro):not(.rx-site--quiz) :where(
    .rxm-specifications th,
    .rxm-specifications td,
    .rxm-richtext td,
    .rxm-richtext th,
    .rx-properties__row,
    .rxm-about-quality details,
    .rxm-product-nav,
    .rx-steps__list,
    .rx-step,
    .rx-system-overview__list,
    .rx-mini-disclosure,
    .rx-longform-section
) {
    border-color: var(--rx-green-line) !important;
}

/* A restrained bridge between same-colour homepage sections. */
body.rx-site--home :where(
    .rx-home-solutions,
    .rx-home-benefits,
    .rx-home-works,
    .rx-system-overview,
    .rxm-materials,
    .rx-steps,
    .rxm-company,
    .rx-contacts,
    .consultation--premium
) {
    position: relative;
    border-top: 1px solid var(--rx-green-line);
}

body.rx-site--home :where(
    .rx-home-solutions,
    .rx-home-benefits,
    .rx-home-works,
    .rx-system-overview,
    .rxm-materials,
    .rx-steps,
    .rxm-company,
    .rx-contacts,
    .consultation--premium
)::before {
    position: absolute;
    z-index: 3;
    top: -1px;
    left: 50%;
    width: min(110px, 22vw);
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--rxp-lime, #a4cf63), transparent);
    content: '';
    transform: translateX(-50%);
}

/* Homepage advantages: source copy condensed from existing system blocks. */
.rx-home-benefits__head {
    display: grid;
    grid-template-columns: minmax(180px, .42fr) minmax(0, 1.58fr);
    gap: clamp(34px, 6vw, 94px);
    align-items: start;
    margin-bottom: clamp(48px, 6vw, 78px);
}

.rx-home-benefits__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(18px, 2.4vw, 34px);
}

.rx-home-benefit {
    min-width: 0;
    padding: 26px 0 12px;
    border-top: 1px solid rgba(255, 255, 255, .30);
}

.rx-home-benefit__number {
    display: block;
    margin-bottom: clamp(42px, 6vw, 74px);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .13em;
}

.rx-home-benefit h3 {
    margin: 0;
    color: #fff;
    font-size: clamp(22px, 2vw, 30px);
    font-weight: 500;
    line-height: 1.08;
    letter-spacing: -.03em;
}

.rx-home-benefit p {
    margin: 20px 0 0;
    color: var(--rx-green-muted) !important;
    font-size: 15px;
    line-height: 1.65;
}

/* Full-width cinematic works slider; images are loaded from /img/home-works/. */
body.rx-site--home .rx-home-works {
    padding: clamp(74px, 8vw, 112px) 0 0 !important;
    overflow: hidden;
}

body.rx-site--home .rx-home-works__shell {
    width: 100%;
    max-width: none !important;
    padding: 0 !important;
}

.rx-home-works__head {
    width: min(calc(100% - 64px), var(--rx-container, 1420px));
    margin: 0 auto clamp(36px, 5vw, 58px);
}

.rx-home-works .rx-home-works__title {
    max-width: 960px;
    margin: 0;
    color: #fff;
}

.rx-home-works__stage {
    position: relative;
    width: 100%;
    height: clamp(500px, 68svh, 760px);
    border-top: 1px solid var(--rx-green-line);
    border-bottom: 1px solid var(--rx-green-line);
    background: var(--rx-green-panel-deep);
    overflow: hidden;
}

.rx-home-works__viewport {
    position: absolute;
    inset: 0;
}

.rx-home-works__item {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 0;
    background: var(--rx-green-panel-deep);
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
    transform: scale(1.035);
    transition: opacity .85s ease, transform 1.2s cubic-bezier(.2, .7, .2, 1);
}

.rx-home-works__item.is-active {
    z-index: 2;
    opacity: 1;
    pointer-events: auto;
    transform: scale(1);
}

.rx-home-works__item img,
.rx-home-works__placeholder,
.rx-home-works__shade {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
}

.rx-home-works__item img {
    object-fit: cover;
    filter: brightness(.76) saturate(.82);
    transform: scale(1.01);
}

.rx-home-works__item.is-active img {
    animation: rxWorksDrift 5.6s ease-out both;
}

.rx-home-works__placeholder {
    background:
        linear-gradient(120deg, rgba(255,255,255,.035), transparent 42%),
        var(--rx-green-panel-deep);
}

.rx-home-works__placeholder::before,
.rx-home-works__placeholder::after {
    display: none;
}

.rx-home-works__placeholder > span {
    position: absolute;
    top: 50%;
    left: 50%;
    display: grid;
    width: 70px;
    height: 70px;
    border: 1px solid rgba(255,255,255,.24);
    border-radius: 50%;
    color: rgba(255,255,255,.58);
    place-items: center;
    transform: translate(-50%, -50%);
}

.rx-home-works__item.has-image .rx-home-works__placeholder {
    display: none;
}

.rx-home-works__shade {
    z-index: 1;
    background:
        linear-gradient(90deg, rgba(3,27,22,.42), transparent 58%),
        linear-gradient(180deg, rgba(3,27,22,.08), rgba(3,27,22,.68));
}

.rx-home-works__caption {
    position: absolute;
    z-index: 2;
    right: clamp(22px, 5vw, 82px);
    bottom: clamp(30px, 5vw, 72px);
    left: clamp(22px, 5vw, 82px);
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
    color: #fff;
}

.rx-home-works__caption > span {
    font-size: clamp(20px, 2.2vw, 34px);
    font-weight: 500;
    letter-spacing: -.025em;
}

.rx-home-works__caption strong {
    color: rgba(255,255,255,.72);
    font-size: clamp(48px, 7vw, 112px);
    font-weight: 400;
    line-height: .72;
    letter-spacing: -.07em;
}

.rx-home-works__controls {
    position: absolute;
    z-index: 4;
    top: clamp(22px, 3vw, 42px);
    right: clamp(22px, 4vw, 64px);
    display: flex;
    align-items: center;
    gap: 9px;
}

.rx-home-works__arrow {
    display: grid;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 1px solid rgba(255,255,255,.34);
    border-radius: 50%;
    background: rgba(3,27,22,.34);
    color: #fff;
    backdrop-filter: blur(12px);
    cursor: pointer;
    place-items: center;
    transition: background .2s ease, color .2s ease;
}

.rx-home-works__arrow:hover {
    background: var(--rxp-lime, #a4cf63);
    color: #082d25;
}

.rx-home-works__counter {
    display: flex;
    min-width: 104px;
    height: 48px;
    padding: 0 17px;
    border: 1px solid rgba(255,255,255,.34);
    border-radius: 999px;
    background: rgba(3,27,22,.34);
    color: #fff;
    backdrop-filter: blur(12px);
    align-items: center;
    justify-content: center;
    gap: 11px;
    font-size: 12px;
    font-style: normal;
    letter-spacing: .10em;
}

.rx-home-works__counter i {
    width: 18px;
    height: 1px;
    background: rgba(255,255,255,.42);
}

.rx-home-works__progress {
    position: absolute;
    z-index: 4;
    right: 0;
    bottom: 0;
    left: 0;
    height: 3px;
    background: rgba(255,255,255,.10);
    overflow: hidden;
}

.rx-home-works__progress > span {
    display: block;
    width: 100%;
    height: 100%;
    background: var(--rxp-lime, #a4cf63);
    transform: scaleX(0);
    transform-origin: left center;
}

.rx-home-works__progress > span.is-running {
    animation: rxWorksProgress var(--rx-works-delay, 5600ms) linear forwards;
}

@keyframes rxWorksProgress {
    to { transform: scaleX(1); }
}

@keyframes rxWorksDrift {
    from { transform: scale(1.045); }
    to { transform: scale(1.01); }
}

/* System overview: exactly half image / half content, edge to edge vertically. */
body.rx-site--home .rx-system-overview {
    padding: 0 !important;
}

body.rx-site--home .rx-system-overview > .rx-container {
    width: 100%;
    max-width: none !important;
    padding: 0 !important;
}

body.rx-site--home .rx-system-overview__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    align-items: stretch;
}

body.rx-site--home .rx-system-overview__visual {
    min-height: 720px;
    height: 100%;
    border-radius: 0;
}

body.rx-site--home .rx-system-overview__content {
    display: flex;
    min-width: 0;
    padding: clamp(68px, 7vw, 112px);
    flex-direction: column;
    justify-content: center;
}

/* No illustration column in the expandable project stages. */
body.rx-site--home .rx-step__content {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(30px, 5vw, 72px);
    padding-right: clamp(18px, 4vw, 64px);
}

body.rx-site--home .rx-step__visual {
    display: none !important;
}

/* Remove the old page shell margin and width that produced a light strip. */
body.rx-site:not(.rx-site--pro):not(.rx-site--quiz) .rx-solution-shell,
body.rx-site:not(.rx-site--pro):not(.rx-site--quiz) .solution:has(.rx-solution) {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    background: var(--rx-green-canvas) !important;
}

body.rx-site:not(.rx-site--pro):not(.rx-site--quiz) .rx-solution-shell__inner,
body.rx-site:not(.rx-site--pro):not(.rx-site--quiz) .solution:has(.rx-solution) > .container {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

body.rx-site--solution-detail .rx-breadcrumbs {
    display: none !important;
}

@media (max-width: 1100px) {
    .rx-home-benefits__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .rx-home-benefit__number {
        margin-bottom: 42px;
    }

    body.rx-site--home .rx-system-overview__visual {
        min-height: 650px;
    }

    body.rx-site--home .rx-system-overview__content {
        padding: 62px 48px;
    }
}

@media (max-width: 767px) {
    .rx-home-benefits__head,
    .rx-home-benefits__grid,
    body.rx-site--home .rx-system-overview__grid,
    body.rx-site--home .rx-step__content {
        grid-template-columns: minmax(0, 1fr);
    }

    .rx-home-benefits__head {
        gap: 20px;
        margin-bottom: 42px;
    }

    .rx-home-benefits__grid {
        gap: 26px;
    }

    .rx-home-benefit__number {
        margin-bottom: 28px;
    }

    .rx-home-works__head {
        width: calc(100% - 28px);
    }

    .rx-home-works__stage {
        height: min(620px, 72svh);
        min-height: 480px;
    }

    .rx-home-works__controls {
        top: 18px;
        right: 14px;
    }

    .rx-home-works__arrow {
        width: 42px;
        height: 42px;
    }

    .rx-home-works__counter {
        min-width: 90px;
        height: 42px;
        padding: 0 13px;
    }

    .rx-home-works__caption {
        right: 18px;
        bottom: 34px;
        left: 18px;
    }

    .rx-home-works__caption > span {
        font-size: 20px;
    }

    .rx-home-works__caption strong {
        font-size: 60px;
    }

    body.rx-site--home .rx-system-overview__visual {
        min-height: 52svh;
        order: 0;
    }

    body.rx-site--home .rx-system-overview__content {
        padding: 58px 14px 64px;
        order: 1;
    }

    body.rx-site--home .rx-step__content {
        gap: 26px;
        padding-right: 0;
        padding-left: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .rx-home-works__item,
    .rx-home-works__item img,
    .rx-home-works__progress > span {
        animation: none !important;
        transition: none !important;
    }
}

/* =========================================================
   23.09.2026 — cleaner headings, uncropped galleries and
   one combined visual/structure block on solution pages.
   ========================================================= */

/* Small green overlines are removed from the homepage and solution details. */
body.rx-site--home :where(.rx-section-label, .rxm-eyebrow),
body.rx-site--solution-detail :where(.rx-solution__eyebrow, .rx-longform__eyebrow) {
    display: none !important;
}

/* Benefits: one strong heading and four calm cards without numbers or top rules. */
body.rx-site--home .rx-home-benefits__head {
    display: block;
    max-width: 1080px;
    margin-bottom: clamp(42px, 5.5vw, 72px);
}

body.rx-site--home .rx-home-benefits__head .rx-section-title {
    max-width: 1080px;
    margin: 0;
    text-wrap: balance;
}

body.rx-site--home .rx-home-benefit {
    min-height: 100%;
    padding: clamp(26px, 3vw, 38px);
    border: 0;
    border-radius: 22px;
    background: rgba(255, 255, 255, .06);
}

body.rx-site--home .rx-home-benefit__number {
    display: none !important;
}

body.rx-site--home .rx-home-benefit p {
    max-width: 34em;
}

/* Works gallery: no captions, no shade and no crop of tall photographs. */
body.rx-site--home .rx-home-works__stage {
    height: clamp(540px, 76svh, 900px);
    background: var(--rx-green-panel-deep);
}

body.rx-site--home .rx-home-works__item,
body.rx-site--home .rx-home-works__item.is-active {
    transform: none !important;
    transition: opacity .75s ease !important;
}

body.rx-site--home .rx-home-works__item img,
body.rx-site--home .rx-home-works__item.is-active img {
    object-fit: contain;
    object-position: center;
    filter: none !important;
    animation: none !important;
    transform: none !important;
}

body.rx-site--home :where(
    .rx-home-works__shade,
    .rx-home-works__caption,
    .rx-home-works__counter,
    .rx-home-works__placeholder > span
) {
    display: none !important;
}

body.rx-site--home .rx-home-works__controls {
    gap: 10px;
}

/* Contacts: the information leads, while the map is a compact supporting block. */
body.rx-site--home .rx-contacts__grid {
    grid-template-columns: minmax(0, 1.25fr) minmax(360px, .75fr);
    gap: clamp(38px, 5vw, 76px);
}

body.rx-site--home .rx-contacts .title {
    display: none !important;
}

body.rx-site--home .rx-contacts .contacts__info {
    padding: 0;
}

body.rx-site--home .rx-contacts .contacts__item-wrapper {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: clamp(30px, 4vw, 64px);
    row-gap: 24px;
}

body.rx-site--home .rx-contacts__map,
body.rx-site--home .rx-contacts__map .contacts__map,
body.rx-site--home .rx-contacts__map iframe {
    min-height: 0 !important;
    height: 520px !important;
    border-radius: 28px;
}

body.rx-site:not(.rx-site--pro):not(.rx-site--quiz) .contacts__social img,
body.rx-site:not(.rx-site--pro):not(.rx-site--quiz) .rx-footer__socials img {
    width: 42px !important;
    height: 42px !important;
    filter: brightness(0) invert(1) !important;
    opacity: 1 !important;
}

body.rx-site:not(.rx-site--pro):not(.rx-site--quiz) .contacts__social,
body.rx-site:not(.rx-site--pro):not(.rx-site--quiz) .rx-footer__socials a {
    border: 1px solid rgba(255, 255, 255, .24) !important;
    background: rgba(255, 255, 255, .06) !important;
}

/* A visible but restrained boundary between the application form and footer. */
body.rx-site:not(.rx-site--pro):not(.rx-site--quiz) .rx-footer {
    position: relative;
    margin-top: 0 !important;
    border-top: 1px solid rgba(255, 255, 255, .22);
}

body.rx-site:not(.rx-site--pro):not(.rx-site--quiz) .rx-footer::before {
    position: absolute;
    top: -1px;
    left: 50%;
    width: min(180px, 34vw);
    height: 2px;
    background: var(--rxp-lime, #a4cf63);
    content: '';
    transform: translateX(-50%);
}

/* Ready-solutions root page now uses the same premium green system as the rest. */
body.rx-site:not(.rx-site--pro):not(.rx-site--quiz) .rx-solutions-page {
    color: #fff !important;
    background: var(--rx-green-canvas) !important;
}

body.rx-site:not(.rx-site--pro):not(.rx-site--quiz) .rx-solutions-page__hero {
    padding: clamp(26px, 4vw, 56px) 0 clamp(58px, 7vw, 96px);
}

body.rx-site:not(.rx-site--pro):not(.rx-site--quiz) .rx-solutions-page__hero-grid {
    border: 1px solid rgba(255, 255, 255, .16);
    background: var(--rx-green-panel-deep) !important;
    box-shadow: none;
}

body.rx-site:not(.rx-site--pro):not(.rx-site--quiz) .rx-solutions-page__heading h1,
body.rx-site:not(.rx-site--pro):not(.rx-site--quiz) .rx-solutions-page__catalog,
body.rx-site:not(.rx-site--pro):not(.rx-site--quiz) .rx-solutions-page__catalog :where(h2, h3, p, span, summary, label) {
    color: #fff !important;
}

body.rx-site:not(.rx-site--pro):not(.rx-site--quiz) .rx-solutions-filter {
    border-color: rgba(255, 255, 255, .18) !important;
    background: rgba(255, 255, 255, .055) !important;
    color: #fff !important;
}

body.rx-site:not(.rx-site--pro):not(.rx-site--quiz) .rx-solution-card__content,
body.rx-site:not(.rx-site--pro):not(.rx-site--quiz) .rx-solution-card__content :where(span, strong) {
    color: #fff !important;
}

/* Combined references + structure section on a selected solution. */
body.rx-site--solution-detail .rx-solution-showcase {
    padding: clamp(70px, 8vw, 116px) 0 0 !important;
    border-top: 1px solid var(--rx-green-line);
    background: var(--rx-green-canvas) !important;
    overflow: hidden;
}

body.rx-site--solution-detail .rx-solution-showcase__head {
    margin-bottom: clamp(34px, 4.5vw, 58px);
}

body.rx-site--solution-detail .rx-solution-showcase__head .rx-longform__title {
    max-width: 1060px;
    margin: 0;
    color: #fff !important;
    text-wrap: balance;
}

.rx-solution-showcase__slider {
    position: relative;
    width: 100%;
    height: clamp(520px, 76svh, 900px);
    border-top: 1px solid var(--rx-green-line);
    border-bottom: 1px solid var(--rx-green-line);
    background: var(--rx-green-panel-deep);
    overflow: hidden;
}

.rx-solution-showcase__viewport {
    position: absolute;
    inset: 0;
}

.rx-solution-showcase__slide {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: block;
    width: 100%;
    height: 100%;
    background: var(--rx-green-panel-deep);
    opacity: 0;
    pointer-events: none;
    transition: opacity .75s ease;
}

.rx-solution-showcase__slide.is-active {
    z-index: 2;
    opacity: 1;
    pointer-events: auto;
}

.rx-solution-showcase__slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.rx-solution-showcase__controls {
    position: absolute;
    z-index: 4;
    top: clamp(18px, 3vw, 42px);
    right: clamp(18px, 4vw, 64px);
    display: flex;
    gap: 10px;
}

.rx-solution-showcase__arrow {
    display: grid;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, .36);
    border-radius: 50%;
    background: rgba(3, 27, 22, .46);
    color: #fff !important;
    backdrop-filter: blur(12px);
    cursor: pointer;
    place-items: center;
    transition: background .2s ease, color .2s ease;
}

.rx-solution-showcase__arrow:hover {
    background: var(--rxp-lime, #a4cf63);
    color: #082d25 !important;
}

.rx-solution-showcase__progress {
    position: absolute;
    z-index: 4;
    right: 0;
    bottom: 0;
    left: 0;
    height: 3px;
    background: rgba(255, 255, 255, .10);
    overflow: hidden;
}

.rx-solution-showcase__progress > span {
    display: block;
    width: 100%;
    height: 100%;
    background: var(--rxp-lime, #a4cf63);
    transform: scaleX(0);
    transform-origin: left center;
}

.rx-solution-showcase__progress > span.is-running {
    animation: rxShowcaseProgress var(--rx-showcase-delay, 6000ms) linear forwards;
}

@keyframes rxShowcaseProgress {
    to { transform: scaleX(1); }
}

.rx-solution-showcase__structure {
    padding-top: clamp(64px, 7vw, 104px);
    padding-bottom: clamp(74px, 8vw, 118px);
}

.rx-solution-showcase__structure--solo {
    padding-top: 0;
}

.rx-solution-showcase__structure-head {
    display: grid;
    margin-bottom: clamp(34px, 5vw, 62px);
    grid-template-columns: minmax(0, 1fr) minmax(280px, .75fr);
    gap: clamp(32px, 6vw, 96px);
    align-items: end;
}

.rx-solution-showcase__structure-head h3 {
    margin: 0;
    color: #fff;
    font-size: clamp(36px, 4.5vw, 68px);
    font-weight: 500;
    line-height: .98;
    letter-spacing: -.045em;
}

.rx-solution-showcase__structure-head p {
    margin: 0;
    color: var(--rx-green-muted) !important;
    font-size: 16px;
    line-height: 1.65;
}

body.rx-site--solution-detail .rx-solution-showcase .rx-longform-variants__nav {
    margin-bottom: 28px;
    border-color: var(--rx-green-line);
}

body.rx-site--solution-detail .rx-solution-showcase .rx-longform-structure-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

body.rx-site--solution-detail .rx-solution-showcase .rx-longform-structure-card {
    border: 1px solid var(--rx-green-line) !important;
    border-radius: 22px;
    background: rgba(255, 255, 255, .055) !important;
    overflow: hidden;
}

body.rx-site--solution-detail .rx-solution-showcase .rx-longform-structure-card > summary {
    min-height: 168px;
    padding: 0;
    grid-template-columns: 170px minmax(0, 1fr) 50px;
    gap: 0;
    align-items: stretch;
}

body.rx-site--solution-detail .rx-solution-showcase .rx-longform-structure-card--no-image > summary {
    padding-left: 28px;
    grid-template-columns: minmax(0, 1fr) 50px;
}

body.rx-site--solution-detail .rx-solution-showcase .rx-longform-structure-card__thumb {
    width: 170px;
    height: 100%;
    min-height: 168px;
    border-radius: 0;
    background: var(--rx-green-panel-deep) !important;
}

body.rx-site--solution-detail .rx-solution-showcase .rx-longform-structure-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body.rx-site--solution-detail .rx-solution-showcase .rx-longform-structure-card__content {
    align-self: center;
    padding: 26px 24px;
}

body.rx-site--solution-detail .rx-solution-showcase .rx-longform-structure-card__title {
    color: #fff !important;
    font-size: clamp(20px, 1.65vw, 27px);
    line-height: 1.12;
}

body.rx-site--solution-detail .rx-solution-showcase .rx-longform-structure-card__thesis {
    margin-top: 12px;
    color: var(--rx-green-muted) !important;
}

body.rx-site--solution-detail .rx-solution-showcase .rx-longform-structure-card__body {
    margin: 0 24px 24px;
    padding: 22px 0 0;
    border-top: 1px solid var(--rx-green-line);
    color: var(--rx-green-muted) !important;
}

@media (max-width: 1000px) {
    body.rx-site--home .rx-contacts__grid {
        grid-template-columns: minmax(0, 1fr);
    }

    body.rx-site--home .rx-contacts__map,
    body.rx-site--home .rx-contacts__map .contacts__map,
    body.rx-site--home .rx-contacts__map iframe {
        height: 440px !important;
    }

    body.rx-site--solution-detail .rx-solution-showcase .rx-longform-structure-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 767px) {
    body.rx-site--home .rx-home-benefits__grid,
    body.rx-site--home .rx-contacts .contacts__item-wrapper,
    .rx-solution-showcase__structure-head {
        grid-template-columns: minmax(0, 1fr);
    }

    body.rx-site--home .rx-home-benefit {
        padding: 26px 22px;
    }

    body.rx-site--home .rx-home-works__stage,
    .rx-solution-showcase__slider {
        height: min(620px, 72svh);
        min-height: 440px;
    }

    body.rx-site--home .rx-contacts__map,
    body.rx-site--home .rx-contacts__map .contacts__map,
    body.rx-site--home .rx-contacts__map iframe {
        height: 360px !important;
    }

    .rx-solution-showcase__structure-head {
        gap: 18px;
    }

    body.rx-site--solution-detail .rx-solution-showcase .rx-longform-structure-card > summary {
        min-height: 0;
        grid-template-columns: minmax(0, 1fr) 46px;
    }

    body.rx-site--solution-detail .rx-solution-showcase .rx-longform-structure-card__thumb {
        display: block;
        width: 100%;
        height: 190px;
        min-height: 0;
        grid-column: 1 / -1;
    }

    body.rx-site--solution-detail .rx-solution-showcase .rx-longform-structure-card__content {
        padding: 22px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .rx-solution-showcase__slide,
    .rx-solution-showcase__progress > span {
        animation: none !important;
        transition: none !important;
    }
}

/* September revision: full-bleed photographs, with no dark image treatment. */
body.rx-site--home .rx-home-works__item img,
body.rx-site--home .rx-home-works__item.is-active img,
body.rx-site--solution-detail .rx-solution-showcase__slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: none !important;
    transform: none !important;
}

/* The former eyebrow occupied the first grid column after it was removed. */
body.rx-site--home .rx-steps__head {
    display: block;
    max-width: 1200px;
    margin-bottom: clamp(34px, 5vw, 64px);
}

body.rx-site--home .rx-steps__head .rx-section-title {
    width: 100%;
    max-width: 1120px;
    margin: 0;
    text-wrap: balance;
}

/* Contacts: allow the heading and addresses to use the actual left column. */
body.rx-site--home .rx-contacts .contacts__info {
    min-width: 0;
}

body.rx-site--home .rx-contacts .contacts__title {
    width: auto;
    max-width: 850px;
    margin: 0 0 clamp(30px, 4vw, 52px);
    font-size: clamp(38px, 4.2vw, 64px);
    font-weight: 500;
    line-height: 1.07;
    letter-spacing: -.045em;
    text-wrap: balance;
}

body.rx-site--home .rx-contacts .contacts__item-wrapper {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px clamp(24px, 3vw, 48px);
}

body.rx-site--home .rx-contacts .contacts__item {
    min-width: 0;
    margin: 0;
}

body.rx-site--home .rx-contacts .contacts__item-text {
    overflow-wrap: anywhere;
}

/* The familiar full heading returns above the existing solution picker. */
body.rx-site:not(.rx-site--pro):not(.rx-site--quiz) .rx-solutions-page__hero-grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
}

body.rx-site:not(.rx-site--pro):not(.rx-site--quiz) .rx-solutions-page__heading {
    padding: clamp(36px, 5vw, 78px);
}

body.rx-site:not(.rx-site--pro):not(.rx-site--quiz) .rx-solutions-page__heading h1 {
    max-width: 920px;
    font-size: clamp(40px, 4.3vw, 72px);
    line-height: 1.03;
    overflow-wrap: normal;
    text-wrap: balance;
}

/* Technical structure leads the photos; each card can reveal its detail image. */
body.rx-site--solution-detail .rx-solution-showcase__structure {
    padding-top: 0;
    padding-bottom: clamp(68px, 7vw, 106px);
}

body.rx-site--solution-detail .rx-solution-showcase__head--references {
    margin-top: 0;
}

body.rx-site--solution-detail .rx-solution-showcase .rx-longform-structure-grid {
    gap: 14px;
}

body.rx-site--solution-detail .rx-solution-showcase .rx-longform-structure-card > summary {
    min-height: 114px;
    padding: 12px;
    grid-template-columns: 94px minmax(0, 1fr) 28px;
    gap: 16px;
    align-items: center;
}

body.rx-site--solution-detail .rx-solution-showcase .rx-longform-structure-card--no-image > summary {
    grid-template-columns: minmax(0, 1fr) 28px;
    padding-left: 24px;
}

body.rx-site--solution-detail .rx-solution-showcase .rx-longform-structure-card__thumb {
    display: block;
    width: 94px;
    height: 94px;
    min-height: 0;
    border-radius: 14px;
}

body.rx-site--solution-detail .rx-solution-showcase .rx-longform-structure-card__content {
    padding: 0;
}

body.rx-site--solution-detail .rx-solution-showcase .rx-longform-structure-card__title {
    font-size: clamp(17px, 1.4vw, 22px);
}

body.rx-site--solution-detail .rx-solution-showcase .rx-longform-structure-card__thesis {
    display: -webkit-box;
    margin-top: 5px;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

body.rx-site--solution-detail .rx-solution-showcase .rx-longform-structure-card__icon {
    border-color: rgba(255, 255, 255, .4);
}

body.rx-site--solution-detail .rx-solution-showcase .rx-longform-structure-card__icon::before,
body.rx-site--solution-detail .rx-solution-showcase .rx-longform-structure-card__icon::after {
    background: #fff;
}

body.rx-site--solution-detail .rx-solution-showcase .rx-longform-structure-card__body {
    margin: 0 22px 22px;
    padding: 20px 0 0;
}

.rx-longform-structure-card__detail-image {
    display: grid;
    width: 100%;
    min-height: 220px;
    margin: 20px 0 0;
    border: 1px solid var(--rx-green-line);
    border-radius: 16px;
    background: var(--rx-green-panel-deep);
    overflow: hidden;
    place-items: center;
}

.rx-longform-structure-card__detail-image img {
    display: block;
    width: 100%;
    max-height: 560px;
    object-fit: contain;
}

.rx-longform-structure-card__detail-image--empty {
    padding: 32px;
    color: var(--rx-green-muted);
    text-align: center;
}

@media (max-width: 1100px) {
    body.rx-site--home .rx-contacts .contacts__item-wrapper {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    body.rx-site--home .rx-contacts .contacts__item-wrapper,
    body.rx-site:not(.rx-site--pro):not(.rx-site--quiz) .rx-solutions-page__hero-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    body.rx-site--home .rx-contacts .contacts__title {
        font-size: clamp(36px, 9vw, 52px);
    }

    body.rx-site:not(.rx-site--pro):not(.rx-site--quiz) .rx-solutions-page__heading h1 {
        font-size: clamp(37px, 9vw, 58px);
    }

    body.rx-site--solution-detail .rx-solution-showcase .rx-longform-structure-card > summary {
        grid-template-columns: 72px minmax(0, 1fr) 24px;
        min-height: 96px;
        gap: 12px;
    }

    body.rx-site--solution-detail .rx-solution-showcase .rx-longform-structure-card--no-image > summary {
        grid-template-columns: minmax(0, 1fr) 24px;
    }

    body.rx-site--solution-detail .rx-solution-showcase .rx-longform-structure-card__thumb {
        width: 72px;
        height: 72px;
        grid-column: auto;
    }
}

/* The solutions index starts with a plain title, directly followed by the picker. */
body.rx-site:not(.rx-site--pro):not(.rx-site--quiz) .rx-solutions-page__intro {
    padding: clamp(54px, 7vw, 106px) 0 clamp(32px, 4vw, 60px);
    background: var(--rx-green-canvas);
}

body.rx-site:not(.rx-site--pro):not(.rx-site--quiz) .rx-solutions-page__intro-inner {
    max-width: 1040px;
}

body.rx-site:not(.rx-site--pro):not(.rx-site--quiz) .rx-solutions-page__intro h1 {
    margin: 0;
    color: #fff;
    font-size: clamp(38px, 5.4vw, 82px);
    font-weight: 500;
    line-height: 1.04;
    letter-spacing: -.048em;
    text-wrap: balance;
}

body.rx-site:not(.rx-site--pro):not(.rx-site--quiz) .rx-solutions-page__catalog {
    padding-top: 0;
}

/* Text-only structure, immediately above the application form. */
body.rx-site--solution-detail .rx-longform-section--structure {
    padding: clamp(64px, 7vw, 112px) 0 clamp(82px, 8vw, 128px);
    border-top: 1px solid var(--rx-green-line);
    background: var(--rx-green-canvas);
}

body.rx-site--solution-detail .rx-longform-section--structure .rx-longform__head {
    max-width: 100%;
    margin-bottom: clamp(30px, 4vw, 56px);
}

body.rx-site--solution-detail .rx-longform-section--structure .rx-longform-variants__nav {
    margin-bottom: 28px;
}

body.rx-site--solution-detail .rx-longform-section--structure .rx-longform-structure-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    border-top: 1px solid var(--rx-green-line);
}

body.rx-site--solution-detail .rx-longform-section--structure .rx-longform-structure-card {
    border: 0 !important;
    border-bottom: 1px solid var(--rx-green-line) !important;
    border-radius: 0;
    background: transparent !important;
    box-shadow: none !important;
    overflow: visible;
}

body.rx-site--solution-detail .rx-longform-section--structure .rx-longform-structure-card > summary {
    display: grid;
    min-height: 98px;
    padding: 22px 0;
    grid-template-columns: minmax(0, 1fr) 42px;
    gap: 20px;
    align-items: center;
}

body.rx-site--solution-detail .rx-longform-section--structure .rx-longform-structure-card__title {
    color: #fff !important;
    font-size: clamp(19px, 2vw, 30px);
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -.02em;
}

body.rx-site--solution-detail .rx-longform-section--structure .rx-longform-structure-card__icon {
    width: 42px;
    height: 42px;
    border-color: rgba(255,255,255,.32);
}

body.rx-site--solution-detail .rx-longform-section--structure .rx-longform-structure-card__icon::before,
body.rx-site--solution-detail .rx-longform-section--structure .rx-longform-structure-card__icon::after {
    background: #fff;
}

body.rx-site--solution-detail .rx-longform-section--structure .rx-longform-structure-card__body {
    width: auto;
    max-width: min(100%, 900px);
    margin: 0 0 30px;
    padding: 0 62px 0 0;
    border: 0;
    color: var(--rx-green-muted) !important;
    font-size: 16px;
    line-height: 1.7;
}

/* The leakage causes use the same title-first reveal pattern. */
body.rx-site--solution-detail .rx-longform-section--errors .rx-longform-errors {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    border-top: 1px solid var(--rx-green-line);
}

body.rx-site--solution-detail .rx-longform-section--errors .rx-longform-error {
    border: 0 !important;
    border-bottom: 1px solid var(--rx-green-line) !important;
    border-radius: 0;
    background: transparent !important;
    box-shadow: none !important;
    overflow: visible;
}

body.rx-site--solution-detail .rx-longform-section--errors .rx-longform-error > summary {
    min-height: 98px;
    padding: 22px 0;
    grid-template-columns: minmax(0, 1fr) 42px;
    gap: 20px;
}

body.rx-site--solution-detail .rx-longform-section--errors .rx-longform-error__title {
    font-size: clamp(19px, 2vw, 30px);
    font-weight: 500;
    line-height: 1.2;
}

body.rx-site--solution-detail .rx-longform-section--errors .rx-longform-error__body {
    max-width: 900px;
    padding: 0 62px 30px 0;
    font-size: 16px;
    line-height: 1.7;
}

body.rx-site--solution-detail .rx-longform-section--errors .rx-longform-error__body p + p {
    margin-top: 16px;
}

@media (max-width: 767px) {
    body.rx-site--solution-detail .rx-longform-section--structure .rx-longform-structure-card > summary,
    body.rx-site--solution-detail .rx-longform-section--errors .rx-longform-error > summary {
        min-height: 78px;
        grid-template-columns: minmax(0, 1fr) 38px;
        padding: 17px 0;
        gap: 16px;
    }

    body.rx-site--solution-detail .rx-longform-section--structure .rx-longform-structure-card__body,
    body.rx-site--solution-detail .rx-longform-section--errors .rx-longform-error__body {
        padding-right: 0;
        font-size: 15px;
    }
}

/* Tighten the plain ready-solutions heading below the site header. */
body.rx-site:not(.rx-site--pro):not(.rx-site--quiz) .rx-solutions-page__intro {
    padding-top: clamp(20px, 2.5vw, 36px);
    padding-bottom: clamp(28px, 3vw, 44px);
}

body.rx-site:not(.rx-site--pro):not(.rx-site--quiz) .rx-solutions-page__intro-inner {
    width: 100%;
    max-width: none;
}

body.rx-site:not(.rx-site--pro):not(.rx-site--quiz) .rx-solutions-page__intro h1 {
    max-width: 1400px;
    font-size: clamp(38px, 4.3vw, 66px);
    line-height: 1.08;
}

/* Make the works photos the section itself: a quiet shade, title on the image. */
body.rx-site--home .rx-home-benefits {
    padding-bottom: clamp(32px, 4vw, 56px) !important;
}

body.rx-site--home .rx-home-works {
    position: relative;
    padding: 0 !important;
}

body.rx-site--home .rx-home-works__head {
    position: absolute;
    z-index: 5;
    bottom: clamp(28px, 4.5vw, 68px);
    left: 50%;
    width: min(calc(100% - 64px), var(--rx-container, 1420px));
    margin: 0;
    pointer-events: none;
    transform: translateX(-50%);
}

body.rx-site--home .rx-home-works .rx-home-works__title {
    max-width: 780px;
    margin: 0;
    color: #fff !important;
    font-size: clamp(30px, 3.15vw, 50px);
    line-height: 1.08;
    text-shadow: 0 2px 24px rgba(0, 0, 0, .24);
}

body.rx-site--home .rx-home-works__stage::after,
body.rx-site--solution-detail .rx-solution-showcase__slider::after {
    position: absolute;
    z-index: 3;
    inset: 0;
    background: linear-gradient(180deg,
        rgba(3, 28, 23, .12) 0%,
        rgba(3, 28, 23, .10) 52%,
        rgba(3, 28, 23, .40) 100%);
    content: '';
    pointer-events: none;
}

/* The realised-object gallery follows the preceding section without a blank band. */
body.rx-site--solution-detail .rx-solution__body--compact {
    padding-bottom: clamp(28px, 3.5vw, 48px);
}

body.rx-site--solution-detail .rx-solution-showcase {
    position: relative;
    padding-top: 0 !important;
}

body.rx-site--solution-detail .rx-solution-showcase__head--references {
    position: absolute;
    z-index: 5;
    bottom: clamp(28px, 4.5vw, 68px);
    left: 50%;
    width: min(calc(100% - 64px), var(--rx-container, 1420px));
    margin: 0;
    pointer-events: none;
    transform: translateX(-50%);
}

body.rx-site--solution-detail .rx-solution-showcase__head--references .rx-longform__title {
    max-width: 780px;
    font-size: clamp(30px, 3.15vw, 50px);
    line-height: 1.08;
    text-shadow: 0 2px 24px rgba(0, 0, 0, .24);
}

/* Distinct, readable states for the structure variant buttons. */
body.rx-site--solution-detail .rx-longform-section--structure .rx-longform-variants__button {
    border: 1px solid rgba(255, 255, 255, .32) !important;
    background: rgba(255, 255, 255, .08) !important;
    color: #fff !important;
}

body.rx-site--solution-detail .rx-longform-section--structure .rx-longform-variants__button:hover:not(.is-active) {
    border-color: rgba(255, 255, 255, .7) !important;
    background: rgba(255, 255, 255, .16) !important;
}

body.rx-site--solution-detail .rx-longform-section--structure .rx-longform-variants__button.is-active {
    border-color: var(--rxp-lime, #a4cf63) !important;
    background: var(--rxp-lime, #a4cf63) !important;
    color: #092f27 !important;
}

body.rx-site--solution-detail .rx-longform-section--structure .rx-longform-variants__button:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 3px;
}

@media (max-width: 767px) {
    body.rx-site--home .rx-home-works__head,
    body.rx-site--solution-detail .rx-solution-showcase__head--references {
        bottom: 30px;
        width: calc(100% - 32px);
    }

    body.rx-site--home .rx-home-works .rx-home-works__title,
    body.rx-site--solution-detail .rx-solution-showcase__head--references .rx-longform__title {
        font-size: clamp(27px, 7vw, 38px);
    }
}

/* 06.10.2026 — prepare the current design for transfer. */
body.rx-site--home .rx-home-solutions .rx-link,
body.rx-site--home .rx-home-solutions .rx-link:visited,
body.rx-site--home .rx-home-solutions .rx-link:hover {
    color: #fff !important;
    border-color: rgba(255,255,255,.55);
}

body.rx-site--home .rx-home-solutions .rx-link svg {
    color: inherit;
    stroke: currentColor;
}

/* The gallery heading stays on the photo, at its upper edge. */
body.rx-site--home .rx-home-works__head {
    top: clamp(28px, 4.5vw, 62px);
    bottom: auto;
}

body.rx-site--home .rx-home-works__controls {
    top: auto;
    bottom: 26px;
}

body.rx-site--home .rx-home-works__stage::after {
    background: linear-gradient(180deg,
        rgba(3,28,23,.36) 0%,
        rgba(3,28,23,.10) 42%,
        rgba(3,28,23,.12) 100%);
}

/* Remove breadcrumb rows and their spacing on the redesigned pages. */
body.rx-site:not(.rx-site--pro):not(.rx-site--quiz) :is(.rx-breadcrumbs, .breadcrumbs, .bx-breadcrumb) {
    display: none !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Clear the old outside margins before the footer, retaining its divider. */
body.rx-site:not(.rx-site--pro):not(.rx-site--quiz) :is(main, .solution, .catalog-page, .about-page, .contacts-page) {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

body.rx-site:not(.rx-site--pro):not(.rx-site--quiz) :is(.rx-footer, footer.footer) {
    margin-top: 0 !important;
    padding-top: 36px;
}

body.rx-site:not(.rx-site--pro):not(.rx-site--quiz) .consultation.consultation--premium {
    margin-bottom: 0 !important;
    padding-bottom: 36px !important;
}

body.rx-site:not(.rx-site--pro):not(.rx-site--quiz) .rx-solutions-page__catalog {
    padding-bottom: 36px;
}

/* Structure: two equal halves, with a fixed-size image on the right. */
body.rx-site--solution-detail .rx-longform-section--structure {
    padding-top: clamp(44px, 5vw, 76px) !important;
    padding-bottom: clamp(44px, 5vw, 76px) !important;
}

body.rx-site--solution-detail .rx-longform-section--structure .rx-structure-split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(28px, 4vw, 58px);
    align-items: start;
}

.rx-structure-split__content {
    min-width: 0;
}

body.rx-site--solution-detail .rx-longform-section--structure .rx-longform__title {
    font-size: clamp(34px, 3.6vw, 54px);
    line-height: 1.08;
}

body.rx-site--solution-detail .rx-longform-section--structure .rx-longform-structure-card > summary {
    min-height: 80px;
    grid-template-columns: minmax(0, 1fr) 34px;
    padding: 18px 0;
    gap: 16px;
}

body.rx-site--solution-detail .rx-longform-section--structure .rx-longform-structure-card__title {
    font-size: clamp(18px, 1.7vw, 24px);
}

body.rx-site--solution-detail .rx-longform-section--structure .rx-longform-structure-card__icon {
    width: 34px;
    height: 34px;
}

body.rx-site--solution-detail .rx-longform-section--structure .rx-longform-structure-card__body {
    max-width: 100%;
    padding-right: 0;
    margin-bottom: 24px;
    font-size: 15px;
}

.rx-structure-split__media {
    position: relative;
    min-width: 0;
    height: 540px;
    min-height: 0;
    align-self: start;
    margin: 0;
    border-radius: 24px;
    background: var(--rx-green-panel-deep);
    overflow: hidden;
}

.rx-structure-split__media img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.rx-structure-split__media [hidden] {
    display: none !important;
}

@media (max-width: 1000px) {
    body.rx-site--solution-detail .rx-longform-section--structure .rx-structure-split {
        grid-template-columns: minmax(0, 1fr);
        gap: 30px;
    }

    .rx-structure-split__media {
        min-height: 0;
        height: clamp(320px, 55vw, 520px);
    }
}

@media (max-width: 767px) {
    body.rx-site--home .rx-home-works__head {
        top: 28px;
        bottom: auto;
    }

    body.rx-site--home .rx-home-works__controls {
        bottom: 24px;
    }
}

/* Roof selector: opaque surfaces keep the open list readable over form fields. */
body.rx-site:not(.rx-site--pro):not(.rx-site--quiz) .consultation--premium .solution-select__current {
    background: #0a463a !important;
    color: #fff !important;
}

body.rx-site:not(.rx-site--pro):not(.rx-site--quiz) .consultation--premium .solution-select__current::after {
    border-color: #fff;
}

body.rx-site:not(.rx-site--pro):not(.rx-site--quiz) .consultation--premium .solution-select__dropdown {
    z-index: 30;
    border-color: rgba(255, 255, 255, .3) !important;
    background: #052f28 !important;
    color: #fff !important;
    box-shadow: 0 16px 40px rgba(0, 0, 0, .35);
}

body.rx-site:not(.rx-site--pro):not(.rx-site--quiz) .consultation--premium .solution-select__option {
    background: #052f28 !important;
    color: #fff !important;
}

body.rx-site:not(.rx-site--pro):not(.rx-site--quiz) .consultation--premium .solution-select__text,
body.rx-site:not(.rx-site--pro):not(.rx-site--quiz) .consultation--premium .solution-select__placeholder {
    color: #fff !important;
}

body.rx-site:not(.rx-site--pro):not(.rx-site--quiz) .consultation--premium .solution-select__option:hover,
body.rx-site:not(.rx-site--pro):not(.rx-site--quiz) .consultation--premium .solution-select__option:focus-visible {
    background: #125747 !important;
    color: #fff !important;
}

body.rx-site:not(.rx-site--pro):not(.rx-site--quiz) .consultation--premium .solution-select__option:focus-visible,
body.rx-site:not(.rx-site--pro):not(.rx-site--quiz) .consultation--premium .solution-select__current:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

/* 07.10.2026 — optional structure image and shared image/text sections. */
body.rx-site--solution-detail .rx-longform-section--structure .rx-structure-split--text-only {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
}

body.rx-site--solution-detail .rx-structure-split--text-only .rx-longform-structure-card__body {
    max-width: 960px;
}

body.rx-site--home .rx-steps--split,
body.rx-site--solution-detail .rx-longform-section--errors-split {
    padding: 0 !important;
}

body.rx-site:not(.rx-site--pro):not(.rx-site--quiz) .rx-editorial-split {
    display: grid;
    width: 100%;
    max-width: none;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    align-items: stretch;
}

body.rx-site:not(.rx-site--pro):not(.rx-site--quiz) .rx-editorial-split__content {
    display: flex;
    min-width: 0;
    padding: clamp(68px, 7vw, 112px);
    flex-direction: column;
    justify-content: center;
}

body.rx-site:not(.rx-site--pro):not(.rx-site--quiz) .rx-editorial-split__media {
    position: relative;
    display: block;
    min-width: 0;
    min-height: 720px;
    margin: 0;
    border-radius: 0;
    overflow: hidden;
    background: var(--rx-green-panel-deep);
}

body.rx-site:not(.rx-site--pro):not(.rx-site--quiz) .rx-editorial-split__media img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

body.rx-site--home .rx-steps--split .rx-steps__head,
body.rx-site--solution-detail .rx-longform-section--errors-split .rx-longform__head {
    width: 100%;
    max-width: none;
    margin: 0 0 36px;
}

body.rx-site--home .rx-steps--split .rx-steps__head .rx-section-title,
body.rx-site--solution-detail .rx-longform-section--errors-split .rx-longform__title {
    width: 100%;
    max-width: none;
    margin: 0;
    color: #fff;
    font-size: clamp(32px, 3.4vw, 54px);
    font-weight: 500;
    line-height: 1.08;
    letter-spacing: -.035em;
    text-wrap: balance;
    overflow-wrap: break-word;
}

body.rx-site--home .rx-steps--split .rx-step > summary {
    min-height: 86px;
    padding: 18px 0;
    grid-template-columns: 28px minmax(0, 1fr) 34px;
    gap: 14px;
}

body.rx-site--home .rx-steps--split .rx-step__title {
    min-width: 0;
    font-size: clamp(18px, 1.7vw, 24px);
    line-height: 1.25;
    letter-spacing: -.02em;
}

body.rx-site--home .rx-steps--split .rx-disclosure__icon,
body.rx-site--solution-detail .rx-longform-section--errors-split .rx-longform-error__icon {
    width: 34px;
    height: 34px;
    flex-shrink: 0;
}

body.rx-site--home .rx-steps--split .rx-step__content {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
    padding: 0 0 28px 42px;
}

body.rx-site--home .rx-steps--split .rx-step__text-block {
    min-width: 0;
    padding-top: 0;
}

body.rx-site--home .rx-steps--split .rx-step__label {
    margin-bottom: 10px;
    line-height: 1.5;
}

body.rx-site--home .rx-steps--split .rx-step__text,
body.rx-site--solution-detail .rx-longform-section--errors-split .rx-longform-error__body {
    font-size: 15px;
    line-height: 1.65;
    overflow-wrap: break-word;
}

body.rx-site--solution-detail .rx-longform-section--errors-split .rx-longform-error > summary {
    min-height: 86px;
    padding: 18px 0;
    grid-template-columns: minmax(0, 1fr) 34px;
    gap: 14px;
}

body.rx-site--solution-detail .rx-longform-section--errors-split .rx-longform-error__title {
    color: #fff !important;
    font-size: clamp(18px, 1.7vw, 24px);
    line-height: 1.25;
    letter-spacing: -.02em;
}

body.rx-site--solution-detail .rx-longform-section--errors-split .rx-longform-error__icon::before,
body.rx-site--solution-detail .rx-longform-section--errors-split .rx-longform-error__icon::after {
    background: #fff;
}

/* The hero is a flex column: long words must not impose a minimum width. */
body.rx-site--home .rx-hero.rx-hero--premium .rx-hero__title {
    min-width: 0;
    max-width: min(100%, 880px);
    overflow-wrap: break-word;
}

body.rx-site--solution-detail .rx-longform-section--errors-split .rx-longform-error__body {
    max-width: 100%;
    padding: 0 0 28px;
}

body.rx-site--home .rx-steps--split summary:focus-visible,
body.rx-site--solution-detail .rx-longform-section--errors-split summary:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 4px;
}

@media (max-width: 1100px) {
    body.rx-site:not(.rx-site--pro):not(.rx-site--quiz) .rx-editorial-split__media {
        min-height: 650px;
    }

    body.rx-site:not(.rx-site--pro):not(.rx-site--quiz) .rx-editorial-split__content {
        padding: 62px 48px;
    }
}

@media (max-width: 1000px) {
    body.rx-site:not(.rx-site--pro):not(.rx-site--quiz) .rx-editorial-split {
        grid-template-columns: minmax(0, 1fr);
    }

    body.rx-site:not(.rx-site--pro):not(.rx-site--quiz) .rx-editorial-split__content {
        order: 0;
        padding: 48px 32px;
    }

    body.rx-site:not(.rx-site--pro):not(.rx-site--quiz) .rx-editorial-split__media {
        order: 1;
        min-height: 0;
        height: clamp(280px, 65vw, 520px);
    }

    /* Keep the reserved desktop half, without a blank screen on mobile. */
    body.rx-site:not(.rx-site--pro):not(.rx-site--quiz) .rx-editorial-split__media--empty {
        display: none;
    }
}

@media (max-width: 767px) {
    body.rx-site:not(.rx-site--pro):not(.rx-site--quiz) .rx-editorial-split__content {
        padding: 42px 20px;
    }

    body.rx-site--home .rx-hero.rx-hero--premium .rx-hero__title {
        font-size: clamp(32px, 8.2vw, 42px);
    }

    body.rx-site--home .rx-steps--split .rx-steps__head .rx-section-title,
    body.rx-site--solution-detail .rx-longform-section--errors-split .rx-longform__title {
        font-size: clamp(28px, 6.7vw, 40px);
    }

    body.rx-site--home .rx-steps--split .rx-step > summary {
        grid-template-columns: 22px minmax(0, 1fr) 30px;
        gap: 10px;
        min-height: 78px;
    }

    body.rx-site--home .rx-steps--split .rx-step__content {
        padding-left: 0;
    }

    body.rx-site--home .rx-steps--split .rx-disclosure__icon {
        width: 30px;
        height: 30px;
    }
}

/* Mobile QA: prevent legacy list headings and card captions from clipping. */
@media (max-width: 767px) {
    body.rx-site:not(.rx-site--pro):not(.rx-site--quiz) .rx-solutions-page {
        width: 100%;
        max-width: none;
        margin: 0;
    }

    body.rx-site:not(.rx-site--pro):not(.rx-site--quiz) .rx-solutions-page__intro h1 {
        min-width: 0;
        max-width: 100%;
        font-size: clamp(32px, 8.2vw, 42px);
        overflow-wrap: break-word;
    }

    body.rx-site:not(.rx-site--pro):not(.rx-site--quiz) .rx-solution-card__content {
        padding-right: 0;
    }

    body.rx-site:not(.rx-site--pro):not(.rx-site--quiz) .rx-solution-card__title {
        min-width: 0;
        max-width: 100%;
        font-size: clamp(24px, 6.6vw, 29px);
        line-height: 1.1;
        overflow-wrap: break-word;
    }

    body.rx-site:not(.rx-site--pro):not(.rx-site--quiz) .rx-solution-card__arrow {
        top: 20px;
        right: 20px;
        bottom: auto;
    }
}

/* The standalone contacts page contains an iframe with a fixed HTML width. */
@media (max-width: 1100px) {
    body.rx-site:not(.rx-site--pro):not(.rx-site--quiz) > .contacts .contacts__wrapper {
        display: block;
        width: 100%;
        max-width: 100%;
        margin: 0;
        padding: 0 20px;
        box-sizing: border-box;
    }

    body.rx-site:not(.rx-site--pro):not(.rx-site--quiz) > .contacts .contacts__info,
    body.rx-site:not(.rx-site--pro):not(.rx-site--quiz) > .contacts .contacts__title,
    body.rx-site:not(.rx-site--pro):not(.rx-site--quiz) > .contacts .contacts__item-wrapper {
        width: 100%;
        min-width: 0;
        max-width: 100%;
    }

    body.rx-site:not(.rx-site--pro):not(.rx-site--quiz) > .contacts .contacts__title {
        margin: 24px 0 28px;
        font-size: clamp(30px, 5.2vw, 46px);
        overflow-wrap: break-word;
    }

    body.rx-site:not(.rx-site--pro):not(.rx-site--quiz) > .contacts .contacts__item-text {
        overflow-wrap: anywhere;
    }

    body.rx-site:not(.rx-site--pro):not(.rx-site--quiz) > .contacts .contacts__map {
        width: 100%;
        min-width: 0;
        max-width: 100%;
        height: auto;
        margin: 32px 0 0;
    }

    body.rx-site:not(.rx-site--pro):not(.rx-site--quiz) > .contacts .contacts__map iframe {
        display: block;
        width: 100% !important;
        max-width: 100%;
        min-height: 0;
        height: clamp(280px, 55vw, 420px);
        border: 0;
    }
}

/* Only top-level links belong in the mobile drawer; legacy dropdowns took up blank space. */
body.rx-site:not(.rx-site--pro):not(.rx-site--quiz) .rx-drawer__nav .menu__downtoggle {
    display: block;
}

body.rx-site:not(.rx-site--pro):not(.rx-site--quiz) .rx-drawer__nav :is(.menu__downbackground, .menu__downmenu, .menu__downmenu-close, .menu__downtoggle > img) {
    display: none !important;
}

body.rx-site:not(.rx-site--pro):not(.rx-site--quiz) .rx-drawer__nav .menu__downtoggle > a {
    width: 100%;
    max-width: 100%;
}
