/* Homepage-only corrections from the visual audit. */
/* The contact chooser must be able to overlap the next section. */
body[data-theme="yandex"].page-home .hero { overflow: visible; z-index: 2; }
body[data-theme="yandex"].page-home .hero::before { display: none; }
body[data-theme="yandex"].page-home .hero-copy .hero-eyebrow { margin:0 0 24px; color:#ffd400; font-size:13px; font-weight:750; line-height:1.5; letter-spacing:.1em; text-transform:uppercase; }
body[data-theme="yandex"].page-home .hero-messenger-picker { position: relative; max-width: 100%; }
body[data-theme="yandex"].page-home .messenger-picker-toggle { display: flex; justify-content: space-between; gap: 16px; list-style: none; cursor: pointer; }
body[data-theme="yandex"].page-home .messenger-picker-toggle::-webkit-details-marker { display: none; }
body[data-theme="yandex"].page-home .messenger-picker-toggle .ui-icon { flex: 0 0 20px; width: 20px; height: 20px; }
body[data-theme="yandex"].page-home .hero-messenger-picker[open] .messenger-picker-toggle .ui-icon { transform: rotate(180deg); }
body[data-theme="yandex"].page-home .messenger-picker-panel { position: absolute; z-index: 20; top: calc(100% + 10px); left: 0; display: grid; width: 100%; min-width: 240px; padding: 10px; gap: 2px; border: 1px solid #e1e6ee; border-radius: 20px; background: #fff; box-shadow: 0 18px 48px #08132330; }
body[data-theme="yandex"].page-home .messenger-picker-panel .messenger-link { justify-content: flex-start; gap: 14px; min-height: 54px; padding: 12px 16px; border: 0; border-radius: 12px; color: #0f1827; background: #fff; font-size: 17px; font-weight: 700; box-shadow: none; transform: none; }
body[data-theme="yandex"].page-home .messenger-picker-panel .messenger-link:hover { background: #f0f3f8; }
body[data-theme="yandex"].page-home .messenger-picker-panel .messenger-link:focus-visible { outline: 2px solid #354e73; outline-offset: -2px; background: #f0f3f8; }
body[data-theme="yandex"].page-home .messenger-picker-panel .messenger-icon { flex: 0 0 26px; width: 26px; height: 26px; }
body[data-theme="yandex"].page-home .messenger-picker-panel { scroll-margin-block: 100px; }
body[data-theme="yandex"].page-home .hero-exclusive { display: flex; align-items: center; gap: 10px; color: #e5ebf4; font-size: 15px; line-height: 1.45; }
body[data-theme="yandex"].page-home .hero-exclusive .ui-icon { flex: 0 0 22px; width: 22px; height: 22px; color: #ffd400; }
body[data-theme="yandex"].page-home .section:not(.hero) { padding-block: 68px; }
body[data-theme="yandex"].page-home .section-heading { font-size: clamp(30px, 3.25vw, 44px); font-weight: 720; line-height: 1.16; letter-spacing: -.025em; }
body[data-theme="yandex"].page-home .hero .section-heading { font-size: clamp(38px, 4.2vw, 54px); font-weight: 800; line-height: 1.06; letter-spacing: -.035em; }
body[data-theme="yandex"].page-home .hero-case-period { margin: 0; color: #58667a; font-size: 13px; }
body[data-theme="yandex"].page-home .home-hero-layout { gap: clamp(32px, 5vw, 72px); align-items: center; }
body[data-theme="yandex"].page-home .hero-case-card { display: block; overflow: hidden; border: 1px solid #ffffff26; border-radius: 26px; color: #0f1827; background: #fff; text-decoration: none; box-shadow: 0 20px 50px #0002; transition: transform .2s ease, box-shadow .2s ease; }
body[data-theme="yandex"].page-home .hero-case-media { position: relative; height: 180px; margin: 12px 12px 0; overflow: hidden; border-radius: 18px; background: #e6ded3; }
body[data-theme="yandex"].page-home .hero-case-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 46%; transition: transform .35s ease; }
body[data-theme="yandex"].page-home .hero-case-tag { position: absolute; left: 24px; top: 22px; padding: 8px 13px; border-radius: 9px; color: #0f1827; background: #ffd400; font-size: 13px; font-weight: 750; }
body[data-theme="yandex"].page-home .hero-case-body { display: grid; gap: 16px; padding: 26px 30px; }
body[data-theme="yandex"].page-home .hero-case-location { margin: 0; color: #58667a; font-size: 13px; }
body[data-theme="yandex"].page-home .hero-case-title { margin: 0; font-size: clamp(23px, 2.2vw, 29px); line-height: 1.22; letter-spacing: -.025em; font-weight: 750; }
body[data-theme="yandex"].page-home .hero-case-result { display: flex; align-items: center; gap: 18px; }
body[data-theme="yandex"].page-home .hero-case-result strong { font-size: clamp(48px, 4.8vw, 64px); line-height: 1.05; letter-spacing: -.045em; }
body[data-theme="yandex"].page-home .hero-case-result > span { max-width: 9ch; color: #58667a; font-size: 15px; line-height: 1.4; }
body[data-theme="yandex"].page-home .hero-case-cta { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid #e5e9ef; padding-top: 16px; font-size: 15px; font-weight: 750; }
body[data-theme="yandex"].page-home .hero-case-cta .ui-icon { width: 28px; height: 28px; padding: 5px; border-radius: 50%; background: #ffd400; }
body[data-theme="yandex"].page-home .section-intro { margin-bottom: 32px; }
body[data-theme="yandex"].page-home .section-intro .flow { gap: 16px; }
body[data-theme="yandex"].page-home :is(.section-intro, .home-story .flow) .section-heading { margin-bottom: 0; }
body[data-theme="yandex"].page-home .service-grid { align-items: stretch; gap: 18px; }
body[data-theme="yandex"].page-home .service-card { position: relative; display: grid; grid-template-columns: 42px minmax(0,1fr); grid-template-rows: auto 1fr auto; align-items: start; padding: 26px; gap: 18px; }
body[data-theme="yandex"].page-home .service-card h3 { align-self: center; }
body[data-theme="yandex"].page-home .service-card > :is(p,a) { grid-column: 1 / -1; }
body[data-theme="yandex"].page-home .service-card .service-icon { width: 42px; height: 42px; border-radius: 12px; }
body[data-theme="yandex"].page-home .service-card h3 { font-size: 23px; font-weight: 720; line-height: 1.25; }
body[data-theme="yandex"].page-home .service-card p { color: #526179; line-height: 1.55; }
body[data-theme="yandex"].page-home .service-card > a:not(.button) { margin-top: 0; padding-top: 0; }
body[data-theme="yandex"].page-home .service-card > a::after { content: ''; position: absolute; inset: 0; }
body[data-theme="yandex"].page-home .service-card > a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; }
body[data-theme="yandex"].page-home .service-card > a .ui-icon { width: 18px; height: 18px; }
body[data-theme="yandex"].page-home .revenue-heading { max-width: 950px; }
body[data-theme="yandex"].page-home .revenue-heading > span { display: block; }
body[data-theme="yandex"].page-home .heading-intro { margin-bottom: 14px; color: #766000; font-size: 16px; font-weight: 650; letter-spacing: .02em; }
body[data-theme="yandex"].page-home .heading-note { margin-top: 14px; color: #526179; font-size: 18px; font-weight: 450; letter-spacing: 0; }
body[data-theme="yandex"].page-home .home-revenue .lead { color: #526179; font-size: 17px; }
body[data-theme="yandex"].page-home .home-revenue .table-wrap { background: #fff; }
body[data-theme="yandex"].page-home .home-revenue .table-wrap :is(th,td) { color: #26364c; }
body[data-theme="yandex"].page-home .home-revenue .table-wrap .copy { color: #26364c; font-size: 15px; font-weight: 550; line-height: 1.45; }
body[data-theme="yandex"].page-home .home-revenue th .copy { font-weight: 700; }
body[data-theme="yandex"].page-home .revenue-city-control, body[data-theme="yandex"].page-home .table-hint { display: none; }
body[data-theme="yandex"].page-home .home-cases .grid { grid-template-columns: repeat(3,minmax(0,1fr)); grid-auto-rows: 1fr; gap: 20px; }
body[data-theme="yandex"].page-home .home-cases .case-card { position: relative; min-height: 310px; padding: 28px; border: 1px solid #dce3ec; border-radius: 22px; box-shadow: none; }
body[data-theme="yandex"].page-home .home-cases .case-card .flow { gap: 18px; align-items: stretch; }
body[data-theme="yandex"].page-home .home-cases .case-card h3.copy { color: #17243a; font-size: 24px; line-height: 1.25; font-weight: 750; }
body[data-theme="yandex"].page-home .home-cases .case-card .copy { font-size: 16px; line-height: 1.65; }
body[data-theme="yandex"].page-home .home-cases .case-result { color: #17243a; font-size: 1.13em; font-weight: 800; line-height: 1.35; }
body[data-theme="yandex"].page-home .case-icon { display: grid; place-items: center; width: 44px; height: 44px; color: #17243a; background: #fff5bc; border-radius: 13px; }
body[data-theme="yandex"].page-home .case-icon .ui-icon { width: 24px; height: 24px; }
body[data-theme="yandex"].page-home .home-cases .case-card .flow > .copy:last-child a { justify-content: space-between; gap: 16px; width: 100%; border-top: 1px solid #e5e9ef; padding-top: 14px; color: #26364c; }
body[data-theme="yandex"].page-home .case-card a::after { content: ''; position: absolute; inset: 0; }
body[data-theme="yandex"].page-home .case-card a .ui-icon { width: 20px; height: 20px; }
body[data-theme="yandex"].page-home .home-story .grid { gap: 28px; align-items: stretch; }
body[data-theme="yandex"].page-home .home-story-cards .section-intro .section-heading { max-width: 920px; }
body[data-theme="yandex"].page-home .home-story .flow { gap: 24px; }
body[data-theme="yandex"].page-home .home-story-cards .grid { gap: 20px; }
body[data-theme="yandex"].page-home .story-card { display: flex; flex-direction: column; gap: 22px; padding: 28px; border: 1px solid #dce3ec; border-radius: 22px; background: #fff; }
body[data-theme="yandex"].page-home .story-card > * { margin: 0; }
body[data-theme="yandex"].page-home .story-card :is(.copy,.lead) { font-size: 17px; line-height: 1.7; }
body[data-theme="yandex"].page-home .story-card .flow { flex: 1; gap: 16px; align-items: stretch; }
body[data-theme="yandex"].page-home .story-card-title { margin: 0; font-size: 25px; line-height: 1.25; font-weight: 720; }
body[data-theme="yandex"].page-home .story-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; color: #6d5900; background: #fff5bc; }
body[data-theme="yandex"].page-home .story-icon .ui-icon { width: 24px; height: 24px; }
body[data-theme="yandex"].page-home .section-dark .story-card { border-color: #ffffff26; background: #ffffff06; }
body[data-theme="yandex"].page-home .section-dark .story-icon { color: #ffd400; background: #ffd40015; }
body[data-theme="yandex"].page-home .story-card .copy a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-top: 8px; font-weight: 700; text-underline-offset: 5px; }
body[data-theme="yandex"].page-home .story-card a .ui-icon { width: 18px; height: 18px; }
/* Each stage has its own surface; the photo copy and gallery share one zone. */
body[data-theme="yandex"].page-home .section[id="836982123"] { padding-block: 80px; border-top: 1px solid #e7dfc7; color: #0f1827; background: #fff9e9; }
body[data-theme="yandex"].page-home .section[id="836982123"] .media { border-color: #e5dec9; background: #fff; box-shadow: 0 10px 28px #584a1510; }
body[data-theme="yandex"].page-home .section[id="836982123"] .copy { color: #354459; }
body[data-theme="yandex"].page-home .section[id="836982123"] .copy :is(h2,h3,strong) { color: #0f1827; }
body[data-theme="yandex"].page-home .section[id="119675370"] { color: #fff; background: #0f1827; }
body[data-theme="yandex"].page-home .section[id="218987739"] { padding-block: 76px; border-block: 1px solid #d9e4ef; color: #0f1827; background: #edf3fa; }
body[data-theme="yandex"].page-home .section[id="218987739"] .story-card { border-color: #d1dfed; background: #fff; }
body[data-theme="yandex"].page-home .section[id="218987739"] .story-card .copy { color: #354459; }
body[data-theme="yandex"].page-home .section[id="218987739"] .story-card .copy strong { color: #0f1827; }
body[data-theme="yandex"].page-home .section[id="218987739"] .story-icon { color: #205b93; background: #e4effb; }
body[data-theme="yandex"].page-home .section[id="218987739"] .accent { color: #245485; }
body[data-theme="yandex"].page-home .section[id="218987739"] .copy a { text-decoration-color: #7ba4cc; }
body[data-theme="yandex"].page-home .section[id="171267846"] { padding-block: 76px; color: #0f1827; background: #f4f6f9; }
body[data-theme="yandex"].page-home .section[id="171267846"] .section-heading::after { content: ''; display: block; width: 58px; height: 4px; margin-top: 18px; border-radius: 4px; background: #ffd400; }
body[data-theme="yandex"].page-home .section[id="171267846"] .story-card { border-color: #dce3ec; background: #fff; }
body[data-theme="yandex"].page-home .section[id="171267846"] .story-card .copy { color: #354459; }
body[data-theme="yandex"].page-home .section:not(.hero)[id="119675370"] { padding-bottom: 28px; }
body[data-theme="yandex"].page-home .section:not(.hero).home-gallery { padding-top: 28px; background: #0f1827; }
body[data-theme="yandex"].page-home .home-gallery .card { background: #ffffff0a; border-color: #ffffff26; }
body[data-theme="yandex"].page-home .home-story .copy ol { display: grid; gap: 12px; margin-block: 22px; padding-left: 23px; }
body[data-theme="yandex"].page-home .home-revenue .table-wrap tr:last-child .copy { color: #6d5900; font-weight: 750; }
body[data-theme="yandex"].page-home .home-gallery .grid { grid-template-columns: repeat(4, minmax(0,1fr)); gap: 16px; }
body[data-theme="yandex"].page-home .home-gallery .card { padding: 6px; border-radius: 16px; }
body[data-theme="yandex"].page-home .home-gallery .media { margin: 0; border: 0; border-radius: 11px; }
body[data-theme="yandex"].page-home .home-gallery img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }
body[data-theme="yandex"].page-home .section:not(.hero).home-gallery { color: #fff; }
body[data-theme="yandex"].page-home .catalog-banner { display: grid; grid-template-columns: 1fr 1fr; grid-template-areas: "lead images" "footer images"; gap: 0 36px; padding: 32px; border: 1px solid #ffffff26; border-radius: 28px; color: #fff; background: #1c2738; }
body[data-theme="yandex"].page-home .catalog-banner-header { grid-area: lead; align-self: end; padding-bottom: 24px; }
body[data-theme="yandex"].page-home .catalog-banner-header > .ui-icon { width: 32px; height: 32px; margin-bottom: 16px; color: #ffd400; }
body[data-theme="yandex"].page-home .catalog-banner-header :is(h2,h3) { margin: 0; color: #fff; font-size: clamp(28px,3.4vw,42px); font-weight: 750; line-height: 1.15; letter-spacing: -.025em; }
body[data-theme="yandex"].page-home .catalog-banner-header p { margin: 14px 0 0; color: #c7d0de; font-size: 16px; line-height: 1.6; }
body[data-theme="yandex"].page-home .catalog-description strong { color: #ffd400; font-weight: 750; }
body[data-theme="yandex"].page-home .catalog-mosaic { grid-area: images; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
body[data-theme="yandex"].page-home .catalog-tile { position: relative; display: block; min-width: 0; overflow: hidden; border: 1px solid #ffffff20; border-radius: 16px; color: #fff; text-decoration: none; background: #0f1827; }
body[data-theme="yandex"].page-home .catalog-tile img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; transition: transform .25s ease; }
body[data-theme="yandex"].page-home .catalog-tile-label { position: absolute; inset: auto 0 0; padding: 30px 12px 12px; color: #fff; background: linear-gradient(transparent, #0f1827ef); font-size: 13px; font-weight: 700; line-height: 1.4; }
body[data-theme="yandex"].page-home .catalog-banner-footer { grid-area: footer; align-self: start; display: grid; justify-items: start; gap: 20px; }
body[data-theme="yandex"].page-home .catalog-summary { margin: 0; color: #ffd400; font-size: 18px; font-weight: 650; line-height: 1.5; }
body[data-theme="yandex"].page-home .catalog-banner-footer .button { min-height: 54px; padding-inline: 22px; }
@media (hover: hover) and (pointer: fine) {
 body[data-theme="yandex"].page-home .catalog-tile:hover { border-color: #ffd400; }
 body[data-theme="yandex"].page-home .catalog-tile:hover img { transform: scale(1.035); }
}
body[data-theme="yandex"].page-home :is(.case-card,.service-card,.home-gallery img,.case-card .ui-icon,.service-card > a .ui-icon,.button) { transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease, background-color .2s ease; }
body[data-theme="yandex"].page-home :is(.case-card,.service-card):focus-within { outline: 2px solid #927600; outline-offset: 4px; }
@media (hover: hover) and (pointer: fine) {
 body[data-theme="yandex"].page-home :is(.case-card,.service-card):hover { transform: translateY(-4px); border-color: #c8ad32; box-shadow: 0 16px 36px #14223812; }
 body[data-theme="yandex"].page-home :is(.case-card:hover a,.service-card:hover > a) .ui-icon { transform: translate(2px,-2px); }
 body[data-theme="yandex"].page-home .hero-case-card:hover { transform: translateY(-4px); box-shadow: 0 28px 60px #0004; }
 body[data-theme="yandex"].page-home .hero-case-card:hover img, body[data-theme="yandex"].page-home .home-gallery a:hover img { transform: scale(1.035); }
 body[data-theme="yandex"].page-home .button:hover { transform: translateY(-2px); }
 body[data-theme="yandex"].page-home .messenger-picker-toggle:hover { transform: none; }
}
@media (max-width: 980px) {
 body[data-theme="yandex"].page-home .catalog-banner { grid-template-columns: minmax(0,1fr); grid-template-areas: "lead" "images" "footer"; gap: 24px; }
 body[data-theme="yandex"].page-home .catalog-banner-header { align-self: auto; padding-bottom: 0; }
 body[data-theme="yandex"].page-home .catalog-banner-footer { align-self: auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
 body[data-theme="yandex"].page-home .home-cases .grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
 body[data-theme="yandex"].page-home .home-story-cards .grid { grid-template-columns: minmax(0,1fr); }
 body[data-theme="yandex"].page-home .story-card { display: grid; grid-template-columns: 44px minmax(0,1fr); align-items: start; }
 body[data-theme="yandex"].page-home .hero-case-media { height: 210px; }
 body[data-theme="yandex"].page-home .home-gallery .grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media (max-width: 640px) {
 body[data-theme="yandex"].page-home .catalog-banner { padding: 22px 18px; gap: 20px; border-radius: 22px; }
 body[data-theme="yandex"].page-home .catalog-mosaic { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
 body[data-theme="yandex"].page-home .catalog-tile { border-radius: 12px; }
 body[data-theme="yandex"].page-home .catalog-tile-label { padding: 25px 10px 10px; font-size: 12px; }
 body[data-theme="yandex"].page-home .catalog-banner-footer { display: grid; justify-items: stretch; }
 body[data-theme="yandex"].page-home .catalog-banner-footer .button { width: 100%; }
 body[data-theme="yandex"].page-home:has(.cookie-banner:not([hidden])) .messenger-picker-panel { top: auto; bottom: calc(100% + 10px); }
 body[data-theme="yandex"].page-home .section:not(.hero) { padding-block: 44px; }
 body[data-theme="yandex"].page-home .section-heading { font-size: clamp(27px,7.2vw,34px); line-height: 1.18; }
 body[data-theme="yandex"].page-home .hero .section-heading { font-size: clamp(32px,8.6vw,42px); }
 body[data-theme="yandex"].page-home .hero-actions { flex-direction: column; align-items: stretch; }
 body[data-theme="yandex"].page-home .hero-actions .button { width: 100%; }
 body[data-theme="yandex"].page-home .hero { background-size: 172px 250px, 150px 206px; background-position: right -38px top 18px, left -58px bottom 22px; }
 body[data-theme="yandex"].page-home .messenger-picker-toggle { display: grid; grid-template-columns: 20px minmax(0,1fr) 20px; gap: 8px; text-align: center; }
 body[data-theme="yandex"].page-home .messenger-picker-toggle::before { content: ''; }
 body[data-theme="yandex"].page-home .messenger-picker-toggle > span { min-width: 0; }
 body[data-theme="yandex"].page-home .hero-actions > .button { flex: 0 0 auto; min-height: 54px; }
 body[data-theme="yandex"].page-home .service-card { padding: 20px; gap: 12px; }
 body[data-theme="yandex"].page-home .service-card h3 { font-size: 22px; }
 body[data-theme="yandex"].page-home .heading-intro { font-size: 14px; }
 body[data-theme="yandex"].page-home .heading-note { font-size: 16px; }
 body[data-theme="yandex"].page-home .table-hint { display: block; font-size: 14px; color: #526179; }
 html.js body[data-theme="yandex"].page-home .table-hint { display: none; }
 html.js body[data-theme="yandex"].page-home .revenue-city-control { display: grid; gap: 9px; margin: 22px 0 16px; color: #26364c; font-size: 15px; font-weight: 650; }
 body[data-theme="yandex"].page-home .revenue-city-control select { width: 100%; min-width: 0; min-height: 48px; padding: 10px 12px; font: inherit; color: #26364c; border: 1px solid #8594a8; border-radius: 10px; background: #fff; }
 body[data-theme="yandex"].page-home .home-revenue .is-filtered table { min-width: 0; width: 100%; table-layout: fixed; }
 body[data-theme="yandex"].page-home .home-revenue .is-filtered :is(th,td) { min-width: 0; width: auto; padding: 13px 12px; }
 body[data-theme="yandex"].page-home .home-revenue .is-filtered tr > :first-child { width: 47%; }
 body[data-theme="yandex"].page-home .home-revenue .table-wrap .copy { font-size: 14px; }
 body[data-theme="yandex"].page-home .home-cases .grid { grid-template-columns: minmax(0,1fr); gap: 14px; }
 body[data-theme="yandex"].page-home .home-cases .case-card { min-height: 285px; padding: 24px; }
 body[data-theme="yandex"].page-home .hero-case-media { height: 150px; }
 body[data-theme="yandex"].page-home .hero-case-tag { top: 16px; left: 20px; }
 body[data-theme="yandex"].page-home .hero-case-body { padding: 22px; gap: 14px; }
 body[data-theme="yandex"].page-home .hero-case-title { font-size: 23px; }
 body[data-theme="yandex"].page-home .hero-case-result { gap: 12px; }
 body[data-theme="yandex"].page-home .hero-case-result strong { font-size: clamp(34px,10.2vw,48px); }
 body[data-theme="yandex"].page-home .story-card { display: flex; padding: 24px; gap: 18px; }
 body[data-theme="yandex"].page-home .story-card :is(.copy,.lead) { font-size: 16px; }
 body[data-theme="yandex"].page-home .story-card-title { font-size: 23px; }
 body[data-theme="yandex"].page-home .home-story .grid { gap: 20px; }
 body[data-theme="yandex"].page-home .section:is([id="836982123"],[id="218987739"],[id="171267846"]) { padding-block: 52px; }
 body[data-theme="yandex"].page-home .section[id="171267846"] .section-heading::after { margin-top: 14px; }
 body[data-theme="yandex"].page-home .section:not(.hero).home-gallery { padding-top: 16px; }
 body[data-theme="yandex"].page-home .section:not(.hero)[id="119675370"] { padding-bottom: 16px; }
 body[data-theme="yandex"].page-home .home-gallery .grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
 body[data-theme="yandex"].page-home .home-gallery .card { padding: 4px; border-radius: 12px; }
 body[data-theme="yandex"].page-home .home-gallery .media { border-radius: 8px; }
}
@media (prefers-reduced-motion: reduce) {
 body[data-theme="yandex"].page-home :is(.case-card,.service-card,.home-gallery img,.hero-case-card,.hero-case-card img,.ui-icon,.button) { transition: none; transform: none !important; }
}

/* Retain the approved homepage sequence and the complete article catalogue. */
body[data-theme="yandex"].page-home .hero { padding-block: 60px 58px; }
body[data-theme="yandex"].page-home .home-hero-layout { gap: 54px; }
body[data-theme="yandex"].page-home .hero-copy .hero-actions { margin-top: 28px; }
body[data-theme="yandex"].page-home .hero-exclusive { margin-top: 26px; }
body[data-theme="yandex"].page-home .hero-case-card { box-shadow: 0 18px 48px #0002; }
body[data-theme="yandex"].page-home .hero-case-body { padding: 26px 28px; }
body[data-theme="yandex"].page-home .section:not(.hero):not(.home-story):not(.home-gallery):not(.shared-support):not(.shared-work):not(.shared-about):not(.shared-lead) { padding-block: 76px; }
body[data-theme="yandex"].page-home .service-card { padding: 26px; gap: 16px; }
body[data-theme="yandex"].page-home .service-card > a:not(.button) { margin-top: auto; border-top: 1px solid #e5e9ef; padding-top: 12px; width: 100%; justify-content: space-between; }
body[data-theme="yandex"].page-home .home-cases .case-card { min-height: 320px; }
body[data-theme="yandex"].page-home .home-cases .case-card h3.copy { letter-spacing: -.02em; }
body[data-theme="yandex"].page-home .home-story .section-heading { text-wrap: balance; }
body[data-theme="yandex"].page-blog .hero { padding-block: 56px; }
body[data-theme="yandex"].page-blog .hero .section-heading { font-size: clamp(42px,4.5vw,64px); max-width: 22ch; }
body[data-theme="yandex"].page-blog .blog-tools { margin-top: 32px; margin-bottom: 30px; gap: 16px; }
body[data-theme="yandex"].page-blog .blog-card { border-radius: 20px; }
body[data-theme="yandex"].page-blog .blog-card-body { gap: 16px; padding: 26px; }
body[data-theme="yandex"].page-blog .blog-card-body :is(h2,h3) { font-size: 23px; font-weight: 730; line-height: 1.3; text-wrap: balance; }
body[data-theme="yandex"].page-blog .blog-card-body p { color: #526179; line-height: 1.7; }
body[data-theme="yandex"].page-blog .blog-card-body .blog-card-link { width: 100%; justify-content: space-between; border-top: 1px solid #e5e9ef; padding-top: 14px; }
body[data-theme="yandex"].page-blog .blog-card-type { font-size: 11px; font-weight: 750; padding: 5px 9px; border-radius: 7px; }
body[data-theme="yandex"].page-blog .blog-filters { gap: 8px; }
body[data-theme="yandex"].page-blog .pinned-grid .blog-card-featured .blog-card-body { padding: 30px; }
body[data-theme="yandex"].page-blog .pinned-grid .blog-card-featured :is(h2,h3) { font-size: clamp(27px,2.3vw,32px); }
@media (max-width:980px) {
  body[data-theme="yandex"].page-home .home-hero-layout { gap: 36px; }
}
@media (max-width:640px) {
  body[data-theme="yandex"].page-home .hero { padding-block: 40px 44px; }
  body[data-theme="yandex"].page-home .hero-copy { text-align: center; }
  body[data-theme="yandex"].page-home .hero-exclusive { justify-content: center; margin-top: 22px; font-size: 15px; }
  body[data-theme="yandex"].page-home .hero-copy .hero-actions { margin-top: 24px; gap: 12px; }
  body[data-theme="yandex"].page-home .hero-case-body { padding: 22px; }
  body[data-theme="yandex"].page-home .section:not(.hero):not(.home-story):not(.home-gallery):not(.shared-support):not(.shared-work):not(.shared-about):not(.shared-lead) { padding-block: 52px; }
  body[data-theme="yandex"].page-home .service-card { padding: 22px; gap: 14px; }
  body[data-theme="yandex"].page-home .home-cases .case-card { min-height: 290px; }
  body[data-theme="yandex"].page-blog .hero { padding-block: 40px 44px; }
  body[data-theme="yandex"].page-blog .hero .section-heading { font-size: 36px; }
  body[data-theme="yandex"].page-blog .blog-card-body,
  body[data-theme="yandex"].page-blog .pinned-grid .blog-card-featured .blog-card-body { padding: 24px; }
  body[data-theme="yandex"].page-blog .blog-card-body :is(h2,h3) { font-size: 23px; }
  body[data-theme="yandex"].page-blog .pinned-grid .blog-card-featured :is(h2,h3) { font-size: 26px; }
}

/* Quiet, script-free line art: floristry, an online shop, orders and sales. */
body[data-theme="yandex"].page-home .hero {
  background-image: url('/assets/icons/floral-outline-v11.svg'), url('/assets/icons/leaf-outline-v11.svg'), url('/assets/icons/commerce-store-outline-v21.svg'), url('/assets/icons/commerce-cart-outline-v21.svg'), url('/assets/icons/commerce-growth-outline-v21.svg');
  background-repeat: no-repeat;
  background-size: 270px 390px, 240px 330px, 156px 137px, 136px 155px, 154px 127px;
  background-position: right -30px top 22px, left -58px bottom -28px, left 14px top 4px, right 14px bottom 26px, left -28px top 48%;
}
@media (min-width:1800px) {
  body[data-theme="yandex"].page-home .hero {
    background-size: 270px 390px, 240px 330px, 190px 167px, 164px 187px, 184px 152px;
    background-position: right -30px top 22px, left -58px bottom -28px, left 64px top 34px, right 64px bottom 30px, left 56px top 48%;
  }
}
@media (max-width:980px) {
  body[data-theme="yandex"].page-home .hero {
    background-image: url('/assets/icons/floral-outline-v11.svg'), url('/assets/icons/leaf-outline-v11.svg'), url('/assets/icons/commerce-cart-outline-v21.svg');
    background-size: 210px 303px, 190px 261px, 112px 128px;
    background-position: right -38px top 18px, left -58px bottom 22px, left -40px top 22px;
  }
}
@media (max-width:640px) {
  body[data-theme="yandex"].page-home .hero { background-size: 172px 250px, 150px 206px, 96px 109px; background-position: right -38px top 18px, left -58px bottom 22px, left -32px top 22px; }
}
