/* ============================== */
/* ESTILOS GENERALES - APLICA A TODO EL SITIO */
/* ============================== */

:root {
    --rojo-principal: #c31714;
    --rojo-oscuro: #a51310;
    --gris-oscuro: #3d3b3c;
    --verde: #387b5c;
}

body {
    font-family: 'Lato', sans-serif;
    color: var(--gris-oscuro);
    overflow-x: hidden;
    padding-top: 80px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
}

/* ============================== */
/* NAVBAR - APLICA A TODO EL SITIO */
/* ============================== */

.navbar {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 0.8rem 0;
    height: 80px;
}

.navbar-brand {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: var(--rojo-principal) !important;
    font-size: 1.5rem;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.nav-link {
    font-family: 'Montserrat', sans-serif;
    color: var(--gris-oscuro) !important;
    font-weight: 500;
    margin: 0 15px;
}

.nav-link:hover {
    color: var(--rojo-principal) !important;
}

.nav-link.active {
    color: var(--rojo-principal) !important;
    font-weight: 700;
}

/* ============================== */
/* NAVBAR ESPECÍFICA PARA INDEX.HTML */
/* ============================== */

/* Solución para márgenes antiestéticos solo en index */
body.home-page .navbar .container {
    padding-left: 10px;
    padding-right: 10px;
}

body.home-page .nav-link {
    margin: 0 10px !important;
    padding: 0.5rem 0.8rem !important;
}

/* Ajustes para desktop en index */
@media (min-width: 992px) {
    body.home-page .nav-link {
        margin: 0 8px !important;
        padding: 0.4rem 0.6rem !important;
    }
    
    body.home-page .navbar-brand {
        margin: 0 10px;
    }
}

/* Ajustes para móvil/tablet en index */
@media (max-width: 991px) {
    body.home-page .nav-link {
        margin: 0.3rem 0 !important;
        padding: 0.5rem 1rem !important;
        text-align: center;
    }
}

/* ============================== */
/* BOTÓN WHATSAPP - APLICA A TODO EL SITIO */
/* ============================== */

.whatsapp-btn {
    position: fixed;
    bottom: 25px;
    left: 25px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.5);
    z-index: 1000;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.whatsapp-btn:hover {
    background-color: #128c7e;
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.6);
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* ============================== */
/* BOTONES GENERALES - APLICA A TODO EL SITIO */
/* ============================== */

.btn-comprar {
    background-color: var(--rojo-principal);
    color: white;
    font-weight: 600;
    padding: 0.8rem 2rem;
    border-radius: 0;
    border: none;
    font-family: 'Montserrat', sans-serif;
    transition: all 0.3s ease;
}

.btn-comprar:hover {
    background-color: var(--rojo-oscuro);
}

/* ============================== */
/* FOOTER - APLICA A TODO EL SITIO */
/* ============================== */

footer {
    background-color: var(--rojo-principal);
    color: white;
    padding: 4rem 0 2rem;
    text-align: center;
}

.footer-title {
    font-weight: 300;
    margin-bottom: 1.5rem;
}

.footer-subtitle {
    font-weight: 700;
    font-size: 1.8rem;
    margin: 3rem 0 1.5rem;
}

.footer-form {
    max-width: 500px;
    margin: 0 auto;
}

.form-control {
    border-radius: 0;
    border: none;
    padding: 0.8rem 1rem;
}

.btn-join {
    background-color: white;
    color: var(--rojo-principal);
    font-weight: 700;
    border-radius: 0;
    padding: 0.8rem 2rem;
    border: none;
    margin-top: 1rem;
    transition: all 0.3s ease;
}

.btn-join:hover {
    background-color: #f8f9fa;
}

.footer-links {
    margin-top: 2rem;
    padding: 0 1rem;
}

.footer-links a {
    color: white;
    text-decoration: none;
    margin: 0 10px;
    font-size: 0.9rem;
}

.footer-links a:hover {
    text-decoration: underline;
}

/* ============================== */
/* CARRUSEL PRINCIPAL - INDEX.HTML */
/* ============================== */

.main-carousel {
    height: calc(100vh - 80px);
    overflow: hidden;
    margin-top: 80px;
    position: relative;
}

.carousel-item {
    height: calc(100vh - 80px);
}

.slide-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    background-color: #f8f9fa;
    z-index: 2;
}

.slide-text {
    max-width: 600px;
    padding: 2rem;
    margin-left: 8%;
    position: relative;
    flex: 1;
    margin-top: 30px;
}

.slide-text h4 {
    color: var(--gris-oscuro);
    font-size: 1.4rem;
    line-height: 1.6;
    text-shadow: none;
    font-weight: 500;
}

.slide-image {
    margin-right: 8%;
    flex: 1;
    max-width: 40%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 30px;
}

.slide-image img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 65vh;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    object-fit: contain;
}

.btn-comprar-carousel {
    background-color: var(--rojo-principal);
    color: white;
    font-weight: 600;
    padding: 0.8rem 2rem;
    border-radius: 0;
    border: none;
    font-family: 'Montserrat', sans-serif;
    transition: all 0.3s ease;
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.btn-comprar-carousel:hover {
    background-color: var(--rojo-oscuro);
}

/* Botones del carrusel */
.carousel-control-prev, .carousel-control-next {
    width: 5%;
    opacity: 0.8;
    z-index: 10;
    top: 50%;
    transform: translateY(-50%);
    height: 50px;
}

.carousel-control-prev {
    left: 20px;
}

.carousel-control-next {
    right: 20px;
}

.carousel-control-prev:hover, .carousel-control-next:hover {
    opacity: 1;
}

.carousel-control-prev-icon, .carousel-control-next-icon {
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    background-size: 60%;
    transition: all 0.3s ease;
}

.carousel-control-prev:hover .carousel-control-prev-icon,
.carousel-control-next:hover .carousel-control-next-icon {
    background-color: rgba(0, 0, 0, 0.7);
}

/* ============================== */
/* SECCIÓN LEMA - INDEX.HTML */
/* ============================== */

.lema-section {
    padding: 4rem 0 1rem;
}

.lema-title {
    color: var(--rojo-principal);
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.lema-text {
    max-width: 800px;
    margin: 0 auto 2rem;
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.8;
}

/* ============================== */
/* CARRUSEL DE CLIENTES - INDEX.HTML */
/* ============================== */

.clientes-section {
    padding: 0.5rem 0 2rem;
    margin: 0 auto 3rem;
    background: linear-gradient(to bottom, #f9f9f9, #ffffff);
    overflow: hidden;
    position: relative;
}

.clientes-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.scroller-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 1rem 0;
}

.scroller {
    display: flex;
    width: max-content;
    animation: scroll 30s linear infinite;
}

.scroller:hover {
    animation-play-state: paused;
}

.client-item {
    flex: 0 0 auto;
    margin: 0 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.client-logo {
    height: 80px;
    width: auto;
    max-width: 150px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
    padding: 5px;
}

.client-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
    cursor: pointer;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-1 * (150px + 3rem) * 10));
    }
}

/* ============================== */
/* SECCIÓN PORTAFOLIO - INDEX.HTML */
/* ============================== */

.portafolio-section {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow: hidden;
}

.portafolio-container {
    display: flex;
    width: 100%;
    margin: 0;
    padding: 0;
}

.portafolio-info {
    background-color: var(--rojo-principal);
    color: white;
    padding: 3rem;
    width: 33.333%;
    margin: 0;
    flex-shrink: 0;
}

.portafolio-info h2 {
    font-weight: 700;
    margin-bottom: 2rem;
    font-size: 2rem;
}

.portafolio-info h3 {
    font-weight: 600;
    margin: 2rem 0 1rem;
    font-size: 1.3rem;
}

.portafolio-list {
    list-style: none;
    padding: 0;
}

.portafolio-list li {
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    position: relative;
    padding-right: 50px;
}

.list-icon {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    background-color: var(--verde);
    border: 1px solid white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.list-icon i {
    color: white;
    font-size: 0.8rem;
}

.portafolio-list li:hover .list-icon {
    background-color: var(--rojo-principal);
}

.portafolio-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 0;
    width: 66.667%;
    flex-shrink: 0;
}

.portafolio-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.portafolio-img-large {
    grid-column: 2;
    grid-row: 1 / span 2;
}

.btn-portafolio {
    background-color: transparent;
    color: white;
    border: 1px solid white;
    border-radius: 0;
    padding: 0.8rem 1.5rem;
    margin-top: 2rem;
    font-weight: 500;
    transition: all 0.3s ease;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.btn-portafolio:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* ============================== */
/* ESTILOS QUIENES-SOMOS.HTML */
/* ============================== */

.section-container {
    padding: 4rem 0;
}

.section-title {
    color: var(--rojo-principal);
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.section-content {
    font-size: 1.1rem;
    line-height: 1.8;
}

.btn-center-container {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    width: 100%;
    text-align: center;
}

.relative-section {
    position: relative;
    min-height: 600px;
}

/* Imágenes unificadas */
.valores-image, 
.calidad-image,
.mision-vision-image {
    width: 100%;
    height: 450px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
    border-radius: 8px;
    padding: 10px;
}

.content-image {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
    border-radius: 8px;
}

.equipo-image {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
    border-radius: 8px;
}

/* Lista de valores */
.values-list {
    list-style: none;
    padding: 0;
    text-align: left;
}

.values-list li {
    padding: 0.5rem 0;
    font-weight: 500;
    font-size: 1.1rem;
    position: relative;
    padding-left: 1.5rem;
}

.values-list li:before {
    content: "•";
    color: var(--rojo-principal);
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Sección calidad */
.calidad-section {
    padding: 4rem 0;
    text-align: center;
}

.calidad-text {
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 2rem;
    color: var(--gris-oscuro);
}

/* Sección compra fácil */
.compra-section {
    background-color: #f8f9fa;
    padding: 4rem 0;
    text-align: center;
}

.compra-title {
    color: var(--rojo-principal);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

.compra-list {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
    text-align: left;
}

.compra-list li {
    padding: 0.5rem 0;
    font-size: 1.1rem;
    position: relative;
    padding-left: 2rem;
}

.compra-list li:before {
    content: "✓";
    color: var(--verde);
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* ============================== */
/* CARRUSEL DE VALORES - QUIENES-SOMOS.HTML */
/* ============================== */

.carousel-section {
    padding: 4rem 0;
}

.carousel-container {
    height: 550px;
    position: relative;
    overflow: hidden;
}

.carousel-item {
    height: 550px;
}

.carousel-image-container {
    height: 350px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 20px;
}

.carousel-image {
    width: auto;
    height: 100%;
    max-width: 100%;
    object-fit: contain;
    border-radius: 8px;
}

.carousel-text-container {
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 150px;
}

.carousel-control-prev,
.carousel-control-next {
    position: absolute;
    top: 175px;
    width: 50px;
    height: 50px;
    background-color: rgba(195, 23, 20, 0.8);
    border-radius: 50%;
    opacity: 0.8;
    transition: opacity 0.3s ease, background-color 0.3s ease;
    border: 2px solid white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    z-index: 100;
}

.carousel-control-prev {
    left: 15px;
}

.carousel-control-next {
    right: 15px;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 1;
    background-color: var(--rojo-principal);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 24px;
    height: 24px;
    filter: brightness(0) invert(1);
}

.carousel-indicators {
    bottom: -50px;
}

.carousel-indicators [data-bs-target] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--gris-oscuro);
    opacity: 0.5;
    transition: all 0.3s ease;
    border: none;
    margin: 0 5px;
}

.carousel-indicators .active {
    background-color: var(--rojo-principal);
    opacity: 1;
    transform: scale(1.2);
}

.value-title {
    color: var(--rojo-principal);
    font-weight: 700;
    margin-bottom: 10px;
    font-size: 1.6rem;
}

.value-description {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--gris-oscuro);
    margin: 0;
}

.carousel-item {
    transition: transform 0.6s ease-in-out;
}

/* ============================== */
/* ESTILOS ESPECÍFICOS TIENDA.HTML */
/* ============================== */

.category-title {
    color: var(--rojo-principal);
    font-weight: 600;
    margin: 2rem 0 1.5rem;
    border-bottom: 2px solid var(--rojo-principal);
    padding-bottom: 0.5rem;
}

/* Categorías */
.categories-menu {
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.categories-list {
    list-style: none;
    padding: 0;
}

.categories-list li {
    margin-bottom: 0.8rem;
}

.categories-list a {
    color: var(--gris-oscuro);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: block;
    padding: 0.5rem 1rem;
    border-radius: 4px;
}

.categories-list a:hover,
.categories-list a.active {
    background-color: var(--rojo-principal);
    color: white;
}

/* Productos */
.product-card {
    border: 1px solid #e9ecef;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.product-image {
    height: 200px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f8f9fa;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-info {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-title {
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--gris-oscuro);
    flex-grow: 1;
    text-align: center;
}

.btn-whatsapp-consult {
    background-color: #25d366;
    color: white;
    border: none;
    padding: 0.7rem 1.5rem;
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.3s ease;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-whatsapp-consult:hover {
    background-color: #128c7e;
}

/* ============================== */
/* ESTILOS CSS CRÍTICO PARA TIENDA.HTML */
/* ============================== */

/* ESTO ES PARTE DE TIENDA.HTML - CSS CRÍTICO INICIAL */
.skeleton {
    background: #f0f0f0;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}

.skeleton::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

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

@media (max-width: 1200px) {
    .client-logo {
        height: 70px;
    }
    
    .carousel-container {
        height: 520px;
    }
    
    .carousel-item {
        height: 520px;
    }
    
    .carousel-image-container {
        height: 320px;
    }
    
    .carousel-control-prev,
    .carousel-control-next {
        top: 160px;
    }
    
    .value-title {
        font-size: 1.5rem;
    }
    
    .value-description {
        font-size: 0.95rem;
    }
}

@media (max-width: 992px) {
    .navbar-brand {
        position: static;
        transform: none;
        margin: 0 auto;
    }
    
    .navbar {
        height: 70px;
    }
    
    .section-container {
        padding: 3rem 0;
    }
    
    .main-carousel {
        height: calc(100vh - 70px);
        margin-top: 70px;
    }
    
    .carousel-item {
        height: calc(100vh - 70px);
    }
    
    .slide-content {
        flex-direction: column;
        text-align: center;
    }
   
    .slide-text {
        margin: 8% 5% 0;
        max-width: 100%;
        margin-left: 5%;
    }
    
    .slide-image {
        margin: 20px 5% 5%;
        max-width: 80%;
        margin-right: 5%;
    }
    
    .slide-image img {
        max-height: 45vh;
    }
    
    .btn-comprar-carousel {
        bottom: 60px;
        padding: 0.7rem 1.5rem;
    }
    
    .portafolio-container {
        flex-direction: column;
    }
    
    .portafolio-info {
        width: 100%;
        padding: 2rem;
    }
    
    .portafolio-grid {
        width: 100%;
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
    
    .portafolio-img-large {
        grid-column: 1;
        grid-row: 3;
    }
    
    .client-logo {
        height: 60px;
    }
    
    .client-item {
        margin: 0 1rem;
    }
    
    .relative-section {
        min-height: auto;
        position: static;
    }
    
    .btn-center-container {
        position: static;
        transform: none;
        margin-top: 2rem;
    }
    
    .valores-image, 
    .calidad-image,
    .mision-vision-image {
        height: 350px;
    }
    
    .content-image, .equipo-image {
        max-height: 300px;
        margin-bottom: 2rem;
    }
    
    /* CARRUSEL EN TABLET */
    .carousel-container {
        height: 480px;
    }
    
    .carousel-item {
        height: 480px;
    }
    
    .carousel-image-container {
        height: 280px;
    }
    
    .carousel-text-container {
        padding: 10px;
        min-height: 140px;
    }
    
    .carousel-control-prev,
    .carousel-control-next {
        top: 140px;
        width: 45px;
        height: 45px;
    }
    
    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        width: 20px;
        height: 20px;
    }
    
    .carousel-control-prev {
        left: 10px;
    }
    
    .carousel-control-next {
        right: 10px;
    }
    
    .value-title {
        font-size: 1.4rem;
        margin-bottom: 8px;
    }
    
    .value-description {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    .categories-menu {
        margin-bottom: 2rem;
    }
    
    .carousel-control-prev {
        left: 15px;
    }
    
    .carousel-control-next {
        right: 15px;
    }
}

@media (max-width: 768px) {
    .portafolio-info {
        padding: 1.5rem;
    }
    
    .portafolio-img {
        min-height: 200px;
    }
    
    .main-carousel {
        height: calc(100vh - 70px);
        margin-top: 70px;
    }
    
    .carousel-item {
        height: calc(100vh - 70px);
    }
    
    .slide-image img {
        max-height: 35vh;
    }
    
    .slide-text h4 {
        font-size: 1.2rem;
    }
    
    .btn-comprar-carousel {
        bottom: 50px;
        padding: 0.6rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .lema-section {
        padding: 3rem 0 1rem;
    }
    
    .client-logo {
        height: 50px;
    }
    
    .client-item {
        margin: 0 0.8rem;
    }
    
    .whatsapp-btn {
        width: 50px;
        height: 50px;
        font-size: 24px;
        bottom: 20px;
        left: 20px;
    }
    
    .carousel-control-prev, 
    .carousel-control-next {
        width: 40px;
        height: 40px;
    }
    
    .carousel-control-prev-icon, 
    .carousel-control-next-icon {
        width: 40px;
        height: 40px;
    }
    
    .section-container {
        padding: 2rem 0;
    }
    
    .valores-image, 
    .calidad-image,
    .mision-vision-image {
        height: 300px;
    }
    
    .content-image, .equipo-image {
        max-height: 250px;
    }
    
    .calidad-text {
        font-size: 1.3rem;
    }
    
    /* CARRUSEL EN MÓVIL GRANDE */
    .carousel-container {
        height: 650px;
    }
    
    .carousel-item {
        height: 650px;
    }
    
    .carousel-image-container {
        height: 280px;
    }
    
    .carousel-text-container {
        padding: 15px 10px;
        min-height: 200px;
        height: auto;
        justify-content: flex-start;
    }
    
    .carousel-control-prev,
    .carousel-control-next {
        top: 140px;
        width: 40px;
        height: 40px;
        opacity: 0.7;
    }
    
    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        width: 18px;
        height: 18px;
    }
    
    .carousel-control-prev {
        left: 5px;
    }
    
    .carousel-control-next {
        right: 5px;
    }
    
    .value-title {
        font-size: 1.5rem;
        margin-bottom: 10px;
        text-align: center;
    }
    
    .value-description {
        font-size: 1rem;
        line-height: 1.6;
        text-align: center;
    }
    
    /* En móvil, cambiar disposición a columna */
    #valoresCarousel .carousel-item .row {
        flex-direction: column;
    }
    
    #valoresCarousel .carousel-item .col-lg-6 {
        width: 100%;
    }
    
    #valoresCarousel .carousel-item .col-lg-6:first-child {
        margin-bottom: 20px;
    }
    
    .carousel-item {
        transition: transform 0.5s ease-in-out;
    }
    
    .product-image {
        height: 180px;
    }
    
    .carousel-control-prev {
        left: 10px;
    }
    
    .carousel-control-next {
        right: 10px;
    }
}

@media (max-width: 576px) {
    .client-logo {
        height: 40px;
    }
    
    .lema-section {
        padding: 2rem 0 0.5rem;
    }
    
    .lema-title {
        margin-bottom: 1rem;
    }
    
    .clientes-header {
        margin-bottom: 1rem;
    }
    
    .client-item {
        margin: 0 0.5rem;
    }
    
    @keyframes scroll {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(calc(-1 * (100px + 1rem) * 10));
        }
    }
    
    .portafolio-info {
        padding: 1.5rem 1rem;
    }
    
    .portafolio-info h2 {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }
    
    .portafolio-info h3 {
        font-size: 1.2rem;
        margin: 1.5rem 0 0.8rem;
    }
    
    .portafolio-list li {
        padding: 0.6rem 0;
    }
    
    .slide-text {
        padding: 1rem;
    }
    
    .slide-text h4 {
        font-size: 1.1rem;
    }
    
    .main-carousel {
        height: calc(100vh - 65px);
        margin-top: 65px;
    }
    
    .carousel-item {
        height: calc(100vh - 65px);
    }
    
    .slide-text {
        margin-top: 15px;
    }
    
    .slide-image {
        margin-top: 15px;
    }
    
    .slide-image img {
        max-height: 30vh;
    }
    
    .btn-comprar-carousel {
        bottom: 40px;
        padding: 0.5rem 1.2rem;
        font-size: 0.85rem;
    }
    
    .whatsapp-btn {
        width: 45px;
        height: 45px;
        font-size: 22px;
        bottom: 15px;
        left: 15px;
    }
    
    .valores-image, 
    .calidad-image,
    .mision-vision-image {
        height: 250px;
    }
    
    .content-image, .equipo-image {
        max-height: 200px;
    }
    
    .calidad-text {
        font-size: 1.2rem;
    }
    
    .compra-title {
        font-size: 1.8rem;
    }
    
    .section-content {
        font-size: 1rem;
    }
    
    /* CARRUSEL EN MÓVIL PEQUEÑO */
    .carousel-container {
        height: 600px;
    }
    
    .carousel-item {
        height: 600px;
    }
    
    .carousel-image-container {
        height: 220px;
    }
    
    .carousel-text-container {
        padding: 10px 5px;
        min-height: 180px;
    }
    
    .carousel-control-prev,
    .carousel-control-next {
        top: 110px;
        width: 35px;
        height: 35px;
        opacity: 0.6;
    }
    
    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        width: 16px;
        height: 16px;
    }
    
    .carousel-control-prev {
        left: 2px;
    }
    
    .carousel-control-next {
        right: 2px;
    }
    
    .value-title {
        font-size: 1.4rem;
        margin-bottom: 8px;
    }
    
    .value-description {
        font-size: 0.95rem;
        line-height: 1.5;
    }
    
    .carousel-indicators {
        bottom: -40px;
    }
    
    .carousel-indicators [data-bs-target] {
        width: 10px;
        height: 10px;
    }
    
    .carousel-item {
        transition: transform 0.4s ease-in-out;
    }
    
    .categories-list a {
        padding: 0.4rem 0.8rem;
        font-size: 0.9rem;
    }
    
    .product-info {
        padding: 1rem;
    }
    
    .carousel-control-prev {
        left: 5px;
    }
    
    .carousel-control-next {
        right: 5px;
    }
}

@media (max-width: 400px) {
    .carousel-container {
        height: 550px;
    }
    
    .carousel-item {
        height: 550px;
    }
    
    .carousel-image-container {
        height: 200px;
    }
    
    .carousel-text-container {
        min-height: 150px;
    }
    
    .carousel-control-prev,
    .carousel-control-next {
        top: 100px;
        width: 32px;
        height: 32px;
    }
    
    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        width: 14px;
        height: 14px;
    }
    
    .value-title {
        font-size: 1.3rem;
    }
    
    .value-description {
        font-size: 0.9rem;
    }
    
    .main-carousel {
        height: calc(100vh - 60px);
        margin-top: 60px;
    }
    
    .carousel-item {
        height: calc(100vh - 60px);
    }
}