body {
    font-family: Arial, Verdana, Helvetica, sans-serif;
    font-size: 1em;
    line-height: 1.5em;
    height: 100%;
    color: #555753;
    background: white;
}


.m-banner-img {
    position: relative;
    width: 100%;
    aspect-ratio: 16/4;
    overflow: hidden;
}

.m-img-top {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.m-banner-text-1 {  
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 90%;
    text-align: center;
    color: aliceblue;
    text-shadow: 2px 2px 4px black;
    margin: 0;
    padding: 0 10px;
    font-size: clamp(24px, 4vw, 48px);
}

.m-banner-text-2 {  
    position: absolute;
    top: 65%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 90%;
    text-align: center;
    color: aliceblue;
    text-shadow: 2px 2px 4px black;
    margin: 0;
    padding: 0 10px;
    font-size: clamp(16px, 2vw, 32px);
    font-weight: 300;
}

.m-banner-text-3 {  
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    transform: translateY(-50%);
    text-align: center;
    color: aliceblue;
    text-shadow: 2px 2px 4px black;
    font-size: clamp(30px, 8vw, 58px);
    margin: 0;
    padding: 0 10px;
}

.m-banner-text-4 {  
    position: absolute;
    left: 0;
    width: 100%;
    text-align: center;
    color: aliceblue;
    text-shadow: 2px 2px 4px black;
    margin: 0;
    padding: 0 10px;
    transform: translateX(-50%) translateY(-25%);
    left: 50%;
    top: 65%;
    font-size: clamp(20px, 2vw, 32px);
    font-weight: 300;
}


@media (max-width: 768px) {
    .m-banner-img {
        aspect-ratio: 16/5;
    }
    .m-banner-text-1 {
        top: 35%;
        line-height: 20px;
    }
    .m-banner-text-2 {
        top: 70%;
        font-size: clamp(14px, 1.8vw, 24px);
        line-height: 20px;
    }
}


.m-soluciones-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: flex-start;
    width: 100%;
    padding: 20px;
    gap: 20px;
}

.m-soluciones-item {
    position: relative;
    flex: 0 0 calc(20% - 20px);
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    background: #f5f5f5;
}

.m-soluciones-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
    object-fit: fill;
}

.m-soluciones-item:hover img {
    transform: scale(1.10);
}

.m-soluciones-text {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    color: aliceblue;
    text-shadow: 2px 2px 4px black;
    font-size: 1.5em;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 10px 0;
    text-align: center;
    width: 100%;
    transition: background-color 0.5s ease;
}

.m-soluciones-item:hover .m-soluciones-text {
    transform: translateY(0%);
    background-color: rgba(0, 0, 0, 0.7);
}


@media (max-width: 768px) {
    .m-soluciones-item {
        flex: 0 0 calc(50% - 20px);
    }
}

@media (max-width: 480px) {
    .m-soluciones-item {
        flex: 0 0 calc(50% - 20px);
    }
}

/* Defectos */

.m-soluciones-def-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: flex-start;
    width: 100%;
    padding: 20px;
    gap: 20px;
}

.m-soluciones-def-item {
    position: relative;
    flex: 0 0 calc(20% - 20px);
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    background: #f5f5f5;
}

.m-soluciones-def-item img {
    width: 100%;
    height: auto;
    display: block;
}

.m-soluciones-def-text {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    color: aliceblue;
    text-shadow: 2px 2px 4px black;
    font-size: 1.2em;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 10px 0;
    text-align: center;
    width: 100%;
}

@media (max-width: 768px) {
    .m-soluciones-def-item {
        flex: 0 0 calc(50% - 20px);
    }
}

@media (max-width: 480px) {
    .m-soluciones-def-item {
        flex: 0 0 calc(50% - 20px);
    }
}

@media (max-width: 480px) {
    .m-soluciones-def-text {
        padding: 4px 0;
    }
}



.center .slick-slide p {
  font-size: 18px;
  color: #666;
  margin-bottom: 15px;
}

.center .slick-slide img {
  max-width: 100%;
  height: 180px;
  object-fit: contain;
  margin: 0 auto;
  display: block;
}

/* Mobile fixes - NO overlapping */
@media (max-width: 768px) {
  .center .slick-list {
    padding: 0 10% !important; /* This prevents overlapping */
  }
  
  .center .slick-slide {
    margin: 0 5px;
    opacity: 0.7;
    transform: scale(0.9);
  }
  
  .center .slick-center {
    opacity: 1;
    transform: scale(1);
    z-index: 2;
  }
  
  /* Ensure proper spacing */
  .center .slick-track {
    display: flex;
    align-items: center;
    padding: 20px 0;
  }
}