/* Homepage v2 — hero metrics (?v2=1) */

body.chipright-v2 .about .description p {
	margin: 0 0 1.25em;
}

body.chipright-v2 .about .description p:last-child {
	margin-bottom: 0;
}

body.chipright-v2 header.site-header {
	flex-direction: column;
	justify-content: space-between;
	align-items: stretch;
	pointer-events: none;
}

/* Desktop: keep hero metrics in the viewport; shrink logo area before squishing metrics */
@media all and (min-width: 1025px) {
	body.chipright-v2 header.site-header {
		height: 100vh;
		height: 100dvh;
		min-height: 0;
		max-height: 100vh;
		max-height: 100dvh;
		overflow: hidden;
		box-sizing: border-box;
		padding-top: 0;
		padding-bottom: 0;
	}

	body.chipright-v2 header.site-header .mid-content {
		flex: 1 1 auto;
		min-height: 0;
		overflow: hidden;
	}

	body.chipright-v2 header.site-header .company img {
		width: min(600px, 58vw);
		max-height: min(280px, 34vh);
		height: auto;
		object-fit: contain;
	}

	body.chipright-v2 header.site-header .company .tagline {
		font-size: clamp(28px, 3.6vw, 48px);
		margin-top: clamp(16px, 2.5vh, 32px);
	}

	body.chipright-v2 header .numbers--hero {
		flex: 0 0 auto;
		min-height: 132px;
	}

	body.chipright-v2 header .numbers--hero .wrapper {
		min-height: 132px;
		padding-top: clamp(18px, 2.5vh, 28px);
		padding-bottom: clamp(22px, 2.8vh, 32px);
		box-sizing: border-box;
	}
}

@media all and (min-width: 1025px) and (max-height: 780px) {
	body.chipright-v2 header.site-header .company img {
		width: min(480px, 52vw);
		max-height: min(220px, 30vh);
	}

	body.chipright-v2 header.site-header .company .tagline {
		font-size: clamp(24px, 3.2vw, 36px);
		margin-top: clamp(12px, 2vh, 24px);
	}

	body.chipright-v2 header .numbers--hero .number h3 {
		font-size: clamp(32px, 4.5vw, 56px);
	}

	body.chipright-v2 header .numbers--hero .number p {
		margin-top: 8px;
		font-size: 10px;
	}
}

body.chipright-v2 header.site-header .mid-content,
body.chipright-v2 header.site-header .numbers--hero,
body.chipright-v2 header.site-header .buttons {
	pointer-events: auto;
}

body.chipright-v2 header.site-header .mid-content {
	display: flex;
	flex-grow: 1;
	align-items: center;
	justify-content: center;
	margin-bottom: 0;
}

body.chipright-v2 header.site-header .buttons {
	display: none;
}

body.chipright-v2 header .numbers--hero {
	position: relative;
	z-index: 1;
	flex-shrink: 0;
	margin: 0;
	padding: 0;
	background: linear-gradient(to top, rgba(30, 45, 61, 0.96) 0%, rgba(52, 73, 94, 0.88) 100%);
	border-top: 4px solid #f2a30e;
	box-shadow: none;
	-webkit-backdrop-filter: none;
	backdrop-filter: none;
}

body.chipright-v2 header .numbers--hero::after {
	content: '';
	position: absolute;
	inset: 0;
	background: url(../img/cr_bg_stars.svg) repeat center;
	background-size: 280px;
	opacity: 0.05;
	pointer-events: none;
}

body.chipright-v2 header .numbers--hero:before {
	display: none;
}

body.chipright-v2 header .numbers--hero .wrapper {
	position: relative;
	z-index: 1;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: stretch;
	gap: 0;
	max-width: 1280px;
	margin: 0 auto;
	padding: 28px 32px 32px;
}

body.chipright-v2 header .numbers--hero .wrapper:after {
	display: none;
}

body.chipright-v2 header .numbers--hero .number {
	float: none;
	flex: 1 1 18%;
	min-width: 140px;
	max-width: none;
	padding: 12px 24px;
	text-align: center;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.9);
	font-size: 12px;
	line-height: 1.25;
	border-right: 1px solid rgba(242, 163, 14, 0.28);
	box-sizing: border-box;
}

body.chipright-v2 header .numbers--hero .number:last-child {
	border-right: none;
}

body.chipright-v2 header .numbers--hero .number h3 {
	margin: 0;
	font: 700 clamp(40px, 5.5vw, 72px) / 1 'futura-pt', sans-serif;
	color: #f2a30e;
	text-shadow: none;
	font-variant-numeric: tabular-nums;
	letter-spacing: -0.02em;
}

body.chipright-v2 header .numbers--hero .number p {
	margin: 10px 0 0;
	font-weight: 600;
	font-size: 11px;
	letter-spacing: 0.12em;
	color: rgba(255, 255, 255, 0.82);
	text-shadow: none;
}

@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
	body.chipright-v2 header .numbers--hero {
		background: #34495e;
	}
}

@media all and (max-width: 1024px) {
	body.chipright-v2 header.site-header {
		display: flex;
		flex-direction: column;
		height: auto !important;
		min-height: 100vh !important;
		justify-content: flex-start;
		padding: 72px 0 0 !important;
		overflow: visible;
	}

	body.chipright-v2 header.site-header .mid-content {
		flex: 1 1 auto;
		display: flex;
		align-items: center;
		justify-content: center;
		margin-bottom: 0;
	}

	body.chipright-v2 header .numbers--hero {
		flex-shrink: 0;
		margin-top: auto;
		margin-bottom: 0;
		padding: 0;
	}

	body.chipright-v2 header .numbers--hero .wrapper {
		display: grid;
		grid-template-columns: 1fr 1fr;
		row-gap: 24px;
		column-gap: 16px;
		max-width: none;
		margin: 0;
		padding: 10px 0 0 !important;
	}

	body.chipright-v2 header .numbers--hero .number,
	body.chipright-v2 header .numbers--hero .number.block,
	body.chipright-v2 header .numbers--hero .number.block.xs {
		float: none;
		width: auto;
		flex: none;
		min-width: 0;
		margin: 0 !important;
		padding: 0 20px;
		border: none !important;
	}

	body.chipright-v2 header .numbers--hero .number:last-child {
		grid-column: 1 / -1;
		padding: 4px 20px 0;
		margin-bottom: 0;
	}

	body.chipright-v2 header .numbers--hero .number h3 {
		font-size: clamp(34px, 9vw, 44px);
		line-height: 1;
		margin: 0;
	}

	body.chipright-v2 header .numbers--hero .number p {
		margin: 8px 0 0 !important;
		font-size: 10px;
		letter-spacing: 0.09em;
		line-height: 1.3;
	}
}

@media all and (max-width: 590px) {
	body.chipright-v2 header .numbers--hero .wrapper {
		row-gap: 20px;
		column-gap: 12px;
		padding: 8px 0 0 !important;
	}

	body.chipright-v2 header .numbers--hero .number,
	body.chipright-v2 header .numbers--hero .number.block,
	body.chipright-v2 header .numbers--hero .number.block.xs {
		padding: 0 16px;
	}

	body.chipright-v2 header .numbers--hero .number:last-child {
		padding: 2px 16px 0;
	}

	body.chipright-v2 header .numbers--hero .number h3 {
		font-size: clamp(30px, 8vw, 38px);
	}

	body.chipright-v2 header .numbers--hero .number p {
		margin-top: 6px !important;
		font-size: 9px;
		letter-spacing: 0.07em;
	}
}

/* Services section (home-offers) — v2 refresh */
body.chipright-v2 section.home-offers {
	position: relative;
	padding: 96px 24px 104px;
	background: linear-gradient(155deg, #1e2d3d 0%, #34495e 42%, #273747 100%);
	overflow: hidden;
}

body.chipright-v2 section.home-offers::before {
	content: '';
	position: absolute;
	inset: 0;
	background:
		radial-gradient(ellipse 80% 60% at 15% 100%, rgba(242, 163, 14, 0.14) 0%, transparent 55%),
		radial-gradient(ellipse 70% 55% at 90% 0%, rgba(26, 187, 238, 0.2) 0%, transparent 50%),
		url(../img/cr_bg_stars.svg) repeat center;
	background-size: auto, auto, 320px;
	opacity: 1;
	pointer-events: none;
}

body.chipright-v2 section.home-offers::after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 4px;
	background: #f2a30e;
	pointer-events: none;
}

body.chipright-v2 section.home-offers .section-header {
	position: relative;
	z-index: 1;
	margin-bottom: 56px;
}

body.chipright-v2 section.home-offers .section-header h2 {
	color: #fff;
	text-shadow: 0 2px 16px rgba(0, 0, 0, 0.2);
}

body.chipright-v2 section.home-offers .section-header i {
	color: #f2a30e;
}

body.chipright-v2 section.home-offers .section-header span::before,
body.chipright-v2 section.home-offers .section-header span::after {
	background: #f2a30e;
}

body.chipright-v2 section.home-offers .wrapper.large {
	position: relative;
	z-index: 1;
}

body.chipright-v2 section.home-offers .home-offers-grid {
	gap: 36px;
}

body.chipright-v2 section.home-offers .home-offer-card {
	position: relative;
	border: none;
	border-radius: 6px;
	background: #fff;
	overflow: hidden;
	box-shadow:
		0 4px 6px rgba(0, 0, 0, 0.06),
		0 16px 40px rgba(0, 0, 0, 0.22);
	transition: box-shadow 0.28s ease, transform 0.28s ease;
}

body.chipright-v2 section.home-offers .home-offer-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 4px;
	background: #f2a30e;
	z-index: 2;
}

body.chipright-v2 section.home-offers .home-offer-card__media {
	aspect-ratio: 800 / 616;
	height: auto;
}

body.chipright-v2 section.home-offers .home-offer-card__picture {
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
}

body.chipright-v2 section.home-offers .home-offer-card__media::after {
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	opacity: 0.35;
	background: linear-gradient(to top, rgba(39, 55, 71, 0.72) 0%, rgba(26, 187, 238, 0.08) 100%);
}

body.chipright-v2 section.home-offers .home-offer-card__body {
	padding: 32px 28px 36px;
}

body.chipright-v2 section.home-offers .home-offer-card__title a {
	color: #017ba1;
}

body.chipright-v2 section.home-offers .home-offer-card__subtitle {
	color: #556d78;
}

body.chipright-v2 section.home-offers a.learn {
	position: relative;
	z-index: 1;
}

@media all and (min-width: 1025px) {
	body.chipright-v2 section.home-offers .home-offer-card:hover {
		box-shadow:
			0 8px 16px rgba(0, 0, 0, 0.1),
			0 28px 56px rgba(0, 0, 0, 0.28),
			0 0 0 1px rgba(26, 187, 238, 0.35);
		transform: translateY(-8px);
	}

	body.chipright-v2 section.home-offers .home-offer-card:hover .home-offer-card__media::after {
		opacity: 0.55;
	}
}

@media all and (max-width: 640px) {
	body.chipright-v2 section.home-offers {
		padding: 64px 16px 72px;
	}
}

/* Why choose us — v2 light background + photo */
body.chipright-v2 section.promote {
	position: relative;
	padding: 88px 24px 96px;
	background-color: #eef7fb;
	background-image: url(../img/cr_contact_natalia.jpg?v=2);
	background-repeat: no-repeat;
	background-position: bottom center;
	background-size: auto 526px;
}

body.chipright-v2 section.promote::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 4px;
	background: #1abbee;
	pointer-events: none;
}

body.chipright-v2 section.promote .section-header {
	max-width: 920px;
	margin-left: auto;
	margin-right: auto;
}

body.chipright-v2 section.promote .section-header p {
	color: #556d78;
}

@media all and (max-width: 960px) {
	body.chipright-v2 section.promote {
		padding: 64px 16px 72px;
		background-color: #eef7fb;
		background-image: url(../img/cr_contact_natalia.jpg?v=2);
		background-repeat: no-repeat;
		background-position: bottom center;
		background-size: auto 526px;
	}
}
