/* WIMERA – styly webu (Kadence + jádrové bloky) */

:root {
	--wm-orange: var(--global-palette1, #f28e00);
	--wm-orange-dark: var(--global-palette2, #a85a00);
	--wm-dark: var(--global-palette3, #1c1f24);
	--wm-text: var(--global-palette4, #2e3239);
	--wm-muted: var(--global-palette6, #767c86);
	--wm-line: var(--global-palette7, #ebe5dc);
	--wm-light: var(--global-palette8, #f7f4ef);
	--wm-radius: 6px;
	--wm-section-y: clamp(56px, 8vw, 104px);
}

/* ---------- Sekce ---------- */
.entry-content > .wm-section,
.entry-content > .wm-pagehead,
.entry-content > .wm-hero { margin-top: 0; margin-bottom: 0; }
.entry-content .wm-section { padding: var(--wm-section-y) 24px; }
.wm-bg-light { background: var(--wm-light); }
.wm-center { text-align: center; }
.wm-narrow { max-width: 720px; margin-left: auto !important; margin-right: auto !important; }
.wm-muted { color: var(--wm-muted); font-size: 15px; }
.wm-gap-lg { gap: clamp(32px, 5vw, 72px); }
.entry-content .wp-block-columns { margin-bottom: 0; }

.wm-eyebrow {
	color: var(--wm-orange-dark);
	font-size: 14px;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
	margin-bottom: 12px !important;
}
.wm-eyebrow::before {
	content: "";
	display: inline-block;
	width: 28px;
	height: 3px;
	background: var(--wm-orange);
	vertical-align: middle;
	margin-right: 10px;
	transform: translateY(-2px);
}
.wm-eyebrow.wm-center::after {
	content: "";
	display: inline-block;
	width: 28px;
	height: 3px;
	background: var(--wm-orange);
	vertical-align: middle;
	margin-left: 10px;
	transform: translateY(-2px);
}
.wm-section h2 { margin-top: 0; margin-bottom: 20px; }

/* ---------- Hero ---------- */
.entry-content .wm-hero { padding: 96px 24px; }
.wm-hero .wm-eyebrow { color: #fff; }
.wm-hero-title { color: #fff; max-width: 820px; margin: 0 0 20px; text-shadow: 0 2px 18px rgba(0,0,0,.25); }
.wm-hero-lead { color: rgba(255,255,255,.92); font-size: 19px; max-width: 640px; margin-bottom: 32px; }
.wm-hero .wp-block-buttons { gap: 14px; }

/* ---------- Záhlaví podstránek ---------- */
.wm-pagehead {
	background: var(--wm-dark) linear-gradient(120deg, rgba(242,142,0,.16), rgba(242,142,0,0) 55%);
	color: #fff;
	padding: clamp(56px, 8vw, 96px) 24px !important;
	border-bottom: 4px solid var(--wm-orange);
}
.wm-pagehead h1 { color: #fff; margin: 0 0 16px; }
.wm-pagehead .wm-eyebrow { color: var(--wm-orange); }
.wm-lead { font-size: 19px; max-width: 760px; color: rgba(255,255,255,.88); margin: 0; }

/* ---------- Tlačítka ---------- */
.entry-content .wp-block-button.is-style-outline > .wp-block-button__link {
	border: 2px solid var(--wm-dark);
	color: var(--wm-dark);
	background: transparent;
}
.entry-content .wp-block-button.is-style-outline > .wp-block-button__link:hover { background: var(--wm-dark); color: #fff; }
.entry-content .wp-block-button.wm-btn-light.is-style-outline > .wp-block-button__link { border-color: #fff; color: #fff; }
.entry-content .wp-block-button.wm-btn-light.is-style-outline > .wp-block-button__link:hover { background: #fff; color: var(--wm-dark); }

/* ---------- Seznamy s fajfkou ---------- */
ul.wm-check { list-style: none; padding-left: 0; margin: 0 0 24px; }
ul.wm-check li { position: relative; padding-left: 34px; margin-bottom: 10px; }
ul.wm-check li::before {
	content: "";
	position: absolute;
	left: 0;
	top: .25em;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: var(--wm-orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231c1f24' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 13px no-repeat;
}

/* ---------- Ikony a karty ---------- */
.wm-icon { width: 40px; height: 40px; color: var(--wm-orange); flex-shrink: 0; }
.wm-icon-badge { display: inline-flex; padding: 14px; border-radius: 50%; background: var(--wm-light); margin-bottom: 16px; }
.wm-card {
	background: #fff;
	border: 1px solid var(--wm-line);
	border-radius: var(--wm-radius);
	padding: 32px 28px;
	position: relative;
	transition: box-shadow .2s, transform .2s;
}
.wm-card:hover { box-shadow: 0 14px 34px rgba(28,31,36,.08); transform: translateY(-2px); }
.wm-card h3 { margin: 16px 0 8px; font-size: 21px; }
.wm-card p { margin: 0; }

.wm-service-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 28px 0 32px; }
.wm-service-item {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 16px 18px;
	border: 1px solid var(--wm-line);
	border-left: 4px solid var(--wm-orange);
	border-radius: var(--wm-radius);
	background: #fff;
	color: var(--wm-dark);
	font-weight: 700;
	text-decoration: none;
	line-height: 1.3;
}
.wm-service-item:hover { background: var(--wm-light); color: var(--wm-dark); }
.wm-service-item .wm-icon { width: 30px; height: 30px; }

.wm-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.wm-step-num { position: absolute; top: 20px; right: 24px; font-size: 44px; font-weight: 800; line-height: 1; color: var(--wm-line); }

.wm-contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.wm-contact-cards a { font-weight: 700; }
.wm-contact-cards + p { margin-top: 28px; }

/* ---------- Čísla ---------- */
.entry-content .wm-stats-band { background: var(--wm-dark); padding-top: 56px; padding-bottom: 56px; }
.wm-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; text-align: center; }
.wm-stat-num { display: block; font-size: clamp(40px, 6vw, 60px); font-weight: 800; line-height: 1; color: var(--wm-orange); }
.wm-stat-label { display: block; margin-top: 8px; color: rgba(255,255,255,.85); font-size: 17px; }
.wm-stats-inline { display: inline-grid; grid-template-columns: 1fr; text-align: left; padding: 24px 28px; background: var(--wm-dark); border-radius: var(--wm-radius); }

/* ---------- Fotky, galerie, video ---------- */
.wm-photo img { border-radius: var(--wm-radius); width: 100%; height: auto; box-shadow: 0 18px 40px rgba(28,31,36,.12); }
.wm-photo-tall img { max-height: 620px; object-fit: cover; }
.wm-gallery { margin-top: 40px !important; --wp--style--unstable-gallery-gap: 12px; gap: 12px !important; }
.wm-gallery .wp-block-image img { border-radius: 4px; }
.wm-video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--wm-radius); overflow: hidden; margin-top: 32px; background: #000; }
.wm-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- CTA pruh ---------- */
.wm-cta { background: var(--wm-orange); }
.wm-cta .wm-eyebrow { color: var(--wm-dark); }
.wm-cta .wm-eyebrow::before { background: var(--wm-dark); }
.wm-cta h2, .wm-cta p { color: var(--wm-dark); }
.wm-cta .wm-cta-buttons { justify-content: flex-end; gap: 12px; }
.wm-cta .wp-block-button:not(.is-style-outline) > .wp-block-button__link { background: var(--wm-dark); color: #fff; }
.wm-cta .wp-block-button:not(.is-style-outline) > .wp-block-button__link:hover { background: #fff; color: var(--wm-dark); }
.entry-content .wm-cta .wp-block-button.wm-btn-light.is-style-outline > .wp-block-button__link { border-color: var(--wm-dark); color: var(--wm-dark); }
.entry-content .wm-cta .wp-block-button.wm-btn-light.is-style-outline > .wp-block-button__link:hover { background: var(--wm-dark); color: #fff; }

/* ---------- Hlavička a patička (Kadence) ---------- */
.site-top-header-wrap .header-html,
.site-top-header-wrap .header-html a { color: rgba(255,255,255,.9); font-size: 14px; font-weight: 600; text-decoration: none; }
.site-top-header-wrap .header-html a:hover { color: var(--wm-orange); }
.wm-sep { margin: 0 10px; color: var(--wm-orange); }
.site-footer, .site-footer p, .site-footer .widget { color: rgba(255,255,255,.78); }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--wm-orange); }
.site-footer .wm-footer-title { color: #fff; font-size: 18px; margin-bottom: 14px; }
.site-footer .footer-navigation .menu { flex-direction: column; align-items: flex-start; }
.site-footer .footer-navigation .menu > li > a { padding: 4px 0; }
.site-bottom-footer-wrap .footer-html { font-size: 14px; color: rgba(255,255,255,.6); }

/* ---------- Responzivita ---------- */
@media (max-width: 1024px) {
	.wm-steps, .wm-contact-cards { grid-template-columns: 1fr; }
	.wm-cta .wm-cta-buttons { justify-content: flex-start; }
}
@media (max-width: 781px) {
	.entry-content .wm-section { padding-left: 16px; padding-right: 16px; }
	.entry-content .wm-hero { padding: 72px 16px; min-height: 560px !important; }
	.wm-hero-lead { font-size: 17px; }
	.wm-service-list { grid-template-columns: 1fr; }
	.wm-stats { grid-template-columns: 1fr; gap: 28px; }
	.wm-reverse-mobile { flex-direction: column-reverse; }
}
