/* Start advantages */
.leronzo-advantages .advantages-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  max-width: 64.875rem;
  margin: auto;
  padding: 1.25rem 0 4.375rem 0;
}
@media (max-width: 576px) {
  .leronzo-advantages .advantages-grid {
    gap: 0.9375rem;
    padding: 1.25rem 0 2.8125rem 0;
  }
}
@media (max-width: 365.9px) {
  .leronzo-advantages .advantages-grid {
    flex-direction: column;
  }
}
.advantage-box {
  flex: 1 1 25%;
  padding: 2.1875rem;
  text-align: center;
  border-radius: 8px;
  box-shadow: 0 1px 5px rgba(0,0,0,0.1);
  transition:transform .15s ease, background .15s ease;
}
@media (max-width: 768px) {
  .advantage-box {
  padding: 25px;
  }
}
@media (max-width: 576px) {
  .advantage-box {
  padding: 15px;
  }
}
section.title-advantage-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;

    font-family: 'Adobe Devanagari';
    font-weight: 700;;
    font-size: 24px;
    line-height: 1;
    letter-spacing: 0;
    text-align: left;
}
@media (max-width: 576px) {
  section.title-advantage-item img {
    height: 2.8125rem;
  }
}
.advantage-box p {
  font-family: 'Inter';
  font-weight: 400;
  font-size: 16px;
  line-height: 150%;
  text-align: center;
  padding: 25px 0;
  margin: auto;
  max-width: 260px;
}
@media (max-width: 992px) {
  section.title-advantage-item {
    flex-direction: column;
    text-align: center;
  }
  section.title-advantage-item span {
    max-width: 160px;
  }
}

@media (max-width: 576px) {
  section.title-advantage-item {
    font-size: 0.875rem;
  }
  .advantage-box p {
    font-size: 0.75rem;
    padding: 0.9375rem 0 0 0;
  }
}
/* ===== Анімація появи блоків ===== */
/* Початковий стан карток */
.advantages-grid .advantage-box {
  opacity: 0;
  transform: translateY(18px) scale(.98);
  filter: blur(6px);
  transition:
    opacity .6s ease,
    transform .6s ease,
    filter .6s ease;
  transition-delay: var(--delay, 0ms); /* для каскаду */
  will-change: opacity, transform, filter;
}
/* Коли у вʼюпорті */
.advantages-grid .advantage-box.in-view {
  opacity: 1;
  transform: none;
  filter: blur(0);
}

@media (prefers-reduced-motion: reduce) {
  .advantages-grid .advantage-box {
    transition: none;
    opacity: 1;
    transform: none;
    filter: none;
  }
}
/* End advantages */

/* Start button */
.leronzo-button-one {
    font-weight: 700;
    font-size: 1.25rem;
    line-height: 160%;
    letter-spacing: 0;

    display: inline-flex;
    align-items: center;
    padding: 0.75rem 2.1875rem;
    background-color: #142245;
    color: #fff;
    text-decoration: none;
    border: 0.5px solid #FFFFFF;
    border-radius: 6px;
    font-weight: 500;
    transition: background 0.3s;
    width: max-content !important;
    margin: 1.25rem auto 5.75rem auto !important;
    height: max-content;
}
.leronzo-button-one:hover {
   color: #fff;
   background-color: var(--color-link-hover);
}
.wp-block-column.is-vertically-aligned-center a.leronzo-button-one.aligncenter {
    margin: auto !important;
}
@media (max-width: 992px) {
     .leronzo-button-one {
        margin: 1.25rem auto 2.8125rem auto !important;
    }
}
@media (max-width: 576px) {
    .leronzo-button-one {
        margin: 1.25rem auto 2.1875rem auto !important;
        font-size: 0.75rem;
    }
}
/* End button */

/* Start hero */
.leronzo-hero {
    position: relative;
    height: 100%;
    width: 100%;
    overflow: hidden;
}
@media (min-width: 769px) and (max-width: 992px) {
    .leronzo-hero {
    margin-top: 20px;
}
}
.leronzo-hero .overlay {
    position: absolute;
    top: 0; 
    left: 0; 
    right: 0; 
    bottom: 0;
    z-index: 1;
}
@media (min-width: 992px) {
.leronzo-hero .overlay {
     top: 1.5625rem;
}
}
section.wrapper-leronzo-hero { 
    margin: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 1440px;
    height: 100%;
}
@media (min-width: 768px) {
    section.wrapper-leronzo-hero {
        min-height: calc(100vh - 170px);
    }
    body.admin-bar section.wrapper-leronzo-hero {
        min-height: calc(100vh - 202px);
    }
    section.wrapper-leronzo-hero.min-hight {
        min-height: calc(100vh - 408px);
    }
    body.admin-bar section.wrapper-leronzo-hero.min-high {
        min-height: calc(100vh - 440px);
    }
}
@media (max-width: 767.9px) {
    section.wrapper-leronzo-hero, section.wrapper-leronzo-hero.min-hight {
    min-height: 0;
    }
}
@media (max-width: 1350px) {
   section.wrapper-leronzo-hero {
        padding: 1.5625rem var(--container-padding-mob-x) 0.3125rem var(--container-padding-mob-x);
    }
}
section.wrapper-hero-img {
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    position: absolute;
    height: 100%;
    width: 100%;
    left: 0;
    right: 0;
    top: 0;
    margin: auto;
    max-width: 1440px;
    z-index: 1;
}
@media (max-width:350px) {
    section.wrapper-hero-img {
        left: 30px;
    }
}
img.hero-side-image {
    max-height: 1200px;
    height: 100%;
    width: auto;
}
@media (min-width: 1145px) {
    img.hero-side-image {
        margin-right: 70px;
    }
}
@media (max-width: 1300px) {
    img.hero-side-image {
        height: 85%;
    } 
}
@media (max-width: 576px) {
    .leronzo-hero-content.on-service section.wrapper-hero-img img.hero-side-image {
        height: auto;
        width: 52%;
    }
    section.wrapper-hero-img.min-hight img.hero-side-image {
        height: 75%;
    }
}
@media (max-width: 320px) {
    img.hero-side-image {
        height: 75%;
    }
}
.leronzo-hero-bg img, .img-prev img {
    width: 100%;
    height:100%;
    position: absolute;
    object-fit: cover;
    top: 0;
    left: 0;
}
@media (min-width: 992px) {
    .leronzo-hero-bg img, .img-prev img {
        height: calc(100% - 25px); 
        top: 1.5625rem;
    }
}
.leronzo-hero-content {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 28.125rem;
    height: 100%;
    width: 60%;
    padding: 20px 0 20px 0;
    z-index: 2;
}
    .leronzo-hero-content.on-service {
        padding: 20px 0;
    }
    @media (max-width: 992px) {
       .leronzo-hero-content {
        min-height: 0;
       } 
    }
@media (max-width: 870px) {
    .leronzo-hero-content {
        align-items: flex-start;
        justify-content: flex-start;
    }

}
.leronzo-button {
    border-radius: 0.375rem;
    padding: 0.75rem 2.1875rem;
    background: #142245;
    border: 0.5px solid #FFFFFF;
    font-family: 'Inter';
    font-weight: 700;
    font-size: 1.25rem;
    line-height: 160%;
    letter-spacing: 0;
    color: white;
    text-decoration: none;
}
.leronzo-button:hover {
    background: #ab917a !important;
}
@media (max-width: 576px) {
    .leronzo-hero-content {
        width: 100%;
    }
    .leronzo-hero-content p  {
        width: 58%;
        font-weight: 600;
    }
    .leronzo-button  {
        max-width: 70%;
    }
    .leronzo-button {
        font-size: 0.625rem;
        padding: 12px 25px;
    }

}
@media (min-width: 1440px) {
    .leronzo-hero-content h1 {
        font-size: 54px;
    }
}
@media (min-width: 1440px) {
    .leronzo-hero.norm-desc .leronzo-hero-content.on-service h1 {
        font-size: 2.8125rem;
    }
}
.leronzo-hero-content h1 {
    font-weight: 700;
    font-size: calc(20px + (45 - 20) * ((100vw - 320px) / (1440 - 320)));
    line-height: 120%;
    letter-spacing: 0;
    text-align: center;
    color: #EACEA6;
}
.leronzo-hero-content.on-service h1 {
    margin: 0;
    padding-bottom: 20px;
}
.leronzo-hero-content p {
    font-family: 'Adobe Devanagari';
    font-weight: 700;
    font-size: 1.875rem;
    line-height: 1.5;
    letter-spacing: 0;
    text-align: center;
    color: white;
    max-width: 592px;
}
.leronzo-hero.norm-desc .leronzo-hero-content.on-service h1 {
     font-size: calc(26px + (45 - 26) * ((100vw - 320px) / (1440 - 320)));
}
.leronzo-hero.norm-desc .leronzo-hero-content.on-service p {
   font-size: 1.875rem; 
}
.leronzo-hero-content.on-service p {
    font-size: 2.125rem;
}
.leronzo-hero-content.on-service h1 {
    font-size: 2.5rem;
}
.leronzo-hero.norm-desc .leronzo-hero-content p {
    font-size: 1.875rem;
}
@media (max-width: 870px) {
   .leronzo-hero-content h1, .leronzo-hero-content p {
    text-align: left;
   }
   .leronzo-hero-content h1 {
    max-width: 60%;
   }
   .leronzo-hero-content p,
    .leronzo-hero.norm-desc .leronzo-hero-content.on-service p {
        font-size: 1.25rem;
    }
}
@media (max-width: 768px) {
    .leronzo-hero-content p,
    .leronzo-hero.norm-desc .leronzo-hero-content.on-service p   {
        font-size: 1rem;
    }
    .leronzo-hero-content.on-service p {
        font-size: 1rem;
        max-width: 13.75rem;
        width: 100%;
    }
    .leronzo-hero-content.on-service h1,
    .leronzo-hero.norm-desc .leronzo-hero-content.on-service h1 {
        font-size: 1.375rem;
        width: 100%;
}
}
@media (max-width: 576px) {
  .leronzo-hero-content.on-service p,
  .leronzo-hero-content.on-service h1 { 
        max-width: 10.625rem;
    }  
}
.br-item-services {
    position: relative;
    background: #4F4F4F94;
}
ul.item-services {
    position: relative;
    width: 60%;
    display: grid;
    grid-template-columns: auto auto auto;
    gap: 1.25rem;
    z-index: 3;
    padding: 27px 0 27px var(--container-padding-x);
}
@media (max-width: 1350px) {
    ul.item-services {
        grid-template-columns: 1fr 1fr;
    }
}
@media (max-width: 576px) {
    ul.item-services {
        gap: 0.625rem;
    }
}
@media (max-width: 340px) {
    ul.item-services {
         grid-template-columns: 1fr;
    }
}
@media (max-width: 992px) {
    ul.item-services {
        width: 100%;
        padding: 12px var(--container-padding-mob-x);
    }
    .br-item-services {
        z-index: 2;
    }
}
@media (max-width: 576px) {
    ul.item-services li img {
        width: 12px !important;
        height: 12px !important;
}
}
.layout-item {
    max-width: var(--container-max-width);
    margin: auto;
}

ul.item-services li {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    max-height: 7rem;
    font-size: 1.0625rem;
}
@media (max-width: 576px) {
    ul.item-services li {
        font-size: 0.75rem;
        gap: 0.3125rem;
    }
}
/* End hero */

/* Start horizontal-list */
.leronzo-horizontal-list {
    overflow-x: auto;
    background: #FFFFFFD4;
    width: 100%;
    max-width: 100% !important;
    padding: 16px 0 10px 0;
}
.horizontal-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    align-items: center;
    justify-content: space-between;
    list-style: none;
    padding: 0;
    max-width: var(--container-max-width);
    padding: 0 var(--container-padding-x) 0 var(--container-padding-x); 
    margin: auto;
}
@media (max-width: 1350px) {
   .horizontal-list {
         padding: 0 var(--container-padding-mob-x) 0 var(--container-padding-mob-x);
    }
}
@media (max-width: 1380px) {
    .horizontal-list {
    display: block;
    columns: 2;
    column-gap: 1.25rem;
    }
}
.horizontal-list-item {
    font-family: 'Adobe Devanagari';
    font-weight: 400;
    font-size: 1.25rem;
    line-height: 120%;
    letter-spacing: 0;

    display: flex;
    align-items: center;
    gap: 10px;
    color: black;
    padding-bottom: 0.375rem;
}
.list-icon {height: 20px;}
@media (max-width: 576px) {
    .horizontal-list-item {font-size: 0.75rem;}
    .list-icon {height: 12px;}
}
/* End horizontal-list */

/* Start image-plus */
.leronzo-image-plus{
  --maxh-desktop: 480px;
  --maxh-mobile: 280px;
  --radius: 0px;
  margin: 0;
}
.leronzo-image-plus img{
  display:block;
  width: 100%;
  height: var(--maxh-desktop);
  border-radius: var(--radius);
  object-fit: cover;
}
.leronzo-image-plus.has-shadow img{
  box-shadow: 0px 6px 12px 0px #00000040;
  margin: 0 auto 0.625rem auto;
}
@media (max-width: 781px){
  .leronzo-image-plus.is-hidden-mobile{display:none !important;}
}
@media (max-width: 576px) {
    .leronzo-image-plus img {
      height: var(--maxh-mobile);
      width: 100%;
    }
}
@media (max-width: 576px) {
    .left-right-padding-mob {padding: 0 1.25rem;}
}
@media (max-width: 992px) {
    .left-right-padding-mob {padding: 0 1.25rem;}
    .without-indents {padding: 1.5625rem 0 0.3125rem 0;}
}
/* End image-plus */

/* Start image-plustabs-plus */
:root{
  --leronzo-tabs-gap: 14px;
  --leronzo-tabs-radius: 10px;
  --leronzo-tabs-border: #E6DACF;
  --leronzo-tabs-text: #243145;
  --leronzo-tabs-active-bg: #0F274A;
  --leronzo-tabs-active-text: #ffffff;
}
.leronzo-tabs-plus__nav{
  display:flex;
  gap: var(--leronzo-tabs-gap);
  flex-wrap:wrap;
  align-items:center;
  justify-content: center;
  margin: 0 0 3.125rem 0;
  width:100%;
}
.leronzo-tabs-plus__btn {
  display: block;
  box-sizing: border-box;
  background: #FFFFFF;
  color: #111827;
  border: 1px solid #977659;
  border-radius: 0.3125rem;
  padding: 0.625rem 0.75rem;
  cursor: pointer;
  font-family: 'Inter';
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.2;
  letter-spacing: 0;
  text-align: center;
  cursor:pointer;
}
@media (max-width: 768px) {
  .leronzo-tabs-plus__bt {font-size: 0.875rem;}
  .leronzo-tabs-plus__btn { min-width: 70%;}
}
@media (max-width: 400px) {
    .leronzo-tabs-plus__btn { min-width: 100%;}
}
@media (max-width: 340px) {
   .leronzo-tabs-plus__bt {font-size: 0.625rem;}
}
.leronzo-tabs-plus__btn:hover{background: #977659;color: white;}
.leronzo-tabs-plus__btn.is-active{
  background: var(--leronzo-tabs-active-bg);
  color: var(--leronzo-tabs-active-text);
  border-color: var(--leronzo-tabs-active-bg);
}
.leronzo-tabs-plus__add{margin-left:auto;}
.leronzo-tabs-plus__panes{position:relative;}
.leronzo-tabs-plus__pane{display:none;padding: 0;}
.leronzo-tabs-plus__pane.is-active{display:block;}
/* Editor form styles */
.leronzo-tabs-plus__tab-editor{padding:16px;}
.leronzo-tabs-plus__row{display:flex;gap:12px;align-items:flex-end;}
.leronzo-tabs-plus__row .components-text-control{flex:1;}
.leronzo-tabs-plus__btns .components-button{margin-right:6px;}
/* Front-end panes (rendered by PHP) */
.leronzo-tabs-plus__content{margin-top:16px;}
/* End tabs-plus */



/* Start Cleaning steps */

/* Desktop grid: 5 columns */
@media (min-width: 1181px) {
  .lz-carpet-steps__grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 21px;
    align-items: start;
    padding: 28px 50px;
    margin: 45px 0;
    background-color: white;
    border-radius: 5px;
    box-shadow: 0px 6px 12px 0px rgba(0, 0, 0, 0.25);
  }
    .lz-step__content {
      margin-top: 18px;
  }
}

/* Step name row (top) */
.lz-step__name {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 12px;
  user-select: none;
  font-family: 'Adobe Devanagari';
  font-weight: 700;
  font-size: 24px;
  color: #142245;

}
.lz-step__name.lz-step__name--desktop {
    display: none;
}
.lz-step__image-section,
.lz-step__content-section {
    position: relative;
    height: 100%;
    width: 100%;
}
.lz-step__name-icon {
  width: 16px;
  height: 16px;
  display: inline-block;
}

/* Card */
.lz-step__card {
  background: transparent;
  border-radius: 10px;
  box-shadow: none;
  padding: 0;
  margin-top: 18px;
  display: block;
  position: relative;
  z-index: 2;
}

/* Image */
.lz-step__image {
  width: 100%;
  aspect-ratio: 153 / 176;
  object-fit: cover;
  border-radius: 0.625rem;
  display: block;
}

.lz-step__image--placeholder {
  background: #f2f3f5;
  border: 1px dashed #c7ccd1;
  color: #6b7280;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
}

.lz-step__heading {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
}

.lz-step__num {
  width: 25px;
  height: 25px;
  border: 0.5px solid #142245;
  color: #142245;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: normal;
  flex: 0 0 auto;
  font-family: 'Adobe Devanagari';
  font-weight: 700;
  font-size: 34px;
  padding: 5px;
}

.lz-step__title {
  font-weight: 700;
  font-size: 24px;
  line-height: 1.25;
  margin: 0;
  color: #142245;
}

.lz-step__desc {
  margin-top: 16px;
  line-height: 1.35;
  color: #3f454b;

  font-family: 'Inter';
  font-weight: 400;
  font-size: 16px;
}

/* Connector: only needed on mobile; hide on desktop */
.lz-step__connector {
  display: none;
}

/* ===== Responsive ===== */

/* Mobile layout: stacked cards with alternating image/content */
@media (min-width: 318px) and (max-width: 1180px) {
  .lz-step__image {
        position: absolute;
        width: 70%;
        height: 100%;
        object-fit: cover;
        top: 35px;
        left: 50%;
        transform: translate(-50%, 0%);
        border-radius: 0.3125rem;
  }
}
@media (max-width: 1180px) {
/* ================== Важливо для мобільних ================= */
  .lz-carpet-steps__grid,
  .lz-step,
  .lz-step__card {
    overflow: visible !important;
  }

  .lz-step {
    position: relative; /* обов’язково, інакше z-index не працює */
  }

  /* Щоб верхні кроки перекривали нижні (як на макеті) */
  .lz-carpet-steps__grid > .lz-step:nth-child(1) { z-index: 50; }
  .lz-carpet-steps__grid > .lz-step:nth-child(2) { z-index: 40; }
  .lz-carpet-steps__grid > .lz-step:nth-child(3) { z-index: 30; }
  .lz-carpet-steps__grid > .lz-step:nth-child(4) { z-index: 20; }
  .lz-carpet-steps__grid > .lz-step:nth-child(5) { z-index: 10; }

/* =================================== */
  img.lz-step__name-icon.lz-step__name-icon--right {
    display: none;
  }
  .lz-carpet-steps__grid {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
    max-width: 50rem;
    margin: 0 auto 45px auto;
  }

  .lz-step {
    padding: 0.625rem 0.625rem 0 0.625rem;
  }

  .lz-step__name {
    justify-content: flex-start;
    margin:auto;
    width: fit-content;
  }

  .lz-step__card {
    display: grid;
    gap: 1.5625rem;
    grid-template-columns: 1fr 1fr;
    justify-items: center;
    align-items: center;
    min-height: 18.75rem;
  }

  /* even steps: reverse like on your screenshot */
.lz-step--even .lz-step__image-section {
  order: 2;
}

  .lz-step__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    max-width: 230px;
  }

  /* connector between cards */
  .lz-step__connector {
    display: flex;
    justify-content: center;
    margin: 10px 0;
    opacity: 0.75;
  }
  .lz-step__connector img {
    width: 28px;
    height: 28px;
    transform: rotate(90deg);
  }
  .lz-step {
    position: relative;
    background: white;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.16);
    border-radius: 10px;
  }
}

@media (max-width: 700px) {
  .lz-step__image {
    width: 85%;
  }
}
@media (max-width: 576px) {
    .lz-step__card {
    min-height: 15.625rem;
  }
  .lz-step__name,
  .lz-step__title {
    font-size: 0.875rem;
  }
  .lz-step__desc {
    font-size: 0.75rem;
    font-weight: 400;
  }
  .lz-step__connector img {
    width: 1.4223rem;
    height: 1.1017rem;
  }
  .lz-step__num {
    width: 20px;
    height: 20px;
    font-size: 25px;
  }
    .lz-step__image {
      width: 100%;
  }
}
@media (max-width: 420px) {
  .lz-step__card {
    gap: 0.9375rem;
  }
  .lz-step__card {
    min-height: 11.625rem;
  }
}
@media (max-width: 318px) {
  .lz-step__card {
    min-height: 11.625rem;
    flex-direction: column;
    display: flex;
  }
  .lz-step__image {
    position: relative;
    margin: 0.875rem 0;
  }
}


/* End Cleaning steps */