/* Rulonas theme. Values follow the Figma file aEcIKCj2nbdPB8iidJwB3F (desktop 1440, mobile 390). */

@font-face {
	font-family: "Plus Jakarta Sans";
	font-style: normal;
	font-weight: 200 800;
	font-display: swap;
	src: url("../fonts/pjs-latin-ext.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: "Plus Jakarta Sans";
	font-style: normal;
	font-weight: 200 800;
	font-display: swap;
	src: url("../fonts/pjs-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
	--ink: #1d1e22;
	--blue: #0056e0;
	--grey: #f1f2f3;
	--grey-bg: #edeef0;
	--input: #f7f7f8;
	--stroke: #dfe0e2;
	--line: #d9d9d9;
	--muted: #6b6b6b;
	--grey2: #828996;
	--top: #7e8184;
	--gutter: 64px;
	--header-h: 92px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	font-family: "Plus Jakarta Sans", system-ui, sans-serif;
	font-weight: 500;
	font-size: 14px;
	line-height: 1.5;
	color: var(--ink);
	background: #fff;
	-webkit-font-smoothing: antialiased;
}
body.is-locked { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul, dl, dd { margin: 0; }
h1, h2, h3 { font-weight: 500; }
ul { padding: 0; list-style: none; }
button, input { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}
.skip-link:focus {
	clip: auto; width: auto; height: auto;
	top: 8px; left: 8px; z-index: 1000;
	padding: 8px 16px; background: #fff;
}

.wrap {
	width: 100%;
	max-width: 1440px;
	margin-inline: auto;
	padding-inline: var(--gutter);
}

.h2 { font-size: 40px; line-height: 1.1; }
.muted { opacity: .5; }
.underline { text-decoration: underline; text-underline-position: from-font; }

/* Buttons and links */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 56px;
	padding: 0 52px;
	border-radius: 100px;
	font-weight: 700;
	font-size: 16px;
	line-height: 1.4;
	white-space: nowrap;
	transition: background-color .2s, color .2s;
}
.btn--blue { background: var(--blue); color: #fff; }
.btn--blue:hover { background: #0047bb; }
.btn--white { background: #fff; color: var(--ink); border: 1px solid rgba(255, 255, 255, .2); }
.btn--white:hover { background: var(--grey); }

.link-arrow {
	display: inline-flex;
	align-items: center;
	gap: 16px;
	padding: 8px 0;
	font-size: 15px;
	letter-spacing: .01em;
	line-height: normal;
}
.link-arrow svg, .link-row svg { width: 16.6px; height: 16px; flex: none; transition: transform .2s; }
.link-arrow:hover svg, .link-row:hover svg { transform: translateX(3px); }
.link-arrow--plain { font-size: 14px; letter-spacing: 0; line-height: 1.5; padding: 0; }

.link-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	padding: 8px 0;
	border-bottom: 1px solid var(--line);
	font-size: 14px;
	letter-spacing: .01em;
	line-height: normal;
}

.pill {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	height: 40px;
	padding: 0 16px;
	border-radius: 100px;
	background: var(--grey);
	font-size: 16px;
	line-height: 1.4;
	white-space: nowrap;
}
.pill svg { width: 20px; height: 20px; }
.pill--white { background: #fff; height: 35px; padding: 4px 12px 4px 8px; font-size: 14px; letter-spacing: .01em; }

.tag {
	display: inline-flex;
	align-items: center;
	height: 28px;
	padding: 0 12px;
	border-radius: 32px;
	background: var(--grey);
	font-size: 14px;
	line-height: 1.4;
	white-space: nowrap;
}

/* Header */
.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: #fff;
}
.admin-bar .site-header { top: 32px; }
.topbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-block: 8px;
	font-size: 12px;
	line-height: 1.4;
	position: relative;
}
.topbar::after {
	content: "";
	position: absolute;
	left: var(--gutter);
	right: var(--gutter);
	bottom: 0;
	height: 1px;
	background: var(--line);
}
.topbar__contacts { display: flex; gap: 32px; color: var(--top); }
.topbar__contacts a:hover { color: var(--ink); }

.lang { position: relative; font-size: 12px; line-height: 1.4; }
.lang summary {
	display: flex;
	align-items: center;
	gap: 6px;
	list-style: none;
	cursor: pointer;
}
.lang summary::-webkit-details-marker { display: none; }
.lang__chev { width: 12px; height: 12px; transition: transform .2s; }
.lang[open] .lang__chev { transform: rotate(180deg); }
.lang__list {
	position: absolute;
	top: calc(100% + 8px);
	right: -12px;
	z-index: 5;
	min-width: 64px;
	padding: 6px;
	background: #fff;
	border: 1px solid var(--stroke);
	border-radius: 12px;
}
.lang__list a { display: block; padding: 4px 10px; border-radius: 8px; }
.lang__list a:hover, .lang__list a[aria-current] { background: var(--grey); }

.mainbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-block: 12px;
}
.mainbar__left { display: flex; align-items: center; gap: 44px; }
.logo img { width: 120px; height: 34px; }
.nav { display: flex; align-items: center; gap: 28px; font-size: 14px; line-height: 1.5; white-space: nowrap; }
.nav a, .nav__catalogue { transition: opacity .2s; }
.nav a:hover, .nav__catalogue:hover { opacity: .6; }
.nav__catalogue { display: flex; align-items: center; gap: 4px; line-height: 1.5; }
.nav__chev { width: 12px; height: 12px; transition: transform .2s; }
.nav__catalogue[aria-expanded="true"] { font-weight: 700; opacity: 1; }
.nav__catalogue[aria-expanded="true"] .nav__chev { transform: rotate(180deg); }
.mainbar__right { display: flex; align-items: center; justify-content: space-between; width: 325px; }
.quote-link { font-size: 12px; line-height: 1.4; white-space: nowrap; }
.mainbar__mobile { display: none; gap: 12px; }

.header-search {
	display: flex;
	align-items: center;
	width: 200px;
	height: 34px;
	padding: 6px 14px;
	border-radius: 100px;
	background: var(--input);
}
.header-search input, .grade-search input, .mobile-search__form input {
	flex: 1;
	min-width: 0;
	border: 0;
	background: none;
	outline: none;
	font-size: 14px;
	line-height: 1.5;
}
::placeholder { color: var(--ink); opacity: .3; }
.search-icon { display: flex; width: 16px; height: 16px; flex: none; }
.search-icon svg { width: 16px; height: 16px; }
input[type="search"]::-webkit-search-cancel-button { -webkit-appearance: none; }

.round-btn {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 100px;
	background: var(--grey);
}
.round-btn svg { width: 16px; height: 16px; }
.round-btn--burger { flex-direction: column; gap: 3px; }
.round-btn--burger span { width: 16px; height: 1.5px; background: var(--ink); opacity: .7; }

.mobile-search { padding-bottom: 16px; }
.mobile-search__form {
	display: flex;
	align-items: center;
	height: 48px;
	padding: 0 20px;
	border-radius: 100px;
	background: var(--input);
}
.mobile-search__form input { font-size: 15px; }

/* Mega menu */
.mega {
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	z-index: 2;
	background: var(--grey);
}
.mega__inner {
	display: flex;
	gap: 40px;
	max-width: 1440px;
	margin-inline: auto;
	padding-block: 24px;
}
.mega__cols { flex: 1; display: flex; gap: 24px; padding-left: var(--gutter); }
.mega__col { flex: 1; display: flex; flex-direction: column; gap: 16px; font-size: 14px; line-height: 1.5; }
.mega__col ul { display: flex; flex-direction: column; gap: 8px; }
.mega__col a:hover { opacity: .6; }
.mega__title { color: var(--grey2); font-size: 14px; line-height: 1.5; }
.mega__col--all { flex: none; gap: 10px; align-items: flex-start; }
.mega__aside { width: 389px; min-height: 305px; border-left: 1px solid var(--stroke); }
.mega-overlay {
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	height: 100vh;
	z-index: 1;
	background: rgba(130, 137, 150, .5);
}

/* Mobile menu */
.mobile-menu {
	position: fixed;
	inset: 0;
	z-index: 100;
	overflow-y: auto;
	background: #fff;
}
.admin-bar .mobile-menu { top: 46px; }
.mobile-menu__bar { display: flex; align-items: center; justify-content: space-between; padding: 16px; }
.mobile-menu__main {
	display: flex;
	flex-direction: column;
	gap: 20px;
	padding: 24px 16px;
	background: var(--grey);
	font-size: 24px;
	line-height: 1.5;
}
.mobile-menu__catalogue { display: flex; flex-direction: column; gap: 20px; padding: 24px 16px; }
.mobile-menu__all { gap: 24px; padding: 0; font-size: 24px; line-height: 1.5; letter-spacing: 0; }
.mobile-menu__cols { display: flex; gap: 4px; }
.mobile-menu__col { flex: 1; display: flex; flex-direction: column; gap: 10px; font-size: 18px; line-height: 1.5; }
.mobile-menu__col .mega__title:not(:first-child) { margin-top: 18px; }
.mobile-menu__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; padding: 16px 16px 24px; }
.lang--menu { flex: 1; display: flex; justify-content: center; font-size: 16px; }
.lang--menu .lang__list { top: auto; bottom: calc(100% + 8px); right: auto; }

/* Hero */
.hero__top {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 40px;
	padding-top: calc(200px - var(--header-h));
	padding-bottom: 24px;
}
.hero__main { display: flex; flex-direction: column; gap: 32px; width: 759px; max-width: 100%; }
.hero__title { font-size: 56px; line-height: 1.06; }
.hero-search { display: flex; gap: 8px; }
.hero-search input, .grade-search input {
	height: 48px;
	padding: 0 20px;
	border: 0;
	border-radius: 100px;
	background: var(--input);
	font-size: 15px;
	line-height: 1.5;
	outline: none;
}
.hero-search input { width: 479px; }
.hero-search input:focus, .grade-search input:focus { box-shadow: inset 0 0 0 1px var(--stroke); }
.hero-search .btn { height: 48px; padding: 0 48px; letter-spacing: .01em; line-height: 1.5; }
.hero__side { display: flex; flex-direction: column; gap: 28px; width: 325px; flex: none; }
.hero__lead { font-size: 14px; line-height: 1.5; opacity: .5; }
.hero__links { display: flex; flex-direction: column; gap: 16px; }
.hero { position: relative; z-index: 2; background: #fff; }
.home .site-header { position: relative; }

/* Scroll scene: the canvas stays on screen while the header and hero copy scroll away over it */
/* Everything after the scene slides over its pinned canvas. */
.scene ~ section, .scene ~ * .site-footer, .home .site-footer { position: relative; z-index: 1; }
.why, .offer, .news { background: #fff; }
.scene { position: relative; z-index: 0; height: calc(244vh - 160px); background: var(--ink); }
.scene__stage { position: fixed; top: 0; left: 0; right: 0; height: 100vh; overflow: hidden; }
.scene__mask { position: absolute; inset: 0; background: var(--ink); will-change: clip-path; }
.scene__mask canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.scene__vignette { position: absolute; inset: 0; pointer-events: none; opacity: 0; background: radial-gradient(ellipse at 50% 50%, rgba(29, 30, 34, 0) 30%, rgba(29, 30, 34, .85) 100%); }
.scene__fade { position: absolute; inset: 0; pointer-events: none; opacity: 0; background: var(--ink); }

.reveal { transition: opacity .9s cubic-bezier(.2, .7, .2, 1), transform .9s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.pre { opacity: 0; transform: translateY(28px); }
.stats .reveal:nth-child(2) { transition-delay: .08s; }
.stats .reveal:nth-child(3) { transition-delay: .16s; }
.stats .reveal:nth-child(4) { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
	.reveal { transition: none; }
	.js .reveal.pre { opacity: 1; transform: none; }
}

/* Partner */
.partner { position: relative; z-index: 1; background: var(--ink); color: #fff; padding-block: 80px; }
.partner .wrap { display: flex; flex-direction: column; gap: 96px; }
.partner__intro { display: flex; flex-direction: column; gap: 16px; }
.partner__title { font-size: 44px; line-height: 1.2; max-width: 681px; }
.partner__text { max-width: 539px; font-size: 14px; line-height: 1.5; opacity: .5; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { display: flex; flex-direction: column; gap: 8px; padding-left: 24px; border-left: 1px solid var(--stroke); }
.stat dt { font-size: 56px; line-height: 1.1; }
.stat dd { font-size: 18px; line-height: 1.5; color: var(--muted); }

/* Catalogue */
.home-catalogue { background: var(--grey-bg); padding: 83px 0 81px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; margin-bottom: 40px; }
.section-foot-link { display: none; }
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; }
.cat-card { position: relative; display: block; height: 388px; background: #fff; overflow: hidden; }
.cat-card__img {
	position: absolute;
	top: 12px;
	left: 50%;
	width: min(287px, calc(100% - 38px));
	aspect-ratio: 1;
	transform: translateX(-50%);
	mix-blend-mode: multiply;
}
.cat-card__img img { width: 100%; height: 100%; object-fit: contain; transition: transform .4s; }
.cat-card:hover .cat-card__img img { transform: scale(1.04); }
.cat-card__body {
	position: absolute;
	left: 24px;
	right: 68px;
	bottom: 24px;
	display: flex;
	flex-direction: column;
	gap: 8px;
	line-height: 1.4;
}
.cat-card__title { font-size: 18px; }
.cat-card__count { font-size: 14px; color: var(--muted); }

/* Finder */
.finder { background: var(--grey-bg); padding: 97px 0 101px; }
.finder__heading { margin-bottom: 45px; }
.finder__box { display: flex; min-height: 523px; }
.finder__steps {
	flex: 1;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 24px;
	padding: 40px;
	background: #fff;
}
.finder__step { display: flex; flex-direction: column; gap: 10px; }
.finder__step-title { font-size: 26px; line-height: 1.4; color: var(--grey2); }
.finder__step-title span { display: inline-block; min-width: 39px; padding-left: 5px; }
.finder__step.is-active .finder__step-title, .finder__step.is-done .finder__step-title { color: var(--ink); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
	display: inline-flex;
	align-items: center;
	height: 32px;
	padding: 0 18px;
	border-radius: 32px;
	background: var(--grey);
	font-size: 16px;
	line-height: 1.4;
	white-space: nowrap;
	transition: background-color .2s, color .2s;
}
.chip:hover { background: var(--stroke); }
.chip[aria-pressed="true"] { background: var(--ink); color: #fff; }
.chip--skeleton { background: var(--grey-bg); pointer-events: none; }
.finder__submit { align-self: flex-start; padding-inline: 52px; }
.finder__submit.is-disabled { background: var(--stroke); pointer-events: none; }
.finder__grade {
	display: flex;
	flex-direction: column;
	gap: 16px;
	width: 427px;
	padding: 40px;
	background: #fff;
	border-left: 1px solid var(--stroke);
}
.finder__grade-title { font-size: 26px; line-height: 1.4; }
.grade-search { display: flex; position: relative; }
.grade-search input { width: 100%; }
.grade-search .search-icon { position: absolute; right: 20px; top: 16px; }
.finder__calc { font-size: 14px; line-height: 1.4; }
.finder__calc a { color: var(--blue); }
.finder__calc a:hover { text-decoration: underline; }

/* Why */
.why { padding-block: 88px; }
.why .h2 { margin-bottom: 64px; }
.why__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.why__card {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 40px;
	min-height: 367px;
	padding: 24px 40px 24px 24px;
	border: 1px solid var(--stroke);
	border-right: 0;
}
.why__card:last-child { border-right: 1px solid var(--stroke); }
.why__icon { width: 80px; height: 80px; }
.why__title { font-size: 26px; line-height: 1.1; margin-bottom: 12px; }
.why__text { font-size: 14px; line-height: 1.5; opacity: .5; }

/* Services */
.services { display: flex; }
.services__image { position: relative; flex: 1 1 50%; min-height: 804px; }
.services__image { background: var(--ink); }
.services__image canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.services__body {
	flex: 1 1 50%;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 72px;
	padding: 56px 64px 56px;
	background: var(--ink);
	color: #fff;
}
.services__intro { display: flex; flex-direction: column; gap: 16px; max-width: 451px; }
.services__lead { font-size: 14px; line-height: 1.4; opacity: .7; }
.services__list { display: flex; flex-direction: column; gap: 52px; width: 100%; max-width: 592px; }
.services__list li { display: flex; gap: 32px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .2); line-height: 1.4; }
.services__list h3 { flex: none; width: 240px; font-size: 18px; line-height: 1.4; }
.services__list p { flex: 1; font-size: 14px; opacity: .7; }
.services .btn--white { margin-top: -8px; }

/* Offer */
.offer { padding-block: 80px; }
.offer__box { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; background: var(--grey); }
.offer__cta {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 32px;
	min-height: 271px;
	margin: 8px;
	padding: 48px;
}
.offer__text { margin-top: 8px; font-size: 18px; line-height: 1.5; color: var(--muted); }
.offer__actions { display: flex; align-items: center; gap: 8px; }
.offer__link { padding-inline: 24px; }
.offer__person {
	display: grid;
	grid-template-columns: 1fr 110px;
	grid-template-rows: 1fr auto;
	column-gap: 33px;
	margin: 8px;
	padding: 24px;
	background: #fff;
	line-height: 1.4;
}
.offer__role { grid-column: 1; font-size: 14px; opacity: .5; }
.offer__photo { grid-column: 2; grid-row: 1 / 3; align-self: end; width: 110px; height: 110px; border-radius: 50%; object-fit: cover; }
.offer__contact { grid-column: 1; grid-row: 2; display: flex; flex-direction: column; gap: 8px; padding-top: 24px; font-size: 16px; }
.offer__name { margin-bottom: 8px; font-size: 26px; line-height: 1.4; }
.offer__contact a { text-decoration: underline; text-underline-position: from-font; white-space: nowrap; }

/* News */
.news { padding: 80px 0 140px; }
.news__row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; }
.news-card { display: flex; flex-direction: column; gap: 16px; }
.news-card__img { display: block; height: 180px; overflow: hidden; background: var(--grey); }
.news-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.news-card:hover .news-card__img img { transform: scale(1.04); }
.news-card__meta { display: flex; align-items: center; gap: 16px; }
.news-card__meta time { font-size: 12px; line-height: 1.4; opacity: .5; white-space: nowrap; }
.news-card__title { max-width: 282px; font-size: 18px; line-height: 1.4; }

/* Footer */
.site-footer { background: var(--grey); }
.site-footer__inner {
	display: flex;
	justify-content: space-between;
	min-height: 467px;
	padding-right: 0;
}
.site-footer__left { display: flex; flex-direction: column; justify-content: space-between; padding: 40px 0 25px; }
.site-footer__logo { order: 2; }
.site-footer__logo img { width: 170px; height: 48px; }
.site-footer__contacts { display: flex; flex-direction: column; gap: 8px; width: 296px; font-size: 14px; line-height: 1.4; }
.site-footer__contacts .site-footer__heading { margin-bottom: 13px; }
.site-footer__company { font-size: 16px; }
.site-footer__contacts .muted { white-space: nowrap; }
.site-footer__contacts a:hover { opacity: .8; }
.site-footer__iso { display: flex; gap: 2px; margin-top: 13px; }
.site-footer__iso img { width: 44px; height: 44px; border-radius: 50%; }
.site-footer__heading { font-size: 18px; line-height: 1.5; opacity: .5; }
.site-footer__right {
	display: grid;
	grid-template-columns: 221px 210px;
	grid-template-rows: 1fr auto;
	column-gap: 0;
	width: 547px;
	padding: 40px 68px 16px 48px;
	border-left: 1px solid var(--stroke);
	font-size: 14px;
	line-height: 1.5;
}
.site-footer__col { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.site-footer__col a:hover, .site-footer__privacy:hover { opacity: .6; }
.site-footer__col:first-child a { max-width: 113px; }
.site-footer__col--catalogue a { white-space: nowrap; }
.site-footer__copy, .site-footer__privacy { align-self: end; margin-top: 40px; }

.page-fallback { padding-block: 80px; }
.page-fallback .h2 { margin-bottom: 32px; }

/* Header and layout below desktop width */
@media (max-width: 1279px) {
	:root { --header-h: 72px; }
	.topbar, .nav, .mainbar__right, .mega, .mega-overlay { display: none !important; }
	.mainbar { padding-block: 16px; }
	.mainbar__mobile { display: flex; }
	.hero__top { flex-wrap: wrap; align-items: flex-start; padding-top: 64px; }
	.hero__side { width: 100%; max-width: 759px; }
}

@media (max-width: 1100px) {
	.cat-grid { grid-template-columns: repeat(2, 1fr); }
	.why__grid { grid-template-columns: repeat(2, 1fr); }
	.why__card:nth-child(2n) { border-right: 1px solid var(--stroke); }
	.why__card:nth-child(n+3) { border-top: 0; }
	.services { flex-direction: column; }
	.services__image { min-height: 0; height: 436px; flex: none; }
	.offer__box { grid-template-columns: 1fr; }
	.finder__box { flex-direction: column; }
	.finder__grade { width: 100%; border-left: 0; border-top: 1px solid var(--stroke); }
	.news__row { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
	.news__row::-webkit-scrollbar { display: none; }
	.news-card { flex: 0 0 310px; scroll-snap-align: start; }
	.news .section-head__link { display: none; }
	.news .section-foot-link { display: inline-flex; margin-top: 40px; }
	.site-footer__inner { flex-direction: column; padding-right: var(--gutter); }
	.site-footer__right { width: auto; padding-left: 0; border-left: 0; }
}

@media (max-width: 767px) {
	:root { --gutter: 16px; }
	.h2 { font-size: 36px; }
	.section-head { margin-bottom: 40px; }
	.section-head__link { display: none; }
	.section-foot-link { display: inline-flex; margin-top: 40px; font-size: 16px; letter-spacing: .01em; }

	.hero__top { flex-direction: column; gap: 40px; padding-top: 28px; padding-bottom: 40px; }
	.hero__main { gap: 24px; }
	.hero__title { font-size: 42px; }
	.hero-search { flex-direction: column; gap: 12px; }
	.hero-search input { width: 100%; }
	.hero-search .btn { width: 100%; }
	.hero__side { gap: 24px; }
	.hero__links { gap: 8px; }
	.link-row { height: 48px; font-size: 16px; }

	.partner .wrap { gap: 64px; }
	.partner__title { font-size: 36px; }
	.stats { grid-template-columns: 1fr; gap: 32px; border-left: 1px solid var(--stroke); }
	.stat { border-left: 0; }
	.stat dt { font-size: 42px; }

	.home-catalogue { padding-block: 80px; }
	.cat-card { height: auto; min-height: 264px; display: flex; flex-direction: column; }
	.cat-card__img { position: relative; top: auto; left: auto; transform: none; width: 154px; margin: 0 auto; flex: none; }
	.cat-card__body { position: static; padding: 16px; }

	.finder { padding: 0 0 80px; }
	.finder__heading { margin-bottom: 40px; }
	.finder__steps { padding: 24px; gap: 32px; }
	.finder__step-title { font-size: 24px; }
	.finder__step-title span { min-width: 0; padding-left: 0; }
	.finder__step:not(.is-active):not(.is-done) .chips { display: none; }
	.chip { height: 40px; padding: 0 32px; }
	.finder__grade { padding: 49px 24px 48px; }
	.finder__grade-title { font-size: 24px; }

	.why { padding-block: 80px; }
	.why .h2 { margin-bottom: 40px; }
	.why__grid { grid-template-columns: 1fr; }
	.why__card { min-height: 251px; padding: 25px; border: 1px solid var(--stroke); border-bottom: 0; }
	.why__card:nth-child(n) { border-top: 1px solid var(--stroke); border-right: 1px solid var(--stroke); }
	.why__card:last-child { border-bottom: 1px solid var(--stroke); }
	.why__icon { width: 64px; height: 64px; }
	.why__title { font-size: 24px; }

	.services__body { gap: 40px; padding: 56px 16px; }
	.services__intro { gap: 16px; }
	.services__list { gap: 40px; }
	.services__list li { flex-direction: column; gap: 16px; }
	.services__list h3 { width: auto; }
	.services .btn--white { width: 100%; height: 48px; margin-top: 0; }

	.offer__cta { margin: 8px; padding: 48px 24px; gap: 40px; }
	.offer__text { font-size: 16px; }
	.offer__actions { flex-direction: column; align-items: stretch; }
	.offer__actions .btn { height: 48px; }
	.offer__link { justify-content: center; font-size: 16px; }
	.offer__person { display: flex; flex-direction: column; gap: 24px; }
	.offer__photo { align-self: flex-start; width: 80px; height: 80px; }
	.offer__contact { padding-top: 0; }
	.offer__name { font-size: 24px; }

	.news { padding-bottom: 80px; }
	.news .section-head { margin-bottom: 40px; }

	.site-footer__inner { min-height: 0; padding-block: 24px; }
	.site-footer__left { padding: 0; gap: 33px; }
	.site-footer__logo { order: 0; }
	.site-footer__contacts { width: auto; }
	.site-footer__contacts .site-footer__heading { margin-bottom: 0; }
	.site-footer__iso { margin-top: 0; }
	.site-footer__right { display: flex; flex-direction: column; gap: 32px; padding: 32px 0 0; }
	.site-footer__col { gap: 8px; }
	.site-footer__col a { margin-top: 4px; }
	.site-footer__copy, .site-footer__privacy { margin-top: 0; }
	.site-footer__privacy { order: 3; margin-top: 8px; }
	.site-footer__copy { order: 4; margin-top: -8px; }
}
