/* =========================================================================
   Slavík — hlavní styly
   Paleta a akcent jsou řízeny CSS proměnnými (--c-green, --overlay)
   nastavovanými z administrace (inc/enqueue.php → slavik_dynamic_css()).
   ========================================================================= */

:root {
	--c-ink: #14181b;
	--c-ink-2: #1c2227;
	--c-ink-3: #2a3137;
	--c-cream: #faf8f3;
	--c-sand: #f1ece2;
	--c-card: #ffffff;
	--c-line: rgba(20, 24, 27, .10);
	--c-muted: #6a7178;
	--c-text: #232a30;
	--c-green: #2f9e52;     /* přepsáno inline */
	--c-green-d: #24803f;   /* přepsáno inline */
	--overlay: .55;         /* přepsáno inline */

	--font-display: "Sora", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

	--r: 16px;
	--r-sm: 10px;
	--r-lg: 30px;
	--shadow: 0 12px 32px -16px rgba(20, 24, 27, .22);
	--shadow-lg: 0 36px 70px -28px rgba(20, 24, 27, .38);
	--container: 1200px;
	--gutter: clamp(1.1rem, 4vw, 2.2rem);
	--header-h: 84px;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
	font-family: var(--font-body);
	color: var(--c-text);
	background: var(--c-cream);
	line-height: 1.65;
	font-size: clamp(1rem, .96rem + .2vw, 1.08rem);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow-x: hidden;
}

img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--c-green); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.1; font-weight: 700; color: var(--c-ink); letter-spacing: -.02em; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }

/* Odsazení kotev pod fixní hlavičkou */
section[id], .page-hero[id], #kontakt { scroll-margin-top: calc(var(--header-h) + 18px); }

.skip-link { position: absolute; left: -9999px; top: 0; background: var(--c-ink); color: #fff; padding: .8rem 1.2rem; z-index: 1000; border-radius: 0 0 8px 0; }
.skip-link:focus { left: 0; }

/* --- Eyebrow / nadpisy sekcí --- */
.eyebrow {
	display: inline-flex; align-items: center; gap: .6rem;
	font-family: var(--font-display);
	font-size: .82rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
	color: var(--c-green-d); margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--c-green); display: inline-block; }
.eyebrow-light { color: #bfe6c9; }
.eyebrow-light::before { background: var(--c-green); }

.section { padding: clamp(3.6rem, 8vw, 6.6rem) 0; }
.section-head { max-width: 720px; margin: 0 auto clamp(2.2rem, 5vw, 3.4rem); text-align: center; }
.section-head .eyebrow { justify-content: center; }
.section-title { font-size: clamp(1.8rem, 1.2rem + 2.4vw, 2.9rem); }
.section-lead { color: var(--c-muted); margin-top: 1rem; font-size: 1.08rem; }
.section-actions { display: flex; justify-content: center; gap: 1rem; margin-top: 2.6rem; flex-wrap: wrap; }

/* --- Tlačítka --- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
	font-family: var(--font-display); font-weight: 600; font-size: .98rem;
	padding: .85rem 1.5rem; border-radius: 100px; border: 1.5px solid transparent;
	transition: transform .18s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
	white-space: nowrap; cursor: pointer;
}
.btn svg { width: 18px; height: 18px; }
.btn-lg { padding: 1.02rem 1.9rem; font-size: 1.02rem; }
.btn-primary { background: var(--c-green); color: #fff; box-shadow: 0 14px 26px -14px var(--c-green); }
.btn-primary:hover { background: var(--c-green-d); transform: translateY(-2px); box-shadow: 0 20px 34px -16px var(--c-green); }
.btn-ghost { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .35); backdrop-filter: blur(4px); }
.btn-ghost:hover { background: rgba(255, 255, 255, .16); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--c-ink); border-color: var(--c-line); }
.btn-outline:hover { border-color: var(--c-green); color: var(--c-green-d); transform: translateY(-2px); }

/* --- Header --- */
.site-header {
	position: fixed; inset: 0 0 auto 0; z-index: 100;
	height: var(--header-h); display: flex; align-items: center;
	transition: background .3s ease, box-shadow .3s ease, height .3s ease;
}
.site-header.is-stuck { background: rgba(250, 248, 243, .92); backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--c-line), var(--shadow); height: 72px; }
.header-inner { display: flex; align-items: center; gap: 1.4rem; width: 100%; }

.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-family: var(--font-display); font-weight: 800; font-size: 1.32rem; color: #fff; letter-spacing: -.02em; }
.brand-sub { font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: rgba(255, 255, 255, .7); font-weight: 600; }
.is-stuck .brand-name { color: var(--c-ink); }
.is-stuck .brand-sub { color: var(--c-green-d); }
.brand-logo img { max-height: 52px; width: auto; }

.main-nav { margin-left: auto; }
.nav-list { display: flex; align-items: center; gap: .35rem; }
.nav-list a {
	font-family: var(--font-display); font-weight: 600; font-size: .96rem; color: rgba(255, 255, 255, .92);
	padding: .55rem .85rem; border-radius: 100px; transition: color .2s, background .2s;
}
.nav-list a:hover { background: rgba(255, 255, 255, .12); }
.is-stuck .nav-list a { color: var(--c-text); }
.is-stuck .nav-list a:hover { background: var(--c-sand); color: var(--c-green-d); }

.header-cta { display: flex; align-items: center; gap: 1rem; }
.phone-link { display: inline-flex; align-items: center; gap: .5rem; font-family: var(--font-display); font-weight: 700; color: #fff; }
.phone-link svg { width: 18px; height: 18px; color: var(--c-green); }
.is-stuck .phone-link { color: var(--c-ink); }
.header-poptavka { padding: .65rem 1.2rem; }

.nav-toggle { display: none; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .25); border-radius: 12px; width: 46px; height: 46px; align-items: center; justify-content: center; color: #fff; }
.nav-toggle svg { width: 24px; height: 24px; }
.nav-toggle .icon:last-child { display: none; }
.is-stuck .nav-toggle { background: var(--c-sand); border-color: var(--c-line); color: var(--c-ink); }

/* --- Hero --- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding-top: calc(var(--header-h) + 2rem); padding-bottom: 3rem; color: #fff; }
.hero-media { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero-media .slavik-img { width: 100%; height: 100%; object-fit: cover; }
.hero-scrim { position: absolute; inset: 0; background:
	linear-gradient(180deg, rgba(20, 24, 27, calc(var(--overlay) * .9)) 0%, rgba(20, 24, 27, calc(var(--overlay) + .12)) 100%),
	radial-gradient(120% 90% at 15% 30%, rgba(20, 24, 27, .35), transparent 60%); }
.hero-inner { max-width: 860px; position: relative; z-index: 2; }
.hero-title { font-size: clamp(2.3rem, 1.2rem + 4.6vw, 4.3rem); color: #fff; margin-bottom: 1.2rem; }
.hero-sub { font-size: clamp(1.08rem, 1rem + .6vw, 1.4rem); color: rgba(255, 255, 255, .9); max-width: 640px; margin-bottom: 2.2rem; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.trust { display: flex; gap: clamp(1.4rem, 5vw, 3.4rem); margin-top: clamp(2.4rem, 6vw, 3.6rem); flex-wrap: wrap; }
.trust li { display: flex; flex-direction: column; }
.trust-value { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.8rem, 1.4rem + 1.6vw, 2.6rem); color: #fff; line-height: 1; }
.trust-label { font-size: .92rem; color: rgba(255, 255, 255, .75); margin-top: .35rem; }

.hero-down { position: absolute; left: 50%; bottom: 3rem; transform: translateX(-50%); width: 26px; height: 42px; border: 2px solid rgba(255, 255, 255, .55); border-radius: 14px; display: grid; place-items: start center; padding-top: 7px; }
.hero-down span { width: 4px; height: 8px; border-radius: 4px; background: #fff; animation: scroll 1.6s ease-in-out infinite; }
@keyframes scroll { 0% { opacity: 0; transform: translateY(-3px); } 40% { opacity: 1; } 80% { opacity: 0; transform: translateY(9px); } }

/* --- Služby --- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2vw, 1.5rem); }
.service-card { background: var(--c-card); border: 1px solid var(--c-line); border-radius: var(--r); padding: clamp(1.5rem, 2.4vw, 2.1rem); transition: transform .22s ease, box-shadow .22s ease, border-color .22s; position: relative; overflow: hidden; }
.service-card::after { content: ""; position: absolute; inset: auto 0 0 0; height: 3px; background: var(--c-green); transform: scaleX(0); transform-origin: left; transition: transform .3s ease; }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service-card:hover::after { transform: scaleX(1); }
.service-icon { display: inline-grid; place-items: center; width: 58px; height: 58px; border-radius: 14px; background: color-mix(in srgb, var(--c-green) 12%, #fff); color: var(--c-green-d); margin-bottom: 1.2rem; }
.service-icon svg { width: 30px; height: 30px; }
.service-title { font-size: 1.22rem; margin-bottom: .55rem; }
.service-text { color: var(--c-muted); font-size: .98rem; }

/* --- O nás --- */
.about-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.about-media { position: relative; }
.about-media .slavik-img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r-lg); box-shadow: var(--shadow-lg); }
.about-badge { position: absolute; right: -18px; bottom: 28px; background: var(--c-ink); color: #fff; border-radius: var(--r); padding: 1rem 1.4rem; box-shadow: var(--shadow-lg); text-align: center; }
.about-badge-num { display: block; font-family: var(--font-display); font-weight: 800; font-size: 2rem; color: var(--c-green); line-height: 1; }
.about-badge-label { font-size: .82rem; color: rgba(255, 255, 255, .8); }
.about-text { color: var(--c-muted); margin: 1.2rem 0 1.8rem; }
.about-text p + p { margin-top: 1rem; }
.advantages { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1.4rem; }
.advantages li { display: flex; gap: .75rem; }
.adv-check { flex: none; width: 30px; height: 30px; border-radius: 9px; background: color-mix(in srgb, var(--c-green) 14%, #fff); color: var(--c-green-d); display: grid; place-items: center; }
.adv-check svg { width: 18px; height: 18px; stroke-width: 2.4; }
.adv-body { display: flex; flex-direction: column; }
.adv-body strong { font-family: var(--font-display); font-size: 1rem; color: var(--c-ink); }
.adv-body span { font-size: .9rem; color: var(--c-muted); }

/* --- Sekce dark --- */
.section-dark { background: var(--c-ink); color: #fff; }
.section-dark .section-title { color: #fff; }

/* --- Postup --- */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1.1rem, 2.5vw, 2rem); counter-reset: step; }
.process-step { position: relative; padding-top: 1.4rem; }
.process-step::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, var(--c-green), transparent); }
.process-num { font-family: var(--font-display); font-weight: 800; font-size: 2.4rem; color: rgba(255, 255, 255, .22); display: block; margin-bottom: .6rem; }
.process-title { color: #fff; font-size: 1.18rem; margin-bottom: .5rem; }
.process-text { color: rgba(255, 255, 255, .72); font-size: .96rem; }

/* --- Galerie --- */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(.8rem, 1.6vw, 1.2rem); }
.gallery-grid-lg { grid-template-columns: repeat(3, 1fr); }
.gallery-item { position: relative; display: block; border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 3; box-shadow: var(--shadow); background: var(--c-sand); }
.gallery-item .slavik-img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery-item:hover .slavik-img { transform: scale(1.06); }
.gallery-caption { position: absolute; inset: auto 0 0 0; padding: 1.4rem 1.1rem .95rem; color: #fff; display: flex; flex-direction: column; background: linear-gradient(180deg, transparent, rgba(20, 24, 27, .82)); opacity: 0; transform: translateY(10px); transition: opacity .3s, transform .3s; }
.gallery-item:hover .gallery-caption, .gallery-item:focus-visible .gallery-caption { opacity: 1; transform: translateY(0); }
.gallery-caption strong { font-family: var(--font-display); font-size: 1.02rem; }
.gallery-caption span { font-size: .85rem; color: rgba(255, 255, 255, .8); }
.gallery-item.is-hidden { display: none; }

.gallery-filter { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; margin-bottom: 2.4rem; }
.filter-btn { font-family: var(--font-display); font-weight: 600; font-size: .92rem; padding: .55rem 1.15rem; border-radius: 100px; border: 1.5px solid var(--c-line); background: #fff; color: var(--c-text); transition: all .2s; }
.filter-btn:hover { border-color: var(--c-green); color: var(--c-green-d); }
.filter-btn.is-active { background: var(--c-ink); border-color: var(--c-ink); color: #fff; }

/* --- Recenze --- */
.section-reviews { background: var(--c-sand); }
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2vw, 1.6rem); }
.review-card { background: #fff; border-radius: var(--r); padding: 2rem 1.8rem; box-shadow: var(--shadow); position: relative; }
.review-quote { position: absolute; top: 1.2rem; right: 1.4rem; color: color-mix(in srgb, var(--c-green) 25%, #fff); }
.review-quote svg { width: 40px; height: 40px; }
.stars { display: inline-flex; gap: 3px; margin-bottom: .9rem; }
.stars .star { width: 18px; height: 18px; fill: #f5b73d; }
.review-text { font-size: 1.04rem; color: var(--c-text); margin-bottom: 1.2rem; }
.review-author strong { font-family: var(--font-display); display: block; color: var(--c-ink); }
.review-author span { font-size: .88rem; color: var(--c-muted); }

/* --- CTA --- */
.section-cta { position: relative; padding: clamp(4rem, 9vw, 7rem) 0; color: #fff; text-align: center; overflow: hidden; }
.cta-media { position: absolute; inset: 0; z-index: 0; }
.cta-media .slavik-img { width: 100%; height: 100%; object-fit: cover; }
.cta-scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 24, 27, .82), rgba(20, 24, 27, .9)); }
.cta-inner { max-width: 720px; margin-inline: auto; position: relative; z-index: 2; }
.cta-title { font-size: clamp(1.9rem, 1.2rem + 3vw, 3.1rem); color: #fff; margin-bottom: 1rem; }
.cta-text { color: rgba(255, 255, 255, .85); font-size: 1.12rem; margin-bottom: 2rem; }
.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* --- Kontakt --- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.contact-list { margin-top: 2rem; display: grid; gap: 1.2rem; }
.contact-list li { display: flex; gap: 1rem; align-items: center; }
.contact-ico { flex: none; width: 50px; height: 50px; border-radius: 14px; background: color-mix(in srgb, var(--c-green) 12%, #fff); color: var(--c-green-d); display: grid; place-items: center; }
.contact-ico svg { width: 24px; height: 24px; }
.contact-detail { display: flex; flex-direction: column; }
.contact-label { font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--c-muted); font-weight: 600; }
.contact-detail a, .contact-detail span:not(.contact-label) { font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; color: var(--c-ink); }

.contact-form-wrap { background: #fff; border-radius: var(--r-lg); padding: clamp(1.6rem, 3vw, 2.6rem); box-shadow: var(--shadow-lg); border: 1px solid var(--c-line); }
.contact-form { display: grid; gap: 1.1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.form-field { display: flex; flex-direction: column; gap: .4rem; }
.form-field label { font-family: var(--font-display); font-weight: 600; font-size: .92rem; color: var(--c-ink); }
.form-field input, .form-field textarea {
	font-family: var(--font-body); font-size: 1rem; padding: .85rem 1rem; border-radius: var(--r-sm);
	border: 1.5px solid var(--c-line); background: var(--c-cream); color: var(--c-text); transition: border-color .2s, background .2s, box-shadow .2s; width: 100%;
}
.form-field input:focus, .form-field textarea:focus { outline: none; border-color: var(--c-green); background: #fff; box-shadow: 0 0 0 4px color-mix(in srgb, var(--c-green) 16%, transparent); }
.form-field textarea { resize: vertical; min-height: 130px; }
.field-error { color: #c2402d; font-size: .85rem; }
.form-gdpr .checkbox { flex-direction: row; display: flex; gap: .6rem; align-items: flex-start; font-weight: 400; font-family: var(--font-body); font-size: .9rem; color: var(--c-muted); cursor: pointer; }
.form-gdpr input { width: 20px; height: 20px; margin-top: .15rem; accent-color: var(--c-green); flex: none; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-alert { padding: .9rem 1.1rem; border-radius: var(--r-sm); font-size: .96rem; }
.form-alert.is-ok { background: color-mix(in srgb, var(--c-green) 14%, #fff); color: var(--c-green-d); border: 1px solid color-mix(in srgb, var(--c-green) 40%, #fff); }
.form-alert.is-error { background: #fdecea; color: #b33a28; border: 1px solid #f3c4bc; }

/* --- Footer --- */
.site-footer { background: var(--c-ink); color: rgba(255, 255, 255, .76); padding-top: clamp(3rem, 6vw, 4.5rem); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.1fr; gap: clamp(2rem, 5vw, 3.5rem); padding-bottom: 3rem; }
.footer-brand .brand-name { color: #fff; font-size: 1.5rem; }
.footer-tag { margin: 1rem 0 1.6rem; max-width: 36ch; }
.footer-h { color: #fff; font-size: 1.05rem; margin-bottom: 1.1rem; }
.footer-list li, .footer-contact li { margin-bottom: .65rem; }
.footer-list a:hover { color: var(--c-green); }
.footer-contact li { display: flex; align-items: center; gap: .7rem; }
.footer-contact svg { width: 18px; height: 18px; color: var(--c-green); flex: none; }
.footer-contact a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); padding: 1.4rem 0; }
.footer-bottom-inner { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .86rem; }

/* --- Mobilní lišta --- */
.mobile-bar { position: fixed; inset: auto 0 0 0; z-index: 95; display: none; background: rgba(20, 24, 27, .96); backdrop-filter: blur(8px); padding: .6rem; gap: .6rem; box-shadow: 0 -6px 24px -10px rgba(0, 0, 0, .5); }
.mobile-bar a { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .85rem; border-radius: 12px; font-family: var(--font-display); font-weight: 700; font-size: .98rem; }
.mobile-bar svg { width: 19px; height: 19px; }
.mobile-bar-call { background: var(--c-green); color: #fff; }
.mobile-bar-quote { background: rgba(255, 255, 255, .12); color: #fff; }

/* --- To-top --- */
.to-top { position: fixed; right: 1.2rem; bottom: 1.4rem; z-index: 90; width: 48px; height: 48px; border-radius: 50%; background: var(--c-ink); color: #fff; display: grid; place-items: center; box-shadow: var(--shadow-lg); opacity: 0; pointer-events: none; transform: translateY(10px) rotate(-90deg); transition: opacity .3s, transform .3s; }
.to-top svg { width: 22px; height: 22px; }
.to-top.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0) rotate(-90deg); }

/* --- Vnitřní stránky --- */
.page-hero { position: relative; background: var(--c-ink); color: #fff; padding: calc(var(--header-h) + 3.6rem) 0 clamp(2.6rem, 5vw, 4rem); }
.page-hero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(80% 120% at 80% 0%, color-mix(in srgb, var(--c-green) 22%, transparent), transparent 60%); pointer-events: none; }
.page-hero-sm { padding-bottom: clamp(2rem, 4vw, 3rem); }
.page-hero-title { font-size: clamp(2rem, 1.3rem + 3vw, 3.4rem); color: #fff; position: relative; }
.page-hero-lead { color: rgba(255, 255, 255, .82); margin-top: 1rem; max-width: 60ch; position: relative; }
.prose { max-width: 760px; margin-inline: auto; }
.prose-media { border-radius: var(--r-lg); overflow: hidden; margin-bottom: 1.8rem; box-shadow: var(--shadow-lg); }
.prose p { margin-bottom: 1.1rem; }
.prose h2, .prose h3 { margin: 1.8rem 0 .8rem; }
.empty-note { text-align: center; color: var(--c-muted); padding: 2rem; }
.post-list { display: grid; gap: 1.6rem; max-width: 760px; margin-inline: auto; }
.post-item { padding-bottom: 1.6rem; border-bottom: 1px solid var(--c-line); }
.link-more { color: var(--c-green-d); font-weight: 600; font-family: var(--font-display); }
.pagination { margin-top: 2.4rem; display: flex; justify-content: center; }
.pagination .page-numbers { padding: .5rem .9rem; border: 1px solid var(--c-line); border-radius: 10px; margin: 0 .2rem; }
.pagination .current { background: var(--c-ink); color: #fff; border-color: var(--c-ink); }
.error-404 { text-align: center; max-width: 620px; margin-inline: auto; }
.error-404 .hero-actions { justify-content: center; margin-top: 2rem; }

/* --- Placeholder obrázky --- */
.slavik-img.is-placeholder { background: linear-gradient(135deg, var(--c-sand), #e3ddd1); }

/* --- Lightbox --- */
.lb { position: fixed; inset: 0; z-index: 200; display: none; align-items: center; justify-content: center; background: rgba(15, 18, 20, .92); padding: 4vw; backdrop-filter: blur(6px); }
.lb.is-open { display: flex; }
.lb-img { max-width: 92vw; max-height: 82vh; border-radius: 10px; box-shadow: var(--shadow-lg); }
.lb-cap { position: absolute; bottom: 1.4rem; left: 0; right: 0; text-align: center; color: #fff; font-family: var(--font-display); font-size: 1rem; }
.lb-btn { position: absolute; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .25); color: #fff; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; transition: background .2s; }
.lb-btn:hover { background: rgba(255, 255, 255, .25); }
.lb-btn svg { width: 24px; height: 24px; }
.lb-close { top: 1.4rem; right: 1.4rem; }
.lb-prev { left: 1.4rem; top: 50%; transform: translateY(-50%); }
.lb-next { right: 1.4rem; top: 50%; transform: translateY(-50%); }

/* --- Reveal animace --- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1); will-change: opacity, transform; }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1 !important; transform: none !important; transition: none; } }

/* =========================================================================
   Responsivita
   ========================================================================= */
@media (max-width: 1024px) {
	.services-grid, .reviews-grid { grid-template-columns: repeat(2, 1fr); }
	.process-grid { grid-template-columns: repeat(2, 1fr); }
	.gallery-grid, .gallery-grid-lg { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
	:root { --header-h: 70px; }
	.header-cta { display: none; }
	.nav-toggle { display: inline-flex; }
	.main-nav {
		position: fixed; inset: 0 0 0 auto; width: min(86vw, 360px); background: var(--c-ink);
		padding: calc(var(--header-h) + 1.5rem) 1.6rem 2rem; transform: translateX(100%);
		transition: transform .35s cubic-bezier(.2, .7, .2, 1); box-shadow: var(--shadow-lg); margin-left: 0;
		display: flex; flex-direction: column; overflow-y: auto;
	}
	body.nav-open .main-nav { transform: translateX(0); }
	body.nav-open { overflow: hidden; }
	.nav-list { flex-direction: column; align-items: stretch; gap: .2rem; }
	.nav-list a { color: #fff; padding: .9rem 1rem; font-size: 1.1rem; border-radius: 12px; }
	.nav-list a:hover { background: rgba(255, 255, 255, .1); }
	.nav-toggle[aria-expanded="true"] .icon:first-child { display: none; }
	.nav-toggle[aria-expanded="true"] .icon:last-child { display: block; }
	.about-grid, .contact-grid { grid-template-columns: 1fr; }
	.about-media { max-width: 440px; }
	.about-badge { right: 18px; }
	.mobile-bar { display: flex; }
	body { padding-bottom: 70px; }
	.to-top { bottom: 84px; }
	.hero { min-height: 92svh; }
}

@media (max-width: 560px) {
	.services-grid, .reviews-grid, .process-grid, .gallery-grid, .gallery-grid-lg { grid-template-columns: 1fr; }
	.advantages { grid-template-columns: 1fr; }
	.form-row { grid-template-columns: 1fr; }
	.hero-actions .btn, .cta-actions .btn { width: 100%; }
	.footer-grid { grid-template-columns: 1fr; }
	.about-badge { position: static; display: inline-flex; gap: .6rem; align-items: center; margin-top: 1rem; }
	.about-badge-num { font-size: 1.5rem; }
}
