/*
Theme Name: HlídejVodu s.r.o.
Author: Pavel Hulva
Author URI: 
Description: Pomáháme firmám, městům i institucím odhalit skryté ztráty vody a snížit provozní náklady. Díky detailní diagnostice vodovodních systémů a chytrým technologiím dokážeme najít úspory tam, kde byste je nečekali.
Version: 1.0
*/

@import url('https://fonts.googleapis.com/css2?family=Rubik:ital,wght@0,300..900;1,300..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');


:root{
    --c-navy: #070F1A;
    --c-sky: #69C6E0;
    --c-text-muted: #4f5b6b;

    --ff-body: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    --ff-ui: "Rubik", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

/* ===== GLOBAL ===== */
body {
    padding-top: 90px;
    font-family: var(--ff-body);
    color: var(--c-navy);
}

/* Nadpisy = Rubik */
h1, h2, h3, h4, h5, h6,
.hero-title {
    font-family: var(--ff-ui);
}

/* Navbar + tlačítka = Rubik */
.navbar,
.navbar .nav-link,
.btn {
    font-family: var(--ff-ui);
}

/* ===== NAVBAR ===== */
.navbar-brand img {
    max-height: 50px!important;
}

.nav-link {
    font-weight: 400!important;
    color: var(--c-navy) !important;
    text-transform: uppercase!important;
}

.nav-link:hover {
    color: var(--c-sky) !important;
}

.btn-audit {
    background-color: var(--c-navy)!important;
    border-color: var(--c-navy)!important;
    padding: 10px 35px!important;
    border-radius: 30px!important;
    font-weight: 700!important;
    letter-spacing: 0.2px!important;
    text-transform: uppercase!important;
}

.btn-audit:hover {
    background-color: var(--c-sky)!important;
    border-color: var(--c-sky)!important;
    color: var(--c-navy)!important;
}

/* ===== HERO ===== */
.hero-section {
    position: relative!important;
    padding: 80px 0 0!important;
    overflow: hidden!important;
}

.hero-title {
    font-size: 2.6rem!important;
    font-weight: 800!important;
    line-height: 1.25!important;
    font-weight: 600!important;
    text-transform: uppercase!important;
}

.hero-title span {
    display: block!important;
    font-weight: 400!important;
}

.hero-text {
    font-family: var(--ff-body)!important;
    font-size: 1.15rem!important;
    color: var(--c-text-muted)!important;
    max-width: 80%!important;
}

.hero-image {
    margin-top: 60px!important;
}

.hero-image img {
    width: 100%!important;
    height: auto!important;
    object-fit: cover!important;
    border-radius: 0!important;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
    .hero-title {
        font-size: 3rem!important;
        text-align: center!important;
    }

    .hero-section {
        padding-top: 40px!important;
    }

    .hero-text {
        text-align: center!important;
        max-width: 100%!important;
    }

    .hero-title span {
        display: none!important;
    }
}

/* ===== SPLIT SECTION ===== */
.split-section{
  background: #fff!important;
}

.split-left{
  background: var(--c-navy)!important;
  min-height: 520px!important;
  padding: 80px 80px!important;
}

.split-left-inner{
  width: 100%!important;
  max-width: 520px!important;
}

.split-claim{
  font-family: var(--ff-ui)!important;
  color: #fff!important;
  font-weight: 600!important;
  font-size: 3rem!important;
  line-height: 1.12!important;
  letter-spacing: 0.5px!important;
  text-transform: uppercase!important;
}

.btn-pill-light{
  font-family: var(--ff-ui)!important;
  background: #fff!important;
  color: var(--c-navy)!important;
  border: 1px solid rgba(255,255,255,0.35)!important;
  border-radius: 999px!important;
  padding: 14px 40px!important;
  font-weight: 700!important;
  text-transform: uppercase!important;
  letter-spacing: 0.6px!important;
  box-shadow: 0 10px 24px rgba(0,0,0,0.18)!important;
}

.btn-pill-light:hover{
  background: rgba(255,255,255,0.92)!important;
  color: var(--c-navy)!important;
}

/* RIGHT */
.split-right{
  background: #fff!important;
  min-height: 520px!important;
  padding: 80px 80px!important;
}

.split-right-inner{
  width: 100%!important;
  max-width: 620px!important;
}

.split-title{
  font-family: var(--ff-ui)!important;
  color: var(--c-navy)!important;
  font-weight: 400!important;
  font-size: 2.1rem!important;
  line-height: 1.25!important;
  text-transform: uppercase!important;
  max-width: 90%!important;
}

.split-title strong{
  font-weight: 600!important;
}

.split-text{
  font-family: var(--ff-body)!important;
  color: #2b3645!important;
  font-size: 1.15rem!important;
  line-height: 1.9!important;
}

.split-text p{
  margin-bottom: 28px!important;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991.98px){
  .split-left, .split-right{
    padding: 48px 22px!important;
    min-height: auto!important;
  }

  .split-claim,
  .split-title,
  .split-text {
    text-align: center!important;
    max-width: 100%!important;
  }

  .split-claim,
  .split-title {
    font-size: 2.2rem!important;
  }

  .split-text p {
    margin-bottom: 20px!important;
  }

  .split-left-inner, .split-right-inner{
    max-width: 100%!important;
  }

  .btn-pill-light{
    width: 100%!important;
    text-align: center!important;
  }
}

/* ===== WHY DIAGNOSTICS ===== */
.why-diagnostics{
  padding: 90px 0;
  background: #fff;
}

.why-title{
  font-family: var(--ff-ui);
  color: var(--c-navy);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .4px;
  font-size: 3rem;
  margin: 0;
}

.why-item{
  display: flex;
  gap: 26px;
  align-items: flex-start;
}

.why-num{
  width: 110px;
  height: 110px;
  background: var(--c-sky);
  color: var(--c-navy);
  font-family: var(--ff-ui);
  font-weight: 600;
  font-size: 3.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  border-radius: 0; /* v designu je to ostré */
  flex: 0 0 auto;
}

.why-content{
  max-width: 520px;
}

.why-h{
  font-family: var(--ff-ui);
  color: var(--c-navy);
  text-transform: uppercase;
  letter-spacing: .4px;
  font-weight: 400;
  margin: 6px 0 16px;
  line-height: 1.2;
  font-size: 2rem;
}

.why-h strong{
  font-weight: 600;
}

.why-p{
  font-family: var(--ff-body);
  color: #2b3645;
  line-height: 1.9;
  margin: 0;
  max-width: 520px;
}

/* posuny pro “zig-zag” layout na desktopu */
@media (min-width: 992px){
  .why-item--right{
    padding-left: 60px; /* pravý blok víc “od středu” */
  }
  .why-item--top{
    margin-top: 70px;   /* 2ka níž */
  }
  .why-item--bottom{
    margin-top: 30px;   /* 3ka trochu níž */
  }
  .why-item--bottom2{
    margin-top: 60px;   /* 4ka níž */
  }
}


/* ===== Mobile tweaks ===== */
@media (max-width: 575.98px){
  .why-num{
    width: 84px;
    height: 84px;
    font-size: 2.6rem;
  }
  .why-h{
    font-size: 1.7rem;
  }
  .why-title {
    text-align: center!important;
  }
}

/* ===== ARROWS as images (desktop only) ===== */
.why-grid{
  position: relative;
}

.why-arrow-img{
  position: absolute;
  width: 180px;          /* uprav podle exportu */
  height: auto;
  opacity: .9;
  pointer-events: none;
  user-select: none;
  display: none;
}

@media (min-width: 992px){
  .why-arrow-img{ display: block; }

  /* 1 -> 2 */
  .why-arrow-img--12{
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
  }

  /* 2 -> 3 */
  .why-arrow-img--23{
    top: 335px;
    left: 50%;
    transform: translateX(-50%) rotate(0deg);
  }

  /* 3 -> 4 */
  .why-arrow-img--34{
    top: 676px;
    left: 50%;
    transform: translateX(-50%);
  }
}

.g-5 {
    --si-gutter-x: 0rem!important;
}

/* mobile: šipky pryč */
@media (max-width: 991.98px){
  .why-arrow-img{ display: none !important; }
}

/* =========================================
   STEPS SECTION (Jak diagnostika probíhá?)
   - full-bleed header
   - scroll-snap slider + arrow controls
   ========================================= */

.steps-section{
  padding: 0 0 90px;
  background: #fff;
}

/* ---------- FULL BLEED HEADER ---------- */
.steps-head-full{
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw); /* full-bleed přes viewport */
  background: var(--c-navy);
  padding: 44px 0;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.steps-head-full h2{
  font-family: var(--ff-ui);
  color: #fff;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .5px;
  font-size: clamp(1.9rem, 3.2vw, 3.2rem);
  line-height: 1.05;
  margin: 0;

  /* text má být “až ke kraji”, ale pořád s rozumným odsazením */
  padding-left: clamp(20px, 6vw, 120px);
  padding-right: clamp(20px, 6vw, 120px);
}

/* šipky vpravo (mimo container) */
.steps-head-nav{
  position: absolute;
  right: clamp(16px, 6vw, 120px);
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  gap: 18px;
  color: var(--c-sky);
}

.steps-nav-btn{
  width: 58px;
  height: 58px;
  border: 0;
  background: transparent;
  color: var(--c-sky);
  display: grid;
  place-items: center;
  border-radius: 999px;
  transition: background .15s ease, transform .1s ease, opacity .15s ease;
}

.steps-nav-btn:hover{
  background: rgba(105, 198, 224, 0.14);
}

/* disabled stav (pokud doplníš JS, viz níže) */
.steps-nav-btn.is-disabled{
  opacity: .35;
  pointer-events: none;
}

/* ---------- TILES / TRACK ---------- */
.steps-track-wrap{
  margin-top: 42px;
  position: relative;
}

/* horizontální track */
.steps-track{
  display: flex;
  gap: 38px;
  overflow-x: auto;
  padding: 8px 0 18px;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  outline: none;
}

/* scrollbar (není nutné, ale v designu to pomáhá) */
.steps-track::-webkit-scrollbar{
  height: 10px;
}
.steps-track::-webkit-scrollbar-track{
  background: rgba(7, 15, 26, 0.08);
  border-radius: 999px;
}
.steps-track::-webkit-scrollbar-thumb{
  background: rgba(7, 15, 26, 0.22);
  border-radius: 999px;
}

/* karta */
.step-card{
  scroll-snap-align: start;
  background: #fff;
  border: 2px solid rgba(7, 15, 26, 0.85);
  padding: 38px 36px 34px;
  min-height: 320px;

  /* desktop: 3 karty v řadě */
  flex: 0 0 calc((100% - 2 * 38px) / 3);
}

/* číslování */
.step-top{
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 22px;
}

.step-no{
  font-family: var(--ff-ui);
  font-weight: 600;
  font-size: 3.2rem;
  line-height: 1;
  color: var(--c-sky);
  letter-spacing: 1px;
}

.step-of{
  font-family: var(--ff-ui);
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--c-navy);
  opacity: .9;
}

/* title */
.step-title{
  font-family: var(--ff-ui);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .2px;
  color: var(--c-navy);
  margin: 0 0 16px;
  font-size: 1.6rem;
  line-height: 1.2;
}

/* text */
.step-text{
  font-family: var(--ff-body);
  color: #2b3645;
  margin: 0;
  max-width: 520px;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1199.98px){
  /* 2 karty */
  .step-card{ flex-basis: calc((100% - 38px) / 2); }
}

@media (max-width: 991.98px){
  .steps-head-full{
    padding: 34px 0;
  }

  .steps-head-full h2 {
    text-align: center!important;
    font-size: 2.2rem!important;
  }

  .steps-head-nav{
    right: 18px;
    gap: 14px;
  }

  .steps-nav-btn{
    display: none!important;
  }

  /* 1 karta (velká, swipe) */
  .step-card{
    flex-basis: 86%;
    padding: 30px 24px 28px;
    min-height: 300px;
  }

  .steps-track{
    gap: 18px;
    padding-bottom: 14px;
  }
}

@media (max-width: 575.98px){
  .step-card{ flex-basis: 92%; }
  .step-no{ font-size: 2.7rem; }
  .step-title{ font-size: 1.35rem; }
}

/* =========================================
   CASE STUDIES SECTION
   ========================================= */

.cases-section{
  padding: 90px 0 110px;
  background: #fff;
}

.cases-title{
  font-family: var(--ff-ui);
  color: var(--c-navy);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .4px;
  font-size: clamp(2rem, 3.2vw, 3.1rem);
  margin: 0;
}

/* rows */
.case-row{
  padding: 10px 0;
}

/* image block */
.case-media{
  position: relative;
  display: inline-block;
  width: 100%;
  max-width: 420px; /* podobně jako ve screenu */
}

.case-img{
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0;
  object-fit: cover;
}

/* badge */
.case-badge{
  position: absolute;
  width: 62px;
  height: 62px;
  border-radius: 0px;
  background: #ffffff;
  display: grid;
  place-items: center;
  box-shadow: 0 12px 26px rgba(0,0,0,.18);
}

.case-badge img{
  width: 62px;   /* pokud máš ikonku už jako kolečko, nech takhle */
  height: 62px;
  display: block;
}

/* badge positions */
.case-media--badge-br .case-badge{
  right: -18px;
  bottom: -18px;
}

.case-media--badge-bl .case-badge{
  left: -18px;
  bottom: -18px;
}

/* content */
.case-content{
  max-width: 620px;
}

.case-heading{
  font-family: var(--ff-ui);
  color: var(--c-navy);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .2px;
  margin: 0 0 14px;
  font-size: clamp(1.35rem, 2vw, 2rem);
  line-height: 1.2;
}

.case-text{
  font-family: var(--ff-body);
  color: #2b3645;
  line-height: 1.9;
  margin: 0 0 18px;
}

/* link */
.case-link{
  font-family: var(--ff-ui);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .35px;
  color: var(--c-navy);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px!important;
}

.case-link span{
  color: var(--c-sky);
  font-size: 1.3em;
  line-height: 1;
  transform: translateY(-1px);
}

.case-link:hover{
  color: var(--c-sky);
}

/* CTA button */
.cases-cta{
  font-family: var(--ff-ui);
  background: var(--c-navy);
  border: 1px solid var(--c-navy);
  color: #fff;
  border-radius: 999px;
  padding: 14px 34px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .35px;
  box-shadow: 0 14px 30px rgba(0,0,0,.22);
}

.cases-cta:hover{
  background: #0b1727;
  border-color: #0b1727;
  color: #fff;
}

/* responsive */
@media (max-width: 991.98px){
  .case-media{
    max-width: 520px;
  }

  .cases-title {
    font-size: 2.2rem!important;
    text-align: center!important;
  }

  .case-heading {
    font-size: 1.7rem!important;
  }

  .case-badge{
    width: 56px;
    height: 56px;
  }

  .case-badge img{
    width: 56px;
    height: 56px;
  }

  /* ať badge neuteče z viewportu */
  .case-media--badge-br .case-badge{ right: -10px; bottom: -10px; }
  .case-media--badge-bl .case-badge{ left: -10px; bottom: -10px; }
}

@media (max-width: 575.98px){
  .cases-section{ padding: 70px 0 90px; }

  .cases-cta{
    width: 100%;
    padding: 14px 18px;
  }
}

/* =========================================
   SERVICES SLIDER (Navazující služby)
   ========================================= */

.services-slider{
  padding: 0 0 90px;
  background: #fff;
}

/* ---- FULL BLEED HEADER ---- */
.services-head-full{
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  background: var(--c-navy);
  padding: 44px 0;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.services-head-full h2{
  font-family: var(--ff-ui);
  color: #fff;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .5px;
  font-size: clamp(1.9rem, 3.2vw, 3.2rem);
  line-height: 1.05;
  margin: 0;
  padding-left: clamp(20px, 6vw, 120px);
  padding-right: clamp(20px, 6vw, 120px);
}

/* arrows */
.services-head-nav{
  position: absolute;
  right: clamp(16px, 6vw, 120px);
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  gap: 18px;
  color: var(--c-sky);
}

.services-nav-btn{
  width: 58px;
  height: 58px;
  border: 0;
  background: transparent;
  color: var(--c-sky);
  display: grid;
  place-items: center;
  border-radius: 999px;
  transition: background .15s ease, transform .1s ease, opacity .15s ease;
}

.services-nav-btn:hover{
  background: rgba(105, 198, 224, 0.14);
}

.services-nav-btn.is-disabled{
  opacity: .35;
  pointer-events: none;
}

/* ---- TRACK ---- */
.services-track-wrap{
  margin-top: 42px;
  position: relative;
}

.services-track{
  display: flex;
  gap: 38px;
  overflow-x: auto;
  padding: 8px 0 18px;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  outline: none;
}

.services-track::-webkit-scrollbar{
  height: 10px;
}
.services-track::-webkit-scrollbar-track{
  background: rgba(7, 15, 26, 0.08);
  border-radius: 999px;
}
.services-track::-webkit-scrollbar-thumb{
  background: rgba(7, 15, 26, 0.22);
  border-radius: 999px;
}

/* ---- CARD ---- */
.service-card{
  scroll-snap-align: start;
  background: #fff;
  border: 2px solid rgba(7, 15, 26, 0.85);
  padding: 42px 38px 34px;
  min-height: 360px;
  flex: 0 0 calc((100% - 2 * 38px) / 3);
  display: flex;
  flex-direction: column;
}

.service-icon{
  width: 70px;
  height: 70px;
  margin-bottom: 26px;
}

.service-icon img{
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.service-title{
  font-family: var(--ff-ui);
  color: var(--c-navy);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .2px;
  margin: 0 0 16px;
  font-size: 1.55rem;
  line-height: 1.2;
}

.service-text{
  font-family: var(--ff-body);
  color: #2b3645;
  line-height: 1.9;
  margin: 0 0 18px;
  max-width: 520px;
}

/* link dole */
.service-link{
  margin-top: auto;
  font-family: var(--ff-ui);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .35px;
  color: var(--c-navy);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.service-link span{
  color: var(--c-sky);
  font-size: 1.3em;
  transform: translateY(-1px);
}

.service-link:hover{
  color: var(--c-sky);
}

/* ---- RESPONSIVE ---- */
@media (max-width: 1199.98px){
  .service-card{ flex-basis: calc((100% - 38px) / 2); }
}

@media (max-width: 991.98px){
  .services-head-full{ padding: 34px 0; text-align: center!important; }

  .services-head-full h2 {
    font-size: 2.2rem!important;
  }

  .services-head-nav{
    display: none!important;
  }

  .services-nav-btn{
    width: 52px;
    height: 52px;
  }

  .services-track{
    gap: 18px;
    padding-bottom: 14px;
  }

  .service-card{
    flex-basis: 86%;
    padding: 34px 26px 28px;
    min-height: 340px;
  }
}

@media (max-width: 575.98px){
  .service-card{ flex-basis: 92%; }
  .service-title{ font-size: 1.35rem; }
}

/* =========================================
   REFERENCES SLIDER (Vaše spokojenost...)
   ========================================= */

.refs-slider{
  padding: 0 0 110px;
  background: #fff;
}

/* ---- FULL BLEED HEADER ---- */
.refs-head-full{
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  background: var(--c-navy);
  padding: 44px 0;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.refs-head-full h2{
  font-family: var(--ff-ui);
  color: #fff;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .5px;
  font-size: clamp(1.9rem, 3.2vw, 3.2rem);
  line-height: 1.05;
  margin: 0;
  padding-left: clamp(20px, 6vw, 120px);
  padding-right: clamp(20px, 6vw, 120px);
}

/* arrows */
.refs-head-nav{
  position: absolute;
  right: clamp(16px, 6vw, 120px);
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  gap: 18px;
  color: var(--c-sky);
}

.refs-nav-btn{
  width: 58px;
  height: 58px;
  border: 0;
  background: transparent;
  color: var(--c-sky);
  display: grid;
  place-items: center;
  border-radius: 999px;
  transition: background .15s ease, transform .1s ease, opacity .15s ease;
}

.refs-nav-btn:hover{
  background: rgba(105, 198, 224, 0.14);
}

.refs-nav-btn.is-disabled{
  opacity: .35;
  pointer-events: none;
}

/* ---- TRACK ---- */
.refs-track-wrap{
  margin-top: 62px;
}

.refs-track{
  display: flex;
  gap: 60px;
  overflow-x: auto;
  padding: 10px 0 18px;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  outline: none;
}

/* scrollbar decent */
.refs-track::-webkit-scrollbar{
  height: 10px;
}
.refs-track::-webkit-scrollbar-track{
  background: rgba(7, 15, 26, 0.08);
  border-radius: 999px;
}
.refs-track::-webkit-scrollbar-thumb{
  background: rgba(7, 15, 26, 0.22);
  border-radius: 999px;
}

/* ---- SLIDE ---- */
.ref-slide{
  scroll-snap-align: center;
  flex: 0 0 100%;
  text-align: center;
  padding: 10px 0;
}

/* omezíme čitelnost šířkou, jak ve screenu */
.ref-slide > *{
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.ref-title{
  font-family: var(--ff-ui);
  color: var(--c-navy);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .25px;
  font-size: clamp(1.55rem, 2.2vw, 2.3rem);
  margin: 0 0 18px;
}

.ref-text{
  font-family: var(--ff-body);
  color: #2b3645;
  line-height: 1.9;
  font-style: italic;
  margin: 0 0 28px;
}

.ref-author{
  font-family: var(--ff-ui);
  color: var(--c-navy);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .25px;
  margin: 0;
  padding-bottom: 40px!important;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 991.98px){
  .refs-head-full{ padding: 34px 0; }

  .refs-head-nav{
    display: none!important;
  }

  .refs-nav-btn{
    width: 52px;
    height: 52px;
  }

  .refs-head-full {
    text-align: center;
  }

  .refs-head-full h2 {
    font-size: 2.2rem!important;
  }

  .refs-track{
    gap: 20px;
    margin-top: 0;
  }

  .ref-slide{
    text-align: left; /* na mobilech to čteš líp */
    flex-basis: 92%;
    scroll-snap-align: start;
    text-align: center!important;
  }

  .ref-slide > *{
    max-width: 100%;
  }

  .ref-text{
    font-style: normal; /* na malých displejích je italic často horší */
  }
}

@media (max-width: 575.98px){
  .refs-track-wrap{ margin-top: 44px; }
}

/* =========================================
   LOGOS STRIP + CTA DARK
   ========================================= */

/* ---- LOGOS STRIP ---- */
.logos-strip{
  position: relative;
  padding: 70px 0;
  background: #0b1727; /* fallback */
  overflow: hidden;
}

/* background image + dark overlay */
.logos-strip::before{
  content:"";
  position:absolute;
  inset:0;
  background: url("../../files/hlidejvodu/bg-logos.jpg") center/cover no-repeat;
  opacity: 1;
  transform: scale(1.02);
}

.logos-strip::after{
  content:"";
  position:absolute;
  inset:0;
  background: rgba(7, 15, 26, 0.62);
}

.logos-strip .container{
  position: relative;
  z-index: 2;
}

.logo-img{
  max-width: 210px;
  width: 100%;
  height: auto;
  filter: brightness(0) invert(1); /* bílé logo i když je source tmavé */
  opacity: .95;
}

/* trochu menší na mobilech */
@media (max-width: 575.98px){
  .logos-strip{
    padding: 52px 0;
  }
  .logo-img{
    max-width: 170px;
  }
}

/* ---- CTA DARK ---- */
.cta-dark{
  background: var(--c-navy);
  padding: 110px 0 120px;
}

.cta-inner{
  max-width: 980px;
  margin: 0 auto;
}

.cta-title{
  font-family: var(--ff-ui);
  color: #fff;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .4px;
  font-size: 2.7rem;
  margin: 0 0 14px;
  line-height: 1.1;
}

.cta-subtitle{
  font-family: var(--ff-body);
  color: rgba(255,255,255,.92);
  font-size: clamp(1.05rem, 1.4vw, 1.55rem);
  margin: 0;
}

/* pill button (bílé) */
.cta-btn{
  font-family: var(--ff-ui);
  background: #fff;
  color: var(--c-navy);
  border: 1px solid #fff;
  border-radius: 999px;
  padding: 14px 38px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .35px;
  box-shadow: 0 18px 34px rgba(0,0,0,.28);
}

.cta-btn:hover{
  background: rgba(255,255,255,.92);
  border-color: rgba(255,255,255,.92);
  color: var(--c-navy);
}

/* responsive */
@media (max-width: 991.98px){
  .cta-dark{
    padding: 80px 0 90px;
  }

  .cta-title {
    font-size: 2.2rem!important;
    text-align: center!important;
  }

  .cta-btn{
    width: 100%;
    max-width: 360px;
  }
}

/* =========================================
   FOOTER
   ========================================= */

.site-footer{
  background: #fff;
  padding: 90px 0 70px;
  border-top: 1px solid rgba(7, 15, 26, 0.08);
}

/* logo */
.footer-brand{
  max-width: 300px;
}

.footer-logo{
  width: 100%;
  height: auto;
  display: block;
}

/* titles */
.footer-title{
  font-family: var(--ff-ui);
  color: var(--c-navy);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .35px;
  margin: 0 0 18px;
  font-size: 1.3rem;
}

/* lists */
.footer-list{
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-list li{
  font-family: var(--ff-body);
  color: #2b3645;
  margin-bottom: 8px;
  line-height: 1.6;
}

.footer-list a{
  color: var(--c-navy);
  text-decoration: none;
}

.footer-list a:hover{
  color: var(--c-sky);
}

/* text block */
.footer-text{
  font-family: var(--ff-body);
  color: #2b3645;
  line-height: 1.7;
  margin: 0;
}

/* socials */
.footer-social{
  display: flex;
  gap: 26px;
}

.footer-social a{
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.footer-social img{
  width: 42px;
  height: 42px;
  opacity: .85;
  transition: opacity .15s ease, transform .15s ease;
}

.footer-social a:hover img{
  opacity: 1;
  transform: translateY(-2px);
}

/* social jako samostatný sloupec */
.footer-social--solo{
  display: flex;
  gap: 26px;
  align-items: flex-start;
  justify-content: flex-start;
  margin-top: 6px;
}

/* MOBILE – centrovat */
@media (max-width: 991.98px){
  .footer-social--solo{
    justify-content: center;
  }
}

/* responsive */
@media (max-width: 991.98px){
  .site-footer{
    padding: 70px 0 60px;
    text-align: center!important;
  }

  .footer-brand{
    margin-left: auto!important;
    margin-right: auto!important;
  }
}

@media (max-width: 575.98px){
  .site-footer{
    padding: 60px 0 50px;
    text-align: center!important;
  }

  .footer-social img{
    width: 36px;
    height: 36px;
  }
}

/* ---------------- Buttons ---------------- */
.hv-btn-primary{
  font-family: var(--ff-ui);
  background: var(--c-navy);
  border: 1px solid var(--c-navy);
  color:#fff;
  border-radius: 999px;
  padding: 12px 26px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .35px;
}
.hv-btn-primary:hover{ background:#0b1727; border-color:#0b1727; color:#fff; }

.hv-btn-outline{
  font-family: var(--ff-ui);
  background: transparent;
  border: 1px solid rgba(7,15,26,.35);
  color: var(--c-navy);
  border-radius: 999px;
  padding: 12px 26px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .35px;
}
.hv-btn-outline:hover{ border-color: var(--c-navy); color: var(--c-navy); }

.hv-btn-light{
  font-family: var(--ff-ui);
  background:#fff;
  border:1px solid #fff;
  color: var(--c-navy);
  border-radius: 999px;
  padding: 14px 38px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .35px;
  box-shadow: 0 18px 34px rgba(0,0,0,.28);
}
.hv-btn-light:hover{ background: rgba(255,255,255,.92); border-color: rgba(255,255,255,.92); color: var(--c-navy); }

/* ---------------- Typography helpers ---------------- */
.hv-h2{
  font-family: var(--ff-ui);
  color: var(--c-navy);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .4px;
  line-height: 1.1;
  font-size: clamp(1.7rem, 2.6vw, 2.4rem);
  margin:0;
}
.hv-p{
  font-family: var(--ff-body);
  line-height: 1.9;
  margin:0 0 14px;
}

/* ---------------- Navbar ---------------- */
.hv-navbar{
  background:#fff;
  padding: 18px 0;
}
.hv-brand-logo{
  height: 44px;
  width:auto;
  display:block;
}
.hv-navbar .nav-link{
  font-family: var(--ff-ui);
  color: var(--c-navy);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: .25px;
}
.hv-navbar .nav-link.active{ opacity: .85; }

/* ---------------- Hero ---------------- */
.service-hero{
  padding: 70px 0 80px;
}
.service-hero-badge{
  display:inline-block;
  font-family: var(--ff-ui);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .35px;
  color: var(--c-sky);
  margin-bottom: 14px;
}
.service-hero-title{
  font-family: var(--ff-ui);
  color: var(--c-navy);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .4px;
  line-height: 1.05;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  margin: 0 0 16px;
}
.service-hero-text{
  font-family: var(--ff-body);
  line-height: 1.9;
  font-size: 1.05rem;
  margin:0;
  max-width: 52ch;
}
.service-hero-media{
  border: 2px solid rgba(7,15,26,.85);
}
.service-hero-img{
  width:100%;
  height:auto;
  display:block;
}

/* ---------------- Intro ---------------- */
.service-intro{
  padding: 70px 0 60px;
}

/* ---------------- Full-bleed strip ---------------- */
.hv-strip{
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  background: var(--c-navy);
  padding: 44px 0;
  overflow:hidden;
}
.hv-strip h2{
  font-family: var(--ff-ui);
  color:#fff;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  font-size: clamp(1.8rem, 3vw, 3rem);
  margin:0;
  padding-left: clamp(20px, 6vw, 120px);
  padding-right: clamp(20px, 6vw, 120px);
}

/* ---------------- Cards ---------------- */
.service-grid{
  padding: 50px 0 80px;
}
.hv-card{
  border: 2px solid rgba(7,15,26,.85);
  padding: 34px 30px 30px;
  min-height: 250px;
  background:#fff;
}
.hv-card-icon{
  width: 62px;
  height: 62px;
  margin-bottom: 20px;
}
.hv-card-icon img{
  width:100%;
  height:100%;
  object-fit:contain;
  display:block;
}
.hv-card-title{
  font-family: var(--ff-ui);
  color: var(--c-navy);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .2px;
  margin: 0 0 12px;
  font-size: 1.25rem;
  line-height: 1.2;
}
.hv-card-text{
  font-family: var(--ff-body);
  line-height: 1.9;
  margin: 0;
}

/* ---------------- Steps ---------------- */
.service-steps{
  padding: 70px 0 90px;
}
.step-mini{
  border: 2px solid rgba(7,15,26,.18);
  padding: 22px 18px;
  height: 100%;
}
.step-mini-no{
  font-family: var(--ff-ui);
  font-weight: 700;
  color: var(--c-sky);
  letter-spacing: .6px;
  font-size: 1.4rem;
  margin-bottom: 6px;
}
.step-mini-title{
  font-family: var(--ff-ui);
  font-weight: 700;
  color: var(--c-navy);
  text-transform: uppercase;
  letter-spacing: .25px;
  margin-bottom: 8px;
}
.step-mini-text{
  font-family: var(--ff-body);
  line-height: 1.8;
  margin:0;
}

/* ---------------- CTA ---------------- */
.service-cta{
  background: var(--c-navy);
  padding: 100px 0 110px;
}
.service-cta-title{
  font-family: var(--ff-ui);
  color:#fff;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .4px;
  font-size: clamp(2rem, 3.4vw, 3.2rem);
  margin:0 0 12px;
  line-height: 1.1;
}
.service-cta-subtitle{
  font-family: var(--ff-body);
  color: rgba(255,255,255,.92);
  font-size: clamp(1.05rem, 1.4vw, 1.45rem);
  margin: 0 0 26px;
}





/* responsive tweaks */
@media (max-width: 991.98px){
  .service-hero{ padding: 52px 0 60px; }
  .service-cta{ padding: 80px 0 90px; }
}

/* -----------------------------------------
   Service benefits (Instalace sanitární)
   ----------------------------------------- */
.service-benefits{
  padding: 70px 0 90px;
  background: #fff;
}

.benefit-list{
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 14px;
}

.benefit-list li{
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-family: var(--ff-body);
  line-height: 1.8;
  color: #2b3645;
}

.b-dot{
  width: 10px;
  height: 10px;
  margin-top: 7px;
  border-radius: 999px;
  background: var(--c-sky);
  flex: 0 0 10px;
}

/* -----------------------------------------
   CASE HERO
   ----------------------------------------- */
.case-hero{
  padding: 60px 0 40px;
}
.case-media{
  position: relative;
  border: 2px solid rgba(7,15,26,.85);
  background:#fff;
}
.case-media-img{
  width:100%;
  height:auto;
  display:block;
}
.case-client{
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: 120px;
  height: 120px;
  background:#fff;
  border: 1px solid rgba(7,15,26,.12);
  box-shadow: 0 18px 40px rgba(0,0,0,.18);
  display:flex;
  align-items:center;
  justify-content:center;
  padding: 14px;
}
.case-client img{
  width:100%;
  height:100%;
  object-fit: contain;
}

.case-title{
  font-family: var(--ff-ui);
  color: var(--c-navy);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .4px;
  line-height: 1.08;
  font-size: clamp(2rem, 3.2vw, 3rem);
  margin: 0 0 16px;
}
.case-text{
  font-family: var(--ff-body);
  line-height: 1.95;
  font-size: 1.05rem;
  color: rgba(7,15,26,.85);
  margin: 0;
  max-width: 62ch;
}

/* -----------------------------------------
   DETAIL SECTION
   ----------------------------------------- */
.case-detail{
  padding: 40px 0 80px;
}

/* ✅ spacing fix: větší mezera mezi textem a boxy */
@media (min-width: 992px){
  .gx-lg-6{ --bs-gutter-x: 4rem; }
}

.case-h2{
  font-family: var(--ff-ui);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .4px;
  color: var(--c-navy);
  font-size: clamp(1.8rem, 2.4vw, 2.4rem);
  margin: 0 0 14px;
}
.case-p{
  font-family: var(--ff-body);
  line-height: 2;
  font-size: 1.06rem;
  color: rgba(7,15,26,.85);
  margin: 0;
  max-width: 90%;
}

/* Sidebar boxes */
.case-sidebar{
  padding-top: 24px;            /* ✅ boxy nejsou nalepené k textu */
  position: sticky;
  top: 24px;
}
.case-card{
  border: 1px solid rgba(7,15,26,.10);
  background: #fff;
  padding: 18px 18px;
  margin-bottom: 18px;          /* ✅ větší vertikální mezery mezi boxy */
}
.case-card-title{
  font-family: var(--ff-ui);
  text-transform: uppercase;
  letter-spacing: .25px;
  font-weight: 600;
  font-size: .9rem;
  color: rgba(7,15,26,.55);
  margin-bottom: 10px;
}
.case-card-value{
  font-family: var(--ff-body);
  color: var(--c-navy);
  font-weight: 400;
  line-height: 1.8;
  font-size: 1.12rem;
}

/* Bullets like presentation */
.case-bullets{
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 16px;
}
.case-bullets li{
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-family: var(--ff-body);
  line-height: 1.9;
  color: var(--c-navy);
  font-size: 1.06rem;
}
.case-bullets-divider{
  height: 1px;
  background: rgba(7,15,26,.10);
  padding: 0 !important;
  margin: 8px 0 4px;
}

.case-check{
  width: 28px;
  height: 28px;
  border-radius: 999px;
  flex: 0 0 28px;
  margin-top: 3px;
  position: relative;
}
.case-check::after{
  content: "✓";
  position: absolute;
  inset: 0;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#fff;
  font-weight: 600;
  font-size: 16px;
  transform: translateY(-1px);
}
.case-check--blue{
  background: linear-gradient(135deg, #5b7cff 0%, #2ec7ff 100%);
}
.case-check--green{
  background: linear-gradient(135deg, #36d06a 0%, #0aa86a 100%);
}

/* -----------------------------------------
   GALLERY
   ----------------------------------------- */
.case-gallery{
  padding: 0 0 90px;
}
.case-gallery-note{
  font-family: var(--ff-body);
  color: rgba(7,15,26,.55);
  font-size: .95rem;
}
.case-photo{
  display:block;
  border: 2px solid rgba(7,15,26,.85);
  overflow:hidden;
  background:#fff;
}
.case-photo img{
  width:100%;
  height: 320px;
  object-fit: cover;
  display:block;
  transition: transform .25s ease;
}
.case-photo:hover img{ transform: scale(1.03); }

/* -----------------------------------------
   CTA
   ----------------------------------------- */
.hv-cta{
  padding: 90px 0;
  background: var(--c-navy);
  color:#fff;
}
.hv-cta-title{
  font-family: var(--ff-ui);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .4px;
  font-size: clamp(1.8rem, 2.6vw, 2.6rem);
  margin: 0 0 10px;
  color: #FFF!important;
}
.hv-cta-subtitle{
  font-family: var(--ff-body);
  font-size: 1.15rem;
  opacity: .9;
  margin: 0 0 26px;
}


/* Responsive */
@media (max-width: 991.98px){
  .case-hero{ padding: 45px 0 30px; }
  .case-detail{ padding: 30px 0 70px; }
  .case-sidebar{ position: static; padding-top: 0; }
  .case-client{
    width: 96px;
    height: 96px;
    right: 14px;
    bottom: 14px;
  }
}
@media (max-width: 575.98px){
  .case-text{ font-size: 1rem; }
  .case-photo img{ height: 220px; }
}