/* =============================================
   LONDON WATER DELIVERY — style.css
   ============================================= */

/* --- Reset & Base --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  font-size: 16px;
}
body {
  font-family: "Outfit", sans-serif;
  color: #1a2030;
  background: #ffffff;
  line-height: 1.6;
  font-weight: 300;
  overflow-x: hidden;
}
img,
svg {
  display: block;
  max-width: 100%;
}
a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

b, strong {
    font-weight: 700;
}

ul {
  list-style: none;
}
address {
  font-style: normal;
}
button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}
input,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
}



/* --- Container --- */
.container {
  max-width: 1220px;
  margin: 0 auto;
  padding: 10px 24px;
  width: 100%;
      position: relative;
}
.promo-bar .container,
.header .container {
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Section defaults --- */
.section {
  padding: 0px 0;
}
.section-light {
  background: #f0f6fc;
}
.section-title {
  font-size: 40px;
  color: #283D4E;
  text-align: center;
  margin-bottom: 36px;
  position: relative;
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 600;
  line-height: 50px;
}




.section-title-white {
  color: #ffffff;
}
.section-title-white::after {
  background: rgba(255, 255, 255, 0.6);
}
.section-subtitle {
  text-align: center;
  color: #5a6a80;
  max-width: 680px;
  margin: 0 auto 48px;
  line-height: 1.5;
    font-size: 16px;
}
.section-cta {
  text-align: center;
  margin-top: 44px;
}
.page-template-clients-reviews .review-card {
  box-shadow: none;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
  padding: 13px 30px;
  border-radius: 0 20px;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  transition: all 0.4s;
}

.btn-blue {
  background: linear-gradient(90deg, #109AD6 0%, #1A559B 100%);
  color: #ffffff;
}

.btn-outline {
  background: #fff;
  color: #1581BE;
  border: 1px solid #1581BE;
  margin-top: 20px;
    transition: all 0s;
}

.btn-outline:hover {
  background: linear-gradient(90deg, #109AD6 0%, #1A559B 100%);
  color: #fff;
  border: 1px solid #1581BE;
}

.btn-blue:after {
  content: url(../images/arrow-right.svg)
}

.btn-blue:hover {
  transform: scale(1.02);
}
.btn-green {
  background: #68BE05;
  color: #ffffff;
}
.btn-green:hover {
  background: #89C545;
  box-shadow: 0 6px 22px rgba(67, 160, 71, 0.45);
}
.btn-outline-white {
  background: transparent;
  color: #ffffff;
  border: 1px solid #fff;
}
.btn-outline-white:hover {
  background: #fff;
  color: #000;
  border:1px solid #fff;

}
.btn-white {
  background: #ffffff;
  color: #1864A8;
  font-weight: 600;
}
.btn-white:hover {
  background: #f0f6fc;
}

/* =============================================
   PROMO BANNER
   ============================================= */
.promo-bar {
  background: linear-gradient(90deg, #109AD6 0%, #1A559B 100%);
  padding: 10px 0;
  font-size: 0.85rem;
  color: #ffffff;
}
.promo-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  position: relative;
  font-weight: 600;
}
.promo-bar-icon {
  font-size: 0.9rem;
  opacity: 0.9;
  flex-shrink: 0;
}
.promo-bar-inner p {
  text-align: center;
  color: #ffffff;
  letter-spacing: 0.5px;
  line-height: 1.4;
}
.promo-bar-close {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.3s ease, color 0.3s ease;
}
.promo-bar-close:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

/* =============================================
   HEADER
   ============================================= */
.header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: #ffffff;
  box-shadow: 0 2px 12px rgba(10, 22, 40, 0.07);
  transition: box-shadow 0.3s ease;
}
.header.is-scrolled {
  box-shadow: 0 6px 28px rgba(10, 22, 40, 0.12);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 0;
}
/* Logo */
.header-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.logo-icon {
  flex-shrink: 0;
}
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.logo-text-main {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #1a2030;
}
.logo-text-sub {
  font-size: 0.65rem;
  font-weight: 400;
  color: #1864A8;
  letter-spacing: 0.06em;
}
/* Nav */
.header-nav ul {
    display: flex;
    align-items: flex-start;
    gap: 17px;
}

.header-nav ul li {  display: flex;
}

.header-nav a {
  padding: 8px 6px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #3A3A3A;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: background 0.3s ease, color 0.3s ease;
}
.header-nav a .fa-chevron-down {
  font-size: 0.58rem;
  opacity: 0.55;
  transition: transform 0.3s ease;
}
.header-nav a:hover,
.header-nav a.active {
  color: #1361AB;
}
/* Dropdown */
.has-dropdown {
  position: relative;
}
.dropdown {
  position: absolute;
  top: calc(100% + 0px);
  left: 0;
  text-align: left;
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 6px 28px rgba(10, 22, 40, 0.12);
  border: 1px solid #e8eef6;
  padding: 20px;
  opacity: 0;
  min-width: 300px;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
  z-index: 200;
  flex-direction: column;
}
.has-dropdown:hover .dropdown {
  opacity: 1;
  visibility: visible;
  padding: 20px;
}

.has-dropdown button i {
  transition: 0.2s;
}

.dropdown li {
  display: block;
  text-align: left;
}
.dropdown a {
    display: block;
    padding: 1px 18px;
    font-size: 17px;
    font-weight: 300;
    text-transform: none;
    letter-spacing: 0.4px;
    color: #1a2030;
    border-radius: 0;
    white-space: nowrap;
    transition: all 0.4s;
}
.dropdown a:hover {
  color: #1864A8;
}

/* Header actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}
.header-search-btn {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  content: url(../images/search.svg);
  justify-content: center;
  color: #5a6a80;
  transition: background 0.3s ease, color 0.3s ease;
}

.header-cart {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  content: url(../images/shopping-cart.svg);
  justify-content: center;
  color: #5a6a80;
  font-size: 0.95rem;
  transition: background 0.3s ease, color 0.3s ease;
}

/* Burger */
.header-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px 6px;
}
/* Nav close button — jen mobil */
.nav-close {
  display: none;
}
.header-burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #1a2030;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.header-burger.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.header-burger.is-open span:nth-child(2) {
  opacity: 0;
}
.header-burger.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* =============================================
   HERO
   ============================================= */
.hero {
  position: relative;
  overflow: hidden;
  background: #0a1628;
}
.hero-slider {
  position: relative;
}
.hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  min-height: 560px;
  opacity: 0;
  transition: opacity 0.7s ease;
  pointer-events: none;
}
.hero-slide.is-active {
  position: relative;
  opacity: 1;
  pointer-events: auto;
}
/* Hero backgrounds — foto */
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-color: #0a2040;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 10, 30, 0.48);
}
/* Centered content */
.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  text-align: center;
  padding: 100px 0 160px;
  color: #ffffff;
}
.hero-content h1 {
  font-size: clamp(2rem, 5vw, 3.6rem);
  font-weight: 600;
  line-height: 1.15;
  margin-bottom: 18px;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.4);
}
.hero-content p {
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 36px;
  max-width: 680px;
  display: block;
margin: 20px auto;
}
.hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}
/* Arrows — minimal SVG style */
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: transparent;
  color: #ffffff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s ease;
  opacity: 0.7;
}
.hero-arrow:hover {
  opacity: 1;
}
.hero-arrow-prev {
  left: 20px;
}
.hero-arrow-next {
  right: 20px;
}
/* Dots as lines / pagination */
.hero-dots {
  position: absolute;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 10;
}
.hero-dot {
  width: 32px;
  height: 3px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 1);
  border: none;
  padding: 0;
  transition: background 0.3s ease, width 0.3s ease;
  cursor: pointer;
}
.hero-dot.is-active {
  background: #1281C3;
  width: 48px;
}
/* Wave inside hero — animated, absolute */
.hero-wave {
  position: absolute;
  top: -140px;
  left: 0;
  right: 0;
  line-height: 0;
  z-index: 5;
  height: clamp(120px, 20vw, 180px);
}
.hero-wave svg {
  width: 100%;
  height: 100%;
  display: block;
  position: relative;
  top: 1px;
}

/* =============================================
   PRODUCTS
   ============================================= */
.products {
  position: relative;
  background: linear-gradient(90deg, #109AD6 0%, #1A559B 100%);
  padding: 0;
  margin-top: -1px;
}
.products .container {
    position: relative;
    z-index: 6;
    padding-top: 0px;
    padding-bottom: 10px;
}
.products .section-title-white {
  margin-bottom: 16px;
}
.section-title-wave {
  display: block;
  text-align: center;
  margin-top: 10px;
  margin-bottom: 40px;
  line-height: 0;
}
.section-title-wave svg {
  width: 80px;
  display: inline-block;
}
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 44px;
}
.product-card {
    background: #ffffff;
    border-radius: 0 40px;
    padding: 40px;
    text-align: center;
    transition: all 0.3s;
}
.product-card:hover {
  transform: scale(1.02);
  transition: all 0.3s;
  display: block;
  box-shadow: 0 12px 40px rgba(10, 22, 40, 0.2);
}
.product-card-img {
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.product-card-img img {
  max-height: 200px;
  width: auto;
  object-fit: contain;
}
.product-card h3 {
  font-size: 22px;
  font-weight: 500;
  color: #1864A8;
  margin: 0 auto 10px;
  line-height: 1.3;
}
.product-card-desc {
  font-size: 14px;
  color: #6b7688;
  line-height: 1.5;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-card-price {
  font-size: 16px;
  color: #3B3B3B;
  font-weight: 500;
}
.product-card .btn-outline {
  margin-top: 16px;
}
.products-wave {
  line-height: 0;
  background: #ffffff;
}
.products-wave svg {
  width: 100%;
  height: clamp(80px, 12vw, 180px);
  display: block;
}

/* =============================================
   WHY CHOOSE US
   ============================================= */
.why-us {
   background: #ffffff;
   padding: 20px 0;
}

.why-us-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px 32px;
  margin-bottom: 48px;
}
.why-us-item {
  text-align: center;
}
.why-us-icon {
  width: auto;
  height: 100px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.why-us-icon img {
border-radius: 100px;
box-shadow: 0px 4px 84px rgba(25, 90, 159, 0.16);

}


.why-us-item h4 {
  margin-bottom: 8px;
  color: #1a2030;
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 500;
  font-size: 20px;
  line-height: 25px;
  text-align: center;
  max-width: 210px;
  margin: auto;
}

.why-us-item p {
  font-size: 0.875rem;
  color: #5a6a80;
  line-height: 1.6;
}
/* Blue gradient button */
.btn-blue-grad {
  background: linear-gradient(90deg, #1565c0 0%, #1864A8 100%);
  color: #ffffff;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 36px;
  border-radius: 8px;
  font-size: 0.875rem;
  letter-spacing: 0.06em;
  box-shadow: 0 4px 20px rgba(25, 118, 210, 0.3);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.btn-blue-grad:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(25, 118, 210, 0.45);
}

/* =============================================
   REUSABLE SECTION WAVE SYSTEM
   -----------------------------------------------
   Zkopíruj blok do sekce a změň jen fill="#..." na path:

   WAVE TOP (první child sekce — vlna klene se NAHORU od předchozí sekce):
   <div class="section-wave-top">
     <svg width="100%" height="100%" viewBox="0 0 1440 200"
          xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="none">
       <path class="section-wave-path-top" fill="#ffffff"
             d="M 0,0 L 0,80 C 360,100 720,120 1080,100 C 1260,90 1360,80 1440,75 L 1440,0 Z"/>
     </svg>
   </div>

   WAVE BOTTOM (poslední child sekce — vlna klene se DOLŮ do další sekce):
   <div class="section-wave-bottom">
     <svg width="100%" height="100%" viewBox="0 0 1440 200"
          xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="none">
       <path class="section-wave-path-bottom" fill="#ffffff"
             d="M 0,200 L 0,120 C 360,100 720,80 1080,100 C 1260,110 1360,120 1440,125 L 1440,200 Z"/>
     </svg>
   </div>

   fill = barva sousední sekce (nad/pod):
     #ffffff   — bílá sekce
     #f5f8fd   — světlá modrošedá
     #f0f6fc   — světlá sekce
     #0a1628   — tmavá (hero, footer)
   ============================================= */
.section-wave-top,
.section-wave-bottom {
  line-height: 0;
  font-size: 0;
  position: relative;
  z-index: 2;
}
.section-wave-bottom {
    line-height: 0;
    font-size: 0;
    position: relative;
    z-index: 6;
    top: 1px;
    margin-top: 0px;
    transform: scaleY(-1);
}


.center {margin: auto;text-align: center;}

.clients .section-title {
    font-size: 40px;
    color: #283D4E;
    text-align: center;
    margin-bottom: 16px;
}

.section-wave-top{
    position: relative;
    top: -1px;
}

.section-wave-top svg,
.section-wave-bottom svg {
  width: 100%;
  height: clamp(48px, 8vw, 160px);
  display: block;
  overflow: visible;
}
/* Sekce s wave-bottom překrývá gap o 2px */
.section-wave-bottom {
  margin-bottom: -2px;
}
/* Hero-wave (products sekce) */
.hero-wave {
  position: absolute;
  top: -140px;
  left: 0;
  right: 0;
  line-height: 0;
  z-index: 5;
  height: clamp(60px, 12vw, 180px);
}
@media (max-width: 560px) {
  .section-wave-top svg,
  .section-wave-bottom svg {
    height: clamp(60px, 14vw, 150px);
  }

  .why-us-item h4 {
    font-size: 16px;
  }
  .promo-bar-inner i {
    display: none;
}

  .hero-wave {
    height: clamp(60px, 14vw, 150px);
    top: clamp(-100px, -14vw, -60px);
  }
  .products-wave svg {
    height: clamp(60px, 14vw, 150px) !important;
  }
}
/* Wave animace */
@keyframes subtleWaveTop {
    0%   { d: path("M 0,0 L 0,80 C 360,100 720,120 1080,100 C 1260,90 1360,80 1440,75 L 1440,0 Z"); }
    50%  { d: path("M 0,0 L 0,120 C 360,150 720,110 1080,90 C 1260,80 1360,70 1440,85 L 1440,0 Z"); }
    100% { d: path("M 0,0 L 0,80 C 360,100 720,120 1080,100 C 1260,90 1360,80 1440,75 L 1440,0 Z"); }
}
.section-wave-path-top,
.section-wave-path-bottom {
    animation: subtleWaveTop 6s ease-in-out infinite;
}


/* Univerzální modrá sekce — stejný gradient jako products */
.section-blue {
  background: linear-gradient(90deg, #109AD6 0%, #1A559B 100%);
}

/* =============================================
   QUOTE FORM
   ============================================= */
.quote {
  position: relative;
  padding: 0;
}
.quote .container {
  position: relative;
  z-index: 1;
  padding-top: 40px;
  padding-bottom: 56px;
}
.quote-form {
  background: transparent;
  border: none;
  padding: 0;
  max-width: 860px;
  margin: 0 auto;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 40px;
  margin-bottom: 20px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.form-group-full {
  margin-bottom: 20px;
}
.form-group label {
  font-size: 0.875rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 0.01em;
  margin-bottom: 4px;
}
.form-group input,
.form-group textarea {
  padding: 10px 0;
  border-radius: 0;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 1);
  background: transparent;
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 300;
  transition: border-color 0.3s ease;
  outline: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.45);
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: rgba(255, 255, 255, 1);
}
.form-group textarea {
  border: 1px solid rgba(255, 255, 255, 1);
  border-radius: 8px;
  padding: 14px 16px;
  resize: vertical;
}
.form-group textarea:focus {
  border-color: rgba(255, 255, 255, 1);
}
textarea {
  resize: vertical;
}
/* Checkboxes */
.form-section {
  margin-bottom: 24px;
  margin-top: 8px;
}
.form-section-label {
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 18px;
  letter-spacing: 0.01em;
}
.form-checks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 40px;
}
.check-item-full {
  grid-column: 1 / -1;
}
.check-item {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.9);
  user-select: none;
}
.check-item input[type="checkbox"] {
  display: none;
}
.check-box {
  width: 22px;
  height: 22px;
  border: 2px solid rgba(255, 255, 255, 0.6);
  border-radius: 5px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease, border-color 0.3s ease;
  position: relative;
  background: rgba(255, 255, 255, 1);
}
.check-box::after {
  content: "";
  width: 11px;
  height: 7px;
  border-left: 2px solid white;
  border-bottom: 2px solid white;
  transform: rotate(-45deg) translateY(-1px);
  opacity: 0;
  transition: opacity 0.15s;
}
.check-item input:checked + .check-box {
  background: #68BE05;
  border-color: #68BE05;
}
.check-item input:checked + .check-box::after {
  opacity: 1;
}
.form-terms {
  margin-bottom: 28px;
  display: flex;
  justify-content: center;
}
.form-terms .check-item {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
}
.form-terms a {
  color: rgba(255, 255, 255, 0.95);
  text-decoration: underline;
}

/* =============================================
   SLICK SLIDER — společné styly
   ============================================= */

/* Prostor pro šipky uvnitř containeru */
.sectors-track,
.reviews-track {
  position: relative;
}

/* Vlastní šipky */
.slick-prev-custom,
.slick-next-custom {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  margin-top: -18px; /* posun výš kvůli dots */
  width: 44px;
  height: 44px;
  display: flex !important;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  cursor: pointer;
  z-index: 10;
  transition: all 0.25s ease;
  border: none;
}
.slick-prev-custom { left: -56px; }
.slick-next-custom { right: -56px; }

/* Dots */
.slick-dots {
  bottom: -36px;
}
.slick-dots li button:before {
  display: none;
}
.slick-dots li button {
  width: 28px;
  height: 4px;
  border-radius: 2px;
  background: rgba(255,255,255,0.35);
  opacity: 1;
  padding: 0;
  transition: width 0.3s ease, background 0.3s ease;
}
.slick-dots li.slick-active button {
  width: 40px;
  background: #ffffff;
}
.slick-dots li {
  width: auto;
  height: auto;
  margin: 0 4px;
}

/* Gap mezi kartami */
.sectors-track .slick-slide {
  padding: 0 12px;
}
.reviews-track .slick-slide {
  padding: 40px;
}
.sectors-track .slick-list,
.reviews-track .slick-list {
  margin: 0 -12px;
  overflow: hidden;
}

.fa-chevron-left:before {
  content: url(../images/arrow-b-left.svg)
}

.fa-chevron-right:before {
  content: url(../images/arrow-b-right.svg)
}

.sectors-track .slick-track {
    padding: 20px 0;
}

.review-card {
  margin: 0 10px;
}

section#sectors .section-title {
  margin: 0 0 10px;
}


/* Sectors šipky */
#sectorsTrack .slick-prev-custom,
#sectorsTrack .slick-next-custom {
  color: #1369B1;
}

#sectorsTrack .slick-dots li button {
  background: #d0dce8;
}
#sectorsTrack .slick-dots li.slick-active button {
  background: #1281C3;
  width: 40px;
}

/* Reviews šipky */
#reviewsTrack .slick-prev-custom,
#reviewsTrack .slick-next-custom {

}
#reviewsTrack .slick-prev-custom:hover,
#reviewsTrack .slick-next-custom:hover {

}

/* Padding dole pro dots */
.sectors-track,
.reviews-track {
  padding-bottom: 52px;
}


@media (max-width: 860px) {
  .slick-prev-custom { left: -40px; }
  .slick-next-custom { right: -40px; }
}

@media (max-width: 560px) {
  .slick-prev-custom,
  .slick-next-custom { display: none !important; }
}

/* =============================================
   BUSINESS SECTORS
   ============================================= */
.sectors {
  padding-bottom: 20px;
  margin-top: -2px;
}
.sectors .container {
  padding-bottom: 0;
  overflow: visible;
}

/* Slick wrapper — ořízne přetékající slidy */
#sectorsTrack {
  width: 100%;
}

#sectorsTrack .slick-list {
  overflow: hidden;
}
.sectors-intro {
    text-align: center;
    color: #313131;
    margin: 0 0 0px;
    line-height: 1.4;
    font-size: 18px;
}
/* Arrows style for sectors */
#sectorsSlider .slider-arrow {
  background: #ffffff;
  color: #1864A8;
  box-shadow: 0 4px 16px rgba(10, 22, 40, 0.14);
}
#sectorsSlider .slider-arrow:hover {
  background: #1864A8;
  color: #ffffff;
}
#sectorsSlider .slider-dots button {
  background: #d0dce8;
}
#sectorsSlider .slider-dots button.is-active {
  background: #1864A8;
  width: 40px;
}
.sectors-track {
  /* display:flex a gap odstraněny — Slick si spravuje layout sám */
}

/* Desktop (≥861px): Slick carousel is no longer initialised there (see main.js),
   so the track falls back to a plain CSS grid showing every sector at once. */
#sectorsTrack:not(.slick-initialized) {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding-bottom: 0;
}
#sectorsTrack:not(.slick-initialized) .sector-card-img {
  height: 320px;
}
@media (max-width: 1100px) {
  #sectorsTrack:not(.slick-initialized) {
    grid-template-columns: repeat(3, 1fr);
  }
}
.sector-card {
  cursor: pointer;
  border-radius: 18px;
}
.sector-card-img {
  height: 440px;
  position: relative;
  background-size: cover;
  background-position: center;
  background-color: #1a3a5c;
  border-radius:  0 30px;
  overflow: hidden;
  transition: transform 0.4s ease;
}

.sector-card:hover .sector-card-img {
  transform: scale(1.02);
}
.sector-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.72) 0%,
    rgba(0, 0, 0, 0.18) 50%,
    transparent 100%
  );
  transition: background 0.3s ease;
}
.sector-card:hover .sector-card-overlay {
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.82) 0%,
    rgba(0, 0, 0, 0.28) 55%,
    transparent 100%
  );
}
.sector-card h3 {
  position: absolute;
  bottom: 10px;
  left: 0;
  right: 0;
  text-align: center;
  z-index: 3;
  padding: 24px 24px 28px;
  color: #ffffff;
  font-size: 32px;
  font-weight: 600;
  line-height: 1.25;
}
/* =============================================
   LOCATIONS
   ============================================= */
   .locations {
       background: #ffffff;
       padding: 0px 0 40px;
   }
.locations-card {
  background: linear-gradient(135deg, #109AD6 0%, #1A559B 100%);
  border-radius: 0 48px 0 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  overflow: hidden;
  min-height: 400px;
  position: relative;
}

.slick-dots {
    position: absolute;
    bottom: -25px;
    display: block;
    width: 100%;
    bottom: 0px !important;
    padding: 0;
    margin: 0;
    list-style: none;
    text-align: center;
}

.locations-content {
  padding: 60px 60px 60px 72px;
  color: #ffffff;
}
.locations-title {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 14px;
  line-height: 1.15;
}
.locations-desc {
    color: rgba(255, 255, 255, 0.88);
    font-size: 1rem;
    margin-bottom: 19px;
    line-height: 1.6;
}
.locations-search {
    display: flex;
    align-items: center;
    background: #ffffff;
    border-radius: 0 20px;
    overflow: hidden;
    max-width: 480px;
    padding: 10px 16px 10px 20px;
    gap: 8px;
}
.locations-search input {
  flex: 1;
  border: none;
  background: transparent;
  color: #1a2030;
  font-size: 0.95rem;
  outline: none;
  padding: 10px 0;
  font-family: inherit;
}
.locations-search input::placeholder {
  color: #a0aab8;
}
.locations-search button {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  flex-shrink: 0;
  transition: opacity 0.2s;
}
.locations-search button:hover {
  opacity: 0.7;
}
.locations-result {
  margin-top: 14px;
  padding: 10px 16px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  font-size: 0.875rem;
  max-width: 480px;
}
.locations-result a {
    color: #ffffff;
    text-decoration: none;
    border: 1px solid;
    padding: 3px 10px;
    border-radius: 40px;
    display: table;
    margin-top: 10px;
}

span.locations-result__icon {
    display: none;
}

.locations-map {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 40px 0 0;
  align-self: center;
}
.locations-map img {
  width: 100%;
  max-width: 420px;
  height: auto;
  display: block;

}
/* =============================================
   NEWS
   ============================================= */
.news {
  background: #ffffff;
}
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.news-card {
  border-radius: 0;
  overflow: visible;
  background: transparent;
  border: none;
  transition: none;
}
.news-card-img {
  display: block;
  height: 260px;
  overflow: hidden;
  border-radius: 0 20px;
  margin-bottom: 20px;
  background: #d0dce8;
}
.news-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.news-card:hover .news-card-img img {
  transform: scale(1.04);
}
.news-card-body {
  padding: 0;
}
.news-card h3 {
  font-size: 22px;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 12px;
  color: #1a2030;
}
.news-card h3 a {
  color: #1a2030;
  transition: color 0.2s;
}
.news-card h3 a:hover {
  color: #1864A8;
}
.news-card p {
    font-size: 16px;
    color: #5a6a80;
    line-height: 1.65;
    margin-bottom: 16px;
    font-weight: 200;
}
.news-card-link {
    font-size: 17px;
    font-weight: 400;
    color: #1864A8;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.2s;
    align-content: center;
}
.news-card-link .fas {
    font-size: 12px;
    position: relative;
    top: 1px;
}
.news-card-link:hover {
  gap: 10px;
}

/* =============================================
   REVIEWS
   ============================================= */
.reviews {
  padding: 0;
  position: relative;
}
.reviews-container {
  padding-top: 18px;
  padding-bottom: 24px;
}
.reviews .container {
  overflow: visible;
}
.reviews .section-title { margin-bottom: 16px; }
.reviews .section-subtitle { margin-bottom: 8px; }
.section-subtitle-white { color: rgba(255, 255, 255, 0.85); }

/* Arrows style for reviews */
#reviewsSlider .slider-arrow {
  background: rgba(255,255,255,0.2);
  color: #ffffff;
  border: 2px solid rgba(255,255,255,0.45);
}
#reviewsSlider .slider-arrow:hover {
  background: rgba(255,255,255,0.4);
  border-color: #ffffff;
}
#reviewsSlider .slider-dots button {
  background: rgba(255,255,255,0.35);
}
#reviewsSlider .slider-dots button.is-active {
  background: #ffffff;
  width: 40px;
}
.reviews-track {
  display: flex;
  gap: 24px;
  transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}
.review-card {
  flex-shrink: 0;
  flex-grow: 0;
  padding: 40px 40px 32px;
  background: #ffffff;
  border-radius: 0 20px;
  box-shadow: 0 4px 20px rgba(10, 22, 40, 0.1);
  display: flex!important;
  flex-direction: column;
  gap: 18px;
  min-height: 280px;
}


.review-card > p {
  font-size: 16px;
  line-height: 1.6;
  color: #1a2030;
  flex: 1;
}
.review-card-footer {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.review-card-footer strong {
  font-size: 0.875rem;
  color: #1a2030;
  font-weight: 700;
}
.review-card-stars {
  color: #f5a623;
  font-size: 1.1rem;
  display: flex;
  gap: 3px;
}

#reviews .fa-chevron-left:before {
    content: url(../images/arrow-w-left.svg);
}

#reviews .fa-chevron-right:before {
    content: url(../images/arrow-w-right.svg);
}

a.news-card-link .fa-chevron-right:before {
    content: url(../images/arrow-small-right.svg);
}

.review-card-footer {
    margin-top: 10px;
}


/* =============================================
   CLIENTS — auto marquee
   ============================================= */
.clients {
  background: #ffffff;
  overflow: hidden;
  margin-top: -2px;
}
.clients-marquee-wrap {
  position: relative;
  padding: 60px 0;
  margin: 0;
  /* fade edges */
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
          mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}
.clients-marquee {
  display: flex;
    gap: 30px;
  width: max-content;
  animation: clientsScroll 48s linear infinite;
}
.clients-marquee:hover {
  animation-play-state: paused;
}
@keyframes clientsScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.client-logo-item {
  width: 200px;
  height: 100px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 24px;
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.1);
}
.client-logo-item img {
  max-width: 200px;
  max-height: 150px;
  width: auto;
  height: auto;
  object-fit: contain;
  opacity: 1;
  transition: filter 0.3s ease, opacity 0.3s ease;
}
.client-logo-item:hover img {
  filter: grayscale(0);
  opacity: 1;
}

.clients .section-cta {
    text-align: center;
    margin-top: 0px;
}

.clients .section-subtitle {
    text-align: center;
    color: #5a6a80;
    max-width: 680px;
    margin: 0 auto -2px;
    line-height: 1.5;
    font-size: 16px;
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
  background: #222222;
  color: rgba(255, 255, 255, 0.65);
  padding-top: 60px;
}
/* Top row: logo + tagline */
.footer-top-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 48px;
  align-items: center;
  padding-bottom: 48px;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}
.footer-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.footer-logo-main {
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #ffffff;
}
.footer-logo-sub {
  font-size: 0.6rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
}
.footer-tagline {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.7;
  max-width: 820px;
}
.footer-divider {
  height: 1px;
  background: rgba(255,255,255,0.1);
}
/* Nav row */
.footer-nav-row {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.4fr 1fr;
  gap: 40px 48px;
  padding: 48px 0 48px;
}
.footer-col h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 20px;
  letter-spacing: 0;
}
.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 6px;
  list-style: none;
}
.footer-col a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.2s ease;
}
.footer-col a:hover {
  color: #ffffff;
}
.footer-link-underline {
  text-decoration: underline;
}
/* Social block inside Get in touch col */
.footer-social-block {
  margin-top: 32px;
}
.footer-social-label {
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 14px;
}
.footer-social {
  display: flex;
  gap: 14px;
}
.footer-social a {
  font-size: 1.2rem;
  color: rgba(255,255,255,0.7);
  transition: color 0.2s;
}
.footer-social a:hover {
  color: #109AD6;
}
/* Bottom bar */
.footer-bottom {
  padding: 20px 0;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
}
.footer-bottom a {
  color: rgba(255,255,255,0.4);
  transition: color 0.2s;
}
.footer-bottom a:hover {
  color: rgba(255,255,255,0.8);
}

/* =============================================
   SCROLL REVEAL
   ============================================= */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
.reveal-delay1 {
  transition-delay: 0.1s;
}
.reveal-delay2 {
  transition-delay: 0.2s;
}
.reveal-delay3 {
  transition-delay: 0.3s;
}

/* =============================================
   RESPONSIVE
   ============================================= */

/* Tablet landscape */
@media (max-width: 1100px) {
  .footer-top {
    grid-template-columns: 1fr 1fr 1fr;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
}

/* Tablet portrait */
@media (max-width: 860px) {
  .section {
    padding: 0px 0;
  }
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .why-us-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .sectors-track .slick-dots {
    bottom: 20px !important;
}


  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .news-grid .news-card:last-child {
    display: none;
  }
  .reviews-track .review-card {
    flex: 0 0 calc(100% / 2);
  }
  .locations-card {
    grid-template-columns: 1fr;
    border-radius: 0 32px 0 32px;
  }
  .locations-content {
    padding: 48px 40px 32px;
  }
  .locations-map {
    padding: 0 40px 40px;
    align-self: center;
  }
  .sector-card {
    flex: 0 0 50%;
  }
  .header-nav {
    display: none;
  }
  .header-burger {
    display: flex;
  }
  /* Mobile nav — fullscreen overlay */
  .header-nav.is-open {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #ffffff;
    z-index: 800;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: 80px 0 40px;
    overflow-y: auto;
  }
  .header-nav.is-open > ul {
    flex-direction: column;
    gap: 0;
    width: 100%;
    align-items: stretch;
  }
  /* Každý li má flex row: odkaz | toggle-btn */
  .header-nav.is-open > ul > li {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    border-bottom: 1px solid #f0f0f0;
  }
  .header-nav.is-open > ul > li > a {
    flex: 1;
    font-size: 1.1rem;
    padding: 16px 24px;
    text-transform: uppercase;
    font-weight: 600;
    color: #1a2030;
    letter-spacing: 0.05em;
  }
  .header-nav.is-open > ul > li > a:hover {
    color: #1864A8;
  }
  /* Toggle šipka — vpravo */
  .nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: none;
    border: none;
    color: #1a2030;
    font-size: 0.9rem;
    cursor: pointer;
    transition: transform 0.3s ease, color 0.3s ease;
    flex-shrink: 0;
  }

  /* Submenu — pod celou šířkou řádku */
  .header-nav.is-open .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    border-radius: 0;
    background: #f7f9fc;
    padding: 8px 0;
    min-width: 0;
    width: 100%;
    flex-basis: 100%;
    display: none;
  }
  .header-nav.is-open .dropdown.is-open {
    display: block;
  }
  .header-nav.is-open .dropdown li a {
    padding: 13px 40px;
    font-size: 18px;
    font-weight: 400;
    color: #5a6a80;
    text-transform: none;
    letter-spacing: 0;
    white-space: normal;
  }
  .header-nav.is-open .dropdown li a:hover {
    color: #1864A8;
  }
  /* Nav close button */
  .nav-close {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 20px;
    right: 8px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #fff;
    color: #1a2030;
    font-size: 1.1rem;
    cursor: pointer;
    z-index: 10;
    transition: background 0.2s, color 0.2s;
  }
  .nav-close:hover {
    background: #1864A8;
    color: #fff;
    border-color: #1864A8;
  }
  /* Nav toggle — jen mobil */
  .nav-toggle {
    display: flex;
  }
  .quote-form {
    padding: 28px 24px;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .form-checks {
    grid-template-columns: 1fr;
  }
  /* Footer tablet */
  .footer-top-row {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-bottom: 32px;
  }
  .footer-nav-row {
    grid-template-columns: 1fr 1fr;
    gap: 32px 24px;
  }
}

section#clients {
    padding-bottom: 70px;
}
/* Mobile */
@media (max-width: 560px) {
  .section {
    padding: 0px 0;
  }
  .products-grid.slick-initialized {
      display: block;
      max-width: 100%;
      margin-inline: 0;
      min-height: 430px;
  }


  .section-title {
      font-size: 32px;
      margin-bottom: 20px;
    }
.news-grid.slick-initialized {
    display: block;
    max-width: 100%;
    margin-inline: 0;
    min-height: 520px;
}
.products-grid.slick-initialized .product-card, .news-grid.slick-initialized .news-card {
    margin: 0 20px;
}
  /* Hero šipky — skryj na mobilu, swipe funguje */
  .hero-arrow {
    display: none;
  }
  /* Dots pro products/news na bílém pozadí */
  .products-grid .slick-dots li button,
  .news-grid .slick-dots li button {
    background: #d0dce8;
  }


  .news-grid .slick-dots li.slick-active button {
    background: #1281C3;
    width: 40px;
  }

  .products-grid .slick-dots li.slick-active button {
    background: #ffffff;
    width: 40px;
}

  .products-grid {
    grid-template-columns: 1fr;
    max-width: 320px;
    margin-inline: auto;
  }
  .why-us-grid {
    grid-template-columns: 1fr 1fr;
    max-width: 360px;
    margin-inline: auto;
  }
  .news-grid {
    grid-template-columns: 1fr;
  }
  .news-grid .news-card:last-child {
    display: block;
  }
  .hero-content h1 {
      font-size: 38px;
  }
  .hero-content p {
    font-size: clamp(20px, 2vw, 1.1rem);
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 36px;
}
  .hero-btns {
    flex-direction: column;
    align-items: flex-start;
  }
  .hero-btns .btn {
      width: auto;
      margin: auto;
      justify-content: center;
  }
  /* Footer mobile — 1 sloupec */
  .footer-top-row {
    grid-template-columns: 1fr;
    gap: 20px;
    padding-bottom: 28px;
  }
  .footer-tagline {
    font-size: 0.82rem;
  }
  .footer-nav-row {
    grid-template-columns: 1fr 1fr;
    gap: 28px 16px;
    padding: 28px 0;
  }
  .footer-col h4 {
    font-size: 0.9rem;
    margin-bottom: 14px;
  }
  .footer-bottom {
    font-size: 0.72rem;
    padding: 16px 0;
  }
  /* Locations mobile */
  .locations-card {
    border-radius: 0 20px 0 20px;
  }

  .locations-content {
    padding: 32px 20px 20px;
    text-align: center;
}

  .locations-map {
    padding: 20px 50px 38px;
  }


}

/* WooCommerce Cart block — "Proceed to Checkout" button */
a.wc-block-components-button.wp-element-button.wc-block-cart__submit-button.contained {
    border-radius: 20px 0;
    font-size: 17px;
    background: #1966a9;
}

/* WooCommerce Cart block — product price */
span.wc-block-formatted-money-amount.wc-block-components-formatted-money-amount.wc-block-components-product-price__value {
    font-size: 18px;
}
