/* =========================================================================
 * Šablona "Řešení pro firmy" (page-reseni.php)
 * Načítá se jen na stránkách s touto šablonou, za ostatními styly.
 * ====================================================================== */

/* ---------- Hero ---------- */

.page-reseni .header-bg {
	align-items: center;
}

.page-reseni .header-main .textace {
	max-width: 820px;
}

.reseni-stitek {
	display: inline-block;
	color: #01DDA4;
	font-weight: 600;
	font-size: 0.9em;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	padding-bottom: 15px;
	transition: color 0.3s ease;
}

.reseni-stitek:hover {
	color: #fff;
}

.page-reseni .header-main h1 {
	line-height: 1.2em;
}

.page-reseni .header-main p {
	font-size: 1.3em;
	font-style: normal;
	font-weight: 400;
	padding-top: 30px;
	opacity: 0.92;
}

.page-reseni .header-main .btn-container {
	padding-top: 45px;
}

.page-reseni .header-img img {
	max-width: 560px;
}

/* ---------- Znáte to? ---------- */

.reseni-bolesti {
	padding-top: 40px;
	padding-bottom: 120px;
}

.reseni-bolesti-seznam {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 40px;
	max-width: 1700px;
	width: 90%;
	margin: 0 auto;
	padding-top: 80px;
}

.reseni-bolesti-seznam li {
	background-color: #fff;
	box-shadow: 0px 0px 30px #D1D9E6;
	border-radius: 30px;
	padding: 40px 35px 35px;
	position: relative;
}

.reseni-bolesti-ikona {
	width: 44px;
	height: 44px;
	border-radius: 100px;
	background: linear-gradient(105deg, rgba(119, 1, 221, 1) 0%, rgba(187, 7, 221, 1) 100%);
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 25px;
}

.reseni-bolesti-seznam p {
	font-size: 1.1em;
	font-weight: 500;
	line-height: 1.55em;
}

.reseni-bolesti-zaver {
	max-width: 1000px;
	width: 90%;
	margin: 0 auto;
	margin-top: 80px;
	text-align: center;
	font-size: 1.45em;
	font-style: italic;
	font-weight: 600;
	line-height: 1.5em;
}

.reseni-bolesti-zaver::after {
	content: "";
	display: block;
	width: 150px;
	height: 3px;
	background-color: #01DDA4;
	margin: 35px auto 0;
}

/* ---------- Jak to řešíme ---------- */

.reseni-sluzby {
	padding-bottom: 120px;
}

.reseni-sluzby-content {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 50px;
	max-width: 1700px;
	width: 90%;
	margin: 0 auto;
	padding-top: 80px;
}

.reseni-sluzba {
	width: 500px;
	background-color: #fff;
	box-shadow: 0px 0px 30px #C8D3E6;
	border-radius: 40px;
	padding: 50px;
	display: flex;
	flex-direction: column;
	color: inherit;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.reseni-sluzba:hover {
	transform: translateY(-8px);
	box-shadow: 0px 15px 45px #AEBBD4;
}

.reseni-sluzba img {
	height: 60px;
	width: auto;
	max-width: 80px;
	object-fit: contain;
	object-position: left center;
}

.reseni-sluzba h3 {
	font-size: 1.35em;
	font-weight: 700;
	font-style: italic;
	line-height: 1.35em;
	padding-top: 30px;
	padding-bottom: 20px;
}

.reseni-sluzba .line {
	height: 3px;
	width: 100px;
	background-color: #01DDA4;
	transition: width 0.3s ease, background-color 0.3s ease;
}

.reseni-sluzba:hover .line {
	width: 180px;
	background-color: #BB07DD;
}

.reseni-sluzba p {
	padding-top: 25px;
	padding-bottom: 35px;
}

/* Stejné modré tlačítko jako na homepage v sekci "Řešíme pro firmy" (.pro-firmy a) */
.reseni-sluzba-odkaz {
	margin-top: auto;
	align-self: flex-start;
	border-radius: 100px;
	background-color: #0B7DE3;
	padding: 15px 30px;
	font-weight: 600;
	color: #fff;
	font-size: 1em;
	transition: background-color 0.3s ease;
}

.reseni-sluzba:hover .reseni-sluzba-odkaz {
	background-color: #0866BA;
}

.reseni-sluzba-odkaz span {
	display: inline-block;
	transition: transform 0.3s ease;
}

.reseni-sluzba:hover .reseni-sluzba-odkaz span {
	transform: translateX(6px);
}

/* ---------- Co tím získáte ---------- */

.reseni-prinosy-obsah {
	padding: 90px;
}

.reseni-prinosy-obsah h2 {
	color: #fff;
	font-size: 2em;
	font-weight: 700;
	text-align: center;
	padding-bottom: 70px;
}

.reseni-prinosy-polozky {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 60px;
}

.reseni-prinosy-polozky h3 {
	color: #fff;
	font-size: 1.4em;
	font-weight: 700;
	font-style: italic;
	padding-bottom: 20px;
}

.reseni-prinosy-polozky .line {
	height: 3px;
	width: 100px;
	background-color: #01DDA4;
}

.reseni-prinosy-polozky p {
	color: #fff;
	padding-top: 20px;
}

/* ---------- Jak spolupráce probíhá ---------- */

.reseni-kroky {
	padding-top: 120px;
}

.reseni-kroky-seznam {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 40px;
	max-width: 1500px;
	width: 90%;
	margin: 0 auto;
	padding-top: 80px;
	counter-reset: none;
}

.reseni-kroky-seznam li {
	position: relative;
	text-align: center;
}

/* Přerušovaná čára mezi čísly kroků */
.reseni-kroky-seznam li:not(:last-child)::after {
	content: "";
	position: absolute;
	top: 35px;
	left: calc(50% + 55px);
	right: calc(-50% + 15px);
	height: 1px;
	background-image: repeating-linear-gradient(to right, #707070 0, #707070 5px, transparent 5px, transparent 15px);
}

.reseni-kroky-cislo {
	width: 70px;
	height: 70px;
	border-radius: 100px;
	background: linear-gradient(105deg, rgba(119, 1, 221, 1) 0%, rgba(187, 7, 221, 1) 100%);
	color: #fff;
	font-size: 1.6em;
	font-weight: 700;
	font-style: italic;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto;
}

.reseni-kroky-seznam p {
	padding-top: 30px;
	font-size: 1.1em;
	font-weight: 500;
	max-width: 300px;
	margin: 0 auto;
}

/* ---------- Proč integrit ---------- */

.reseni-proc-text {
	max-width: 900px;
	width: 90%;
	margin: 0 auto;
	text-align: center;
	font-size: 1.2em;
	padding-top: 30px;
}

.reseni-doplnit {
	border: 2px dashed #BB07DD;
	border-radius: 20px;
	padding: 25px 30px;
	margin-top: 30px;
	font-size: 1em;
	color: #7701DD;
}

.reseni-proc-studie {
	padding-top: 60px;
	width: 90%;
	margin: 0 auto;
}

.reseni-proc .loga-content {
	padding-top: 70px;
	flex-wrap: wrap;
	gap: 30px 0;
}

/* ---------- Závěrečná výzva (kontakt-blok s vlastním nadpisem) ---------- */

.kontakt-blok-perex {
	max-width: 800px;
	width: 90%;
	margin: 0 auto;
	text-align: center;
	font-size: 1.2em;
	padding-top: 20px;
}

/* ---------- Mohlo by vás zajímat ---------- */

.reseni-souvisejici .pro-firmy-content {
	padding-top: 60px;
}

/* =========================================================================
 * Responzivita
 * ====================================================================== */

@media only screen and (max-width: 1600px) {
	.reseni-bolesti-seznam {
		gap: 30px;
	}

	.reseni-bolesti-seznam li {
		padding: 35px 30px 30px;
	}

	.reseni-sluzba {
		width: 440px;
		padding: 40px;
	}

	.reseni-prinosy-polozky {
		gap: 40px;
	}
}

@media only screen and (max-width: 1400px) {
	.reseni-bolesti-seznam,
	.reseni-prinosy-polozky {
		grid-template-columns: repeat(2, 1fr);
	}

	.reseni-bolesti-seznam {
		max-width: 1000px;
	}

	.reseni-prinosy-polozky {
		gap: 50px 60px;
	}
}

@media only screen and (max-width: 1100px) {
	.page-reseni .header-img {
		display: none;
	}

	.reseni-prinosy-obsah {
		padding: 70px 50px;
	}

	/* Kroky pod sebou se svislou přerušovanou čarou */
	.reseni-kroky-seznam {
		grid-template-columns: 1fr;
		max-width: 600px;
		gap: 0;
	}

	.reseni-kroky-seznam li {
		display: flex;
		align-items: flex-start;
		gap: 25px;
		text-align: left;
		padding-bottom: 40px;
	}

	.reseni-kroky-seznam li:not(:last-child)::after {
		top: 70px;
		bottom: 0;
		left: 35px;
		right: auto;
		width: 1px;
		height: auto;
		background-image: repeating-linear-gradient(to bottom, #707070 0, #707070 5px, transparent 5px, transparent 15px);
	}

	.reseni-kroky-cislo {
		flex-shrink: 0;
		margin: 0;
	}

	.reseni-kroky-seznam p {
		padding-top: 20px;
		max-width: none;
		margin: 0;
	}
}

@media only screen and (max-width: 800px) {
	.page-reseni .header-main p {
		font-size: 1.15em;
	}

	.reseni-bolesti {
		padding-bottom: 80px;
	}

	.reseni-bolesti-seznam {
		grid-template-columns: 1fr;
		gap: 20px;
		padding-top: 50px;
	}

	.reseni-bolesti-seznam li {
		display: flex;
		align-items: flex-start;
		gap: 20px;
		padding: 25px;
		border-radius: 24px;
	}

	.reseni-bolesti-ikona {
		flex-shrink: 0;
		margin-bottom: 0;
	}

	.reseni-bolesti-zaver {
		font-size: 1.25em;
		margin-top: 50px;
	}

	.reseni-sluzby {
		padding-bottom: 80px;
	}

	.reseni-sluzby-content {
		padding-top: 50px;
		gap: 30px;
	}

	.reseni-sluzba {
		width: 100%;
		padding: 30px;
		border-radius: 30px;
	}

	.reseni-prinosy .vyhody-content {
		width: 100%;
		border-radius: 0;
	}

	.reseni-prinosy-obsah {
		padding: 60px 8%;
	}

	.reseni-prinosy-obsah h2 {
		padding-bottom: 50px;
	}

	.reseni-prinosy-polozky {
		grid-template-columns: 1fr;
		gap: 40px;
	}

	.reseni-kroky {
		padding-top: 80px;
	}

	.reseni-kroky-seznam {
		padding-top: 50px;
	}

	.reseni-proc-studie .hp-reference-karta {
		width: 100%;
		max-width: 380px;
	}
}

@media only screen and (max-width: 500px) {
	.reseni-kroky-cislo {
		width: 54px;
		height: 54px;
		font-size: 1.3em;
	}

	.reseni-kroky-seznam li:not(:last-child)::after {
		top: 54px;
		left: 27px;
	}

	.reseni-kroky-seznam p {
		padding-top: 13px;
	}
}
