/*
Theme Name: Insumedic Theme
Theme URI: https://insumedic.com
Description: Tema personalizado para Insumedic - Sitio médico con diseño moderno
Author: Tu Nombre
Version: 1.0
Text Domain: insumedic
*/

:root {
    --color-primary: #5DAFB8;
    --color-secondary: #4A9BA3;
    --color-text: #333333;
    --color-text-light: #666666;
    --color-white: #FFFFFF;
    --color-gray-light: #F5F5F5;
    --font-primary: 'Poppins', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-primary);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Utilidades */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 40px;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.btn-primary {
    background: var(--color-primary);
    color: var(--color-white);
    padding: 12px 30px;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-primary:hover {
    background: var(--color-secondary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(93, 175, 184, 0.3);
}

/* Top Bar (Barra superior) */
.top-bar {
    background: var(--color-primary);
    color: var(--color-white);
    padding: 5px 0;
    font-size: 0.85rem;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-email {
    color: var(--color-white);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: opacity 0.3s ease;
    font-size: 13px;
}

.top-email:hover {
    opacity: 0.8;
}

.top-email i {
    font-size: 12px;
}

.social-icons-top {
    display: flex;
    gap: 12px;
}

.social-icons-top a {
    color: var(--color-white);
    font-size: 14px;
    transition: opacity 0.3s ease;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-icons-top a:hover {
    opacity: 0.7;
}

/* Main Header */
.site-header {
    background: var(--color-white);
    box-shadow: 0 1px 5px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 18px 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo a {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo-insumedic {
    font-size: 26px;
    font-weight: 700;
    color: var(--color-primary);
    letter-spacing: 0.5px;
}

.logo-laguna {
    font-size: 11px;
    font-weight: 400;
    color: var(--color-text-light);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-top: 2px;
}

.site-logo img {
    height: 70px;
    width: 180px;
}

.main-navigation {
    flex: 1;
    display: flex;
    justify-content: center;
}

.main-navigation ul {
    display: flex;
    list-style: none;
    gap: 35px;
    margin: 0;
    padding: 0;
}

.main-navigation a {
    color: var(--color-text);
    text-decoration: none;
    font-weight: 400;
    font-size: 15px;
    transition: color 0.3s ease;
    position: relative;
}

.main-navigation a:hover {
    color: var(--color-primary);
}

.main-navigation a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-primary);
    transition: width 0.3s ease;
}

.main-navigation a:hover::after {
    width: 100%;
}

.header-phone-btn {
    display: flex;
    align-items: center;
}

.btn-phone {
    background: var(--color-primary);
    color: var(--color-white);
    padding: 12px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    font-size: 15px;
}

.btn-phone:hover {
    background: var(--color-secondary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(93, 175, 184, 0.3);
}

.btn-phone i {
    font-size: 14px;
}

/* Hero Section */
.hero-section {
    background-size: cover;
    background-position: left center;
    background-repeat: no-repeat;
    background-attachment: scroll;
    color: var(--color-white);
    position: relative;
    overflow: hidden;
    min-height: 550px;
    display: flex;
    align-items: center;
    padding: 60px 0 80px;
    margin-bottom: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    min-height: 600px;
}

.hero-text {
    grid-column: 2;
    max-width: 100%;
    text-align: left;
}

.hero-text h1 {
    font-size: 3.2rem;
    margin-bottom: 25px;
    line-height: 1.15;
    font-weight: 400;
}

.hero-text p {
    font-size: 0.95rem;
    margin-bottom: 35px;
    opacity: 0.95;
    line-height: 1.7;
}

/* Curva SVG decorativa */
.hero-wave {
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 100%;
    height: 100px;
    pointer-events: none;
    z-index: 10;
}

.hero-wave svg {
    display: block;
    width: 100%;
    height: 100%;
}

/* Asegurarse de que NO haya ::after en hero */
.hero-section::after {
    display: none !important;
}

/* Productos Section */
.productos-section {
    background: var(--color-white);
    position: relative;
    z-index: 4;
}

.productos-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    margin-top: 50px;
}

.producto-item {
    text-align: center;
    padding: 30px 20px;
    border-radius: 10px;
    transition: all 0.3s ease;
    cursor: pointer;
    flex: 0 0 calc(50% - 20px);
    max-width: calc(50% - 20px);
    min-width: 200px;
}

.producto-item:hover {
    /* background: var(--color-gray-light); */
    transform: translateY(-5px);
}

.producto-icon {
    width: 150px;
    height: 150px;
    margin: 0 auto 20px;
}

.producto-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.producto-item h3 {
    font-size: 1rem;
    color: var(--color-text);
    font-weight: 500;
    max-width:150px
}

/* Video Section */
.video-section {
    background: var(--color-gray-light);
    text-align: center;
}

.video-container {
    max-width: 800px;
    margin: 0 auto;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.video-container video,
.video-container iframe {
    width: 100%;
    height: 450px;
    border: none;
}

/* Servicios Section */
.servicios-section {
    background: var(--color-primary);
    color: var(--color-white);
    position: relative;
    z-index: 1;
}

.servicios-section .section-title {
    color: var(--color-white);
    position: relative;
    z-index: 10;
    margin-bottom: 40px;
}

.servicios-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.servicios-carousel {
    position: relative;
}

.carousel-images {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0,0,0,0.2);
    max-height: 500px;
    height: 500px;
}

.carousel-image {
    display: none;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-image.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot.active {
    background: var(--color-white);
    width: 30px;
    border-radius: 6px;
}

.servicios-text-list {
    max-height: 500px;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 20px;
    padding-top: 100px; /* Reducido para el scroll infinito */
    padding-bottom: 100px; /* Reducido para el scroll infinito */
    scroll-behavior: auto; /* Cambiado a auto para el control manual del scroll */
    position: relative;
    /* Ocultar scrollbar */
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
}

/* Ocultar scrollbar en Chrome/Safari */
.servicios-text-list::-webkit-scrollbar {
    display: none;
}

/* Gradiente blur en la parte superior */
.servicios-text-list::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 150px;
    background: linear-gradient(180deg, 
        rgba(93, 175, 184, 1) 0%, 
        rgba(93, 175, 184, 0) 100%);
    pointer-events: none;
    z-index: 10;
}

/* Gradiente blur en la parte inferior */
.servicios-text-list::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 150px;
    background: linear-gradient(0deg, 
        rgba(93, 175, 184, 1) 0%, 
        rgba(93, 175, 184, 0) 100%);
    pointer-events: none;
    z-index: 10;
}

.servicio-text-item {
    padding: 20px;
    margin-bottom: 15px;
    border-radius: 10px;
    background: transparent; /* SIN fondo */
    transition: all 0.4s ease;
    opacity: 0.4; /* Muy transparente cuando no está activo (gris apagado) */
    color: rgba(255, 255, 255, 0.5); /* Texto gris apagado */
}

.servicio-text-item.active {
    background: transparent; /* SIN fondo incluso cuando está activo */
    opacity: 1; /* Completamente visible */
    color: rgba(255, 255, 255, 1); /* Texto blanco brillante */
    transform: scale(1.05); /* Ligeramente más grande */
}

.servicio-text-item h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: inherit; /* Hereda el color del padre */
}

.servicio-text-item ul {
    list-style: none;
    padding-left: 0;
}

.servicio-text-item li {
    padding: 5px 0;
    padding-left: 20px;
    position: relative;
    color: inherit; /* Hereda el color del padre */
}

.servicio-text-item li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: inherit; /* Hereda el color del padre */
    font-weight: bold;
}

/* Asegurar colores correctos en el estado activo */
.servicio-text-item.active h3,
.servicio-text-item.active li,
.servicio-text-item.active li::before {
    color: rgba(255, 255, 255, 1); /* Blanco brillante */
}

/* Los clones tienen los mismos estilos */
.servicio-text-item.clone-before,
.servicio-text-item.clone-after {
    padding: 20px;
    margin-bottom: 15px;
    border-radius: 10px;
    background: transparent;
    transition: all 0.4s ease;
    opacity: 0.4;
    color: rgba(255, 255, 255, 0.5);
}

/* Los clones cuando están activos */
.servicio-text-item.clone-before.active,
.servicio-text-item.clone-after.active {
    background: transparent;
    opacity: 1;
    color: rgba(255, 255, 255, 1);
    transform: scale(1.05);
}

/* Nosotros Section */
.nosotros-section {
    background: var(--color-white);
}

.nosotros-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.nosotros-image {
  margin:10%;
  box-shadow: 20px 20px var(--color-primary);
  line-height: 0;
}

.nosotros-image img {
    width: 100%;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.nosotros-text h2 {
    color: var(--color-primary);
    font-size: 2rem;
    margin-bottom: 20px;
}

.nosotros-text p {
    margin-bottom: 15px;
    line-height: 1.8;
    color: var(--color-text-light);
}

/* Vision/Mision Section */
.vision-section {
    background: var(--color-white);
    color: var(--color-white);
    position: relative;
    padding: 0 !important;
}

.vision-section .container {
    max-width: 100%;
    padding: 0;
}

.vision-container {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    position: relative;
    min-height: 600px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: background-image 0.5s ease;
    padding: 60px;
}

/* Overlay oscuro para mejor legibilidad */
.vision-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.vision-text-wrapper {
    position: relative;
    z-index: 2;
    max-width: 600px;
    padding-left: 80px; /* Espacio para los dots */
}

.vision-content {
    opacity: 0;
    display: none;
    transition: opacity 0.5s ease;
}

.vision-content.active {
    opacity: 1;
    display: block;
}

.vision-content h3 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.vision-content ul {
    list-style: none;
    padding-left: 0;
}

.vision-content li {
    padding: 10px 0;
    padding-left: 30px;
    position: relative;
    font-size: 1.1rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.vision-content li::before {
    content: '✓';
    position: absolute;
    left: 0;
    font-weight: bold;
    color: var(--color-white);
}

/* Dots a la izquierda */
.vision-toggle {
    position: absolute;
    left: 30px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column; /* Vertical */
    gap: 20px;
    z-index: 2;
}

.vision-toggle-btn {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid rgba(255,255,255,0.8);
}

.vision-toggle-btn.active {
    background: var(--color-white);
    transform: scale(1.4);
    box-shadow: 0 0 10px rgba(255,255,255,0.6);
}

/* Ya no necesitamos vision-image */
.vision-image {
    display: none;
}

/* Contacto Section */
.contacto-section {
    background: var(--color-gray-light);
}

.contacto-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.contacto-form {
    background: var(--color-white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--color-text);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.contacto-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

/* Google Maps Section */
.maps-section {
    background: var(--color-light);
    padding: 80px 0;
}

.maps-section .section-title {
    text-align: center;
    margin-bottom: 15px;
}

.maps-section .section-subtitle {
    text-align: center;
    color: var(--color-text-light);
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.maps-container {
    max-width: 1200px;
    margin: 0 auto;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.maps-container iframe {
    display: block;
    width: 100%;
    height: 450px;
    border: 0;
}

/* Marcas/Clientes Section */
.marcas-section {
    background: var(--color-white);
    color: var(--color-text);
    padding: 80px 0;
    overflow: hidden;
}

.marcas-section .section-title {
    text-align: center;
    margin-bottom: 20px;
    color: var(--color-primary);
    font-size: 2rem;
    font-weight: 600;
}

.marcas-section .section-subtitle {
    text-align: center;
    margin-bottom: 60px;
    color: var(--color-text-light);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.1rem;
    line-height: 1.6;
}

.marcas-carousel-wrapper {
    position: relative;
    overflow: hidden;
    padding: 40px 0;
}

/* Degradados en los bordes */
.marcas-carousel-wrapper::before,
.marcas-carousel-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 150px;
    z-index: 10;
    pointer-events: none;
}

.marcas-carousel-wrapper::before {
    left: 0;
    background: linear-gradient(90deg, 
        rgba(255, 255, 255, 1) 0%, 
        rgba(255, 255, 255, 0.9) 30%,
        rgba(255, 255, 255, 0) 100%);
}

.marcas-carousel-wrapper::after {
    right: 0;
    background: linear-gradient(270deg, 
        rgba(255, 255, 255, 1) 0%, 
        rgba(255, 255, 255, 0.9) 30%,
        rgba(255, 255, 255, 0) 100%);
}

.marcas-carousel {
    display: flex;
    gap: 80px;
    align-items: center;
    width: max-content;
    animation: none;
    will-change: transform;
}

.marca-item {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100px;
    min-width: 150px;
    padding: 0px;
    opacity: 1;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.marca-item:hover {
    opacity: 1;
    transform: scale(1.05);
}

.marca-item img {
    max-height: 200px;
    max-width: 200px;
    height: 200px;
    width: 200px;
    object-fit: contain;
    filter: grayscale(100%) opacity(0.6);
    transition: all 0.3s ease;
}

.marca-item:hover img {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.1);
}

/* Footer */
.site-footer {
    background: var(--color-secondary);
    color: var(--color-white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    padding: 8px 0;
}

.footer-section a {
    color: var(--color-white);
    text-decoration: none;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.footer-section a:hover {
    opacity: 1;
}

/* Iconos de redes sociales en footer */
.footer-section .social-icons {
    display: flex;
    gap: 15px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.footer-section .social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--color-white);
    font-size: 20px;
    transition: all 0.3s ease;
    text-decoration: none;
    opacity: 1;
}

.footer-section .social-icons a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
    opacity: 1;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.2);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section {
        min-height: 500px;
        display: flex;
        align-items: flex-end;
        padding: 20px 0;
        padding-bottom: 0;
    }

    .hero-content {
        display: block;
        width: 100%;
        padding: 0;
        min-height: auto;
    }

    .hero-text {
        max-width: 100%;
        width: 100%;
        text-align: left;
        margin: 0;
        padding: 30px 20px;
        padding-bottom: 40px;
        background: linear-gradient(to bottom, transparent 0%, rgba(93, 175, 184, 0.4) 30%, rgba(93, 175, 184, 0.8) 100%);
        border-radius: 0;
        position: relative;
        box-shadow: 0 -5px 25px rgba(93, 175, 184, 0.3), 0 10px 40px rgba(93, 175, 184, 0.5);
    }

    .hero-text h1 {
        font-size: 1.8rem;
        margin-bottom: 15px;
        line-height: 1.3;
    }

    .hero-text p {
        font-size: 0.9rem;
        margin-bottom: 25px;
        line-height: 1.6;
    }

    .hero-text .btn-primary {
        margin-top: 10px;
        padding: 14px 28px;
        font-size: 0.95rem;
    }

    .servicios-container,
    .nosotros-container,
    .contacto-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    /* Servicios - Layout vertical con snap en móviles */
    .servicios-text-list {
        max-height: 70vh;
        max-width: 100%;
        overflow-y: auto;
        overflow-x: hidden;
        padding-top: 0;
        padding-bottom: 0;
        padding-right: 0;
        padding-left: 0;
        display: flex;
        flex-direction: column;
        gap: 0;
        scroll-behavior: smooth;
        scroll-snap-type: y mandatory;
        -webkit-overflow-scrolling: touch;
        position: relative;
    }

    /* Ocultar gradientes en móviles */
    .servicios-text-list::before,
    .servicios-text-list::after {
        display: none;
    }

    .servicio-text-item {
        flex: 0 0 100%;
        width: 100%;
        min-height: 70vh;
        max-width: 100%;
        margin-bottom: 0;
        padding: 30px 20px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        scroll-snap-align: start;
        scroll-snap-stop: always;
        box-sizing: border-box;
        opacity: 0.3;
        color: rgba(255, 255, 255, 0.3);
        transition: opacity 0.4s ease, color 0.4s ease, transform 0.4s ease;
    }

    .servicio-text-item.active {
        opacity: 1;
        color: rgba(255, 255, 255, 1);
        transform: scale(1);
    }

    .servicio-text-item h3 {
        font-size: 1.3rem;
        margin-bottom: 12px;
        color: inherit;
    }

    .servicio-text-item ul {
        font-size: 1rem;
    }

    .servicio-text-item li {
        padding: 6px 0;
        padding-left: 20px;
        font-size: 0.95rem;
        color: inherit;
    }

    .servicio-text-item li::before {
        color: inherit;
    }

    /* Clones también en vertical para móviles */
    .servicio-text-item.clone-before,
    .servicio-text-item.clone-after {
        flex: 0 0 100%;
        width: 100%;
        min-height: 70vh;
        max-width: 100%;
        margin-bottom: 0;
        opacity: 0.3;
        color: rgba(255, 255, 255, 0.3);
    }

    /* Carousel de imágenes en móviles */
    .carousel-images {
        margin-bottom: 20px;
        max-height: 300px;
        height: 300px;
    }
    
    .carousel-image {
        object-fit: cover;
    }

    /* Visión/Misión responsive */
    .vision-container {
        min-height: 500px;
        padding: 40px 20px;
        padding-left: 60px; /* Espacio para dots */
    }

    .vision-text-wrapper {
        padding-left: 40px;
    }

    .vision-content h3 {
        font-size: 1.8rem;
    }

    .vision-content li {
        font-size: 1rem;
    }

    .vision-toggle {
        left: 15px;
        gap: 15px;
    }

    .section-title {
        font-size: 2rem;
    }

    .main-navigation {
        display: none;
    }

    .productos-grid {
        gap: 15px;
        justify-content: flex-start;
        padding: 0 10px;
    }

    .producto-item {
        flex: 0 0 calc(50% - 7.5px); /* 2 columnas en móvil */
        max-width: calc(50% - 7.5px);
        min-width: 0; /* Remover min-width para que funcione el calc */
        padding: 15px 8px;
        width: calc(50% - 7.5px); /* Forzar ancho */
    }

    .producto-icon {
        width: 120px;
        height: 120px;
        margin: 0 auto 15px;
    }

    /* Google Maps responsive */
    .maps-section {
        padding: 40px 0;
    }

    .maps-container {
        border-radius: 10px;
        margin: 0 20px;
    }

    .maps-container iframe {
        height: 350px !important;
    }

    /* Marcas responsive */
    .marcas-section {
        padding: 60px 0;
    }

    .marcas-section .section-title {
        font-size: 1.5rem;
        padding: 0 20px;
    }

    .marcas-section .section-subtitle {
        font-size: 0.95rem;
        padding: 0 20px;
        margin-bottom: 40px;
    }

    .marcas-carousel {
        gap: 50px;
    }

    .marca-item {
        height: 80px;
        min-width: 120px;
        padding: 0 20px;
    }

    .marca-item img {
        max-height: 60px;
        max-width: 140px;
    }

    .marcas-carousel-wrapper::before,
    .marcas-carousel-wrapper::after {
        width: 60px;
    }

    .producto-icon {
        width: 100px;
        height: 100px;
    }
}

/* Móvil muy pequeño - mantener 2 columnas */
@media (max-width: 480px) {
    .hero-section {
        min-height: 450px;
        padding: 15px 0;
        padding-bottom: 0;
    }

    .hero-text {
        padding: 25px 15px;
        padding-bottom: 35px;
    }

    .hero-text h1 {
        font-size: 1.5rem;
        margin-bottom: 12px;
    }

    .hero-text p {
        font-size: 0.85rem;
        margin-bottom: 20px;
    }

    .hero-text .btn-primary {
        padding: 12px 24px;
        font-size: 0.9rem;
    }

    /* Servicios en móviles muy pequeños */
    .servicios-text-list {
        max-height: 65vh;
    }

    .servicio-text-item {
        flex: 0 0 100%;
        width: 100%;
        min-height: 65vh;
        max-width: 100%;
        padding: 25px 15px;
    }

    .servicio-text-item h3 {
        font-size: 1.1rem;
        margin-bottom: 10px;
    }

    .servicio-text-item li {
        font-size: 0.85rem;
        padding: 5px 0;
    }

    .servicio-text-item.clone-before,
    .servicio-text-item.clone-after {
        flex: 0 0 100%;
        width: 100%;
        min-height: 65vh;
        max-width: 100%;
    }

    .productos-grid {
        gap: 12px;
        padding: 0 8px;
    }

    .producto-item {
        flex: 0 0 calc(50% - 6px); /* Mantener 2 columnas */
        max-width: calc(50% - 6px);
        min-width: 0;
        width: calc(50% - 6px);
        padding: 12px 6px;
    }
    
    .producto-icon {
        width: 100px;
        height: 100px;
    }
}

