/*
Theme Name: ProEnvi
Theme URI: https://www.proenvi.cz/
Author: ProEnvi s.r.o.
Description: Bloková šablona pro web ProEnvi – Kateřina Kufová & tým. Rozvoj lidí a týmů, Horsemanship Academy, Brain Academy, měkké dovednosti a koučink.
Requires at least: 6.6
Tested up to: 7.1
Requires PHP: 7.4
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: proenvi
*/

/* ---------- Základ ---------- */
:root {
	--pe-navy: var(--wp--preset--color--navy, #1C2554);
	--pe-green: var(--wp--preset--color--green, #3F8A63);
	--pe-mint: var(--wp--preset--color--mint, #9FD3B6);
	--pe-ink: var(--wp--preset--color--ink, #161B33);
	--pe-muted: var(--wp--preset--color--muted, #5A5E73);
	--pe-cream: var(--wp--preset--color--cream, #F7F2EA);
	--pe-sand: var(--wp--preset--color--sand, #EFE6D7);
	--pe-display: var(--wp--preset--font-family--display);
	--pe-wrap: 1280px;
	--pe-gutter: 28px;
}

html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }
.wp-site-blocks { padding-top: 0; padding-bottom: 0; }
.wp-site-blocks > * + * { margin-block-start: 0; }
/* Vlastní rozestupy – vypíná automatické mezery mezi bloky uvnitř sekcí */
:is(.pe-section, .pe-site-header, .pe-footer) :is(div, section, nav, p, h1, h2, h3, h4, figure, ul, ol) { margin-block-start: 0; margin-block-end: 0; }
.pe-section p, .pe-section h1, .pe-section h2, .pe-section h3, .pe-section figure { margin-left: 0; margin-right: 0; }

.pe-wrap {
	max-width: var(--pe-wrap);
	margin-left: auto !important;
	margin-right: auto !important;
	padding-left: var(--pe-gutter);
	padding-right: var(--pe-gutter);
	box-sizing: border-box;
}

.pe-eyebrow {
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 1.6px;
	text-transform: uppercase;
	color: var(--pe-green);
	margin-bottom: 14px !important;
}

.pe-section-head {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: flex-end;
	gap: 24px 64px;
}
.pe-section-head > .pe-head-main { flex: 1 1 560px; }
.pe-section-head > .pe-lead { flex: 1 1 360px; font-size: 20px; color: #3A3F57; }

.pe-h2 {
	font-size: clamp(36px, 4.4vw, 60px) !important;
	line-height: 1.02 !important;
	letter-spacing: -1.5px !important;
}

/* ---------- Tlačítka ---------- */
.wp-block-button .wp-block-button__link { transition: background-color .2s, color .2s, border-color .2s; }
.pe-btn-arrow .wp-block-button__link::after {
	content: "";
	display: inline-block;
	width: 18px;
	height: 18px;
	margin-left: 10px;
	vertical-align: -3px;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
}
.pe-btn-shadow .wp-block-button__link { box-shadow: 0 10px 24px -10px rgba(28,37,84,.55); }
.pe-btn-play .wp-block-button__link {
	background: transparent !important;
	color: var(--pe-navy) !important;
	padding-left: 0 !important;
	display: inline-flex;
	align-items: center;
}
.pe-btn-play .wp-block-button__link::before {
	content: "";
	width: 46px;
	height: 46px;
	margin-right: 12px;
	border-radius: 50%;
	border: 1.5px solid var(--pe-navy);
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%231C2554'%3E%3Cpath d='M8 5v14l11-7z'/%3E%3C/svg%3E") center / 16px no-repeat;
	box-sizing: border-box;
}
.pe-btn-play .wp-block-button__link:hover { color: var(--pe-green) !important; }
.pe-btn-outline .wp-block-button__link {
	background: transparent !important;
	color: var(--pe-navy) !important;
	border: 1.5px solid var(--pe-navy);
	padding: 14px 24px !important;
}
.pe-btn-outline .wp-block-button__link:hover { background: var(--pe-navy) !important; color: #fff !important; }
.pe-btn-green .wp-block-button__link { background: var(--pe-green) !important; }
.pe-btn-green .wp-block-button__link:hover { background: #2F7552 !important; }

/* ---------- Hlavička ---------- */
.pe-site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(247,242,234,.92);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid rgba(28,37,84,.08);
}
body.admin-bar .pe-site-header { top: var(--wp-admin--admin-bar--height, 32px); }
.pe-header-inner {
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	gap: 14px 36px;
	padding-top: 14px;
	padding-bottom: 14px;
}
.pe-header-inner .pe-logo { flex: none; margin: 0 !important; }
.pe-header-inner .pe-logo img { height: 46px; width: auto; display: block; }
.pe-header-inner .wp-block-navigation { flex: 1 1 auto; justify-content: center; font-size: 16px; font-weight: 600; }
.pe-header-inner .wp-block-navigation .wp-block-navigation-item__content { color: var(--pe-ink); text-decoration: none; }
.pe-header-inner .wp-block-navigation .wp-block-navigation-item__content:hover { color: var(--pe-green); }
.pe-header-inner .wp-block-navigation__container { gap: 6px 28px; }
.pe-header-inner .wp-block-buttons { flex: none; margin: 0 !important; }
.pe-header-inner .wp-block-button__link { padding: 12px 20px !important; font-size: 16px !important; }

/* mobilní menu */
.wp-block-navigation__responsive-container-open,
.wp-block-navigation__responsive-container-close { color: var(--pe-navy); }
.wp-block-navigation__responsive-container-open {
	width: 46px;
	height: 46px;
	border-radius: 50%;
	background: var(--pe-navy) !important;
	color: #fff !important;
	display: flex;
	align-items: center;
	justify-content: center;
}
.wp-block-navigation__responsive-container.is-menu-open {
	background: var(--pe-cream) !important;
	padding: 28px !important;
}
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
	font-family: var(--pe-display);
	font-size: 30px;
	font-weight: 700;
	color: var(--pe-navy);
}
@media (max-width: 600px) {
	.pe-header-inner { gap: 12px; }
	.pe-header-inner .pe-logo img { height: 38px; }
	.pe-header-inner .wp-block-navigation { justify-content: flex-end; order: 3; flex: none; }
	.pe-header-inner .wp-block-buttons { display: none; }
	.pe-header-inner .pe-logo { margin-right: auto !important; }
}

/* ---------- Hero ---------- */
.pe-hero .pe-hero-grid {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 56px;
	padding-top: 64px;
	padding-bottom: 72px;
}
.pe-hero-text { flex: 1 1 540px; min-width: 0; position: relative; z-index: 2; }
.pe-badge {
	display: inline-flex !important;
	align-items: center;
	gap: 10px;
	background: #fff;
	border: 1px solid rgba(28,37,84,.1);
	border-radius: 999px;
	padding: 8px 16px 8px 12px;
	font-size: 14px;
	font-weight: 600;
	color: var(--pe-navy);
}
.pe-badge::before {
	content: "";
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--pe-green);
	box-shadow: 0 0 0 4px rgba(63,138,99,.18);
}
.pe-hero-title {
	margin-top: 26px !important;
	font-size: clamp(46px, 6vw, 84px) !important;
	line-height: .98 !important;
	letter-spacing: -2.5px !important;
}
.pe-hero-title em { color: var(--pe-green); font-weight: 700; }
.pe-hero-lead { margin-top: 30px !important; font-size: 21px; line-height: 1.55; max-width: 540px; color: #3A3F57; }
.pe-hero-lead strong { color: var(--pe-ink); }
.pe-hero .wp-block-buttons { margin-top: 38px !important; gap: 14px 22px; align-items: center; }
.pe-stats {
	display: flex;
	flex-wrap: wrap;
	gap: 28px 40px;
	margin-top: 48px !important;
	padding-top: 28px;
	border-top: 1px solid rgba(28,37,84,.12);
}
.pe-stat-num { font-family: var(--pe-display); font-weight: 800; font-size: 34px; line-height: 1; color: var(--pe-navy); }
.pe-stat-label { font-size: 15px; color: var(--pe-muted); margin-top: 6px !important; }

.pe-hero-visual {
	flex: 1 1 440px;
	min-width: 0;
	position: relative;
	width: min(100%, 540px);
	max-width: 540px;
	aspect-ratio: 1 / 1;
	margin: 0 auto !important;
}
.pe-hero-visual::before {
	content: "";
	position: absolute;
	inset: -6% -10% -10% 6%;
	border-radius: 50%;
	background: var(--wp--preset--color--beige, #E9DDC8);
}
.pe-hero-visual::after {
	content: "";
	position: absolute;
	inset: -9%;
	border-radius: 50%;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Ccircle cx='50' cy='50' r='49' fill='none' stroke='%231C2554' stroke-opacity='.18' stroke-width='.25'/%3E%3Ccircle cx='50' cy='50' r='45.5' fill='none' stroke='%233F8A63' stroke-opacity='.55' stroke-width='.35' stroke-dasharray='1 2.2'/%3E%3C/svg%3E") center / contain no-repeat;
	pointer-events: none;
}
.pe-hero-photo { position: absolute !important; inset: 0; z-index: 1; margin: 0 !important; }
.pe-hero-photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 50%;
	box-shadow: 0 30px 60px -30px rgba(28,37,84,.45);
}
.pe-float {
	position: absolute !important;
	z-index: 3;
	border-radius: 18px;
	padding: 14px 18px;
	box-shadow: 0 18px 40px -18px rgba(22,27,51,.4);
	margin: 0 !important;
}
.pe-float-course {
	left: -4%;
	bottom: 10%;
	background: #fff;
	padding-left: 72px;
	font-size: 14px;
	line-height: 1.35;
}
.pe-float-course::before {
	content: "";
	position: absolute;
	left: 18px;
	top: 50%;
	transform: translateY(-50%);
	width: 42px;
	height: 42px;
	border-radius: 12px;
	background: #DCEFE3 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233F8A63' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='16' rx='3'/%3E%3Cpath d='M3 10h18M8 3v4M16 3v4'/%3E%3C/svg%3E") center / 22px no-repeat;
}
.pe-float-course .pe-float-small { color: var(--pe-muted); }
.pe-float-course .pe-float-strong { font-size: 16px; font-weight: 700; color: var(--pe-ink); }
.pe-float-programs {
	right: -2%;
	top: 6%;
	max-width: 200px;
	background: var(--pe-navy);
	color: #fff;
}
.pe-float-programs .pe-float-small { font-size: 13px; color: #B9C1E0; font-weight: 500; }
.pe-float-programs .pe-float-strong { font-family: var(--pe-display); font-size: 20px; font-weight: 700; line-height: 1.15; margin-top: 2px !important; }
@media (max-width: 600px) {
	.pe-hero .pe-hero-grid { padding-top: 40px; gap: 48px; }
	.pe-float-course { left: 0; bottom: 2%; }
	.pe-float-programs { right: 0; top: 0; }
}

/* ---------- Loga ---------- */
.pe-logos { background: #fff; }
.pe-logos .pe-wrap {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 18px 40px;
	padding-top: 30px;
	padding-bottom: 30px;
}
.pe-logos .pe-logos-label { flex: 0 0 auto; font-size: 14px; font-weight: 600; letter-spacing: 1.4px; text-transform: uppercase; color: var(--pe-muted); }
.pe-logos .pe-logos-img { flex: 1 1 560px; min-width: 0; }
.pe-logos .pe-logos-img img {
	width: 100%;
	max-height: 72px;
	object-fit: contain;
	filter: grayscale(1) contrast(1.1);
	opacity: .75;
	mix-blend-mode: multiply;
}

/* ---------- Proč koně ---------- */
.pe-why { background: var(--pe-navy); color: #fff; position: relative; overflow: hidden; }
.pe-why::before {
	content: "";
	position: absolute;
	right: -180px;
	top: -160px;
	width: 620px;
	height: 620px;
	opacity: .12;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 600'%3E%3Cg fill='none' stroke='white' stroke-width='1.5'%3E%3Ccircle cx='300' cy='300' r='298'/%3E%3Ccircle cx='300' cy='300' r='220'/%3E%3Ccircle cx='300' cy='300' r='142'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
	pointer-events: none;
}
.pe-why .pe-wrap { position: relative; padding-top: 104px; }
.pe-why .pe-eyebrow { color: var(--pe-mint); }
.pe-why-quote {
	font-family: var(--pe-display);
	font-weight: 800;
	font-size: clamp(40px, 5vw, 72px);
	line-height: 1;
	letter-spacing: -2px;
	color: #fff;
}
.pe-why .pe-section-head > .pe-lead { color: #D3D8EC; font-size: 19px; }
.pe-why-cards {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 20px;
	margin-top: 64px !important;
}
.pe-why-card {
	background: rgba(255,255,255,.06);
	border: 1px solid rgba(255,255,255,.12);
	border-radius: 20px;
	padding: 28px;
}
.pe-why-card::before {
	content: "";
	display: block;
	width: 32px;
	height: 32px;
	margin-bottom: 18px;
	background: center / contain no-repeat;
}
.pe-why-card.pe-icon-bolt::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239FD3B6' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M13 2L4 14h7l-1 8 9-12h-7z'/%3E%3C/svg%3E"); }
.pe-why-card.pe-icon-target::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239FD3B6' stroke-width='1.6'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3C/svg%3E"); }
.pe-why-card.pe-icon-trend::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239FD3B6' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 17l6-6 4 4 6-8'/%3E%3Cpath d='M14 7h6v6'/%3E%3C/svg%3E"); }
.pe-why-card h3 { color: #fff; font-size: 22px !important; margin-bottom: 8px !important; }
.pe-why-card p { color: #C7CDE6; font-size: 17px; }
.pe-why-photo { margin-top: 64px !important; border-radius: 28px 28px 0 0; overflow: hidden; height: clamp(220px, 30vw, 420px); }
.pe-why-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; display: block; }

/* ---------- Programy ---------- */
.pe-programs .pe-wrap { padding-top: 112px; padding-bottom: 112px; }
.pe-program-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 20px;
	margin-top: 52px !important;
}
.pe-program {
	background: #fff;
	border: 1px solid rgba(28,37,84,.08);
	border-radius: 22px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: transform .2s, box-shadow .2s;
}
.pe-program:hover { transform: translateY(-4px); box-shadow: 0 22px 40px -24px rgba(22,27,51,.35); }
.pe-program .pe-program-img { margin: 0 !important; }
.pe-program .pe-program-img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.pe-program-body { padding: 24px 26px 28px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.pe-program-body h3 { font-size: 23px !important; }
.pe-program-body h3 a { color: var(--pe-navy); text-decoration: none; }
.pe-program-body .pe-program-text { color: #4A4F66; font-size: 17px; flex: 1; }
.pe-program-body .pe-more { margin-top: 8px !important; font-weight: 600; }
.pe-more a { color: var(--pe-green); text-decoration: none; }
.pe-more a:hover { text-decoration: underline; }

/* ---------- Komu pomáhám ---------- */
.pe-audience { background: var(--pe-sand); }
.pe-audience .pe-wrap { padding-top: 104px; padding-bottom: 104px; }
.pe-audience .pe-h2 { max-width: 760px; font-size: clamp(32px, 3.8vw, 52px) !important; }
.pe-audience-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 20px;
	margin-top: 52px !important;
}
.pe-audience-card {
	background: #fff;
	border-radius: 24px;
	padding: 34px;
	display: flex;
	flex-direction: column;
	gap: 14px;
	min-height: 300px;
	box-sizing: border-box;
}
.pe-audience-card::before {
	content: "";
	width: 52px;
	height: 52px;
	border-radius: 16px;
	background: #DCEFE3 center / 26px no-repeat;
}
.pe-audience-card.pe-icon-briefcase::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239FD3B6' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='7' width='18' height='13' rx='2'/%3E%3Cpath d='M8 7V5a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2M3 13h18'/%3E%3C/svg%3E"); }
.pe-audience-card.pe-icon-team::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233F8A63' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='8' r='3'/%3E%3Ccircle cx='17' cy='9' r='2.4'/%3E%3Cpath d='M3 20c0-3.3 2.7-6 6-6s6 2.7 6 6M15 14.5c3 0 6 1.8 6 5.5'/%3E%3C/svg%3E"); }
.pe-audience-card.pe-icon-heart::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233F8A63' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s-7-4.4-7-10a4 4 0 0 1 7-2.6A4 4 0 0 1 19 11c0 5.6-7 10-7 10z'/%3E%3C/svg%3E"); }
.pe-audience-card h3 { font-size: 26px !important; line-height: 1.15 !important; }
.pe-audience-card .pe-audience-text { color: #4A4F66; flex: 1; }
.pe-audience-card.is-dark { background: var(--pe-navy); color: #fff; }
.pe-audience-card.is-dark::before { background-color: rgba(255,255,255,.1); }
.pe-audience-card.is-dark h3 { color: #fff; }
.pe-audience-card.is-dark .pe-audience-text { color: #C7CDE6; }
.pe-audience-card.is-dark .pe-more a { color: var(--pe-mint); }

/* ---------- Reference ---------- */
.pe-refs .pe-wrap { padding-top: 112px; padding-bottom: 112px; }
.pe-refs-grid { display: flex; flex-wrap: wrap; gap: 24px; align-items: stretch; }
.pe-ref-main {
	flex: 2 1 560px;
	background: #fff;
	border-radius: 28px;
	padding: 48px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 32px;
	box-sizing: border-box;
}
.pe-ref-main::before {
	content: "";
	width: 64px;
	height: 48px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 48'%3E%3Cpath d='M0 48V28C0 12 9 3 24 0l3 6C18 9 14 15 14 22h12v26zm36 0V28C36 12 45 3 60 0l3 6c-9 3-13 9-13 16h12v26z' fill='%233F8A63' fill-opacity='.2'/%3E%3C/svg%3E") no-repeat;
}
.pe-ref-main .pe-ref-quote { font-family: var(--pe-display); font-weight: 500; font-size: clamp(24px, 2.4vw, 32px); line-height: 1.3; color: var(--pe-navy); }
.pe-ref-author { font-size: 16px; line-height: 1.4; }
.pe-ref-author span, .pe-ref-role { color: var(--pe-muted); }
.pe-refs-side { flex: 1 1 340px; display: flex; flex-direction: column; gap: 24px; }
.pe-ref-green {
	flex: 1;
	background: var(--pe-green);
	color: #fff;
	border-radius: 28px;
	padding: 36px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 24px;
}
.pe-ref-green .pe-ref-quote { font-size: 19px; line-height: 1.5; }
.pe-ref-green .pe-ref-author { font-size: 15px; }
.pe-ref-green .pe-ref-role { color: #DDF0E5; }
.pe-ref-placeholder {
	flex: 1;
	border: 1.5px dashed #C9B99D;
	border-radius: 28px;
	padding: 36px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 16px;
	color: var(--pe-muted);
	font-size: 17px;
}

/* ---------- Můj příběh a tým ---------- */
.pe-story { background: #fff; }
.pe-story .pe-wrap { padding-top: 112px; padding-bottom: 112px; }
.pe-story-grid { display: flex; flex-wrap: wrap; gap: 48px 80px; align-items: flex-start; }
.pe-story-text { flex: 1 1 460px; }
.pe-story-text .pe-h2 { font-size: clamp(34px, 3.8vw, 52px) !important; }
.pe-story-text .pe-story-lead { margin-top: 24px !important; font-size: 19px; color: #3A3F57; }
.pe-story-text .wp-block-buttons { margin-top: 28px !important; }
ul.pe-timeline, ol.pe-timeline { flex: 1 1 480px; list-style: none; margin: 0; padding: 0; }
.pe-timeline li {
	position: relative;
	margin: 0 0 0 9px !important;
	padding: 0 0 26px 28px;
	border-left: 2px solid #E6DAC5;
	color: #4A4F66;
	font-size: 17px;
}
.pe-timeline li:last-child { border-left-color: transparent; padding-bottom: 0; }
.pe-timeline li::before {
	content: "";
	position: absolute;
	left: -10px;
	top: 4px;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: #fff;
	border: 2px solid var(--pe-navy);
	box-sizing: border-box;
}
.pe-timeline li:last-child::before { left: -12px; width: 22px; height: 22px; background: var(--pe-green); border: 0; box-shadow: 0 0 0 5px #DCEFE3; }
.pe-timeline li strong { display: block; font-family: var(--pe-display); font-size: 21px; color: var(--pe-navy); }

.pe-team { margin-top: 80px !important; padding-top: 56px; border-top: 1px solid #ECE3D4; }
.pe-team-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; }
.pe-team-head h3 { font-size: 34px !important; font-weight: 800; }
.pe-team-head p { color: var(--pe-muted); max-width: 520px; }
.pe-team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; margin-top: 32px !important; }
.pe-person { background: var(--pe-cream); border-radius: 22px; padding: 22px; display: flex; align-items: center; gap: 16px; }
.pe-person .pe-person-photo { flex: none; margin: 0 !important; }
.pe-person .pe-person-photo img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; display: block; }
.pe-person .pe-avatar {
	flex: none;
	width: 64px;
	height: 64px;
	border-radius: 50%;
	background: #E2D3BA;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	color: var(--pe-navy);
}
.pe-person .pe-person-text { line-height: 1.35; }
.pe-person .pe-person-text strong { color: var(--pe-navy); }
.pe-person .pe-person-text span { font-size: 15px; color: var(--pe-muted); }

/* ---------- Kontakt ---------- */
.pe-contact { padding: 104px var(--pe-gutter); background: var(--pe-cream); }
.pe-contact-box {
	max-width: 1224px;
	margin: 0 auto !important;
	background: var(--pe-navy);
	color: #fff;
	border-radius: 36px;
	padding: clamp(32px, 5vw, 72px);
	display: flex;
	flex-wrap: wrap;
	gap: 48px 72px;
	position: relative;
	overflow: hidden;
	box-sizing: border-box;
}
.pe-contact-box::before {
	content: "";
	position: absolute;
	left: -140px;
	bottom: -160px;
	width: 420px;
	height: 420px;
	opacity: .1;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 400'%3E%3Cg fill='none' stroke='white' stroke-width='1.5'%3E%3Ccircle cx='200' cy='200' r='198'/%3E%3Ccircle cx='200' cy='200' r='140'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
	pointer-events: none;
}
.pe-contact-text { flex: 1 1 380px; position: relative; }
.pe-contact-text h2 { color: #fff; font-size: clamp(38px, 4.4vw, 60px) !important; line-height: 1 !important; letter-spacing: -1.5px !important; }
.pe-contact-text .pe-contact-lead { margin-top: 22px !important; font-size: 20px; color: #D3D8EC; }
.pe-contact-person {
	display: flex;
	align-items: center;
	gap: 18px;
	margin-top: 40px !important;
	padding: 18px;
	background: rgba(255,255,255,.07);
	border-radius: 22px;
}
.pe-contact-person .pe-person-photo { flex: none; margin: 0 !important; }
.pe-contact-person .pe-person-photo img { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; border: 3px solid rgba(255,255,255,.2); display: block; }
.pe-contact-person p { font-size: 17px; line-height: 1.6; }
.pe-contact-person a { color: var(--pe-mint); }
.pe-contact-form {
	flex: 1 1 520px;
	position: relative;
	background: #fff;
	color: var(--pe-ink);
	border-radius: 26px;
	padding: 34px;
	box-sizing: border-box;
}

/* Contact Form 7 */
.pe-form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.pe-form-grid .pe-full { grid-column: 1 / -1; }
.pe-form-grid label { display: flex; flex-direction: column; gap: 7px; font-weight: 600; font-size: 15px; }
.pe-form-grid br { display: none; }
.pe-form-grid .wpcf7-form-control-wrap { display: block; }
.pe-form-grid input[type="text"],
.pe-form-grid input[type="email"],
.pe-form-grid input[type="tel"],
.pe-form-grid select,
.pe-form-grid textarea {
	width: 100%;
	box-sizing: border-box;
	min-height: 50px;
	border: 1px solid #DCD3C3;
	background: #FBF8F3;
	border-radius: 14px;
	padding: 12px 16px;
	font: inherit;
	font-weight: 400;
	font-size: 17px;
	color: var(--pe-ink);
}
.pe-form-grid textarea { min-height: 120px; resize: vertical; }
.pe-form-grid input:focus, .pe-form-grid select:focus, .pe-form-grid textarea:focus { outline: 2px solid var(--pe-green); outline-offset: 1px; }
.pe-form-grid input[type="submit"], .wpcf7-submit {
	min-height: 54px;
	border: 0;
	border-radius: 999px;
	background: var(--pe-green);
	color: #fff;
	font: inherit;
	font-weight: 600;
	font-size: 17px;
	padding: 0 30px;
	cursor: pointer;
}
.wpcf7-submit:hover { background: #2F7552; }
.wpcf7 .wpcf7-spinner { margin: 0 12px; }
.wpcf7-response-output { border-radius: 12px; margin: 18px 0 0 !important; }
.pe-form-note { margin-top: 14px !important; font-size: 13px; color: var(--pe-muted); }
.pe-form-fallback a { color: var(--pe-green); font-weight: 600; }
.grecaptcha-badge { visibility: hidden; }

/* ---------- Patička ---------- */
.pe-footer { background: var(--wp--preset--color--navy-dark, #141A3C); color: #C7CDE6; }
.pe-footer-grid { display: flex; flex-wrap: wrap; gap: 36px 64px; justify-content: space-between; padding-top: 56px; padding-bottom: 40px; }
.pe-footer-brand { flex: 1 1 280px; }
.pe-footer-brand .pe-logo { margin: 0 !important; }
.pe-footer-brand .pe-logo img { height: 42px; width: auto; display: block; }
.pe-footer-brand p { margin-top: 18px !important; font-size: 16px; max-width: 320px; }
.pe-footer-links { flex: 1 1 200px; display: grid; gap: 8px; font-size: 16px; }
.pe-footer-contact { flex: 1 1 240px; font-size: 16px; line-height: 1.7; }
.pe-footer a { color: #fff; text-decoration: none; }
.pe-footer a:hover { color: var(--pe-mint); }
.pe-footer .pe-linkedin a { color: var(--pe-mint); font-weight: 600; }
.pe-footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 20px; padding-bottom: 32px; font-size: 14px; color: #9AA2C4; }

/* ---------- Podstránky ---------- */
.pe-page-main { padding-top: 72px; padding-bottom: 112px; }
.pe-page-main .wp-block-post-title { font-size: clamp(38px, 4.4vw, 60px); letter-spacing: -1.5px; margin-bottom: 32px; }
.pe-page-main .wp-block-post-content > * + * { margin-block-start: 1.1em; }
.pe-page-main .wp-block-post-content h2 { font-size: clamp(28px, 3vw, 40px); margin-top: 1.6em; }
