/* Česká sanační – Čištění fasád, střech a povrchů. Barvy a tvary podle šablony Draftspot. */
#csc-root {
	--csc-blue: #008DDE;
	--csc-blue-2: #0070BE;
	--csc-grad: linear-gradient(180deg, #008DDE 18.33%, #0070BE 70.83%);
	--csc-dark: #1B202D;
	--csc-text: #333;
	--csc-muted: #5f6b7a;
	--csc-line: #E3E7EC;
	--csc-soft: #EEF6FC;
	--csc-shadow: 0 4px 20px rgba(0, 0, 0, .05);
	--csc-shadow-hover: 0 14px 34px rgba(16, 20, 30, .10);
	--csc-radius: 16px;
	--csc-night: radial-gradient(98.93% 98.93% at 81.88% 17.67%, #1B202D 0%, #10141E 100%);
	color: var(--csc-dark);
}
#csc-root *, #csc-root *::before, #csc-root *::after { box-sizing: border-box; }
#csc-root h2, #csc-root h3 { max-width: none; color: var(--csc-dark); text-align: left; }
#csc-root img { max-width: 100%; display: block; }
#csc-root p { margin: 0; }
#csc-root ul, #csc-root ol { margin: 0; padding: 0; }

.csc-section { padding: 3.75em 0; scroll-margin-top: 90px; }
.csc-section:nth-of-type(even) { background: #fff; }

.csc-title { max-width: 46em; margin: 0 auto 2.5em; text-align: center; }
#csc-root .csc-title h2 { text-align: center; margin-bottom: .45em; }
.csc-title > p:last-child { color: var(--csc-muted); font-size: 1.05em; }
.csc-eyebrow { display: inline-block; margin: 0 0 .75em !important; font-size: .8em; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--csc-blue); }

.csc-link { display: inline-flex; align-items: center; gap: .4em; font-weight: 600; color: var(--csc-blue-2); text-decoration: none; margin-top: auto; }
.csc-link span { transition: transform .2s; }
.csc-link:hover span { transform: translateX(5px); }

.csc-reveal { opacity: 0; transform: translateY(22px); transition: opacity .65s ease, transform .65s ease; }
.csc-reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .csc-reveal { opacity: 1; transform: none; transition: none; } }

/* Seznamy */
.csc-ticks, .csc-dashes { list-style: none; display: grid; gap: .5em; }
.csc-ticks li, .csc-dashes li { position: relative; padding-left: 1.7em !important; line-height: 1.45; margin: 0 !important; list-style: none; }
.csc-ticks li::marker, .csc-dashes li::marker { content: none; }
.csc-ticks li::before { content: ""; position: absolute; left: 0; top: .15em; width: 1.15em; height: 1.15em; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='12' fill='%23008DDE'/%3E%3Cpath d='M7 12.5l3.2 3.2L17 9' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; border: 0; transform: none; }
.csc-ticks li::after { content: none !important; }
.csc-dashes li::before { content: ""; position: absolute; left: .2em; top: .7em; width: .8em; height: 2px; border-radius: 2px; background: #9aa7b5; }

/* Služby */
.csc-services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2em; }
.csc-service { background: #fff; border-radius: var(--csc-radius); box-shadow: var(--csc-shadow); padding: 1.75em; display: flex; flex-direction: column; gap: .8em; transition: transform .3s, box-shadow .3s, opacity .65s; }
.csc-service:hover { transform: translateY(-5px); box-shadow: var(--csc-shadow-hover); }
.csc-service__icon { width: 4.5em; height: 4.5em; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(145deg, #eaf5fd, #f8fbfe); margin-bottom: .2em; }
.csc-service__icon img { width: 2.9em; height: 2.9em; object-fit: contain; }
#csc-root .csc-service h3 { font-size: 1.35em; margin: 0; }
.csc-service > p { color: var(--csc-text); }
.csc-service .csc-ticks { margin: .2em 0 .6em; font-size: .95em; }

/* Kalkulačka */
.csc-calc__box { max-width: 1180px; margin: 0 auto; }
.csc-calc__fallback { max-width: 980px; margin: 0 auto; padding: 2em; border-radius: var(--csc-radius); color: #EFEFEF; background: var(--csc-night); display: grid; grid-template-columns: 1fr auto; gap: 1.5em 2em; align-items: center; }
#csc-root .csc-calc__fallback h3 { color: #fff; margin: 0 0 .35em; font-size: 1.4em; }
.csc-calc__fallback p { color: #c9d3de; }
.csc-calc__fallback-btns { display: grid; gap: .75em; }
.csc-calc__fallback-btns .btn { justify-content: center; white-space: nowrap; }
.csc-admin-note { grid-column: 1 / -1; font-size: .85em; padding: .6em .9em; border-radius: 10px; background: rgba(234, 91, 12, .18); color: #ffd9c4 !important; }

/* Postup */
.csc-steps { list-style: none; counter-reset: s; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.25em; }
.csc-steps li { counter-increment: s; background: #fff; border-radius: var(--csc-radius); box-shadow: var(--csc-shadow); padding: 1.5em 1.25em; display: grid; gap: .5em; align-content: start; }
.csc-steps li::before { content: counter(s); width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; color: #fff; background: var(--csc-grad); margin-bottom: .3em; }
.csc-steps b { font-weight: 600; line-height: 1.3; }
.csc-steps span { color: var(--csc-muted); font-size: .92em; line-height: 1.45; }

/* Co zahrnuje */
.csc-incl__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2em; max-width: 1080px; margin: 0 auto; }
.csc-incl__col { background: var(--csc-soft); border-radius: var(--csc-radius); padding: 1.75em 2em; }
.csc-incl__col--no { background: #F8F9FA; border: 1px solid var(--csc-line); }
#csc-root .csc-incl__col h3 { font-size: 1.2em; margin: 0 0 1em; }

/* Pro koho */
.csc-audience__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5em; }
.csc-audience__item { background: #F8F9FA; border-radius: var(--csc-radius); padding: 1.5em; border-top: 4px solid var(--csc-blue); }
#csc-root .csc-audience__item h3 { font-size: 1.15em; margin: 0 0 .4em; }
.csc-audience__item p { color: var(--csc-muted); font-size: .95em; }

/* Cena */
.csc-price__wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: 3em; align-items: center; padding: 2.5em; border-radius: var(--csc-radius); background: var(--csc-night); color: #EFEFEF; }
#csc-root .csc-price__copy h2 { color: #fff; margin: 0 0 .5em; }
.csc-price__copy .csc-eyebrow { color: #8fd0f7; }
.csc-price__copy p { color: #c9d3de; margin-bottom: 1.5em !important; }
.csc-factors { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 1em; }
.csc-factors li { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); border-radius: 12px; padding: 1em 1.1em; display: grid; gap: .3em; }
.csc-factors b { color: #fff; font-weight: 600; }
.csc-factors span { color: #c9d3de; font-size: .9em; line-height: 1.45; }

/* Odznak náhledu */
.csc-preview-badge { position: fixed; left: 12px; bottom: 12px; z-index: 99999; max-width: calc(100% - 24px); padding: .6em .9em; border-radius: 10px; font-size: 13px; line-height: 1.4; color: #fff; background: #EA5B0C; box-shadow: 0 6px 20px rgba(0, 0, 0, .2); }
.csc-preview-badge a { color: #fff; font-weight: 600; text-decoration: underline; }

/* Mobilní lišta: tlačítko zavřít (skryje lištu na 7 dní) */
.csk-mobile-cta__close { display: none; }

@media (max-width: 1100px) {
	.csc-steps { grid-template-columns: repeat(3, 1fr); }
	.csc-audience__grid { grid-template-columns: repeat(2, 1fr); }
	.csc-price__wrap { grid-template-columns: 1fr; gap: 2em; }
}
@media (max-width: 900px) {
	.csc-services__grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
	.csc-incl__grid { grid-template-columns: 1fr; }
	.csc-calc__fallback { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
	.csc-section { padding: 2.25em 0; }
	.csc-title { margin-bottom: 1.75em; }
	.csc-steps { grid-template-columns: 1fr; }
	.csc-steps li { grid-template-columns: 44px 1fr; column-gap: 1em; }
	.csc-steps li::before { grid-row: span 2; margin: 0; }
	.csc-audience__grid, .csc-factors { grid-template-columns: 1fr; }
	.csc-price__wrap, .csc-calc__fallback { padding: 1.5em; }
	.csc-incl__col { padding: 1.5em; }
	.csc-preview-badge { bottom: calc(76px + env(safe-area-inset-bottom)); }
	.csk-mobile-cta { align-items: center; }
	.csk-mobile-cta__close { display: flex; align-items: center; justify-content: center; flex: 0 0 36px; width: 36px; height: 36px; margin-left: -2px; padding: 0; border: 0; border-radius: 50%; font-size: 24px; line-height: 1; color: #c9d3de; background: rgba(255, 255, 255, .08); cursor: pointer; }
	.csk-mobile-cta__close:active { background: rgba(255, 255, 255, .18); }
	html.csu-cta-off .csk-mobile-cta { display: none !important; }
	html.csu-cta-off body { padding-bottom: env(safe-area-inset-bottom) !important; }
	html.csu-cta-off .csc-preview-badge { bottom: 12px; }
}

/* Kalkulačka: interní štítek „Lokální testovací verze“ veřejnosti nezobrazovat (opraví David v kalkulačce). */
.csc-calc__box .csk-badge { display: none !important; }
