/* ============================================================
   HUGOFOL – hydroizolace a zateplení plochých střech
   Styly dle grafických návrhů (zadani/0–9.jpg) + briefu
   ============================================================ */

:root {
  --blue: #0750EB;
  --blue-dark: #0540BF;
  --blue-soft: #E8F0FE;
  --ink: #0E1319;
  --text: #2A3440;
  --muted: #5C6877;
  --bg: #FBFCFD;
  --bg-deep: #EEF2F6;
  --line: #E3E9F0;
  --panel-hi: #4E575F;
  --panel-md: #454E57;
  --panel-lo: #3A434C;
  --header-h: 84px;
  --max: 1600px;
  --radius: 12px;
  --shadow-card: 0 10px 30px rgba(15, 30, 60, .09), 0 2px 8px rgba(15, 30, 60, .05);
  --shadow-btn: 0 8px 20px rgba(7, 80, 235, .28);
  --font-display: "Montserrat", "Arial", sans-serif;
  --font-body: "Inter", "Arial", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; border: 0; background: none; cursor: pointer; }

/* ============================================================
   HEADER
   ============================================================ */

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: #fff;
  box-shadow: 0 1px 0 rgba(20, 35, 60, .06), 0 6px 24px rgba(20, 35, 60, .06);
}

/* Tlačítko s telefonem ukotvené k pravému okraji – svisle lícuje
   s kontaktní lištou (rail) napravo. */
.header .btn-phone {
  position: absolute;
  top: 50%;
  /* lišta je o ~29 px širší než tlačítko; přičtením tohoto rozdílu
     k pravému odsazení lícují LEVÉ hrany tlačítka a ikon lišty */
  right: calc(clamp(22px, 3vw, 58px) + 29px);
  transform: translateY(-50%);
}

/* v hlavičce je tlačítko centrované přes translateY(-50%); hover lift
   musí toto centrování zachovat, jinak tlačítko uskočí dolů */
.header .btn-phone:hover { transform: translateY(calc(-50% - 1px)); }

.header-inner {
  height: 100%;
  max-width: var(--max);
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 0 clamp(22px, 3.7vw, 72px);
}

.brand { flex: none; }
.brand img { height: 54px; width: auto; }

.nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.6vw, 50px);
  margin: 0 auto;
  font-family: var(--font-display);
}

.nav-item { position: relative; }

.nav-link {
  display: inline-block;
  padding: 30px 2px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--ink);
  position: relative;
  white-space: nowrap;
  transition: color .18s ease;
}

.nav-link:hover { color: var(--blue); }

.nav-link.is-active { color: var(--blue); }
.nav-link.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 22px;
  height: 2.5px;
  border-radius: 2px;
  background: var(--blue);
}

/* dropdown (SLUŽBY) */
.nav-sub {
  position: absolute;
  top: calc(100% - 16px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 250px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 18px 50px rgba(15, 30, 60, .16);
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .18s ease, transform .18s ease;
}

.nav-item:hover .nav-sub,
.nav-item.is-open .nav-sub {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav-sub a {
  display: block;
  padding: 11px 16px;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 600;
  font-family: var(--font-body);
  color: var(--text);
  transition: background .15s ease, color .15s ease;
}

.nav-sub a:hover { background: var(--blue-soft); color: var(--blue); }

.btn-phone {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 10px;
  background: var(--blue);
  color: #fff;
  font-family: var(--font-display);
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: .02em;
  box-shadow: var(--shadow-btn), inset 0 0 0 1.5px rgba(255, 255, 255, .25);
  transition: background .18s ease, transform .18s ease;
  white-space: nowrap;
}

.btn-phone:hover { background: var(--blue-dark); transform: translateY(-1px); }
.btn-phone svg { flex: none; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  border-radius: 8px;
}

.nav-toggle span {
  display: block;
  height: 2.5px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform .2s ease, opacity .2s ease;
}

.nav-toggle.is-open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ============================================================
   SCREEN — celostránková sekce s pozadím z návrhu
   ============================================================ */

.screen {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  min-height: calc(100svh - var(--header-h));
  overflow: hidden;
  background:
    linear-gradient(104deg, #FDFEFF 0%, #F8FAFC 46%, #EDF1F6 100%);
}

/* Vrstva s výřezy z grafického návrhu — pevný poměr stran (1000×483
   návrhového prostoru pod hlavičkou), kotvená k pravému okraji.   */
.scene {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  aspect-ratio: 1000 / 483;
  pointer-events: none;
  z-index: 1;
}

.scene .piece {
  position: absolute;
  object-fit: cover;
}

/* Úvod – reálná fotka střechy jako pozadí scény + 3D logo navrch */
.scene-photo {
  width: 100%;
  height: 100%;
  -webkit-mask-image: linear-gradient(to right, transparent 36%, #000 55%);
          mask-image: linear-gradient(to right, transparent 36%, #000 55%);
}

.scene-logo {
  position: absolute;
  z-index: 2;
  top: 35%;
  left: 46%;
  width: 27%;
  transform: translateY(-50%);
  filter: drop-shadow(0 14px 32px rgba(8, 18, 35, .4));
}

/* Úvod – kompaktnější hero (nižší fotka na pozadí) */
.screen--uvod,
.screen--uvod .content {
  min-height: min(calc(100vh - var(--header-h)), 700px);
  min-height: min(calc(100svh - var(--header-h)), 700px);
}

/* O nás – hero s nadpisem referencí a logo wall */
.screen--onas,
.screen--onas .content {
  min-height: min(calc(100vh - var(--header-h)), 640px);
  min-height: min(calc(100svh - var(--header-h)), 640px);
}

/* logo wall v hero – drží se vlevo, aby nezasahovalo do panelu vpravo */
.screen--onas .logo-wall { max-width: 880px; }

/* prolnutí levé hrany výřezu do pozadí */
.fade-l {
  -webkit-mask-image: linear-gradient(to right, transparent, #000 90px);
          mask-image: linear-gradient(to right, transparent, #000 90px);
}

/* prolnutí levé i spodní hrany (horní díly scén) */
.fade-lb {
  -webkit-mask-image:
    linear-gradient(to right, transparent, #000 90px),
    linear-gradient(to top, transparent, #000 110px);
  -webkit-mask-composite: source-in;
          mask-image:
    linear-gradient(to right, transparent, #000 90px),
    linear-gradient(to top, transparent, #000 110px);
          mask-composite: intersect;
}

/* Zkosený antracitový kontaktní blok (překrývá zapečený panel návrhu) */
.panel-soft {
  position: absolute;
  inset: 0;
  background: linear-gradient(168deg, rgba(96, 106, 116, .42), rgba(54, 64, 74, .5));
  clip-path: polygon(80.4% 0, 83.2% 0, 68.7% 100%, 65.9% 100%);
}

.panel {
  position: absolute;
  inset: 0;
  background: linear-gradient(168deg, var(--panel-hi) 0%, var(--panel-md) 45%, var(--panel-lo) 100%);
  clip-path: polygon(82.8% 0, 100% 0, 100% 100%, 68.3% 100%);
}

.panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: .06;
  mix-blend-mode: overlay;
}

/* ============================================================
   KONTAKTNÍ LIŠTA (na panelu)
   ============================================================ */

.rail {
  position: absolute;
  z-index: 3;
  right: clamp(22px, 3vw, 58px);
  top: 50%;
  transform: translateY(-50%);
  margin-top: 34px;
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 3.6vh, 40px);
  color: #fff;
  max-width: 330px;
}

.rail-item {
  display: flex;
  align-items: center;
  gap: 17px;
}

.rail-item--top { align-items: flex-start; }

.rail-ico {
  flex: none;
  width: 47px;
  height: 47px;
  border-radius: 13px;
  background: #fff;
  display: grid;
  place-items: center;
  color: var(--blue);
  box-shadow: 0 8px 22px rgba(8, 16, 30, .3);
}

.rail-txt {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: .01em;
  line-height: 1.75;
}

.rail-txt a:hover { text-decoration: underline; }

.rail-note {
  display: block;
  font-size: 12.5px;
  font-weight: 400;
  color: rgba(255, 255, 255, .72);
}

/* ============================================================
   OBSAH SEKCÍ
   ============================================================ */

.content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  min-height: calc(100vh - var(--header-h));
  min-height: calc(100svh - var(--header-h));
  padding: clamp(34px, 7.2vh, 82px) clamp(22px, 3.7vw, 72px) clamp(28px, 4.6vh, 58px);
}

.display {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(36px, 4.2vw, 81px);
  line-height: 1.13;
  letter-spacing: -.01em;
  color: var(--ink);
}

.display .accent { color: var(--blue); }

.rule {
  display: block;
  width: 52px;
  height: 5px;
  border-radius: 3px;
  background: var(--blue);
  margin-top: clamp(14px, 1.8vh, 24px);
}

.lead {
  margin-top: clamp(18px, 3vh, 34px);
  font-size: clamp(15.5px, 1.05vw, 20px);
  line-height: 1.65;
  color: var(--text);
  max-width: 52ch;
}

.sub {
  margin-top: clamp(16px, 2.6vh, 30px);
  font-family: var(--font-display);
  font-size: clamp(17px, 1.35vw, 26px);
  font-weight: 700;
  color: var(--ink);
}

.sub--blue { color: var(--blue); }

.para {
  margin-top: clamp(12px, 1.8vh, 20px);
  font-size: clamp(14px, .92vw, 17.5px);
  line-height: 1.7;
  color: var(--muted);
  max-width: 46ch;
}

.checklist { margin-top: clamp(14px, 2.4vh, 26px); }

.checklist li {
  display: flex;
  align-items: center;
  gap: 13px;
  margin: clamp(10px, 1.7vh, 17px) 0;
  font-size: clamp(14px, .95vw, 18px);
  font-weight: 500;
  color: #1F2937;
}

.checklist li::before {
  content: "";
  flex: none;
  width: 23px;
  height: 23px;
  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='11' fill='%230750EB'/%3E%3Cpath d='M7 12.5l3.2 3L17 9' stroke='%23fff' stroke-width='2.4' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 17px 30px;
  border-radius: 9px;
  background: var(--blue);
  color: #fff;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .1em;
  box-shadow: var(--shadow-btn);
  transition: background .18s ease, transform .18s ease, box-shadow .18s ease;
  width: fit-content;
}

.btn:hover {
  background: var(--blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(7, 80, 235, .34);
}

.btn .arr { font-size: 17px; line-height: 1; transition: transform .18s ease; }
.btn:hover .arr { transform: translateX(4px); }

.text-col { max-width: min(900px, 48%); }

/* ============================================================
   KARTY SLUŽEB
   ============================================================ */

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 1.6vw, 26px);
  max-width: 760px;
}

.card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: clamp(20px, 2.4vh, 30px) clamp(14px, 1.3vw, 24px);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  transition: transform .22s ease, box-shadow .22s ease;
}

a.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 42px rgba(15, 30, 60, .14);
}

.card-ico { color: var(--blue); margin-bottom: 4px; }

.card h3 {
  font-family: var(--font-display);
  font-size: clamp(14.5px, 1vw, 18px);
  font-weight: 700;
  color: var(--ink);
}

.card h3.up { text-transform: uppercase; letter-spacing: .04em; }

.card p {
  font-size: clamp(12px, .8vw, 14.5px);
  line-height: 1.6;
  color: var(--muted);
}

.kicker {
  font-family: var(--font-display);
  font-size: clamp(15px, 1.15vw, 22px);
  font-weight: 800;
  letter-spacing: .04em;
  color: var(--ink);
  text-transform: uppercase;
}

.kicker::after {
  content: "";
  display: block;
  width: 42px;
  height: 4px;
  border-radius: 2px;
  background: var(--blue);
  margin-top: 10px;
}

/* ============================================================
   DVOUSLOUPCOVÉ STRÁNKY S FOTOGRAFIÍ (Opravy, Zateplení)
   ============================================================ */

.split {
  display: grid;
  grid-template-columns: minmax(0, 660px) minmax(0, 1fr);
  gap: clamp(20px, 2.2vw, 44px);
  align-items: center;
  flex: 1;
}

.split-photo {
  justify-self: start;
  align-self: center;
  width: clamp(300px, 37vw, 710px);
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(10, 25, 50, .22);
}

.screen--zatepleni .display { font-size: clamp(32px, 3.5vw, 67px); }

/* ============================================================
   JAK PRACUJEME — kroky
   ============================================================ */

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(10px, 1.4vw, 24px);
  max-width: 1180px;
  margin-top: clamp(30px, 6vh, 64px);
  position: relative;
}

.step {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: clamp(64px, 9.5vh, 96px);
}

/* spojnice */
.step::before {
  content: "";
  position: absolute;
  top: clamp(26px, 4vh, 40px);
  left: -50%;
  width: 100%;
  height: 3px;
  background: var(--blue);
}

.step:first-child::before { display: none; }

.step-num {
  position: absolute;
  top: 0;
  width: clamp(52px, 7.6vh, 78px);
  height: clamp(52px, 7.6vh, 78px);
  border-radius: 50%;
  background: var(--blue);
  border: 5px solid #fff;
  box-shadow: 0 10px 26px rgba(7, 80, 235, .35);
  display: grid;
  place-items: center;
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(21px, 3vh, 30px);
  font-weight: 800;
  z-index: 1;
}

.step-num::after {
  content: "";
  position: absolute;
  bottom: -19px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--blue);
}

.step-ico { color: var(--blue); margin-top: clamp(18px, 3.4vh, 36px); }

.step h3 {
  margin-top: clamp(12px, 2.2vh, 22px);
  font-family: var(--font-display);
  font-size: clamp(16px, 1.15vw, 22px);
  font-weight: 700;
  color: var(--ink);
}

.step p {
  margin-top: 8px;
  font-size: clamp(12.5px, .85vw, 16px);
  line-height: 1.6;
  color: var(--muted);
  max-width: 24ch;
}

/* ============================================================
   O NÁS — statistiky
   ============================================================ */

.stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 720px;
  margin-top: clamp(28px, 5.5vh, 60px);
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: clamp(14px, 2.4vh, 28px) clamp(12px, 1.6vw, 30px);
  border-left: 1px solid var(--line);
}

.stat:first-child { border-left: 0; }

.stat-ico { color: var(--blue); }

.stat-num {
  margin-top: clamp(10px, 2vh, 20px);
  font-family: var(--font-display);
  font-size: clamp(46px, 4.4vw, 84px);
  font-weight: 800;
  line-height: 1;
  color: var(--blue);
}

.stat-label {
  margin-top: clamp(8px, 1.6vh, 16px);
  font-family: var(--font-display);
  font-size: clamp(14.5px, 1.05vw, 20px);
  font-weight: 700;
  color: var(--ink);
}

.stat-label::after {
  content: "";
  display: block;
  width: 38px;
  height: 4px;
  border-radius: 2px;
  background: var(--blue);
  margin: 12px auto 0;
}

/* ============================================================
   TECHNOLOGIE — srovnávací tabulka
   ============================================================ */

.compare-wrap {
  margin-top: clamp(26px, 4.6vh, 52px);
  max-width: 1290px;
  border-radius: 12px;
  box-shadow: var(--shadow-card);
  overflow: hidden;
  background: #fff;
}

.compare {
  width: 100%;
  border-collapse: collapse;
  font-size: clamp(13px, .92vw, 17px);
}

.compare thead th {
  background: var(--blue);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  padding: clamp(13px, 2vh, 20px) 16px;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, .25);
}

.compare thead th:last-child { border-right: 0; }
.compare thead th:first-child { text-align: left; padding-left: 24px; }

.compare tbody td {
  padding: clamp(13px, 2.3vh, 22px) 16px;
  text-align: center;
  color: var(--text);
  border-top: 1px solid var(--line);
  border-right: 1px solid var(--line);
}

.compare tbody td:last-child { border-right: 0; }

.compare tbody td.param {
  text-align: left;
  padding-left: 24px;
  font-weight: 700;
  color: var(--ink);
}

.compare tbody td.param svg {
  vertical-align: -5px;
  margin-right: 12px;
  color: var(--blue);
}

.compare tbody tr:nth-child(even) { background: #FBFCFE; }

/* ============================================================
   HUGOCARE — záruční box, štít u nadpisu
   ============================================================ */

.guarantee {
  margin-top: clamp(20px, 3.6vh, 38px);
  display: flex;
  align-items: flex-start;
  gap: 18px;
  background: #fff;
  border-radius: 14px;
  box-shadow: var(--shadow-card);
  padding: clamp(16px, 2.4vh, 26px) clamp(18px, 1.8vw, 30px);
  max-width: 520px;
}

.guarantee-ico {
  flex: none;
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: var(--blue-soft);
  display: grid;
  place-items: center;
  color: var(--blue);
}

.guarantee strong {
  font-family: var(--font-display);
  font-size: clamp(15px, 1vw, 18.5px);
  color: var(--ink);
}

.guarantee p {
  margin-top: 5px;
  font-size: clamp(12.5px, .85vw, 15.5px);
  line-height: 1.6;
  color: var(--muted);
}

.display-shield {
  display: inline-block;
  vertical-align: top;
  margin-left: clamp(10px, 1.4vw, 28px);
  color: #B9CCF5;
}

/* ============================================================
   KONTAKT — formulář
   ============================================================ */

.contact-form {
  margin-top: clamp(20px, 3.4vh, 36px);
  max-width: 560px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(12px, 1.8vh, 18px);
}

.field {
  position: relative;
  grid-column: span 2;
}

.field--half { grid-column: span 1; }

.field > svg {
  position: absolute;
  left: 15px;
  top: 16px;
  color: #9AA6B5;
  pointer-events: none;
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid #DFE5EC;
  border-radius: 10px;
  background: #fff;
  padding: 14px 16px 14px 44px;
  font: inherit;
  font-size: 14.5px;
  color: var(--ink);
  box-shadow: 0 3px 10px rgba(15, 30, 60, .04);
  transition: border-color .15s ease, box-shadow .15s ease;
}

.field textarea { min-height: 116px; resize: vertical; }

.field input::placeholder,
.field textarea::placeholder { color: #8B97A6; }

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(7, 80, 235, .14);
}

.form-foot {
  grid-column: span 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.consent {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  color: var(--muted);
  cursor: pointer;
  max-width: 300px;
}

.consent input {
  flex: none;
  width: 16px;
  height: 16px;
  accent-color: var(--blue);
}

.consent a { color: var(--blue); text-decoration: underline; }

.btn--submit { letter-spacing: .08em; padding: 16px 26px; }

.form-status {
  grid-column: span 2;
  font-size: 14px;
  font-weight: 600;
  color: #18794E;
  min-height: 20px;
}

.form-status.is-error { color: #C03434; }

/* ============================================================
   REALIZACE — galerie
   ============================================================ */

.gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 30px);
  max-width: 1000px;
  margin-top: clamp(26px, 4.6vh, 52px);
}

.gallery figure {
  background: #fff;
  border-radius: 14px;
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.gallery img {
  width: 100%;
  aspect-ratio: 4 / 3.4;
  object-fit: cover;
}

.gallery figcaption {
  padding: 16px 18px 18px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
}

.gallery figcaption span {
  display: block;
  margin-top: 3px;
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 500;
  color: var(--muted);
}

.note {
  margin-top: clamp(18px, 3vh, 30px);
  font-size: 13px;
  color: var(--muted);
}

/* ============================================================
   PATIČKA
   ============================================================ */

.footer {
  position: relative;
  z-index: 4;
  background: #2E3740;
  color: #B8C2CC;
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(40px, 6vh, 64px) clamp(22px, 3.7vw, 72px) 26px;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.2fr;
  gap: clamp(24px, 3vw, 56px);
}

.footer-brand .f-logo {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: .02em;
  color: #fff;
}

.footer-brand .f-logo span { color: #5B8DEF; }

.footer-brand .f-tag {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .34em;
  color: #8D98A3;
}

.footer-brand p {
  margin-top: 16px;
  font-size: 13px;
  line-height: 1.7;
  max-width: 30ch;
}

.footer h4 {
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 16px;
}

.footer-col li { margin: 9px 0; }

.footer-col a {
  font-size: 13.5px;
  transition: color .15s ease;
}

.footer-col a:hover { color: #fff; }

.footer-contact li {
  display: flex;
  gap: 10px;
  margin: 10px 0;
  font-size: 13.5px;
  line-height: 1.6;
}

.footer-contact svg { flex: none; margin-top: 2px; color: #5B8DEF; }
.footer-contact a:hover { color: #fff; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .09);
  padding: 18px clamp(22px, 3.7vw, 72px);
  text-align: center;
  font-size: 12.5px;
  color: #8D98A3;
}

/* ============================================================
   MOBILNÍ SPODNÍ LIŠTA
   ============================================================ */

.mobile-bar {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  background: #fff;
  box-shadow: 0 -6px 24px rgba(15, 30, 60, .14);
}

.mobile-bar a {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 10px 6px 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--ink);
}

.mobile-bar a svg { color: var(--blue); }

.mobile-bar a.cta {
  background: var(--blue);
  color: #fff;
}

.mobile-bar a.cta svg { color: #fff; }

/* ============================================================
   STRÁNKOVÉ ÚPRAVY
   ============================================================ */

/* Úvod + Hydroizolace + Služby: karty dole */
.content--bottom-cards { justify-content: space-between; gap: clamp(22px, 4vh, 44px); }
.content--bottom-cards .cards { margin-top: auto; }

/* na úvodce drží 4 karty vlevo, aby nezasahovaly pod kontaktní lištu
   (.rail je vpravo a zobrazuje se až nad 1100px) */
@media (min-width: 1101px) {
  .content--bottom-cards .svc-intro-cards { max-width: 72%; }
}

/* Kontakt */
.screen--kontakt .lead { max-width: 48ch; }

.emblem-mobile {
  display: none;
  width: min(320px, 70%);
  border-radius: 16px;
  box-shadow: var(--shadow-card);
  margin: 26px 0 6px;
}

/* ============================================================
   RESPONSIVITA
   ============================================================ */

@media (max-width: 1280px) {
  .nav { gap: 16px; }
  .text-col { max-width: 50%; }
}

@media (max-width: 1100px) {
  .scene, .rail { display: none; }

  .nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    box-shadow: 0 18px 40px rgba(15, 30, 60, .14);
    padding: 8px 18px 16px;
    display: none;
  }

  .nav.is-open { display: flex; }

  .nav-link { padding: 13px 6px; }
  .nav-link.is-active::after { display: none; }

  .nav-sub {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    padding: 0 0 4px 16px;
    min-width: 0;
  }

  .nav-toggle { display: flex; }
  .header .btn-phone { position: static; transform: none; margin-left: auto; font-size: 13px; padding: 12px 16px; }

  .screen { min-height: 0; }
  .content { min-height: 0; padding-bottom: 64px; }

  .text-col { max-width: 640px; }
  .split { grid-template-columns: 1fr; }
  .split-photo { justify-self: start; margin: 10px 0 0; width: min(560px, 100%); }

  .emblem-mobile { display: block; }

  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
  .step:nth-child(odd)::before { display: none; }

  .mobile-bar { display: flex; }
  body { padding-bottom: 64px; }

  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .btn-phone { display: none; }
  .nav-toggle { margin-left: auto; }

  .display { font-size: clamp(32px, 9vw, 44px); }

  .cards { grid-template-columns: 1fr; max-width: 420px; }
  .stats { grid-template-columns: 1fr; gap: 8px; }
  .stat { border-left: 0; border-top: 1px solid var(--line); }
  .stat:first-child { border-top: 0; }

  .steps { grid-template-columns: 1fr; }
  .step::before { display: none; }

  .contact-form { grid-template-columns: 1fr; }
  .field, .field--half, .form-foot, .form-status { grid-column: span 1; }

  .compare-wrap { overflow-x: auto; }
  .compare { min-width: 560px; }

  .gallery { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
}

/* ============================================================
   SLUŽBY – jednostránkový přehled (sluzby-vse.html)
   ============================================================ */

.svc-eyebrow {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--blue);
}

.svc-title {
  margin-top: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(28px, 3.4vw, 50px);
  line-height: 1.08;
  letter-spacing: -.01em;
  color: var(--ink);
}
.svc-title .accent { color: var(--blue); }

/* Hero */
.svc-intro {
  padding: clamp(46px, 8vh, 100px) 0 clamp(48px, 7vh, 90px);
  background: linear-gradient(150deg, #FDFEFF 0%, #EEF3FA 100%);
  border-bottom: 1px solid var(--line);
}
.svc-intro-lead {
  max-width: 64ch;
  margin-top: clamp(16px, 2.6vh, 26px);
  font-size: clamp(15.5px, 1.05vw, 19px);
  line-height: 1.65;
  color: var(--text);
}
.svc-intro-kicker { margin-top: clamp(30px, 5vh, 56px); }
.svc-intro-cards {
  margin-top: clamp(18px, 3.2vh, 36px);
  max-width: none;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* Sekce */
.svc-section {
  padding: clamp(54px, 9vh, 116px) 0;
  scroll-margin-top: calc(var(--header-h) + 24px);
}
.svc-section--alt { background: #F4F7FB; }
/* stejné okraje obsahu jako .content na ostatních stránkách */
.svc-wrap {
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: clamp(22px, 3.7vw, 72px);
}

.svc-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 84px);
  align-items: center;
}
.svc-split--rev .svc-media { order: -1; }

.svc-media img {
  width: 100%;
  aspect-ratio: 4 / 3.1;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(10, 25, 50, .18);
}

.svc-text .sub { margin-top: clamp(10px, 1.6vh, 16px); }
.svc-text .para { max-width: 52ch; }

/* Centrované sekce (tabulka, postup) */
.svc-head { text-align: center; max-width: 640px; margin: 0 auto clamp(8px, 1vh, 14px); }
.svc-head .para { margin-left: auto; margin-right: auto; max-width: 48ch; }
.svc-head + .compare-wrap { margin-left: auto; margin-right: auto; }
.svc-section .steps { margin-left: auto; margin-right: auto; }

/* CTA */
.svc-cta {
  padding: clamp(54px, 9vh, 104px) 0;
  background: linear-gradient(168deg, var(--panel-hi) 0%, var(--panel-lo) 100%);
  color: #fff;
  text-align: center;
}
.svc-cta-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(28px, 3.4vw, 50px);
  line-height: 1.1;
  color: #fff;
}
.svc-cta-title .accent { color: #7FB0FF; }
.svc-cta p {
  max-width: 56ch;
  margin: clamp(14px, 2.2vh, 22px) auto 0;
  font-size: clamp(15px, 1vw, 18px);
  line-height: 1.65;
  color: rgba(255, 255, 255, .82);
}
.svc-cta-actions {
  margin-top: clamp(22px, 3.6vh, 36px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 2vw, 30px);
  flex-wrap: wrap;
}
.svc-cta-phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: clamp(16px, 1.3vw, 20px);
  font-weight: 700;
  color: #fff;
}
.svc-cta-phone:hover { color: #7FB0FF; }

@media (max-width: 860px) {
  .svc-split { grid-template-columns: 1fr; gap: 26px; }
  .svc-split--rev .svc-media { order: 0; }
  .svc-media { order: -1; }
  .svc-media img { aspect-ratio: 16 / 10; }
}

@media (max-width: 1000px) {
  .svc-intro-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: none; }
}
@media (max-width: 540px) {
  .svc-intro-cards { grid-template-columns: 1fr; max-width: none; }
}

/* ============================================================
   O NÁS – sekce referencí (logo wall + členěný seznam)
   ============================================================ */

.refs {
  padding: clamp(54px, 9vh, 116px) 0 clamp(48px, 7vh, 96px);
  background: linear-gradient(160deg, #FDFEFF 0%, #EEF3FA 100%);
  border-top: 1px solid var(--line);
}

.refs-wrap {
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: clamp(22px, 3.7vw, 72px);
}

.refs-eyebrow {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--blue);
}

.refs-title {
  margin-top: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(28px, 3.4vw, 52px);
  line-height: 1.1;
  letter-spacing: -.01em;
  color: var(--ink);
}
.refs-title .accent { color: var(--blue); }

.refs-lead {
  max-width: 60ch;
  margin-top: clamp(16px, 2.6vh, 26px);
  font-size: clamp(15.5px, 1.05vw, 19px);
  line-height: 1.65;
  color: var(--text);
}

/* --- logo wall --- */
.logo-wall {
  margin-top: clamp(28px, 5vh, 56px);
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(168px, 1fr));
  gap: clamp(12px, 1.4vw, 20px);
}

.logo-cell {
  display: grid;
  place-items: center;
  height: clamp(92px, 11vh, 116px);
  padding: 18px 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 4px 14px rgba(15, 30, 60, .04);
  transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}

.logo-cell:hover {
  transform: translateY(-3px);
  border-color: #D5E0EE;
  box-shadow: var(--shadow-card);
}

.logo-cell img {
  max-width: 100%;
  max-height: 46px;
  width: auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: .68;
  transition: filter .2s ease, opacity .2s ease;
}

.logo-cell:hover img { filter: grayscale(0); opacity: 1; }

.logo-word {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(17px, 1.5vw, 22px);
  letter-spacing: .04em;
  color: var(--muted);
  text-align: center;
  transition: color .2s ease;
}

.logo-cell:hover .logo-word { color: var(--blue); }

/* --- členěný seznam referencí --- */
.ref-groups {
  margin-top: clamp(34px, 6vh, 64px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(248px, 1fr));
  gap: clamp(26px, 3vw, 52px);
}

.ref-group h3 {
  font-family: var(--font-display);
  font-size: clamp(16px, 1.2vw, 19px);
  font-weight: 700;
  color: var(--ink);
  padding-bottom: 12px;
  border-bottom: 2px solid var(--blue);
}

.ref-group ul { margin-top: 6px; }

.ref-group li {
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  font-size: clamp(14.5px, .95vw, 16px);
  font-weight: 600;
  line-height: 1.45;
  color: var(--text);
}

.ref-group li span {
  display: block;
  margin-top: 2px;
  font-size: 13px;
  font-weight: 400;
  color: var(--muted);
}

.refs .stats {
  width: 100%;
  max-width: 720px;
  margin-inline: auto;
  margin-top: clamp(40px, 6vh, 76px);
}

.refs-note {
  margin-top: clamp(26px, 4vh, 44px);
  font-size: 12.5px;
  color: var(--muted);
}

@media (max-width: 640px) {
  .logo-wall { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ============================================================
   HUGOCARE – segmenty (hub + segmentové stránky)
   ============================================================ */

/* segmentový badge (pilulka nad H1) */
.seg-badge {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  margin-top: clamp(16px, 2.6vh, 26px);
  padding: 11px 22px 11px 17px;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(13.5px, 1vw, 16px);
  font-weight: 700;
  letter-spacing: .01em;
  box-shadow: var(--shadow-btn);
}
.seg-badge svg { flex: none; }

/* ikonové dlaždice (4 benefity) */
.tiles {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 1.6vw, 24px);
  margin-top: clamp(26px, 4.4vh, 50px);
}
.tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  padding: clamp(20px, 2.6vh, 30px) clamp(12px, 1.2vw, 20px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 4px 14px rgba(15, 30, 60, .04);
}
.tile-ico {
  flex: none;
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: var(--blue-soft);
  display: grid;
  place-items: center;
  color: var(--blue);
}
.tile h3 {
  font-family: var(--font-display);
  font-size: clamp(14px, 1vw, 17px);
  font-weight: 700;
  line-height: 1.3;
  color: var(--ink);
}

/* rozcestníkové karty segmentů (hub) */
.seg-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(16px, 1.8vw, 26px);
  margin-top: clamp(20px, 3.4vh, 38px);
}
.seg-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: clamp(22px, 2.8vh, 32px) clamp(18px, 1.5vw, 26px);
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  color: inherit;
  transition: transform .22s ease, box-shadow .22s ease;
}
.seg-card-ico {
  flex: none;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--blue-soft);
  display: grid;
  place-items: center;
  color: var(--blue);
}
.seg-card h3 {
  font-family: var(--font-display);
  font-size: clamp(15px, 1.05vw, 18px);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: var(--ink);
}
.seg-card .checklist { margin-top: 0; }
.seg-card .checklist li {
  margin: clamp(8px, 1.2vh, 12px) 0;
  font-size: clamp(13px, .9vw, 15px);
  font-weight: 500;
}
.seg-card .checklist li::before { width: 20px; height: 20px; }
.seg-card-link {
  margin-top: auto;
  padding-top: 4px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--blue);
}
.seg-card-link .arr { font-size: 16px; line-height: 1; transition: transform .18s ease; }
a.seg-card:hover { transform: translateY(-5px); box-shadow: 0 18px 42px rgba(15, 30, 60, .14); }
a.seg-card:hover .seg-card-link .arr { transform: translateX(4px); }

/* lišta důvěry (3 položky) — vycentrované dlaždice */
.trust-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(16px, 2vw, 30px);
  margin-top: clamp(28px, 4.6vh, 54px);
}
.trust {
  flex: 0 1 260px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  padding: clamp(18px, 2.4vh, 26px) clamp(14px, 1.4vw, 22px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 4px 14px rgba(15, 30, 60, .04);
  font-size: clamp(13px, .9vw, 15px);
  font-weight: 600;
  line-height: 1.4;
  color: var(--text);
}
.trust svg { flex: none; width: 30px; height: 30px; color: var(--blue); }

/* 3 karty CO PŘINÁŠÍME na plnou šířku sekce */
.cards--wide { max-width: 1080px; margin-inline: auto; grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* responsivita HugoCare */
@media (max-width: 980px) {
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .seg-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cards--wide { grid-template-columns: 1fr; max-width: 460px; }
}
@media (max-width: 560px) {
  .tiles { grid-template-columns: 1fr; }
  .seg-cards { grid-template-columns: 1fr; }
}

/* ============================================================
   HugoCare HUB — prototyp (foto-hero, blueprint, tmavý pruh)
   Vše scopováno na .hc-page / .hc-* — nezasahuje sdílená pravidla.
   ============================================================ */

/* Blueprint linework (technická kresba) — vyplňuje prázdné plochy */
.hc-blueprint {
  position: absolute;
  z-index: 1;
  inset: auto 0 0 0;
  height: clamp(140px, 22vh, 240px);
  pointer-events: none;
  background:
    bottom left / 360px auto repeat-x
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='360' height='240'%3E%3Cg fill='none' stroke='%230750EB' stroke-width='1'%3E%3Crect x='22' y='26' width='316' height='196'/%3E%3Crect x='44' y='48' width='150' height='118'/%3E%3Crect x='214' y='70' width='96' height='130'/%3E%3Cpath d='M44 48 194 166M194 48 44 166'/%3E%3Ccircle cx='262' cy='135' r='22'/%3E%3Cpath d='M22 104H338M126 26V222'/%3E%3Cpath d='M44 188h64M44 198h44M44 208h74'/%3E%3Cpath d='M250 135h24M262 123v24'/%3E%3C/g%3E%3C/svg%3E");
  opacity: .09;
  -webkit-mask-image: linear-gradient(to right, #000 60%, transparent);
          mask-image: linear-gradient(to right, #000 60%, transparent);
}
.hc-blueprint--dark {
  inset: 0 0 auto auto;
  width: clamp(280px, 38vw, 560px);
  height: 100%;
  background:
    top right / 360px auto repeat
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='360' height='240'%3E%3Cg fill='none' stroke='%23FFFFFF' stroke-width='1'%3E%3Crect x='22' y='26' width='316' height='196'/%3E%3Crect x='44' y='48' width='150' height='118'/%3E%3Crect x='214' y='70' width='96' height='130'/%3E%3Cpath d='M44 48 194 166M194 48 44 166'/%3E%3Ccircle cx='262' cy='135' r='22'/%3E%3Cpath d='M22 104H338M126 26V222'/%3E%3C/g%3E%3C/svg%3E");
  opacity: .06;
  -webkit-mask-image: linear-gradient(to left, #000 40%, transparent);
          mask-image: linear-gradient(to left, #000 40%, transparent);
}

/* Foto-hero s diagonálním řezem */
.hc-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(150deg, #FDFEFF 0%, #EEF3FA 100%);
  border-bottom: 1px solid var(--line);
}
.hc-hero__photo {
  position: absolute;
  z-index: 0;
  inset: 0 0 0 auto;
  width: 56%;
  background: #2A3440 url("../assets/photo-hugocare.jpg") center / cover no-repeat;
}
.hc-hero__veil {
  position: relative;
  z-index: 2;
  background: linear-gradient(150deg, #FDFEFF 0%, #EFF4FB 100%);
  clip-path: polygon(0 0, 64% 0, 50% 100%, 0 100%);
}
.hc-hero__inner {
  max-width: var(--max);
  margin-inline: auto;
  padding: clamp(48px, 8vh, 104px) clamp(22px, 3.7vw, 72px) clamp(56px, 9vh, 116px);
}
.hc-hero__inner > * { max-width: min(620px, 52vw); }
.hc-hero .svc-intro-lead { margin-top: clamp(16px, 2.6vh, 26px); }

/* Inline řada pilířů (místo velkých dlaždic) */
.hc-pills {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(10px, 1.2vw, 18px);
  margin-top: clamp(26px, 4vh, 46px);
  max-width: min(620px, 52vw);
}
.hc-pills li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px 10px 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(15, 30, 60, .05);
  font-family: var(--font-display);
  font-size: clamp(13px, .95vw, 15px);
  font-weight: 700;
  color: var(--ink);
}
.hc-pill-ico {
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--blue-soft);
  display: grid;
  place-items: center;
  color: var(--blue);
}

/* Blueprint i pod rozcestníkem segmentů (jen na hub) */
.hc-page .svc-section--alt { position: relative; overflow: hidden; }
.hc-page .svc-section--alt > .svc-wrap { position: relative; z-index: 2; }
.hc-page .svc-section--alt::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: auto 0 0 0;
  height: clamp(120px, 18vh, 200px);
  pointer-events: none;
  background:
    bottom right / 360px auto repeat-x
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='360' height='240'%3E%3Cg fill='none' stroke='%230750EB' stroke-width='1'%3E%3Crect x='22' y='26' width='316' height='196'/%3E%3Crect x='44' y='48' width='150' height='118'/%3E%3Crect x='214' y='70' width='96' height='130'/%3E%3Cpath d='M22 104H338M126 26V222'/%3E%3Ccircle cx='262' cy='135' r='22'/%3E%3C/g%3E%3C/svg%3E");
  opacity: .06;
  -webkit-mask-image: linear-gradient(to left, #000 55%, transparent);
          mask-image: linear-gradient(to left, #000 55%, transparent);
}

/* Tmavý CTA + kontaktní pruh */
.hc-cta {
  position: relative;
  overflow: hidden;
  padding: clamp(54px, 9vh, 104px) 0;
  background: linear-gradient(168deg, var(--panel-hi) 0%, var(--panel-lo) 100%);
  color: #fff;
}
.hc-cta__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: clamp(30px, 5vw, 80px);
  align-items: center;
}
.hc-cta .svc-cta-title { text-align: left; }
.hc-cta__lead p {
  max-width: 46ch;
  margin: clamp(14px, 2.2vh, 22px) 0 0;
  font-size: clamp(15px, 1vw, 18px);
  line-height: 1.65;
  color: rgba(255, 255, 255, .82);
}
.hc-cta__lead .svc-cta-actions { justify-content: flex-start; margin-top: clamp(22px, 3.6vh, 34px); }

.hc-rail {
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 2.6vh, 28px);
}
.hc-rail__item { display: flex; align-items: center; gap: 16px; }
.hc-rail__item--top { align-items: flex-start; }
.hc-rail__ico {
  flex: none;
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: #fff;
  display: grid;
  place-items: center;
  color: var(--blue);
  box-shadow: 0 8px 22px rgba(8, 16, 30, .3);
}
.hc-rail__item a, .hc-rail__txt {
  font-size: clamp(14.5px, 1vw, 16px);
  font-weight: 500;
  line-height: 1.7;
  color: #fff;
}
.hc-rail__item a:hover { text-decoration: underline; }

@media (max-width: 900px) {
  .hc-hero__photo { width: 100%; }
  .hc-hero__veil {
    clip-path: none;
    background: linear-gradient(180deg, rgba(20, 28, 38, 0) 0%, rgba(20, 28, 38, .55) 55%, rgba(16, 22, 30, .92) 100%);
    margin-top: clamp(220px, 38vh, 340px);
  }
  .hc-hero { background: #1A2230; }
  .hc-hero .svc-eyebrow { color: #9CC0FF; }
  .hc-hero .display { color: #fff; }
  .hc-hero .display .accent { color: #7FB0FF; }
  .hc-hero .svc-intro-lead { color: rgba(255, 255, 255, .85); }
  .hc-hero__inner > *, .hc-pills { max-width: none; }
  .hc-blueprint { opacity: .12; }
  .hc-cta__grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .hc-pills li { flex: 1 1 100%; justify-content: flex-start; }
  .hc-cta__grid { gap: clamp(24px, 5vh, 36px); }
}
