/* KZ FINANCE – styly nového webu.
   Barvy, písma a vzhled převzaty z původního webu (git origin/master: www/assets/front/sass, 2017–2022).
   Písma Karma a Source Sans Pro jsou lokálně ve www/assets/fonts/ (SIL Open Font License, Fontsource 5.3.0). */

/* ---------- Písma ---------- */
@font-face { font-family: "Karma"; font-style: normal; font-weight: 300; font-display: swap; src: url("../fonts/karma-latin-ext-300-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Karma"; font-style: normal; font-weight: 300; font-display: swap; src: url("../fonts/karma-latin-300-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Karma"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/karma-latin-ext-500-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Karma"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/karma-latin-500-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Source Sans Pro"; font-style: normal; font-weight: 300; font-display: swap; src: url("../fonts/source-sans-pro-latin-ext-300-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Source Sans Pro"; font-style: normal; font-weight: 300; font-display: swap; src: url("../fonts/source-sans-pro-latin-300-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Source Sans Pro"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/source-sans-pro-latin-ext-400-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Source Sans Pro"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/source-sans-pro-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Source Sans Pro"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/source-sans-pro-latin-ext-700-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Source Sans Pro"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/source-sans-pro-latin-700-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ---------- Barvy a proměnné (původní $theme-colors) ---------- */
:root {
	--c-primary: #187281;      /* $cyan-dark – primární, odkazy v textu */
	--c-primary-dark: #125661; /* hover tlačítka */
	--c-link-hover: #0c3941;   /* hover odkazu v textu */
	--c-vine: #6f2949;         /* $vine – menu, nadpisy odkazů, akcentní tlačítko */
	--c-vine-dark: #531f37;
	--c-cyan-light: #5e9da7;   /* $cyan-light – oddělovače, časová osa */
	--c-pink: #e2d4db;         /* $pink – linka nad menu */
	--c-text: #383636;         /* $default – text i nadpisy */
	--c-tab: #495057;          /* aktivní záložka */
	--c-gray: #ddd;            /* rámečky záložek */
	--c-border: rgba(0, 0, 0, .125); /* rámeček karty */
	--c-light: #f8f9fa;        /* $gray-100 */
	--c-white: #fff;
	--font: "Source Sans Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--font-heading: Karma, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--gutter: 30px;
}

/* ---------- Základ (Bootstrap 4 reboot + téma) ---------- */
*, *::before, *::after { box-sizing: border-box; }

body {
	margin: 0;
	font-family: var(--font);
	font-size: 1rem;
	font-weight: 400;
	line-height: 1.5;
	color: var(--c-text);
	background: var(--c-white);
}

img { max-width: 100%; height: auto; vertical-align: middle; }
p, ul, ol, dl, blockquote, table { margin: 0 0 1rem; }
ul ul, ol ol, ul ol, ol ul { margin-bottom: 0; }

/* Odkaz v textu: tyrkysový bez podtržení, při najetí tmavší a podtržený. */
a { color: var(--c-primary); text-decoration: none; }
a:hover, a:focus { color: var(--c-link-hover); text-decoration: underline; }
/* Původní .text-vine.text-underline – vínový podtržený odkaz (nadpisy karet, rozcestníky). */
.link-vine { color: var(--c-vine); text-decoration: underline; }
.link-vine:hover, .link-vine:focus { color: var(--c-vine); text-decoration: none; }

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4 {
	font-family: var(--font-heading);
	font-weight: 500;
	line-height: 1.1;
	color: var(--c-text);
	margin: 0 0 .5rem;
}
/* Titulek stránky – původně h2.text-center.text-primary.mb-5 */
h1 { font-size: 2rem; color: var(--c-primary); text-align: center; margin-bottom: 3rem; }
h2, .h2 { font-size: 2rem; }
h3, .h3 { font-size: 1.25rem; }
h4, .h4 { font-size: 1.125rem; }
h5 { font-size: 1rem; }
h6 { font-size: .875rem; }
@media (max-width: 767px) { h1, h2, .h2 { font-size: 1.5rem; } }

.container { width: 100%; margin: 0 auto; padding: 0 15px; }
@media (min-width: 576px) { .container { max-width: 540px; } }
@media (min-width: 768px) { .container { max-width: 720px; } }
@media (min-width: 992px) { .container { max-width: 960px; } }
@media (min-width: 1200px) { .container { max-width: 1140px; } }

.section { padding-top: 3rem; padding-bottom: 3rem; }
.text-center { text-align: center; }
.lead { font-size: 1.25rem; font-weight: 300; }
.small, small { font-size: 89%; font-weight: 400; }

.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 16px; top: 16px; z-index: 100; background: var(--c-white); padding: 8px 12px; }

/* ---------- Tlačítka (původní .btn: Karma, bez zaoblení) ---------- */
.btn {
	display: inline-block;
	padding: .75rem .75rem .5rem;
	border: 1px solid var(--c-primary);
	background: var(--c-primary);
	color: var(--c-white);
	font-family: var(--font-heading);
	font-size: 1rem;
	font-weight: 500;
	line-height: 1.25;
	text-align: center;
	text-decoration: none;
	white-space: nowrap;
	vertical-align: middle;
	transition: all .15s ease-in-out;
}
.btn:hover, .btn:focus { background: var(--c-primary-dark); border-color: #104c56; color: var(--c-white); text-decoration: none; }
.btn-accent { background: var(--c-vine); border-color: var(--c-vine); }
.btn-accent:hover, .btn-accent:focus { background: var(--c-vine-dark); border-color: #4a1b31; }
.btn-lg { padding: .75rem 1rem .5rem; font-size: 1.25rem; line-height: 1.5; }
.btn img { margin-right: .25rem; }

/* ---------- Hlavička ---------- */
.site-header { background: var(--c-white); position: relative; z-index: 1; }
.header-top {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	padding-top: 1rem;
	padding-bottom: 1rem;
}
.logo { display: inline-block; margin-bottom: 1rem; }
.logo img { display: block; }
.logo-text { font-family: var(--font-heading); font-size: 1.75rem; color: var(--c-primary); }
.header-buttons .btn { margin: 0 0 .25rem; }
@media (min-width: 768px) {
	.header-buttons { text-align: right; }
	.header-buttons .btn { margin: .25rem; }
}
@media (max-width: 767px) { .header-top { display: block; } .header-buttons { display: flex; flex-wrap: wrap; gap: 0 .25rem; } }

/* ---------- Menu (původní .navbar-light: Karma, vínová) ---------- */
.main-nav { background: var(--c-white); border-top: 1px solid var(--c-pink); padding: .5rem 0; }
.nav-toggle { display: none; }
.menu { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; }
.menu > li { position: relative; margin-right: 1rem; }
.menu > li:last-child { margin-right: 0; }
@media (min-width: 1200px) { .menu > li { margin-right: 1.5rem; } }
.menu a {
	display: block;
	padding: .5rem;
	font-family: var(--font-heading);
	font-size: 1rem;
	color: var(--c-vine);
	text-decoration: none;
}
.menu a:hover, .menu a:focus { color: #000; text-decoration: none; }
.menu > li.active > a, .menu a[aria-current="page"] { color: #000; }
.submenu {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	z-index: 10;
	min-width: 270px;
	list-style: none;
	margin: 0;
	padding: .5rem 0;
	background: var(--c-white);
	border: 1px solid rgba(0, 0, 0, .15);
}
.submenu a { padding: .25rem 1.5rem; }
.has-children:hover > .submenu, .has-children:focus-within > .submenu { display: block; }

@media (max-width: 991px) {
	.nav-toggle {
		display: block;
		margin: 0 0 .5rem;
		padding: .5rem;
		border: 1px solid var(--c-vine);
		background: transparent;
		color: var(--c-vine);
		font: 400 1.25rem/1 var(--font);
		cursor: pointer;
	}
	.menu { display: none; flex-direction: column; }
	.menu.open { display: flex; }
	.menu > li { margin-right: 0; }
	.menu a { padding: .5rem 0; }
	.submenu { display: block; position: static; border: 0; padding: 0 0 0 1rem; min-width: 0; }
}
@media (min-width: 576px) and (max-width: 991px) { .nav-toggle, .menu { margin-left: 1rem; } }

/* ---------- Drobečková navigace (původní .bg-primary + .breadcrumb.pt-2.small) ---------- */
.breadcrumbs { background: var(--c-primary); color: var(--c-white); font-family: var(--font-heading); font-size: 89%; }
.breadcrumbs ol { list-style: none; margin: 0 0 1rem; padding: .5rem 0 .2rem; display: flex; flex-wrap: wrap; }
.breadcrumbs ol::before { content: "Právě se nacházíte:"; margin-right: .25em; }
.breadcrumbs li + li::before { content: "/"; padding: 0 .5rem; }
.breadcrumbs a { color: var(--c-white); text-decoration: underline; }
.breadcrumbs a:hover, .breadcrumbs a:focus { color: var(--c-white); text-decoration: none; }

/* ---------- Úvodní stránka (původní .bg-hp-top, .bg-white80, záložky, .bg-hp-work) ---------- */
.hero {
	background: #868e96 url("../img/bg-hp-top-01.jpg") top center / cover no-repeat;
	padding-top: 3rem;
}
@media (min-width: 768px) { .hero { padding-top: 10rem; } }
@media (max-width: 767px) { .hero { background-image: url("../img/bg-hp-top-01-xs.jpg"); } }
@media (min-width: 768px) { .hero-text { max-width: 66.6667%; } }
@media (min-width: 992px) { .hero-text { max-width: 50%; } }
.hero-years { font-family: var(--font-heading); font-size: 10rem; font-weight: 300; line-height: 1.1; color: var(--c-white); margin: 0; }
.hero h1 { font-weight: 300; font-size: 2rem; color: var(--c-white); text-align: left; margin-bottom: 3rem; }
.hero .btn-lg { margin-bottom: 5rem; }
@media (max-width: 767px) { .hero-years { font-size: 3rem; } .hero h1 { font-size: 1.5rem; } }

.hero-news { background: rgba(255, 255, 255, .8); padding: 4rem 0; }
.hero-news-row { display: grid; gap: 0 var(--gutter); align-items: center; }
@media (min-width: 768px) { .hero-news-row { grid-template-columns: 5fr 5fr 2fr; } }
.hero-news h3 { margin: 0 0 .5rem; }
.hero-news-date { font-size: .875rem; font-weight: 500; line-height: 1.1; color: var(--c-primary); margin: 0 0 .5rem; }
.hero-news-more { text-align: center; }

.services-tabs { padding-top: 3rem; text-align: center; }
@media (min-width: 768px) { .services-tabs { padding-top: 6rem; } }
.tabs { display: flex; flex-wrap: wrap; justify-content: center; border-bottom: 1px solid var(--c-gray); }
.tab { display: block; margin-bottom: -1px; padding: .5rem 1rem; border: 1px solid transparent; color: var(--c-primary); }
.tab:hover, .tab:focus { border-color: #e9ecef #e9ecef var(--c-gray); text-decoration: none; }
.tab.active { color: var(--c-tab); background: var(--c-white); border-color: var(--c-gray) var(--c-gray) var(--c-white); }
.tab-content { border: 1px solid var(--c-gray); border-top: 0; padding: 1.5rem .25rem; }
@media (min-width: 992px) { .tab-content { padding: 3rem; } }
.tab-pane { display: none; }
.tab-pane.active { display: block; }
/* Bez JavaScriptu přepíná záložky odkaz na #id (:target). */
.tab-pane:target { display: block; }
.tab-content:has(.tab-pane:target) .tab-pane.active:not(:target) { display: none; }
.tab-pane h2 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }

.how-we-work {
	background: url("../img/bg-hp-jak-pracujeme.jpg") top center / cover no-repeat;
	padding: 8rem 0 10rem;
	text-align: center;
}
.how-we-work h2 { color: var(--c-primary); margin-bottom: 3rem; }
.how-we-work .motto { font-family: var(--font); font-style: italic; font-weight: 300; margin-bottom: 4rem; }

.where { padding-top: 6rem; padding-bottom: 3rem; text-align: center; }
.where h2 { color: var(--c-primary); margin-bottom: 3rem; }
.section + .where { padding-top: 1.5rem; }

/* Odkazy na pobočky („Kde nás najdete?“, „Naši další poradci“) */
.branch-links a { display: inline-block; margin: 1rem; font-family: var(--font-heading); }

/* Mapa poboček (partial branch-map) */
.branch-map { max-width: 960px; margin: 0 auto 2rem; }
.branch-map svg { display: block; width: 100%; height: auto; overflow: visible; }
.branch-map text { font-family: var(--font-heading); font-size: 22px; fill: var(--c-text); paint-order: stroke; stroke: var(--c-white); stroke-width: 5px; stroke-linejoin: round; }
.branch-map circle { fill: var(--c-vine); stroke: var(--c-white); stroke-width: 3px; }
.branch-map .map-hq circle { fill: var(--c-primary); }
.branch-map .map-hq text { font-weight: 700; fill: var(--c-primary); }
.branch-map a:hover text, .branch-map a:focus text { fill: var(--c-vine); text-decoration: underline; }
.branch-map a:hover circle, .branch-map a:focus circle { fill: var(--c-vine-dark); }
.branch-map figcaption { margin-top: .5rem; font-size: .875rem; color: var(--c-tab); }
/* na mobilu by se popisky překrývaly – jen větší body, názvy jsou v odkazech pod mapou */
@media (max-width: 575.98px) {
	.branch-map text { display: none; }
	.branch-map circle { r: 16px; }
	.branch-map .map-hq circle { r: 20px; }
}

/* ---------- Rozcestník (karty O nás, Jak pracujeme – původní .card-deck) ---------- */
.cards { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 var(--gutter); text-align: center; }
.cards > .card { flex: 0 0 100%; margin-bottom: 1.5rem; }
@media (min-width: 768px) { .cards > .card { flex-basis: calc((100% - 2 * var(--gutter)) / 3); } }
.card { border: 1px solid var(--c-border); padding: 1.25rem; background: var(--c-white); }
.cards > .card:hover { background: var(--c-light); }
.card-icon { display: block; margin: 0 auto 1.5rem; }
.cards > .card p { margin-bottom: 3rem; }

/* ---------- Text obsahu (původní .col-md-8.mx-auto) ---------- */
.prose, .narrow { margin-left: auto; margin-right: auto; }
@media (min-width: 768px) { .prose, .narrow { max-width: 480px; } }
@media (min-width: 992px) { .prose, .narrow { max-width: 640px; } }
@media (min-width: 1200px) { .prose, .narrow { max-width: 760px; } }
.prose:not(.container), .narrow:not(.container) { padding: 0 15px; }
/* Mezititulky – původně h2/h3.font-source(.font-weight-light).mb-4 */
.prose h2 { font-family: var(--font); font-weight: 300; margin-bottom: 1.5rem; }
.prose h3, .prose .h3 { font-family: var(--font); font-weight: 500; margin-bottom: 1.5rem; }
.prose h2.medium { font-weight: 500; }
.prose h3.light { font-weight: 300; }
.prose * + h2, .prose * + h3 { margin-top: 2rem; }
.prose img { margin: .5rem 0; }
/* Obsah převzatý z redakčního systému (aktuality, Reference, Online sekce) – nadpisy bez tříd = Karma. */
.prose-plain h2, .prose-plain h3, .prose-plain h4 { font-family: var(--font-heading); font-weight: 500; margin-bottom: .5rem; }
.prose-plain * + h2, .prose-plain * + h3 { margin-top: 0; }
.prose table { border-collapse: collapse; max-width: 100%; display: block; overflow-x: auto; }
.prose td, .prose th { padding: .3rem .6rem; vertical-align: top; }

/* ---------- Kontakty (ikona telefonu / e-mailu) ---------- */
.contact-box { margin: 0 0 1rem; }
.contact-line { margin: 0 0 .5rem; font-family: var(--font); font-weight: 300; font-size: 1.125rem; line-height: 1.1; overflow-wrap: anywhere; }
.contact-line img { margin-right: .25em; }
.contact-line a { color: var(--c-text); text-decoration: none; }
.contact-line .contact-email { color: var(--c-vine); text-decoration: underline; }
.contact-line .contact-email:hover { text-decoration: none; }

/* Osoba – Náš tým, detail pobočky (původní .col-md-5 foto + .col-md-7 text) */
.person { margin-bottom: 1rem; }
@media (min-width: 768px) { .person { display: grid; grid-template-columns: 5fr 7fr; gap: 0 var(--gutter); } }
.person-photo { display: block; border-radius: 50%; margin-bottom: 1rem; }
.person h2 { font-family: var(--font); font-weight: 300; margin-bottom: .5rem; }
.person .contact-box { margin-bottom: 1.5rem; }
.person .contact-line { font-size: 1.25rem; }
.person .lead { font-weight: 500; font-style: italic; line-height: 1.1; color: var(--c-primary); margin-bottom: 3rem; }
.person-card > p:last-child { margin-bottom: 3rem; }
.person.no-photo { display: block; }

/* Kontakty – karta centrály, fakturační údaje */
.contacts { display: grid; gap: 0 var(--gutter); }
@media (min-width: 768px) { .contacts { grid-template-columns: 1fr 1fr; } }
.contacts .card { margin-bottom: 1.5rem; }
.contacts > :only-child { grid-column: 1 / -1; } /* bez fotky sídla karta přes celou šířku */
/* karta centrály ve dvou sloupcích (vlevo adresa a kontakt, vpravo hodiny a tlačítka) */
.card-cols { display: grid; gap: 0 var(--gutter); }
@media (min-width: 768px) { .card-cols { grid-template-columns: 1fr 1fr; } }
.card-cols > div > :first-child { margin-top: 0; }
.card-stack .card + .card { border-top: 0; }
.card .contact-box { margin-bottom: 1rem; }

/* ---------- Aktuality ---------- */
.news-item h2 { font-size: 1.25rem; margin-bottom: .5rem; }
.news-date { color: var(--c-primary); font-size: 89%; }
.news-perex { margin-bottom: 3rem; }
.aktualita h1 { margin-bottom: .5rem; }
.aktualita .news-date { text-align: center; margin-bottom: 1.5rem; }
.pager { display: grid; grid-template-columns: 1fr 1fr 1fr; }
.pager > :nth-child(2) { text-align: center; }
.pager > :nth-child(3) { text-align: right; }
.gallery { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); margin: 24px 0; }
.link-list li { margin: 0; }

/* ---------- Časová osa (Historie, původní .timeline) ---------- */
.timeline { list-style: none; padding: 0; margin: 2rem auto 3rem; }
@media (min-width: 992px) { .timeline { max-width: calc((100% + 30px) * 10 / 12 - 30px); } }
@media (min-width: 1200px) { .timeline { max-width: calc((100% + 30px) * 9 / 12 - 30px); } }
.timeline-when { display: block; position: relative; padding: .5rem 15px 0; font-family: var(--font-heading); font-weight: 500; font-size: 1.125rem; line-height: 1.1; margin: 0 0 .5rem; }
.timeline-text { padding: 0 15px; }
.timeline-text p { margin: 0 .5rem 1rem; }
@media (min-width: 576px) {
	.timeline li { display: grid; grid-template-columns: 3fr 8fr 1fr; }
	.timeline-when { text-align: right; padding: .5rem calc(15px + .5rem) 0; margin: 0; }
	.timeline-when::after { content: ""; position: absolute; top: 0; right: -.8rem; z-index: 1; width: 1.5rem; height: 1.5rem; border-radius: 50%; background: var(--c-white); border: 1px solid var(--c-vine); }
	.timeline-text { border-left: 3px solid var(--c-cyan-light); }
}

/* ---------- Partneři ---------- */
.columns { columns: 2 260px; column-gap: 32px; padding-left: 1.2em; }
.columns li { break-inside: avoid; }

/* ---------- Služby (rozcestník s ikonami + bloky text/fotka) ---------- */
.services-intro { text-align: center; }
.services-intro h2 { font-family: var(--font); font-weight: 300; margin-bottom: 3rem; }
.service-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 0 var(--gutter); text-align: center; }
.service-list li { flex: 0 0 100%; margin-bottom: 3rem; }
@media (min-width: 576px) { .service-list li { flex-basis: calc((100% - var(--gutter)) / 2); } }
@media (min-width: 768px) { .service-list li { flex-basis: calc((100% - 3 * var(--gutter)) / 4); } }
.service-list img { display: block; margin: 0 auto 1.5rem; }
.service-list h3 { margin: 0 0 .5rem; }

/* Původně .container-fluid (okraj 15 px) > .row.no-gutters.align-items-center > 2× .col-md-6;
   text v .col-xl-8.ml-auto.pr-5 (vlevo) nebo .col-xl-8.pl-5 (vpravo). Fotky se tak dotýkají rohy. */
.service { scroll-margin-top: 16px; padding: 0 15px; }
@media (min-width: 768px) { .service { display: grid; grid-template-columns: 1fr 1fr; align-items: center; } }
.service-photo img { display: block; width: 100%; }
.service-text { padding: 1.5rem 0; }
.service h2 { font-family: var(--font); font-weight: 300; color: var(--c-vine); }
.service-head img { display: none; max-width: none; margin-bottom: 1.5rem; }
/* Ikona ve sloupci 3/12 (lg) nebo 2/12 (xl) šířky textu, nadpis ve zbytku – ikona přesahuje do mezery jako dřív. */
@media (min-width: 992px) {
	.service-head { display: grid; grid-template-columns: calc((100% + 30px) / 4 - 30px) minmax(0, 1fr); gap: 0 30px; align-items: start; }
	.service-head img { display: block; }
}
@media (min-width: 1200px) { .service-head { grid-template-columns: calc((100% + 30px) / 6 - 30px) minmax(0, 1fr); } }
@media (min-width: 768px) {
	.service-text { margin: 0 -15px; padding: 0 3rem 0 15px; }
	.service-photo + .service-text { padding: 0 15px 0 3rem; }
}
@media (min-width: 1200px) {
	.service-text { width: calc((100% + 30px) * 2 / 3); margin: 0 -15px 0 auto; }
	.service-photo + .service-text { margin: 0 auto 0 -15px; }
}
.cta { padding: 12px 16px; border-left: 3px solid var(--c-vine); background: var(--c-light); }

/* ---------- „Kam dál?“ (původně s obrázkem bg-kam-dal.jpg) ---------- */
.section:has(+ .section-nav) { padding-bottom: 0; }
.section-nav { padding-top: 0; display: grid; grid-template-columns: 1fr; gap: 0 var(--gutter); align-items: end; }
@media (min-width: 576px) { .section-nav { grid-template-columns: 1fr 1fr; } }
.section-nav h2 { font-family: var(--font); font-weight: 300; margin-bottom: 1.5rem; }
.section-nav ul { margin-bottom: 3rem; }

/* ---------- Patička (původní .bg-contact + .bg-primary) ---------- */
.footer-contact {
	background: var(--c-light) url("../img/bg-contact.jpg") top center / cover no-repeat;
	padding: 4rem 0 .5rem;
	text-align: center;
}
.footer-contact-inner { display: grid; gap: 0 var(--gutter); margin-bottom: 1.5rem; }
.footer-logo { margin-bottom: 1rem; }
@media (min-width: 768px) {
	.footer-contact-inner { grid-template-columns: 5fr 7fr; }
	.footer-logo { text-align: right; margin-bottom: 0; }
	.footer-contact .contact-box { text-align: left; }
}
.footer-contact .contact-line { font-size: 2rem; }
@media (max-width: 767px) { .footer-contact .contact-line { font-size: 1.5rem; } }
.footer-buttons { margin-bottom: 3rem; }
.footer-buttons .btn { margin: 0 0 .25rem; }
@media (min-width: 768px) { .footer-buttons .btn { margin: .25rem; } }
.footer-menu { margin-bottom: .5rem; }
.footer-menu a { display: inline-block; margin: 0 1rem; font-family: var(--font-heading); }
.footer-legal { background: var(--c-primary); color: var(--c-text); text-align: center; }
.footer-legal .container { padding-top: 1rem; padding-bottom: 1rem; }
.footer-legal p { margin: .5rem 0; }
@media (min-width: 768px) { .footer-legal p { text-align: left; max-width: calc((100% + 30px) * 10 / 12 - 30px); } }
.footer-legal a { color: var(--c-white); text-decoration: underline; }
.footer-legal a:hover, .footer-legal a:focus { color: var(--c-white); text-decoration: none; }
.footer-legal .sep { color: var(--c-cyan-light); }
