/* ============================================================
   Softmedia — design system 2026
   Tokeny viz DESIGN.md v rootu repa.
   ============================================================ */

/* ---------- Fonty ---------- */
@font-face {
	font-family: "Manrope";
	src: url("../fonts/manrope-var-latin.woff2") format("woff2");
	font-weight: 200 800;
	font-display: swap;
	unicode-range: U+0000-00FF, U+2000-206F, U+20AC;
}
@font-face {
	font-family: "Manrope";
	src: url("../fonts/manrope-var-latin-ext.woff2") format("woff2");
	font-weight: 200 800;
	font-display: swap;
	unicode-range: U+0100-024F, U+1E00-1EFF;
}
@font-face {
	font-family: "Inter";
	src: url("../fonts/inter-var-latin.woff2") format("woff2");
	font-weight: 100 900;
	font-display: swap;
	unicode-range: U+0000-00FF, U+2000-206F, U+20AC;
}
@font-face {
	font-family: "Inter";
	src: url("../fonts/inter-var-latin-ext.woff2") format("woff2");
	font-weight: 100 900;
	font-display: swap;
	unicode-range: U+0100-024F, U+1E00-1EFF;
}
/* Brand font nadpisů — Exo 2 (viz DESIGN_RULES.md) */
@font-face {
	font-family: "Exo 2";
	src: url("../fonts/exo2-var-latin.woff2") format("woff2");
	font-weight: 100 900;
	font-display: swap;
	unicode-range: U+0000-00FF, U+2000-206F, U+20AC;
}
@font-face {
	font-family: "Exo 2";
	src: url("../fonts/exo2-var-latin-ext.woff2") format("woff2");
	font-weight: 100 900;
	font-display: swap;
	unicode-range: U+0100-024F, U+1E00-1EFF;
}

/* ---------- Tokeny ---------- */
:root {
	--sm-bg: hsl(210 40% 99%);
	--sm-surface: hsl(0 0% 100%);
	--sm-ink: hsl(215 28% 17%);
	--sm-ink-soft: hsl(213 14% 42%);
	--sm-navy: hsl(215 45% 12%);
	--sm-navy-2: hsl(214 40% 18%);
	--sm-primary: hsl(192 58% 44%);
	--sm-primary-strong: hsl(194 70% 32%);
	--sm-vivid: hsl(187 100% 42%);
	--sm-accent: hsl(340 88% 56%);
	--sm-mist: hsl(206 45% 96%);
	--sm-tint: hsl(185 60% 94%);
	--sm-line: hsl(213 27% 90%);

	--sm-grad-line: linear-gradient(90deg, hsl(187 100% 42%), hsl(340 88% 56%));
	--sm-grad-deep: linear-gradient(135deg, hsl(215 45% 12%), hsl(213 42% 24%) 55%, hsl(189 100% 26%));

	--sm-shadow: 0 2px 16px hsl(187 100% 42% / 0.08);
	--sm-shadow-lg: 0 12px 40px hsl(200 60% 30% / 0.14);

	--sm-r: 1rem;
	--sm-r-sm: 0.5rem;

	--font-head: "Exo 2", "Manrope", system-ui, sans-serif;
	--font-body: "Inter", system-ui, sans-serif;

	--container: 1200px;
	--gutter: clamp(1rem, 4vw, 2rem);
	--section-pad: clamp(4rem, 9vw, 7.5rem);
}

/* ---------- Reset lite ---------- */
*, *::before, *::after { box-sizing: border-box; }
body {
	margin: 0;
	font-family: var(--font-body);
	font-size: 1.0625rem;
	line-height: 1.65;
	color: var(--sm-ink);
	background: var(--sm-bg);
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--sm-primary-strong); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--sm-primary); }
:focus-visible { outline: 3px solid var(--sm-vivid); outline-offset: 2px; border-radius: 2px; }

h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-head);
	font-weight: 800;
	line-height: 1.15;
	letter-spacing: -0.02em;
	color: var(--sm-ink);
	margin: 0 0 0.6em;
	text-wrap: balance;
}
h1 { font-size: clamp(2.5rem, 5.5vw, 4rem); }
h2 { font-size: clamp(1.875rem, 3.5vw, 2.625rem); }
h3 { font-size: clamp(1.375rem, 2vw, 1.625rem); font-weight: 700; }
h4 { font-size: 1.125rem; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0 0 1.2em; }
ul, ol { padding-left: 1.4em; }

.skip-link {
	position: absolute; left: -9999px; top: 0; z-index: 200;
	background: var(--sm-navy); color: #fff; padding: 0.75rem 1.25rem; border-radius: 0 0 var(--sm-r-sm) 0;
}
.skip-link:focus { left: 0; }

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

.sm-icon { flex-shrink: 0; vertical-align: -0.18em; }

/* ---------- Sekce a nadpisy ---------- */
.section { padding-block: var(--section-pad); }
.section--mist { background: var(--sm-mist); }
.section--navy { background: var(--sm-navy); color: hsl(210 30% 88%); }
.section--navy :is(h1, h2, h3, h4) { color: #fff; }
.section--deep { background: var(--sm-grad-deep); color: hsl(210 30% 88%); }
.section--deep :is(h1, h2, h3, h4) { color: #fff; }

.sec-head { max-width: 44rem; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.sec-head--center { margin-inline: auto; text-align: center; }
.eyebrow {
	display: flex; align-items: center; gap: 0.75rem;
	font-family: var(--font-head);
	font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
	color: var(--sm-primary-strong);
	margin-bottom: 1rem;
}
.section--navy .eyebrow, .section--deep .eyebrow { color: var(--sm-vivid); }
.eyebrow::before { content: ""; width: 3rem; height: 3px; border-radius: 2px; background: var(--sm-grad-line); }
.sec-head--center .eyebrow { justify-content: center; }
.sec-head p { color: var(--sm-ink-soft); font-size: 1.125rem; margin: 0; }
.section--navy .sec-head p, .section--deep .sec-head p { color: hsl(210 30% 80%); }

/* ---------- Tlačítka ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
	font-family: var(--font-head); font-weight: 700; font-size: 1rem;
	padding: 0.8em 1.6em; border-radius: 999px; border: 2px solid transparent;
	text-decoration: none; cursor: pointer; transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease, color 160ms ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--sm-primary-strong); color: #fff; box-shadow: var(--sm-shadow); }
.btn--primary:hover { background: var(--sm-primary); color: #fff; box-shadow: var(--sm-shadow-lg); }
.btn--ghost { border-color: var(--sm-line); color: var(--sm-ink); background: transparent; }
.btn--ghost:hover { border-color: var(--sm-primary); color: var(--sm-primary-strong); }
.btn--light { background: #fff; color: var(--sm-navy); }
.btn--light:hover { color: var(--sm-primary-strong); box-shadow: var(--sm-shadow-lg); }
.btn--lg { font-size: 1.125rem; padding: 0.9em 2em; }
.btn--bare {
	background: none; border: 0; padding: 0.4em 0.1em; border-radius: 0;
	color: #fff;
	text-decoration: underline dashed hsl(0 0% 100% / 0.55) 1px;
	text-underline-offset: 0.45em;
}
.btn--bare:hover { color: var(--sm-vivid); text-decoration-color: var(--sm-vivid); transform: none; box-shadow: none; }

/* Konverzní CTA — růžová #ff4081 (secondary barva původního webu).
   Atributové selektory přebarví konverzní tlačítka v cta-bandech napříč šablonami. */
.btn--conv,
.cta-band .btn[href="/naceneni/"],
.cta-band .btn[href="/kontakt/"] {
	background: #ff4081; color: #fff; border-color: transparent;
	box-shadow: 0 2px 16px hsl(340 100% 63% / 0.25);
}
.btn--conv:hover,
.cta-band .btn[href="/naceneni/"]:hover,
.cta-band .btn[href="/kontakt/"]:hover {
	background: #f0176e; color: #fff;
	box-shadow: 0 8px 28px hsl(340 100% 63% / 0.35);
}

/* Sbalitelný text (první 2 řádky + rozbalení) */
.clamp { position: relative; }
.clamp.is-clamped p { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.clamp-toggle {
	background: none; border: 0; padding: 0; margin: 0.35rem 0 0; cursor: pointer;
	font-family: var(--font-head); font-weight: 700; font-size: 0.875rem; color: var(--sm-primary-strong);
}
.clamp-toggle:hover { color: var(--sm-primary); }

/* ---------- Topbar ---------- */
.topbar { background: var(--sm-navy); font-size: 0.8125rem; }
.topbar__in { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 2.5rem; }
.topbar a { color: hsl(210 30% 78%); text-decoration: none; display: inline-flex; align-items: center; gap: 0.35rem; }
.topbar a:hover { color: #fff; }
.topbar__nav { display: flex; flex-wrap: wrap; gap: 1.1rem; }
.topbar__contact { display: flex; gap: 1.1rem; white-space: nowrap; }
@media (max-width: 900px) { .topbar__nav { display: none; } .topbar__in { justify-content: center; } }

/* ---------- Header ---------- */
.site-header {
	position: sticky; top: 0; z-index: 100;
	background: hsl(0 0% 100% / 0.92);
	backdrop-filter: blur(12px);
	border-bottom: 1px solid var(--sm-line);
}
.site-header__in { display: flex; align-items: center; gap: 1.5rem; min-height: 4.5rem; }
.site-logo { display: flex; }
.site-logo img { width: 152px; height: auto; }
.site-header__cta { margin-left: auto; font-size: 0.9375rem; padding: 0.65em 1.4em; white-space: nowrap; }

.main-nav { flex: 1; }
.main-nav > ul { display: flex; list-style: none; margin: 0; padding: 0; gap: 0.25rem; }
.main-nav a {
	position: relative;
	display: inline-flex; align-items: center; gap: 0.25rem;
	padding: 0.5rem 0.7rem; font-family: var(--font-head); font-weight: 600; font-size: 0.9375rem;
	color: var(--sm-ink); text-decoration: none; border-radius: var(--sm-r-sm);
	white-space: nowrap;
}
.main-nav a:hover { color: var(--sm-primary-strong); background: var(--sm-mist); }
.main-nav a[aria-current="page"]::after {
	content: ""; position: absolute; left: 0.7rem; right: 0.7rem; bottom: 0;
	height: 3px; border-radius: 2px; background: var(--sm-grad-line);
}
.sub-caret { opacity: 0.5; transition: transform 160ms; }
.main-nav .has-sub:hover .sub-caret, .main-nav .has-sub:focus-within .sub-caret { transform: rotate(180deg); }

.main-nav .sub {
	position: absolute; z-index: 110;
	min-width: 16rem; list-style: none; margin: 0; padding: 0.5rem;
	background: var(--sm-surface); border: 1px solid var(--sm-line); border-radius: var(--sm-r);
	box-shadow: var(--sm-shadow-lg);
	opacity: 0; visibility: hidden; transform: translateY(8px);
	transition: opacity 160ms ease, transform 160ms ease, visibility 160ms;
}
.main-nav .has-sub { position: relative; }
.main-nav .has-sub:hover > .sub, .main-nav .has-sub:focus-within > .sub { opacity: 1; visibility: visible; transform: translateY(4px); }
.main-nav .sub a { display: block; padding: 0.55rem 0.8rem; font-weight: 500; }

.nav-toggle { display: none; margin-left: auto; background: none; border: 0; padding: 0.5rem; color: var(--sm-ink); cursor: pointer; position: relative; z-index: 95; }
.site-logo { position: relative; z-index: 95; }
.nav-toggle .ico-close { display: none; }
.nav-toggle[aria-expanded="true"] .ico-open { display: none; }
.nav-toggle[aria-expanded="true"] .ico-close { display: block; }

/* CTA jako položka menu — na desktopu je v hlavičce zvlášť, v mobilním menu jako položka */
.main-nav .nav-cta { display: none; }
@media (max-width: 900px) {
	.main-nav .nav-cta { display: block; padding: 1.25rem 0.5rem; }
	.main-nav .nav-cta a.btn { display: inline-flex; width: auto; border-bottom: 0; border-radius: 999px; color: #fff; font-size: 1rem; padding: 0.8em 1.6em; justify-content: center; }
}

@media (max-width: 1100px) {
	.main-nav a { font-size: 0.875rem; padding-inline: 0.5rem; }
	.site-header__cta { display: none; }
}
@media (max-width: 900px) {
	.nav-toggle { display: block; }
	/* backdrop-filter by z hlavičky udělal containing block pro fixed menu — na mobilu vypnout */
	.site-header { backdrop-filter: none; background: #fff; }
	.main-nav {
		position: fixed; inset: 0; z-index: 90;
		background: var(--sm-surface); overflow-y: auto;
		padding: calc(4.5rem + 2.5rem + 1rem) var(--gutter) 3rem;
		display: none;
	}
	body.nav-open .main-nav { display: block; }
	body.nav-open { overflow: hidden; }
	.main-nav > ul { flex-direction: column; gap: 0; }
	.main-nav a { display: flex; justify-content: space-between; width: 100%; padding: 0.9rem 0.5rem; font-size: 1.0625rem; border-bottom: 1px solid var(--sm-line); border-radius: 0; }
	.main-nav .sub {
		position: static; opacity: 1; visibility: visible; transform: none;
		border: 0; box-shadow: none; background: var(--sm-mist); border-radius: var(--sm-r-sm); margin: 0 0 0.5rem; display: none;
	}
	.main-nav .has-sub.open > .sub { display: block; }
}

/* ---------- Hero (homepage) ---------- */
.hero {
	position: relative; overflow: hidden;
	background: var(--sm-navy); color: #fff;
	min-height: clamp(30rem, 72vh, 44rem);
	display: flex; align-items: center;
}
.hero > .container { width: 100%; min-width: 0; }
.hero__bg { position: absolute; inset: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.hero__bg::after {
	content: ""; position: absolute; inset: 0;
	background: linear-gradient(100deg, hsl(215 45% 10% / 0.92) 20%, hsl(215 45% 12% / 0.55) 60%, hsl(215 45% 14% / 0.35));
}
.hero__in { position: relative; z-index: 2; padding-block: clamp(4rem, 10vw, 7rem); max-width: 40rem; }
.hero .eyebrow { color: var(--sm-vivid); }
.hero h1 { color: #fff; margin-bottom: 0.5em; }
.hero p { font-size: clamp(1.0625rem, 1.6vw, 1.25rem); color: hsl(210 30% 85%); max-width: 34rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2rem; }
.hero__meta { display: flex; flex-wrap: wrap; gap: 1.75rem; margin-top: 2.75rem; color: hsl(210 30% 75%); font-size: 0.9375rem; }
.hero__meta strong { display: block; font-family: var(--font-head); font-size: 1.5rem; font-weight: 800; color: #fff; letter-spacing: -0.02em; }

.hero__bg-flip { transform: scaleX(-1); }

/* Statistiky pod hero obsahem — celá šířka, 4 vedle sebe */
.hero__stats {
	position: relative; z-index: 2;
	display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem;
	margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid hsl(0 0% 100% / 0.15);
	margin-bottom: clamp(2.5rem, 5vw, 4rem);
	color: hsl(210 30% 75%); font-size: 0.9375rem;
}
.hero__stats strong { display: block; font-family: var(--font-head); font-size: clamp(1.5rem, 2.4vw, 2.25rem); font-weight: 800; color: #fff; letter-spacing: -0.02em; }
@media (max-width: 760px) { .hero__stats { grid-template-columns: repeat(2, 1fr); } }

/* Pás s logy klientů — nekonečný marquee */
.client-logos { background: var(--sm-surface); border-bottom: 1px solid var(--sm-line); padding-block: 1.5rem; overflow: hidden; }
.client-logos__marquee { display: flex; width: max-content; gap: 3.5rem; }
.client-logos__track { display: flex; align-items: center; gap: 3.5rem; flex-shrink: 0; animation: sm-marquee 45s linear infinite; }
.client-logos__marquee:hover .client-logos__track { animation-play-state: paused; }
.client-logos img { max-height: 2.75rem; max-width: 11rem; width: auto; object-fit: contain; filter: grayscale(1); opacity: 0.55; transition: filter 160ms ease, opacity 160ms ease; }
.client-logos img:hover { filter: none; opacity: 1; }
@keyframes sm-marquee {
	from { transform: translateX(0); }
	to { transform: translateX(calc(-100% - 3.5rem)); }
}
@media (prefers-reduced-motion: reduce) {
	.client-logos__track { animation: none; flex-wrap: wrap; }
	.client-logos__track[aria-hidden] { display: none; }
	.client-logos__marquee { width: auto; }
}
@media (max-width: 760px) { .client-logos img { max-height: 2.25rem; } }

.support-logos { display: flex; flex-wrap: wrap; align-items: center; gap: 2.5rem; }
.support-logos img { max-height: 3.5rem; width: auto; filter: grayscale(1); opacity: 0.6; transition: filter 160ms ease, opacity 160ms ease; }
.support-logos img:hover { filter: none; opacity: 1; }

/* ---------- Karty ---------- */
.card {
	background: var(--sm-surface); border: 1px solid var(--sm-line); border-radius: var(--sm-r);
	padding: 1.75rem; box-shadow: var(--sm-shadow);
	transition: transform 160ms ease, box-shadow 160ms ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--sm-shadow-lg); }
/* Karty v tmavých sekcích = dark mode */
.section--navy .card, .section--deep .card {
	background: hsl(214 40% 19%); border-color: hsl(213 30% 27%); box-shadow: none;
}
.section--navy .card p, .section--deep .card p { color: hsl(210 30% 78%); }
.section--navy .card .card__icon, .section--deep .card .card__icon { background: hsl(189 70% 20%); color: var(--sm-vivid); }
.section--navy .card:hover, .section--deep .card:hover { box-shadow: 0 12px 40px hsl(215 50% 5% / 0.5); }

/* Site Reviews hvězdičky inline */
.glsr-inline { display: flex; justify-content: center; }
.glsr-inline .glsr-star { width: 1.5rem; height: 1.5rem; }

.card__icon {
	display: inline-flex; align-items: center; justify-content: center;
	width: 3rem; height: 3rem; border-radius: 0.75rem;
	background: var(--sm-tint); color: var(--sm-primary-strong);
	margin-bottom: 1.1rem;
}
.card h3, .card h4 { margin-bottom: 0.45em; }
.card p { color: var(--sm-ink-soft); font-size: 0.9875rem; margin-bottom: 0; }
.card .card__more { display: inline-flex; align-items: center; gap: 0.3rem; margin-top: 1rem; font-family: var(--font-head); font-weight: 700; font-size: 0.9375rem; text-decoration: none; }

.grid { display: grid; gap: 1.25rem; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

/* ---------- Chip / badge ---------- */
.chip {
	display: inline-flex; align-items: center; gap: 0.35rem;
	background: var(--sm-tint); color: var(--sm-primary-strong);
	font-family: var(--font-head); font-size: 0.8125rem; font-weight: 600;
	padding: 0.3em 1em; border-radius: 999px; border: 1px solid hsl(192 58% 44% / 0.25);
	text-decoration: none;
}
a.chip:hover { background: var(--sm-primary-strong); color: #fff; }

/* ---------- Check list ---------- */
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.7rem; }
.check-list li { display: flex; gap: 0.7rem; align-items: flex-start; }
.check-list .sm-icon { color: var(--sm-primary); margin-top: 0.2em; }

/* ---------- Reference carousel / galerie ---------- */
.ref-strip { overflow: hidden; position: relative; }
.ref-strip__track { display: flex; gap: 1.25rem; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 1rem; scrollbar-width: thin; scroll-behavior: smooth; }
.ref-strip__nav {
	position: absolute; top: 40%; transform: translateY(-50%); z-index: 5;
	width: 2.75rem; height: 2.75rem; border-radius: 50%; border: 1px solid var(--sm-line);
	background: hsl(0 0% 100% / 0.95); color: var(--sm-ink); cursor: pointer;
	display: flex; align-items: center; justify-content: center;
	box-shadow: var(--sm-shadow-lg); transition: color 160ms ease, transform 160ms ease;
}
.ref-strip__nav:hover { color: var(--sm-primary-strong); transform: translateY(-50%) scale(1.06); }
.ref-strip__nav--prev { left: 0.5rem; }
.ref-strip__nav--prev svg { transform: rotate(180deg); }
.ref-strip__nav--next { right: 0.5rem; }
.ref-card {
	flex: 0 0 clamp(16rem, 28vw, 21rem); scroll-snap-align: start;
	border-radius: var(--sm-r); overflow: hidden; background: var(--sm-surface);
	border: 1px solid var(--sm-line); box-shadow: var(--sm-shadow); text-decoration: none; color: inherit;
	transition: transform 160ms ease, box-shadow 160ms ease;
}
.ref-card:hover { transform: translateY(-3px); box-shadow: var(--sm-shadow-lg); }
.ref-card img { aspect-ratio: 580 / 400; object-fit: cover; width: 100%; }
.ref-card figcaption { padding: 0.9rem 1.1rem; font-family: var(--font-head); font-weight: 700; font-size: 0.9375rem; }

/* ---------- Recenze ---------- */
.stars { display: inline-flex; gap: 0.15rem; color: hsl(42 95% 55%); }
.stars .sm-icon { fill: currentColor; }
.review-card { display: flex; flex-direction: column; gap: 0.75rem; }
.review-card__head { display: flex; align-items: center; gap: 0.75rem; }
.review-card__head img { width: 2.75rem; height: 2.75rem; border-radius: 50%; }
.review-card__name { font-family: var(--font-head); font-weight: 700; font-size: 0.9375rem; }
.review-card__date { color: var(--sm-ink-soft); font-size: 0.8125rem; }
.review-card p { font-size: 0.9375rem; color: var(--sm-ink-soft); margin: 0; }

/* ---------- Google recenze (WP Review Slider Pro) — kompaktní vzhled ---------- */
.wprevpro .wprevpro_avatarimg { width: 2.25rem !important; height: 2.25rem !important; border-radius: 50%; }
.wprevpro .indrevtxt { font-size: 0.875rem !important; line-height: 1.55 !important; }
.wprevpro .wpproslider_t2_STRONG_5 { font-size: 0.875rem !important; }
.wprevpro .wprev_showdate_T2, .wprevpro .wpproslider_t2_SPAN_6 { font-size: 0.75rem !important; }
.wprevpro .outerrevdiv { font-size: 0.875rem; }

/* ---------- Blog karty ---------- */
.post-card { display: flex; flex-direction: column; overflow: hidden; padding: 0; }
.post-card img { aspect-ratio: 580 / 320; object-fit: cover; width: 100%; }
.post-card__body { padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; gap: 0.5rem; flex: 1; }
.post-card__meta { font-size: 0.8125rem; color: var(--sm-ink-soft); display: flex; gap: 0.75rem; align-items: center; }
.post-card h3 { font-size: 1.125rem; line-height: 1.35; margin: 0; }
.post-card h3 a { color: inherit; text-decoration: none; }
.post-card h3 a:hover { color: var(--sm-primary-strong); }
.post-card p { font-size: 0.9375rem; }

/* ---------- CTA pásy ---------- */
.cta-band { border-radius: var(--sm-r); background: var(--sm-grad-deep); color: #fff; padding: clamp(2rem, 5vw, 3.5rem); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; }
.cta-band h2, .cta-band h3 { color: #fff; margin: 0 0 0.3em; }
.cta-band p { color: hsl(210 30% 82%); margin: 0; max-width: 38rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--sm-navy); color: hsl(210 30% 80%); padding-block: clamp(3rem, 6vw, 4.5rem) 1.5rem; font-size: 0.9375rem; }
.site-footer a { color: hsl(210 30% 80%); text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer h3 { color: #fff; font-size: 0.9375rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 1rem; }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 2rem; padding-bottom: 2.5rem; }
.site-footer__brand img { width: 152px; margin-bottom: 1rem; }
.site-footer__brand p { font-size: 0.875rem; color: hsl(210 25% 65%); }
.site-footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.45rem; }
.site-footer address { font-style: normal; margin-bottom: 0.75rem; }
.site-footer__contact a { display: inline-flex; align-items: center; gap: 0.45rem; padding-block: 0.15rem; color: #fff; font-weight: 600; }
.site-footer__cities { display: flex; flex-wrap: wrap; gap: 0.4rem 1.2rem; padding-block: 1.25rem; border-top: 1px solid hsl(213 30% 24%); font-size: 0.8125rem; }
.site-footer__cities a { color: hsl(210 25% 60%); }
.site-footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem; padding-top: 1.25rem; border-top: 1px solid hsl(213 30% 24%); font-size: 0.8125rem; color: hsl(210 25% 60%); }
@media (max-width: 1000px) { .site-footer__grid { grid-template-columns: repeat(2, 1fr); } .site-footer__brand { grid-column: 1 / -1; } }
@media (max-width: 560px) { .site-footer__grid { grid-template-columns: 1fr; } }

.grad-bar { height: 4px; background: var(--sm-grad-line); }

/* ---------- Prose (textové stránky) ---------- */
.prose { max-width: 72ch; }
.prose :is(h2, h3) { margin-top: 1.6em; }
.prose img { border-radius: var(--sm-r); }
.prose blockquote { border-left: 3px solid var(--sm-primary); margin: 1.5em 0; padding: 0.25em 0 0.25em 1.25em; color: var(--sm-ink-soft); }
.prose table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; }
.prose th { background: var(--sm-navy); color: #fff; text-align: left; padding: 0.7rem 1rem; font-family: var(--font-head); }
.prose td { padding: 0.7rem 1rem; border-bottom: 1px solid var(--sm-line); }
.prose tr:nth-child(even) td { background: var(--sm-mist); }

/* ---------- Formuláře (CF7 + obecné) ---------- */
.wpcf7 form, .sm-form { display: grid; gap: 0.75rem; }
.wpcf7 form p { margin: 0; } /* CF7 balí pole do <p> — bez resetu se odsazení sčítá s gapem */
.wpcf7 input[type="submit"] { margin-top: 1rem; }
.wpcf7 label, .sm-form label { font-family: var(--font-head); font-weight: 600; font-size: 0.9375rem; display: block; }
.wpcf7 input:not([type="submit"]):not([type="checkbox"]), .wpcf7 textarea, .wpcf7 select,
.sm-form input:not([type="submit"]):not([type="checkbox"]), .sm-form textarea, .sm-form select {
	width: 100%; margin-top: 0.35rem;
	padding: 0.7em 1em; font: inherit; color: var(--sm-ink);
	background: var(--sm-surface); border: 1.5px solid var(--sm-line); border-radius: var(--sm-r-sm);
	transition: border-color 120ms ease, box-shadow 120ms ease;
}
.wpcf7 :is(input, textarea, select):focus, .sm-form :is(input, textarea, select):focus {
	outline: none; border-color: var(--sm-primary); box-shadow: 0 0 0 3px hsl(192 58% 44% / 0.18);
}
.wpcf7 input[type="submit"], .sm-form [type="submit"] {
	justify-self: start;
	font-family: var(--font-head); font-weight: 700; font-size: 1rem; color: #fff;
	background: var(--sm-primary-strong); border: 0; border-radius: 999px; padding: 0.8em 2em; cursor: pointer;
	transition: background 160ms ease, transform 160ms ease;
}
.wpcf7 input[type="submit"]:hover, .sm-form [type="submit"]:hover { background: var(--sm-primary); transform: translateY(-2px); }
.wpcf7 .wpcf7-not-valid-tip { color: hsl(350 80% 45%); font-size: 0.8125rem; margin-top: 0.25rem; }
.wpcf7 .wpcf7-response-output { border: 1.5px solid var(--sm-line); border-radius: var(--sm-r-sm); padding: 0.8em 1em; margin: 0; }
.wpcf7 form.sent .wpcf7-response-output { border-color: hsl(150 60% 40%); background: hsl(150 60% 96%); }
.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.failed .wpcf7-response-output { border-color: hsl(350 80% 55%); background: hsl(350 80% 97%); }

/* ---------- FAQ ---------- */
.faq-item {
	background: var(--sm-surface); border: 1px solid var(--sm-line); border-radius: var(--sm-r);
	margin-bottom: 0.75rem; box-shadow: var(--sm-shadow);
}
.faq-item summary {
	display: flex; justify-content: space-between; align-items: center; gap: 1rem;
	padding: 1.1rem 1.4rem; cursor: pointer; list-style: none;
	font-family: var(--font-head); font-weight: 700; font-size: 1.0625rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item .faq-caret { color: var(--sm-primary); transition: transform 160ms ease; }
.faq-item[open] .faq-caret { transform: rotate(180deg); }
.faq-item__a { padding: 0 1.4rem 1.2rem; color: var(--sm-ink-soft); }
.faq-item__a p:last-child { margin-bottom: 0; }

/* ---------- ČOI / spotřebitelské spory ---------- */
.coi-grid { display: grid; grid-template-columns: 3fr 1fr; gap: 2.5rem; align-items: start; }
@media (max-width: 760px) { .coi-grid { grid-template-columns: 1fr; gap: 1.25rem; } }

/* ---------- Animace ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 500ms ease, transform 500ms ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
	.reveal { opacity: 1; transform: none; }
}

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.muted { color: var(--sm-ink-soft); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
