/*
Theme Name: Fitcerva_wp_theme_2027_v3.1.5
Theme URI: https://fitcerva.cz/
Author: Dony
Description: Nová šablona Fitcerva 2027 (složka fitcerva_2027_v3.1.5) s novou úvodní stránkou. Logo (logo.svg), úvodní fotka (uvod.png) a avatar odpovědí (avatar.png) se berou ze složky wp-content/themes/fitcerva_2027_v3.1.5/images/. Jde je nastavit i ve Vzhled > Přizpůsobit (Identita webu / Kontakty). Podrobnosti v README.md.
Version: 3.1.5
Requires at least: 6.0
Tested up to: 7.1
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: fitcerva2027
Tags: dark, one-column, custom-menu, custom-logo, featured-images, translation-ready, accessibility-ready
*/

@font-face { font-family: "Dosis"; src: url("fonts/dosis.woff") format("woff"); font-weight: 200 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Mada"; src: url("fonts/mada.woff") format("woff"); font-weight: 200 900; font-style: normal; font-display: swap; }

:root {
	--fc-bg: #363636;
	--fc-header: #231f20;
	--fc-band: #161616;
	--fc-tan: #b58a5c;
	--fc-tan-dark: #8f6a40;
	--fc-tan-text: #7a5528;
	--fc-card: #d1d1d1;
	--fc-card-2: #c2c2c2;
	--fc-card-text: #2b2b2b;
	--fc-card-muted: #555;
	--fc-text: #f2f2f2;
	--fc-muted: #b9b9b9;
	--fc-border: rgba(0, 0, 0, .14);
	--fc-star: #e0a100;
	--fc-radius: 10px;
	--fc-max: 1180px;
	--fc-head: "Dosis", "Arial Narrow", "Roboto Condensed", system-ui, sans-serif;
	--fc-body: "Mada", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

/* ---------- základ ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0; background: var(--fc-bg); color: var(--fc-text);
	font: 16px/1.75 var(--fc-body);
	display: flex; flex-direction: column; min-height: 100vh;
}
.site-main { flex: 1 0 auto; padding: 2.5rem 0 3.5rem; }
.fc-home .site-main { padding: 0 0 3.5rem; }
img, svg, video, iframe { max-width: 100%; }
img { height: auto; }
a { color: var(--fc-tan); text-decoration: none; }
a:hover, a:focus { color: #d3ab80; text-decoration: underline; }
:focus-visible { outline: 3px solid var(--fc-tan); outline-offset: 2px; }
h1, h2, h3, h4 { font-family: var(--fc-head); color: #fff; line-height: 1.2; margin: 1.4em 0 .5em; font-weight: 600; }
h1 { font-size: clamp(1.9rem, 4vw, 2.5rem); }
h2 { font-size: 1.7rem; }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: var(--fc-max); margin: 0 auto; padding: 0 20px; }
.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); white-space: nowrap; margin: -1px; padding: 0; border: 0;
}
.skip-link:focus {
	clip: auto; clip-path: none; width: auto; height: auto; margin: 0; padding: .7rem 1rem;
	background: #fff; color: #000; z-index: 100000; top: 8px; left: 8px; border-radius: 6px;
}
.fc-muted { color: var(--fc-muted); }
.req { color: var(--fc-tan-text); }
.alignleft { float: left; margin: 0 1rem 1rem 0; }
.alignright { float: right; margin: 0 0 1rem 1rem; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.wp-caption, figure { max-width: 100%; margin: 0 0 1em; }
.wp-caption-text, figcaption { font-size: .9rem; color: var(--fc-muted); }

/* ---------- hlavička ---------- */
.site-header { background: var(--fc-header); color: #fff; position: relative; z-index: 50; }
.header-inner { display: flex; align-items: center; flex-wrap: wrap; min-height: 94px; }
.brand { flex: 1 1 auto; display: flex; align-items: center; padding: .6rem 0; min-width: 0; }
.brand a, .brand .custom-logo-link { display: block; min-width: 0; }
.brand img, .custom-logo { display: block; max-height: 64px; max-width: 100%; width: auto; height: auto; }
.brand img[src*=".svg"] { height: 64px; }
.brand__name {
	font: 800 clamp(1.6rem, 4vw, 2.2rem)/1 var(--fc-head); text-transform: uppercase; color: #fff; letter-spacing: -.01em;
}
.brand__name b { color: var(--fc-tan); font-weight: 800; }
.brand__name:hover { color: #fff; text-decoration: none; }
.burger, .nav-toggle { display: none; }

.primary-nav .menu, .primary-nav ul { list-style: none; margin: 0; padding: 0; }
.primary-nav .menu { display: flex; gap: 1.6rem; }
.primary-nav li { position: relative; }
.primary-nav a {
	display: block; padding: .5rem 0; color: #fff; font: 500 1.1rem/1.2 var(--fc-head);
	border-bottom: 2px solid transparent;
}
.primary-nav a:hover, .primary-nav a:focus { color: var(--fc-tan); text-decoration: none; }
.primary-nav .current-menu-item > a, .primary-nav .current_page_item > a, .primary-nav .current-menu-ancestor > a { color: var(--fc-tan); border-bottom-color: var(--fc-tan); }
.primary-nav .sub-menu, .primary-nav .children {
	display: none; position: absolute; left: -1rem; top: 100%; min-width: 210px; padding: .6rem 1rem;
	background: var(--fc-header); border-top: 3px solid var(--fc-tan); box-shadow: 0 10px 24px rgba(0, 0, 0, .4); z-index: 10;
}
.primary-nav li:hover > .sub-menu, .primary-nav li:focus-within > .sub-menu,
.primary-nav li:hover > .children, .primary-nav li:focus-within > .children { display: block; }
.primary-nav .sub-menu a { padding: .45rem 0; }

.contact-bar { background: var(--fc-tan); color: var(--fc-header); }
.contact-bar__in { display: flex; justify-content: flex-end; align-items: center; gap: .9rem; min-height: 38px; }
.header-phone { color: #2b2b2b; font: 500 1.1rem/1 var(--fc-head); letter-spacing: .01em; }
.header-phone:hover { color: #000; text-decoration: none; }
.header-ig { display: inline-flex; color: var(--fc-header); }
.header-ig:hover { color: #000; }
.header-ig svg { width: 32px; height: 32px; display: block; }

/* tlačítko */
.fc-btn, a.fc-btn, button.fc-btn, input.fc-btn, .comment-form input[type="submit"] {
	display: inline-block; padding: .5rem 1rem; border: 2px solid #8f6a40; border-radius: 6px; cursor: pointer;
	background: var(--fc-tan); color: #2b2b2b; font: 700 .95rem/1.3 var(--fc-head); text-transform: uppercase; letter-spacing: .03em; text-decoration: none;
	transition: background .15s;
}
.fc-btn:hover, a.fc-btn:hover, .comment-form input[type="submit"]:hover { background: #c89c6c; color: #000; text-decoration: none; }
.fc-btn--ghost, a.fc-btn--ghost { background: transparent; color: var(--fc-tan); }
.fc-btn--sm { padding: .35rem .8rem; font-size: .88rem; }

/* ---------- karty a obsah ---------- */
.fc-box {
	background: var(--fc-card); color: var(--fc-card-text); border-radius: var(--fc-radius);
	padding: clamp(1.25rem, 3vw, 2rem); margin: 0 0 1.5rem;
}
.fc-box--bare { background: transparent; color: var(--fc-text); border-radius: 0; padding: 0; margin: 0; }
.fc-box h1, .fc-box h2, .fc-box h3, .fc-box h4 { color: var(--fc-card-text); }
.fc-box a { color: var(--fc-tan-text); text-decoration: underline; }
.fc-box a:hover { color: #000; }
.fc-box a.fc-btn { color: #2b2b2b; text-decoration: none; }
.fc-page-title {
	font-family: var(--fc-head); font-size: clamp(2rem, 5vw, 2.6rem); text-transform: uppercase; font-weight: 600;
	margin: 0 0 1.2rem; color: #fff;
}
.fc-page-title::first-letter { color: var(--fc-tan); }
.fc-box__title { margin-top: 0; text-transform: uppercase; }
.entry > :first-child { margin-top: 0; }
.entry > :last-child { margin-bottom: 0; }
.entry h2, .entry h3 { text-transform: uppercase; }
.entry ul, .entry ol { padding-left: 1.4rem; }
.entry table { width: 100%; border-collapse: collapse; margin-bottom: 1em; }
.entry th, .entry td { border-bottom: 1px solid var(--fc-border); padding: .5rem .4rem; text-align: left; }
.entry blockquote { margin: 1em 0; padding: .2em 1.2em; border-left: 4px solid var(--fc-tan); background: var(--fc-card-2); border-radius: 0 8px 8px 0; }
.entry-meta { color: var(--fc-card-muted); font-size: .9rem; }
.entry-thumb img { border-radius: var(--fc-radius); }
.fc-lead { font-size: 1.1rem; color: var(--fc-card-muted); }
.fc-box .fc-muted, .fc-box .fc-card-muted { color: var(--fc-card-muted); }

/* služby: jeden světlý podklad, jednotlivé služby oddělené čarou (jako ceník) */
.fc-cards { display: block; margin: 0 0 1.5rem; padding: 0; }
.fc-card { background: transparent; border-radius: 0; padding: 1.25rem 0; border-bottom: 1px solid var(--fc-border); }
.fc-card:first-child { padding-top: 0; }
.fc-card:last-child { border-bottom: 0; padding-bottom: .25rem; }
.fc-card h3 { margin: 0 0 .5rem; text-transform: uppercase; font-size: 1.5rem; color: var(--fc-card-text); }
.fc-card p, .fc-card li { color: var(--fc-card-muted); }
.fc-card > :last-child { margin-bottom: 0; }
.fc-card ul { margin: .4rem 0 .8rem; padding-left: 1.2rem; }

/* ceník */
.fc-prices { list-style: none !important; margin: 0 0 1.5rem; padding: 0 !important; }
.fc-prices > li { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--fc-border); }
.fc-prices > li:last-child { border-bottom: 0; }
.fc-prices__name { font: 700 1.25rem/1.3 var(--fc-head); text-transform: uppercase; color: var(--fc-card-text); }
.fc-prices__desc { display: block; font: 400 .95rem/1.5 var(--fc-body); text-transform: none; color: var(--fc-card-muted); margin-top: .15rem; }
.fc-prices__price { flex: 0 0 auto; font: 700 1.5rem/1 var(--fc-head); color: var(--fc-tan-text); white-space: nowrap; }

.fc-note { margin: 1.5rem 0 1rem; font-weight: 600; color: #8b1a1a; }

/* kontakt */
.fc-split { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: start; }
.fc-split h3:first-child { margin-top: 0; }
.fc-split h3 { text-transform: uppercase; }
table.fc-hours { width: 100%; max-width: 440px; }
.fc-hours td { padding: .45rem .2rem; border-bottom: 1px solid var(--fc-border); }
.fc-hours td:last-child { text-align: right; white-space: nowrap; }
.fc-hours tr.is-closed td { color: var(--fc-card-muted); }
.fc-map { display: block; width: 100%; border: 0; border-radius: var(--fc-radius); aspect-ratio: 4 / 3; min-height: 260px; background: var(--fc-card-2); }

/* výpis příspěvků */
.post-list { display: grid; gap: 1.25rem; }
.post-card { display: grid; grid-template-columns: 220px 1fr; gap: 1.25rem; padding-bottom: 1.25rem; border-bottom: 1px solid var(--fc-border); }
.post-card:not(:has(.post-card__thumb)) { grid-template-columns: 1fr; }
.post-card:last-child { border-bottom: 0; }
.post-card h2 { margin: 0 0 .2em; font-size: 1.5rem; text-transform: uppercase; }
.post-card h2 a { text-decoration: none; }
.post-card__thumb img { display: block; width: 100%; border-radius: 8px; }
.pagination .nav-links, .post-navigation .nav-links, .comments-pagination .nav-links { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: space-between; margin-top: 1.5rem; }
.pagination .page-numbers { padding: .3rem .8rem; border-radius: 6px; background: var(--fc-card-2); text-decoration: none; }
.pagination .current { background: var(--fc-tan); color: #2b2b2b; }
.search-form { display: flex; gap: .5rem; flex-wrap: wrap; }

/* formuláře */
input[type="text"], input[type="email"], input[type="url"], input[type="search"], textarea, select {
	width: 100%; padding: .65rem .8rem; border: 1px solid #a9a9a9; border-radius: 6px;
	background: #fff; color: #222; font: inherit;
}
.search-form .search-field { flex: 1 1 200px; width: auto; }
input:focus, textarea:focus { border-color: var(--fc-tan-dark); outline: 2px solid rgba(181, 138, 92, .5); }
.comment-form label { display: block; font-weight: 700; margin-bottom: .25rem; }
.comment-form p { margin: 0 0 1rem; }
.comment-form-cookies-consent, .comment-form-gdpr { display: flex; gap: .6rem; align-items: flex-start; }
.comment-form-cookies-consent label, .comment-form-gdpr label { font-weight: 400; margin: 0; }
.comment-form input[type="checkbox"] { margin-top: .45rem; flex: 0 0 auto; }
.comment-reply-title { font-size: 1.5rem; margin-top: 2rem; text-transform: uppercase; }

/* recenze */
.fc-stars { letter-spacing: .08em; white-space: nowrap; }
.fc-stars .on { color: var(--fc-star); }
.fc-stars .off { color: #a9a9a9; }
.fc-rating-summary { display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; font-size: 1.2rem; }
.fc-rating-summary__num { font: 700 2.4rem/1 var(--fc-head); color: var(--fc-card-text); }
.fc-reviews, .fc-reviews ol { list-style: none; margin: 1rem 0 0; padding: 0; }
.fc-reviews .children { margin-left: 1.5rem; }
.fc-review { padding: 1rem 0; border-bottom: 1px solid var(--fc-border); }
.fc-reviews .children { list-style: none; padding: 0; margin: 1rem 0 0 1.25rem; }
.fc-reply { margin: 0 0 .5rem; }
.fc-reply__body { display: flex; gap: .9rem; align-items: flex-start; padding: .9rem 1rem; background: var(--fc-card-2); border-left: 4px solid var(--fc-tan); border-radius: 0 10px 10px 0; }
.fc-reply__main { flex: 1 1 auto; min-width: 0; }
.fc-avatar { display: block; width: 48px; height: 48px; border-radius: 50%; object-fit: cover; flex: 0 0 auto; background: var(--fc-header); }
.fc-avatar--ini { display: flex; align-items: center; justify-content: center; background: var(--fc-tan); color: #231f20; font: 700 1.15rem/1 var(--fc-head); }
.fc-badge { display: inline-block; padding: .05rem .55rem; border-radius: 999px; background: var(--fc-tan); color: #231f20; font: 700 .78rem/1.6 var(--fc-head); text-transform: uppercase; letter-spacing: .03em; }
.fc-reply-link { margin: .5rem 0 0; font-size: .95rem; }
.fc-review__head { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem .9rem; margin-bottom: .3rem; }
.fc-review__author { font-family: var(--fc-head); font-size: 1.2rem; text-transform: uppercase; }
.fc-review__date { color: var(--fc-card-muted); font-size: .88rem; margin-left: auto; }
.fc-review__text > :last-child { margin-bottom: 0; }
.fc-rating-field { border: 0; padding: 0; margin: 0 0 1rem; }
.fc-rating-field legend { font-weight: 700; padding: 0; margin-bottom: .25rem; }
.fc-stars-input { display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; }
.fc-stars-input input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.fc-stars-input label { font-size: 2.1rem; line-height: 1; color: #a9a9a9; cursor: pointer; margin: 0; padding: 0 .1em; font-weight: 400; }
.fc-stars-input input:checked ~ label, .fc-stars-input label:hover, .fc-stars-input label:hover ~ label { color: var(--fc-star); }
.fc-stars-input input:focus-visible + label { outline: 3px solid var(--fc-tan-dark); border-radius: 6px; }

/* ---------- patička ---------- */
.site-footer { flex-shrink: 0; background: var(--fc-header); border-top: 3px solid var(--fc-tan); color: #fff; padding: 1.4rem 0; text-align: center; font: 500 1.05rem/1.5 var(--fc-head); }
.footer-copy { margin: 0; }
.footer-copy .yr { color: var(--fc-tan); font-weight: 700; }
.footer-copy strong { color: #fff; }
.footer-copy a { color: var(--fc-tan); text-decoration: none; }
.footer-copy a:hover { text-decoration: underline; }

/* ---------- responzivita ---------- */
@media (max-width: 960px) {
	.header-inner { min-height: 80px; }
	.burger { display: flex; align-items: center; justify-content: center; width: 46px; height: 46px; border: 2px solid var(--fc-tan); border-radius: 8px; cursor: pointer; }
	.burger span, .burger span::before, .burger span::after { display: block; width: 22px; height: 2px; background: var(--fc-tan); border-radius: 2px; position: relative; transition: transform .2s, background .2s; }
	.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; }
	.burger span::before { top: -7px; }
	.burger span::after { top: 7px; }
	.nav-toggle { display: block; position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; pointer-events: none; }
	.nav-toggle:focus-visible + .burger { outline: 3px solid #fff; outline-offset: 2px; }
	.nav-toggle:checked + .burger span { background: transparent; }
	.nav-toggle:checked + .burger span::before { top: 0; transform: rotate(45deg); }
	.nav-toggle:checked + .burger span::after { top: 0; transform: rotate(-45deg); }
	.brand { flex: 1 1 0; padding-right: 12px; }
	.primary-nav { flex: 0 0 100%; display: none; padding: .25rem 0 1rem; order: 10; }
	.nav-toggle:checked ~ .primary-nav { display: block; }
	.primary-nav .menu { flex-direction: column; gap: 0; }
	.primary-nav a { padding: .8rem 0; border-bottom: 1px solid rgba(255, 255, 255, .1); }
	.primary-nav .current-menu-item > a, .primary-nav .current_page_item > a { border-bottom-color: var(--fc-tan); }
	.primary-nav .sub-menu, .primary-nav .children { display: block; position: static; box-shadow: none; border: 0; padding: 0 0 0 1rem; background: transparent; }
}
@media (max-width: 760px) {
	.fc-split { grid-template-columns: 1fr; gap: 1.5rem; }
	.post-card { grid-template-columns: 1fr; }
	.contact-bar__in { justify-content: center; }
}
@media (max-width: 520px) {
	.site-main { padding: 1.5rem 0 2rem; }
	.fc-prices > li { flex-direction: column; gap: .15rem; }
	.fc-review__date { margin-left: 0; width: 100%; }
	table.fc-hours { max-width: none; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
@media print {
	.site-header, .site-footer, .contact-bar, .comment-respond { display: none !important; }
	body { background: #fff; color: #000; }
	.fc-box { border: 0; padding: 0; }
}


/* kontakt: logo fitka + galerie s prohlížečem */
.fc-gym-logo { margin: -.3rem 0 1rem; }
.fc-gym-logo a { display: inline-block; line-height: 0; text-decoration: none; border: 0; background: none; }
.fc-gym-logo img { display: block; height: 26px; width: auto; background: none; border: 0; padding: 0; }
.fc-gym-logo img[src*=".svg"] { height: auto; width: 190px; margin: -4px 0 -4px -8px; }
.fc-gallery { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; margin-top: 2rem; }
.fc-gallery a { display: block; border-radius: 10px; overflow: hidden; line-height: 0; background: var(--fc-card-2); }
.fc-gallery img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .25s ease, opacity .25s ease; }
.fc-gallery a:hover img, .fc-gallery a:focus-visible img { transform: scale(1.06); opacity: .9; }
.fc-gallery a:focus-visible { outline: 2px solid var(--fc-tan); outline-offset: 2px; }
@media (max-width: 900px) { .fc-gallery { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 600px) { .fc-gallery { grid-template-columns: repeat(3, 1fr); gap: 8px; } }

.fc-lb-open { overflow: hidden; }
.fc-lb { position: fixed; inset: 0; z-index: 9999; display: flex; align-items: center; justify-content: center; background: rgba(0, 0, 0, .92); }
.fc-lb[hidden] { display: none; }
.fc-lb__fig { margin: 0; max-width: calc(100vw - 150px); max-height: 92vh; text-align: center; }
.fc-lb__fig img { display: block; max-width: 100%; max-height: 84vh; margin: 0 auto; border-radius: 6px; }
.fc-lb__count { margin-top: .6rem; color: #ddd; font: 500 .95rem/1 var(--fc-head); letter-spacing: .05em; }
.fc-lb button { position: absolute; border: 0; background: rgba(255, 255, 255, .12); color: #fff; cursor: pointer; border-radius: 50%; line-height: 1; transition: background .2s; }
.fc-lb button:hover, .fc-lb button:focus-visible { background: var(--fc-tan); color: #000; }
.fc-lb__close { top: 14px; right: 14px; width: 44px; height: 44px; font-size: 30px; }
.fc-lb__nav { top: 50%; transform: translateY(-50%); width: 52px; height: 52px; font-size: 38px; padding-bottom: 5px; }
.fc-lb__prev { left: 14px; }
.fc-lb__next { right: 14px; }
@media (max-width: 700px) {
	.fc-lb__fig { max-width: 100vw; }
	.fc-lb__nav { top: auto; bottom: 18px; transform: none; width: 46px; height: 46px; }
	.fc-lb__fig img { max-height: 76vh; border-radius: 0; }
}

.fc-lb__fig { position: relative; }
.fc-lb__msg { display: none; color: #ddd; font: 500 1rem/1.4 var(--fc-head); min-height: 40vh; align-items: center; justify-content: center; }
.fc-lb.is-loading .fc-lb__fig img, .fc-lb.is-error .fc-lb__fig img { display: none; }
.fc-lb.is-loading .fc-lb__msg, .fc-lb.is-error .fc-lb__msg { display: flex; min-width: 40vw; }
.fc-lb.is-loading .fc-lb__msg::before { content: 'Načítám fotku…'; }
.fc-lb.is-error .fc-lb__msg::before { content: 'Fotku se nepodařilo načíst.'; }

/* stránka 404 */
.fc-404 { text-align: center; padding: 2.5rem 1.5rem; }
.fc-404__code { margin: 0; font: 800 clamp(5rem, 22vw, 9rem)/1 var(--fc-head); color: var(--fc-tan); letter-spacing: .04em; }
.fc-404__title { margin: .2rem 0 1rem; text-transform: uppercase; }
.fc-404__text { max-width: 36rem; margin: 0 auto; color: var(--fc-card-muted); }

/* =====================================================================
   Fitcerva 2027 – úvodní stránka
   ===================================================================== */
.h27 { display: block; }
.h27 h1, .h27 h2, .h27 h3 { margin: 0; }
a.h27-btn, a.h27-btn.fc-btn { padding: .7rem 1.6rem; font-size: 1.15rem; border-radius: 6px; }
.fc-home .site-main { padding: 0; }
.h27-sec { padding: 4rem 0; }
/* sekce se střídají: šedé a tmavé pozadí (tmavé jako pás s fakty) */
.h27 > section.h27-sec:nth-of-type(even) { background: var(--fc-header); }
.h27-h2 { font: 600 clamp(2rem, 4vw, 2.6rem)/1.15 var(--fc-head); text-transform: uppercase; color: #fff; margin: 0 0 .5rem; }
.h27-h2 span { color: var(--fc-tan); }
.h27-sub, .h27-muted { color: var(--fc-muted); max-width: 640px; margin: 0 0 2rem; }

/* úvod (hero): fotka na šikmých pruzích */
.h27-hero { position: relative; overflow: hidden; background: var(--fc-band); }
.h27-hero__in { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.5rem; }
.h27-hero__text { flex: 1 1 440px; min-width: 0; align-self: center; padding: 4rem 0 4.5rem; }
.h27-eyebrow { margin: 0 0 .9rem; font: 500 1.15rem/1.4 var(--fc-head); letter-spacing: .14em; text-transform: uppercase; color: var(--fc-tan); }
.h27-hero h1 { font: 700 clamp(2.7rem, 6vw, 4.7rem)/1.03 var(--fc-head); text-transform: uppercase; color: #fff; margin: 0 0 1.25rem; }
.h27-hero h1 span { color: var(--fc-tan); }
.h27-lead { max-width: 540px; margin: 0 0 1.9rem; font-size: 1.12rem; line-height: 1.7; color: #d6d6d6; }
.h27-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin: 0; }
.h27-hero__photo { position: relative; flex: 0 0 600px; max-width: 100%; height: 640px; margin: 0 auto; }
.h27-hero__photo i { position: absolute; top: -20px; height: 700px; transform: skewX(-14deg); }
.h27-hero__photo .s1 { left: 10px; width: 22px; background: var(--fc-header); }
.h27-hero__photo .s2 { left: 90px; width: 300px; background: linear-gradient(180deg, #c9a07a, #b58a5c 50%, #8f6a40); }
.h27-hero__photo .s3 { left: 408px; width: 70px; background: #8f6a40; opacity: .85; }
.h27-hero__photo .s4 { left: 496px; width: 140px; border: 2px solid rgba(181, 138, 92, .6); }
.h27-hero__photo img { position: absolute; left: 140px; bottom: 0; height: 630px; width: auto; max-width: none; display: block; filter: drop-shadow(-14px 10px 22px rgba(0, 0, 0, .45)); }

/* pás s fakty */
.h27-facts { background: var(--fc-header); border-top: 1px solid rgba(255, 255, 255, .06); border-bottom: 1px solid rgba(255, 255, 255, .06); }
.h27-facts__in { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 1.25rem; padding-top: 1.6rem; padding-bottom: 1.6rem; }
.h27-facts__in > div { text-align: center; }
.h27-facts b { display: block; font: 700 2.5rem/1 var(--fc-head); color: var(--fc-tan); }
.h27-facts span { display: block; margin-top: .2rem; font-size: .95rem; line-height: 1.4; color: var(--fc-muted); }

/* karty služeb */
.h27-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.25rem; }
.h27-tile { display: flex; flex-direction: column; background: var(--fc-card); color: var(--fc-card-text); border-radius: var(--fc-radius); padding: 1.6rem 1.5rem 1.4rem; text-decoration: none; transition: transform .2s, box-shadow .2s; }
.h27-tile:hover, .h27-tile:focus-within { transform: translateY(-4px); box-shadow: 0 12px 24px rgba(0, 0, 0, .3); }
.h27-tiles__more { margin: 1.5rem 0 0; text-align: right; }
.h27-tile svg { display: block; color: var(--fc-tan-text); }
.h27-tile h3 { margin: .75rem 0 .5rem; font: 700 1.55rem/1.15 var(--fc-head); text-transform: uppercase; color: var(--fc-card-text); }
.h27-tile p { margin: 0; font-size: .95rem; line-height: 1.6; color: var(--fc-card-muted); }

/* o mně + ceník */
.h27-split { display: flex; flex-wrap: wrap; gap: 2.5rem; }
.h27-split > div { flex: 1 1 420px; min-width: 0; }
.h27-split p { color: #d6d6d6; margin: 0 0 1rem; }
.h27-split .h27-h2 { margin-bottom: 1rem; }
.h27-price { background: var(--fc-card); color: var(--fc-card-text); border-radius: var(--fc-radius); padding: 1.7rem 1.9rem; }
.h27-price h3 { font: 700 1.6rem/1.2 var(--fc-head); text-transform: uppercase; color: var(--fc-card-text); margin-bottom: 1.1rem; }
.h27-price ul { list-style: none; margin: 0; padding: 0; }
.h27-price li { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding: .9rem 0; border-bottom: 1px solid var(--fc-border); }
.h27-price li:last-child { border-bottom: 0; padding-bottom: .2rem; }
.h27-price__name { font: 700 1.2rem/1.3 var(--fc-head); text-transform: uppercase; }
.h27-price__name small { display: block; font: 400 .88rem/1.45 var(--fc-body); text-transform: none; color: var(--fc-card-muted); }
.h27-price__val { flex: 0 0 auto; font: 700 1.6rem/1 var(--fc-head); color: var(--fc-tan-text); white-space: nowrap; }

/* recenze na úvodu */
.h27-avg { margin: 0 0 1.25rem; font-size: 1.1rem; color: var(--fc-muted); }
.h27-avg strong { color: #fff; }
.h27-reviews__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 1.25rem; }
.h27-review { margin: 0; background: var(--fc-card); color: var(--fc-card-text); border-radius: var(--fc-radius); padding: 1.5rem 1.6rem; }
.h27-review__stars { margin-top: .35rem; font-size: 1.35rem; line-height: 1; }
.h27-review blockquote { margin: .8rem 0 0; padding: 0; border: 0; background: none; font-size: .98rem; line-height: 1.65; color: var(--fc-card-muted); }
.h27-review figcaption { font: 700 1.25rem/1.2 var(--fc-head); text-transform: uppercase; color: var(--fc-card-text); }
.h27-more { margin: 1.4rem 0 0; font: 600 1.1rem/1.4 var(--fc-head); text-transform: uppercase; letter-spacing: .04em; }

/* výzva */
.h27-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; background: var(--fc-tan); border-radius: var(--fc-radius); padding: 2.6rem 2.4rem; }
.h27-cta > div { flex: 1 1 380px; min-width: 0; }
.h27-cta h2 { font: 700 clamp(1.8rem, 3.4vw, 2.4rem)/1.1 var(--fc-head); text-transform: uppercase; color: var(--fc-header); margin: 0 0 .3rem; }
.h27-cta p { margin: 0; color: #2b2b2b; font-size: 1.05rem; }
.h27-cta__btn { display: inline-block; padding: .8rem 1.9rem; border-radius: 6px; background: var(--fc-header); color: #fff; font: 700 1.2rem/1.2 var(--fc-head); letter-spacing: .04em; text-transform: uppercase; text-decoration: none; transition: background .15s; }
.h27-cta__btn:hover, .h27-cta__btn:focus-visible { background: #000; color: #fff; text-decoration: none; }

/* tablet a telefon: fotka nahoře, spodek fotky zhasíná do tmy a text na ni plynule navazuje */
@media (max-width: 900px) {
	.h27-hero__in { flex-direction: column; align-items: stretch; gap: 0; }
	.h27-hero__photo { order: -1; flex: none; width: 520px; height: 540px; margin: 0 auto; -webkit-mask-image: linear-gradient(180deg, #000 50%, rgba(0, 0, 0, 0) 94%); mask-image: linear-gradient(180deg, #000 50%, rgba(0, 0, 0, 0) 94%); }
	.h27-hero__photo i { height: 600px; }
	.h27-hero__photo .s1 { left: 8px; width: 18px; }
	.h27-hero__photo .s2 { left: 74px; width: 246px; }
	.h27-hero__photo .s3 { left: 336px; width: 58px; }
	.h27-hero__photo .s4 { left: 408px; width: 112px; }
	.h27-hero__photo img { left: 112px; height: 530px; }
	.h27-hero__text { position: relative; z-index: 3; align-self: auto; margin-top: -56px; padding: 0 0 3.5rem; }
	.h27-hero h1 { font-size: clamp(2.75rem, 7vw, 3.6rem); }
}
@media (max-width: 560px) {
	.h27-hero__photo { width: 350px; height: 330px; }
	.h27-hero__photo i { top: -10px; height: 380px; }
	.h27-hero__photo .s1 { left: 4px; width: 10px; }
	.h27-hero__photo .s2 { left: 40px; width: 150px; }
	.h27-hero__photo .s3 { left: 204px; width: 36px; }
	.h27-hero__photo .s4 { left: 250px; width: 80px; }
	.h27-hero__photo img { left: 66px; height: 324px; }
	.h27-hero__text { margin-top: -40px; padding-bottom: 2.75rem; }
	.h27-eyebrow { font-size: 1rem; letter-spacing: .12em; }
	.h27-hero h1 { font-size: 2.75rem; }
	.h27-lead { font-size: 1.05rem; }
}
/* malá obrazovka: tlačítko „Zobrazit kompletní ceník“ až pod tabulkou Malý výběr cen */
@media (max-width: 900px) {
	.h27-split { flex-direction: column; gap: 0; }
	.h27-split > div { flex: none; }
	.h27-split > div:first-child { display: contents; }
	.h27-split > div:first-child > p:last-of-type { order: 3; margin: 1.5rem 0 0; }
	.h27-price { order: 2; margin-top: .5rem; }
}
@media (max-width: 760px) {
	.h27-sec { padding: 3rem 0; }
	.h27-cta { padding: 1.8rem 1.4rem; }
	.h27-price { padding: 1.3rem 1.2rem; }
}
@media (max-width: 520px) {
	.h27-price li { flex-direction: column; gap: .15rem; }
}
