

/* Start:/bitrix/templates/prostori.su/css/redesign.css?179295510337768*/
/* Стили сайта «Рязанские просторы» (редизайн 2026). Классы с префиксом rd-. */
:root {
    --rd-g: #739F2D;
    --rd-gd: #4E6E1C;
    --rd-gt: #557A1F; /* зелёный для текста и кнопок: контраст 4,5+ на светлом фоне и с белым */
    --rd-y: #F4B81C;
    --rd-ink: #1C241A;
    --rd-mut: #5F6A5A;
    --rd-bg: #F7F4EC;
    --rd-card: #fff;
    --rd-line: #E6E0D1;
    --rd-ease: cubic-bezier(.16, 1, .3, 1);
}

*, *:before, *:after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: 'Fira Sans', sans-serif;
    font-size: 16px;
    line-height: 1.5;
    font-weight: 400;
    background: var(--rd-bg);
    color: var(--rd-ink);
    -webkit-font-smoothing: antialiased;
}

.rd-wrap {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 32px;
}

.rd h1, .rd h2, .rd h3,
.rd-hero h1, .rd-footer .rd-big {
    font-family: 'PT Serif', serif;
    font-weight: 700;
    letter-spacing: -.01em;
    line-height: 1.08;
    margin: 0;
}

.rd p { margin: 0; }
.rd a, .rd-header a, .rd-hero a, .rd-footer a { text-decoration: none; color: inherit; }

.rd-eyebrow {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--rd-gt);
}

/* ---------- кнопки ---------- */
.rd-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 52px;
    padding: 0 28px;
    border: 0;
    border-radius: 999px;
    font: 600 15px/1 'Fira Sans', sans-serif;
    cursor: pointer;
    text-decoration: none;
    transition: transform .3s var(--rd-ease), background-color .3s, color .3s;
}
.rd-btn:hover { transform: translateY(-2px); text-decoration: none; }
.rd-btn-y { background: var(--rd-y); color: var(--rd-ink) !important; }
.rd-btn-g { background: var(--rd-gt); color: #fff !important; }
.rd-btn-g:hover { background: var(--rd-gd); }
.rd-btn-ghost { border: 1.5px solid rgba(255,255,255,.6); color: #fff !important; backdrop-filter: blur(6px); }
.rd-btn-line { border: 1.5px solid var(--rd-gt); color: var(--rd-gt) !important; background: transparent; }
.rd-btn-line:hover { background: var(--rd-gt); color: #fff !important; }

/* ---------- шапка ---------- */
.rd-header {
    position: absolute;
    top: 14px;
    left: 14px;
    right: 14px;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 22px 30px;
    color: #fff;
}
.rd-logo img {
    height: 74px;
    width: auto;
    display: block;
    animation: rd-spin-in 1.2s var(--rd-ease) both;
}
.rd-logo:hover img { animation: rd-sway 1.4s ease-in-out; }
@keyframes rd-spin-in { from { opacity: 0; transform: rotate(-90deg) scale(.6); } to { opacity: 1; transform: none; } }
@keyframes rd-sway { 25% { transform: rotate(-8deg); } 75% { transform: rotate(6deg); } }

.rd-menu {
    display: flex;
    gap: 4px;
    padding: 6px;
    border-radius: 999px;
    background: rgba(255,255,255,.14);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255,255,255,.22);
}
.rd-menu a {
    padding: 10px 18px;
    border-radius: 999px;
    font-size: 14.5px;
    font-weight: 500;
    white-space: nowrap;
    transition: background-color .3s;
}
.rd-menu a:hover { background: rgba(255,255,255,.16); }
.rd-menu a.on { background: #fff; color: var(--rd-ink); }

.rd-ncta { display: flex; align-items: center; gap: 18px; font-size: 14px; }
.rd-ncta .rd-ph { display: block; font-weight: 600; font-size: 16px; }
.rd-ncta .rd-mail { display: block; opacity: .8; }
.rd-ncta .rd-btn { height: 46px; padding: 0 22px; }

.rd-burger {
    display: none;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(255,255,255,.3);
    border-radius: 50%;
    background: rgba(255,255,255,.14);
    backdrop-filter: blur(14px);
    cursor: pointer;
    padding: 0;
    position: relative;
}
.rd-burger span {
    position: absolute;
    left: 13px;
    right: 13px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: transform .3s, opacity .3s;
}
.rd-burger span:nth-child(1) { top: 16px; }
.rd-burger span:nth-child(2) { top: 22px; }
.rd-burger span:nth-child(3) { top: 28px; }
.rd-header.open .rd-burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.rd-header.open .rd-burger span:nth-child(2) { opacity: 0; }
.rd-header.open .rd-burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- первый экран ---------- */
.rd-hero {
    position: relative;
    margin: 14px;
    border-radius: 28px;
    overflow: hidden;
    min-height: 700px;
    color: #fff;
    background: var(--rd-ink);
    isolation: isolate;
}
.rd-hero-bg {
    position: absolute;
    inset: -4%;
    z-index: -2;
    animation: rd-kb-in 2.4s var(--rd-ease) both, rd-kb-drift 24s ease-in-out 2.4s infinite alternate;
    will-change: transform;
}
.rd-hero:before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, rgba(14,22,30,.45) 0%, rgba(14,22,30,0) 28%, rgba(14,22,30,0) 50%, rgba(14,22,30,.65) 100%);
}
@keyframes rd-kb-in { from { transform: scale(1.18); filter: saturate(.6) brightness(.8); } to { transform: scale(1.04); filter: none; } }
@keyframes rd-kb-drift { from { transform: scale(1.04) translate(0, 0); } to { transform: scale(1.1) translate(-1.5%, -1%); } }

.rd-hero-c {
    position: relative;
    z-index: 2;
    min-height: 700px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 190px 64px 104px;
}
.rd-hero h1 { font-size: 76px; max-width: 760px; margin-top: 18px; color: #fff; }
.rd-hero h1 em { font-style: italic; color: var(--rd-y); font-weight: 400; }
.rd-hero-c p { font-size: 19px; max-width: 560px; margin: 24px 0 34px; opacity: .92; font-weight: 300; line-height: 1.55; }
.rd-hbtns { display: flex; flex-wrap: wrap; gap: 12px; }
/* маркетплейсы: строка под баннером, слегка заходит на него */
.rd-mpbar {
    position: relative;
    z-index: 3;
    margin-top: -48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 18px 18px 18px 30px;
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 24px 60px -30px rgba(28,36,26,.35);
}
.rd-mpbar-t b { display: block; font-family: 'PT Serif', serif; font-size: 22px; line-height: 1.2; }
.rd-mpbar-t span { color: var(--rd-mut); font-size: 14px; font-weight: 400; }
.rd-mpbar-l { display: flex; gap: 10px; flex-wrap: wrap; }
.rd-mpi {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 200px;
    height: 60px;
    padding: 0 20px;
    border: 1px solid var(--rd-line);
    border-radius: 18px;
    font-weight: 600;
    font-size: 16px;
    color: var(--rd-ink);
    text-decoration: none !important;
    transition: border-color .3s, background-color .3s, transform .3s var(--rd-ease);
}
.rd-mpi i {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--c);
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--c) 18%, transparent);
    flex: none;
}
.rd-mpi-a { margin-left: auto; color: var(--rd-mut); transition: transform .3s var(--rd-ease), color .3s; }
.rd-mpi:hover { border-color: var(--c); background: color-mix(in srgb, var(--c) 6%, #fff); transform: translateY(-2px); }
.rd-mpi:hover .rd-mpi-a { color: var(--c); transform: translate(2px, -2px); }

/* внутренние страницы: короткий баннер с заголовком */
.rd-hero--page { min-height: 0; }
.rd-hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 60%; display: block; }
.rd-hero--page .rd-hero-bg img { object-position: center; }
.rd-hero--page .rd-hero-c { min-height: 0; flex-direction: row; justify-content: space-between; align-items: flex-end; gap: 40px; padding: 170px 64px 48px; }
.rd-hero--page h1 { font-size: 56px; margin: 0; }
.rd-hero--page .rd-desc { max-width: 460px; opacity: .9; font-size: 16px; font-weight: 300; text-align: right; }

.rd-up { opacity: 0; transform: translateY(24px); animation: rd-up .9s var(--rd-ease) forwards; }
@keyframes rd-up { to { opacity: 1; transform: none; } }

/* ---------- факты ---------- */
.rd-facts {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-top: 40px;
    border-top: 1px solid var(--rd-line);
    border-bottom: 1px solid var(--rd-line);
}
.rd-fact { padding: 30px 28px; border-right: 1px solid var(--rd-line); }
.rd-fact:last-child { border-right: 0; }
.rd-fact b { font-family: 'PT Serif', serif; font-size: 24px; display: block; margin-bottom: 4px; }
.rd-fact span { color: var(--rd-mut); font-size: 15px; font-weight: 400; }
.rd-ico { width: 44px; height: 44px; border-radius: 12px; background: #EAF0DC; display: grid; place-items: center; margin-bottom: 16px; }

/* ---------- секции ---------- */
.rd-sec { padding: 110px 0 0; }
.rd-shead { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 40px; gap: 30px; flex-wrap: wrap; }
.rd-shead h2 { font-size: 52px; margin-top: 12px; }
.rd-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.rd-tabs a, .rd-tabs button {
    padding: 10px 18px;
    border-radius: 999px;
    border: 1px solid var(--rd-line);
    font: 500 14px/1.2 'Fira Sans', sans-serif;
    background: #fff;
    color: var(--rd-ink);
    cursor: pointer;
    transition: background-color .3s, color .3s, border-color .3s;
}
.rd-tabs a:hover, .rd-tabs button:hover { border-color: var(--rd-ink); }
.rd-tabs .on { background: var(--rd-ink); color: #fff; border-color: var(--rd-ink); }

/* ---------- каталог ---------- */
.rd-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.rd-pc {
    background: var(--rd-card);
    border-radius: 24px;
    padding: 14px;
    display: flex;
    flex-direction: column;
    transition: opacity .9s var(--rd-ease), transform .6s var(--rd-ease), box-shadow .5s;
}
.rd-pc[hidden] { display: none; }
.rd-pc:hover { transform: translateY(-6px); box-shadow: 0 24px 48px -24px rgba(28,36,26,.25); }
.rd-pc .rd-im { height: 280px; border-radius: 16px; background: #F1EEE4; display: grid; place-items: center; position: relative; overflow: hidden; }
.rd-pc .rd-im img { width: auto; height: auto; max-height: 240px; max-width: 80%; object-fit: contain; mix-blend-mode: multiply; transition: transform .7s var(--rd-ease); animation: rd-bob 5s ease-in-out infinite; }
.rd-pc:nth-child(3n+2) .rd-im img { animation-delay: -1.6s; }
.rd-pc:nth-child(3n) .rd-im img { animation-delay: -3.2s; }
.rd-pc:hover .rd-im img { transform: translateY(-10px) rotate(-3deg) scale(1.06); }
.rd-pc .rd-im.raw img { width: 100%; height: 100%; max-width: none; max-height: none; object-fit: cover; mix-blend-mode: normal; animation: none; }
.rd-pc:hover .rd-im.raw img { transform: scale(1.1); }
@keyframes rd-bob { 50% { translate: 0 -8px; } }
.rd-tag { position: absolute; z-index: 1; top: 14px; left: 14px; font-size: 12px; font-weight: 600; padding: 6px 12px; border-radius: 999px; background: #fff; }
.rd-im.raw .rd-tag { background: var(--rd-ink); color: #fff; }
.rd-pc .rd-b { padding: 18px 8px 6px; flex: 1; display: flex; flex-direction: column; }
.rd-pc h3 { font-size: 23px; margin-bottom: 8px; }
.rd-pc p { color: var(--rd-mut); font-size: 15px; font-weight: 400; line-height: 1.5; flex: 1; }
.rd-pc .rd-f { display: flex; justify-content: space-between; align-items: center; margin-top: 18px; }
.rd-pc .rd-w { font-weight: 600; font-size: 15px; }
.rd-arr { width: 44px; height: 44px; border-radius: 50%; background: var(--rd-g); display: grid; place-items: center; color: #fff; font-size: 20px; transition: transform .4s var(--rd-ease); }
.rd-pc:hover .rd-arr { transform: translateX(4px) rotate(-45deg); }
.rd-more { text-align: center; margin-top: 34px; }

/* ---------- почему топинамбур ---------- */
.rd-split { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.rd-photo { border-radius: 28px; min-height: 560px; position: relative; overflow: hidden; }
.rd-photo .rd-pimg { position: absolute; inset: -12% 0; will-change: transform; }
.rd-photo .rd-pimg img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rd-badge {
    position: absolute;
    z-index: 1;
    left: 24px;
    bottom: 24px;
    background: #fff;
    border-radius: 18px;
    padding: 16px 20px;
    display: flex;
    gap: 14px;
    align-items: center;
    font-size: 14px;
    font-weight: 400;
    color: var(--rd-mut);
    animation: rd-float 4s ease-in-out infinite;
}
.rd-badge b { color: var(--rd-ink); font-size: 16px; display: block; font-weight: 600; }
.rd-badge svg { animation: rd-sun 12s linear infinite; }
@keyframes rd-float { 50% { transform: translateY(-6px); } }
@keyframes rd-sun { to { transform: rotate(360deg); } }

.rd-dark { background: var(--rd-ink); color: #fff; border-radius: 28px; padding: 56px; }
.rd-dark h2 { font-size: 46px; margin: 14px 0 18px; }
.rd-dark .rd-l { opacity: .75; font-size: 17px; font-weight: 300; line-height: 1.55; max-width: 480px; }
.rd-ben { margin-top: 38px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.rd-ben > div { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: 18px; padding: 20px; }
.rd-ben b { display: block; font-size: 17px; margin-bottom: 4px; font-weight: 600; }
.rd-ben span { opacity: .65; font-size: 14px; font-weight: 400; }
.rd-ben i { display: block; width: 10px; height: 10px; border-radius: 50%; background: var(--rd-y); margin-bottom: 14px; }
.rd-dark .rd-btn { margin-top: 34px; }

/* ---------- шаги ---------- */
.rd-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.rd-st { border-top: 2px solid var(--rd-ink); padding-top: 22px; }
.rd-st .rd-n { font-family: 'PT Serif', serif; font-size: 15px; color: var(--rd-gt); font-weight: 700; }
.rd-st h3 { font-size: 24px; margin: 10px 0 8px; }
.rd-st p { color: var(--rd-mut); font-size: 15px; font-weight: 400; line-height: 1.5; }

/* ---------- галерея ---------- */
.rd-gal { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 240px 240px; gap: 14px; }
.rd-gal > a { border-radius: 20px; overflow: hidden; position: relative; display: block; }
.rd-gal > a:first-child { grid-row: span 2; }
.rd-gal > a img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.15); transition: transform 1.4s var(--rd-ease); }
.rd-gal > a.in img { transform: scale(1); }
.rd-gal > a:hover img { transform: scale(1.08); transition-duration: .8s; }

/* ---------- где купить ---------- */
.rd-buy { display: grid; grid-template-columns: 1.1fr .9fr; gap: 22px; }
.rd-bcard { background: #fff; border-radius: 28px; padding: 44px; }
.rd-bcard h2 { font-size: 42px; margin: 12px 0 26px; }
.rd-mrow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.rd-mrow a {
    border: 1px solid var(--rd-line);
    border-radius: 18px;
    padding: 20px;
    font-weight: 600;
    font-size: 17px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    transition: border-color .3s, transform .3s var(--rd-ease);
}
.rd-mrow a:hover { border-color: var(--rd-g); transform: translateY(-2px); }
.rd-mrow a small { display: block; font-weight: 400; color: var(--rd-mut); font-size: 13px; }
.rd-ccard { background: var(--rd-gt); color: #fff; border-radius: 28px; padding: 44px; display: flex; flex-direction: column; gap: 22px; }
.rd-ccard .rd-row { border-bottom: 1px solid rgba(255,255,255,.25); padding-bottom: 20px; }
.rd-ccard .rd-row:last-child { border: 0; padding: 0; }
.rd-ccard small { opacity: .8; font-size: 13px; text-transform: uppercase; letter-spacing: .1em; font-weight: 600; }
.rd-ccard b { font-size: 24px; font-family: 'PT Serif', serif; display: block; margin-top: 4px; }
.rd-ccard .rd-em { opacity: .85; font-size: 15px; font-weight: 400; }

.rd-form { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.rd-form input[type=tel] {
    flex: 1;
    min-width: 200px;
    height: 52px;
    border: 1.5px solid transparent;
    border-radius: 999px;
    background: #F4F1E9;
    padding: 0 22px;
    font: 400 15px 'Fira Sans', sans-serif;
    color: var(--rd-ink);
    outline: none;
}
.rd-form input[type=tel]:focus { border-color: var(--rd-g); background: #fff; }
.rd-form input.err { border-color: #D2452C; }
.rd-form-ok { display: none; flex-basis: 100%; color: var(--rd-gt); font-weight: 600; font-size: 14px; }
.rd-form.sent .rd-form-ok { display: block; }

/* ---------- подвал ---------- */
.rd-footer { margin: 110px 14px 14px; background: var(--rd-ink); color: #fff; border-radius: 28px; padding: 56px 50px 34px; }
.rd-ft { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.rd-ft img { height: 70px; width: auto; }
.rd-ft-h { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; opacity: .55; margin: 0 0 16px; font-weight: 600; }
.rd-ft ul { margin: 0; padding: 0; }
.rd-ft li { list-style: none; margin-bottom: 10px; font-size: 15px; font-weight: 400; }
.rd-ft li a { opacity: .9; transition: opacity .3s, color .3s; }
.rd-ft li a:hover { opacity: 1; color: var(--rd-y); }
.rd-footer .rd-big { font-size: 28px; line-height: 1.15; margin: 18px 0; }
.rd-fb { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; margin-top: 50px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); font-size: 13px; font-weight: 400; }
.rd-fb > span { opacity: .55; }
.rd-counters { display: flex; gap: 8px; align-items: center; opacity: .7; }
.rd-counters img { display: block; }
.rd-soc { display: flex; gap: 10px; }
.rd-soc a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); display: grid; place-items: center; font-size: 13px; font-weight: 600; transition: background-color .3s, color .3s; }
.rd-soc a:hover { background: #fff; color: var(--rd-ink); }

/* ---------- появление при прокрутке ---------- */
.rd-rv { opacity: 0; transform: translateY(40px) scale(.97); transition: opacity .9s var(--rd-ease), transform .9s var(--rd-ease); transition-delay: var(--d, 0s); }
.rd-rv.in { opacity: 1; transform: none; }
.rd-pc.rd-rv.in:hover { transform: translateY(-6px); }
.rd-clip { clip-path: inset(12% 12% 12% 12% round 28px); transition: clip-path 1.3s var(--rd-ease); transition-delay: var(--d, 0s); }
.rd-clip.in { clip-path: inset(0 0 0 0 round 20px); }
/* без JS контент не должен оставаться невидимым */
.no-js .rd-rv { opacity: 1; transform: none; }
.no-js .rd-clip { clip-path: none; }

/* ---------- адаптив ---------- */
@media (max-width: 1180px) {
    .rd-header { padding: 18px 22px; }
    .rd-burger { display: block; order: 3; }
    .rd-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 8px;
        right: 8px;
        flex-direction: column;
        border-radius: 22px;
        padding: 10px;
        background: rgba(28,36,26,.92);
    }
    .rd-header.open .rd-menu { display: flex; }
    .rd-menu a { padding: 14px 18px; font-size: 16px; }
    .rd-ncta { margin-left: auto; }
    .rd-hero h1 { font-size: 60px; }
}

@media (max-width: 960px) {
    .rd-hero-c { padding: 160px 32px 96px; }
    .rd-mpbar { flex-direction: column; align-items: stretch; padding: 22px; }
    .rd-mpi { flex: 1; min-width: 0; }
    .rd-hero--page .rd-hero-c { flex-direction: column; align-items: flex-start; padding: 150px 32px 36px; }
    .rd-hero--page .rd-desc { text-align: left; }
    .rd-facts { grid-template-columns: 1fr 1fr; }
    .rd-fact:nth-child(2) { border-right: 0; }
    .rd-fact:nth-child(-n+2) { border-bottom: 1px solid var(--rd-line); }
    .rd-grid { grid-template-columns: 1fr 1fr; }
    .rd-split, .rd-buy { grid-template-columns: 1fr; }
    .rd-photo { min-height: 420px; }
    .rd-steps { grid-template-columns: 1fr 1fr; row-gap: 36px; }
    .rd-ft { grid-template-columns: 1fr 1fr; }
    .rd-sec { padding-top: 80px; }
    .rd-shead h2 { font-size: 42px; }
}

@media (max-width: 640px) {
    .rd-wrap { padding: 0 16px; }
    .rd-hero, .rd-footer { margin-left: 8px; margin-right: 8px; border-radius: 22px; }
    .rd-header { left: 8px; right: 8px; padding: 14px 16px; }
    .rd-logo img { height: 56px; }
    .rd-ncta > div, .rd-ncta .rd-lang { display: none; }
    .rd-ncta .rd-btn { height: 42px; padding: 0 16px; font-size: 14px; }
    .rd-hero { min-height: 0; }
    .rd-hero-c { min-height: 600px; }
    .rd-hero-c { padding: 120px 20px 80px; }
    .rd-mpbar { margin-top: -40px; }
    .rd-mpbar-l { flex-direction: column; }
    .rd-mpi { flex: none; height: 56px; }
    .rd-hero h1 { font-size: 42px; }
    .rd-hero-c p { font-size: 17px; }
    .rd-hero--page .rd-hero-c { padding: 120px 20px 28px; }
    .rd-hero--page h1 { font-size: 36px; }
    .rd-facts, .rd-grid, .rd-steps, .rd-mrow, .rd-ben, .rd-ft { grid-template-columns: 1fr; }
    .rd-fact { border-right: 0; border-bottom: 1px solid var(--rd-line); }
    .rd-fact:last-child { border-bottom: 0; }
    .rd-shead h2 { font-size: 34px; }
    .rd-dark, .rd-bcard, .rd-ccard { padding: 28px 22px; }
    .rd-dark h2, .rd-bcard h2 { font-size: 32px; }
    .rd-gal { grid-template-columns: 1fr 1fr; grid-template-rows: 220px 140px 140px; }
    .rd-gal > a:first-child { grid-column: span 2; grid-row: auto; }
    .rd-gal > a:nth-child(n+6) { display: none; }
    .rd-footer { padding: 36px 22px 24px; }
}

/* =====================  Внутренние страницы  ===================== */
.rd-page { padding-top: 70px; }
.rd-page .rd-sec:first-child { padding-top: 0; }
.rd-lead { font-family: 'PT Serif', serif; font-size: 30px; line-height: 1.3; font-weight: 400; max-width: 900px; }
.rd-lead b, .rd-lead strong { font-weight: 700; color: var(--rd-gt); }

.rd-prose { font-size: 17px; line-height: 1.65; font-weight: 400; color: #33402F; }
.rd-prose p { margin: 0 0 16px; }
.rd-prose p:last-child { margin-bottom: 0; }
.rd-prose h2 { font-size: 34px; margin: 36px 0 14px; color: var(--rd-ink); }
.rd-prose h3 { font-size: 24px; margin: 28px 0 10px; color: var(--rd-ink); }
.rd-prose h2:first-child, .rd-prose h3:first-child { margin-top: 0; }
.rd-prose ul { margin: 0 0 18px; padding: 0; list-style: none; }
.rd-prose li { position: relative; padding-left: 26px; margin-bottom: 10px; }
.rd-prose li:before { content: ""; position: absolute; left: 4px; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: var(--rd-g); }
.rd-prose a { color: var(--rd-gt); text-decoration: underline; text-underline-offset: 3px; }
.rd-prose b, .rd-prose strong { color: var(--rd-ink); font-weight: 600; }
.rd-prose table { width: 100%; border-collapse: collapse; margin: 0 0 18px; }
.rd-prose td, .rd-prose th { border-bottom: 1px solid var(--rd-line); padding: 10px 8px; text-align: left; }
.rd-prose img { max-width: 100%; height: auto; border-radius: 16px; }

.rd-two { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.rd-two.top { align-items: start; }
.rd-media { position: relative; border-radius: 28px; overflow: hidden; min-height: 420px; background: #E9E4D6; }
.rd-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.rd-media.tall { min-height: 560px; }
.rd-sticky { position: sticky; top: 24px; }

.rd-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.rd-stat { background: #fff; border-radius: 22px; padding: 26px 24px; }
.rd-stat b { display: block; font-family: 'PT Serif', serif; font-size: 44px; line-height: 1; color: var(--rd-gt); margin-bottom: 10px; }
.rd-stat span { color: var(--rd-mut); font-size: 15px; font-weight: 400; line-height: 1.45; }

.rd-timeline { position: relative; display: grid; gap: 14px; }
.rd-tl { display: grid; grid-template-columns: 140px 1fr; gap: 28px; background: #fff; border-radius: 22px; padding: 28px 32px; }
.rd-tl .rd-y { font-family: 'PT Serif', serif; font-size: 34px; font-weight: 700; color: var(--rd-gt); line-height: 1; }
.rd-tl h3 { font-size: 22px; margin-bottom: 8px; }
.rd-tl p { color: var(--rd-mut); font-size: 16px; font-weight: 400; line-height: 1.6; }
.rd-tl p + p { margin-top: 10px; }

.rd-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.rd-cards.c2 { grid-template-columns: repeat(2, 1fr); }
.rd-card { background: #fff; border-radius: 24px; padding: 30px; }
.rd-card .rd-ico { margin-bottom: 18px; }
.rd-card h3 { font-size: 24px; margin-bottom: 10px; }
.rd-card p { color: var(--rd-mut); font-size: 16px; font-weight: 400; line-height: 1.6; }
.rd-card.dark { background: var(--rd-ink); color: #fff; }
.rd-card.dark p { color: rgba(255,255,255,.7); }
.rd-card.green { background: var(--rd-gt); color: #fff; }
.rd-card.green p { color: rgba(255,255,255,.85); }

.rd-checks { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.rd-checks li { display: flex; gap: 14px; align-items: flex-start; font-size: 16px; font-weight: 400; line-height: 1.5; padding: 14px 18px; background: #F7F4EC; border-radius: 14px; }
.rd-card.dark .rd-checks li { background: rgba(255,255,255,.06); }
.rd-checks li:before { content: "✓"; flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--rd-g); color: #fff; font-size: 13px; font-weight: 700; display: grid; place-items: center; margin-top: 1px; }
.rd-checks li small { display: block; color: var(--rd-mut); font-size: 14px; }
.rd-card.dark .rd-checks li small { color: rgba(255,255,255,.6); }

.rd-cta { display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap; background: var(--rd-ink); color: #fff; border-radius: 28px; padding: 44px 48px; }
.rd-cta h2 { font-size: 38px; max-width: 640px; }
.rd-cta p { opacity: .7; font-size: 16px; font-weight: 300; margin-top: 10px; }
.rd-cta .rd-hbtns { flex: none; }

/* карта: плашка адреса слева, статичная карта Яндекса справа; в узком блоке — друг под другом */
.rd-map { container-type: inline-size; border-radius: 28px; overflow: hidden; background: #fff; }
.rd-map-in { display: grid; grid-template-columns: 340px 1fr; min-height: 420px; }
.rd-map-card { padding: 34px 30px; display: flex; flex-direction: column; justify-content: center; }
.rd-map-card b { display: block; font-family: 'PT Serif', serif; font-size: 22px; line-height: 1.25; margin: 10px 0 8px; }
.rd-map-card p { color: var(--rd-mut); font-size: 15px; line-height: 1.5; margin: 0 0 12px; }
.rd-map-tel { display: inline-block; font-weight: 600; font-size: 17px; color: var(--rd-ink); text-decoration: none; margin-bottom: 20px; }
.rd-map-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.rd-map-btns .rd-btn { height: 44px; padding: 0 18px; font-size: 14px; }
.rd-map-img { display: block; position: relative; min-height: 300px; background: #E9E4D6; }
.rd-map-img iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
@container (max-width: 700px) {
    .rd-map-in { grid-template-columns: 1fr; min-height: 0; }
    .rd-map-card { padding: 26px 24px 22px; }
    .rd-map-img { height: 360px; }
}

/* формы */
.rd-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.rd-fields .full { grid-column: 1 / -1; }
.rd-input {
    width: 100%;
    height: 54px;
    border: 1.5px solid transparent;
    border-radius: 16px;
    background: #F4F1E9;
    padding: 0 18px;
    font: 400 15px 'Fira Sans', sans-serif;
    color: var(--rd-ink);
    outline: none;
    transition: border-color .3s, background-color .3s;
}
textarea.rd-input { height: 130px; padding: 14px 18px; resize: vertical; line-height: 1.5; }
.rd-input:focus { border-color: var(--rd-g); background: #fff; }
.rd-input.err, .rd-form input.err { border-color: #D2452C; }
.rd-form-foot { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 16px; }
.rd-form-foot small { color: var(--rd-mut); font-size: 13px; font-weight: 400; }
form.sent .rd-form-ok { display: block; }

/* реквизиты */
.rd-req { display: grid; gap: 0; }
.rd-req div { display: grid; grid-template-columns: 150px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--rd-line); font-size: 16px; font-weight: 400; }
.rd-req div:last-child { border-bottom: 0; }
.rd-req dt, .rd-req span:first-child { color: var(--rd-mut); font-size: 14px; }
.rd-req a { color: var(--rd-gt); }

/* ---------- каталог: разделы ---------- */
.rd-cats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.rd-cat { position: relative; display: block; min-height: 420px; border-radius: 28px; overflow: hidden; background: var(--rd-ink); color: #fff; isolation: isolate; }
.rd-cat img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1s var(--rd-ease); }
.rd-cat:after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(14,22,30,0) 20%, rgba(14,22,30,.55) 55%, rgba(14,22,30,.92) 100%); }
.rd-cat:hover img { transform: scale(1.06); }
.rd-cat-b { position: absolute; left: 32px; right: 32px; bottom: 30px; display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; }
.rd-cat h2 { font-size: 38px; margin-bottom: 8px; color: #fff; }
.rd-cat p { color: rgba(255,255,255,.92); font-size: 16px; font-weight: 400; max-width: 420px; text-shadow: 0 1px 12px rgba(0,0,0,.4); }
.rd-cat h2 { text-shadow: 0 2px 18px rgba(0,0,0,.3); }
.rd-cat .rd-arr { flex: none; width: 56px; height: 56px; background: var(--rd-y); color: var(--rd-ink); }
.rd-cat:hover .rd-arr { transform: translateX(4px) rotate(-45deg); }
.rd-cat .rd-count { position: absolute; top: 24px; left: 24px; background: rgba(28,36,26,.55); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,.2); padding: 8px 14px; border-radius: 999px; font-size: 13px; font-weight: 600; }

/* ---------- карточка товара ---------- */
.rd-pd { display: grid; grid-template-columns: 280px 1fr; gap: 40px; align-items: start; }
.rd-pnav { position: sticky; top: 24px; background: #fff; border-radius: 24px; padding: 22px; }
.rd-pnav-h { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--rd-mut); font-weight: 600; margin: 0 0 10px 8px; }
.rd-pnav ul { list-style: none; margin: 0; padding: 0; }
.rd-pnav > ul > li { margin-bottom: 12px; }
.rd-pnav > ul > li > a { display: block; font-weight: 600; font-size: 15px; padding: 8px; color: var(--rd-ink); }
.rd-pnav li li a { display: block; padding: 7px 8px 7px 20px; border-radius: 10px; font-size: 14px; font-weight: 400; color: var(--rd-mut); line-height: 1.35; transition: background-color .3s, color .3s; }
.rd-pnav li li a:hover { color: var(--rd-ink); background: #F7F4EC; }
.rd-pnav li li a.on { background: var(--rd-gt); color: #fff; }
.rd-pnav-toggle { display: none; }

.rd-prod { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: start; }
.rd-gallery { position: sticky; top: 24px; }
.rd-gallery-main { display: grid; place-items: center; aspect-ratio: 1; background: #fff; border-radius: 28px; padding: 30px; }
.rd-gallery-main img { max-width: 100%; max-height: 100%; object-fit: contain; }
.rd-thumbs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.rd-thumbs a { width: 76px; height: 76px; border-radius: 14px; overflow: hidden; background: #fff; border: 1.5px solid transparent; transition: border-color .3s; }
.rd-thumbs a:hover { border-color: var(--rd-g); }
.rd-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.rd-prod h2 { font-size: 40px; margin: 12px 0 18px; }
.rd-params { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 26px 0; }
.rd-params div { background: #fff; border-radius: 16px; padding: 16px 18px; }
.rd-params span { display: block; color: var(--rd-mut); font-size: 13px; font-weight: 400; margin-bottom: 4px; }
.rd-params b { font-size: 16px; font-weight: 600; }
.rd-note a { color: var(--rd-gt); text-decoration: underline; text-underline-offset: 3px; }
.rd-note { margin-top: 26px; background: #EAF0DC; border-radius: 20px; padding: 22px 24px; font-size: 15px; font-weight: 400; line-height: 1.6; color: #33402F; }
.rd-buyrow { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }

/* ---------- фото и видео ---------- */
/* альбомы — одна строка, лишнее прокручивается вбок */
.rd-years {
    display: flex;
    gap: 6px;
    margin: 0 0 26px;
    padding-bottom: 4px;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
    -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 40px), transparent);
    mask-image: linear-gradient(90deg, #000 calc(100% - 40px), transparent);
}
.rd-years::-webkit-scrollbar { display: none; }
.rd-years button { flex: none; scroll-snap-align: start; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--rd-line); background: #fff; font: 500 14px/1.2 'Fira Sans', sans-serif; color: var(--rd-ink); white-space: nowrap; cursor: pointer; transition: background-color .3s, color .3s, border-color .3s; }
.rd-years button:hover { border-color: var(--rd-ink); }
.rd-years button.on { background: var(--rd-ink); color: #fff; border-color: var(--rd-ink); }
.rd-years.at-end { -webkit-mask-image: none; mask-image: none; }
.rd-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; transition: opacity .3s; }
.rd-photos.loading { opacity: .35; }
.rd-photos > a { display: block; aspect-ratio: 1; border-radius: 20px; overflow: hidden; background: #E9E4D6; }
.rd-photos > a img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--rd-ease); }
.rd-photos > a:hover img { transform: scale(1.06); }
.rd-photos.videos { grid-template-columns: repeat(2, 1fr); }
.rd-photos .video-box { margin: 0; border-radius: 20px; overflow: hidden; background: var(--rd-ink); aspect-ratio: 16 / 10; }
.rd-photos .video-box video { width: 100%; height: 100%; object-fit: cover; display: block; }
.rd-empty { grid-column: 1 / -1; padding: 40px; text-align: center; color: var(--rd-mut); background: #fff; border-radius: 20px; }

.video-box { position: relative; }
.video-box .play-pause { position: absolute; inset: 0; z-index: 1; display: flex; cursor: pointer; border: 0; padding: 0; width: 100%; background: rgba(28,36,26,.25); }
.video-box .play-pause span { margin: auto; width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; background: var(--rd-y); color: var(--rd-ink); box-shadow: 0 16px 40px -10px rgba(0,0,0,.4); transition: transform .3s var(--rd-ease); }
.video-box .play-pause:hover span { transform: scale(1.08); }
.lightbox .lb-number { display: none !important; }

/* ---------- 404 ---------- */
.rd-404 { text-align: center; padding: 40px 0 0; }
.rd-404 b { display: block; font-family: 'PT Serif', serif; font-size: 160px; line-height: 1; color: var(--rd-g); }
.rd-404 p { font-size: 18px; color: var(--rd-mut); font-weight: 400; margin: 18px auto 30px; max-width: 520px; }
.rd-404 .rd-hbtns { justify-content: center; }

@media (max-width: 960px) {
    .rd-two, .rd-prod, .rd-pd { grid-template-columns: 1fr; gap: 32px; }
    .rd-stats { grid-template-columns: 1fr 1fr; }
    .rd-cards { grid-template-columns: 1fr 1fr; }
    .rd-cats { grid-template-columns: 1fr; }
    .rd-lead { font-size: 24px; }
    .rd-sticky, .rd-gallery { position: static; }
    .rd-pnav { position: static; padding: 0; background: none; }
    .rd-pnav-toggle { display: flex; width: 100%; justify-content: space-between; align-items: center; height: 54px; padding: 0 20px; border: 0; border-radius: 16px; background: #fff; font: 600 15px 'Fira Sans', sans-serif; color: var(--rd-ink); cursor: pointer; }
    .rd-pnav > ul, .rd-pnav > .rd-pnav-h { display: none; }
    .rd-pnav.open > ul { display: block; margin-top: 10px; background: #fff; border-radius: 16px; padding: 14px; }
    .rd-media.tall { min-height: 420px; }
    .rd-photos { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
    .rd-page { padding-top: 48px; }
    .rd-stats, .rd-cards, .rd-cards.c2, .rd-fields, .rd-params { grid-template-columns: 1fr; }
    .rd-stat b { font-size: 36px; }
    .rd-tl { grid-template-columns: 1fr; gap: 10px; padding: 22px; }
    .rd-tl .rd-y { font-size: 28px; }
    .rd-card { padding: 24px 22px; }
    .rd-media { min-height: 300px; border-radius: 22px; }
    .rd-prose { font-size: 16px; }
    .rd-prose h2 { font-size: 28px; }
    .rd-cta { padding: 30px 22px; }
    .rd-cta h2 { font-size: 30px; }
    .rd-map { border-radius: 22px; }
    .rd-cat { min-height: 340px; }
    .rd-cat h2 { font-size: 30px; }
    .rd-cat-b { left: 22px; right: 22px; bottom: 22px; }
    .rd-prod h2 { font-size: 30px; }
    .rd-photos, .rd-photos.videos { grid-template-columns: 1fr 1fr; gap: 8px; }
    .rd-photos.videos { grid-template-columns: 1fr; }
    .rd-req div { grid-template-columns: 1fr; gap: 2px; }
    .rd-404 b { font-size: 110px; }
}

@media (prefers-reduced-motion: reduce) {
    .rd *, .rd *:before, .rd-hero *, .rd-header *, .rd-hero-bg { animation: none !important; transition: none !important; }
    .rd-rv, .rd-up { opacity: 1 !important; transform: none !important; }
    .rd-clip { clip-path: none !important; }
}

/* End */
/* /bitrix/templates/prostori.su/css/redesign.css?179295510337768 */
