/* STASVO – redesign 2026-11: rozšíření stávajícího vzhledu (logo, navy #002946, modrá #0070bc, Roboto).
   Vše s prefixem .sx-, aby se nic nerozbilo ve stávajícím main.css. */

/* ---------- Základ ---------- */
.sx p, .sx li { display: block; }
.sx { font-size: 17px; }
.sx h2 { margin-top: 0; }
.sx-wrap { width: 96%; margin: 0 auto; max-width: 1360px; }
.sx-eyebrow { display: block; font-size: 14px; letter-spacing: .12em; text-transform: uppercase; color: #0070bc; font-weight: 700; margin: 0 0 8px; }
.sx-title { color: #002946; font-size: 32px; font-weight: 300; margin: 0 0 12px; text-align: left; position: relative; padding-bottom: 14px; }
.sx-title:after { content: ""; position: absolute; left: 0; bottom: 0; width: 64px; height: 4px; background: #7abb00; }
.sx-lead { font-size: 19px; line-height: 1.5; color: #3f3f3f; max-width: 880px; margin: 0 0 18px; }

/* ---------- Tlačítka ---------- */
a.sx-btn, a.sx-btn:visited, button.sx-btn {
	display: inline-block; box-sizing: border-box; border: 2px solid #0070bc; background: #0070bc; color: #fff;
	font-size: 17px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; text-decoration: none;
	padding: 13px 28px; margin: 6px 12px 6px 0; line-height: 1.2; cursor: pointer; text-align: center;
	transition: background .2s, color .2s, border-color .2s, box-shadow .2s;
}
a.sx-btn:hover, button.sx-btn:hover { background: #002946; border-color: #002946; color: #fff; text-decoration: none; box-shadow: 0 4px 12px rgba(0,41,70,.25); }
a.sx-btn--ghost, a.sx-btn--ghost:visited { background: transparent; color: #0070bc; }
a.sx-btn--ghost:hover { background: #0070bc; border-color: #0070bc; color: #fff; }
a.sx-btn--light, a.sx-btn--light:visited { background: #fff; border-color: #fff; color: #002946; }
a.sx-btn--light:hover { background: #bee3fb; border-color: #bee3fb; color: #002946; }
a.sx-btn--ghost-light, a.sx-btn--ghost-light:visited { background: transparent; border-color: #fff; color: #fff; }
a.sx-btn--ghost-light:hover { background: #fff; border-color: #fff; color: #002946; }
.sx-actions { margin: 18px 0 8px; }

/* ---------- Hero (úvod) ---------- */
#intro.sx-hero .caption { top: 0; bottom: 0; }
#intro.sx-hero .caption > div { background: rgba(255,255,255,.88); padding: 26px 0; max-width: 640px; }
#intro.sx-hero .caption_inside { display: block; padding: 0 30px 0 34px; }
#intro.sx-hero h1.sx-hero-title { font-size: 38px; font-weight: 700; line-height: 1.12; color: #002946; margin: 0 0 10px; }
#intro.sx-hero .sx-hero-sub { font-size: 20px; font-weight: 400; color: #3f3f3f; margin: 0 0 6px; display: block; }
#intro.sx-hero .sx-hero-where { font-size: 18px; font-weight: 700; color: #0070bc; margin: 0 0 12px; display: block; }
#intro.sx-hero .sx-actions { margin: 10px 0 0; }
#intro.sx-hero .sx-btn { margin-bottom: 4px; }

/* ---------- Pruh důvěry ---------- */
.sx-trust { background: #002946; color: #fff; }
.sx-trust ul { list-style: none; margin: 0 auto; padding: 14px 0; display: table; width: 96%; max-width: 1360px; }
.sx-trust li { margin: 0; padding: 4px 14px; font-size: 16px; color: #fff; display: table-cell; vertical-align: middle; }
.sx-trust li strong { color: #bee3fb; font-size: 16px; }
.sx-trust li:before { content: "\2713\00a0"; color: #7abb00; font-weight: 700; }

/* ---------- Sekce ---------- */
.sx-section { padding: 52px 0; }
.sx-section--gray { background: #eef8ff; border-top: 1px solid #bee3fb; border-bottom: 1px solid #bee3fb; }

/* ---------- Karty služeb ---------- */
.sx-services { font-size: 0; margin: 24px -10px 0; }
.sx-service { box-sizing: border-box; width: 25%; padding: 10px; position: relative; display: inline-block; vertical-align: top; font-size: 17px; }
.sx-service-in { background: #fff; border: 1px solid #bee3fb; height: 100%; transition: box-shadow .25s, transform .25s; display: block; }
.sx-service:hover .sx-service-in { box-shadow: 0 10px 28px rgba(0,41,70,.18); transform: translateY(-3px); }
.sx-service-img { display: block; width: 100%; height: 190px; object-fit: cover; margin: 0; border: 0; }
.sx-cover-bg { display: block; width: 100%; background-repeat: no-repeat; background-position: center center; background-size: cover; }
.sx-service .sx-cover-bg { height: 190px; }
.sx-work .sx-cover-bg { height: 220px; }
.sx-service-body { padding: 18px 20px 22px; }
.sx-service h3 { font-size: 22px; font-weight: 400; color: #002946; margin: 0 0 8px; clear: none; }
.sx-service p { font-size: 16px; line-height: 1.45; margin: 0 0 12px; color: #3f3f3f; }
.sx-more, .sx-more:visited { font-size: 16px; font-weight: 700; color: #0070bc; text-transform: uppercase; letter-spacing: .03em; text-decoration: none; }
.sx-more:after { content: "\00a0\2192"; }
.sx-service a.sx-cover { position: absolute; top: 0; left: 0; right: 0; bottom: 0; z-index: 5; }
.sx-service--main .sx-service-in { border-color: #0070bc; border-width: 2px; }
.sx-badge { display: inline-block; background: #7abb00; color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 3px 9px; margin: 0 0 8px; }

/* ---------- Ukázky práce / realizace ---------- */
.sx-works { font-size: 0; margin: 24px -10px 0; }
.sx-work { box-sizing: border-box; width: 25%; padding: 10px; display: inline-block; vertical-align: top; font-size: 17px; }
.sx-works--3 .sx-work { width: 33.333%; }
.sx-work-in { background: #fff; border: 1px solid #bee3fb; height: 100%; position: relative; }
#main_content .sx-work-in img, .sx-work-in img { display: block; width: 100%; height: 220px !important; object-fit: cover; margin: 0; border: 0 !important; position: static; }
.sx-chip { position: absolute; top: 10px; left: 10px; background: rgba(0,41,70,.88); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 4px 10px; z-index: 3; }
.sx-work-body { padding: 16px 18px 20px; }
.sx-work h3 { font-size: 20px; font-weight: 400; color: #002946; margin: 0 0 10px; clear: none; }
.sx-work dl { margin: 0 0 12px; font-size: 15px; line-height: 1.4; }
.sx-work dt { float: left; clear: left; width: 78px; font-weight: 700; color: #002946; margin: 0 0 4px; }
.sx-work dd { margin: 0 0 4px 82px; color: #3f3f3f; }
.sx-todo { color: #8a6d00; font-style: italic; }
.sx-work details { border-top: 1px solid #d8ecfa; padding-top: 10px; margin-top: 6px; }
.sx-work summary { cursor: pointer; font-weight: 700; color: #0070bc; text-transform: uppercase; font-size: 14px; letter-spacing: .04em; }
.sx-work details p { font-size: 15px; margin: 8px 0 0; }
.sx-work .sx-links { margin: 12px 0 0; font-size: 15px; }
.sx-work .sx-links a { font-size: 15px; }
.sx-note { font-size: 14px; color: #5b6b78; margin: 14px 0 0; }

/* ---------- Kroky ---------- */
.sx-steps { list-style: none; counter-reset: sx; font-size: 0; margin: 24px -10px 0; padding: 0; }
.sx-steps li { counter-increment: sx; box-sizing: border-box; width: 25%; padding: 10px; margin: 0; display: inline-block; vertical-align: top; font-size: 17px; }
.sx-steps li > div { background: #fff; border: 1px solid #bee3fb; border-top: 4px solid #0070bc; padding: 18px 18px 14px; height: 100%; }
.sx-steps li > div:before { content: counter(sx); display: inline-block; width: 36px; height: 36px; line-height: 36px; text-align: center; background: #0070bc; color: #fff; font-weight: 700; border-radius: 50%; margin: 0 0 10px; }
.sx-steps h3 { font-size: 19px; margin: 0 0 6px; color: #002946; clear: none; font-weight: 500; }
.sx-steps p { font-size: 15px; margin: 0; }
.sx-steps--5 li { width: 20%; }

/* ---------- Dvousloupec / seznamy ---------- */
.sx-two { font-size: 0; margin: 0 -14px; }
.sx-two > div { box-sizing: border-box; width: 50%; padding: 0 14px; display: inline-block; vertical-align: top; font-size: 17px; }
.sx-box { background: #eef8ff; border: 1px solid #bee3fb; border-left: 5px solid #0070bc; padding: 18px 22px; margin: 0 0 18px; }
.sx-box h3 { margin: 0 0 8px; font-size: 20px; clear: none; color: #002946; }
.sx-box ul { margin: 0 0 4px 20px; }
.sx-box li { display: list-item; margin: 0 0 6px; line-height: 1.4; }
.sx-check { list-style: none; margin: 0 0 12px; padding: 0; }
.sx-check li { display: block; position: relative; padding-left: 28px; margin: 0 0 8px; line-height: 1.4; }
.sx-check li:before { content: "\2713"; position: absolute; left: 0; top: 0; color: #7abb00; font-weight: 700; font-size: 18px; }

/* ---------- Rychlé akce pod H1 na podstránkách ---------- */
.sx-quick { margin: 4px 0 24px; padding: 14px 18px; background: #eef8ff; border: 1px solid #bee3fb; }
.sx-quick .sx-quick-text, .sx-quick span { font-size: 17px; font-weight: 500; color: #002946; margin: 4px 32px 4px 0; padding-right: 8px; display: inline-block; vertical-align: middle; }
.sx-quick .sx-btn { margin: 4px 10px 4px 0; padding: 10px 20px; font-size: 15px; }

/* ---------- Kontakt ---------- */
.sx-contact { font-size: 0; margin: 0 -10px; }
.sx-contact > div { box-sizing: border-box; width: 33.333%; padding: 10px; display: inline-block; vertical-align: top; font-size: 17px; }
.sx-contact .sx-box { height: 100%; margin: 0; }
.sx-contact a { text-decoration: none; font-size: 20px; font-weight: 500; color: #0070bc; }
.sx-contact p { margin: 0 0 6px; }
.sx-contact small { color: #5b6b78; font-size: 14px; }

/* ---------- FAQ ---------- */
.sx-faq details { border: 1px solid #bee3fb; background: #fff; margin: 0 0 10px; padding: 0 18px; }
.sx-faq summary { cursor: pointer; padding: 14px 0; font-size: 18px; font-weight: 500; color: #002946; }
.sx-faq details p { margin: 0 0 14px; }

/* ---------- CTA pruh ---------- */
.sx-cta { background: #002946; color: #fff; }
.sx-cta .sx-wrap { padding: 36px 0; }
.sx-cta .sx-wrap:after { content: ""; display: table; clear: both; }
.sx-cta-text { float: left; box-sizing: border-box; width: 62%; padding-right: 24px; }
.sx-cta h2, .sx-cta h2.sx-cta-title { color: #fff; font-size: 30px; font-weight: 300; margin: 0 0 8px; }
.sx-cta p { color: #d5e9f7; font-size: 17px; margin: 0; line-height: 1.45; }
.sx-cta-actions { float: right; width: 38%; text-align: right; padding: 12px 0 6px; }
.sx-cta-actions .sx-btn { margin: 6px 0 6px 12px; }
.sx-cta-more { clear: both; width: 100%; margin-top: 10px; font-size: 15px; color: #bee3fb; }
.sx-cta-more a, .sx-cta-more a:visited { color: #fff; font-size: 15px; margin-right: 14px; }

/* ---------- Mobilní lišta Zavolat / Poptat ---------- */
.sx-mobilebar { display: none; }

/* ---------- Formulář (modal) ---------- */
#Formular .modal-title { font-weight: 500; }
#Formular .form-control, #Formular select { border-radius: 0; border: 1px solid #9ec9e8; min-height: 44px; font-size: 16px; }
#Formular .form-control:focus, #Formular select:focus { border-color: #0070bc; box-shadow: 0 0 0 3px rgba(0,112,188,.18); }
#Formular .sx-form-hint { font-size: 14px; color: #5b6b78; margin: 0 0 12px; line-height: 1.4; }
#Formular .sx-form-or { font-size: 15px; margin: 0 0 14px; }
#Formular .sx-form-or a { font-size: 15px; font-weight: 700; color: #0070bc; }

/* ---------- Zrušení výchozích stylů obsahu uvnitř .sx ---------- */
#main_content .sx img { border: 0 !important; margin: 0; }
.sx a { text-decoration: none; }
.sx a:hover { text-decoration: underline; }

/* ---------- Tablet ---------- */
@media screen and (max-width: 1100px) {
	.sx-service, .sx-work { width: 50%; }
	.sx-works--3 .sx-work { width: 50%; }
	.sx-steps li, .sx-steps--5 li { width: 50%; }
}

/* ---------- Mobil ---------- */
@media screen and (max-width: 800px) {
	#intro.sx-hero { overflow: visible; }
	#intro.sx-hero .caption { display: block; position: static; }
	#intro.sx-hero .caption > div { display: block; max-width: none; background: #002946; box-shadow: none; padding: 22px 0 18px; }
	#intro.sx-hero .caption_inside { padding: 0 4%; }
	#intro.sx-hero .caption_inside:before { display: none; }
	#intro.sx-hero h1.sx-hero-title { color: #fff; font-size: 27px; }
	#intro.sx-hero .sx-hero-sub { color: #d5e9f7; font-size: 17px; }
	#intro.sx-hero .sx-hero-where { color: #7abb00; font-size: 17px; }
	#intro.sx-hero .caption .container { width: 100%; padding: 0; }
	#intro.sx-hero a.sx-btn { display: block; margin: 8px 0; }
	#intro.sx-hero a.sx-btn--ghost { color: #fff; border-color: #fff; background: transparent; }
	.sx-section { padding: 34px 0; }
	.sx-title { font-size: 26px; }
	.sx-lead { font-size: 17px; }
	.sx-two > div, .sx-contact > div { width: 100%; }
	.sx-trust ul { display: block; padding: 10px 0; }
	.sx-trust li { display: block; padding: 3px 4px; }
	.sx-cta .sx-wrap { padding: 28px 0; }
	.sx-cta-text, .sx-cta-actions { float: none; width: auto; padding-right: 0; text-align: left; }
	.sx-cta h2 { font-size: 25px; }
	.sx-cta-actions .sx-btn { display: block; margin: 8px 0; }
	.sx-quick .sx-btn { display: block; margin: 8px 0; }
	.sx-quick .sx-quick-text, .sx-quick span { display: block; margin: 0 0 8px; padding: 0; }
	body { padding-bottom: 64px; }
	.sx-mobilebar { display: table; table-layout: fixed; width: 100%; position: fixed; left: 0; right: 0; bottom: 0; z-index: 900; box-shadow: 0 -3px 14px rgba(0,0,0,.25); }
	.sx-mobilebar a, .sx-mobilebar a:visited { display: table-cell; width: 50%; text-align: center; padding: 17px 8px; font-size: 17px; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; text-decoration: none; color: #fff; }
	.sx-mobilebar .sx-mb-call { background: #7abb00; }
	.sx-mobilebar .sx-mb-ask { background: #0070bc; }
}
@media screen and (max-width: 600px) {
	.sx-service, .sx-work, .sx-works--3 .sx-work, .sx-steps li, .sx-steps--5 li { width: 100%; }
	.sx-service-img { height: 170px; }
	.sx-service .sx-cover-bg { height: 170px; }
	.sx-work .sx-cover-bg { height: 200px; }
	.sx-work-in img { height: 200px !important; }
}
@media screen and (max-width: 480px) {
	/* původní main.css na mobilu skrývá celou titulku – v novém hero ji potřebujeme */
	#intro.sx-hero .caption { display: block; }
}

/* ---------- Doladění po prvním ověření ---------- */
.sx-works--2 .sx-work { width: 50%; }
.sx-work .sx-links a, .sx-work .sx-links a:visited { color: #0070bc; font-weight: 700; }
.sx-cta p { display: block; }
.sx-cta-more { margin: 14px 0 0; }
.sx-cta-more a, .sx-cta-more a:visited { display: inline-block; margin: 0 16px 4px 0; text-decoration: underline; }
.sx-note { display: block; }
@media screen and (max-width: 600px) { .sx-works--2 .sx-work { width: 100%; } }

/* Mobil: tlačítko v hlavičce je nahrazeno pevnou lištou Zavolat / Poptat, hlavička je kompaktnější */
@media screen and (max-width: 800px) {
	#kontakt button#modal-launch { display: none; }
	#header { padding: 12px 0 6px; }
	#kontakt .links a { font-size: 17px; }
}

/* ---------- Detail realizace ---------- */
.sx-detail { margin: 6px -14px 18px; }
.sx-detail:after { content: ""; display: table; clear: both; }
.sx-detail-img { float: left; box-sizing: border-box; width: 55%; padding: 0 14px; position: relative; }
.sx-detail-img .sx-chip { top: 10px; left: 24px; }
.sx-detail-img img { display: block; width: 100%; height: auto; margin: 0; border: 0 !important; }
.sx-detail-body { float: left; box-sizing: border-box; width: 45%; padding: 0 14px; }
.sx-dl { margin: 0 0 14px; }
.sx-dl dt { float: left; clear: left; width: 150px; font-weight: 700; color: #002946; margin: 0 0 8px; }
.sx-dl dd { margin: 0 0 8px 158px; }
@media screen and (max-width: 800px) {
	.sx-detail-img, .sx-detail-body { width: 100%; }
	.sx-dl dt { float: none; width: auto; margin: 0; }
	.sx-dl dd { margin: 0 0 10px; }
}

/* ---------- Bílé plochy v původním textu (červený rámeček výhod, nadpisy) ---------- */
.box2 { padding: 22px 28px 12px; box-sizing: border-box; }
.box2 > p:first-child { margin: 0 0 16px; line-height: 1.25; }
.box2 > ol:last-child, .box2 > ul:last-child { margin-bottom: 0; }
.box2 li:last-child { margin-bottom: 0; }
.EditableContent > h2 { margin: 34px 0 14px; }
@media only screen and (max-width: 800px) {
	.box2 { padding: 16px 16px 6px; }
	.box2 > p:first-child { font-size: 18pt !important; }
}

/* ---------- Kolo 3: vizuální revize ---------- */
.sx > .sx-title { margin-top: 38px; }
.sx > .sx-title:first-child { margin-top: 0; }
#nadpatickou .col.right { padding-top: 14px; padding-bottom: 6px; }
@media screen and (max-width: 800px) {
	#intro.sx-hero .caption { padding: 0; }
	#intro.sx-hero .caption > div { padding: 24px 0 20px; }
	.sx-section .sx-actions .sx-btn { display: block; margin: 8px 0; }
	#nadpatickou iframe { display: block; margin-bottom: 8px; }
	.sx > .sx-title { margin-top: 30px; }
}
.sx-work dd a, .sx-work dd a:visited { font-size: inherit; }
.sx-work-in > a { display: block; line-height: 0; overflow: hidden; }
.sx-work-in > a img { max-width: 100%; }
