/* Tipografía general */
html, body {
  min-height: 100%;
  height: auto;
  overflow-y: auto;      /* fuerza el scroll si hay más contenido */
  overflow-x: hidden;    /* evita scroll horizontal accidental */
}

body {
    font-family: 'Lato', sans-serif;
    color: #333;
    background-color: #ffffff;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    padding-bottom: var(--footer-h);
}

main {
    flex: 1;
    width: 100%;
    overflow: hidden;
    padding: 0;
    margin: 0;
    position: relative;
    background-color: #ffffff;
}

img {
    display: block;
    margin: 0;
}

/* Colores de marca */
:root {
    --primary-color: #356A60;
    --accent-color2: #386B62; 
    --accent-color: #FFD600;
    --text-color: #333333;
    --light-bg: #f8f8f8;
    --white: #ffffff;
    
}

/* Header */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--white);
    padding: 0.5rem 1rem;
    flex-wrap: wrap;
}

.logo {
    max-width: 150px;
    height: auto;
    color: var(--primary-color);
}

/* Navbar */
.navbar .nav-list {
    list-style: none;
    display: flex;
    gap: 1rem;
    margin: 0;
    padding: 0;
    transform: translateX(-60px);
}

.navbar .nav-list li a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.3s, border-bottom 0.3s;
    padding: 0.25rem 0;
}

.navbar .nav-list li a:hover {
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
}

/* === FOOTER (DISEÑO MEJORADO) === */
.footer {
    background-color: var(--primary-color);
    color: var(--white);
    line-height: 1.7;
}

.footer-main {
    padding: 3rem 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.footer-col h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--accent-color, #FFD600); /* Color de acento para los títulos */
}

.footer-logo-main {
    width: 120px;
    margin-bottom: 1rem;
}

.footer-col .tagline {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
}

/* Listas de enlaces y contacto */
.footer-links, .footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li, .footer-contact li {
    margin-bottom: 0.7rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s, padding-left 0.3s;
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 5px;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    color: rgba(255, 255, 255, 0.8);
}

.footer-contact i {
    margin-right: 10px;
    margin-top: 5px;
    width: 15px;
    text-align: center;
}

/* Íconos Sociales en el Footer */
.footer-social-icons {
    display: flex;
    gap: 1rem;
}

.footer-social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border-radius: 50%;
    text-decoration: none;
    font-size: 1rem;
    transition: background-color 0.3s, transform 0.3s;
}

.footer-social-icons a:hover {
    background-color: var(--accent-color, #FFD600);
    color: var(--primary-color);
    transform: translateY(-3px);
}

/* Barra inferior de copyright */
.footer-bottom {
    background-color: rgba(0, 0, 0, 0.2);
    text-align: center;
    padding: 1rem 0;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Eliminamos los estilos antiguos y conflictivos */
.footer-content {
    display: none; /* Ya no usamos esta clase */
}

/* === ESTILOS PARA PRIVACIDAD Y LIBRO DE RECLAMACIONES === */

/* Estilo para el enlace del Libro de Reclamaciones en el footer */
.libro-reclamaciones-link {
    display: inline-block;
    margin-top: 1.5rem;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 8px;
    transition: border-color 0.3s;
}
.libro-reclamaciones-link:hover {
    border-color: var(--white);
}

.libro-reclamaciones-link img {
    display: block;
    width: 140px; /* Ancho ajustable */
    height: auto;
}

/* Estilos para la casilla de verificación en el formulario de contacto */
.form-check {
    display: flex;
    align-items: center;
    margin-top: 1rem;
    margin-bottom: 1.5rem;
}

.form-check-input {
    width: 1em;
    height: 1em;
    margin-top: 0;
    margin-right: 0.7em;
    cursor: pointer;
}

.form-check-label {
    font-size: 0.9rem;
    color: #555;
}

.form-check-label a {
    color: var(--primary-color);
    text-decoration: underline;
    font-weight: 600;
}

/* WhatsApp Button (Ajustado) */
.whatsapp {
    position: fixed;
    bottom: 30px; /* Aumentado de 20px a 30px */
    right: 30px;  /* Aumentado de 20px a 30px */
    background-color: #25D366;
    color: var(--white);
    padding: 0.9rem; /* Un poco más grande */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3); /* Sombra más notoria */
    z-index: 1000;
    transition: transform 0.3s, background-color 0.3s;
}

.whatsapp:hover {
    transform: scale(1.1);
    background-color: #1ebe5d;
}

.whatsapp svg {
    width: 30px; /* Ícono un poco más grande */
    height: 30px;
}

/* Text hierarchy */
h1,
h2,
h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

h1 {
    font-size: 2rem;
    font-weight: 700;
}

h2 {
    font-size: 1.5rem;
    font-weight: 600;
}

h3 {
    font-size: 1.2rem;
    font-weight: 600;
}

p {
    font-size: 1rem;
    color: var(--text-color);
}

/* === SLIDER CORREGIDO === */
.slider {
    width: 100%;
    height: min(100vh, calc(100vw * 9 / 16));
    overflow: hidden;
    position: relative;
    background-color: #ffffff;
}

.swiper,
.swiper-slide {
    width: 100%;
    height: 100%;
}

.swiper-slide img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    object-position: center;
}

.img-slider {
    width: 100%;
    height: 100%;
}

/* === NOSOTROS === */
.nosotros {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr; /* Mantenemos tu layout 60/40 */
    align-items: center;
    gap: clamp(2rem, 5vw, 4rem);
    width: 100%;
    padding: 2rem;
    background-color: #fdfdfd;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.nosotros-texto h1 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    color: var(--primary-color);
    margin-bottom: 20px;
    border-left: 4px solid var(--primary-color);
    padding-left: 15px;
    font-weight: 700;
}

.nosotros-texto p {
    font-size: 1rem;
    color: #555;
    margin-bottom: 15px;
}

/* Estilos mejorados para tu lista */
.nosotros-texto .nosotros-list {
    list-style: none; /* Quitamos los puntos por defecto */
    padding-left: 0;
    margin-top: 20px;
}

.nosotros-texto .nosotros-list li {
    margin-bottom: 12px;
    color: #444;
    padding-left: 30px; /* Espacio para el ícono */
    position: relative;
    font-size: 0.95rem;
}

/* Añadimos el ícono de check usando ::before */
.nosotros-texto .nosotros-list li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--primary-color);
    position: absolute;
    left: 0;
    top: 3px;
    font-size: 1.1rem;
}

.nosotros-img img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
}

/* Responsivo para apilar en móviles */
@media (max-width: 900px) {
    .nosotros {
        grid-template-columns: 1fr; /* Una sola columna */
        padding: 1.5rem;
        gap: 2rem;
    }
    .nosotros-img {
        order: -1; /* Pone la imagen primero en móvil */
    }
}

/* === SECCIÓN PILARES (AÑADIDO PARA NOSOTROS) === */

.pilares-section {
    margin-top: 4rem;
    text-align: center;
}

.pilares-section h3 {
    font-size: clamp(1.5rem, 3vw, 1.8rem);
    font-weight: 700;
    margin-bottom: 2.5rem;
    color: var(--text-color);
}

.pilar {
    background-color: var(--light-bg, #f8f8f8);
    padding: 25px;
    border-radius: 8px;
    border: 1px solid #eee;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    margin-bottom: 1rem;
}

.pilar:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.pilar .icon {
    font-size: 2.8rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.pilar h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #333;
}

.pilar p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
}

.final-statement {
    margin-top: 3rem;
    font-size: 1.15rem;
    font-weight: 600;
    text-align: center;
    color: #333;
    padding: 1rem;
    background-color: var(--light-bg, #f8f8f8);
    border-left: 4px solid var(--accent-color, #FFD600);
    border-radius: 0 4px 4px 0;
}


/* === ESTILOS MEJORADOS PARA PRODUCTOS === */

.productos-main {
    padding: 2rem 1rem;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.productos-grid {
    display: grid;
    /* Ajustamos para que quepan 5 columnas en pantallas grandes, y menos en pequeñas */
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

/* Cambiamos el nombre de .producto a .producto-card para más claridad */
.producto-card {
    background-color: var(--light-bg, #f8f8f8);
    padding: 1.5rem 1rem;
    border-radius: 16px; /* Más redondeado */
    box-shadow: 0 4px 15px rgba(0,0,0,0.07);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

.producto-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.producto-card img {
    width: 150px; /* Tamaño fijo para la imagen */
    height: 150px;
    object-fit: cover;
    border-radius: 5%; /* Círculo perfecto */
    margin-bottom: 1rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.producto-card h2 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 1rem;
}

/* Estilo del nuevo botón */
.btn-ver-detalles {
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 20px;
    padding: 0.5rem 1.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    transition: background-color 0.3s;
}

.btn-ver-detalles:hover {
    background-color: #2a554c; /* Un tono más oscuro de tu color primario */
    color: var(--white);
}

/*
 * CSS FINAL Y CORREGIDO PARA EL MODAL DE BOOTSTRAP
 */

/* Contenedor principal dentro del modal-body */
.modal-body.modal-content-option2 {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f4f7f9;
    display: grid;
    gap: 20px;
    padding: 20px;
}

/* Texto de introducción */
.modal-body.modal-content-option2 .intro-text {
    font-size: 1em;
    line-height: 1.6;
    color: #555;
    text-align: center;
    margin-bottom: 10px;
}

/* Estilo para cada "tarjeta" de sección */
.modal-body.modal-content-option2 .section-card {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
    border-left: 4px solid;
}

/* Colores de borde para las tarjetas */
.modal-body.modal-content-option2 .section-card.uses { border-left-color: #4CAF50; }
.modal-body.modal-content-option2 .section-card.benefits { border-left-color: #03A9F4; }
.modal-body.modal-content-option2 .section-card.recommendations { border-left-color: #FFC107; }

/* Estilo para los títulos de sección (h4) */
.modal-body.modal-content-option2 h4 {
    font-size: 1.25em;
    font-weight: 700;
    color: #333;
    margin-top: 0;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* === CAMBIO 1: ÍCONOS DE TÍTULO EN GRIS === */
.modal-body.modal-content-option2 h4 .title-icon {
    font-size: 1.3em;
}

.material-symbols-outlined{
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
  font-size: 26px;         /* tamaño del ícono */
  color: #356A60;          /* verde Achka */
  vertical-align: -4px;    /* opcional: alinear con el título */
}
/* Si los quieres rellenos: 'FILL' 1 */


/* Estilo para las listas */
.modal-body.modal-content-option2 ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.modal-body.modal-content-option2 li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 12px; /* Un poco más de espacio vertical entre ítems */
    line-height: 1.6;
    font-size: 0.95em;
    color: #444;
}

/* === CAMBIO 2: ESPACIO PARA EL TEXTO "PEGADO" === */
.modal-body.modal-content-option2 li strong {
    white-space: nowrap; /* Evita que el texto en negrita se parta */
    margin-right: 0.5em; /* Añade un espacio a la derecha del texto en negrita */
}

/* Estilo para los iconos de la lista (bullets) */
.modal-body.modal-content-option2 .list-bullet {
    margin-right: 10px;
    margin-top: 2px;
    font-size: 1.1em;
    flex-shrink: 0;
}

.modal-body.modal-content-option2 .list-bullet.check { color: #4CAF50; }
.modal-body.modal-content-option2 .list-bullet.cross { color: #F44336; }

.material-symbols-outlined{
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
  font-size: 26px;         /* tamaño del ícono */
  color: rgb(130, 141, 139);     
  vertical-align: -4px;    /* opcional: alinear con el título */
}

h4 .bi {
    color: rgb(130, 141, 139);
}
/* Si los quieres rellenos: 'FILL' 1 */


/* === SERVICIOS === */
.servicios-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2.5rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 3rem; /* Espacio entre las secciones de servicio */
}

.servicios-main h1 {
    font-size: clamp(2rem, 5vw, 3rem); /* Título principal adaptable */
    color: var(--primary-color);
    margin-bottom: 2.5rem;
    font-weight: 700;
}

/* Estilos de la tarjeta de servicio principal (texto + imagen) */
.servicio-card {
    display: flex;
    align-items: center;
    gap: 2.5rem; /* Espacio entre el texto y la imagen */
    flex-wrap: wrap; /* Permite que los elementos se apilen en pantallas pequeñas */
    background-color: var(--light-bg);
    border-radius: 12px;
    padding: clamp(2rem, 4vw, 3rem);
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    max-width: 1000px;
    width: 100%;
    text-align: left; /* Alinea el texto a la izquierda */
}

.servicio-texto {
    flex: 1;
    min-width: 280px; /* Ancho mínimo para que no se comprima demasiado */
}

.servicio-texto h2 {
    font-size: clamp(1.6rem, 3.5vw, 2.2rem);
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

.servicio-texto h3 {
    font-size: 1.2rem;
    color: var(--text-color);
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.servicio-texto p {
    font-size: 1rem;
    color: var(--text-color);
    margin-bottom: 1rem;
    line-height: 1.7;
}

.servicio-texto ul {
    list-style: none; /* Quitamos los puntos por defecto */
    padding-left: 0;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.servicio-texto ul li {
    padding-left: 25px;
    position: relative;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    color: #444;
}

.servicio-texto ul li::before {
    content: '\f00c'; /* Ícono de check de Font Awesome */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--accent-color, #FFD600);
    position: absolute;
    left: 0;
    top: 3px;
    font-size: 1.1rem;
}

.servicio-texto .tagline {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color ); /* Usamos tu color de acento */
    border-left: 5px solid var(--primary-color);
    padding-left: 1rem;
    margin-top: 2rem;
    display: inline-block; /* Para que el borde no ocupe todo el ancho */
}

.servicio-imagen {
    flex: 1;
    min-width: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.servicio-imagen img {
    width: 100%;
    max-width: 450px; /* Límite para la imagen */
    height: auto;
    border-radius: 8px;
    object-fit: contain; /* Para que la imagen se vea completa */
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* Responsive para la tarjeta de servicio */
@media (max-width: 991.98px) {
    .servicio-card {
        flex-direction: column; /* Apila elementos en móvil */
        text-align: center;
        padding: 2rem 1.5rem;
    }
    .servicio-texto {
        order: 2; /* Texto debajo de la imagen */
        text-align: center;
    }
    .servicio-texto ul {
        text-align: left; /* Mantiene la lista alineada a la izquierda */
        margin-left: auto;
        margin-right: auto;
        max-width: 350px;
    }
    .servicio-imagen {
        order: 1; /* Imagen arriba */
        margin-bottom: 1.5rem;
    }
    .servicio-texto .tagline {
        display: block; /* Para que ocupe su propio bloque */
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }
}

/* Sección de Beneficios  */
.beneficios-maquila h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    color: var(--primary-color);
    margin-bottom: 3rem;
    font-weight: 700;
}

.beneficio-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

.beneficio-item .icon {
    font-size: 3rem;
    color: var(--light-bg); /* Color de acento para los íconos */
    margin-bottom: 1.2rem;
}

.beneficio-item h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--accent-color, #FFD600);
    margin-bottom: 0.8rem;
}

.beneficio-item p {
    font-size: 0.95rem;
    color: #e9dada;
    line-height: 1.6;
}

/* ================================== */
/* === ESTILOS PARA ESCRITORIO (Desktop) === */
/* ================================== */

.beneficios-maquila {
    margin-top: 4rem;
    width: 100%;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.beneficios-grid {
    display: flex;
    flex-wrap: nowrap;
    gap: 2rem; /* 32px */
    animation: slide-infinite-desktop 25s linear infinite;
}

.beneficio-item {
    flex-shrink: 0;
    width: 240px;
    height: 260px;
    background-color: #30a765;
    padding: 1.8rem;
    border-radius: 12px;
    box-shadow: 0 4px 18px rgba(0,0,0,0.06);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.beneficios-maquila:hover .beneficios-grid {
    animation-play-state: paused;
}

.beneficio-item:hover {
    transform: scale(1.05);
}

/* Animación para Escritorio */
@keyframes slide-infinite-desktop {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-5 * (240px + 2rem))); }
}


/* ================================== */
/* === ESTILOS PARA TABLETAS (Tablet) === */
/* ================================== */
@media (max-width: 768px) {
    .beneficios-grid {
        gap: 1.5rem; /* 24px */
        /* Usamos una nueva animación para este tamaño */
        animation-name: slide-infinite-tablet;
    }

    .beneficio-item {
        width: 200px; /* Ancho más pequeño */
        height: 220px; /* Alto más pequeño */
        padding: 1.5rem;
    }

    /* ¡IMPORTANTE! Redefinimos la animación con los nuevos valores */
    @keyframes slide-infinite-tablet {
        0% { transform: translateX(0); }
        100% { transform: translateX(calc(-5 * (200px + 1.5rem))); }
    }
}


/* ================================== */
/* === ESTILOS PARA MÓVILES (Mobile) === */
/* ================================== */
@media (max-width: 480px) {
    .beneficios-grid {
        gap: 1rem; /* 16px */
        /* Y otra animación para móviles */
        animation-name: slide-infinite-mobile;
    }

    .beneficio-item {
        width: 160px; /* Aún más pequeño */
        height: 180px; /* Aún más pequeño */
        padding: 1.2rem;
    }
    
    /* Redefinimos la animación OTRA VEZ con los valores de móvil */
    @keyframes slide-infinite-mobile {
        0% { transform: translateX(0); }
        100% { transform: translateX(calc(-5 * (160px + 1rem))); }
    }
}

/* === CLIENTES (DISEÑO MEJORADO) === */
.clientes-main {
    max-width: 1100px;
    margin: 0 auto;
    padding: 2.5rem 1rem;
    text-align: center;
}

.clientes-main h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.clientes-main .subtitle {
    font-size: 1.1rem;
    color: var(--text-color);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* SECCIÓN DE TESTIMONIO */
.testimonial {
    background-color: var(--light-bg, #f8f8f8);
    border-left: 5px solid var(--primary-color);
    border-radius: 8px;
    padding: 2rem;
    margin: 0 auto 3.5rem auto;
    max-width: 800px;
    text-align: center;
}

.testimonial blockquote {
    font-size: 1.2rem;
    font-style: italic;
    color: #333;
    line-height: 1.6;
    margin: 0;
    border: none;
    padding: 0;
}

.testimonial cite {
    display: block;
    margin-top: 1rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-color);
    font-style: normal;
}

/* CUADRÍCULA DE LOGOS */
.clients-slider {
   overflow: hidden;
   -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent); 
}
.clientes-grid {
    display: flex; /* Usamos flexbox para mejor alineación y distribución */
    flex-wrap: nowrap; /* Permite que los logos pasen a la siguiente línea */
    gap: 2rem;
    align-items: center;
    animation: slide-infinite-desktop 40s linear infinite;
}

/* Pausa la animación al pasar el ratón (mejora la experiencia de usuario) */
.clients-slider:hover .clientes-grid {
    animation-play-state: paused;
}

/* Contenedor para dar forma y tamaño uniforme */
.cliente-logo-wrapper {
    flex-shrink: 0;
    background-color: #fff;
    width: 150px;
    height: 150px;
    border-radius: 50%; /* ¡Logos redondeados! */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0rem; /* Espacio interno para que el logo no se pegue al borde */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cliente-logo-wrapper:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.cliente-logo-wrapper img {
    max-width: 100%;
    max-height: 100%;
    border-radius: 50%; 
    object-fit: contain; /* Asegura que el logo se vea completo y no se deforme */
    /* Efecto grayscale (opcional pero muy profesional) */
    filter: grayscale(100%);
    opacity: 0.8;
    transition: filter 0.3s ease, opacity 0.3s ease;
}

.cliente-logo-wrapper:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

/* === ¡AQUÍ ESTÁ LA PARTE QUE FALTABA! === */
/* Definición de la animación */
@keyframes slide-infinite-desktop {
    0% {
        transform: translateX(0);
    }
    100% {
        /*
        La animación mueve el contenedor hacia la izquierda.
        El cálculo es: (Número de logos ORIGINALES) x (ancho del logo + gap)
        Asumiendo que tienes 6 logos originales:
        */
        transform: translateX(calc(-6 * (150px + 2rem)));
    }
}

/* SECCIÓN CALL TO ACTION (CTA) */
.cta-clientes {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 2.5rem;
    border-radius: 12px;
    margin-top: 2rem;
}

.cta-clientes h2 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: var(--white);
}

.cta-clientes p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
}

.btn-cta {
    background-color: var(--accent-color, #FFD600);
    color: #333;
    text-decoration: none;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    transition: background-color 0.3s ease, transform 0.3s ease;
    display: inline-block;
}

.btn-cta:hover {
    background-color: #ffe44d; /* Un amarillo más brillante al pasar el cursor */
    transform: scale(1.05);
}

/* === CONTACTO (DISEÑO MEJORADO) === */
.contact-page {
    padding: 4rem 0;
    background-color: #fff;
}

.contact-page .container .row {
    background-color: var(--light-bg, #f8f8f8);
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    overflow: hidden; /* Para que el mapa no se salga de los bordes redondeados */
}

.contact-form-wrapper {
    padding: clamp(2rem, 5vw, 4rem);
}

.contact-form-wrapper h1 {
    font-size: clamp(2rem, 5vw, 2.8rem);
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.contact-form-wrapper .subtitle {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

/* Información de contacto con íconos */
.contact-info {
    margin-bottom: 2rem;
}

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.2rem;
    font-size: 1rem;
    color: #333;
}

.info-item i {
    font-size: 1.2rem;
    color: var(--primary-color);
    width: 30px; /* Ancho fijo para alinear el texto */
    margin-right: 10px;
}

/* Íconos de Redes Sociales */
.contact-social-icons {
    margin-bottom: 2.5rem;
    display: flex;
    gap: 1rem;
}

.contact-social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #e9e9e9;
    color: var(--primary-color);
    border-radius: 50%;
    text-decoration: none;
    font-size: 1.1rem;
    transition: background-color 0.3s, color 0.3s;
}

.contact-social-icons a:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

/* Formulario */
.contact-form h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 1.5rem;
    border-top: 1px solid #ddd;
    padding-top: 2rem;
}

.contact-form .form-group {
    margin-bottom: 1rem;
}

.contact-form .form-control {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Lato', sans-serif;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.contact-form .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(53, 106, 96, 0.2);
    outline: none;
}

.btn-submit {
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 0.8rem 2.5rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
    width: 100%;
    margin-top: 1rem;
}

.btn-submit:hover {
    background-color: #2a554c; /* Tono más oscuro de tu color primario */
    transform: translateY(-3px);
}

/* Columna del Mapa */
.map-wrapper {
    padding: 0;
    min-height: 400px; /* Altura mínima en móviles */
}

.map-wrapper iframe {
    width: 100%;
    height: 100%;
    display: block;
}

/* === LIBRO DE RECLAMACIONES === */

.reclamaciones-page {
    padding: 4rem 1rem;
    background-color: #fff;
}

.reclamaciones-page h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-weight: 700;
    text-align: center;
}

.reclamaciones-page .subtitle {
    font-size: 1.1rem;
    color: var(--text-color);
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.form-wrapper {
    background-color: var(--light-bg, #f8f8f8);
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    padding: clamp(1.5rem, 4vw, 3rem);
    max-width: 900px;
    margin: 0 auto;
}

.form-wrapper fieldset {
    border: none;
    padding: 0;
    margin: 0 0 2rem 0;
}

.form-wrapper legend {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-color);
    width: 100%;
}

.form-wrapper legend i {
    margin-right: 10px;
}

.form-wrapper .form-group {
    margin-bottom: 1.2rem;
}

.form-wrapper .form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #444;
}

/* Reutilizamos el estilo del formulario de contacto */
.form-wrapper .form-control {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Lato', sans-serif;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-wrapper .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(53, 106, 96, 0.2);
    outline: none;
}

.radio-group {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    margin-bottom: 1.5rem;
}

.radio-group input[type="radio"] {
    margin-right: 0.5rem;
    transform: scale(1.2);
    accent-color: var(--primary-color);
}

.radio-group label {
    margin-bottom: 0;
    font-size: 1.1rem;
}

.info-proveedor {
    background-color: #e9ecef;
    border-radius: 8px;
    padding: 1rem;
    margin: 2rem 0;
    font-size: 0.9rem;
}
.info-proveedor p {
    margin: 0.2rem 0;
}

.aviso-legal {
    font-size: 0.85rem;
    color: #666;
    margin: 1rem 0;
}

/* === PÁGINA DE POLÍTICA DE PRIVACIDAD === */

.privacy-policy-page {
    padding: 4rem 1rem;
    background-color: #fff;
}

.privacy-policy-page .container {
    max-width: 800px; /* Ancho ideal para la lectura de textos largos */
}

.privacy-policy-page h1 {
    font-size: clamp(2rem, 5vw, 2.8rem);
    font-weight: 700;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 0.5rem;
}

.privacy-policy-page .last-updated {
    text-align: center;
    font-style: italic;
    color: #888;
    margin-bottom: 3rem;
}

.privacy-policy-page .section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-color);
}

.privacy-policy-page h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-color);
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.privacy-policy-page p,
.privacy-policy-page li {
    font-size: 1rem;
    line-height: 1.7; /* Espaciado generoso para facilitar la lectura */
    color: #444;
}

.privacy-policy-page ul {
    list-style-position: inside;
    padding-left: 1rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.privacy-policy-page a {
    color: var(--primary-color);
    text-decoration: underline;
}

.privacy-policy-page a:hover {
    color: #2a554c;
}

.privacy-policy-page .contact-details {
    background-color: var(--light-bg, #f8f8f8);
    border-left: 4px solid var(--primary-color);
    padding: 1rem 1.5rem;
    margin-top: 1rem;
    border-radius: 0 8px 8px 0;
}