/* Úvodka: dlaždice kategorií a kontaktní pruh. Jen homepage, nenačítá se blokujícím CSS v hlavičce. */

.hybrid-tiles {
	position: relative;
	z-index: 5;
	margin-top: -24px;
	margin-bottom: 8px;
	max-width: 100%;
}

.hybrid-tiles__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 14px;
}

.hybrid-tile {
	position: relative;
	display: block;
	height: 156px;
	border-radius: 16px;
	overflow: hidden;
	background: var(--verku-brand);
	color: #fff;
	text-decoration: none;
	box-shadow:
		0 0 0 4px #fff,
		0 2px 4px rgba(var(--verku-brand-rgb), 0.06),
		0 14px 32px rgba(var(--verku-brand-rgb), 0.14);
	transition: transform 0.15s ease;
}

.hybrid-tile:hover,
.hybrid-tile:focus {
	color: #fff;
	text-decoration: none;
	transform: translateY(-2px);
}

.hybrid-tile:focus-visible {
	outline: 3px solid var(--verku-accent);
	outline-offset: 3px;
}

.hybrid-tile__photo {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hybrid-tile__photo--strecha {
	object-position: center 40%;
}

.hybrid-tile__photo--okna {
	object-position: center 72%;
}

.hybrid-tile__photo--fasada {
	object-position: center 48%;
}

.hybrid-tile::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0) 38%, rgba(0, 9, 40, 0.78) 100%);
}

.hybrid-tile__txt {
	position: absolute;
	left: 16px;
	right: 14px;
	bottom: 14px;
	z-index: 2;
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	gap: 10px;
	min-width: 0;
}

.hybrid-tile__copy {
	min-width: 0;
}

.hybrid-tile__name {
	display: block;
	color: #fff;
	font-size: 24px;
	font-weight: 700;
	line-height: 1.1;
}

.hybrid-tile__sub {
	display: block;
	margin-top: 3px;
	color: rgba(255, 255, 255, 0.88);
	font-size: 14px;
	line-height: 1.3;
}

.hybrid-tile__go {
	flex: 0 0 auto;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	background: var(--verku-accent);
	color: var(--verku-on-accent);
	font-size: 1.15rem;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.hybrid-tile--solid::after {
	background: radial-gradient(circle at 85% 15%, rgba(255, 255, 255, 0.12), transparent 55%);
}

.hybrid-tile__ico {
	position: absolute;
	top: 16px;
	right: 18px;
	z-index: 2;
	width: 48px;
	height: 48px;
	color: rgba(255, 255, 255, 0.55);
}

.hybrid-tile__ico svg {
	width: 100%;
	height: 100%;
	display: block;
}

.hybrid-tile--gold {
	background: var(--verku-accent);
}

.hybrid-tile--gold:hover,
.hybrid-tile--gold:focus {
	color: var(--verku-on-accent);
}

.hybrid-tile--gold .hybrid-tile__name {
	color: var(--verku-on-accent);
}

.hybrid-tile--gold .hybrid-tile__sub {
	color: rgba(var(--verku-brand-rgb), 0.78);
}

.hybrid-tile--gold .hybrid-tile__go {
	background: var(--verku-brand);
	color: var(--verku-accent);
}

.hybrid-tile--gold .hybrid-tile__ico {
	color: rgba(var(--verku-brand-rgb), 0.45);
}

.hybrid-tile--navy2 {
	background: #1a2a8f;
}

.hybrid-contact {
	padding: 28px 0 8px;
	max-width: 100%;
}

.hybrid-contact__box {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 18px 28px;
	overflow: hidden;
	padding: 22px 18px 22px 22px;
	border-radius: 18px;
	background: var(--verku-brand);
	color: #fff;
	box-shadow:
		0 2px 4px rgba(var(--verku-brand-rgb), 0.06),
		0 18px 40px rgba(var(--verku-brand-rgb), 0.14);
}

.hybrid-contact__box::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: 6px;
	background: var(--verku-accent);
}

.hybrid-contact__who {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	flex: 1 1 260px;
	min-width: 0;
}

.hybrid-contact__av {
	flex: 0 0 auto;
	width: 52px;
	height: 52px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	background: rgba(255, 255, 255, 0.1);
	box-shadow: inset 0 0 0 2px var(--verku-accent);
	color: var(--verku-accent);
	font-size: 1.45rem;
}

.hybrid-contact__title {
	margin: 0;
	color: #fff;
	font-size: 22px;
	font-weight: 700;
	line-height: 1.2;
}

.hybrid-contact__lead {
	margin: 4px 0 0;
	color: rgba(255, 255, 255, 0.78);
	font-size: 15px;
	line-height: 1.4;
}

.hybrid-contact__nap {
	margin: 8px 0 0;
	color: rgba(255, 255, 255, 0.72);
	font-size: 13px;
	line-height: 1.35;
}

.hybrid-contact__acts {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 12px;
	width: 100%;
	min-width: 0;
}

.hybrid-contact__tels {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.hybrid-contact__tel {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: #fff;
	font-size: 17px;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
	white-space: nowrap;
}

.hybrid-contact__tel i {
	color: var(--verku-accent);
}

.hybrid-contact__tel:hover,
.hybrid-contact__tel:focus {
	color: var(--verku-accent);
	text-decoration: none;
}

.hybrid-contact .hybrid-btn {
	justify-content: center;
}

.hybrid-contact__tel:focus-visible,
.hybrid-contact .hybrid-btn:focus-visible {
	outline: 3px solid var(--verku-accent);
	outline-offset: 3px;
}

@media (min-width: 576px) {
	.hybrid-tiles__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 16px;
	}

	.hybrid-contact__acts {
		flex-direction: row;
		flex-wrap: wrap;
		align-items: center;
		width: auto;
	}
}

@media (min-width: 992px) {
	.hybrid-tiles {
		margin-top: -80px;
	}

	.hybrid-tiles__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 24px;
	}

	.hybrid-tile {
		height: 190px;
		border-radius: 18px;
	}

	.hybrid-tiles__grid .hybrid-tile:nth-child(n + 4) {
		height: 170px;
	}

	.hybrid-tile__txt {
		left: 22px;
		right: 18px;
		bottom: 18px;
	}

	.hybrid-tile__name {
		font-size: 30px;
	}

	.hybrid-tile__sub {
		font-size: 15px;
	}

	.hybrid-tile__ico {
		top: 18px;
		right: 22px;
		width: 56px;
		height: 56px;
	}

	.hybrid-contact {
		padding-top: 36px;
	}

	.hybrid-contact__box {
		flex-wrap: nowrap;
		padding: 28px 36px 28px 40px;
	}

	.hybrid-contact__who {
		align-items: center;
		gap: 18px;
	}

	.hybrid-contact__av {
		width: 58px;
		height: 58px;
	}

	.hybrid-contact__title {
		font-size: 24px;
	}

	.hybrid-contact__acts {
		flex-wrap: nowrap;
		gap: 20px;
	}
}
