/* Homepage */

body.home #page {
	width: 100%;
	max-width: none;
	margin: 0;
}

body.home #content {
	width: 100%;
	max-width: none;
	padding: 0;
}

body.home .wg-home {
	width: 100%;
	max-width: none;
	overflow: hidden;
}

.wg-home {
	width: 100%;
}

.wg-home-hero {
	position: relative;
	overflow: hidden;
	padding: 88px 0 92px;
	background:
		radial-gradient(
			circle at 84% 25%,
			rgba(55, 145, 188, 0.14),
			transparent 30%
		),
		linear-gradient(
			135deg,
			#edf7fb 0%,
			#ffffff 56%,
			#f3f8fa 100%
		);
	border-bottom: 1px solid #e1e9ed;
}

.wg-home-hero::before {
	content: "";
	position: absolute;
	top: -180px;
	right: -150px;
	width: 540px;
	height: 540px;
	border: 1px solid rgba(11, 79, 113, 0.08);
	border-radius: 50%;
	pointer-events: none;
}

.wg-home-hero__container {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
	align-items: center;
	gap: 80px;
	width: min(calc(100% - 48px), var(--wg-container-width));
	margin-inline: auto;
}

.wg-home-hero__content,
.wg-home-hero__visual {
	min-width: 0;
}

.wg-home-hero__eyebrow,
.wg-section-heading__eyebrow {
	display: inline-block;
	margin-bottom: 14px;
	color: #0b668f;
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.wg-home-hero__title {
	max-width: 780px;
	margin: 0;
	color: #102033;
	font-size: clamp(44px, 5.6vw, 70px);
	font-weight: 800;
	line-height: 1.04;
	letter-spacing: -0.045em;
}

.wg-home-hero__text {
	max-width: 700px;
	margin: 24px 0 0;
	color: #526173;
	font-size: 19px;
	line-height: 1.7;
}

.wg-home-search {
	max-width: 700px;
	margin-top: 34px;
}

.wg-home-search__field {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	align-items: center;
	gap: 12px;
	min-height: 64px;
	padding: 7px 8px 7px 20px;
	background: #ffffff;
	border: 1px solid #cfdce3;
	border-radius: 13px;
	box-shadow:
		0 18px 45px rgba(15, 32, 51, 0.09),
		0 3px 10px rgba(15, 32, 51, 0.035);
}

.wg-home-search__icon {
	width: 22px;
	height: 22px;
	fill: none;
	stroke: #71808f;
	stroke-width: 1.8;
	stroke-linecap: round;
}

.wg-home-search input {
	width: 100%;
	min-width: 0;
	height: 48px;
	padding: 0;
	color: #102033;
	background: transparent;
	border: 0;
	outline: 0;
	font: inherit;
	font-size: 16px;
}

.wg-home-search input::placeholder {
	color: #8794a0;
}

.wg-home-search button {
	min-height: 48px;
	padding: 0 22px;
	color: #ffffff;
	background: #0b4f71;
	border: 0;
	border-radius: 9px;
	font-size: 15px;
	font-weight: 800;
	cursor: pointer;
}

.wg-home-search button:hover,
.wg-home-search button:focus {
	background: #083f5a;
}

.wg-home-hero__hint {
	margin: 12px 0 0;
	color: #788695;
	font-size: 13px;
	line-height: 1.5;
}

.wg-home-hero__visual {
	display: flex;
	justify-content: center;
}

.wg-home-appliance {
	position: relative;
	width: min(100%, 360px);
	padding: 23px 23px 28px;
	background:
		linear-gradient(
			145deg,
			#ffffff 0%,
			#f6fafc 100%
		);
	border: 1px solid #cfdee6;
	border-radius: 28px;
	box-shadow:
		0 32px 70px rgba(15, 32, 51, 0.13),
		0 6px 18px rgba(15, 32, 51, 0.05);
}

.wg-home-appliance::before {
	content: "";
	position: absolute;
	inset: 10px;
	border: 1px solid rgba(11, 79, 113, 0.05);
	border-radius: 21px;
	pointer-events: none;
}

.wg-home-appliance__top {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	gap: 8px;
	height: 42px;
	padding: 0 14px;
	background: #eaf1f4;
	border-radius: 11px;
}

.wg-home-appliance__top span {
	display: block;
	width: 8px;
	height: 8px;
	background: #9aaab4;
	border-radius: 50%;
}

.wg-home-appliance__top span:first-child {
	width: 64px;
	border-radius: 4px;
}

.wg-home-appliance__door {
	position: relative;
	z-index: 1;
	display: grid;
	place-items: center;
	width: 218px;
	height: 218px;
	margin: 28px auto 22px;
	background: #e6eef2;
	border: 14px solid #d3e0e6;
	border-radius: 50%;
	box-shadow:
		inset 0 0 0 1px rgba(11, 79, 113, 0.08),
		0 8px 20px rgba(15, 32, 51, 0.08);
}

.wg-home-appliance__glass {
	width: 152px;
	height: 152px;
	background:
		radial-gradient(
			circle at 38% 35%,
			#ffffff 0%,
			#c9dfe9 28%,
			#87aec0 72%,
			#638fa3 100%
		);
	border-radius: 50%;
	box-shadow: inset 0 0 28px rgba(12, 53, 75, 0.23);
}

.wg-home-appliance__status {
	position: relative;
	z-index: 2;
	display: flex;
	align-items: center;
	gap: 10px;
	width: max-content;
	max-width: calc(100% - 20px);
	margin: 0 auto -52px;
	padding: 13px 16px;
	color: #173047;
	background: #ffffff;
	border: 1px solid #d8e4e9;
	border-radius: 11px;
	box-shadow: 0 14px 34px rgba(15, 32, 51, 0.12);
	font-size: 14px;
	font-weight: 750;
}

.wg-home-appliance__status-icon {
	display: grid;
	flex: 0 0 25px;
	place-items: center;
	width: 25px;
	height: 25px;
	color: #ffffff;
	background: #0b668f;
	border-radius: 50%;
	font-size: 13px;
}

.wg-home-section,
.wg-home-directions {
	padding: 88px 0;
	background: #ffffff;
}

.wg-home-directions {
	padding-top: 82px;
}

.wg-home-section--muted {
	background:
		linear-gradient(
			180deg,
			#f4f8fa 0%,
			#f8fafb 100%
		);
}

.wg-home-section__container {
	width: min(calc(100% - 48px), var(--wg-container-width));
	margin-inline: auto;
}

.wg-section-heading {
	max-width: 710px;
	margin-bottom: 40px;
}

.wg-section-heading--center {
	margin-right: auto;
	margin-left: auto;
	text-align: center;
}

.wg-section-heading__title {
	margin: 0;
	color: #102033;
	font-size: clamp(30px, 4vw, 42px);
	font-weight: 800;
	line-height: 1.15;
	letter-spacing: -0.035em;
}

.wg-section-heading__text {
	margin: 16px 0 0;
	color: #617183;
	font-size: 17px;
	line-height: 1.7;
}

.wg-home-direction-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 22px;
}

.wg-home-direction-card {
	position: relative;
	display: flex;
	flex-direction: column;
	min-width: 0;
	min-height: 270px;
	padding: 30px;
	overflow: hidden;
	color: inherit;
	background:
		linear-gradient(
			180deg,
			#ffffff 0%,
			#fbfdfe 100%
		);
	border: 1px solid #dfe8ed;
	border-radius: 17px;
	text-decoration: none;
	box-shadow:
		0 10px 30px rgba(15, 32, 51, 0.045),
		0 2px 8px rgba(15, 32, 51, 0.025);
	transition:
		transform 0.2s ease,
		border-color 0.2s ease,
		box-shadow 0.2s ease;
}

.wg-home-direction-card::before {
	content: "";
	position: absolute;
	inset: 0 0 auto;
	height: 4px;
	background: linear-gradient(90deg, #0b4f71, #55a7cc);
	opacity: 0;
	transition: opacity 0.2s ease;
}

.wg-home-direction-card:hover,
.wg-home-direction-card:focus {
	transform: translateY(-4px);
	border-color: #b6cbd6;
	box-shadow:
		0 18px 44px rgba(15, 32, 51, 0.09),
		0 3px 10px rgba(15, 32, 51, 0.04);
}

.wg-home-direction-card:hover::before,
.wg-home-direction-card:focus::before {
	opacity: 1;
}

.wg-home-direction-card__icon {
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	margin-bottom: 24px;
	color: #0b668f;
	background: #edf7fb;
	border: 1px solid #d5e7ef;
	border-radius: 13px;
}

.wg-home-direction-card__icon svg {
	width: 25px;
	height: 25px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.wg-home-direction-card h3 {
	margin: 0;
	color: #102033;
	font-size: 21px;
	font-weight: 800;
	line-height: 1.3;
}

.wg-home-direction-card p {
	margin: 14px 0 22px;
	color: #617183;
	font-size: 15px;
	line-height: 1.65;
}

.wg-home-direction-card__link {
	margin-top: auto;
	color: #0b668f;
	font-size: 14px;
	font-weight: 800;
}

.wg-home-direction-card__link::after {
	content: " →";
}

.wg-home-link-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
}

.wg-home-link-grid a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	min-height: 64px;
	padding: 0 22px;
	color: #24384b;
	background: #ffffff;
	border: 1px solid #dfe8ed;
	border-radius: 12px;
	font-size: 16px;
	font-weight: 750;
	text-decoration: none;
	box-shadow: 0 4px 12px rgba(15, 32, 51, 0.025);
	transition:
		color 0.2s ease,
		border-color 0.2s ease,
		transform 0.2s ease,
		box-shadow 0.2s ease;
}

.wg-home-link-grid a span:last-child {
	color: #0b668f;
}

.wg-home-link-grid a:hover,
.wg-home-link-grid a:focus {
	color: #0b4f71;
	border-color: #b8ced9;
	transform: translateY(-2px);
	box-shadow: 0 9px 20px rgba(15, 32, 51, 0.055);
}

.wg-home-text-link {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	margin-top: 28px;
	color: #0b668f;
	font-size: 15px;
	font-weight: 800;
	text-decoration: none;
}

.wg-home-text-link:hover,
.wg-home-text-link:focus {
	text-decoration: underline;
}

.wg-home-split {
	display: grid;
	grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
	align-items: center;
	gap: 80px;
}

.wg-home-split__content {
	max-width: 720px;
}

.wg-home-split__content .wg-button {
	margin-top: 28px;
}

.wg-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	max-width: 100%;
	padding: 0 22px;
	border-radius: 9px;
	font-size: 15px;
	font-weight: 750;
	text-decoration: none;
	transition:
		background-color 0.2s ease,
		border-color 0.2s ease,
		color 0.2s ease,
		transform 0.2s ease,
		box-shadow 0.2s ease;
}

.wg-button:hover,
.wg-button:focus {
	transform: translateY(-1px);
}

.wg-button--primary {
	color: #ffffff;
	background: #0b4f71;
	box-shadow: 0 10px 24px rgba(11, 79, 113, 0.18);
}

.wg-button--primary:hover,
.wg-button--primary:focus {
	color: #ffffff;
	background: #083f5a;
	box-shadow: 0 14px 28px rgba(11, 79, 113, 0.23);
}

.wg-home-code-card {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-height: 310px;
	padding: 40px;
	overflow: hidden;
	text-align: center;
	background:
		radial-gradient(
			circle at 50% 30%,
			rgba(89, 174, 214, 0.2),
			transparent 48%
		),
		linear-gradient(
			145deg,
			#0b4f71 0%,
			#083c57 100%
		);
	border-radius: 24px;
	box-shadow: 0 28px 60px rgba(15, 32, 51, 0.16);
}

.wg-home-code-card::before,
.wg-home-code-card::after {
	content: "";
	position: absolute;
	border: 1px solid rgba(255, 255, 255, 0.11);
	border-radius: 50%;
}

.wg-home-code-card::before {
	top: -110px;
	right: -90px;
	width: 280px;
	height: 280px;
}

.wg-home-code-card::after {
	bottom: -130px;
	left: -100px;
	width: 310px;
	height: 310px;
}

.wg-home-code-card__label,
.wg-home-code-card span:last-child,
.wg-home-code-card strong {
	position: relative;
	z-index: 1;
}

.wg-home-code-card__label {
	color: #bcd8e5;
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.wg-home-code-card strong {
	margin: 16px 0 13px;
	color: #ffffff;
	font-size: clamp(60px, 8vw, 92px);
	font-weight: 800;
	line-height: 1;
	letter-spacing: -0.05em;
}

.wg-home-code-card span:last-child {
	color: #d7e8ef;
	font-size: 16px;
}

.wg-home-cta {
	position: relative;
	overflow: hidden;
	padding: 72px 0;
	color: #ffffff;
	background:
		linear-gradient(
			135deg,
			#083f5a 0%,
			#0b4f71 52%,
			#0d6388 100%
		);
}

.wg-home-cta::after {
	content: "";
	position: absolute;
	top: -170px;
	right: -90px;
	width: 390px;
	height: 390px;
	border: 1px solid rgba(255, 255, 255, 0.11);
	border-radius: 50%;
}

.wg-home-cta__container {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 40px;
	width: min(calc(100% - 48px), var(--wg-container-width));
	margin-inline: auto;
}

.wg-home-cta__title {
	margin: 0;
	color: #ffffff;
	font-size: clamp(28px, 4vw, 38px);
	font-weight: 800;
	line-height: 1.2;
	letter-spacing: -0.03em;
}

.wg-home-cta__text {
	max-width: 700px;
	margin: 14px 0 0;
	color: #d5e5ed;
	font-size: 17px;
	line-height: 1.65;
}

.wg-button--light {
	flex-shrink: 0;
	color: #0b4f71;
	background: #ffffff;
	box-shadow: 0 10px 24px rgba(0, 0, 0, 0.14);
}

.wg-button--light:hover,
.wg-button--light:focus {
	color: #083f5a;
	background: #edf5f8;
}

@media (max-width: 980px) {
	.wg-home-hero__container,
	.wg-home-split {
		grid-template-columns: 1fr;
		gap: 48px;
	}

	.wg-home-hero__visual {
		justify-content: flex-start;
	}

	.wg-home-appliance {
		max-width: 340px;
	}

	.wg-home-direction-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.wg-home-code-card {
		max-width: 600px;
	}
}

@media (max-width: 700px) {
	.wg-home-hero {
		padding: 46px 0 56px;
	}

	.wg-home-hero__container,
	.wg-home-section__container,
	.wg-home-cta__container {
		width: 100%;
		padding-inline: var(--wg-page-gutter-mobile);
	}

	.wg-home-hero__title {
		font-size: clamp(34px, 10vw, 43px);
		overflow-wrap: anywhere;
	}

	.wg-home-hero__text {
		font-size: 16px;
	}

	.wg-home-search__field {
		grid-template-columns: auto minmax(0, 1fr);
		padding: 7px 14px;
	}

	.wg-home-search button {
		grid-column: 1 / -1;
		width: 100%;
	}

	.wg-home-hero__visual {
		justify-content: center;
	}

	.wg-home-appliance {
		width: min(100%, 320px);
	}

	.wg-home-appliance__door {
		width: 190px;
		height: 190px;
	}

	.wg-home-appliance__glass {
		width: 130px;
		height: 130px;
	}

	.wg-home-section,
	.wg-home-directions {
		padding: 52px 0;
	}

	.wg-home-direction-grid,
	.wg-home-link-grid {
		grid-template-columns: 1fr;
	}

	.wg-home-direction-card {
		min-height: 0;
		padding: 21px;
	}

	.wg-home-code-card {
		min-height: 260px;
	}

	.wg-home-cta {
		padding: 48px 0;
	}

	.wg-home-cta__container {
		flex-direction: column;
		align-items: flex-start;
	}

	.wg-button--light {
		width: 100%;
	}
}

@media (max-width: 420px) {
	.wg-home-appliance {
		padding-inline: 15px;
	}

	.wg-home-appliance__status {
		max-width: 100%;
		font-size: 13px;
	}
}

.wg-home-empty-message {
	margin: 0;
	padding: 20px 22px;
	color: #617183;
	background: #ffffff;
	border: 1px solid #dfe8ed;
	border-radius: 12px;
	font-size: 16px;
	line-height: 1.6;
}