/*
 * Custom styly pro nový homepage redesign (podle předlohy demo2.wpopal.com/atamisa/).
 * Design tokeny (radius, typografická škála, letter-spacing, tranzice, glass-button,
 * marquee keyframes) jsou převzaté přímo z CSS předlohy (post-104.css / elementor.css),
 * barevná paleta je nahrazená za reálný brand EasyHomes (#70ac54) místo lime-green
 * předlohy (#C0FF70), aby nová sekce navazovala na existující hlavičku/patičku.
 * Font zůstává Open Sans dle zbytku webu (předloha používá "Vend Sans").
 * Drženo mimo hlavní dist/index.css, aby se nemusel spouštět gulp build.
 * Animace: existující AOS.js (data-aos) + vlastní count-up + marquee ticker (viz níže).
 */

:root{
	--eh-accent: #70ac54;
	--eh-accent-dark: #5a8a43;
	--eh-dark: #211d21;
	--eh-text: #6e6e6e;
	--eh-light: #f5f5f5;
	--eh-border: #e4e4e4;
	--eh-radius: 20px;
	--eh-radius-pill: 100px;
}

.hp-section{
	position: relative;
}

/* Theme dává .entry-content globální padding (dist/index.css) - na homepage ho
   dole nechceme, poslední sekce (kontaktní formulář) si drží vlastní odsazení. */
.entry-content{
	padding-bottom: 0;
}

.hp-container{
	max-width: 1320px;
	margin: 0 auto;
	padding: 0 20px;
	box-sizing: border-box;
}

/* -----------------------------------------------------------
 * HP Hero
 * --------------------------------------------------------- */
.hp-hero{
	position: relative;
	min-height: 82vh;
	overflow: hidden;
	background: var(--eh-dark);
	color: #fff;
}

.hp-hero__media{
	position: absolute;
	inset: 0;
	z-index: 0;
	overflow: hidden;
}

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

.hp-hero__overlay{
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(33,29,33,.55) 0%, rgba(33,29,33,.15) 35%, rgba(33,29,33,.45) 60%, rgba(15,13,15,.85) 85%, rgba(6,5,6,.98) 100%);
}

/* Full-bleed vnitřní wrapper - text zarovnaný vlevo, ne v centrovaném kontejneru */
.hp-hero__inner{
	position: relative;
	z-index: 1;
	min-height: 82vh;
	display: flex;
	align-items: flex-end;
	padding: 140px 64px 56px;
	box-sizing: border-box;
}

.hp-hero__content{
	max-width: 900px;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 32px;
}

.hp-hero__title{
	margin: 0;
	max-width: 500px;
	font-weight: 300;
	letter-spacing: -0.01em;
	font-size: clamp(34px, 4.8vw, 68px);
	line-height: 1.15;
	color: #fff;
	text-align: left;
}

.hp-hero__counter{
	position: absolute;
	z-index: 1;
	right: 64px;
	bottom: 56px;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 2px;
	text-align: right;
}

.hp-hero__counter-number{
	font-size: clamp(48px, 6vw, 88px);
	font-weight: 400;
	letter-spacing: -0.02em;
	color: #fff;
	line-height: 1;
}

.hp-hero__counter-text{
	font-size: 15px;
	letter-spacing: .2px;
	opacity: .8;
}

/* Glass CTA šipka - dle .elementor-button z předlohy (glassmorphism kruh, rotace -45deg),
   doplněná o čitelný textový štítek (KATALOG), ať je jasné, kam odkaz vede. */
.hp-hero__arrow-wrap{
	position: absolute;
	z-index: 1;
	right: 64px;
	top: 50%;
	transform: translateY(-50%);
	display: flex;
	align-items: center;
	gap: 14px;
	text-decoration: none;
}

.hp-hero__arrow-label{
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: #fff;
	white-space: nowrap;
}

.hp-hero__arrow{
	flex: 0 0 auto;
	width: 96px;
	height: 96px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(0,0,0,.21);
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	border: 1px solid rgba(255,255,255,.1);
	border-radius: 50%;
	transition: background .3s, border-color .3s;
}

.hp-hero__arrow-wrap:hover .hp-hero__arrow{
	background: rgba(255,255,255,.12);
	border-color: rgba(255,255,255,.3);
}

.hp-hero__arrow img{
	width: 22px;
	height: 22px;
	transform: rotate(-45deg);
}

@media (max-width: 900px){
	/* Sekce byla na mobilu zbytečně vysoká. */
	.hp-hero{ min-height: 72vh; }
	/* Na výšku (portrait) je zdrojová fotka domu useknutá skoro celá pryč,
	   protože object-fit:cover na 94vh ořízne hlavně střed/spodek se stavbou -
	   posunout ohnisko níž, ať je barák vidět. */
	.hp-hero__image{ object-position: center 78%; }
	/* Absolutně umístěné počítadlo se na výšku přes dlouhý nadpis překrývalo -
	   na mobilu ho místo toho zařadit do normálního toku pod text, spolu
	   s odkazem na katalog (na desktopu je to kruhová šipka uprostřed vpravo,
	   na mobilu se schovávala úplně - teď se řadí za obsah pomocí order). */
	.hp-hero__inner{ display: flex; flex-direction: column; align-items: flex-start; min-height: 72vh; padding: 110px 24px 40px; }
	.hp-hero__content{ order: 1; }
	.hp-hero__counter{ order: 2; position: static; margin-top: 28px; align-items: flex-start; text-align: left; }
	.hp-hero__counter-number{ font-size: 40px; }

	/* Odkaz na katalog jako výrazná "pilulka" - kolečko i text pohromadě v jednom borderu. */
	.hp-hero__arrow-wrap{
		order: 3;
		position: static;
		transform: none;
		align-self: flex-start;
		margin-top: 24px;
		padding: 6px;
		padding-left: 22px;
		border-radius: var(--eh-radius-pill);
		border: 1px solid rgba(255,255,255,.35);
		background: rgba(0,0,0,.25);
		backdrop-filter: blur(14px);
		-webkit-backdrop-filter: blur(14px);
	}
	.hp-hero__arrow-wrap:hover{
		border-color: rgba(255,255,255,.5);
	}
	.hp-hero__arrow{
		width: 44px;
		height: 44px;
		background: transparent;
		border: none;
	}
	.hp-hero__arrow img{ width: 16px; height: 16px; }
}

/* -----------------------------------------------------------
 * Shared button (pill, dle .elementor-button pattern předlohy)
 * --------------------------------------------------------- */
.hp-btn{
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 16px 36px;
	border-radius: var(--eh-radius-pill);
	font-weight: 600;
	font-size: 15px;
	letter-spacing: -0.01em;
	text-decoration: none;
	transition: color .3s, background-color .3s, border-color .3s;
	border: 1px solid transparent;
}

.hp-btn--primary{
	background: var(--eh-dark);
	color: #fff;
}
.hp-btn--primary:hover{
	background: var(--eh-accent);
	color: #fff;
}

.hp-btn--outline{
	background: transparent;
	color: var(--eh-dark);
	border-color: var(--eh-border);
}
.hp-btn--outline:hover{
	background: var(--eh-dark);
	border-color: var(--eh-dark);
	color: #fff;
}

/* -----------------------------------------------------------
 * HP Pilíře
 * --------------------------------------------------------- */
.hp-pilire{
	padding: 64px 0 100px;
	background: #fff;
}

.hp-pilire__lead{
	margin: 16px 0 0;
	color: var(--eh-text);
	font-size: 17px;
	line-height: 1.6;
	max-width: 520px;
}

.hp-pilire__grid{
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 50px;
}

.hp-pilire__card{
	text-align: left;
}

.hp-pilire__icon{
	width: 40px;
	height: 40px;
	margin-bottom: 26px;
	color: var(--eh-dark);
}

.hp-pilire__icon svg{
	width: 100%;
	height: 100%;
}

.hp-pilire__card-title{
	margin: 0 0 10px;
	font-size: 21px;
	font-weight: 600;
	letter-spacing: -0.01em;
	color: var(--eh-dark);
}

.hp-pilire__card-text{
	margin: 0;
	font-size: 15px;
	line-height: 1.65;
	color: var(--eh-text);
}

@media (max-width: 900px){
	.hp-pilire{ padding: 64px 0; }
	.hp-pilire__grid{ grid-template-columns: 1fr; gap: 36px; }
}

/* -----------------------------------------------------------
 * Shared section head (eyebrow + title [+ CTA vpravo])
 * --------------------------------------------------------- */
.hp-eyebrow{
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: -0.01em;
	color: var(--eh-text);
	margin-bottom: 16px;
}

.hp-eyebrow::before{
	content: '';
	width: 7px;
	height: 7px;
	flex: 0 0 auto;
	background: var(--eh-accent);
}

.hp-eyebrow--light{
	color: rgba(255,255,255,.75);
}

.hp-section-head{
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
	flex-wrap: wrap;
	margin-bottom: 52px;
	text-align: left;
}

.hp-section-head__title{
	margin: 0;
	font-size: clamp(26px, 3.8vw, 54px);
	font-weight: 400;
	letter-spacing: -0.02em;
	color: var(--eh-dark);
	line-height: 1.12;
}

@media (max-width: 1024px){
	.hp-section-head__title{ font-size: 38px; }
}
@media (max-width: 700px){
	.hp-section-head__title{ font-size: 30px; }
}
@media (max-width: 480px){
	.hp-section-head__title{ font-size: 25px; }
}

@media (max-width: 700px){
	.hp-section-head{ flex-direction: column; align-items: flex-start; }
}

/* -----------------------------------------------------------
 * HP Mapa
 * --------------------------------------------------------- */
.hp-mapa{
	padding: 110px 0;
	background: var(--eh-light);
}

.hp-mapa__embed{
	border-radius: var(--eh-radius);
	overflow: hidden;
	box-shadow: 0 24px 60px rgba(33,29,33,.1);
}

/* -----------------------------------------------------------
 * HP section generic paddings (katalog / tym wrappery)
 * --------------------------------------------------------- */
.hp-katalog{
	position: relative;
	overflow: hidden;
	padding: 190px 0 70px;
	background: var(--eh-dark);
	color: #fff;
}

/* Fotka jen v horní části sekce (500px viditelně), posunutá o 140px nahoru
   (méně oblohy, více domu v záběru), pak plynule mizí do tmavé barvy pozadí. */
.hp-katalog__bg{
	position: absolute;
	top: -140px;
	left: 0;
	right: 0;
	width: 100%;
	height: 640px;
	object-fit: cover;
}

/* Přechod do ztracena na tmavou barvu pozadí sekce (bez zeleného nádechu
   kvůli čitelnosti), stejná barva jako v sekci Spokojenost klientů. */
.hp-katalog__overlay{
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 500px;
	background: linear-gradient(180deg,
		rgba(33,29,33,.3) 0%,
		rgba(33,29,33,.75) 60%,
		var(--eh-dark) 100%);
}

.hp-katalog__inner{
	position: relative;
	z-index: 1;
}
.hp-katalog .hp-section-head__title{
	color: #fff;
}

/* -----------------------------------------------------------
 * HP Katalog domů - akordeon (struktura dle předlohy project-item)
 * --------------------------------------------------------- */
.hp-projects{
	border-top: 1px solid rgba(255,255,255,.14);
}

.hp-project-item{
	border-bottom: 1px solid rgba(255,255,255,.14);
}

.hp-project-title{
	display: flex;
	align-items: center;
	gap: 24px;
	width: 100%;
	padding: 30px 0;
	background: none;
	border: none;
	cursor: pointer;
	text-align: left;
	font-family: inherit;
}

.hp-project-title .hp-project-number{
	font-size: 15px;
	color: var(--eh-accent);
	font-weight: 600;
	flex: 0 0 auto;
}

.hp-project-title .hp-project-title-text{
	flex: 1 1 auto;
	font-size: clamp(22px, 2.6vw, 34px);
	font-weight: 500;
	letter-spacing: -0.01em;
	color: rgba(255,255,255,.85);
	transition: color .3s;
}

.hp-project-item.is-open .hp-project-title-text{
	color: var(--eh-accent);
}

.hp-project-arrow{
	flex: 0 0 auto;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	border: 1px solid rgba(255,255,255,.3);
	position: relative;
	transition: transform .35s ease, background .3s, border-color .3s;
}
.hp-project-arrow::before,
.hp-project-arrow::after{
	content: '';
	position: absolute;
	left: 50%;
	top: 50%;
	width: 10px;
	height: 1.5px;
	background: #fff;
}
.hp-project-arrow::before{ transform: translate(-50%,-50%) rotate(-45deg) translateX(3px); }
.hp-project-arrow::after{ transform: translate(-50%,-50%) rotate(45deg) translateX(-3px); }
.hp-project-item.is-open .hp-project-arrow{
	transform: rotate(180deg);
	background: var(--eh-accent);
	border-color: var(--eh-accent);
}
.hp-project-item.is-open .hp-project-arrow::before,
.hp-project-item.is-open .hp-project-arrow::after{
	background: #fff;
}

/* CSS-only smooth accordion (grid-template-rows trick) */
.hp-project-content{
	display: grid;
	grid-template-rows: 0fr;
	overflow: hidden;
	transition: grid-template-rows .45s ease;
}
.hp-project-item.is-open .hp-project-content{
	grid-template-rows: 1fr;
}
.hp-project-content-collapse{
	overflow: hidden;
	display: flex;
	align-items: flex-start;
	gap: 48px;
	min-height: 0;
}

.hp-project-content-inner{
	flex: 1 1 auto;
	min-width: 0;
	padding-bottom: 44px;
}

.hp-project-location{
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 15px;
	color: rgba(255,255,255,.92);
	margin-bottom: 16px;
}
.hp-project-location svg{
	width: 18px;
	height: 18px;
	flex: 0 0 auto;
	color: var(--eh-accent);
}

.hp-project-excerpt p{
	margin: 0 0 26px;
	font-size: 16px;
	line-height: 1.65;
	color: rgba(255,255,255,.92);
	max-width: 560px;
}

.hp-features-list-wrap{
	margin-bottom: 30px;
}
.hp-features-text{
	font-size: 13px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: .5px;
	color: #fff;
	margin-bottom: 12px;
}
.hp-features-list{
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px 24px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.hp-feature-list-item{
	position: relative;
	padding-left: 16px;
	font-size: 14px;
	color: rgba(255,255,255,.92);
}
.hp-feature-list-item::before{
	content: '';
	position: absolute;
	left: 0;
	top: 8px;
	width: 5px;
	height: 5px;
	background: var(--eh-accent);
}

.hp-project-bottom{
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 28px;
	flex-wrap: wrap;
}

.hp-project-budget{
	font-size: 19px;
	font-weight: 600;
	color: #fff;
}

.hp-project-link{
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 13px 26px;
	border-radius: var(--eh-radius-pill);
	background: #fff;
	color: var(--eh-dark);
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	transition: background .3s, color .3s;
}
.hp-project-link:hover{
	background: var(--eh-accent);
	color: #fff;
}

.hp-project-link-icon{
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 16px;
	height: 16px;
	flex: 0 0 auto;
	transition: transform .3s ease;
}
.hp-project-link-icon svg{
	width: 100%;
	height: 100%;
}
.hp-project-link:hover .hp-project-link-icon{
	transform: translate(2px, -2px);
}

.hp-project-post-thumbnail{
	display: block;
	flex: 0 0 auto;
	width: 400px;
	max-width: 40vw;
	aspect-ratio: 4/3;
	border-radius: var(--eh-radius);
	overflow: hidden;
	margin-bottom: 44px;
}
.hp-project-post-thumbnail img{
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

@media (max-width: 900px){
	.hp-katalog{ padding: 64px 0 70px; }
	.hp-project-content-collapse{ flex-direction: column-reverse; gap: 24px; }
	.hp-project-post-thumbnail{ width: 100%; max-width: 100%; margin-bottom: 0; }
	.hp-features-list{ grid-template-columns: 1fr; }
	.hp-project-title{ gap: 14px; }
}

.hp-tym{
	padding: 64px 0 100px;
	background: var(--eh-light);
}

.hp-tym .hp-section-head{
	margin-bottom: 46px;
}

/* Karty týmu jako statická mřížka na celou šířku .hp-container (dřív carousel,
   ale s malým, stabilním počtem lidí je karusel zbytečný - takhle vyplní
   celý řádek a fotky jsou díky tomu i větší). */
.hp-tym__grid{
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 32px;
}

.team-item{
	position: relative;
}

.team-image{
	border-radius: var(--eh-radius);
	overflow: hidden;
}

.team-image-inner{
	aspect-ratio: 4/5;
	overflow: hidden;
}

.team-image-inner img{
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: grayscale(.5);
	transition: filter .4s ease, transform .5s ease;
}

.team-item:hover .team-image-inner img{
	filter: grayscale(0);
	transform: scale(1.04);
}

.team-infor{
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 12px;
	padding-top: 22px;
}

.team-name{
	margin: 0 0 4px;
	font-size: 19px;
	font-weight: 600;
	letter-spacing: -0.01em;
	color: var(--eh-dark);
}

.team-infor a{
	text-decoration: none;
}

.team-job{
	font-size: 14px;
	color: var(--eh-text);
}

.team-box-socials-wrapper ul{
	display: flex;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.team-box-socials-wrapper .social{
	/* Theme má globální .entry-content li { margin-left:20px; list-style:circle }
	   (dist/critical.css) - přebít přímo zde, ať u ikonek není odsazení ani puntík. */
	margin: 0;
	list-style: none;
}
.team-box-socials-wrapper .social::marker{
	content: '';
}

.team-box-socials-wrapper .social a{
	display: flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	border: 1px solid var(--eh-border);
	color: var(--eh-dark);
	transition: background .3s, border-color .3s, color .3s;
}
.team-box-socials-wrapper .social a:hover{
	background: var(--eh-accent);
	border-color: var(--eh-accent);
	color: #fff;
}
.team-box-socials-wrapper .social svg{
	width: 15px;
	height: 15px;
}

@media (max-width: 900px){
	.hp-tym{ padding: 64px 0; }
	.hp-tym__grid{ grid-template-columns: repeat(2, 1fr); gap: 24px; }
	/* Užší karty na mobilu - jméno/pozice vedle ikon soc. sítí se moc mačkaly,
	   místo toho ať jméno+pozice zabírají celou šířku a ikony jsou pod nimi. */
	.team-infor{ flex-direction: column; align-items: flex-start; gap: 14px; }
	.team-infor-wrap{ width: 100%; }
}
@media (max-width: 560px){
	.hp-tym__grid{ grid-template-columns: 1fr; max-width: 320px; margin: 0 auto; }
}

/* -----------------------------------------------------------
 * HP Technologie
 * --------------------------------------------------------- */
.hp-technologie{
	padding: 70px 0 110px;
	background: #fff;
}

/* Dvousloupcový layout: obrázek vlevo, dělený seznam vpravo (dle předlohy) */
.hp-technologie__row{
	display: grid;
	grid-template-columns: minmax(280px, 40%) 1fr;
	gap: 64px;
	align-items: start;
}

.hp-technologie__media{
	position: sticky;
	top: 100px;
	border-radius: var(--eh-radius);
	overflow: hidden;
}
.hp-technologie__media img{
	display: block;
	width: 100%;
	height: auto;
}

.hp-technologie__list{
	border-top: 1px solid var(--eh-border);
}

.hp-technologie__item{
	display: grid;
	grid-template-columns: 40px 1fr;
	gap: 8px 24px;
	padding: 28px 0;
	border-bottom: 1px solid var(--eh-border);
}

.hp-technologie__icon{
	width: 32px;
	height: 32px;
	color: var(--eh-dark);
}
.hp-technologie__icon svg{ width: 100%; height: 100%; }

.hp-technologie__item h3{
	margin: 0;
	font-size: 20px;
	font-weight: 600;
	letter-spacing: -0.01em;
	color: var(--eh-dark);
}
.hp-technologie__item h3 a{
	color: inherit;
	text-decoration: none;
	transition: color .3s;
}
.hp-technologie__item h3 a:hover{
	color: var(--eh-accent);
}

.hp-technologie__item p{
	grid-column: 2;
	margin: 0;
	font-size: 15px;
	line-height: 1.6;
	color: var(--eh-text);
}

@media (max-width: 900px){
	.hp-technologie{ padding: 64px 0; }
	.hp-technologie__row{ grid-template-columns: 1fr; gap: 36px; }
	.hp-technologie__media{ position: static; }
}

/* -----------------------------------------------------------
 * HP Spokojenost klientů
 * --------------------------------------------------------- */
.hp-spokojenost{
	padding: 120px 0;
	background: var(--eh-dark);
	color: #fff;
}

.hp-spokojenost__row{
	display: grid;
	grid-template-columns: 320px 1fr;
	gap: 60px;
}

.hp-spokojenost__col--rating{
	border-right: 1px solid rgba(255,255,255,.12);
	padding-right: 40px;
}

.hp-spokojenost__rating{
	margin-top: 26px;
}

.hp-spokojenost__rating-number{
	font-size: 64px;
	font-weight: 400;
	letter-spacing: -0.02em;
	color: #fff;
}

.hp-spokojenost__rating-max{
	font-size: 24px;
	color: rgba(255,255,255,.5);
}

.hp-spokojenost__stars{
	color: var(--eh-accent);
	letter-spacing: 3px;
	font-size: 16px;
	margin: 10px 0 12px;
}

.hp-spokojenost__rating-text{
	display: block;
	font-size: 14px;
	color: rgba(255,255,255,.6);
}

.hp-spokojenost__col--quote{
	position: relative;
	padding-top: 6px;
	min-width: 0;
}

.hp-spokojenost__quote-mark{
	display: block;
	font-size: 64px;
	line-height: 1;
	font-weight: 700;
	color: var(--eh-accent);
	margin-bottom: 8px;
	font-family: Georgia, serif;
}

.hp-spok-card__text{
	font-size: 26px;
	line-height: 1.4;
	font-weight: 400;
	letter-spacing: -0.01em;
	color: #fff;
	margin-bottom: 36px;
	max-width: 720px;
}

.hp-spok-card__author{
	display: flex;
	align-items: center;
	gap: 14px;
}

.hp-spok-card__avatar img{
	width: 48px;
	height: 48px;
	border-radius: 50%;
	object-fit: cover;
}

.hp-spok-card__name{
	font-weight: 600;
	font-size: 15px;
	color: #fff;
}

.hp-spokojenost__nav{
	position: absolute;
	right: 0;
	bottom: 6px;
	display: flex;
	align-items: center;
	gap: 22px;
}

.hp-spokojenost__arrows{
	display: flex;
	gap: 10px;
}

/* Malá tečková navigace (bublinky) vedle šipek, vpravo dole u citace */
.hp-spokojenost__dots-list{
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.hp-spokojenost__dots-list li{
	list-style: none;
	line-height: 0;
}
.hp-spokojenost__dots-list button{
	width: 8px;
	height: 8px;
	padding: 0;
	border: none;
	border-radius: 50%;
	background: rgba(255,255,255,.3);
	font-size: 0;
	text-indent: -9999px;
	cursor: pointer;
	transition: background .3s, transform .3s;
}
.hp-spokojenost__dots-list li:hover button{
	background: rgba(255,255,255,.55);
}
.hp-spokojenost__dots-list li.slick-active button{
	background: var(--eh-accent);
	transform: scale(1.35);
}

.hp-spokojenost__nav-btn{
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: transparent;
	border: 1px solid rgba(255,255,255,.25);
	color: #fff;
	font-size: 16px;
	cursor: pointer;
	transition: background .3s, border-color .3s;
}
.hp-spokojenost__nav-btn:hover{
	background: var(--eh-accent);
	border-color: var(--eh-accent);
}

@media (max-width: 900px){
	.hp-spokojenost{ padding: 64px 0; }
	.hp-spokojenost__row{ grid-template-columns: 1fr; gap: 40px; }
	.hp-spokojenost__col--rating{ border-right: none; padding-right: 0; border-bottom: 1px solid rgba(255,255,255,.12); padding-bottom: 32px; }
	.hp-spok-card__text{ font-size: 20px; }
	.hp-spokojenost__nav{ position: static; margin-top: 20px; }
}

/* -----------------------------------------------------------
 * HP Realizace video (styl "See inside" z předlohy)
 * --------------------------------------------------------- */
.hp-real-video{
	position: relative;
	padding: 0;
	background: #fff;
}

/* "Frame" = full-bleed obrazová plocha s nadpisem a marquee štítky přes spodní část */
.hp-real-video__frame{
	position: relative;
	overflow: hidden;
	min-height: 880px;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	color: #fff;
}

.hp-real-video__bg{
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hp-real-video__overlay{
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(33,29,33,.15) 0%, rgba(33,29,33,.35) 55%, rgba(33,29,33,.75) 100%);
}

.hp-real-video__content{
	position: relative;
	z-index: 1;
	/* .hp-container má margin:0 auto pro běžné blokové centrování, jenže tenhle
	   prvek je flex item ve sloupcovém flexu (.hp-real-video__frame) - tam auto
	   marginy na křížové ose místo "stretch" na plnou šířku obsah smrsknou na
	   fit-content a vycentrují (proto byl nadpis odsazený od levého okraje víc
	   než zbytek stránky). Explicitní width tomu zabrání. */
	width: 100%;
	padding-bottom: 44px;
}

.hp-real-video__headrow{
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
	flex-wrap: wrap;
}

.hp-real-video__title{
	margin: 0;
	font-size: clamp(30px, 4.5vw, 64px);
	font-weight: 500;
	letter-spacing: -0.02em;
	color: #fff;
	max-width: 640px;
}

.hp-real-video__actions{
	display: flex;
	align-items: center;
	gap: 18px;
}

.hp-btn--light{
	color: #fff;
	border-color: rgba(255,255,255,.35);
}
.hp-btn--light:hover{
	background: var(--eh-accent);
	border-color: var(--eh-accent);
	color: #fff;
}

/* Marquee pás štítků jako pill-badge overlay přes spodní hranu obrázku
   (technika z předlohy atamisa-slide-scrolling: obsah 2x duplikovaný, translateX(-50%)) */
.hp-real-video__tags{
	position: relative;
	z-index: 1;
	overflow: hidden;
	padding: 20px 0;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
	mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.hp-real-video__tags-track{
	display: inline-flex;
	gap: 14px;
	white-space: nowrap;
	animation: hp-marquee 30s linear infinite;
	width: max-content;
}

.hp-real-video__tags:hover .hp-real-video__tags-track{
	animation-play-state: paused;
}

.hp-real-video__tag{
	display: inline-flex;
	align-items: center;
	padding: 12px 26px;
	border-radius: var(--eh-radius-pill);
	background: rgba(255,255,255,.12);
	border: 1px solid rgba(255,255,255,.2);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	font-size: 14px;
	font-weight: 500;
	letter-spacing: -0.01em;
	color: #fff;
	white-space: nowrap;
}

@keyframes hp-marquee{
	0% { transform: translateX(0); }
	100% { transform: translateX(-50%); }
}

/* Proužek s náhledy uvnitř rámu fotky, pod marquee štítky - glass panel */
.hp-real-video__thumbs-strip{
	position: relative;
	z-index: 1;
	margin-top: 6px;
	padding: 28px 0 34px;
	background: rgba(10,9,11,.45);
	backdrop-filter: blur(22px);
	-webkit-backdrop-filter: blur(22px);
	border-top: 1px solid rgba(255,255,255,.12);
}

.hp-real-video__thumbs{
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: 14px;
}

.hp-real-video__thumb{
	position: relative;
	display: block;
	aspect-ratio: 4/3;
	border-radius: var(--eh-radius);
	overflow: hidden;
	text-decoration: none;
}
.hp-real-video__thumb img{
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .4s ease-out;
}
.hp-real-video__thumb:hover img{
	transform: scale(1.08);
}
.hp-real-video__thumb span{
	position: absolute;
	left: 0; right: 0; bottom: 0;
	padding: 8px 10px 26px;
	font-size: 11px;
	line-height: 1.3;
	color: #fff;
	background: linear-gradient(0deg, rgba(0,0,0,.75), transparent);
}

@media (max-width: 900px){
	.hp-real-video{ padding: 64px 0; }
	.hp-real-video__frame{ min-height: 760px; padding-top: 90px; }
	.hp-real-video__thumbs-strip{ padding: 20px 0 24px; }

	/* Na mobilu je náhledů příliš mnoho vedle sebe (grid) - přepnout na
	   vodorovně swipovatelný proužek s "peek" efektem, ať je jasné, že jde o slider. */
	.hp-real-video__thumbs{
		display: flex;
		grid-template-columns: none;
		gap: 12px;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
		margin-left: -20px;
		margin-right: -20px;
		padding-left: 20px;
		padding-right: 20px;
	}
	.hp-real-video__thumbs::-webkit-scrollbar{ display: none; }
	.hp-real-video__thumb{
		flex: 0 0 auto;
		width: 68%;
		scroll-snap-align: start;
	}
}
@media (max-width: 500px){
	.hp-real-video__thumb{ width: 78%; }
}

/* -----------------------------------------------------------
 * HP Kontaktní formulář
 * --------------------------------------------------------- */
.hp-kontakt-formular{
	padding: 110px 0;
	background: var(--eh-dark);
}

.hp-kontakt-formular__title{
	text-align: center;
	max-width: 620px;
	margin: 0 auto 40px;
	font-size: clamp(24px, 3vw, 38px);
	font-weight: 500;
	letter-spacing: -0.02em;
	color: #fff;
}

.hp-kontakt-formular__form{
	max-width: 760px;
	margin: 0 auto;
	background: rgba(255,255,255,.04);
	padding: 40px;
	border-radius: var(--eh-radius);
	border: 1px solid rgba(255,255,255,.1);
}

/* WPForms - tmavé přepsání pouze v kontextu homepage formuláře */
.hp-kontakt-formular__form .wpforms-field-label,
.hp-kontakt-formular__form .wpforms-field-label-inline,
.hp-kontakt-formular__form legend{
	color: rgba(255,255,255,.85) !important;
}
.hp-kontakt-formular__form input[type=text],
.hp-kontakt-formular__form input[type=email],
.hp-kontakt-formular__form input[type=tel],
.hp-kontakt-formular__form textarea,
.hp-kontakt-formular__form select{
	background: rgba(255,255,255,.06) !important;
	border: 1px solid rgba(255,255,255,.16) !important;
	border-radius: 10px !important;
	color: #fff !important;
}
.hp-kontakt-formular__form input::placeholder,
.hp-kontakt-formular__form textarea::placeholder{
	color: rgba(255,255,255,.4) !important;
}
.hp-kontakt-formular__form .wpforms-submit-container button,
.hp-kontakt-formular__form button[type=submit]{
	background: var(--eh-accent) !important;
	border-radius: var(--eh-radius-pill) !important;
	border: none !important;
	padding: 14px 34px !important;
	font-weight: 600 !important;
	transition: background .3s !important;
}
.hp-kontakt-formular__form .wpforms-submit-container button:hover,
.hp-kontakt-formular__form button[type=submit]:hover{
	background: var(--eh-accent-dark) !important;
}
.hp-kontakt-formular__form label,
.hp-kontakt-formular__form .wpforms-field-checkbox label,
.hp-kontakt-formular__form .wpforms-field-radio label{
	color: rgba(255,255,255,.75) !important;
}

/* -----------------------------------------------------------
 * Slider partneři / magazín / katalog / realizace - wrapper sekce
 * --------------------------------------------------------- */
/* Marquee pás log partnerů - bezhlavičkový, tmavý, navazuje přímo na
   Spokojenost klientů a plynule pokračuje do Realizace-video (žádné mezery). */
.hp-partneri{
	padding: 56px 0;
	background: var(--eh-dark);
}

.hp-partneri__track-wrap{
	overflow: hidden;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
	mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.hp-partneri__track{
	display: inline-flex;
	align-items: center;
	white-space: nowrap;
	width: max-content;
	animation: hp-marquee 24s linear infinite;
}
.hp-partneri__track-wrap:hover .hp-partneri__track{
	animation-play-state: paused;
}

.hp-partneri__logo{
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin: 0 24px;
	padding: 14px 28px;
	background: #fff;
	border-radius: var(--eh-radius-pill);
	opacity: .8;
	transition: opacity .3s, transform .3s;
}
.hp-partneri__logo:hover{
	opacity: 1;
	transform: translateY(-2px);
}
.hp-partneri__logo img{
	display: block;
	height: 28px;
	width: auto;
	max-width: 130px;
	object-fit: contain;
}

.hp-magazin{
	padding: 64px 0 100px;
	background: #fff;
}

.hp-magazin .hp-section-head{
	margin-bottom: 46px;
}

/* Carousel článků (Slick, variableWidth) - stejná technika jako u karuselu týmu,
   odsazení zleva navazuje na text nadpisu. */
.hp-magazin__slider{
	padding-left: max(20px, calc((100vw - 1320px) / 2 + 20px));
}
.hp-magazin__slider .slick-list{
	overflow: visible;
}
.hp-magazin__slider .slick-track{
	display: flex;
	align-items: stretch;
}

.hp-slides-magazin .slide-item{
	width: 380px;
	margin-right: 24px;
	box-sizing: border-box;
	cursor: grab;
}
.hp-slides-magazin .slide-item:active{ cursor: grabbing; }
.hp-slides-magazin img{
	-webkit-user-drag: none;
	user-select: none;
}

.hp-post-card{
	display: flex;
	flex-direction: column;
	height: 100%;
}

.hp-post-card__thumb{
	display: block;
	aspect-ratio: 4/3;
	border-radius: var(--eh-radius);
	overflow: hidden;
	margin-bottom: 22px;
}
.hp-post-card__thumb img{
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform .4s ease-out;
}
.hp-post-card:hover .hp-post-card__thumb img{
	transform: scale(1.05);
}

.hp-post-card__meta{
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 12px;
	font-size: 13px;
	color: var(--eh-text);
}
.hp-post-card__cat{
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-weight: 600;
	color: var(--eh-accent);
	text-transform: uppercase;
	letter-spacing: .3px;
}
.hp-post-card__cat::before{
	content: '';
	width: 6px;
	height: 6px;
	background: var(--eh-accent);
	display: inline-block;
}
.hp-post-card__date::before{
	content: '·';
	margin-right: 10px;
	color: var(--eh-border);
}

.hp-post-card__title{
	margin: 0 0 10px;
	font-size: 20px;
	font-weight: 600;
	letter-spacing: -0.01em;
	line-height: 1.3;
}
.hp-post-card__title a{
	color: var(--eh-dark);
	text-decoration: none;
	transition: color .3s;
}
.hp-post-card:hover .hp-post-card__title a{
	color: var(--eh-accent);
}

.hp-post-card__excerpt{
	font-size: 14px;
	line-height: 1.6;
	color: var(--eh-text);
}

@media (max-width: 900px){
	.hp-magazin{ padding: 64px 0; }
	.hp-slides-magazin .slide-item{ width: 300px; margin-right: 20px; }
}
@media (max-width: 500px){
	.hp-slides-magazin .slide-item{ width: 260px; margin-right: 16px; }
}
