/* Vargo Company — header + nav, built from provided Figma screenshots.
   Colors/fonts are best-effort approximations from the screenshots until
   we get exact tokens from the real Figma file. */

:root {
	--navy: #172532;
	--navy-2: #1d2f3f;
	--mint-bg: #eaf6f3;
	--mint: #57c7b6;
	--mint-dark: #3fae9c;
	--text-dark: #1b2b38;
	--text-muted: #6b7a86;
	--white: #ffffff;
	--border: #dcece8;
	--header-height: 80px;
	--nav-height: 48px;
}

* {
	box-sizing: border-box;
}

html {
	height: 100%;
}

body {
	margin: 0;
	min-height: 100%;
	display: flex;
	flex-direction: column;
	font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	color: var(--text-dark);
	background: var(--white);
}

/* Sticky footer: header/content stack normally, footer gets pushed to
   the bottom of the viewport on short pages instead of riding up under
   the content. .modal-overlay is position:fixed so it's out of flow and
   unaffected by this. */
.footer {
	margin-top: auto;
}

a {
	color: inherit;
	text-decoration: none;
}

ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

/* ---------- Header — plain, in normal document flow. Scrolls away
   with the page like ordinary content, not sticky/fixed. ---------- */

header {
	position: relative;
	z-index: 90;
}

/* ---------- Top bar ---------- */

.topbar {
	background: var(--navy);
	color: #cfd8de;
	font-size: 13px;
}

.topbar__inner {
	max-width: 1400px;
	margin: 0 auto;
	padding: 0 40px;
	height: var(--header-height);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 32px;
}

.logo {
	display: flex;
	align-items: center;
}

.logo__img {
	height: 28px;
	width: auto;
	display: block;
}

.topbar__contacts {
	display: flex;
	align-items: center;
	gap: 28px;
	flex-wrap: wrap;
}

.topbar__item {
	display: flex;
	align-items: center;
	gap: 8px;
	white-space: nowrap;
	font-size: 14px;
}

.topbar__item svg {
	flex: none;
	opacity: 0.85;
	width: 16px;
	height: 16px;
}

a.topbar__item:hover {
	color: var(--mint);
}

[data-copy-email].is-copied {
	color: var(--mint) !important;
}

.topbar__cta {
	background: var(--mint);
	color: var(--white);
	font-weight: 400;
	font-size: 13px;
	letter-spacing: 0.3px;
	padding: 12px 26px;
	border-radius: 22px;
	white-space: nowrap;
	transition: background 0.15s ease;
	border: none;
	cursor: pointer;
	font-family: inherit;
}

.topbar__cta:hover {
	background: var(--mint-dark);
	color: var(--white);
}

/* ---------- Main nav ---------- */

.nav {
	background: #d9edec;
	border-bottom: 1px solid var(--border);
	position: relative;
	z-index: 40;
}

.nav__inner {
	max-width: 1400px;
	margin: 0 auto;
	padding: 0 40px;
	height: var(--nav-height);
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.nav__list {
	display: flex;
	align-items: center;
	height: 100%;
	gap: 6px;
}

.nav__item {
	position: relative;
	height: 100%;
}

.nav__link {
	display: flex;
	align-items: center;
	gap: 7px;
	height: 100%;
	padding: 0 18px;
	font-size: 15px;
	font-weight: 400;
	color: var(--text-dark);
	transition: color 0.15s ease;
}

.nav__link .chev {
	transition: transform 0.15s ease;
	opacity: 0.6;
}

.nav__item:hover .nav__link,
.nav__item.is-open .nav__link,
.nav__link.is-active {
	color: var(--mint-dark);
}

.nav__item:hover .nav__link .chev,
.nav__item.is-open .nav__link .chev {
	transform: rotate(180deg);
}

.nav__item--has-mega:hover .mega,
.nav__item--has-mega.is-open .mega {
	display: flex;
}

/* Mega menu */

.mega {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	background: var(--white);
	box-shadow: 0 24px 48px rgba(23, 37, 50, 0.16);
	border-radius: 0 0 12px 12px;
	overflow: hidden;
	min-width: 720px;
}

.mega__col {
	padding: 14px 0;
	min-width: 360px;
}

.mega__col + .mega__col {
	border-left: 1px solid var(--border);
}

.mega__row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 14px 28px;
	font-size: 15px;
	color: var(--text-dark);
	cursor: pointer;
}

.mega__row .arrow {
	opacity: 0.45;
}

.mega__row:hover,
.mega__row.is-active {
	background: var(--mint-bg);
	color: var(--mint-dark);
}

.mega__sub {
	padding: 11px 28px;
	font-size: 15px;
	color: var(--text-dark);
	display: block;
}

.mega__sub:hover,
.mega__sub.is-active {
	background: var(--mint-bg);
	color: var(--mint-dark);
}

.mega--simple {
	min-width: 280px;
}

.mega--simple .mega__col {
	min-width: 0;
	padding: 10px 0;
}

/* Language switcher */

.lang {
	position: relative;
}

.lang__current {
	display: flex;
	align-items: center;
	gap: 6px;
	height: 100%;
	padding: 0 18px;
	font-size: 15px;
	font-weight: 400;
	cursor: pointer;
}

.lang__list {
	display: none;
	position: absolute;
	top: 100%;
	left: 18px;
	right: 18px;
	background: var(--white);
	box-shadow: 0 24px 48px rgba(23, 37, 50, 0.16);
	border-radius: 0 0 6px 6px;
	overflow: hidden;
}

.lang.is-open .lang__list,
.lang:hover .lang__list {
	display: block;
}

.lang__list a {
	display: block;
	padding: 6px 11px;
	font-size: 12px;
	font-weight: 400;
}

.lang__list a:hover,
.lang__list a.is-active {
	background: var(--mint-bg);
	color: var(--mint-dark);
}

/* ---------- Mobile nav (off-canvas drawer) ---------- */

.nav__burger {
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 44px;
	height: 44px;
	background: none;
	border: none;
	cursor: pointer;
	padding: 8px;
	margin-left: -8px;
}

.nav__burger span {
	width: 22px;
	height: 2px;
	background: var(--text-dark);
	transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav__burger[aria-expanded="true"] span:nth-child(1) {
	transform: translateY(7px) rotate(45deg);
}

.nav__burger[aria-expanded="true"] span:nth-child(2) {
	opacity: 0;
}

.nav__burger[aria-expanded="true"] span:nth-child(3) {
	transform: translateY(-7px) rotate(-45deg);
}

.nav__scrim {
	display: none;
}

.nav__logo {
	display: none;
	align-items: center;
}

.nav__drawer-head,
.nav__close,
.nav__drawer-contact,
.nav__drawer-lang {
	display: none;
}

@media (max-width: 900px) {
	/* Mobile keeps the header pinned (sticky) while scrolling - only
	   desktop scrolls it away with the page. */
	header {
		position: sticky;
		top: 0;
	}

	/* Top strip (contacts/CTA) folds into the drawer - the mobile header
	   is a single row: logo left, burger right. */
	.topbar {
		display: none;
	}

	/* Mobile bar takes the dark topbar color (logo is a light/white mark
	   and reads poorly on the mint nav background). */
	.nav {
		background: var(--navy);
		border-bottom-color: rgba(255, 255, 255, 0.1);
	}

	.nav__logo {
		display: flex;
	}

	.nav__burger {
		display: flex;
	}

	.nav__burger span {
		background: var(--white);
	}

	/* Drawer scrim (tap outside to close) */
	.nav__scrim {
		display: block;
		position: fixed;
		inset: 0;
		background: rgba(15, 23, 31, 0.5);
		z-index: 55;
		opacity: 0;
		pointer-events: none;
		transition: opacity 0.2s ease;
	}

	.nav__scrim.is-open {
		opacity: 1;
		pointer-events: auto;
	}

	/* Drawer panel */
	.nav__list {
		position: fixed;
		top: 0;
		right: 0;
		bottom: 0;
		width: min(340px, 86vw);
		background: var(--white);
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		height: 100%;
		overflow-y: auto;
		-webkit-overflow-scrolling: touch;
		transform: translateX(100%);
		transition: transform 0.25s ease;
		box-shadow: -16px 0 48px rgba(15, 23, 31, 0.22);
		z-index: 56;
		padding-bottom: 24px;
	}

	.nav__list.is-open {
		transform: translateX(0);
	}

	.nav__drawer-head {
		display: flex;
		align-items: center;
		justify-content: space-between;
		padding: 18px 20px;
		border-bottom: 1px solid var(--border);
		position: sticky;
		top: 0;
		background: var(--white);
	}

	.nav__drawer-title {
		font-weight: 700;
		font-size: 15px;
		color: var(--text-dark);
	}

	.nav__close {
		display: flex;
		align-items: center;
		justify-content: center;
		width: 40px;
		height: 40px;
		background: none;
		border: none;
		color: var(--text-dark);
		cursor: pointer;
	}

	.nav__item {
		height: auto;
		width: 100%;
	}

	.nav__link {
		height: auto;
		min-height: 52px;
		padding: 0 20px;
		font-size: 16px;
		justify-content: space-between;
		border-bottom: 1px solid var(--border);
	}

	.nav__item--has-mega:hover .mega {
		display: none;
	}

	.nav__item--has-mega.is-open .mega {
		display: block;
	}

	/* Mega menu becomes an inline accordion under its parent link */
	.mega {
		position: static;
		box-shadow: none;
		border-radius: 0;
		min-width: 0;
		width: 100%;
		background: #f6faf9;
		display: none;
		flex-direction: column;
	}

	.mega__col {
		min-width: 0;
		padding: 0;
	}

	.mega__col + .mega__col {
		border-left: none;
		border-top: 1px solid var(--border);
	}

	.mega__row {
		padding: 14px 20px 14px 32px;
		font-size: 15px;
		min-height: 48px;
	}

	.mega__sub {
		padding: 12px 20px 12px 44px;
		font-size: 14px;
	}

	/* Column 2 is unused on mobile - each row expands its own nested
	   list inline (see .mega__nested) instead of a shared side column. */
	#mega-col-2 {
		display: none;
	}

	.mega__row .arrow {
		transition: transform 0.15s ease;
	}

	.mega__row.is-row-open {
		background: var(--mint-bg);
		color: var(--mint-dark);
	}

	.mega__row.is-row-open .arrow {
		transform: rotate(90deg);
	}

	.mega__nested {
		display: flex;
		flex-direction: column;
		background: var(--white);
	}

	.mega__nested .mega__sub {
		padding-left: 56px;
	}

	.nav__drawer-contact {
		display: flex;
		flex-direction: column;
		gap: 14px;
		padding: 20px;
		margin-top: 8px;
	}

	.nav__drawer-contact a {
		display: flex;
		align-items: center;
		gap: 8px;
		font-size: 14px;
		font-weight: 600;
		color: var(--text-dark);
	}

	.nav__drawer-contact .topbar__cta {
		width: 100%;
		text-align: center;
		padding: 14px 20px;
	}

	/* Language switcher: hidden from the top row, moved into the drawer. */
	.nav__inner {
		height: 64px;
		gap: 12px;
		justify-content: space-between;
	}

	.lang {
		display: none;
	}

	.nav__drawer-lang {
		display: flex;
		align-items: center;
		justify-content: space-between;
		padding: 16px 20px;
		border-top: 1px solid var(--border);
	}

	/* The [hidden] attribute alone loses to the unconditional display:flex
	   above (equal specificity, this rule just happens to come first in
	   source order) -- this override is what actually hides it. */
	.nav__drawer-lang[hidden] {
		display: none;
	}

	.nav__drawer-lang-label {
		font-size: 13px;
		color: var(--text-muted);
		font-weight: 600;
	}

	.nav__drawer-lang-list {
		display: flex;
		gap: 4px;
	}

	.nav__drawer-lang-list a {
		padding: 8px 12px;
		min-height: 32px;
		display: flex;
		align-items: center;
		border-radius: 8px;
		font-size: 13px;
		font-weight: 700;
		color: var(--text-dark);
	}

	.nav__drawer-lang-list a.is-active,
	.nav__drawer-lang-list a:hover {
		background: var(--mint-bg);
		color: var(--mint-dark);
	}
}

/* ---------- Hero (context preview only) ---------- */

.hero {
	background: linear-gradient(180deg, rgba(15, 23, 31, 0.28), rgba(15, 23, 31, 0.36)),
		url('img/hero-banner.webp');
	background-size: cover;
	background-position: center;
	color: var(--white);
	padding: 72px 40px 96px;
}

.hero__inner {
	max-width: 1360px;
	margin: 0 auto;
}

.hero h1 {
	font-size: 34px;
	font-weight: 600;
	letter-spacing: 0.5px;
	max-width: 620px;
	margin: 0 0 20px;
}

@media (max-width: 640px) {
	.hero {
		padding: 44px 20px 56px;
	}

	.hero h1 {
		font-size: 24px;
	}

	.hero p {
		font-size: 14px;
	}

	.hero__cta {
		display: block;
		text-align: center;
	}
}

.hero p {
	max-width: 560px;
	color: #cdd6dc;
	line-height: 1.6;
	margin: 0 0 28px;
}

.hero__facts {
	display: flex;
	flex-direction: column;
	gap: 14px;
	margin-bottom: 32px;
}

.hero__fact {
	display: flex;
	align-items: center;
	gap: 14px;
	font-weight: 400;
}

.hero__fact-icon {
	flex: none;
	color: var(--mint);
}

.hero__cta {
	display: inline-block;
	background: var(--mint);
	color: var(--white);
	font-weight: 400;
	padding: 14px 28px;
	border-radius: 24px;
}

.hero__cta:hover {
	background: var(--mint-dark);
	color: var(--white);
}

/* ---------- Shared section layout ---------- */

.section {
	padding: 72px 0;
}

.section--muted {
	background: #f6faf9;
}

.section__inner {
	max-width: 1400px;
	margin: 0 auto;
	padding: 0 40px;
}

.section__title {
	font-family: 'Chakra Petch', 'Montserrat', sans-serif;
	font-size: 30px;
	font-weight: 700;
	letter-spacing: 0.5px;
	text-transform: uppercase;
	color: var(--text-dark);
	margin: 0 0 10px;
}

.section__subtitle {
	color: var(--text-muted);
	font-size: 15px;
	margin: 0 0 36px;
}

@media (max-width: 640px) {
	.section {
		padding: 48px 0;
	}

	.section__inner {
		padding: 0 20px;
	}

	.section__title {
		font-size: 22px;
	}

	.section__subtitle {
		margin-bottom: 24px;
	}
}

.btn-outline {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	border: 1.5px solid var(--navy);
	color: var(--navy);
	font-weight: 700;
	font-size: 13px;
	letter-spacing: 0.3px;
	padding: 13px 28px;
	border-radius: 24px;
	transition: background 0.15s ease, color 0.15s ease;
}

.btn-outline:hover {
	background: var(--navy);
	color: var(--white);
}

/* ---------- Catalog card grid (shared with "Торгове обладнання") ---------- */

.card-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}

/* ---------- Services cards (photo + solid-color panel, stacked) ---------- */

.services-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}

.service-card {
	display: flex;
	flex-direction: column;
	border-radius: 14px;
	overflow: hidden;
	box-shadow: 0 10px 30px rgba(23, 37, 50, 0.08);
	transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.service-card:hover {
	box-shadow: 0 20px 44px rgba(23, 37, 50, 0.22);
	transform: translateY(-4px);
}

.service-card--img-bottom {
	flex-direction: column-reverse;
}

.service-card__media {
	flex: none;
	aspect-ratio: 3 / 2;
}

.service-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.service-card__body {
	flex: 1 1 auto;
	padding: 26px 26px 28px;
}

.service-card__body--navy {
	background: #465b6a;
	color: var(--white);
}

.service-card__body--mint {
	background: var(--mint-bg);
	color: var(--text-dark);
}

.service-card__body h3 {
	font-size: 20px;
	font-weight: 700;
	margin: 0 0 12px;
}

.service-card__body p {
	font-size: 14px;
	line-height: 1.6;
	margin: 0 0 18px;
}

.service-card__body--navy p {
	color: #cdd6dc;
}

.service-card__body--mint p {
	color: var(--text-muted);
}

.service-card__link {
	font-size: 13px;
	font-weight: 600;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--mint);
}

.service-card__body--mint .service-card__link {
	color: var(--mint-dark);
}

.service-card__link svg {
	flex: none;
}

/* ---------- About ---------- */

.about__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 56px;
	align-items: center;
}

.about__text h2 {
	font-family: 'Chakra Petch', 'Montserrat', sans-serif;
	font-size: 28px;
	font-weight: 700;
	text-transform: uppercase;
	margin: 0 0 20px;
	color: var(--text-dark);
}

.about__text > p {
	color: var(--text-muted);
	line-height: 1.65;
	margin: 0 0 20px;
}

.about__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.about__list li {
	position: relative;
	padding-left: 22px;
	line-height: 1.55;
	color: var(--text-dark);
	font-size: 14px;
}

.about__list li::before {
	content: '';
	position: absolute;
	left: 0;
	top: 7px;
	width: 8px;
	height: 8px;
	border-radius: 2px;
	background: var(--mint);
}

.video-thumb {
	position: relative;
	border-radius: 14px;
	overflow: hidden;
	aspect-ratio: 16 / 9;
	background: linear-gradient(135deg, #1c2b36, #0f1922);
	background-size: cover;
	background-position: center;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
}

.video-thumb::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(15, 23, 31, 0.15) 40%, rgba(15, 23, 31, 0.6));
	pointer-events: none;
}

.video-thumb__play {
	position: absolute;
	z-index: 1;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 66px;
	height: 66px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.14);
	border: 1.5px solid rgba(255, 255, 255, 0.5);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--white);
	font-size: 22px;
	backdrop-filter: blur(2px);
	transition: background 0.15s ease, transform 0.15s ease;
}

.video-thumb:hover .video-thumb__play {
	background: var(--mint);
	transform: translate(-50%, -50%) scale(1.06);
}

.video-thumb__label {
	position: absolute;
	z-index: 1;
	left: 20px;
	bottom: 16px;
	color: var(--white);
	font-size: 13px;
	font-weight: 600;
	opacity: 0.85;
}

.video-thumb__iframe {
	width: 100%;
	aspect-ratio: 16 / 9;
	border-radius: 14px;
	border: none;
	display: block;
}

/* ---------- Catalog (light cards) ---------- */

.catalog__intro {
	max-width: 820px;
	color: var(--text-muted);
	line-height: 1.65;
	margin: 0 0 36px;
}

.catalog-card {
	display: flex;
	flex-direction: column;
	background: var(--white);
	border: 1.5px solid #cfe9e2;
	border-radius: 16px;
	padding: 16px 16px 24px;
	transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.catalog-card:hover {
	border-color: var(--mint);
	box-shadow: 0 16px 36px rgba(23, 37, 50, 0.12);
	transform: translateY(-4px);
}

.catalog-card__media {
	aspect-ratio: 1 / 1;
	border-radius: 10px;
	overflow: hidden;
	margin-bottom: 22px;
}

.catalog-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.catalog-card__body {
	flex: 1 1 auto;
	padding: 0 4px;
}

.catalog-card__body h3 {
	font-size: 18px;
	font-weight: 700;
	line-height: 1.35;
	margin: 0 0 16px;
	color: var(--text-dark);
}

.catalog-card__link {
	font-size: 13px;
	font-weight: 400;
	letter-spacing: 0.3px;
	text-transform: uppercase;
	color: var(--text-dark);
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	gap: 8px;
}

.catalog-card__link svg {
	flex: none;
	color: var(--mint-dark);
}

.catalog__more {
	text-align: right;
	margin-top: 40px;
}

.btn-pill {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: var(--mint-bg);
	color: var(--text-dark);
	font-weight: 700;
	font-size: 14px;
	font-family: inherit;
	padding: 14px 26px;
	border: none;
	border-radius: 24px;
	box-shadow: none;
	cursor: pointer;
	transition: background 0.15s ease, color 0.15s ease;
}

.btn-pill:hover {
	background: var(--mint);
	color: var(--navy);
}

.btn-pill--solid {
	background: var(--mint);
	color: var(--white);
	padding: 17px 32px;
	font-size: 15px;
}

.btn-pill--solid:hover {
	background: var(--mint-dark);
	color: var(--white);
}

/* ---------- Production ---------- */

.production {
	background: #eef1f1;
	color: var(--text-dark);
}

.production__grid {
	display: grid;
	grid-template-columns: 1.1fr 0.9fr;
	gap: 56px;
	align-items: center;
}

.production__text h2 {
	font-family: 'Chakra Petch', 'Montserrat', sans-serif;
	font-size: 26px;
	font-weight: 700;
	text-transform: uppercase;
	color: var(--text-dark);
	margin: 0 0 28px;
}

.production__item {
	margin-bottom: 24px;
}

.production__item h3 {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 17px;
	font-weight: 700;
	color: var(--text-dark);
	margin: 0 0 10px;
}

.production__item h3::before {
	content: '';
	flex: none;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--mint-dark);
}

.production__item p {
	color: var(--text-muted);
	font-size: 15px;
	line-height: 1.65;
	margin: 0;
}

.production__media {
	border-radius: 14px;
	overflow: hidden;
	aspect-ratio: 4 / 3;
	box-shadow: 0 20px 44px rgba(23, 37, 50, 0.14);
}

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

/* ---------- Subpage header (breadcrumbs + title) ---------- */

.page-head {
	background: var(--white);
	padding: 28px 0 26px;
	border-bottom: 1px solid var(--border);
}

.breadcrumbs {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	row-gap: 6px;
	column-gap: 10px;
	color: var(--text-muted);
	font-size: 14px;
	margin-bottom: 18px;
}

.breadcrumbs a {
	display: flex;
	color: var(--text-dark);
	opacity: 0.75;
}

.breadcrumbs a:hover {
	color: var(--mint-dark);
	opacity: 1;
}

.breadcrumbs__sep {
	opacity: 0.5;
}

.breadcrumbs > span:last-child {
	color: var(--text-dark);
	font-weight: 600;
}

@media (max-width: 640px) {
	.breadcrumbs {
		font-size: 12.5px;
		column-gap: 7px;
	}
}

.page-head__title {
	font-family: 'Chakra Petch', 'Montserrat', sans-serif;
	font-size: 34px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	color: var(--text-dark);
	margin: 0;
}

/* ---------- "Про компанію" subpage ---------- */

.about-page {
	padding-top: 32px;
}

.about-page__inner {
	display: flex;
	flex-direction: column;
	gap: 36px;
}

.about-page__banner {
	width: 100%;
	height: auto;
	display: block;
	border-radius: 6px;
}

.about-page__text {
	display: flex;
	flex-direction: column;
	gap: 16px;
	width: 100%;
}

.about-page__text p {
	margin: 0;
	font-size: 16px;
	line-height: 1.7;
	color: var(--text-dark);
}

/* ---------- Blog (listing + article) ---------- */

.blog-page,
.blog-article {
	padding-top: 40px;
}

.blog-layout {
	display: grid;
	grid-template-columns: 250px 1fr;
	gap: 40px;
	align-items: start;
}

.blog-sidebar {
	display: flex;
	flex-direction: column;
	gap: 2px;
	border: 1px solid var(--border);
	border-radius: 12px;
	padding: 8px 20px;
}

.blog-sidebar__link {
	display: flex;
	justify-content: space-between;
	gap: 10px;
	padding: 14px 0;
	font-size: 15px;
	color: var(--text-dark);
	border-bottom: 1px solid var(--border);
}

.blog-sidebar__link:last-child {
	border-bottom: none;
}

.blog-sidebar__link:hover {
	color: var(--mint-dark);
}

.blog-sidebar__link.is-active {
	font-weight: 700;
}

.blog-list {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.blog-card {
	display: flex;
	gap: 26px;
	border: 1px solid var(--border);
	border-radius: 14px;
	padding: 20px;
	background: var(--white);
	transition: box-shadow 0.2s ease;
}

.blog-card:hover {
	box-shadow: 0 14px 32px rgba(23, 37, 50, 0.1);
}

.blog-card__media {
	flex: none;
	width: 300px;
	aspect-ratio: 3 / 2;
	border-radius: 10px;
	overflow: hidden;
}

.blog-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.blog-card__body {
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
	gap: 10px;
	min-width: 0;
}

.blog-card__date {
	color: var(--mint-dark);
	font-size: 13px;
	font-weight: 700;
}

.blog-card__title {
	font-family: 'Chakra Petch', 'Montserrat', sans-serif;
	font-size: 20px;
	font-weight: 700;
	margin: 0;
	line-height: 1.3;
}

.blog-card__title a {
	color: var(--text-dark);
}

.blog-card__title a:hover {
	color: var(--mint-dark);
}

.blog-card__excerpt {
	color: var(--text-muted);
	font-size: 14px;
	line-height: 1.6;
	margin: 0;
}

.blog-card__more {
	align-self: flex-start;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 13px;
	font-weight: 700;
	color: var(--mint-dark);
	margin-top: auto;
}

.pagination {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin-top: 8px;
}

.pagination a,
.pagination span {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 14px;
	color: var(--text-dark);
}

.pagination a:hover {
	color: var(--mint-dark);
}

.pagination .is-current {
	background: var(--mint-bg);
	color: var(--mint-dark);
	font-weight: 700;
}

.pagination .arrow {
	color: var(--text-muted);
}

/* Article page */

.blog-article__meta {
	color: var(--text-muted);
	font-size: 14px;
	margin: 0 0 20px;
}

.blog-article__meta strong {
	color: var(--text-dark);
	font-weight: 700;
}

.blog-article__body {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.blog-article__body img {
	width: 100%;
	height: auto;
	border-radius: 10px;
	display: block;
}

.blog-article__body p {
	margin: 0;
	font-size: 16px;
	line-height: 1.7;
	color: var(--text-dark);
}

.blog-article__quote {
	font-style: italic;
	font-weight: 700;
}

.blog-article__body h2 {
	font-family: 'Chakra Petch', 'Montserrat', sans-serif;
	font-size: 22px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.3px;
	color: var(--text-dark);
	margin: 12px 0 0;
}

@media (max-width: 960px) {
	.blog-layout {
		grid-template-columns: 1fr;
		gap: 20px;
	}

	/* Categories collapse from a tall bordered list into a row of
	   horizontally scrollable pills, so they don't push the actual
	   posts below the fold on mobile. */
	.blog-sidebar {
		flex-direction: row;
		gap: 8px;
		border: none;
		padding: 2px;
		margin: -2px;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
	}

	.blog-sidebar::-webkit-scrollbar {
		display: none;
	}

	.blog-sidebar__link {
		flex: none;
		justify-content: flex-start;
		gap: 6px;
		padding: 9px 16px;
		border: 1.5px solid #c7dbd6;
		border-radius: 20px;
		font-size: 13px;
		white-space: nowrap;
		background: var(--white);
	}

	.blog-sidebar__link span:last-child {
		color: var(--text-muted);
		font-size: 12px;
	}

	.blog-sidebar__link.is-active {
		border-color: var(--mint);
		background: var(--mint-bg);
		color: var(--mint-dark);
	}

	.blog-sidebar__link.is-active span:last-child {
		color: var(--mint-dark);
	}

	.blog-card {
		flex-direction: column;
	}

	.blog-card__media {
		width: 100%;
	}
}

@media (max-width: 640px) {
	.blog-card {
		padding: 14px;
		gap: 16px;
	}

	.blog-article__body h2 {
		font-size: 19px;
	}
}

/* ---------- "Каталог робіт" (portfolio) ---------- */

.portfolio-page {
	padding-top: 40px;
}

.portfolio-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
	margin-bottom: 40px;
}

.portfolio-card {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	aspect-ratio: 1 / 1;
	border-radius: 14px;
	overflow: hidden;
	background: var(--mint-bg);
	color: var(--mint-dark);
	border: none;
	padding: 0;
	cursor: pointer;
	transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.portfolio-card:hover,
.portfolio-card:focus-visible {
	box-shadow: 0 16px 34px rgba(23, 37, 50, 0.14);
	transform: translateY(-3px);
	outline: none;
}

.portfolio-card img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.portfolio-card__placeholder {
	width: 34%;
	height: 34%;
	opacity: 0.6;
}

/* Lightbox: click a card to browse the full set full-size, with a
   title/description caption and prev/next navigation. */

.lightbox-overlay {
	position: fixed;
	inset: 0;
	background: rgba(15, 23, 31, 0.74);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
	z-index: 300;
}

.lightbox-overlay[hidden] {
	display: none;
}

.lightbox {
	position: relative;
	width: min(760px, 100%);
	background: var(--white);
	border-radius: 16px;
	overflow: hidden;
}

.lightbox__media {
	aspect-ratio: 16 / 10;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--mint-bg);
	color: var(--mint-dark);
}

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

.lightbox__media .portfolio-card__placeholder {
	width: 22%;
	height: 22%;
}

.lightbox__info {
	padding: 22px 28px 26px;
}

.lightbox__title {
	margin: 0 0 6px;
	font-size: 18px;
	font-weight: 700;
	color: var(--text-dark);
}

.lightbox__desc {
	margin: 0;
	font-size: 14px;
	line-height: 1.55;
	color: var(--text-muted);
}

.lightbox__close {
	position: absolute;
	top: 14px;
	right: 14px;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: rgba(15, 23, 31, 0.5);
	color: var(--white);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 1;
}

.lightbox__close:hover {
	background: rgba(15, 23, 31, 0.7);
}

.lightbox__arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 46px;
	height: 46px;
	border-radius: 50%;
	border: 1px solid rgba(255, 255, 255, 0.5);
	color: var(--white);
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.15s ease;
}

.lightbox__arrow:hover {
	background: rgba(255, 255, 255, 0.15);
}

.lightbox__arrow--prev {
	left: 8px;
}

.lightbox__arrow--next {
	right: 8px;
}

@media (max-width: 960px) {
	.portfolio-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media (max-width: 640px) {
	.portfolio-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 14px;
	}

	.lightbox__arrow {
		width: 38px;
		height: 38px;
	}

	.lightbox__arrow--prev {
		left: 2px;
	}

	.lightbox__arrow--next {
		right: 2px;
	}

	.lightbox__info {
		padding: 18px 20px 22px;
	}
}

/* ---------- "Наші послуги" listing + service detail pages ---------- */

.services-page {
	padding-top: 40px;
}

.service-detail {
	padding-top: 40px;
}

.service-detail__gallery {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
	margin-bottom: 36px;
}

.service-detail__gallery img {
	width: 100%;
	height: 100%;
	aspect-ratio: 3 / 2;
	object-fit: cover;
	border-radius: 10px;
	display: block;
}

.service-detail__body {
	display: flex;
	flex-direction: column;
	gap: 18px;
	margin-bottom: 32px;
}

.service-detail__body p {
	margin: 0;
	font-size: 16px;
	line-height: 1.7;
	color: var(--text-dark);
}

.service-detail__subtitle {
	font-size: 24px;
	font-weight: 700;
	color: var(--text-dark);
	margin: 6px 0 -4px;
}

.service-detail__body .about__list {
	gap: 10px;
}

.service-detail__body .about__list li {
	font-size: 16px;
	line-height: 1.6;
}

@media (max-width: 960px) {
	.service-detail__gallery {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media (max-width: 520px) {
	.service-detail__gallery {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 640px) {
	.service-detail__gallery {
		gap: 12px;
	}

	.service-detail__subtitle {
		font-size: 20px;
	}
}

/* ---------- "Торгове обладнання" catalog (top / category / subcategory / product) ---------- */

.equipment-page,
.equipment-product-page {
	padding-top: 40px;
}

.equipment-layout {
	display: grid;
	grid-template-columns: 260px 1fr;
	gap: 40px;
	align-items: start;
}

.equipment-sidebar {
	border: 1px solid var(--border);
	border-radius: 12px;
	padding: 6px 20px;
}

.equipment-sidebar__title {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	width: 100%;
	background: none;
	border: none;
	font-family: inherit;
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.4px;
	color: var(--text-muted);
	padding: 14px 0;
	border-bottom: 1px solid var(--border);
	text-align: left;
	cursor: default;
}

.equipment-sidebar__title .chev {
	display: none;
	flex: none;
}

.equipment-sidebar__title-active {
	color: var(--mint-dark);
	text-transform: none;
	letter-spacing: normal;
}

.equipment-sidebar__list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.equipment-sidebar__item {
	border-bottom: 1px solid var(--border);
}

.equipment-sidebar__item:last-child {
	border-bottom: none;
}

.equipment-sidebar__row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding: 14px 16px;
	margin: 0 -16px;
	border-radius: 8px;
}

.equipment-sidebar__item.is-open > .equipment-sidebar__row {
	background: var(--mint-bg);
}

.equipment-sidebar__link {
	flex: 1;
	font-size: 15px;
	color: var(--text-dark);
}

.equipment-sidebar__link:hover {
	color: var(--mint-dark);
}

.equipment-sidebar__link.is-active {
	color: var(--mint-dark);
	font-weight: 700;
}

.equipment-sidebar__toggle {
	flex: none;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	margin: 0 -6px 0 0;
	padding: 0;
	background: none;
	border: none;
	color: var(--text-muted);
	cursor: pointer;
}

.equipment-sidebar__toggle .chev {
	transition: transform 0.15s ease;
}

.equipment-sidebar__item.is-open .equipment-sidebar__toggle .chev {
	transform: rotate(180deg);
}

.equipment-sidebar__sublist {
	list-style: none;
	margin: 0;
	padding: 0 0 12px;
	display: none;
	flex-direction: column;
	gap: 11px;
}

.equipment-sidebar__item.is-open .equipment-sidebar__sublist {
	display: flex;
}

.equipment-sidebar__sublist a {
	display: block;
	padding-left: 2px;
	font-size: 14px;
	color: var(--text-muted);
}

.equipment-sidebar__sublist a:hover,
.equipment-sidebar__sublist a.is-active {
	color: var(--mint-dark);
	font-weight: 700;
}

.equipment-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
	margin-bottom: 48px;
}

.equipment-card {
	display: flex;
	flex-direction: column;
	background: var(--white);
	border: 1.5px solid #cfe9e2;
	border-radius: 16px;
	padding: 16px 16px 22px;
	transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.equipment-card:hover {
	border-color: var(--mint);
	box-shadow: 0 16px 36px rgba(23, 37, 50, 0.12);
	transform: translateY(-4px);
}

.equipment-card__media {
	aspect-ratio: 3 / 2;
	border-radius: 10px;
	overflow: hidden;
	margin-bottom: 18px;
}

.equipment-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.equipment-card__body h3 {
	font-size: 16px;
	font-weight: 700;
	line-height: 1.35;
	margin: 0 0 16px;
	color: var(--text-dark);
	min-height: 42px;
}

.equipment-card .btn-pill--solid {
	width: 100%;
	justify-content: center;
	padding: 10px 18px;
	font-size: 12px;
}

.equipment-intro {
	background: #f6faf9;
	padding: 56px 0;
}

.equipment-intro__inner {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 48px;
	align-items: center;
}

.equipment-intro__text h2 {
	font-family: 'Chakra Petch', 'Montserrat', sans-serif;
	font-size: 26px;
	font-weight: 700;
	text-transform: uppercase;
	margin: 0 0 18px;
	color: var(--text-dark);
}

.equipment-intro__text p {
	margin: 0 0 14px;
	color: var(--text-dark);
	line-height: 1.65;
}

.equipment-intro__text p:last-child {
	margin-bottom: 0;
}

.equipment-intro__media img {
	width: 100%;
	border-radius: 10px;
	display: block;
}

/* Product detail page */

.equipment-product__top {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 48px;
	margin-bottom: 48px;
}

.equipment-product__gallery-main {
	aspect-ratio: 1 / 1;
	border-radius: 12px;
	overflow: hidden;
	margin-bottom: 12px;
	background: var(--mint-bg);
}

.equipment-product__gallery-main img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	display: block;
}

.equipment-product__thumbs {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.equipment-product__thumbs button {
	width: 64px;
	height: 64px;
	border-radius: 8px;
	overflow: hidden;
	border: 1.5px solid var(--border);
	padding: 0;
	cursor: pointer;
	background: var(--mint-bg);
}

.equipment-product__thumbs button.is-active {
	border-color: var(--mint);
}

.equipment-product__thumbs img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	display: block;
}

.equipment-product__info {
	display: flex;
	flex-direction: column;
	gap: 22px;
}

.equipment-product__info-block h3 {
	font-size: 16px;
	font-weight: 700;
	margin: 0 0 6px;
	color: var(--text-dark);
}

.equipment-product__info-block p {
	margin: 0;
	font-size: 14px;
	line-height: 1.6;
	color: var(--text-muted);
}

.equipment-product__order-btn {
	align-self: flex-start;
	margin-top: 4px;
}

.equipment-product__desc h2 {
	font-family: 'Chakra Petch', 'Montserrat', sans-serif;
	font-size: 24px;
	font-weight: 700;
	text-transform: uppercase;
	margin: 0 0 20px;
	color: var(--text-dark);
}

.equipment-product__desc p {
	margin: 0 0 16px;
	font-size: 15px;
	line-height: 1.7;
	color: var(--text-dark);
}

.equipment-product__desc h4 {
	font-size: 16px;
	font-weight: 700;
	margin: 24px 0 12px;
	color: var(--text-dark);
}

.equipment-product__desc ol {
	margin: 0;
	padding-left: 20px;
	color: var(--text-dark);
	font-size: 15px;
	line-height: 1.8;
}

/* Order modal - wider, two-column field grid variant */

.modal--wide {
	max-width: 640px;
}

.modal__product {
	display: flex;
	align-items: center;
	gap: 14px;
	margin: 0 0 22px;
	padding: 10px 14px;
	background: var(--mint-bg);
	border-radius: 12px;
}

.modal__product-img {
	width: 52px;
	height: 52px;
	border-radius: 8px;
	object-fit: cover;
	flex-shrink: 0;
	display: block;
}

.modal__product-name {
	font-weight: 600;
	font-size: 15px;
	line-height: 1.4;
	color: var(--text-dark);
}

.modal__row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 18px;
}

.modal__row .modal__input {
	width: 100%;
}

@media (max-width: 960px) {
	.equipment-layout {
		grid-template-columns: 1fr;
	}

	.equipment-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.equipment-intro__inner {
		grid-template-columns: 1fr;
	}

	.equipment-product__top {
		grid-template-columns: 1fr;
	}

	/* Category list is long (up to 6 top-level + a 20-item sublist) and
	   pushes the actual page content far down on mobile -- collapse it
	   behind the title bar by default; tapping it expands/collapses. */
	.equipment-sidebar__title {
		cursor: pointer;
	}

	.equipment-sidebar__title .chev {
		display: block;
		transition: transform 0.15s ease;
	}

	.equipment-sidebar__title[aria-expanded="true"] .chev {
		transform: rotate(180deg);
	}

	.equipment-sidebar__list {
		display: none;
	}

	.equipment-sidebar__title[aria-expanded="true"] + .equipment-sidebar__list {
		display: block;
	}
}

@media (max-width: 640px) {
	.equipment-grid {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	.modal__row {
		grid-template-columns: 1fr;
		gap: 4px;
	}
}

/* ---------- "Контакти" subpage ---------- */

.contacts-page {
	padding-top: 40px;
}

.contacts-grid {
	display: grid;
	grid-template-columns: 1fr 1.35fr;
	gap: 56px;
	align-items: start;
}

.contacts-info {
	display: flex;
	flex-direction: column;
	gap: 26px;
}

.contacts-info__group h3 {
	font-size: 18px;
	font-weight: 700;
	margin: 0 0 12px;
	color: var(--text-dark);
}

.contacts-info__group p {
	margin: 0 0 6px;
	font-size: 16px;
	line-height: 1.6;
}

.contacts-info__group p:last-child {
	margin-bottom: 0;
}

.contacts-info__group a {
	color: var(--text-dark);
}

.contacts-info__group a:hover {
	color: var(--mint-dark);
}

.contacts-map {
	border-radius: 12px;
	overflow: hidden;
	min-height: 420px;
	box-shadow: 0 10px 30px rgba(23, 37, 50, 0.08);
}

.contacts-map iframe {
	width: 100%;
	height: 100%;
	min-height: 420px;
	border: 0;
	display: block;
}

/* ---------- "Оплата та Доставка" subpage ---------- */

.payment-page {
	padding-top: 40px;
}

.payment-page__inner {
	display: flex;
	flex-direction: column;
	gap: 48px;
}

.content-block {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.content-block__title {
	font-family: 'Chakra Petch', 'Montserrat', sans-serif;
	font-size: 24px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.3px;
	color: var(--text-dark);
	margin: 0;
}

.content-block p {
	margin: 0;
	font-size: 16px;
	line-height: 1.7;
	color: var(--text-dark);
}

.content-block .about__list {
	gap: 10px;
}

.content-block .about__list li {
	font-size: 16px;
	line-height: 1.6;
}

/* Richer video card (title bar + share/history icons + YouTube link) used
   on the "Про компанію" page. */

.video-thumb__header {
	position: absolute;
	z-index: 1;
	top: 0;
	left: 0;
	right: 0;
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 16px 20px;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0));
}

.video-thumb__avatar {
	flex: none;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: var(--navy);
	color: var(--white);
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 800;
	font-size: 15px;
}

.video-thumb__meta {
	display: flex;
	flex-direction: column;
	line-height: 1.35;
	color: var(--white);
	min-width: 0;
}

.video-thumb__meta strong {
	font-size: 14px;
	font-weight: 700;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.video-thumb__meta span {
	font-size: 12px;
	opacity: 0.8;
}

.video-thumb__footer {
	position: absolute;
	z-index: 1;
	bottom: 0;
	left: 0;
	right: 0;
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 16px 20px;
	background: linear-gradient(0deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.05));
}

.video-thumb__icon {
	flex: none;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.16);
	color: var(--white);
	display: flex;
	align-items: center;
	justify-content: center;
}

.video-thumb__yt-link {
	margin-left: auto;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: rgba(255, 255, 255, 0.92);
	color: var(--text-dark);
	font-size: 13px;
	font-weight: 700;
	padding: 10px 18px;
	border-radius: 20px;
	transition: background 0.15s ease;
}

.video-thumb__yt-link:hover {
	background: var(--white);
}

@media (max-width: 640px) {
	.page-head__title {
		font-size: 24px;
	}

	.video-thumb__header,
	.video-thumb__footer {
		padding: 12px 14px;
	}

	.video-thumb__meta strong {
		max-width: 46vw;
	}

	.video-thumb__yt-link span {
		display: none;
	}

	.contacts-page,
	.payment-page {
		padding-top: 24px;
	}

	.contacts-map {
		min-height: 260px;
	}

	.contacts-map iframe {
		min-height: 260px;
	}

	.content-block__title {
		font-size: 20px;
	}

	.payment-page__inner {
		gap: 36px;
	}
}

/* ---------- Footer ---------- */

.footer {
	background: #0f1922;
	color: #cdd6dc;
	padding: 56px 0 0;
}

.footer__grid {
	display: grid;
	grid-template-columns: 1fr 1fr 1.2fr;
	gap: 40px;
	padding-bottom: 40px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer__col h3 {
	color: var(--white);
	font-size: 15px;
	font-weight: 700;
	margin: 0 0 18px;
}

.footer__col p {
	margin: 0 0 10px;
	font-size: 14px;
}

.footer__row {
	display: flex;
	align-items: center;
	gap: 12px;
}

.footer__icon {
	flex: none;
	color: var(--mint);
	opacity: 0.9;
}

.footer__icon--top {
	align-self: flex-start;
	margin-top: 2px;
}

.footer__col a {
	color: inherit;
}

.footer__col a:hover {
	color: var(--mint);
}

.footer__social {
	display: flex;
	gap: 10px;
	margin-top: 16px;
}

.footer__social a {
	width: 34px;
	height: 34px;
	border-radius: 50%;
	border: 1px solid rgba(255, 255, 255, 0.25);
	display: flex;
	align-items: center;
	justify-content: center;
}

.footer__social a:hover {
	background: var(--mint);
	border-color: var(--mint);
	color: var(--navy);
}

.footer__map {
	border-radius: 12px;
	overflow: hidden;
	min-height: 200px;
}

.footer__map iframe {
	width: 100%;
	height: 100%;
	min-height: 200px;
	border: 0;
	display: block;
}

.footer__bottom {
	max-width: 1400px;
	margin: 0 auto;
	padding: 20px 40px;
	font-size: 12px;
	color: #7c8993;
}

@media (max-width: 960px) {
	.card-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.services-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.about__grid,
	.production__grid {
		grid-template-columns: 1fr;
	}

	.contacts-grid {
		grid-template-columns: 1fr;
		gap: 32px;
	}

	.contacts-map {
		min-height: 320px;
	}

	.contacts-map iframe {
		min-height: 320px;
	}

	.footer__grid {
		grid-template-columns: 1fr;
		gap: 32px;
	}
}

@media (max-width: 640px) {
	.card-grid {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	.services-grid {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	.service-card__body {
		padding: 20px;
	}

	.service-card__body h3 {
		font-size: 18px;
	}

	.topbar__inner,
	.nav__inner,
	.footer__bottom {
		padding-left: 20px;
		padding-right: 20px;
	}

	.footer__grid {
		padding-bottom: 28px;
	}

	.footer__map {
		min-height: 220px;
	}

	.video-thumb__play {
		width: 54px;
		height: 54px;
		font-size: 18px;
	}

	.production__media {
		aspect-ratio: 16 / 10;
	}

	.catalog__more,
	.about__grid {
		text-align: left;
	}

	.footer__social a {
		width: 40px;
		height: 40px;
	}
}

/* ---------- Contact modal ("НАПИСАТИ НАМ") ---------- */

.modal-overlay {
	position: fixed;
	inset: 0;
	background: rgba(15, 23, 31, 0.55);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 100;
	padding: 24px;
}

.modal-overlay[hidden] {
	display: none;
}

.modal {
	position: relative;
	background: var(--white);
	border-radius: 12px;
	padding: 40px 36px 36px;
	width: 100%;
	max-width: 460px;
	max-height: calc(100vh - 48px);
	overflow-y: auto;
	box-shadow: 0 32px 64px rgba(15, 23, 31, 0.28);
}

.modal__close {
	position: absolute;
	top: 18px;
	right: 18px;
	background: none;
	border: none;
	cursor: pointer;
	color: var(--text-dark);
	padding: 4px;
	line-height: 0;
	opacity: 0.6;
}

.modal__close:hover {
	opacity: 1;
}

.modal__title {
	font-size: 22px;
	font-weight: 800;
	letter-spacing: 0.5px;
	margin: 0 0 28px;
	color: var(--text-dark);
	text-align: center;
}

.modal__form {
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.modal__input,
.modal__textarea {
	width: 100%;
	border: none;
	border-bottom: 1px solid var(--border);
	padding: 12px 2px;
	font-size: 16px;
	font-family: inherit;
	color: var(--text-dark);
	background: transparent;
	resize: none;
}

.modal__input::placeholder,
.modal__textarea::placeholder {
	color: #a9b6bd;
}

.modal__input:focus,
.modal__textarea:focus {
	outline: none;
	border-bottom-color: var(--mint);
}

.modal__submit {
	align-self: flex-start;
	margin-top: 8px;
	background: var(--mint);
	color: var(--white);
	font-weight: 400;
	font-size: 13px;
	letter-spacing: 0.3px;
	padding: 12px 28px;
	border-radius: 20px;
	border: none;
	cursor: pointer;
	transition: background 0.15s ease;
}

.modal__submit:hover {
	background: var(--mint-dark);
	color: var(--white);
}

.modal__label {
	font-size: 13px;
	font-weight: 600;
	color: var(--text-dark);
	margin: -6px 0 -10px;
}

.modal__file {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	align-self: flex-start;
	background: var(--mint-bg);
	color: var(--text-dark);
	font-size: 13px;
	font-weight: 600;
	padding: 10px 18px;
	border-radius: 20px;
	cursor: pointer;
	transition: background 0.15s ease;
}

.modal__file:hover {
	background: #dcefea;
}

.modal__file input[type="file"] {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

.modal__actions {
	display: flex;
	justify-content: flex-end;
}

.modal__actions .modal__submit {
	align-self: auto;
	margin-top: 0;
}

@media (max-width: 480px) {
	.modal-overlay {
		padding: 16px;
		align-items: center;
	}

	.modal {
		max-height: calc(100vh - 32px);
		overflow-y: auto;
		padding: 32px 22px 28px;
	}

	.modal__submit {
		width: 100%;
		text-align: center;
	}
}
