/*
Theme Name: Digital Depo
Theme URI: https://www.digitaldepo.cz/
Author: Digital Depo
Description: Čistá klasická šablona webu Digital Depo bez page builderu. Vzhled a obsah 1:1 s původním webem, SEO (titulky, popisky, indexace) řídí Yoast SEO.
Version: 1.2.3
Requires at least: 6.3
Requires PHP: 7.4
Text Domain: digitaldepo
*/

/* =========================================================
   1. Tokeny
   ========================================================= */
:root {
	--ink: #141414;
	--ink-2: #2b2b2d;
	--muted: #616163;
	--coral: #FF725C;
	--coral-d: #ef5f48;
	--grey: #F5F5F7;
	--line: #e4e4e8;
	--white: #fff;
	--maxw: 1140px;
	--gutter: clamp(20px, 4vw, 32px);
	--radius: 3px;
	--shadow: 0 10px 30px rgba(20, 20, 20, .08);
	--ease: cubic-bezier(.2, .7, .2, 1);
	--font: "proxima-nova", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
	--header-h: 92px;
	--d-mark: url("../../uploads/2022/12/favikona_DigitalDepo-7.svg");
}

/* =========================================================
   2. Základ
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 100px; }
body {
	margin: 0;
	font-family: var(--font);
	font-size: 1.0625rem;
	line-height: 1.65;
	font-weight: 400;
	letter-spacing: .2px;
	color: var(--ink);
	background: var(--white);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
img, svg, video, iframe { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--coral); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--coral-d); }
p { margin: 0 0 1em; }
h1, h2, h3, h4, h5, h6 { margin: 0 0 .5em; line-height: 1.2; color: var(--ink); font-weight: 700; }
strong, b { font-weight: 700; }
ul, ol { padding-left: 1.2em; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--coral); outline-offset: 3px; }

.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.skip-link:focus { position: fixed !important; top: 10px; left: 10px; width: auto; height: auto; clip: auto; z-index: 1000; background: var(--ink); color: #fff; padding: 10px 16px; }

.wrap { width: 100%; max-width: calc(var(--maxw) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: calc(820px + 2 * var(--gutter)); }
.center { text-align: center; }
.accent { color: var(--coral); }
.underline { text-decoration: underline; text-decoration-thickness: .06em; text-underline-offset: .12em; }

.section { padding: clamp(64px, 9vw, 120px) 0; position: relative; }
.section--grey { background: var(--grey); }

.h-lg { font-size: clamp(2rem, 3.7vw, 3rem); font-weight: 800; line-height: 1.15; margin-bottom: .35em; }
.h-sub { font-size: clamp(1.15rem, 1.6vw, 1.35rem); font-weight: 700; margin: 0 0 1em; line-height: 1.35; }
.prose { font-size: 1rem; }
.prose p:last-child { margin-bottom: 0; }
.prose--wide { max-width: 980px; }
.prose a { font-weight: 700; }

/* reveal (jen když běží JS) */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* =========================================================
   3. Tlačítka a odkazy
   ========================================================= */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	background: var(--coral); color: #fff; font-weight: 600; font-size: 1.05rem; line-height: 1.2;
	padding: 12px 24px; border-radius: var(--radius); border: 0; cursor: pointer;
	transition: background .2s var(--ease), transform .2s var(--ease);
}
.btn:hover { background: var(--coral-d); color: #fff; }
.btn .ico { width: 18px; height: 18px; flex: none; }
.btn--sm { font-size: .9rem; padding: 9px 18px; }
.btn--block { justify-content: flex-start; width: 100%; font-size: .95rem; font-weight: 500; padding: 11px 18px; }

.arrow-link { display: inline-flex; align-items: center; gap: 18px; color: var(--ink); font-weight: 700; font-size: 1.05rem; margin-top: 1.4em; }
.arrow-link .arrow-box { width: 36px; height: 36px; display: grid; place-items: center; background: var(--coral); color: #fff; border-radius: 2px; transition: transform .25s var(--ease); }
.arrow-link .ico { width: 20px; height: 20px; }
.arrow-link:hover { color: var(--ink); }
.arrow-link:hover .arrow-box { transform: scale(1.1); }

.pill {
	display: inline-flex; align-items: center; gap: 12px; background: #fff; color: var(--ink);
	font-size: .9rem; font-weight: 500; padding: 8px 16px; border-radius: 2px; min-width: 0; line-height: 1.3;
	transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.pill .ico { width: 16px; height: 16px; flex: none; }
.pill:hover { color: var(--ink); transform: translateX(3px); box-shadow: 0 6px 16px rgba(0,0,0,.08); }

.cta-center { display: flex; justify-content: center; padding-bottom: clamp(56px, 7vw, 96px); margin-top: -24px; }
.cta-center .arrow-link { margin-top: 0; }

/* =========================================================
   4. Hlavička
   ========================================================= */
.site-header {
	position: sticky; top: 0; z-index: 50; background: #fff;
	transition: transform .34s ease, box-shadow .2s ease;
}
.admin-bar .site-header { top: 32px; }
.site-header.is-scrolled { box-shadow: 0 1px 0 rgba(0,0,0,.06), 0 8px 24px rgba(0,0,0,.04); }
.site-header.is-hidden { transform: translateY(-110%); }
.site-header__inner { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); max-width: 1240px; }
.brand { display: block; flex: none; }
.brand__logo { width: 134px; height: auto; }
.brand__logo--neg { display: none; }
.main-nav { margin-left: auto; }
.nav { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.nav a { display: block; padding: 10px 14px; color: var(--ink); font-weight: 600; font-size: 1.05rem; }
.nav a:hover, .nav a.is-current { color: var(--coral); }
.site-header__cta { margin-left: clamp(16px, 4vw, 72px); font-size: 1rem; padding: 10px 18px; }
.menu-toggle { display: none; margin-left: auto; background: none; border: 0; color: #fff; align-items: center; gap: 8px; font-weight: 600; font-size: .95rem; cursor: pointer; padding: 8px 0; }
.menu-toggle .ico { width: 22px; height: 22px; }

.mobile-menu { position: fixed; inset: 0; z-index: 100; background: rgba(20,20,20,.55); }
.mobile-menu[hidden] { display: none; }
.mobile-menu__inner {
	position: absolute; inset: 0 0 0 auto; width: min(420px, 100%); background: var(--ink); color: #fff;
	padding: 76px 32px 32px; overflow-y: auto; display: flex; flex-direction: column; gap: 28px;
	animation: slideIn .3s var(--ease);
}
@keyframes slideIn { from { transform: translateX(30px); opacity: 0; } to { transform: none; opacity: 1; } }
.mobile-menu__close { position: absolute; top: 18px; right: 18px; background: none; border: 0; color: #fff; padding: 8px; cursor: pointer; }
.mobile-menu__close .ico { width: 26px; height: 26px; }
.mobile-menu__nav, .mobile-menu__sec { list-style: none; margin: 0; padding: 0; }
.mobile-menu__nav a { display: block; color: #fff; font-size: 1.6rem; font-weight: 700; padding: 6px 0; }
.mobile-menu__nav a.is-current, .mobile-menu__nav a:hover { color: var(--coral); }
.mobile-menu__sec { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.mobile-menu__sec a { color: rgba(255,255,255,.75); font-weight: 500; }
.mobile-menu__contact { display: grid; gap: 6px; }
.mobile-menu__contact a { color: #fff; font-weight: 600; }
.mobile-menu .btn { align-self: flex-start; }
body.menu-open { overflow: hidden; }

/* =========================================================
   5. Hero
   ========================================================= */
.hero { position: relative; overflow: hidden; padding: clamp(56px, 8vw, 96px) 0 clamp(64px, 9vw, 110px); }
.hero::before {
	content: ""; position: absolute; top: 22px; right: max(4vw, calc((100vw - 1240px) / 2 + 60px));
	width: clamp(220px, 30vw, 362px); aspect-ratio: 362 / 422;
	background: #EFEFF1;
	-webkit-mask: var(--d-mark) center / contain no-repeat; mask: var(--d-mark) center / contain no-repeat;
	pointer-events: none;
}
.hero .wrap { position: relative; }
.hero__title { font-size: clamp(2.6rem, 6vw, 5rem); font-weight: 800; line-height: 1.14; letter-spacing: .2px; margin: 0 0 .45em; max-width: 14ch; }
.hero__title--md { font-size: clamp(2rem, 4.4vw, 3.4rem); max-width: 22ch; }
.hero__lead { max-width: 560px; margin-left: clamp(0px, 2.2vw, 28px); font-size: 1rem; }
.hero__lead p:last-child { margin-bottom: 0; }
.hero__cta { margin-left: clamp(0px, 2.2vw, 28px); }
.hero__grid.has-aside { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: start; }
.hero__aside { padding-top: 10px; }
.hero-btns { display: grid; gap: 14px; max-width: 400px; }
.hero-btns .btn { white-space: nowrap; font-size: 1.15rem; padding: 15px 22px; }

.hero--home { background: var(--coral); color: #fff; padding: clamp(72px, 9vw, 110px) 0 clamp(80px, 10vw, 128px); }
.hero--home::before { background: rgba(0,0,0,.07); top: 26px; width: clamp(240px, 30vw, 362px); }
.hero--home .hero__title { color: #fff; font-size: clamp(3rem, 8.2vw, 7.05rem); line-height: 1.2; max-width: none; }
.hero--home .hero__lead { color: #fff; font-size: 1.15rem; line-height: 1.6; margin-left: clamp(0px, 9vw, 112px); max-width: 520px; font-weight: 500; }

/* =========================================================
   6. Osoba + korálový box
   ========================================================= */
.person { padding-bottom: 0; }
.person__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.person__img img { width: 100%; height: auto; }
.person .person__img { align-self: stretch; }
.coral-box-wrap { position: relative; display: flex; justify-content: center; padding-left: 12%; transform: translateY(50%); margin-top: -70px; z-index: 2; pointer-events: none; }
.coral-box {
	pointer-events: auto; background: var(--coral); color: #fff; padding: 26px 28px 28px; width: 290px; max-width: 100%;
	box-shadow: var(--shadow);
}
.coral-box__title { color: #fff; font-size: 1.45rem; font-weight: 600; line-height: 1.25; margin: 0 0 18px; }
.coral-box__links { display: grid; gap: 10px; justify-items: start; }
.person + * { padding-top: clamp(130px, 14vw, 180px); }
.person + .cta-center, .person + .band { padding-top: clamp(120px, 12vw, 160px); }
.person:last-child, .person.office { padding-bottom: clamp(64px, 9vw, 120px); }
.office .coral-box-wrap { justify-content: flex-start; padding-left: var(--gutter); }
.office .coral-box { flex-shrink: 0; max-width: 100%; margin-left: calc(50% + 6px); } /* % ze šířky obsahu → box vždy u levé hrany mapy */
.office + .office { padding-top: clamp(48px, 6vw, 80px); }
.person.office { padding-bottom: clamp(48px, 6vw, 80px); }
.office__map img { aspect-ratio: 1.45; object-fit: cover; }
.office + .office .coral-box-wrap, .office .coral-box-wrap { transform: none; margin-top: -90px; }
.office + .team { padding-top: clamp(80px, 9vw, 120px); }

/* Když za sekcí osoby box chybí (lokality) */
.person:not(:has(.coral-box)) { padding-bottom: clamp(64px, 9vw, 120px); }

/* =========================================================
   7. Záložky služeb
   ========================================================= */
.svc__head { margin-bottom: clamp(36px, 5vw, 56px); }
.svc__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 3.5vw, 40px); align-items: stretch; }
.svc__panels { position: relative; min-height: 430px; }
.svc__panel {
	position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; text-align: center;
	padding: clamp(24px, 5vw, 56px); color: #fff;
	background: linear-gradient(rgba(20,20,20,.62), rgba(20,20,20,.62)), var(--bg) center / cover no-repeat;
	opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility .35s;
}
.svc__panel.is-active { opacity: 1; visibility: visible; }
.svc__panel-text { font-size: 1rem; font-weight: 500; max-width: 460px; }
.svc__panel-text a { color: var(--coral); }
.svc__panel-text a:hover { color: #fff; }
.svc__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; justify-content: space-between; }
.svc__item { padding: 10px 0 14px; border-bottom: 1px solid var(--line); cursor: pointer; position: relative; }
.svc__item:last-child { border-bottom: 0; }
.svc__title { font-size: clamp(1.35rem, 2.2vw, 1.75rem); font-weight: 700; margin: 0 0 6px; line-height: 1.2; transition: color .2s var(--ease); }
.svc__title a { color: inherit; }
.svc__item.is-active .svc__title, .svc__item:hover .svc__title { color: var(--coral); }
.svc__short { margin: 0; font-size: .9rem; color: var(--ink-2); line-height: 1.55; }

/* =========================================================
   8. Korálový pruh „Spojte se s námi"
   ========================================================= */
.band { position: relative; overflow: hidden; background: var(--coral); color: #fff; padding: clamp(56px, 7vw, 84px) 0; }
.band::before {
	content: ""; position: absolute; left: -40px; bottom: -110px; width: 300px; aspect-ratio: 362 / 422;
	background: rgba(0,0,0,.05);
	-webkit-mask: var(--d-mark) center / contain no-repeat; mask: var(--d-mark) center / contain no-repeat;
}
.band .wrap { position: relative; }
.band__grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; }
.band h2, .band h3, .band h4 { color: #fff; }
.band .h-sub { margin-bottom: .8em; }
.band .prose { font-size: .95rem; }
.band__btns { display: grid; gap: 12px; justify-items: start; }
.band__btns .pill { width: 100%; max-width: 300px; white-space: nowrap; }

/* =========================================================
   9. Loga klientů
   ========================================================= */
.logos { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(12px, 1.6vw, 20px); margin-top: clamp(28px, 4vw, 44px); }
.logos__tile { position: relative; aspect-ratio: 1; overflow: hidden; display: grid; place-items: center; background: #ddd; }
.logos__bg { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform .6s var(--ease); }
.logos__tile::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.12); transition: background .3s; }
.logos__logo { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: contain; }
.logos__tile:hover .logos__bg { transform: scale(1.06); }
.logos__tile:hover::after { background: rgba(0,0,0,.25); }

/* =========================================================
   10. Karty článků, karusel, stránkování
   ========================================================= */
.posts-section__grid { display: grid; grid-template-columns: 1fr 2fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.posts-section__grid > *, .svc__grid > *, .person__grid > *, .band__grid > *, .team__grid > *, .forwhom__grid > *, .split__grid > *, .pricing-section__grid > *, .hero__grid > * { min-width: 0; }
.posts-section .prose { font-size: .95rem; }
.cards { display: grid; gap: 24px; }
.cards--2 { grid-template-columns: repeat(2, 1fr); }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
.card { background: #fff; box-shadow: 0 1px 0 rgba(0,0,0,.03); transition: box-shadow .25s var(--ease), transform .25s var(--ease); }
.card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.card__link { display: flex; flex-direction: column; height: 100%; color: var(--ink); padding: 0 0 18px; min-height: 340px; }
.card__img { display: block; height: 200px; overflow: hidden; }
.card__img img { width: 100%; height: 100%; object-fit: contain; }
.card__title { display: block; font-weight: 700; font-size: 1.05rem; line-height: 1.35; padding: 18px 16px 12px; }
.card__more { margin-top: auto; padding: 0 18px; font-size: .85rem; color: var(--ink); }
.card__link:hover .card__more { color: var(--coral); }

.carousel { position: relative; }
.carousel__track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 24px) / 2); gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track .card { scroll-snap-align: start; }
.carousel__nav { display: flex; gap: 10px; justify-content: flex-end; margin-top: 16px; }
.carousel__btn { width: 40px; height: 40px; display: grid; place-items: center; background: #fff; border: 1px solid var(--line); color: var(--ink); cursor: pointer; transition: background .2s, color .2s; }
.carousel__btn:hover { background: var(--coral); color: #fff; border-color: var(--coral); }
.carousel__btn .ico { width: 18px; height: 18px; }

.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 36px; font-weight: 600; }
.pagination a, .pagination span { min-width: 36px; height: 36px; display: grid; place-items: center; padding: 0 8px; color: var(--ink); }
.pagination .is-current, .pagination .current { color: var(--coral); }

/* =========================================================
   11. Recenze (carousel z Google)
   ========================================================= */
.reviews__summary { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin: 4px 0 28px; font-size: .95rem; }
.reviews__summary strong { text-transform: uppercase; letter-spacing: .06em; }
.reviews__all { font-weight: 700; margin-left: auto; }
.stars { display: inline-flex; gap: 2px; color: #F6B704; }
.stars .star { width: 18px; height: 18px; }
.carousel--reviews .carousel__track { grid-auto-columns: calc((100% - 72px) / 4); }
.review { margin: 0; padding: 22px; display: flex; flex-direction: column; gap: 12px; border: 1px solid var(--line); scroll-snap-align: start; }
.section--grey .review { border-color: transparent; }
.review:hover { transform: none; }
.review__head { display: flex; align-items: center; gap: 12px; }
.review__avatar { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; flex: none; }
.review__avatar--letter { display: grid; place-items: center; background: var(--coral); color: #fff; font-weight: 700; }
.review__name { font-weight: 700; font-size: .95rem; line-height: 1.3; }
.review__name a { color: var(--ink); }
.review__name span { display: block; font-weight: 400; font-size: .8rem; color: var(--muted); }
.review__text { margin: 0; font-size: .92rem; line-height: 1.6; max-height: 9.6em; overflow: hidden; }
.review__text.is-open { max-height: none; }
.review__text p { margin: 0; }
.review__more { align-self: flex-start; background: none; border: 0; padding: 0; color: var(--coral); font-weight: 600; font-size: .85rem; cursor: pointer; }
.reviews__source { margin-right: auto; align-self: center; font-size: .8rem; color: var(--muted); }

/* =========================================================
   12. Boxy (weby, lokality), ceník
   ========================================================= */
.boxes { display: grid; gap: 24px; margin-top: clamp(32px, 4vw, 48px); }
.boxes--3 { grid-template-columns: repeat(3, 1fr); }
.box { background: #fff; box-shadow: var(--shadow); padding: 34px 28px 30px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.box__title { font-size: 1.45rem; font-weight: 700; margin-bottom: .7em; }
.box p { font-size: .92rem; color: var(--ink-2); }
.box .btn { margin-top: auto; }
.boxes--left .box { text-align: left; align-items: flex-start; }
.box--link { color: var(--ink); transition: transform .25s var(--ease), box-shadow .25s; }
.box--link:hover { color: var(--ink); transform: translateY(-3px); }
.box--link:hover .box__title { color: var(--coral); }

.pricing-section__grid { display: grid; grid-template-columns: 1fr 2.6fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.plan { position: relative; overflow: hidden; background: #fff; display: flex; flex-direction: column; text-align: center; box-shadow: 0 1px 0 rgba(0,0,0,.04); }
.plan__head { background: #4a4a4c; color: #fff; padding: 20px 14px 16px; display: grid; gap: 4px; }
.plan__name { font-weight: 700; letter-spacing: .04em; }
.plan__desc { font-size: .78rem; opacity: .85; }
.plan__price { padding: 22px 10px 14px; border-bottom: 1px solid var(--line); }
.plan__num { font-size: 2.1rem; font-weight: 800; letter-spacing: .02em; }
.plan__od { font-size: .9rem; font-weight: 600; }
.plan__price sup { font-size: .65rem; font-weight: 700; margin-left: 2px; }
.plan__vat { display: block; font-size: .75rem; color: var(--muted); }
.plan__list { list-style: none; margin: 0; padding: 14px 18px; text-align: left; font-size: .82rem; }
.plan__list li { display: flex; gap: 10px; align-items: center; padding: 7px 0; border-bottom: 1px solid var(--grey); }
.plan__list .ico { width: 14px; height: 14px; flex: none; color: var(--ink); }
.plan .btn { margin: 10px auto 12px; }
.plan__note { font-size: .74rem; color: var(--ink-2); padding: 0 16px 18px; margin: 0; line-height: 1.45; }
.plan__ribbon { position: absolute; top: 14px; right: -34px; transform: rotate(45deg); background: var(--ink); color: #fff; font-size: .62rem; font-weight: 700; padding: 4px 36px; text-transform: uppercase; z-index: 1; }
.pricing__note { display: flex; align-items: center; gap: 8px; font-size: .82rem; margin: 16px 0 0; }
.pricing__note .ico { width: 18px; height: 18px; flex: none; }

/* =========================================================
   13. Kontakt – tým, firemní údaje
   ========================================================= */
.team__grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(24px, 4vw, 48px); margin-top: clamp(32px, 4vw, 56px); align-items: center; }
.team__panels { position: relative; min-height: 380px; }
.team__panel { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility .35s; display: flex; align-items: center; }
.team__panel.is-active { opacity: 1; visibility: visible; }
.team__panel img { width: 100%; height: 100%; object-fit: cover; }
.team__panel--person { background: linear-gradient(rgba(20,20,20,.7), rgba(20,20,20,.7)), var(--bg) center / cover no-repeat; color: #fff; padding: clamp(22px, 3.5vw, 40px); align-items: center; }
.team__panel-text { font-size: .88rem; line-height: 1.55; }
.team__name { color: #fff; font-size: 1.6rem; font-weight: 800; margin-bottom: .5em; }
.team__list { list-style: none; margin: 0; padding: 0; }
.team__item { display: flex; align-items: center; gap: 18px; padding: 12px 6px; border-bottom: 1px solid var(--line); cursor: pointer; transition: background .2s; }
.team__item:last-child { border-bottom: 0; }
.team__item:hover, .team__item.is-active { background: var(--grey); }
.team__avatar { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; flex: none; }
.team__item strong { display: block; font-size: 1.05rem; }
.team__item small { display: block; font-size: .82rem; color: var(--ink-2); margin-top: 2px; }

.band--company { padding: clamp(56px, 7vw, 90px) 0; }
.company { display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: clamp(28px, 4vw, 56px); }
.company__h { color: #fff; font-size: 1.3rem; font-weight: 600; margin-bottom: 1em; }
.company .prose { font-size: .9rem; }
.company .prose p { margin-bottom: .9em; }
.icon-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; font-size: .9rem; }
.icon-list a { color: #fff; display: inline-flex; align-items: center; gap: 12px; }
.icon-list .ico { width: 16px; height: 16px; flex: none; }
.icon-list a:hover { color: var(--ink); }

/* =========================================================
   14. Weby pro živnostníky
   ========================================================= */
.split__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split__img img { width: 100%; }
.columns-2 { columns: 2; column-gap: 48px; font-size: .95rem; margin-top: 28px; }
.columns-2 p { break-inside: avoid; }
.forwhom__grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; margin-top: 28px; }
.forwhom__img { position: relative; padding-bottom: 70px; }
.forwhom__img img { width: 92%; margin-left: auto; }
.coral-box--inline { position: absolute; left: 0; bottom: 0; width: 260px; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.checks li { display: flex; gap: 14px; align-items: flex-start; }
.checks .ico { width: 18px; height: 18px; flex: none; margin-top: 4px; color: var(--ink); }
.checks h3 { font-size: 1.05rem; font-weight: 700; margin: 0 0 2px; }
.checks p { margin: 0; font-size: .88rem; color: var(--ink-2); }
.why { padding-top: 0; }
.why__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; margin-top: 40px; text-align: center; }
.why__icon { display: inline-grid; place-items: center; width: 56px; height: 56px; border: 2px solid var(--coral); color: var(--coral); border-radius: 3px; margin-bottom: 18px; transition: transform .25s var(--ease); }
.why__item:hover .why__icon { transform: scale(1.1); }
.why__icon .ico { width: 28px; height: 28px; }
.why h3 { color: var(--coral); font-size: 1.35rem; font-weight: 600; margin-bottom: .4em; }
.why p { font-size: .88rem; margin: 0; }
.calendar { padding: clamp(40px, 5vw, 64px) 0; }
.calendar__frame { width: 100%; height: 700px; border: 0; display: block; }

/* =========================================================
   15. Článek
   ========================================================= */
.article-hero { padding-top: 36px; position: relative; overflow: hidden; }
.article-hero::before {
	content: ""; position: absolute; top: 10px; right: max(4vw, calc((100vw - 1240px) / 2 + 60px)); width: 340px; aspect-ratio: 362 / 422;
	background: #F0F0F2; -webkit-mask: var(--d-mark) center / contain no-repeat; mask: var(--d-mark) center / contain no-repeat;
}
.article-hero .wrap { position: relative; }
.crumbs { font-size: .78rem; color: var(--ink-2); margin-bottom: 18px; }
.crumbs a { color: var(--ink-2); }
.crumbs a:hover { color: var(--coral); }
.article-hero__title { font-size: clamp(2.1rem, 4vw, 3.2rem); font-weight: 800; line-height: 1.2; max-width: 20ch; margin-bottom: 28px; }
.article-hero__band { background: linear-gradient(180deg, var(--grey) 0%, #e9e9ec 100%); padding: 32px 0 44px; position: relative; }
.article-hero__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(24px, 5vw, 64px); align-items: start; }
.article-hero__img { margin-top: -120px; }
.article-hero__img img { width: 100%; max-height: 420px; object-fit: contain; object-position: center top; }
.article-hero__date { display: inline-flex; align-items: center; gap: 8px; font-size: .82rem; font-weight: 600; }
.article-hero__date::before { content: ""; width: 8px; height: 8px; background: var(--coral); border-radius: 1px; }
.article-hero__excerpt { font-size: 1.15rem; line-height: 1.55; margin: 14px 0 22px; font-weight: 500; }
.author { display: flex; align-items: center; gap: 14px; }
.author .avatar { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; }
.author__label { display: block; font-size: .68rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-2); }
.author strong { font-size: 1rem; }

.entry-content { font-size: 1.05rem; line-height: 1.75; }
.entry-content > * { margin-top: 0; margin-bottom: 1.1em; }
.entry-content h1 { font-size: clamp(2.1rem, 4vw, 3.2rem); font-weight: 800; line-height: 1.2; margin-bottom: .35em; }
.entry-content h1 + h1 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); font-weight: 600; color: var(--coral); margin-bottom: 1em; }
.entry-content h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); font-weight: 800; margin-top: 1.8em; }
.entry-content h3 { font-size: clamp(1.3rem, 2vw, 1.55rem); font-weight: 700; margin-top: 1.5em; }
.entry-content h4, .entry-content h5 { font-size: 1.15rem; margin-top: 1.3em; }
.entry-content a { text-decoration: underline; text-underline-offset: 2px; }
.entry-content ul, .entry-content ol { padding-left: 1.3em; }
.entry-content li { margin-bottom: .4em; }
.entry-content li::marker { color: var(--coral); }
.entry-content img { height: auto; }
.entry-content figure { margin-left: 0; margin-right: 0; }
.entry-content figcaption { font-size: .85rem; color: var(--muted); margin-top: 6px; }
.entry-content blockquote { margin: 1.5em 0; padding: 6px 0 6px 22px; border-left: 3px solid var(--coral); font-size: 1.1rem; font-weight: 500; }
.entry-content table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.entry-content th, .entry-content td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.entry-content th { background: var(--grey); }
.entry-content .wp-block-image img, .entry-content p img { margin: 0 auto; }
.entry-content iframe { width: 100%; }
.entry-content .alignwide { margin-left: -60px; margin-right: -60px; max-width: none; }
.entry-content .aligncenter { margin-left: auto; margin-right: auto; }
.entry-content .alignleft { float: left; margin: 0 1.5em 1em 0; }
.entry-content .alignright { float: right; margin: 0 0 1em 1.5em; }
.entry-content .wp-block-button__link { background: var(--coral); color: #fff; text-decoration: none; border-radius: var(--radius); padding: 12px 24px; font-weight: 600; }
.article-body { padding-top: clamp(48px, 6vw, 80px); }
.article-body--legacy { padding-top: clamp(40px, 6vw, 72px); }

/* 404 */
.nav-404 { list-style: none; padding: 0; margin: 24px 0 0 clamp(0px, 2.2vw, 28px); display: flex; flex-wrap: wrap; gap: 6px 22px; }
.nav-404 a { font-weight: 700; color: var(--ink); }
.nav-404 a:hover { color: var(--coral); }
.search-form { display: flex; gap: 10px; }
.search-form input { font: inherit; padding: 10px 14px; border: 1px solid var(--line); }

/* =========================================================
   16. Patička
   ========================================================= */
.site-footer { background: #fff; padding: 36px 0 26px; font-size: .9rem; }
.site-footer__top { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.footer-nav { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 26px; }
.footer-nav a { color: var(--ink); font-weight: 700; }
.footer-nav a:hover { color: var(--coral); }
.footer-nav--sec { margin-top: 10px; }
.footer-nav--sec a { font-weight: 400; }
.social { display: flex; gap: 14px; }
.social a { width: 30px; height: 30px; display: grid; place-items: center; background: var(--ink); color: #fff; border-radius: 50%; transition: background .2s; }
.social a:hover { background: var(--coral); color: #fff; }
.social .ico { width: 16px; height: 16px; }
.site-footer__bottom { padding-top: 16px; font-size: .78rem; color: var(--ink-2); }
.site-footer__bottom p { margin: 0; }

/* =========================================================
   17. Responzivita
   ========================================================= */
@media (max-width: 1100px) {
	.nav a { padding: 10px 9px; font-size: .98rem; }
	.site-header__cta { margin-left: 12px; }
	.carousel--reviews .carousel__track { grid-auto-columns: calc((100% - 24px) / 2); }
	.pricing-section__grid { grid-template-columns: 1fr; }
}

@media (max-width: 960px) {
	:root { --header-h: 64px; }
	.site-header { background: var(--coral); }
	.site-header.is-scrolled { box-shadow: 0 6px 18px rgba(0,0,0,.12); }
	.brand__logo { display: none; }
	.brand__logo--neg { display: block; width: 104px; }
	.main-nav, .site-header__cta { display: none; }
	.menu-toggle { display: inline-flex; }
	.admin-bar .site-header { top: 46px; }

	.hero::before { width: 200px; right: -40px; top: 20px; }
	.hero--home { padding-top: 40px; }
	.hero--home .hero__lead { margin-left: 0; font-size: 1rem; }
	.hero__lead, .hero__cta { margin-left: 0; }
	.hero__grid.has-aside { grid-template-columns: 1fr; gap: 24px; }

	.person__grid, .svc__grid, .band__grid, .posts-section__grid, .split__grid, .forwhom__grid, .team__grid, .company { grid-template-columns: 1fr; }
	.coral-box-wrap { padding-left: 0; justify-content: flex-start; margin-top: -40px; }
	.office .coral-box-wrap { padding-left: var(--gutter); margin-top: -40px; }
	.office .coral-box { margin-left: 0; }

	.svc__panels { min-height: 340px; order: 0; }
	.svc__list { order: 1; }
	.svc__item { padding: 14px 0; }
	.svc__item.is-active { border-left: 3px solid var(--coral); padding-left: 12px; }

	.logos { grid-template-columns: repeat(2, 1fr); }
	.cards--3 { grid-template-columns: repeat(2, 1fr); }
	.boxes--3 { grid-template-columns: repeat(2, 1fr); }
	.why__grid { grid-template-columns: repeat(2, 1fr); }
	.article-hero__grid { grid-template-columns: 1fr; }
	.article-hero__img { margin-top: 0; order: -1; }
	.team__panels { min-height: 420px; }
}

@media (max-width: 640px) {
	body { font-size: 1rem; }
	.band__btns .pill, .hero-btns .btn { white-space: normal; }
	.cards--2, .cards--3, .boxes--3, .pricing, .why__grid { grid-template-columns: 1fr; }
	.carousel--reviews .carousel__track { grid-auto-columns: 88%; }
	.reviews__all { margin-left: 0; }
	.carousel__track { grid-auto-columns: 86%; }
	.columns-2 { columns: 1; }
	.site-footer__top { flex-direction: column; align-items: flex-start; }
	.forwhom__img { padding-bottom: 0; }
	.forwhom__img img { width: 100%; }
	.coral-box--inline { position: relative; margin-top: -30px; }
	.team__panels { min-height: 520px; }
	.calendar__frame { height: 1000px; }
	.plan__ribbon { right: -38px; }
	.entry-content .alignwide { margin-left: 0; margin-right: 0; }
}

/* =========================================================
   18. Typografie 1:1 s původním webem (naměřeno na digitaldepo.cz)
   desktop: text 19,2 px / 500, perex 20,8 px, h2 64 px, h4 28,8 px
   mobil:   text ~16,3 px / 500, h2 32 px, h4 24 px
   ========================================================= */
body { font-size: 1.2rem; font-weight: 500; line-height: 1.5; }
.prose, .band .prose, .posts-section .prose, .company .prose { font-size: 1.2rem; }
.hero__lead { font-size: 1.3rem; font-weight: 500; line-height: 1.5; max-width: 640px; }
.hero--home .hero__lead { font-size: 1.3rem; max-width: 640px; }
.hero__title { font-size: clamp(3rem, 6.6vw, 6.25rem); line-height: 1.2; }
.hero--home .hero__title { font-size: clamp(3rem, 7.5vw, 7.1rem); }
.h-lg { font-size: clamp(2rem, 4.3vw, 4rem); line-height: 1.2; }
.h-sub { font-size: clamp(1.5rem, 1.9vw, 1.8rem); line-height: 1.28; }
.nav a { font-size: 1.2rem; white-space: nowrap; padding: 10px 12px; }
@media (max-width: 1100px) { .nav a { font-size: 1.02rem; padding: 10px 8px; } }
.site-header__cta { font-size: 1.2rem; }
.btn { font-size: 1.2rem; }
.btn--sm { font-size: 1rem; }
.arrow-link { font-size: 1.4rem; gap: 22px; }
.arrow-link .arrow-box { width: 44px; height: 44px; }
.arrow-link .ico { width: 24px; height: 24px; }
.pill { font-size: 1.2rem; font-weight: 400; padding: 9px 18px; }
.band__btns .pill { max-width: 360px; }
.coral-box { width: 360px; padding: 30px 32px 32px; }
.coral-box__title { font-size: 2.2rem; line-height: 1.2; }
.svc__title { font-size: clamp(1.8rem, 2.65vw, 2.5rem); font-weight: 800; }
.svc__short { font-size: 1.1rem; font-weight: 500; }
.svc__panel-text { font-size: 1.375rem; max-width: 520px; }
.svc__panels { min-height: 520px; }
.card__title { font-size: 1.2rem; }
.card__more { font-size: 1rem; }
.box__title { font-size: 1.9rem; }
.box p, .checks p, .why p, .plan__note { font-size: 1.05rem; }
.checks h3 { font-size: 1.25rem; }
.why h3 { font-size: 1.6rem; }
.team__item strong { font-size: 1.6rem; font-weight: 800; }
.team__item small { font-size: 1.2rem; font-weight: 500; }
.team__panel-text { font-size: 1.05rem; }
.company__h { font-size: 2.2rem; }
.icon-list { font-size: 1.2rem; }
.review__text { font-size: 1.05rem; }
.footer-nav, .site-footer { font-size: 1.2rem; }
.columns-2 { font-size: 1.2rem; }
.entry-content { font-size: 1.2rem; }

@media (max-width: 960px) {
	body, .prose, .band .prose, .posts-section .prose, .company .prose, .columns-2, .entry-content { font-size: 1.02rem; }
	.hero__lead, .hero--home .hero__lead { font-size: 1.02rem; }
	.hero__title { font-size: 3rem; }
	.hero--home .hero__title { font-size: 3rem; }
	.h-lg { font-size: 2rem; }
	.h-sub { font-size: 1.5rem; }
	.svc__title { font-size: 1.9rem; }
	.svc__short { font-size: 1rem; }
	.coral-box__title { font-size: 1.8rem; }
	.coral-box { width: 320px; }
	.pill { font-size: 1.02rem; }
	.arrow-link { font-size: 1.25rem; }
	.svc__panels { min-height: 420px; }
	.team__item strong { font-size: 1.3rem; }
	.team__item small { font-size: 1rem; }
	.company__h { font-size: 1.8rem; }
	.footer-nav, .site-footer { font-size: 1.02rem; }
}

@media print {
	.site-header, .mobile-menu, .band, .site-footer, .reviews, .carousel__nav { display: none !important; }
	.js .reveal { opacity: 1; transform: none; }
}
