body {
    overflow-x: hidden;
}

.hero-deco-img {
    max-width: 335px;
    z-index: 0;
    transform: translate(0%, 20%);
}

.fs-5-6 {
    font-size: 1.125rem !important;
    line-height: 1.2;
}

.fs-5-7 {
    font-size: 1.05rem !important;
    line-height: 1.4;
}

.performance-img {
    width: 450px;
    height: 380px;
    object-fit: cover;
    display: block;
    margin-left: 50px;
}

.pe-custom {
    padding-right: 6rem !important;
}

.heading-xl {
    font-size: 2.1rem;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.list-lg li {
    font-size: 1.125rem;
    line-height: 1.2;
}

.list-lg1 li {
    font-size: 1.05rem;
    line-height: 1.4;
}

/* === Tarjetas mantenimiento === */
.maintenance-row {
    height: 620px;
    gap: 1.75rem;


}

.maintenance-panel {
    flex: 1 1 0;
    cursor: pointer;
    transition: flex .4s ease;
    position: relative;
    border-top-right-radius: 2rem;
    border-bottom-left-radius: 2rem;

}

.maintenance-panel:hover {
    flex: 8 1 0;
}


.maintenance-panel .panel-front,
.maintenance-panel .panel-back {
    inset: 0;
    transition: opacity .4s ease;
}

.maintenance-panel .panel-back {
   
    opacity: 0;
    z-index: 1;
}

.maintenance-panel .panel-front {

    opacity: 1;
    z-index: 2;
}

.maintenance-panel:hover .panel-back {
   
    opacity: 1;
}

.maintenance-panel:hover .panel-front {
    opacity: 0;
}

.title-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background-color: #004687;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.title-overlay h3 {
    color: #fff;
    margin: 0;
    font-size: 1.3rem;

}

.inner-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.inner-item {
    display: flex;
    align-items: center;
    margin-bottom: .5rem;
}

.inner-item .icon-check {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-right: .5rem;
}

.inner-item .item-text {
    color: #000;
}


.inner-box {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    background: #fff;
    max-height: 60%;
    overflow-y: auto;
    z-index: 3;
}


.inner-box .inner-title {
    text-align: center;
    margin-bottom: 1rem;
    font-size: 2.25rem;
}


.inner-list {
    list-style: none;
    margin: 0;
    padding: 0;
    text-align: left;
}

.inner-item {
    display: flex;
    align-items: center;
    margin-bottom: .75rem;
    justify-content: flex-start;
}


.inner-item .icon-check {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-right: .5rem;
}


.inner-item .item-text {
    color: #333;
    line-height: 1.4;
    padding-right: 5rem;
}

/* Scrollbar opcional */
.inner-box::-webkit-scrollbar {
    width: 6px;
}

.inner-box::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 3px;
}


@media (max-width: 768px) {
    .maintenance-row {
        flex-direction: column;
        height: auto;
    }

    .maintenance-panel {
        height: 280px;
    }

    .bg-overlay {
        background: rgba(0, 0, 0, 0.5);
        
    }

    .icon-check {
        width: 18px;
        height: 18px;
    }

}


.performance-img1 {
    width: 450px;
    height: 400px;
    object-fit: cover;
    display: block;
    margin-left: 50px;
}

.more-info-link {
    color: #000;
}

.circle-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border: 2px solid #b2e81b;
    border-radius: 50%;
    color: #b2e81b;
    font-size: 1rem;
    transition: background-color 0.3s, color 0.3s;
}

.more-info-link:hover .circle-outline {
    background-color: #b2e81b;
    color: white;
}

.more-info-link:hover .info-text {
    transform: translateX(-5px);
    /* texto hacia la izquierda */
}

.more-info-link:hover .circle-outline {
    transform: translateX(5px);
    /* flecha hacia la derecha */
}

.info-text {
    transition: transform 0.3s ease;
}

.animate-on-scroll {
    opacity: 0;
}

/* PERFORMANCE */
@media (min-width: 1400px) {
  .container-fluid .row.g-0 > .col-md-6.ps-3 {
    padding-left: 0 !important;
  }

  .performance-img {
    width: 580px;  
    height: 380px;
    margin-left: auto !important;
    margin-right: 40px !important; 
    object-fit: cover;
    display: block;
  }
}

@media (min-width: 1920px) {
  .performance-img {
    width: 700px; 
    height: 380px;
    margin-left: auto !important;
    margin-right: 60px !important;
  }
}

/* GESTIÓN DEL MANTENIMIENTO (GMAO) */
@media (min-width: 1400px) {
  .container-fluid .row.g-0 > .col-md-6.ps-3 {
    padding-left: 0 !important;
  }

  .performance-img1 {
    width: 580px;  
    height: 380px;
    margin-left: auto !important;
    margin-right: 40px !important; 
    object-fit: cover;
    display: block;
  }
}

@media (min-width: 1920px) {
  .performance-img1 {
    width: 700px; 
    height: 380px;
    margin-left: auto !important;
    margin-right: 60px !important;
  }
}


@media (min-width: 1900px) {
  .maintenance-panel .inner-box {
    width: 45%;
    padding: 1.5rem 2rem;
  }

  
  .maintenance-panel .inner-box .inner-title {
    margin-bottom: 1rem;
    text-align: left !important;
    width: 100%;
  }

  
  .maintenance-panel .inner-box .inner-list {
    gap: 0.4rem;
    line-height: 1.3;
    width: 100%;
  }

  .maintenance-panel .inner-box .inner-item {
    margin-bottom: 0.3rem;
    width: 100%;
    display: flex;
    align-items: flex-start;
  }

  .maintenance-panel .inner-box .inner-item .icon-check {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    margin-right: 0.5rem;
  }

  .maintenance-panel .inner-box .inner-item .item-text {
    padding-right: 0 !important;
    margin-right: 0 !important;
    width: 100%;
    text-align: left;
  }
}


/* ===== PERFORMANCE — TABLETS (iPad / Android 768–1199px) ===== */
@media (min-width: 768px) and (max-width: 1199px) {
  .section-performance .container-fluid.px-5 {
    padding-left: 0 !important;
    padding-right: 2rem !important; 
  }

 
  .section-performance .row.align-items-center.g-0 {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;  
    gap: 2rem;                        
  }

  
  .section-performance .col-md-6.ps-3 {
    flex: 0 0 50% !important;
    max-width: 50% !important;
    padding-left: 0 !important;
    display: flex;
  }

  
  .section-performance .col-md-6.pe-custom {
    flex: 0 0 50% !important;
    max-width: 50% !important;
    padding-right: 2rem !important;
    display: flex;
    flex-direction: column;
    justify-content: center; 
  }


  .section-performance .performance-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    margin: 0 !important;
    display: block;
  }
}


/* ===== GMAO — TABLETS (768–1199px) ===== */
@media (min-width: 768px) and (max-width: 1199px) {
  .section-management .container-fluid.px-5 {
    padding-left: 0 !important;
    padding-right: 2rem !important;
  }

  .section-management .row.align-items-center.g-0 {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important; 
    gap: 2rem;
  }

  .section-management .col-md-6.ps-3 {
    flex: 0 0 50% !important;
    max-width: 50% !important;
    padding-left: 0 !important;

    display: flex;
    justify-content: flex-start;  
  }

  .section-management .col-md-6.pe-custom {
    flex: 0 0 50% !important;
    max-width: 50% !important;
    padding-right: 2rem !important;

    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .section-management .performance-img1 {
    width: 100% !important;
    height: 70% !important;  
    object-fit: cover;
    margin: auto 0 !important; 
    display: block;
  }
}


