/* ==========================================================================
   PROZISK s.r.o.
   Vlastní vrstva nad Bootstrapem 5. Barvy vycházejí z loga a tištěného
   letáku: navy #10345F je barva loga, #366494 je akcent z ikon letáku.
   ========================================================================== */

:root {
  --ink: #10345f;
  --ink-deep: #0b2545;
  --brand: #366494;
  --brand-dark: #2b5178;
  --tint: #e8f0f9;
  --tint-soft: #f5f9fc;
  --muted: #6b7280;
  --line: #e3eaf2;

  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 28px;
  --shadow: 0 18px 50px rgba(16, 52, 95, .10);
  --shadow-sm: 0 6px 20px rgba(16, 52, 95, .07);
}

/* --------------------------------------------------------- základ typografie */

body {
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--muted);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, .h1, .h2, .h3, .h4 {
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  color: var(--ink);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -.01em;
}

h1, .h1 { font-size: clamp(2.25rem, 1.4rem + 3.6vw, 4rem); font-weight: 700; }
h2, .h2 { font-size: clamp(1.85rem, 1.2rem + 2.4vw, 3.25rem); }
h3, .h3 { font-size: clamp(1.25rem, 1.05rem + .8vw, 1.6rem); }

a { color: var(--brand); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--ink); }

.lead-muted {
  font-size: 1.0625rem;
  color: var(--muted);
  max-width: 58ch;
}

.text-ink { color: var(--ink) !important; }
.text-brand { color: var(--brand) !important; }
.bg-tint { background: var(--tint-soft); }
.bg-ink { background: var(--ink); }

/* --------------------------------------------------------------- stavebnice */

.section { padding: clamp(3.5rem, 2rem + 6vw, 6.5rem) 0; }

/* Uppercase pilulka nad nadpisem, hlavní opakující se prvek předlohy. */
.eyebrow {
  display: inline-block;
  padding: .4rem 1rem;
  border-radius: 50px;
  background: var(--tint);
  color: var(--brand);
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  line-height: 1.4;
}

.eyebrow-invert { background: rgba(255, 255, 255, .14); color: #fff; }

.btn-brand {
  --bs-btn-color: #fff;
  --bs-btn-bg: var(--brand);
  --bs-btn-border-color: var(--brand);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: var(--brand-dark);
  --bs-btn-hover-border-color: var(--brand-dark);
  --bs-btn-focus-shadow-rgb: 54, 100, 148;
  border-radius: 50px;
  padding: .875rem 2.25rem;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 1.0625rem;
  font-weight: 600;
}

.btn-outline-ink {
  --bs-btn-color: var(--ink);
  --bs-btn-border-color: rgba(16, 52, 95, .25);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: var(--ink);
  --bs-btn-hover-border-color: var(--ink);
  border-radius: 50px;
  padding: .875rem 2.25rem;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 1.0625rem;
  font-weight: 600;
}

.btn-light-ink {
  --bs-btn-color: var(--ink);
  --bs-btn-bg: #fff;
  --bs-btn-border-color: #fff;
  --bs-btn-hover-color: var(--ink);
  --bs-btn-hover-bg: var(--tint);
  --bs-btn-hover-border-color: var(--tint);
  border-radius: 50px;
  padding: .875rem 2.25rem;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 1.0625rem;
  font-weight: 600;
}

/* Kruhové tlačítko se šipkou, doplněk odkazů „více“. */
.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: .875rem;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 600;
  color: var(--ink);
}

.arrow-link .circle {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  flex: 0 0 auto;
  transition: transform .25s ease, background .25s ease;
}

.arrow-link:hover { color: var(--brand); }
.arrow-link:hover .circle { background: var(--ink); transform: rotate(45deg); }
.arrow-link .circle svg { width: 20px; height: 20px; }

/* Průsvitné pořadové číslo za obsahem sekce. */
.watermark-num {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: clamp(4rem, 2rem + 8vw, 7.5rem);
  font-weight: 800;
  line-height: .8;
  color: rgba(16, 52, 95, .07);
  user-select: none;
}

/* Tečkovaný halftone dekor, převzatý motiv z předlohy. */
.dots-decor {
  position: absolute;
  width: 220px;
  height: 220px;
  background-image: radial-gradient(var(--brand) 1.5px, transparent 1.6px);
  background-size: 16px 16px;
  opacity: .18;
  pointer-events: none;
  z-index: 0;
  -webkit-mask-image: radial-gradient(circle at 30% 30%, #000, transparent 72%);
          mask-image: radial-gradient(circle at 30% 30%, #000, transparent 72%);
}

/* ------------------------------------------------------------------ hlavička */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}

.brand-mark {
  display: flex;
  align-items: center;
  gap: .7rem;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: -.02em;
  color: var(--ink);
}

.brand-mark small {
  display: block;
  font-size: .625rem;
  font-weight: 600;
  letter-spacing: .22em;
  color: var(--brand);
  line-height: 1;
  margin-top: .18rem;
}

.site-header .nav-link {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 600;
  color: var(--ink);
  padding: .5rem 0;
}

/* Rozestupy v menu řešíme mezerou mezi položkami, ne paddingem odkazu,
   aby se podtržení a stav :hover držely textu. Na mobilu jsou položky
   pod sebou, tam se mezera nehodí. */
@media (min-width: 992px) {
  .site-header .navbar-nav { gap: 2.25rem; }
}

.site-header .nav-link:hover,
.site-header .nav-link.active { color: var(--brand); }

.header-phone {
  display: flex;
  align-items: center;
  gap: .75rem;
  font-family: "Plus Jakarta Sans", sans-serif;
}

.header-phone .circle {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--tint);
  color: var(--brand);
}

.header-phone span { display: block; font-size: .75rem; color: var(--muted); font-weight: 500; line-height: 1.2; }
.header-phone strong { color: var(--ink); font-size: 1.0625rem; font-weight: 700; }

/* ---------------------------------------------------------------------- hero */

.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(115deg, var(--ink-deep) 0%, var(--ink) 55%, #17457a 100%);
  color: #fff;
  padding: clamp(4rem, 2rem + 9vw, 8rem) 0 clamp(4.5rem, 2rem + 9vw, 8.5rem);
}

/* Jemná soustava kruhů, aby plocha nebyla plochá. */
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.hero::before {
  width: 620px; height: 620px;
  right: -180px; top: -220px;
  background: radial-gradient(circle at 35% 35%, rgba(255, 255, 255, .14), transparent 62%);
}

.hero::after {
  width: 420px; height: 420px;
  left: -160px; bottom: -200px;
  background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, .08), transparent 65%);
}

/* Fotografie na pozadí hera. Překryv drží kontrast textu i tehdy,
   když se fotka vymění za jinou, světlejší. */
.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: .28;
  filter: saturate(.65);
}

.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, var(--ink-deep) 8%, rgba(11, 37, 69, .82) 45%, rgba(23, 69, 122, .55) 100%);
}

.hero .container { position: relative; z-index: 2; }
.hero h1 { color: #fff; }
.hero .hero-sub { color: rgba(255, 255, 255, .78); font-size: 1.125rem; max-width: 46ch; }

.hero-dots {
  position: absolute;
  inset: auto -40px -40px auto;
  width: 320px; height: 320px;
  background-image: radial-gradient(rgba(255, 255, 255, .55) 1.5px, transparent 1.6px);
  background-size: 18px 18px;
  opacity: .2;
  z-index: 1;
}

/* Plovoucí karta v pravé části hera. */
.hero-card {
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: var(--radius-lg);
  padding: 2rem;
  backdrop-filter: blur(10px);
}

.hero-card .rating {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}

.hero-card p { color: rgba(255, 255, 255, .82); margin: 0; }

/* Pás statistik navázaný pod hero. */
.stats-strip {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 2.5rem 1rem;
  margin-top: -4rem;
  position: relative;
  z-index: 3;
}

.stat-item { text-align: center; padding: .5rem 1rem; }
.stat-item .num {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: clamp(1.9rem, 1.4rem + 1.4vw, 2.6rem);
  font-weight: 800;
  color: var(--ink);
  line-height: 1;
}
.stat-item .label { font-size: .9375rem; margin-top: .35rem; }

/* ------------------------------------------------------------------- kartičky */

.feature-card {
  height: 100%;
  background: var(--tint-soft);
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 2.25rem 2rem;
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease, background .28s ease;
}

.feature-card:hover {
  background: #fff;
  border-color: var(--line);
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.feature-card .icon {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border-radius: 16px;
  background: var(--brand);
  color: #fff;
  margin-bottom: 1.5rem;
}

.feature-card .icon svg { width: 28px; height: 28px; }
.feature-card h3 { margin-bottom: .65rem; }
.feature-card p { margin-bottom: 0; font-size: .9688rem; }

/* Číslovaný řádek služby na podstránce Služby. */
.service-row {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: clamp(1rem, .5rem + 2vw, 2.5rem);
  padding: clamp(1.75rem, 1rem + 2vw, 2.75rem) 0;
  border-top: 1px solid var(--line);
  align-items: start;
}

.service-row:last-child { border-bottom: 1px solid var(--line); }

.service-row .num {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--tint);
  line-height: 1;
}

.service-row ul {
  list-style: none;
  padding: 0;
  margin: 1.1rem 0 0;
  display: grid;
  gap: .55rem;
}

.service-row ul li { position: relative; padding-left: 1.75rem; font-size: .9688rem; }

.service-row ul li::before {
  content: "";
  position: absolute;
  left: 0; top: .62em;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--brand);
}

@media (max-width: 575.98px) {
  .service-row { grid-template-columns: 1fr; }
  .service-row .num { font-size: 2rem; }
}

/* Odrážky se zaškrtnutím v textových blocích. */
.check-list { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: .75rem; }
.check-list li { display: flex; align-items: flex-start; gap: .75rem; color: var(--ink); font-weight: 500; }
.check-list .tick {
  display: grid;
  place-items: center;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--tint);
  color: var(--brand);
  flex: 0 0 auto;
  margin-top: .22rem;
}
.check-list .tick svg { width: 13px; height: 13px; }

/* Blok s vizuálem místo fotografie. Až klientka dodá fotky, stačí sem
   vložit <img class="media-frame__img"> a dekorace zůstane. */
.media-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(140deg, var(--ink) 0%, #1d4d84 100%);
  min-height: 420px;
  display: grid;
  place-items: center;
}

.media-frame__img { width: 100%; height: 100%; object-fit: cover; display: block; }

.media-frame__placeholder {
  text-align: center;
  color: rgba(255, 255, 255, .55);
  font-size: .875rem;
  padding: 2rem;
  z-index: 2;
}

.media-frame__placeholder svg { width: 54px; height: 54px; margin-bottom: .75rem; opacity: .7; }

/* Tečkovaný vzor patří jen prázdnému rámu. Přes fotku by dělal šum,
   tam místo něj jde jemné ztmavení dolní části pod plovoucí kartou. */
.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, .4) 1.4px, transparent 1.5px);
  background-size: 20px 20px;
  opacity: .16;
}

.media-frame:has(.media-frame__img)::after {
  background-image: linear-gradient(to top, rgba(11, 37, 69, .35), transparent 42%);
  background-size: auto;
  opacity: 1;
}

/* Karta se statistikou přeloženou přes vizuál, motiv z předlohy. */
.media-badge {
  position: absolute;
  left: 1.75rem;
  bottom: 1.75rem;
  z-index: 3;
  background: #fff;
  border-radius: var(--radius-sm);
  padding: 1rem 1.5rem;
  box-shadow: var(--shadow-sm);
}

.media-badge .num {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--ink);
  line-height: 1;
}

.media-badge .label { font-size: .8125rem; margin-top: .15rem; }

/* --------------------------------------------------------------- lidé, hodnoty */

.person-card {
  height: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.25rem 2rem;
  background: #fff;
  transition: box-shadow .28s ease, transform .28s ease;
}

.person-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }

.person-card .avatar {
  display: grid;
  place-items: center;
  width: 76px; height: 76px;
  border-radius: 50%;
  background: var(--tint);
  color: var(--brand);
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  margin-bottom: 1.35rem;
}

.person-card .role { color: var(--brand); font-weight: 600; font-size: .9375rem; margin-bottom: .75rem; }

/* ------------------------------------------------------------------- kontakty */

.contact-card {
  height: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.25rem 2rem;
  background: #fff;
  transition: box-shadow .28s ease, border-color .28s ease;
}

.contact-card:hover { box-shadow: var(--shadow); border-color: transparent; }

.contact-card .icon {
  display: grid;
  place-items: center;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: var(--tint);
  color: var(--brand);
  margin-bottom: 1.35rem;
}

.contact-card .icon svg { width: 24px; height: 24px; }
.contact-card h3 { font-size: 1.1875rem; margin-bottom: .5rem; }
.contact-card a { font-family: "Plus Jakarta Sans", sans-serif; font-weight: 600; color: var(--ink); }
.contact-card a:hover { color: var(--brand); }

/* --------------------------------------------------------------- výzva k akci */

.cta-band {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: linear-gradient(115deg, var(--ink-deep), #1a4a80);
  color: #fff;
  padding: clamp(2.5rem, 1.5rem + 4vw, 4.5rem);
}

.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255, 255, 255, .8); margin-bottom: 0; }

.cta-band::after {
  content: "";
  position: absolute;
  right: -60px; top: -60px;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, rgba(255, 255, 255, .13), transparent 65%);
}

.cta-band > * { position: relative; z-index: 2; }

.cta-mail {
  color: #fff;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 600;
  border-bottom: 1px solid rgba(255, 255, 255, .4);
  padding-bottom: 2px;
}

.cta-mail:hover { color: #fff; border-bottom-color: #fff; }

/* ------------------------------------------------------------------- patička */

.site-footer { background: var(--ink-deep); color: rgba(255, 255, 255, .68); padding: 4.5rem 0 0; }
.site-footer h4 {
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.site-footer a { color: rgba(255, 255, 255, .72); }
.site-footer a:hover { color: #fff; }
.site-footer .brand-mark { color: #fff; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .12);
  margin-top: 3.5rem;
  padding: 1.5rem 0;
  font-size: .875rem;
}

/* --------------------------------------------------------------------- ceník */

.price-group + .price-group { margin-top: clamp(2.75rem, 1.5rem + 4vw, 4.5rem); }

.price-group__head { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.75rem; }
.price-group__head h2 { margin: 0; }

.price-group__head .icon {
  flex: 0 0 auto;
  width: 54px; height: 54px;
  border-radius: 16px;
  background: var(--tint);
  color: var(--brand);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.price-group__head .icon svg { width: 26px; height: 26px; }

.price-sub {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 700;
  color: var(--ink);
  font-size: 1.0625rem;
  margin: 2rem 0 .5rem;
}

.price-table { width: 100%; border-collapse: collapse; }

.price-table th,
.price-table td {
  padding: .85rem 0;
  border-bottom: 1px solid var(--line);
  vertical-align: baseline;
}

.price-table th {
  text-align: left;
  font-family: "DM Sans", sans-serif;
  font-weight: 500;
  color: var(--ink);
  padding-right: 1.5rem;
}

.price-table td {
  text-align: right;
  white-space: nowrap;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 700;
  color: var(--ink);
}

.price-table tr:last-child th,
.price-table tr:last-child td { border-bottom: 0; }

.price-note { font-size: .9375rem; margin: 1.25rem 0 0; }

@media (max-width: 575.98px) {
  .price-table th,
  .price-table td { display: block; padding-right: 0; }
  .price-table th { border-bottom: 0; padding-bottom: .15rem; }
  .price-table td { text-align: left; padding-top: 0; color: var(--brand); }
}

/* ------------------------------------------------------------------ drobnosti */

.page-head {
  background: var(--tint-soft);
  padding: clamp(2.75rem, 1.5rem + 5vw, 5rem) 0;
  border-bottom: 1px solid var(--line);
}

.breadcrumb-mini { font-size: .875rem; color: var(--muted); }
.breadcrumb-mini a { color: var(--muted); }
.breadcrumb-mini a:hover { color: var(--brand); }

/* Zjemnění přechodu mezi sekcemi na mobilu. */
@media (max-width: 991.98px) {
  .stats-strip { margin-top: -2.5rem; }
  .media-frame { min-height: 320px; }
}

/* Uživatelé s omezenými animacemi nemají mít pohyb navíc. */
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}
