/* Стандарт Рольставни39: отступ фотографий в карточках и фотоблоках — 12px на всех экранах. */
/* /rolstavni-na-okna/ — scoped landing styles */
#services-news-detail { scroll-margin-top: 70px; }

/* Consent links: window landing only; shared form stays unchanged. */
#services-news-detail .form-service-top__form .feedback-garant__label a {
  color: #075bb9;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
#services-news-detail .form-service-top__form .feedback-garant__label a:focus {
  outline: 2px solid #075bb9;
  outline-offset: 3px;
}

.rw-page {
  --rw-blue: #0b72e7;
  --rw-blue-dark: #075bb9;
  --rw-ink: #102545;
  --rw-text: #33455f;
  --rw-muted: #68778d;
  --rw-line: #dbe5f1;
  --rw-soft: #f5f9fe;
  --rw-shadow: 0 10px 30px rgba(18, 49, 86, .09);
  color: var(--rw-text);
  line-height: 1.6;
}
.rw-page *, .rw-page *::before, .rw-page *::after { box-sizing: border-box; }
.rw-page > section { margin-top: 64px; }
.rw-page h1, .rw-page h2, .rw-page h3, .rw-page h4 { color: var(--rw-ink); line-height: 1.2; }
.rw-page h1 { margin: 38px 0 14px; font-size: clamp(30px, 4vw, 46px); }
.rw-page h2 { position: relative; margin: 0 0 28px; padding-bottom: 14px; font-size: clamp(25px, 3vw, 34px); }
.rw-page h2::after { content: ""; position: absolute; left: 0; bottom: 0; width: 58px; height: 3px; border-radius: 4px; background: var(--rw-blue); }
.rw-page h3 { margin: 0 0 10px; font-size: 20px; }
.rw-page p { margin: 0 0 14px; }
.rw-page a:not(.rw-btn) { color: #096bd4; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.rw-lead { max-width: 920px; margin: 0 0 24px; font-size: 19px; color: #43546c; }
.rw-note { padding: 17px 20px; border: 1px solid #d5e5f8; border-radius: 13px; background: #f7fbff; }
.rw-grid { display: grid; gap: 22px; }
.rw-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.rw-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.rw-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.rw-card { overflow: hidden; border: 1px solid #e2e8f0; border-radius: 16px; background: #fff; box-shadow: var(--rw-shadow); }
.rw-card__body { padding: 22px; }
.rw-media { position: relative; overflow: hidden; margin: 12px 12px 0; background: #f5f8fc; }
.rw-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.rw-media--photo { aspect-ratio: 16 / 9; }
.rw-media--product { aspect-ratio: 4 / 3; }
.rw-tag { display: inline-flex; align-items: center; min-height: 30px; margin-bottom: 12px; padding: 5px 12px; border-radius: 999px; background: #eaf4ff; color: #0868ce; font-weight: 700; font-size: 14px; }
.rw-tag--muted { background: #f1f3f6; color: #5d6877; }
.rw-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.rw-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 22px; border: 1px solid var(--rw-blue); border-radius: 9px; background: var(--rw-blue); color: #fff !important; font-weight: 700; text-decoration: none !important; transition: .2s ease; }
.rw-btn:hover, .rw-btn:focus { background: var(--rw-blue-dark); border-color: var(--rw-blue-dark); }
.rw-btn--secondary { background: #fff; color: var(--rw-blue) !important; }
.rw-btn--secondary:hover, .rw-btn--secondary:focus { background: #eef6ff; color: var(--rw-blue-dark) !important; }
.rw-page ul.rw-checks { display: grid; gap: 9px; margin: 16px 0 0 !important; padding: 0 !important; list-style: none !important; }
.rw-page ul.rw-checks > li { position: relative; display: block !important; margin: 0; padding-left: 29px; list-style: none !important; }
.rw-page ul.rw-checks > li::marker { content: ""; font-size: 0; }
.rw-page ul.rw-checks > li::before { content: "✓"; position: absolute; left: 0; top: .05em; width: 20px; height: 20px; border: 1px solid #59a4f4; border-radius: 50%; color: var(--rw-blue); font-weight: 800; font-size: 13px; line-height: 18px; text-align: center; }

/* Use cases */
.rw-use { gap: 22px; }
.rw-use.rw-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.rw-use .rw-media { aspect-ratio: 9 / 5; }
.rw-use .rw-card__body { padding: 18px 20px; }
.rw-use .rw-card__body h3 { margin-bottom: 8px; }
.rw-use .rw-card__body p { margin-bottom: 0; }

/* Construction */
.rw-construction { display: grid; grid-template-columns: 1.1fr .9fr; gap: 22px; }
.rw-construction__panel { min-width: 0; padding: 18px; border: 1px solid #e2e8f0; border-radius: 16px; background: #fff; box-shadow: var(--rw-shadow); }
.rw-construction__panel .rw-construction__list { display: grid; width: 100%; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0 !important; padding: 0 !important; list-style: none; }
.rw-construction__list > li { display: flex; min-width: 0; min-height: 94px; align-items: center; gap: 8px; margin: 0; padding: 7px 8px; overflow: hidden; border: 1px solid #e6eef8; border-radius: 12px; background: var(--rw-soft); color: var(--rw-ink); font-size: 15px; font-weight: 600; line-height: 1.28; list-style: none !important; }
.rw-construction__list > li::marker { content: ""; font-size: 0; }
.rw-construction__media { display: inline-flex; flex: 0 0 70px; align-items: center; justify-content: center; width: 70px; height: 70px; }
.rw-construction__media img { display: block; width: 70px; height: 70px; object-fit: contain; filter: drop-shadow(0 5px 7px rgba(16, 37, 69, .12)); }
.rw-construction__list > li > span:last-child { min-width: 0; overflow-wrap: break-word; hyphens: auto; }
.rw-construction__label--control { font-size: 14px; line-height: 1.2; }
.rw-construction__label--control > span { display: block; }
.rw-construction__label--control > span:first-child { white-space: nowrap; }
.rw-construction__panel .rw-checks > li { display: block; margin: 0; list-style: none !important; }
.rw-construction__panel .rw-checks > li::marker { content: ""; font-size: 0; }

/* Profiles */
.rw-profile-card .rw-media { aspect-ratio: 1.45 / 1; padding: 18px; background: #f5f7fa; }
.rw-profile-card .rw-media img { object-fit: contain; }
.rw-profile-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.rw-profile-code { font-size: 24px; font-weight: 800; color: var(--rw-ink); }
.rw-profile-size { color: #53647b; font-weight: 700; }
#profiles .rw-note { margin-top: 22px; }

/* Boxes */
.rw-box-card--stock { border-color: #bddcff; box-shadow: 0 12px 32px rgba(11, 114, 231, .12); }
.rw-media--product { margin: 12px 12px 0; border-radius: 11px; }
.rw-media--product img { object-position: center; }
#boxes .rw-note { margin-top: 22px; }
.rw-color-dots { display: flex; flex-wrap: wrap; gap: 12px 16px; margin-top: 14px; font-size: 14px; }
.rw-color-dot { display: inline-flex; align-items: center; gap: 7px; }
.rw-color-dot::before { content: ""; width: 18px; height: 18px; border: 1px solid #c8ced6; border-radius: 5px; background: var(--dot); }

/* Control */
.rw-control-card .rw-media { aspect-ratio: 1.25 / 1; margin: 12px 12px 0; border-radius: 11px; }
.rw-control-card .rw-media img { object-position: center; }
.rw-control-card .rw-card__body { padding-top: 18px; }

/* Smart */
.rw-smart-lead { max-width: 980px; }
.rw-smart { display: grid; grid-template-columns: 1.02fr .98fr; gap: 22px; align-items: stretch; }
.rw-smart__visual, .rw-smart__features { border: 1px solid #e2e8f0; border-radius: 18px; background: #fff; box-shadow: var(--rw-shadow); }
.rw-smart__visual { display: flex; flex-direction: column; min-width: 0; margin: 0; padding: 12px; overflow: hidden; }
.rw-smart__visual img { display: block; width: 100%; flex: 1 1 auto; min-height: 440px; object-fit: cover; object-position: center; border-radius: 11px; }
.rw-smart__visual figcaption { margin-top: 12px; color: var(--rw-muted); font-size: 14px; line-height: 1.45; }
.rw-smart__features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding: 18px; }
.rw-smart-item { min-width: 0; padding: 16px; border-radius: 13px; background: #f5f9fe; }
.rw-smart-item strong { display: block; margin-bottom: 4px; color: var(--rw-ink); font-size: 18px; }
.rw-smart-item span { display: block; font-size: 15px; line-height: 1.5; }
.rw-smart-scenarios { margin-top: 30px; }
.rw-smart-scenarios > h3 { margin-bottom: 8px; font-size: 23px; }
.rw-smart-scenarios__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 18px; }
.rw-smart-scenario { min-width: 0; padding: 20px; border: 1px solid #dbe7f5; border-radius: 15px; background: linear-gradient(145deg, #f5f9fe 0%, #fff 100%); box-shadow: 0 8px 24px rgba(18, 49, 86, .06); }
.rw-smart-scenario__label { display: inline-flex; margin-bottom: 12px; padding: 4px 10px; border-radius: 999px; background: #e8f3ff; color: #0868ce; font-size: 14px; font-weight: 700; }
.rw-smart-scenario h4 { margin: 0 0 9px; font-size: 19px; }
.rw-smart-scenario p { margin-bottom: 0; }
.rw-smart-scenario__media { display: block; margin: -8px -8px 18px; overflow: hidden; border-radius: 14px 14px 9px 9px; }
.rw-smart-scenario__media img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; object-position: center; }
.rw-smart-system { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; margin-top: 30px; }
.rw-smart-system__card { min-width: 0; padding: 22px; border: 1px solid #e2e8f0; border-radius: 16px; background: #fff; box-shadow: var(--rw-shadow); }
.rw-smart-system__card h3 { font-size: 22px; }
.rw-smart-equipment { margin: 0 0 18px; }
.rw-smart-equipment picture { display: block; margin: -10px -10px 0; overflow: hidden; border-radius: 11px; background: #f6f7f9; }
.rw-smart-equipment img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; object-position: center; }
.rw-smart-equipment figcaption { margin-top: 10px; color: var(--rw-muted); font-size: 14px; line-height: 1.45; }
.rw-smart-system__accent { margin: 18px 0 0; padding: 14px 16px; border-left: 3px solid var(--rw-blue); border-radius: 0 10px 10px 0; background: #f2f8ff; }
.rw-smart-system__list { margin-top: 14px; }
.rw-page #smart p.rw-smart-note { margin-top: 22px !important; }

/* Palette */
.rw-color-lead { max-width: 980px; }
.rw-color-group { margin-top: 22px; padding: 14px 22px 18px; border: 1px solid #e2e8f0; border-radius: 18px; background: #fff; box-shadow: var(--rw-shadow); }
.rw-color-group--stock { border-color: #bddcff; box-shadow: 0 12px 32px rgba(11, 114, 231, .1); }
.rw-color-group__head { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 14px; align-items: center; margin-bottom: 14px; }
.rw-color-group__icon { display: grid; width: 40px; height: 40px; place-items: center; border: 1px solid #94c4fb; border-radius: 50%; background: #f3f8ff; color: var(--rw-blue); }
.rw-color-group__icon svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.rw-color-group__head h3 { font-size: 23px; }
.rw-color-group__head p { max-width: 900px; margin-bottom: 0; }
.rw-page ul.rw-color-grid { display: grid; gap: 16px; margin: 0 !important; padding: 0 !important; list-style: none !important; }
.rw-color-grid--stock { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.rw-color-grid--order { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.rw-page ul.rw-color-grid > li { margin: 0; padding: 0; list-style: none !important; }
.rw-page ul.rw-color-grid > li::marker { content: ""; font-size: 0; }
.rw-color-card { min-width: 0; overflow: hidden; border: 1px solid #dfe7f1; border-radius: 13px; background: #fff; }
.rw-color-card img { display: block; width: 100%; height: auto; aspect-ratio: 2 / 1; object-fit: cover; object-position: center; background: #f2f4f7; }
.rw-color-card__body { padding: 12px 14px 13px; }
.rw-color-card__body strong, .rw-color-card__body span { display: block; }
.rw-color-card__body strong { color: var(--rw-ink); font-size: 16px; line-height: 1.3; }
.rw-color-card__body span { margin-top: 3px; color: var(--rw-muted); font-size: 13px; line-height: 1.35; }
.rw-color-info { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px; align-items: center; margin-top: 22px; padding: 16px; border: 1px solid #cfe3fb; border-radius: 14px; background: #f7fbff; }
.rw-color-info__text { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 12px; align-items: start; }
.rw-color-info__text p { margin: 0; font-size: 14px; line-height: 1.5; }
.rw-color-info__icon { display: grid; width: 34px; height: 34px; place-items: center; color: var(--rw-blue); }
.rw-color-info__icon svg { width: 27px; height: 27px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.rw-color-info__term { display: grid; grid-template-columns: 34px auto; min-width: 178px; padding: 12px 14px; border: 1px solid #d7e8fb; border-radius: 11px; background: #eef6ff; }
.rw-color-info__calendar { grid-row: 1 / 3; display: grid; width: 34px; height: 34px; margin-right: 8px; place-items: center; color: var(--rw-blue); }
.rw-color-info__calendar svg { width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.rw-color-info__term > span:not(.rw-color-info__calendar) { color: #5d6877; font-size: 13px; line-height: 1.3; }
.rw-color-info__term strong { color: var(--rw-blue-dark); font-size: 18px; line-height: 1.25; }
.rw-color-disclaimer { margin: 14px 0 0; color: var(--rw-muted); font-size: 14px; }

/* Price */
.rw-price-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; counter-reset: price; }
.rw-price-card { min-height: 250px; padding: 20px; border: 1px solid #e2e8f0; border-radius: 15px; background: #fff; box-shadow: var(--rw-shadow); counter-increment: price; }
.rw-price-card__media { display: block; width: 106px; height: 106px; margin: 0 0 12px; overflow: hidden; border-radius: 50%; background: #f3f8ff; }
.rw-price-card__media img { display: block; width: 100%; height: 100%; margin: 0; object-fit: cover; object-position: center; border-radius: 50%; }
.rw-price-card h3::before { content: counter(price) ". "; color: var(--rw-blue); }
.rw-price-card p { margin-bottom: 0; font-size: 15px; }
.rw-price-cta { display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: center; margin-top: 22px; padding: 22px; border: 1px solid #cfe3fb; border-radius: 16px; background: #f5faff; }
.rw-price-cta strong { display: block; margin-bottom: 5px; color: var(--rw-ink); font-size: 22px; }

/* Order */
.rw-order-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; counter-reset: order; }
.rw-order-card { position: relative; min-height: 300px; padding: 20px; border: 1px solid #e2e8f0; border-radius: 15px; background: #fff; box-shadow: var(--rw-shadow); counter-increment: order; text-align: center; }
.rw-order-card::before { content: counter(order) "."; position: absolute; top: 15px; left: 16px; color: var(--rw-blue); font-size: 22px; font-weight: 800; }
.rw-order-card__media { display: block; width: 145px; height: 145px; margin: 8px auto 10px; overflow: hidden; border-radius: 50%; background: #f3f8ff; }
.rw-order-card__media img { display: block; width: 100%; height: 100%; margin: 0; object-fit: cover; object-position: center; border-radius: 0; }
.rw-order-card p { margin-bottom: 0; font-size: 15px; }
.rw-order-card:nth-child(n+5) { grid-column: span 1; }
.rw-order-grid .rw-order-card:nth-child(5) { grid-column-start: 2; }

/* Trust */
.rw-trust-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.rw-trust-card { padding: 22px; border: 1px solid #e2e8f0; border-radius: 15px; background: #fff; box-shadow: var(--rw-shadow); text-align: center; }
.rw-trust-icon { display: grid; width: 140px; height: 140px; margin: 0 auto 16px; place-items: center; overflow: hidden; padding: 0; border: 1px solid #cfe1f7; border-radius: 50%; background: #f0f6ff; color: var(--rw-blue); }
.rw-trust-icon svg { width: 82px; height: 82px; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.rw-trust-icon img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.rw-trust-icon--years { align-content: center; border-color: #b9d6f7; }
.rw-trust-icon--years strong { display: block; font-size: 38px; line-height: .95; letter-spacing: -.04em; }
.rw-trust-icon--years small { display: block; margin-top: 5px; font-size: 15px; font-weight: 700; line-height: 1; }
.rw-trust-icon--alutech { align-content: center; padding: 16px; text-align: center; }
.rw-trust-icon--alutech strong { display: block; font-size: 18px; letter-spacing: .03em; line-height: 1.1; }
.rw-trust-icon--alutech small { display: block; margin-top: 8px; font-size: 11px; font-weight: 700; line-height: 1.25; }
.rw-trust-card p { margin-bottom: 0; font-size: 15px; }

/* FAQ */
.rw-faq-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-items: start; }
.rw-faq-column { display: grid; gap: 12px; }
.rw-faq { overflow: hidden; border: 1px solid #e2e8f0; border-radius: 14px; background: #fff; box-shadow: 0 7px 24px rgba(18, 49, 86, .07); }
.rw-faq summary { position: relative; cursor: pointer; list-style: none; padding: 20px 54px 20px 54px; color: var(--rw-ink); font-weight: 700; line-height: 1.4; }
.rw-faq summary::-webkit-details-marker { display: none; }
.rw-faq summary::before { content: "+"; position: absolute; left: 18px; top: 18px; width: 24px; height: 24px; border-radius: 50%; background: var(--rw-blue); color: #fff; line-height: 23px; text-align: center; font-size: 20px; font-weight: 500; }
.rw-faq summary::after { content: "⌄"; position: absolute; right: 20px; top: 16px; color: var(--rw-blue); font-size: 22px; }
.rw-faq[open] summary::before { content: "−"; }
.rw-faq[open] summary::after { content: "⌃"; }
.rw-faq__answer { padding: 0 22px 20px 54px; }
.rw-faq__answer p:last-child { margin-bottom: 0; }

.rw-final { padding: 28px; border-radius: 18px; background: linear-gradient(135deg, #f4f9ff 0%, #fff 70%); border: 1px solid #cfe3fb; }
.rw-final h2 { margin-top: 0; }

@media (max-width: 991px) {
  .rw-grid-4, .rw-price-grid, .rw-trust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rw-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rw-construction, .rw-smart { grid-template-columns: 1fr; }
  .rw-smart__features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rw-smart-scenarios__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rw-smart-system { grid-template-columns: 1fr; }
  .rw-color-grid--order { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .rw-order-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rw-order-grid .rw-order-card:nth-child(5) { grid-column-start: auto; }
  .rw-price-cta { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  .rw-page > section { margin-top: 46px; }
  .rw-page h1 { margin-top: 28px; }
  .rw-grid-2, .rw-grid-3, .rw-grid-4, .rw-price-grid, .rw-trust-grid, .rw-faq-grid, .rw-order-grid { grid-template-columns: 1fr; }
  .rw-use.rw-grid-2 { grid-template-columns: 1fr; }
  .rw-construction__panel .rw-construction__list { grid-template-columns: 1fr; }
  .rw-card__body, .rw-construction__panel, .rw-price-card, .rw-trust-card { padding: 18px; }
  .rw-smart__visual { padding: 12px; }
  .rw-smart__visual img { min-height: 0; aspect-ratio: 1.1 / 1; }
  .rw-smart__features, .rw-smart-scenarios__grid { grid-template-columns: 1fr; }
  .rw-smart__features { padding: 14px; }
  .rw-smart-scenario, .rw-smart-system__card { padding: 18px; }
  .rw-smart-scenario__media { margin: -6px -6px 16px; }
  .rw-smart-equipment picture { margin: -6px -6px 0; }
  .rw-color-group { padding: 12px 14px 16px; }
  .rw-color-grid--stock, .rw-color-grid--order { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rw-color-info { grid-template-columns: 1fr; padding: 14px; }
  .rw-color-info__term { width: 100%; min-width: 0; }
  .rw-color-disclaimer { margin-right: 0; margin-left: 0; }
  .rw-price-card { min-height: 0; }
  .rw-order-card { min-height: 0; }
  .rw-order-grid .rw-order-card:nth-child(5) { grid-column-start: auto; }
  .rw-actions .rw-btn { width: 100%; }
  .rw-faq summary { padding-left: 50px; }
  .rw-faq__answer { padding-left: 50px; }
}
@media (prefers-reduced-motion: reduce) {
  .rw-btn { transition: none; }
}


/* Approved order section: six stages, 2026-10-06. */
.rw-page #order .rw-order-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.rw-page #order .rw-order-card {
  min-width: 0;
  min-height: 316px;
  grid-column: auto;
}
.rw-page #order .rw-order-card__media img {
  border-radius: 50%;
}
@media (max-width: 991px) {
  .rw-page #order .rw-order-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 767px) {
  .rw-page #order .rw-order-grid {
    grid-template-columns: 1fr;
  }
  .rw-page #order .rw-order-card {
    min-height: 0;
  }
}
