/* ==========================================================================
   Inner pages — shared page-hero + O nás / Kontakt / Ceník / GDPR
   ========================================================================== */

/* Extra grid step used on the values grid */
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1080px) { .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .grid--4 { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   Page hero (soft lavender-grey band)
   -------------------------------------------------------------------------- */
/* Same footprint as the homepage/centrum .hero — full-width, big scale. */
.page-hero {
	position: relative;
	overflow: hidden;
	background: var(--bg-hero);
	border-bottom: 1px solid var(--border);
	padding-top: clamp(2.25rem, 4vw, 3.5rem);
	padding-bottom: clamp(3rem, 6vw, 5.5rem);
}
.page-hero__inner { position: relative; z-index: 1; }

.page-hero__crumbs {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem;
	font-size: 0.85rem;
	color: var(--muted);
	margin-bottom: 1.5rem;
}
.page-hero__crumb { color: var(--muted); }
.page-hero__crumb:hover { color: var(--primary); }
.page-hero__crumb--current { color: var(--heading); font-weight: 600; }
.page-hero__crumb-sep { color: var(--border-strong); }

.page-hero__title {
	font-size: clamp(3rem, 6.2vw, 4.8rem);
	line-height: 1.04;
	color: var(--heading);
	margin-bottom: 1.5rem;
}
.page-hero__lead {
	font-size: 1.18rem;
	line-height: 1.7;
	color: var(--body);
	max-width: 60ch;
}

/* --------------------------------------------------------------------------
   O nás — intro (image + copy)
   -------------------------------------------------------------------------- */
.o-nas-page__inner {
	display: grid;
	grid-template-columns: 1fr 1.05fr;
	gap: clamp(2rem, 5vw, 4rem);
	align-items: center;
}
.o-nas-page__media { position: relative; }
.o-nas-page__img {
	width: 100%;
	height: 100%;
	max-height: 520px;
	object-fit: cover;
	border-radius: var(--radius-lg);
}
.o-nas-page__body .section__title { margin-bottom: 1.25rem; }
.o-nas-page__text { color: var(--body); font-size: 1.05rem; }
.o-nas-page__text p { margin-bottom: 1rem; }
.o-nas-page__text strong { color: var(--heading); }
.o-nas-page__cta { margin-top: 1.75rem; }

@media (max-width: 860px) {
	.o-nas-page__inner { grid-template-columns: 1fr; }
	.o-nas-page__media { order: 2; }
}

/* O nás — values */
.o-nas-value { display: flex; flex-direction: column; }
.o-nas-value__ico { width: 3rem; height: 3rem; margin-bottom: 1.1rem; }
.o-nas-value__ico svg { width: 1.5rem; height: 1.5rem; }
.o-nas-value__title {
	font-size: 1.2rem;
	color: var(--heading);
	margin-bottom: 0.6rem;
}
.o-nas-value__text { color: var(--body); font-size: 0.98rem; }

/* --------------------------------------------------------------------------
   Kontakt — company identity card
   -------------------------------------------------------------------------- */
.kontakt-company__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.02em;
	color: var(--primary);
	margin-bottom: 0.85rem;
}
.kontakt-company__eyebrow svg { width: 1.05rem; height: 1.05rem; }
.kontakt-company__name {
	font-size: 1.35rem;
	color: var(--heading);
	margin-bottom: 1.1rem;
}
.kontakt-company__list { display: flex; flex-direction: column; gap: 0.8rem; }
.kontakt-company__list li {
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
	color: var(--heading);
	font-weight: 500;
	padding-bottom: 0.8rem;
	border-bottom: 1px solid var(--border);
}
.kontakt-company__list li:last-child { border-bottom: 0; padding-bottom: 0; }
.kontakt-company__list a:hover { color: var(--primary); }
.kontakt-company__note {
	margin-top: 1.1rem;
	font-size: 0.9rem;
	color: var(--muted);
	background: var(--bg-alt);
	border-radius: var(--radius-sm);
	padding: 0.85rem 1rem;
}
.kontakt-company__parent {
	margin-top: 0.9rem;
	font-size: 0.92rem;
	color: var(--body);
}
.kontakt-company__parent strong { color: var(--heading); }

/* Kontakt — per-centre grid */
.kontakt-centrum { display: flex; flex-direction: column; }
.kontakt-centrum__head {
	display: flex;
	align-items: center;
	gap: 0.85rem;
	margin-bottom: 1.1rem;
}
.kontakt-centrum__name { font-size: 1.1rem; color: var(--heading); }
.kontakt-centrum__city {
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.02em;
	color: var(--muted);
}
.kontakt-centrum__list {
	display: flex;
	flex-direction: column;
	gap: 0.7rem;
	margin-bottom: 1.25rem;
	flex: 1 1 auto;
}
.kontakt-centrum__list li {
	display: flex;
	align-items: flex-start;
	gap: 0.6rem;
	font-size: 0.94rem;
	color: var(--body);
}
.kontakt-centrum__list a { color: var(--body); }
.kontakt-centrum__list a:hover { color: var(--primary); }
.kontakt-centrum__ico { flex: none; color: var(--primary); display: inline-flex; }
.kontakt-centrum__ico svg { width: 1.05rem; height: 1.05rem; }
.kontakt-centrum__link {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	font-weight: 600;
	color: var(--primary);
	margin-top: auto;
}
.kontakt-centrum__link svg { width: 1.05rem; height: 1.05rem; }
.kontakt-centrum__link:hover { color: var(--primary-dark); }

/* --------------------------------------------------------------------------
   Ceník — grouped price tables
   -------------------------------------------------------------------------- */
.container--mid { max-width: 1080px; }

.price-cat { margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.price-cat:last-child { margin-bottom: 0; }
.price-cat__head {
	display: flex;
	align-items: center;
	gap: 0.9rem;
	margin-bottom: 1.5rem;
	padding-bottom: 1rem;
	border-bottom: 2px solid var(--border);
}
.price-cat__head .icon-tile { flex: none; width: 3rem; height: 3rem; }
.price-cat__head .icon-tile svg { width: 1.5rem; height: 1.5rem; }
.price-cat__title { font-size: clamp(1.25rem, 2.4vw, 1.6rem); color: var(--heading); }

/* Cards stack full-width; the rows split into two columns inside each card. */
.price-cat__tables {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}

.price-group {
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	overflow: hidden;
	background: #fff;
}

/* Refined header — green edge accent + soft tint, not a flat bar. */
.price-group__title {
	position: relative;
	padding: 1.15rem 1.5rem 1.15rem 1.75rem;
	background: var(--primary-soft);
	color: var(--heading);
	font-weight: 700;
	font-size: 1.02rem;
	letter-spacing: -0.01em;
	border-bottom: 1px solid var(--border);
}
.price-group__title::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: 4px;
	background: var(--primary);
}

.price-table { width: 100%; border-collapse: collapse; }
.price-table th,
.price-table td {
	padding: 0.95rem 1.5rem;
	vertical-align: top;
	text-align: left;
}
.price-table tbody tr + tr td { border-top: 1px solid var(--border); }
.price-table tbody tr:nth-child(even) td { background: #fafbfd; }

.price-table thead th {
	font-size: 0.72rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--muted);
	background: var(--bg-alt);
	border-bottom: 1px solid var(--border-strong);
	padding-top: 0.75rem;
	padding-bottom: 0.75rem;
}
.price-table__svc {
	color: var(--heading);
	font-weight: 500;
	font-size: 0.97rem;
	line-height: 1.5;
	width: 100%;
	padding-right: 2rem;
}
.price-table__num {
	text-align: right;
	white-space: nowrap;
	font-variant-numeric: tabular-nums;
	color: var(--body);
}
.price-table__qty { text-align: center; color: var(--muted); font-weight: 600; }
.price-table__price { font-weight: 800; color: var(--navy); font-size: 1.05rem; }

/* Simple price lists — two columns of service · price inside one full-width card. */
.price-rows {
	display: grid;
	grid-template-columns: 1fr 1fr;
}
.price-row {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 1.5rem;
	padding: 0.95rem 1.5rem;
	border-top: 1px solid var(--border);
}
.price-rows .price-row:nth-child(1),
.price-rows .price-row:nth-child(2) { border-top: 0; }
.price-rows .price-row:nth-child(odd) { border-right: 1px solid var(--border); }
.price-row__svc {
	color: var(--heading);
	font-weight: 500;
	font-size: 0.96rem;
	line-height: 1.5;
}
.price-row__price {
	flex: none;
	font-weight: 800;
	color: var(--navy);
	font-size: 1.02rem;
	white-space: nowrap;
	font-variant-numeric: tabular-nums;
}
@media (max-width: 760px) {
	.price-rows { grid-template-columns: 1fr; }
	.price-rows .price-row:nth-child(odd) { border-right: 0; }
	.price-rows .price-row:nth-child(2) { border-top: 1px solid var(--border); }
}

/* Premium total rows — navy band with a mint figure. */
.price-table tbody tr.price-table__summary td {
	background: var(--navy);
	color: rgba(255, 255, 255, 0.92);
	font-weight: 700;
	border-top: 1px solid var(--navy-800);
}
.price-table tbody tr.price-table__summary td.price-table__price { color: #bcdcff; font-size: 1.12rem; }

.price-group__note {
	padding: 0.85rem 1.5rem;
	font-size: 0.84rem;
	font-style: italic;
	color: var(--muted);
	background: var(--bg-alt);
	border-top: 1px solid var(--border);
}

/* Phones: the 4-column package table used to scroll sideways, hiding Počet and
   Celkem — including the package totals. Each row now stacks: the service on
   top, then "cena × počet = celkem" on one line beneath it. */
@media (max-width: 640px) {
	.price-table thead { display: none; }
	.price-table tbody tr {
		display: flex;
		flex-wrap: wrap;
		align-items: baseline;
		gap: 0.15rem 0.45rem;
		padding: 0.85rem 1rem;
		border-top: 1px solid var(--border);
	}
	.price-table tbody tr:first-child { border-top: 0; }
	.price-table tbody tr:nth-child(even) { background: #fafbfd; }
	.price-table tbody tr td,
	.price-table tbody tr + tr td,
	.price-table tbody tr:nth-child(even) td,
	.price-table tbody tr.price-table__summary td { display: block; padding: 0; border-top: 0; background: none; }
	.price-table__svc { flex: 1 1 100%; width: auto; }
	.price-table__unit { font-size: 0.9rem; }
	.price-table__qty { font-size: 0.9rem; }
	.price-table tbody tr:not(.price-table__summary) .price-table__price { margin-left: auto; }
	.price-table tbody tr:not(.price-table__summary) .price-table__price::before { content: "= "; font-weight: 400; color: var(--muted); }
	.price-table tbody tr.price-table__summary { background: var(--navy); border-top-color: var(--navy-800); }
	.price-table tbody tr.price-table__summary .price-table__price { margin-left: auto; }
}

/* Download + fine-print */
.cenik-download-sec .cenik__download { margin-bottom: 2rem; }

.cenik__download {
	display: flex;
	align-items: center;
	gap: 1.25rem;
	flex-wrap: wrap;
}
.cenik__download-ico {
	flex: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 3.25rem;
	height: 3.25rem;
	border-radius: 50%;
	background: var(--primary-soft);
	color: var(--primary);
}
.cenik__download-ico svg { width: 1.6rem; height: 1.6rem; }
.cenik__download-body { flex: 1 1 220px; }
.cenik__download-title { font-size: 1.2rem; color: var(--heading); margin-bottom: 0.25rem; }
.cenik__download-meta { font-size: 0.94rem; color: var(--body); }
.cenik__download-btn svg { width: 1.1rem; height: 1.1rem; }

.cenik__notes { display: flex; flex-direction: column; gap: 0.85rem; }
.cenik__notes li {
	display: flex;
	align-items: flex-start;
	gap: 0.7rem;
	color: var(--body);
	font-size: 0.98rem;
}
.cenik__note-mark { flex: none; color: var(--primary); display: inline-flex; margin-top: 0.1rem; }
.cenik__note-mark svg { width: 1.1rem; height: 1.1rem; }
.cenik__notes strong { color: var(--heading); }

.cenik-fine {
	display: grid;
	grid-template-columns: 1.6fr 1fr;
	gap: clamp(1.5rem, 4vw, 3rem);
	align-items: start;
}
.cenik-fine__title {
	font-size: 1.1rem;
	color: var(--heading);
	margin-bottom: 1rem;
}
.cenik-accounts { display: flex; flex-direction: column; gap: 0.85rem; }
.cenik-accounts li {
	display: flex;
	flex-direction: column;
	gap: 0.2rem;
	padding: 0.9rem 1.1rem;
	background: #fff;
	border: 1px solid var(--border);
	border-radius: var(--radius-sm);
}
.cenik-accounts__label { font-size: 0.82rem; color: var(--muted); }
.cenik-accounts__num {
	font-weight: 800;
	color: var(--navy);
	font-size: 1.05rem;
	letter-spacing: 0.01em;
	font-variant-numeric: tabular-nums;
}
@media (max-width: 720px) {
	.cenik-fine { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   GDPR
   -------------------------------------------------------------------------- */
.gdpr__spravce { margin-bottom: 2rem; }
.gdpr__spravce-title { font-size: 1.2rem; color: var(--heading); margin-bottom: 0.75rem; }
.gdpr__spravce-body { color: var(--body); line-height: 1.7; }
.gdpr__spravce-body strong { color: var(--heading); }
.gdpr__spravce-body a { color: var(--primary); }
.gdpr__spravce-body a:hover { color: var(--primary-dark); }

.gdpr__content { margin-bottom: 2rem; color: var(--body); }
.gdpr__docs-title { font-size: 1.35rem; color: var(--heading); margin-bottom: 1.25rem; }

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

.doc-card {
	display: flex;
	align-items: center;
	gap: 1rem;
}
.doc-card:hover { border-color: var(--primary); }
.doc-card__ico {
	flex: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.9rem;
	height: 2.9rem;
	border-radius: 50%;
	background: var(--primary-soft);
	color: var(--primary);
}
.doc-card__ico svg { width: 1.4rem; height: 1.4rem; }
.doc-card__body { display: flex; flex-direction: column; gap: 0.2rem; flex: 1 1 auto; }
.doc-card__title { font-weight: 700; color: var(--heading); }
.doc-card__desc { font-size: 0.88rem; color: var(--muted); }
.doc-card__arrow { flex: none; color: var(--primary); display: inline-flex; }
.doc-card__arrow svg { width: 1.2rem; height: 1.2rem; }

/* ==========================================================================
   Chci poskytnout dar  +  Jak podat stížnost
   Static information pages — cards here are NOT links, so none of them react
   to hover (feedback round 4). Only .doc-card, a real download, does.
   ========================================================================== */

.dar__title,
.stiznost__title {
	margin: clamp(2.5rem, 5vw, 3.5rem) 0 0.85rem;
	font-size: clamp(1.5rem, 2.4vw, 1.9rem);
}
.dar__title:first-of-type,
.stiznost__title:first-of-type { margin-top: 0; }

.dar__lead,
.stiznost__lead {
	margin: 0 0 1.75rem;
	color: var(--body);
	line-height: 1.7;
}

/* Bank details card */
.dar__account { margin-bottom: 0.5rem; }
.dar__account .kontakt-company__list strong { font-variant-numeric: tabular-nums; }

/* Three "how to get a tax certificate" cards */
.dar__steps { margin-bottom: 0.5rem; }
.dar__step-title,
.stiznost__channel-title {
	margin: 1rem 0 0.45rem;
	font-size: 1.05rem;
}
.dar__step-body,
.stiznost__channel-body {
	margin: 0;
	font-size: 0.94rem;
	line-height: 1.6;
	color: var(--body);
	overflow-wrap: anywhere;
}

.dar__contact {
	margin-top: clamp(2rem, 4vw, 3rem);
	background: var(--bg-alt);
}
.dar__contact p { margin: 0; line-height: 1.7; }

/* Complaint channels + numbered process */
.stiznost__channels { margin-bottom: 0.5rem; }

.stiznost__process {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 1.25rem;
}
.stiznost__step {
	display: flex;
	align-items: flex-start;
	gap: 1.1rem;
	padding: clamp(1.25rem, 2.2vw, 1.6rem);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	background: #fff;
}
.stiznost__step-num {
	flex: none;
	width: 2.25rem;
	height: 2.25rem;
	border-radius: 50%;
	background: var(--primary-soft);
	color: var(--primary-dark);
	font-weight: 700;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}
.stiznost__step-title { margin: 0.1rem 0 0.4rem; font-size: 1.05rem; }
.stiznost__step-body { margin: 0; font-size: 0.94rem; line-height: 1.6; color: var(--body); }

.stiznost__contact { margin-top: clamp(2rem, 4vw, 3rem); }

/* --------------------------------------------------------------------------
   404 + form thank-you page (round 7): a next step, never a dead end.
   -------------------------------------------------------------------------- */
.notice-page__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.notice-page__actions--end { margin: clamp(2rem, 4vw, 3rem) 0 0; }
.notice-page__title { font-size: clamp(1.35rem, 2.2vw, 1.7rem); margin: 0 0 1.25rem; }
.notice-page__note {
	display: flex;
	align-items: center;
	gap: 1.25rem;
	padding: clamp(1.25rem, 3vw, 1.75rem);
	margin-bottom: clamp(2rem, 4vw, 3rem);
}
.notice-page__note p { margin: 0; }
.notice-page__note .icon-tile { flex: none; }

.centra-links {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 0.75rem;
	margin: 0;
	padding: 0;
	list-style: none;
}
.centra-links__item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	height: 100%;
	padding: 1rem 1.25rem;
	border: 1px solid var(--border);
	border-radius: var(--radius);
	background: var(--bg-body);
	color: var(--heading);
	text-decoration: none;
}
.centra-links__item:hover { border-color: var(--primary); color: var(--primary-dark); }
.centra-links__item svg { flex: none; width: 1.1rem; height: 1.1rem; color: var(--primary); }
.centra-links__body { display: flex; flex-direction: column; gap: 0.15rem; }
.centra-links__city { font-weight: 700; }
.centra-links__spec { font-size: 0.9rem; color: var(--body); }
