/* =====================================================
   ELEKTRONOZEC – BRAND TEMPLATE (Screenshot-matched)
   Colors: #FFFFFF, #47B0F2, #0D0E12
===================================================== */

/* =====================================================
   BASE
===================================================== */

.ezb-brand {
  background: #FFFFFF;
}

/* Container */
.ezb-container {
  width: 1630px;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 40px;
}

/* =====================================================
   SECTION 1: HERO IMAGE
===================================================== */

.ezb-hero {
  position: relative;
  height: 712px;
  background-color: #0D0E12;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  overflow: hidden;
  margin: 84px 0 0 0;
}

.ezb-hero__inner {
  position: relative;
  z-index: 2;
  height: 100%;
}

/* =====================================================
   SECTION BASE
===================================================== */

.ezb-section {
  padding: 90px 0;
}

/* =====================================================
   SECTION 2: CONTENT
===================================================== */

.ezb-section--content {
  background: #FFFFFF;
  padding: 80px 0;
}

.ezb-title {
  max-width: 850px;
  font-size: 48px;
  line-height: 110%;
  font-weight: 700;
  color: #0D0E12;
  margin: 0 0 40px 0;
}

.ezb-text {
  max-width: 850px;
}

.ezb-text p {
  font-size: 16px;
  font-weight: 400;
  line-height: 140%;
  color: #0D0E12;
  margin: 0 0 40px 0;
}

.ezb-content__cta a.primary-button {
  display: inline-block;
}

/* Content images row (1–3) */
.ezb-content__image-row {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  margin-top: 80px;
}

.ezb-content__images {
  width: 100%;
  display: flex;
  gap: 14px;
  justify-content: center;
  align-items: center;
}

.ezb-content__imgwrap {
  flex: 1 1 0;
  margin: 0;
}

.ezb-content__image {
  max-width: 100%;
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* =====================================================
   RESPONSIVE (Content + Hero)
===================================================== */

@media (max-width: 1440px) {
  .ezb-hero {
    height: 538px;
  }
}

@media (max-width: 1200px) {
  .ezb-content__image-row {
    margin-top: 40px;
  }
}

@media (max-width: 768px) {
  .ezb-section--content {
    padding: 40px 0;
  }

  .ezb-content__images {
    flex-direction: column;
    max-width: 520px;
  }

  .ezb-content__images--2 .ezb-content__imgwrap,
  .ezb-content__images--3 .ezb-content__imgwrap {
    max-width: 100%;
  }
}

/* =====================================================
   SECTION THREE (Upitnik CTA)
===================================================== */

#section-three {
  background-color: #ECEFF2;
  padding: 80px 0;
}

#section-three h2 {
  text-align: center;
  font-size: 68px;
  font-weight: 700;
  line-height: 110%;
  color: #0D0E12;
  margin: 0 auto 40px;
}

#section-three p.subtitle {
  max-width: 720px;
  width: 100%;
  text-align: center;
  font-size: 21px;
  font-weight: 400;
  color: #0D0E12;
  margin: 0 auto 60px;
}

#section-three .box-content {
  background-color: #0D0E12;
  border: 1px solid #0D0E12;
  border-radius: 10px;
  padding: 28px 20px;
  height: 100%;
  transition: 0.15s linear all;
}

#section-three .box-content:hover {
  border-color: #47B0F2;
}

#section-three .box-title {
  display: flex;
  align-items: center;
  gap: 0 16px;
  margin: 0 0 20px 0;
}

#section-three .step-badge {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background-color: #47B0F2;
  color: #0D0E12;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin: 0;
}

#section-three .box-content h3 {
  color: #ECEFF2;
  margin: 0;
}

#section-three .box-content p {
  color: #ECEFF2;
  margin: 0;
}

#section-three .cta-row {
  text-align: center;
  margin-top: 40px;
}

#section-three .cta-row a.primary-button {
  display: inline-block;
}

#section-three .cta-row a.primary-button:hover {
  color: #0D0E12;
}

#section-three .cta-note {
  font-size: 14px;
  color: #94969D;
  margin: 14px 0 0 0;
}

/* Mobile tweak */
@media only screen and (max-width: 768px) {
  #section-three {
    padding: 40px 0;
  }

  #section-three .box-content {
    height: auto;
    margin: 0 0 20px 0;
  }

  #section-three .cta-row {
    margin-top: 20px;
  }
}

/* =====================================================
   SECTION FOUR
===================================================== */

#section-four {
  height: 400px;
  display: flex;
  align-items: center;
  background: url(/wp-content/uploads/2024/12/hp-section-four-bg-image.jpg) center center no-repeat;
  background-size: cover;
  padding: 80px 0;
}

#section-four h3 {
  font-size: 32px;
  line-height: 100%;
  color: #ECEFF2;
  margin: 0 0 30px 0;
}

#section-four p.subtitle {
  font-size: 21px;
  font-weight: 400;
  line-height: 140%;
  color: #ECEFF2;
  margin: 0 0 30px 0;
}

#section-four a.primary-button {
  display: inline-block;
}

/* =====================================================
   RESPONSIVE (Global)
===================================================== */

@media (max-width: 1200px) {
  #section-three h2 {
    font-size: 42px;
    margin: 0 0 40px 0;
  }
}

@media (max-width: 768px) {
  .ezb-container {
    padding: 0 18px;
  }

  .ezb-hero {
    height: auto;
  }

  .ezb-title {
    font-size: 30px;
  }

  #section-four {
    text-align: center;
    background: #0D0E12;
    height: unset;
    padding: 40px 0;
  }

  #section-four h3 {
    font-size: 30px;
  }

  #section-four p.subtitle {
    font-size: 16px;
  }
}


/* ===================================================
   Brand Template add-on:
   - mobile hero image + brand logo overlay
   (does not change existing design)
=================================================== */

/* Needed so logo can position inside hero */
.ezb-hero {
  position: relative;
}

.ezb-hero__img {
  display: block;
  width: 100%;
  height: auto;
}

/* Mobile hero image hidden by default (desktop uses background-image as before) */
.ezb-hero__mobile-img {
  display: none;
  width: 100%;
  height: auto;
}

/* Brand logo overlay (mobile only) */
.ezb-hero__brand-logo {
  display: none;
}

.ezb-content-wrapper {
  display: flex;
  justify-content: space-between;
  gap: 0 40px;
}
.ezb-content-right {
  min-width: 500px;
  background-color: #47B0F2;
  padding: 22px 28px;
}
.ezb-content-right h3 {
  font-size: 20px;
  color: #ECEFF2;
  margin: 0 0 20px 0;
}
.ezb-content-right ul {
  padding: 0 0 0 20px;
  margin: 0;
}
.ezb-content-right ul li {
  font-size: 16px;
  color: #ECEFF2;
  margin: 0 0 16px 0;
}
.ezb-content-right ul li:last-of-type {
  margin: 0;
}

@media only screen and (max-width: 768px) {
  /* Disable desktop background-image on mobile so it doesn't conflict */
  .ezb-hero {

  }
  .ezb-hero__img {
  
  }
  .ezb-hero__logo {
    position: absolute;
    top: 0;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
  }

  /* Show the mobile hero <img> */
  .ezb-hero__mobile-img {
    display: block;
  }

  /* Put brand logo on top of mobile hero */
  .ezb-hero__brand-logo {
    display: block;
    position: absolute;
    left: 50%;
    top: 24px;            /* tweak if needed */
    transform: translateX(-50%);
    z-index: 2;
    width: 220px;         /* tweak if needed */
    max-width: 70%;
    text-align: center;
    pointer-events: none;
  }

  .ezb-hero__brand-logo img {
    width: 100%;
    height: auto;
    display: block;
  }

  .ezb-text p {
    margin: 0 0 20px 0;
  }
  .ezb-content-wrapper {
    display: block;
  }
  .ezb-content-right {
    margin: 20px 0 0 0;
    min-width: unset;
  }
}

@media only screen and (max-width: 576px) {
  .ezb-content__image-row {
    display: none;
  }
}