/*
 * ANDON-STYLE-VERSION: v3 (producto-individual hero móvil 360px, service-showcase, timeline step2)
 * Para comprobar: abre styles/style.css en el navegador y busca ANDON-STYLE-VERSION.
 * =============================================================================
 * BREAKPOINTS OFICIALES (usar solo estos; no crear 769px, 885px, etc.)
 * =============================================================================
 * - Mobile:    hasta 480px
 * - Tablet:    768px
 * - Laptop:    1024px
 * - Desktop:   1280px
 * - Large:     1440px
 *
 * Regla: si algo no encaja, resolver dentro del breakpoint más cercano.
 * =============================================================================
 *
 * ÍNDICE DE SECCIONES (orden aproximado en el archivo)
 * --------------------------------------------------
 * Reset, body, header, nav, logo, CTA, main content, andon board
 * Responsive / menú móvil
 * Nuestra Historia, Our Story
 * Servicios Andon (stats, timeline, showcase, CTA)
 * Timeline responsive, testimoniales, CTA responsive
 * Empresas, Testimoniales, Footer, admin link
 * Beneficios Andon, Nuestro Trabajo, mapa, países, paneles
 * Contacto, productos, blog, modales, etc.
 *
 * Al añadir CSS nuevo: buscar la sección por comentario 
 /* ... */ 


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #0f1419 0%, #1a2332 50%, #0f1419 100%);
    color: white;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Header */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 4rem;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(15, 20, 25, 0.95);
    backdrop-filter: blur(10px);
}

.logo {
    position: relative;
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.logo img {
    height: 50px;
    width: auto;
    max-width: 200px;
    transition: opacity 0.3s ease;
    display: block;
    object-fit: contain;
}

.logo-mobile {
    display: none;
}

.logo-desktop {
    display: block;
}

/* Clases por defecto para imágenes desktop/mobile */
.location-img-desktop,
.cta-img-desktop {
    display: block;
}

.location-img-mobile,
.cta-img-mobile {
    display: none;
}

.logo img.blue-version {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    filter: invert(67%) sepia(51%) saturate(2878%) hue-rotate(199deg) brightness(101%) contrast(101%);
}

.logo:hover .blue-version.logo-desktop {
    opacity: 1;
}

.logo:hover .blue-version.logo-mobile {
    opacity: 1;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #60a5fa;
}

.nav-links a.active {
    color: #60a5fa;
    font-weight: 600;
}

.cta-button {
    background: #60a5fa;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.cta-button:hover {
    background: #3b82f6;
    transform: translateY(-2px);
}

/* Header actions (CTA + selector idioma) */
.header-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    gap: 1rem;
}

/* Desplegable de idioma */
.lang-dropdown {
    position: relative;
}

.lang-switch-trigger {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: #60a5fa;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    border: 1.5px solid #60a5fa;
    padding: 0.4rem 0.7rem;
    border-radius: 6px;
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.lang-switch-trigger:hover {
    background: #60a5fa;
    color: #0f1419;
}

.lang-switch-trigger .lang-flag {
    font-size: 1.1em;
    line-height: 1;
}
.lang-switch-trigger .lang-chevron {
    font-size: 0.6em;
    margin-left: 0.15rem;
    transition: transform 0.2s ease;
}
.lang-dropdown.is-open .lang-switch-trigger .lang-chevron {
    transform: rotate(180deg);
}

.lang-dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 0.35rem;
    min-width: 160px;
    background: rgba(15, 20, 25, 0.98);
    border: 1px solid rgba(96, 165, 250, 0.4);
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    z-index: 1002;
    padding: 0.35rem 0;
    display: none;
}
.lang-dropdown-menu[hidden] {
    display: none !important;
}
.lang-dropdown.is-open .lang-dropdown-menu {
    display: block !important;
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
    transition: background 0.2s, color 0.2s;
}
.lang-option .lang-flag {
    font-size: 1.1em;
}
.lang-option:hover {
    background: #60a5fa;
    color: #0f1419;
}
.lang-option.current {
    opacity: 0.85;
    cursor: default;
}

.mobile-lang {
    text-align: center;
    padding: 0.75rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.mobile-lang .mobile-lang-label {
    margin: 0 0 0.25rem 0;
    font-size: 0.85rem;
    color: #94a3b8;
}
.mobile-lang .lang-option {
    display: inline-flex;
    justify-content: center;
    padding: 0.5rem 1rem;
    border: 1.5px solid #60a5fa;
    border-radius: 6px;
    color: #60a5fa;
}
.mobile-lang .lang-option:hover {
    background: #60a5fa;
    color: #0f1419;
}
.mobile-lang .lang-option.current {
    background: rgba(96, 165, 250, 0.2);
    color: white;
}

/* Ocultar menú hamburguesa en desktop */
.hamburger-menu {
    display: none;
}

.mobile-menu {
    display: none;
}

/* Main Content */
.main-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 9rem;
    padding: 8rem 0.5rem 4rem 4rem;
    max-width: 1600px; /* Aumentado para dar más espacio a los modelos 3D */
    margin: 0 auto;
    min-height: 100vh;
    align-items: start;
    overflow: visible; /* Permitir que los modelos 3D se salgan del contenedor */
}

/* Aumentar el gap en pantallas grandes para separar más el video del texto */
@media (min-width: 1025px) {
    .main-content {
        gap: 12rem;
    }
}

/* En móviles, cambiar a una sola columna con modelos 3D debajo del texto */
@media (max-width: 768px) {
    .main-content {
        display: flex;
        flex-direction: column;
        gap: 2rem;
        padding: 6rem 1rem 4rem;
        max-width: 100%;
    }
    
    .content-left {
        padding-right: 0;
    }
}

.content-left {
    padding-right: 2rem;
}

.headline {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, #ffffff 0%, #e2e8f0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.headline .highlight {
    color: #60a5fa;
    -webkit-text-fill-color: #60a5fa;
}

.description {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    color: #cbd5e1;
}

.description strong {
    color: white;
}

.bottom-cta {
    margin-top: 2rem;
}

.bottom-cta .cta-button {
    font-size: 1.1rem;
    padding: 1rem 2rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

/* Right Side - Andon Board */
.content-right {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    position: sticky; /* Restaurado para que siga el scroll */
    top: 120px;
    height: 35%;
    overflow: visible; /* Permitir que los modelos 3D se salgan del contenedor */
    margin-left: -12rem; /* Extender hacia la izquierda para ocupar el gap del grid */
}

.andon-board {
    background: linear-gradient(145deg, #2d3748, #1a202c);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 
        0 25px 50px -12px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    transform: perspective(1000px) rotateY(-15deg) rotateX(10deg);
    transition: transform 0.3s ease;
    position: relative;
    overflow: hidden;
}

.andon-board:hover {
    transform: perspective(1000px) rotateY(-10deg) rotateX(5deg);
    transition: transform 0.3s ease;
}

/* Andon Original */
.andon-original {
    display: block;
    opacity: 1;
    transition: opacity 0.2s ease, transform 0.3s ease;
}

/* Andon Nuevo */
.andon-new {
    display: none;
    padding: 1rem;
    min-height: 120px;
    max-height: 150px;
    opacity: 0;
    transition: opacity 0.6s ease, transform 0.3s ease;
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    height: 100%;
    transform: perspective(1000px) rotateY(-15deg) rotateX(10deg);
}

/* Transición automática entre Andones en móviles */
@media (max-width: 768px) {
    .main-content .content-right {
        display: none; /* Ocultar completamente en móviles */
    }
    
    .andon-board {
        width: 100%;
        max-width: 100%;
        position: relative;
    }
    
    /* Transición automática entre Andones */
    .andon-original {
        display: block !important;
        opacity: 1 !important;
        position: relative !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: auto !important;
        transition: all 1.5s ease;
        transform: perspective(1000px) rotateY(-10deg) rotateX(5deg) !important;
    }
    
    .andon-new {
        display: none !important;
        opacity: 0 !important;
        position: relative !important;
        top: 110px !important;
        left: 0 !important;
        width: 100% !important;
        height: auto !important;
        transition: all 1.5s ease;
        transform: perspective(1000px) rotateY(-10deg) rotateX(5deg) !important;
    }
    
    /* Transición automática cada 4 segundos */
    .andon-original.mobile-transition {
        display: none !important;
        opacity: 0 !important;
    }
    
    .andon-new.mobile-transition {
        display: block !important;
        opacity: 1 !important;
    }
}

.andon-new:hover {
    transform: perspective(1000px) rotateY(-10deg) rotateX(5deg);
}

/* Líneas horizontales */
.board-lines {
    width: 100%;
    height: 2px;
    background: #000;
    margin-top: 2rem;
    position: relative;
}

.board-lines::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #000;
}

/* Segmentos numerados */
.board-segments {
    display: flex;
    justify-content: space-between;
    gap: 6px;
    margin-top: 0.3rem;
    width: 100%;
    max-width: 100%;
}

.segment {
    flex: 1;
    min-width: 35px;
    height: 60px;
    background: #fff;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: bold;
    color: #000;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.segment.active {
    color: #fff;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}

.segment.active.red {
    background: #ef4444;
    box-shadow: 0 0 15px rgba(239, 68, 68, 0.6);
}

.segment.active.orange {
    background: #f59e0b;
    box-shadow: 0 0 15px rgba(245, 158, 11, 0.6);
}

.segment.active.green {
    background: #10b981;
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.6);
}

/* Transición basada en scroll */
.andon-original.scroll-transition {
    opacity: 0;
}

.andon-new.scroll-transition {
    display: block;
    opacity: 1;
    transform: perspective(1000px) rotateY(-15deg) rotateX(10deg);
}

.andon-board:hover {
    transform: perspective(1000px) rotateY(-10deg) rotateX(5deg);
}

.board-header {
    text-align: center;
    margin-bottom: 0.3rem;
    font-size: 0.7rem;
    color: #60a5fa;
    font-weight: 600;
    letter-spacing: 1px;
}

.board-grid {
    display: grid;
    grid-template-columns: 120px repeat(10, 1fr);
    gap: 8px;
    font-size: 0.75rem;
}

.grid-header {
    background: #374151;
    padding: 8px 4px;
    text-align: center;
    border-radius: 4px;
    font-weight: 600;
    color: #e5e7eb;
}

.grid-row-header {
    background: #374151;
    padding: 8px 4px;
    text-align: center;
    border-radius: 4px;
    font-weight: 600;
    color: #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
}

.indicator {
    width: 20px;
    height: 20px;
    border-radius: 4px;
    margin: 0 auto;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.red {
    background: #ef4444;
    box-shadow: 0 0 10px rgba(239, 68, 68, 0.5);
}

.indicator.yellow {
    background: #f59e0b;
    box-shadow: 0 0 10px rgba(245, 158, 11, 0.5);
}

.indicator.green {
    background: #10b981;
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.5);
}

.indicator.off {
    background: #4b5563;
    border: 1px solid #6b7280;
}

.indicator:hover {
    transform: scale(1.2);
}

/* Responsive */
/* Media query para pantallas desde 885px - layout desktop */
@media (min-width: 885px) {
    .main-content {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8rem;
        padding: 8rem 2rem 4rem;
        max-width: 1600px;
    }
    
    .content-left {
        padding-right: 2rem;
    }
    
    .content-right {
        display: flex;
        justify-content: center;
        align-items: flex-start;
        position: sticky;
        top: 120px;
        padding-top: 0;
        padding-left: 2rem;
    }
    
    .headline {
        font-size: 3rem;
    }
}

/* Media query específico para pantallas grandes - más separación */
@media (min-width: 1025px) {
    .main-content {
        gap: 12rem;
    }
    
    /* Asegurar que solo se muestre logo desktop en pantallas grandes */
    .logo-desktop {
        display: block !important;
    }
    
    .logo-mobile {
        display: none !important;
    }
    
    .logo-desktop.blue-version {
        display: block !important;
    }
    
    .logo-mobile.blue-version {
        display: none !important;
    }
    
    /* Asegurar que solo se muestre logo desktop de testimonios en pantallas grandes */
    .testimonial-logo-desktop {
        display: block !important;
    }
    
    .testimonial-logo-mobile {
        display: none !important;
    }
    
    /* Asegurar que solo se muestre logo desktop de empresas en pantallas grandes */
    .company-logo-desktop {
        display: block !important;
    }
    
    .company-logo-mobile {
        display: none !important;
    }
    
    /* Asegurar que solo se muestre imagen desktop de servicios en pantallas grandes */
    .service-img-desktop {
        display: block !important;
    }
    
    .service-img-mobile {
        display: none !important;
    }
}

/* Media query para pantallas de 769px a 884px - ya está cubierto por el media query específico más abajo */

@media (max-width: 1024px) and (min-width: 769px) {
    .header {
        padding: 1rem 1.5rem;
    }
    
    .nav-links {
        gap: 1.5rem;
    }
    
    .nav-links a {
        font-size: 0.9rem;
    }
    
    .cta-button {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }
    
    /* Asegurar que solo se muestre logo desktop en 769px+ */
    .logo-desktop {
        display: block !important;
    }
    
    .logo-mobile {
        display: none !important;
    }
    
    .logo-desktop.blue-version {
        display: block !important;
    }
    
    .logo-mobile.blue-version {
        display: none !important;
    }
    
    /* Asegurar que solo se muestre logo desktop de testimonios en 769px+ */
    .testimonial-logo-desktop {
        display: block !important;
    }
    
    .testimonial-logo-mobile {
        display: none !important;
    }
    
    /* Asegurar que solo se muestre logo desktop de empresas en 769px+ */
    .company-logo-desktop {
        display: block !important;
    }
    
    .company-logo-mobile {
        display: none !important;
    }
    
    /* Asegurar que solo se muestre imagen desktop de servicios en 769px+ */
    .service-img-desktop {
        display: block !important;
    }
    
    .service-img-mobile {
        display: none !important;
    }
    
    .logo img {
        max-height: 35px;
    }
}

@media (max-width: 768px) and (min-width: 768px) {
    .header {
        padding: 1rem 1rem;
    }
    
    .nav-links {
        gap: 1rem;
    }
    
    .nav-links a {
        font-size: 0.85rem;
    }
    
    .cta-button {
        padding: 0.5rem 0.875rem;
        font-size: 0.8rem;
    }
    
    .logo img {
        max-height: 40px;
    }
    
    /* Asegurar que solo se muestre logo desktop en 768px */
    .logo-desktop {
        display: block !important;
    }
    
    .logo-mobile {
        display: none !important;
    }
    
    .logo-desktop.blue-version {
        display: block !important;
    }
    
    .logo-mobile.blue-version {
        display: none !important;
    }
    
    /* Asegurar que solo se muestre logo desktop de testimonios en 768px */
    .testimonial-logo-desktop {
        display: block !important;
    }
    
    .testimonial-logo-mobile {
        display: none !important;
    }
    
    /* Asegurar que solo se muestre logo desktop de empresas en 768px */
    .company-logo-desktop {
        display: block !important;
    }
    
    .company-logo-mobile {
        display: none !important;
    }
    
    /* Asegurar que solo se muestre imagen desktop de servicios en 768px */
    .service-img-desktop {
        display: block !important;
    }
    
    .service-img-mobile {
        display: none !important;
    }
}

@media (max-width: 767px) {
    .header {
        padding: 1rem;
    }
    
    .nav-links {
        display: none;
    }
    
    /* Cotizar solo dentro del menú hamburguesa; en la barra solo selector de idioma */
    .header-actions .cta-button-desktop {
        display: none !important;
    }
    
    .header-actions .lang-switch-trigger {
        padding: 0.4rem 0.6rem;
        font-size: 0.8rem;
        border-radius: 6px;
        min-height: 38px;
    }
    
    .header-actions .lang-switch-trigger .lang-flag {
        font-size: 1.1em;
    }
    
    .header-actions .lang-dropdown-menu {
        min-width: 120px;
        padding: 0.25rem 0;
    }
    
    .header-actions .lang-dropdown-menu .lang-option {
        padding: 0.4rem 0.75rem;
        font-size: 0.8rem;
    }
    
    .header-actions .lang-dropdown-menu .lang-option .lang-flag {
        font-size: 1em;
    }
    
    .hamburger-menu {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 24px;
        background: none;
        border: none;
        cursor: pointer;
        padding: 0;
        z-index: 1001;
        margin-left: 1rem;
    }
    
    .hamburger-menu span {
        width: 100%;
        height: 3px;
        background: white;
        border-radius: 2px;
        transition: all 0.3s ease;
    }
    
    .mobile-menu {
        display: flex !important;
    }
    
    /* Mostrar logo mobile y ocultar desktop */
    .logo-desktop {
        display: none !important;
    }
    
    .logo-mobile {
        display: block !important;
    }
    
    .logo-mobile.blue-version {
        display: block !important;
    }
    
    .logo-desktop.blue-version {
        display: none !important;
    }
    
    /* Mostrar imágenes mobile de servicios y ocultar desktop */
    .service-img-desktop {
        display: none !important;
    }
    
    .service-img-mobile {
        display: block !important;
    }
    
    /* Mostrar logos mobile de empresas y ocultar desktop */
    .company-logo-desktop {
        display: none !important;
    }
    
    .company-logo-mobile {
        display: block !important;
    }
    
    /* Mostrar logos mobile en testimonios y ocultar desktop */
    .testimonial-logo-desktop {
        display: none !important;
    }
    
    .testimonial-logo-mobile {
        display: block !important;
    }
    
    /* Mostrar imágenes mobile de ubicaciones y ocultar desktop */
    .location-img-desktop {
        display: none !important;
    }
    
    .location-img-mobile {
        display: block !important;
    }
    
    /* Mostrar imagen mobile del CTA banner y ocultar desktop */
    .cta-img-desktop {
        display: none !important;
    }
    
    .cta-img-mobile {
        display: block !important;
    }
}

@media (max-width: 480px) {
    .header-actions .lang-switch-trigger {
        padding: 0.35rem 0.5rem;
        font-size: 0.75rem;
        min-height: 34px;
    }
    .header-actions .lang-switch-trigger .lang-flag {
        font-size: 1em;
    }
    .header-actions .lang-dropdown-menu {
        min-width: 100px;
    }
    .header-actions .lang-dropdown-menu .lang-option {
        padding: 0.35rem 0.6rem;
        font-size: 0.75rem;
    }
}

@media (max-width: 375px) {
    .header {
        padding: 0.75rem;
    }
    
    .logo img {
        max-height: 38px;
    }
    
    .content-left {
        padding-right: 0;
    }
    
    .header .cta-button {
        padding: 0.5rem 0.75rem;
        font-size: 0.75rem;
        white-space: nowrap;
    }
    
    .hamburger-menu {
        width: 28px;
        height: 22px;
        margin-left: 0.5rem;
    }
    
    .header-actions .lang-switch-trigger {
        padding: 0.3rem 0.45rem;
        font-size: 0.7rem;
        min-height: 32px;
    }
    .header-actions .lang-dropdown-menu .lang-option {
        padding: 0.3rem 0.5rem;
        font-size: 0.7rem;
    }
}

@media (max-width: 360px) {
    .header {
        padding: 0.75rem;
    }
    
    .logo img {
        max-height: 38px;
    }
    
    .content-left {
        padding-right: 0;
    }
    
    .header .cta-button {
        padding: 0.5rem 0.75rem;
        font-size: 0.75rem;
        white-space: nowrap;
    }
    
    .hamburger-menu {
        width: 28px;
        height: 22px;
        margin-left: 0.5rem;
    }
}

/* Media queries específicas para tamaños pequeños */
@media (max-width: 425px) {
    .content-left {
        padding-right: 0;
    }
}

@media (max-width: 320px) {
    .content-left {
        padding-right: 0;
    }
    
    /* Reducir tamaño del logo en Mobile S */
    .logo img {
        height: 45px;
        max-width: 160px;
    }
}

.hamburger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger-menu.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

@media (max-width: 767px) {
    .main-content {
        padding: 5rem 1rem 1rem;
    }
    
    .headline {
        font-size: 2rem;
    }
    
    .andon-board {
        transform: none;
        padding: 1rem;
    }
    
    .board-grid {
        grid-template-columns: 80px repeat(5, 1fr);
        gap: 4px;
        font-size: 0.6rem;
    }
}

/* Menú móvil */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(15, 23, 42, 0.98);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.mobile-menu.active {
    transform: translateX(0);
}

.mobile-nav-links {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
}

.mobile-nav-links li {
    margin: 2rem 0;
}

.mobile-nav-links a {
    color: white;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 600;
    transition: color 0.3s ease;
}

.mobile-nav-links a:hover {
    color: #60a5fa;
}

.mobile-nav-links a.active {
    color: #60a5fa;
    font-weight: 700;
}

.mobile-cta {
    margin-top: 3rem;
}

.cta-button.mobile {
    background: #60a5fa;
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.cta-button.mobile:hover {
    background: #3b82f6;
    transform: translateY(-2px);
}

/* Nuestra Historia Section */
.our-story {
    background: #f3f7ff;
    padding: 6rem 6rem;
}

.story-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1400px;
    margin: 0 auto;
    align-items: center;
}

.story-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.story-photo {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.story-photo:hover {
    transform: translateY(-5px);
}

.story-text {
    padding-left: 2rem;
}

.story-header {
    color: #6b7280;
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.story-title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.3;
    color: #1f2937;
    margin-bottom: 2rem;
}

.story-body p {
    font-size: 1.2rem;
    line-height: 1.7;
    color: #4b5563;
    margin-bottom: 1.5rem;
}

.photo-caption {
    font-style: italic;
    color: #6b7280;
    font-size: 1rem;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid #e5e7eb;
}

.story-cta {
    margin-top: 2.5rem;
}

.story-button {
    font-size: 1.1rem;
    padding: 1rem 2rem;
    background: #60a5fa;
    border: none;
    color: white;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.story-button:hover {
    background: #3b82f6;
    transform: translateY(-2px);
}

/* Our Story Responsive */
@media (max-width: 1024px) {
    .our-story {
        padding: 4rem 2rem;
    }
    
    .story-content {
        gap: 3rem;
    }
    
    .story-text {
        padding-left: 0;
    }
    
    .story-title {
        font-size: 1.8rem;
    }
}

/* Responsive Design - Tablet */
@media (max-width: 1024px) {
    .services-showcase {
        gap: 3rem;
        margin: 5rem 0;
    }
    
    .service-content h3 {
        font-size: 2rem;
    }
    
    .service-content p {
        font-size: 1.05rem;
        max-width: 340px;
    }
    
    .andon-services {
        padding: 5rem 3rem;
    }
}

@media (max-width: 768px) and (min-width: 768px) {
    .our-story {
        padding: 4rem 2rem;
    }
    
    .story-content {
        grid-template-columns: 1fr 1fr !important;
        gap: 2.5rem;
        max-width: 1000px;
    }
    
    .story-text {
        padding-left: 1rem;
    }
    
    .story-title {
        font-size: 1.75rem;
    }
    
    .story-body p {
        font-size: 0.95rem;
        line-height: 1.6;
    }
    
    .story-header {
        font-size: 0.85rem;
    }
}

@media (max-width: 767px) {
    .our-story {
        padding: 3rem 1rem;
    }
    
    .story-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .story-title {
        font-size: 1.5rem;
    }
    
    .story-body p {
        font-size: 1rem;
    }
    
    .andon-services {
        padding: 4rem 2rem;
    }
    
    .stats-grid {
        flex-direction: column;
        gap: 4rem;
        max-width: 400px;
    }
    
    .stat-number {
        font-size: 3rem;
    }
    
    .stat-label {
        font-size: 1rem;
    }
    
    .services-showcase {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        margin: 1.5rem 0;
        padding: 0 1rem;
    }
    
    .service-card-modern {
        padding: 1.5rem 2rem;
        margin: 0 0.5rem;
    }
    
    .service-icon {
        width: 70px;
        height: 70px;
        margin-bottom: 2rem;
    }
    
    .service-content h3 {
        font-size: 1.9rem;
        margin-bottom: 1.5rem;
    }
    
    .service-content p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
        max-width: 100%;
        line-height: 1.6;
    }
    

    
    .feature-tag {
        padding: 0.7rem 1rem;
        font-size: 0.85rem;
        margin: 0.3rem;
    }
}

/* Responsive Design - Mobile Small */
@media (max-width: 480px) {
    .content-left {
        padding-right: 0;
    }
    
    .services-showcase {
        gap: 2rem;
        margin: 2.5rem 0;
        padding: 0 0.5rem;
    }
    
    .service-card-modern {
        padding: 1rem 1.5rem;
        margin: 0;
    }
    
    .service-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 1.5rem;
    }
    
    .service-content h3 {
        font-size: 1.7rem;
        margin-bottom: 1rem;
    }
    
    .service-content p {
        font-size: 0.95rem;
        margin-bottom: 1.2rem;
    }
    
    .feature-tag {
        padding: 0.6rem 0.9rem;
        font-size: 0.8rem;
        margin: 0.2rem;
    }
    
    .andon-services {
        padding: 3rem 1rem;
    }
}

/* Servicios Andon Section */
.andon-services {
    background: #f3f7ff;
    padding: 6rem 4rem;
}

.services-container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    overflow: visible;
}

.services-container img {
    object-position: top;
}

/* Header con estadísticas */
.services-header {
    text-align: center;
    padding-bottom: 3rem;
    position: relative;
    overflow: hidden;
}

.services-header::before {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    right: -50px;
    bottom: -50px;
    z-index: -1;
}

.services-title {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    color: #1f2937;
    margin-bottom: 1.5rem;
}

.services-subtitle {
    font-size: 1.7rem;
    color: #374151;
    margin-bottom: 3rem;
    max-width: 850px;
    margin-left: auto;
    margin-right: auto;
}

.stats-grid {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-top: 4rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.stat-item {
    position: relative;
    text-align: center;
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 0;
    transition: all 0.4s ease;
    transform-style: preserve-3d;
}

.stat-item:hover {
    transform: translateY(-5px) scale(1.02);
}

.stat-item::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #60a5fa, #3b82f6);
    border-radius: 50%;
    z-index: -1;
    opacity: 0.1;
    transition: all 0.4s ease;
}

.stat-item:hover::before {
    opacity: 0.2;
    transform: translateX(-50%) scale(1.2);
}

.stat-item::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #60a5fa, #3b82f6);
    border-radius: 2px;
    opacity: 0;
    transition: all 0.4s ease;
}

.stat-item:hover::after {
    opacity: 1;
    width: 80px;
}

/* Feature tags en estadísticas */
.stats-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    margin-top: 3rem;
    padding: 0 1rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.stats-features .feature-tag {
    background: linear-gradient(135deg, #1e40af, #3b82f6);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    cursor: default;
    user-select: none;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}

.stats-features .feature-tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    background: linear-gradient(135deg, #1e3a8a, #2563eb);
}

/* Distribución por defecto: 5 arriba, 4 abajo */
.stats-features .feature-tag:nth-child(-n+5) {
    flex: 0 0 auto;
    text-align: center;
}

.stats-features .feature-tag:nth-child(n+6) {
    flex: 0 0 auto;
    text-align: center;
}

/* Contenedor para centrar la segunda fila (4 tags) */


/* Distribución para pantallas grandes (1440px+): Mantener 5 arriba, 4 abajo */
@media (min-width: 1440px) {
    .stats-features {
        max-width: 1200px;
        justify-content: center;
    }

    .world-map-static .map-image {
        top: -80px;
    }
    
    /* Mantener 5 arriba, 4 abajo incluso en pantallas grandes - botones más anchos */
    .stats-features .feature-tag:nth-child(-n+5) {
        flex: 0 0 calc(20% - 0.5rem);
        max-width: calc(20% - 0.5rem);
        min-width: 180px;
        padding: 0.5rem 1.25rem;
    }
    
    .stats-features .feature-tag:nth-child(n+6) {
        flex: 0 0 calc(25% - 0.5rem);
        max-width: calc(25% - 0.5rem);
        min-width: 220px;
        padding: 0.5rem 1.25rem;
    }
    

}

.stat-number {
    font-size: 4rem;
    font-weight: 900;
    background: linear-gradient(135deg, #1e40af, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    line-height: 1;
    position: relative;
    z-index: 2;
}

.stat-label {
    font-size: 1.1rem;
    color: #374151;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    z-index: 2;
}

/* Timeline del proceso - Formato Web Profesional con Accesibilidad Mejorada */
.process-timeline {
    margin: 3rem auto;
    background: #f3f7ff;
    position: relative;
    max-width: 1400px;
    width: 100%;
    overflow: visible;
}



/* Indicadores de progreso */
.timeline-progress {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

/* Indicador de scroll */
.timeline-scroll-hint {
    text-align: center;
    margin-top: 1rem;
    color: #6b7280;
    font-size: 0.9rem;
    font-style: italic;
}

.timeline-scroll-hint::before {
    content: '← Desliza para ver más pasos →';
}

.progress-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #dbeafe;
    transition: all 0.3s ease;
    cursor: pointer;
}

.progress-dot.active {
    background: #3b82f6;
    transform: scale(1.2);
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.5);
}

/* Mejoras de accesibilidad para el timeline */
.timeline-step {
    /* Asegurar contraste suficiente */
    color: #0f172a;
}

/* Mejorar legibilidad del texto */
.timeline-step * {
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Transiciones suaves para mejor armonía */
.timeline-step,
.step-visual,
.step-content h4,
.step-description {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Animación de pulso para pasos activados */
@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 0.8;
    }
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
}

.timeline-title {
    text-align: center;
    font-size: 2.75rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 1.5rem;
    letter-spacing: -0.025em;
    line-height: 1.2;
}

.timeline-subtitle {
    text-align: center;
    font-size: 1.25rem;
    color: #475569;
    margin-bottom: 5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    font-weight: 500;
}

.timeline-steps {
    display: flex;
    flex-direction: row;
    gap: 200px;
    max-width: none;
    margin: 0 -4rem;
    padding: 0 calc(50vw - 600px);
    position: relative;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
    scroll-snap-type: x mandatory;
    width: calc(100% + 8rem);
    justify-content: flex-start;
    cursor: grab;
    user-select: none;
}

.timeline-steps:active {
    cursor: grabbing;
}

/* Ocultar scrollbar en WebKit */
.timeline-steps::-webkit-scrollbar {
    display: none;
}

/* Separador visual superior - eliminado para líneas horizontales */

.timeline-step {
    background: #f8fafc;
    padding: 1.25rem 2rem;
    border-radius: 16px;
    border: 1px solid #dbeafe;
    transition: all 0.3s ease;
    position: relative;
    width: 100%;
    min-width: 100%;
    max-width: 100%;
    flex-shrink: 0;
    z-index: 2;
    opacity: 1;
    transform: none;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.05);
    scroll-snap-align: center;
    scroll-snap-stop: always;
}

.timeline-step-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    max-width: 1200px;
    width: 100%;
    padding: 0 2rem;
}

/* Conectores horizontales que unen cada paso */
.timeline-step::before {
    content: '';
    position: absolute;
    right: -150px;
    top: 50%;
    width: 150px;
    height: 2px;
    background: linear-gradient(90deg, #60a5fa, #3b82f6);
    transform: translateY(-50%);
    z-index: 1;
    border-radius: 1px;
    box-shadow: 0 0 8px rgba(96, 165, 250, 0.4);
}

/* Conectores del lado izquierdo */
.timeline-step::after {
    content: '';
    position: absolute;
    left: -150px;
    top: 50%;
    width: 150px;
    height: 2px;
    background: linear-gradient(90deg, #3b82f6, #60a5fa);
    transform: translateY(-50%);
    z-index: 1;
    border-radius: 1px;
    box-shadow: 0 0 8px rgba(96, 165, 250, 0.4);
}

/* Indicadores circulares en cada paso - OCULTOS */
.timeline-step .step-indicator {
    display: none !important;
}

/* Ocultar línea izquierda del primer paso */
.timeline-step:first-child::after {
    display: none;
}

/* Ocultar línea derecha del último paso */
.timeline-step:last-child::before {
    display: none;
}

/* Ocultar indicador del último paso - Ya está oculto globalmente */

/* Layout alternado */
.timeline-step:nth-child(odd) {
    grid-template-columns: 1fr 1fr; /* Imagen izquierda, texto derecha */
}

.timeline-step:nth-child(even) {
    grid-template-columns: 1fr 1fr; /* Texto izquierda, imagen derecha */
}

/* Para pasos pares, cambiar el orden del contenido */
.timeline-step:nth-child(even) .step-content {
    order: 1;
}

.timeline-step:nth-child(even) .step-visual {
    order: 2;
}



/* Sección visual (imagen) */
.step-visual {
    flex-shrink: 0;
    width: 100%;
    height: 100%;
    min-height: 120px;
    max-height: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: none;
    position: relative;
}

/* Estilos para las imágenes */
.step-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
    position: relative;
    z-index: 2;
    pointer-events: none;
    user-select: none;
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-drag: none;
}

.timeline-step:hover .step-image {
    transform: none;
}

/* Contenido del paso */
.step-content {
    flex: 1;
    min-width: 0;
}

/* Estados de focus y hover */
.timeline-step.focus {
    opacity: 1;
}

.timeline-step:hover {
    opacity: 1;
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.1);
}

/* Hover en conectores */
.timeline-step:hover::before {
    width: 150px;
    height: 3px;
    box-shadow: 0 0 15px rgba(96, 165, 250, 0.6);
}

.timeline-step:hover::after {
    width: 150px;
    height: 3px;
    box-shadow: 0 0 15px rgba(96, 165, 250, 0.6);
}

.timeline-step:hover .step-indicator {
    display: none !important;
}

/* Pasos permanentemente activados */
.timeline-step[data-activated="true"] {
    opacity: 1;
}

.timeline-step[data-activated="true"] .step-content h4::after {
    width: 100%;
}

.timeline-step[data-activated="true"] .step-details {
    max-height: 350px;
    opacity: 1;
    transform: translateY(0);
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid #f3f4f6;
}

/* Efectos especiales para pasos activados */
.timeline-step[data-activated="true"]::before {
    width: 150px;
    height: 3px;
    box-shadow: 0 0 20px rgba(96, 165, 250, 0.7);
}

.timeline-step[data-activated="true"]::after {
    width: 150px;
    height: 3px;
    box-shadow: 0 0 20px rgba(96, 165, 250, 0.7);
}

.timeline-step[data-activated="true"] .step-indicator {
    display: none !important;
}

/* Indicador visual sutil para pasos activados */
.timeline-step[data-activated="true"] .step-content h4 {
    color: #0f172a;
    font-weight: 700;
}

.timeline-step[data-activated="true"] .step-visual {
    border: 2px solid #dbeafe;
}

.step-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
    transition: transform 0.3s ease;
}

.timeline-step.focus .step-icon {
    transform: none;
}

.step-content h4 {
    font-size: 1.875rem;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 1.25rem;
    transition: color 0.3s ease;
    position: relative;
    letter-spacing: -0.025em;
    line-height: 1.3;
    background: linear-gradient(135deg, #1e40af, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.step-content h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -0.75rem;
    width: 0;
    height: 4px;
    background: linear-gradient(135deg, #60a5fa, #3b82f6);
    transition: width 0.4s ease;
    border-radius: 2px;
}

.timeline-step.focus .step-content h4::after {
    width: 100%;
}

.timeline-step.focus .step-content h4 {
    color: #111827;
}

.step-description {
    color: #334155;
    line-height: 1.7;
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
    font-weight: 500;
}

/* Detalles expandibles */
.step-details {
    max-height: 0;
    overflow: hidden;
    transition: all 0.5s ease;
    opacity: 0;
    transform: translateY(-8px);
}

.timeline-step.focus .step-details {
    max-height: 350px;
    opacity: 1;
    transform: translateY(0);
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid #f3f4f6;
}

.step-details p {
    color: #475569;
    line-height: 1.7;
    margin-bottom: 1.25rem;
    text-align: left;
    font-size: 1rem;
    font-weight: 400;
}

.step-details ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.step-details li {
    color: #475569;
    padding: 0.75rem 0;
    position: relative;
    padding-left: 1.75rem;
    font-size: 1rem;
    transition: color 0.3s ease;
    line-height: 1.5;
}

.step-details li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #059669;
    font-weight: bold;
    font-size: 1.125rem;
}

/* Servicios en showcase tipo tres columnas verticales */
.services-showcase {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin: 1rem 0;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.service-card-modern {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    padding: 0 1.5rem 1rem 1.5rem;
    background: #f8fafc;
    border-radius: 16px;
    transition: all 0.3s ease;
    overflow: hidden;
}

.service-card-modern:hover {
    transform: translateY(-5px);
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.1);
}

.service-card-tall {
    min-height: 650px;
}

.service-card-tall:hover {
    transform: translateY(-5px);
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.1);
}

/* Feature tags en tarjetas de servicios (solo móviles) */
.service-features {
    display: none;
}

/* Mostrar feature-tags en tarjetas solo en móviles */
@media (max-width: 768px) {
    .service-features {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem;
        margin-top: 1.5rem;
    }
    
    .service-features .feature-tag {
        background: linear-gradient(135deg, #1e40af, #3b82f6);
        color: white;
        padding: 0.4rem 0.8rem;
        border-radius: 15px;
        font-size: 0.75rem;
        font-weight: 500;
        transition: all 0.3s ease;
        cursor: default;
        user-select: none;
    }
    
    .service-features .feature-tag:hover {
        transform: translateY(-1px);
        background: linear-gradient(135deg, #1e3a8a, #2563eb);
    }
}



/* Imagen del servicio */
.service-icon {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    width: calc(100% + 3rem);
    height: 280px;
    margin-left: -1.5rem;
    margin-right: -1.5rem;
    margin-top: -2rem;
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
    border-radius: 12px 12px 0 0;
    transition: all 0.3s ease;
    overflow: hidden;
}

.service-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px 12px 0 0;
    transition: all 0.3s ease;
}

.service-card-modern:hover .service-icon {
    background: linear-gradient(135deg, #ffffff, #f1f5f9);
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.15);
}

/* Solo services-showcase: mantener imagen como en desktop en móvil (no reducir a 70px/60px) */
@media (max-width: 768px) {
    .andon-services .services-showcase .service-icon {
        width: calc(100% + 3rem);
        height: 280px;
        margin-left: -1.5rem;
        margin-right: -1.5rem;
    }
}
@media (max-width: 480px) {
    .andon-services .services-showcase .service-icon {
        width: calc(100% + 3rem);
        height: 280px;
        margin-left: -1.5rem;
        margin-right: -1.5rem;
    }
}

/* Contenido del servicio */
.service-content {
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.service-content h3 {
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: #1f2937;
    line-height: 1.3;
    background: linear-gradient(135deg, #1e40af, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    white-space: normal;
    max-width: 100%;
}

.service-content p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    color: #4b5563;
    font-weight: 400;
    text-align: center;
    max-width: 320px;
}

.service-content p:last-of-type {
    margin-bottom: 1.5rem;
}

/* Subrayado azul para cada línea del cuarto párrafo */
.service-content p:nth-child(5) {
    text-decoration: underline;
    text-decoration-color: #3b82f6;
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
}



/* Los estilos de service-features están ahora en la sección responsive */



.service-card-modern h3 {
    font-size: 1.6rem;
    font-weight: 800;
    background: linear-gradient(135deg, #1e40af, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
}

.service-card-modern p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #374151;
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
}

/* Los estilos de service-features y feature-tag están ahora en la sección responsive */

/* CTA estratégico */
.services-cta-modern {
    text-align: center;
    background: #f8fafc;
    border: 1px solid #dbeafe;
    border-radius: 16px;
    padding: 3rem;
    margin-top: 4rem;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.05);
}

.cta-content h3 {
    font-size: 2rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.1rem;
    color: #64748b;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-button.primary {
    background: #60a5fa;
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cta-button.primary:hover {
    background: #3b82f6;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(96, 165, 250, 0.3);
}

.cta-button.secondary {
    background: transparent;
    color: #60a5fa;
    border: 2px solid #60a5fa;
    padding: 1rem 2rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cta-button.secondary:hover {
    background: #60a5fa;
    color: white;
    transform: translateY(-2px);
}

/* Services Responsive */
@media (max-width: 1024px) {
    .andon-services {
        padding: 4rem 2rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .services-showcase {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
        max-width: 900px;
    }
    
    .service-content h3 {
        font-size: 1.2rem;
        line-height: 1.4;
    }
    
    .service-content p {
        font-size: 0.95rem;
        max-width: 280px;
    }
    
    .service-icon {
        height: 160px;
    }
    
    .services-title {
        font-size: 2.5rem;
    }
    
    .timeline-title {
        font-size: 1.5rem;
    }
}

/* Timeline ajustes para tablet y pantallas medianas (769px - 1024px) */
@media (max-width: 1024px) and (min-width: 769px) {
    .timeline-steps {
        margin: 0;
        padding: 0 1.5rem;
        width: 100%;
        gap: 2rem;
    }
    
    .timeline-step {
        width: calc(100% - 3rem);
        min-width: calc(100% - 3rem);
        max-width: calc(100% - 3rem);
        padding: 1.5rem;
        margin: 0 auto;
    }
    
    .timeline-step-content {
        padding: 0 1rem;
        gap: 2rem;
    }
    
    /* Ocultar conectores que se salen de la pantalla */
    .timeline-step::before,
    .timeline-step::after {
        display: none;
    }
    
    .timeline-step .step-indicator {
        display: none;
    }
    
    .step-visual {
        height: 220px;
        min-height: 220px;
    }
}

@media (max-width: 768px) and (min-width: 768px) {
    .stats-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
        max-width: 600px;
    }
    
    .stats-grid .stat-item:first-child {
        margin-bottom: 0;
    }
    
    /* Timeline ajustes para tablet */
    .timeline-steps {
        margin: 0;
        padding: 0 1rem;
        width: 100%;
        gap: 2rem;
    }
    
    .timeline-step {
        width: calc(100% - 2rem);
        min-width: calc(100% - 2rem);
        max-width: calc(100% - 2rem);
        padding: 1.5rem;
        margin: 0 auto;
    }
    
    .timeline-step-content {
        padding: 0 1rem;
        gap: 2rem;
    }
    
    /* Ocultar conectores que se salen de la pantalla */
    .timeline-step::before,
    .timeline-step::after {
        display: none;
    }
    
    .timeline-step .step-indicator {
        display: none;
    }
    
    .step-visual {
        height: 200px;
        min-height: 200px;
    }
    
    /* Services showcase ajustes para tablet */
    .services-showcase {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1.5rem;
        max-width: 700px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .service-card-modern {
        padding: 1.5rem;
    }
    
    .service-content h3 {
        font-size: 1.5rem;
    }
    
    .service-content p {
        font-size: 0.95rem;
        max-width: 100%;
    }
    
    .service-icon {
        height: 120px;
    }
}

@media (max-width: 767px) {
    .andon-services {
        padding: 3rem 1rem;
        margin-top: 2rem;
    }
    
    .stats-grid {
        display: flex;
        flex-direction: column;
        gap: 2rem;
    }
    
    .stats-grid .stat-item:first-child {
        margin-bottom: 2rem;
    }
    
    .stat-number {
        font-size: 3.5rem;
    }
    
    .stat-label {
        font-size: 1.1rem;
    }
    
    .services-subtitle {
        font-size: 1.4rem;
    }
    
    /* Imágenes de servicios: más altas en tablet/mobile (426px–767px) */
    .service-icon {
        height: 140px;
    }
    
    .stats-features {
        display: none;
    }
    
    /* Timeline con scroll horizontal pero sin conectores complejos */
    .timeline-steps {
        display: flex;
        flex-direction: row;
        gap: 1.5rem;
        padding: 0 1rem;
        overflow-x: auto;
        scroll-behavior: smooth;
        scroll-snap-type: x mandatory;
        width: 100%;
        margin: 0;
        justify-content: flex-start;
    }
    
    .timeline-step {
        width: calc(100vw - 2rem);
        min-width: calc(100vw - 2rem);
        max-width: calc(100vw - 2rem);
        padding: 2rem;
        gap: 1.5rem;
        text-align: center;
        margin: 0;
        flex-shrink: 0;
        scroll-snap-align: center;
    }
    
    .timeline-step-content {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
        align-items: center;
        max-width: 100%;
        width: 100%;
        padding: 0;
    }
    
    /* Asegurar que las imágenes estén siempre arriba en móviles */
    .timeline-step:nth-child(even) .step-content {
        order: 2;
    }
    
    .timeline-step:nth-child(even) .step-visual {
        order: 1;
    }
    
    .timeline-step:nth-child(odd) .step-content {
        order: 2;
    }
    
    .timeline-step:nth-child(odd) .step-visual {
        order: 1;
    }
    
    .step-visual {
        height: 160px;
        min-height: 160px;
        width: 100%;
    }
    
    /* Timeline: mostrar la mitad de la imagen (centro) en todos los steps en móvil */
    .timeline-step .step-image {
        object-position: center center;
    }
    /* Step 4: un poco más arriba de la mitad */
    .timeline-step[data-step="4"] .step-image {
        object-position: center 22%;
    }

    .step-content h4 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .step-description {
        font-size: 1rem;
        margin-bottom: 1rem;
    }
    
    /* Eliminar conectores horizontales en móviles */
    .timeline-step::before,
    .timeline-step::after {
        display: none;
    }
    
    .timeline-step:hover::before,
    .timeline-step:hover::after {
        display: none;
    }
    
    /* Desactivar hover effects en móviles */
    .timeline-step:hover {
        opacity: 1;
        background: #f8fafc;
        box-shadow: 0 4px 20px rgba(59, 130, 246, 0.05);
        transform: none;
    }
    
    .timeline-step:hover .step-indicator {
        display: none;
    }
    
    /* Eliminar indicadores circulares en móviles */
    .timeline-step .step-indicator {
        display: none;
    }
    
    /* Desactivar animaciones de focus en móviles */
    .timeline-step.focus {
        opacity: 1;
        transform: none;
    }
    
    .timeline-step.focus .step-content h4::after {
        width: 100%;
    }
    
    .timeline-step.focus .step-details {
        max-height: 350px;
        opacity: 1;
        transform: translateY(0);
        margin-top: 2rem;
        padding-top: 2rem;
        border-top: 2px solid #f3f4f6;
    }
    
    .timeline-step.focus .step-icon {
        transform: none;
    }
    
    .timeline-step.focus .step-content h4 {
        color: inherit;
    }
    
    /* Mostrar detalles expandidos por defecto en móviles */
    .timeline-step .step-details {
        max-height: 350px;
        opacity: 1;
        transform: translateY(0);
        margin-top: 2rem;
        padding-top: 2rem;
        border-top: 2px solid #f3f4f6;
    }
    
    .timeline-step .step-content h4::after {
        width: 100%;
    }
    
    /* Mostrar puntos de progreso simplificados en móviles */
    .timeline-progress {
        display: flex;
        justify-content: center;
        gap: 0.5rem;
        margin-top: 2rem;
    }
    
    .progress-dot {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: #d1d5db;
        cursor: pointer;
        transition: all 0.3s ease;
    }
    
    .progress-dot.active {
        background: #3b82f6;
        transform: scale(1.2);
    }
}

/* Timeline Responsive para pantallas pequeñas */
@media (max-width: 480px) {
    .timeline-steps {
        gap: 2.5rem;
        padding: 0 1rem;
    }
    
    .timeline-step {
        padding: 1.5rem;
        gap: 1.5rem;
    }
    
    .timeline-step-content {
        gap: 1.25rem;
    }
    
    .step-visual {
        height: 140px;
        min-height: 140px;
    }
    
    /* Timeline: mostrar la mitad de la imagen (centro) en todos los steps en móvil pequeño */
    .timeline-step .step-image {
        object-position: center center;
    }
    /* Step 4: un poco más arriba de la mitad */
    .timeline-step[data-step="4"] .step-image {
        object-position: center 22%;
    }

    .step-content h4 {
        font-size: 1.4rem;
        margin-bottom: 0.75rem;
    }
    
    .step-description {
        font-size: 0.95rem;
        margin-bottom: 0.75rem;
    }
    
    .step-details p {
        font-size: 0.9rem;
        margin-bottom: 0.75rem;
    }
    
    .step-details li {
        font-size: 0.9rem;
        padding: 0.5rem 0;
        padding-left: 1.25rem;
    }
}

/* Services Responsive para móviles */
@media (max-width: 767px) {
    .services-showcase {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .services-title {
        font-size: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-button.primary,
    .cta-button.secondary {
        width: 100%;
        max-width: 300px;
    }
}

/* Responsive para Testimoniales */
@media (max-width: 1024px) {
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .testimonials-section-title,
    .testimonials-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .testimonials {
        padding: 4rem 2rem;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .testimonials-section-title,
    .testimonials-title {
        font-size: 2rem;
        margin-bottom: 3rem;
    }
    
    .testimonial-card {
        padding: 2rem;
    }
    
    .testimonial-author {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .company-logo {
        width: 120px;
        height: 60px;
        margin-top: 0.5rem;
    }
}

@media (max-width: 480px) {
    .testimonials {
        padding: 3rem 1rem;
    }
    
    .testimonials-section-title,
    .testimonials-title {
        font-size: 1.8rem;
    }
    
    .testimonial-card {
        padding: 1.5rem;
    }
    
    .author-info {
        gap: 0.75rem;
    }
    
    .author-avatar {
        width: 45px;
        height: 45px;
    }
    
    .author-name {
        font-size: 1rem;
    }
    
    .author-company {
        font-size: 0.8rem;
    }
    
    .company-logo {
        width: 100px;
        height: 50px;
    }
}

/* Responsive para Call to Action */
@media (max-width: 1200px) {
    .cta-container {
        max-width: 1000px;
        gap: 3.5rem;
    }
    
    .cta-title {
        font-size: 1.9rem;
    }
    
    .cta-subtitle {
        font-size: 1.1rem;
    }
    
    .cta-call {
        font-size: 1.45rem;
    }
    
    .cta-phone {
        font-size: 1.15rem;
    }
}

@media (max-width: 1024px) {
    .cta-container {
        gap: 3rem;
    }
    
    .cta-title {
        font-size: 1.8rem;
    }
    
    .cta-subtitle {
        font-size: 1rem;
    }
    
    .cta-call {
        font-size: 1.4rem;
    }
    
    .cta-phone {
        font-size: 1.1rem;
    }
}

/* Media query específico para tablet 768px - layout tipo desktop */
@media (max-width: 768px) and (min-width: 768px) {
    .cta-banner {
        padding: 3rem 2rem;
    }
    
    .cta-container {
        display: flex;
        flex-direction: row;
        gap: 3rem;
        align-items: center;
        max-width: 1000px;
        text-align: left;
    }
    
    .cta-image {
        height: 350px;
        border-radius: 16px;
    }
    
    .cta-content {
        gap: 1.5rem;
    }
    
    .cta-title {
        font-size: 1.9rem;
        line-height: 1.3;
    }
    
    .cta-subtitle {
        font-size: 1.1rem;
        line-height: 1.7;
    }
    
    .cta-action {
        gap: 1rem;
        margin-top: 1rem;
    }
    
    .cta-call {
        font-size: 1.45rem;
    }
    
    .cta-phone {
        font-size: 1.15rem;
        justify-content: flex-start;
        margin: 0;
    }
}

@media (max-width: 767px) {
    .cta-banner {
        padding: 2rem 1rem;
    }
    
    .cta-container {
        display: flex;
        flex-direction: column;
        gap: 2.5rem;
        text-align: center;
        max-width: 600px;
    }
    
    .cta-image {
        height: 300px;
        border-radius: 12px;
    }
    
    .cta-content {
        gap: 1.25rem;
    }
    
    .cta-title {
        font-size: 1.7rem;
        line-height: 1.4;
    }
    
    .cta-subtitle {
        font-size: 1.05rem;
        line-height: 1.6;
    }
    
    .cta-action {
        gap: 0.75rem;
        margin-top: 0.5rem;
    }
    
    .cta-call {
        font-size: 1.35rem;
    }
    
    .cta-phone {
        font-size: 1.05rem;
        justify-content: center;
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .cta-banner {
        padding: 2rem 1rem;
    }
    
    .cta-container {
        display: flex;
        flex-direction: column;
        gap: 2rem;
        max-width: 100%;
    }
    
    .cta-image {
        height: 250px;
        border-radius: 10px;
    }
    
    .cta-content {
        gap: 1rem;
    }
    
    .cta-title {
        font-size: 1.5rem;
        line-height: 1.3;
    }
    
    .cta-subtitle {
        font-size: 0.95rem;
        line-height: 1.5;
    }
    
    .cta-action {
        gap: 0.5rem;
        margin-top: 0.25rem;
    }
    
    .cta-call {
        font-size: 1.25rem;
    }
    
    .cta-phone {
        font-size: 1rem;
        padding: 0.75rem 1.5rem;
    }
}

@media (max-width: 360px) {
    .cta-banner {
        padding: 2rem 1rem;
    }
    
    .cta-container {
        display: flex;
        flex-direction: column;
        gap: 1.75rem;
    }
    
    .cta-image {
        height: 220px;
        border-radius: 8px;
    }
    
    .cta-title {
        font-size: 1.35rem;
        line-height: 1.25;
    }
    
    .cta-subtitle {
        font-size: 0.9rem;
        line-height: 1.4;
    }
    
    .cta-call {
        font-size: 1.15rem;
    }
    
    .cta-phone {
        font-size: 0.95rem;
        padding: 0.65rem 1.25rem;
    }
}

/* Mobile Small - Estadísticas más separadas */
@media (max-width: 480px) {
    .stats-grid {
        gap: 2rem;
        max-width: 350px;
    }
    
    .stats-grid .stat-item:first-child {
        margin-bottom: 2rem;
    }
    
    .stat-number {
        font-size: 3.5rem;
    }
    
    .stat-label {
        font-size: 1.1rem;
    }
    
    .services-subtitle {
        font-size: 1.3rem;
    }
    
    .services-showcase {
        margin: 1rem 0;
    }
}

/* ===== SECCIÓN EMPRESAS ===== */
.companies-section {
    padding: 3rem 0;
}

.companies-title {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 2rem;
}

.companies-carousel {
    position: relative;
    overflow: hidden;
    width: 100%;
    margin: 0 auto;
    padding: 0;
}

.companies-track {
    display: flex;
    align-items: center;
    gap: 3rem;
    width: max-content;
}

.company-item {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    transition: all 0.3s ease;
    min-width: 150px;
    height: 80px;
}

.company-item:hover {
    transform: translateY(-5px);
}

.companies-section .company-logo {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.company-item:hover .company-logo {
    filter: grayscale(0%);
}



/* Responsive Companies Section */
@media (max-width: 1024px) {
    .companies-carousel {
        padding: 0 1rem;
    }
    
    .companies-track {
        gap: 2rem;
    }
    
    .company-item {
        min-width: 120px;
        height: 70px;
    }
}

@media (max-width: 768px) {
    .companies-section {
        padding: 2rem 0;
    }
    
    .companies-title {
        font-size: 1.25rem;
        margin-bottom: 1.5rem;
    }
    
    .companies-track {
        gap: 1.5rem;
        animation-duration: 20s;
    }
    
    .company-item {
        min-width: 100px;
        height: 60px;
        padding: 0.75rem;
    }
}

@media (max-width: 480px) {
    .companies-carousel {
        padding: 0 0.5rem;
    }
    
    .companies-track {
        gap: 1rem;
        animation-duration: 15s;
    }
    
    .company-item {
        min-width: 80px;
        height: 50px;
        padding: 0.5rem;
    }
}

/* ===== SECCIÓN TESTIMONIALES ===== */
.testimonials {
    background: #f8fafc;
    padding: 6rem 4rem;
}

.testimonials-container {
    max-width: 1400px;
    margin: 0 auto;
}

.testimonials-section-title {
    text-align: center;
    font-size: 3rem;
    font-weight: 800;
    color: #1f2937;
    margin-bottom: 4rem;
    background: linear-gradient(135deg, #1e40af, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.testimonials-title {
    text-align: center;
    font-size: 3rem;
    font-weight: 800;
    color: #1f2937;
    margin-bottom: 4rem;
    background: linear-gradient(135deg, #1e40af, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-top: 3rem;
}

.testimonial-card {
    background: #ffffff;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.05);
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.1);
    border-color: #dbeafe;
}

.testimonial-rating {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1.5rem;
}

.star {
    color: #fbbf24;
    font-size: 1.25rem;
}

.testimonial-text {
    flex: 1;
    margin-bottom: 2rem;
}

.testimonial-text p {
    font-size: 1rem;
    line-height: 1.7;
    color: #374151;
    font-weight: 400;
    margin: 0;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-top: auto;
    gap: 1rem;
}

.author-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

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

.author-details {
    flex: 1;
}

.author-name {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1f2937;
    margin: 0 0 0.25rem 0;
}

.author-company {
    font-size: 0.875rem;
    color: #6b7280;
    margin: 0;
    font-weight: 500;
}

.company-logo {
    width: 210px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-bottom: 1.5rem;
}

.company-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(0%);
}

/* Responsive Testimonials Section */
@media (max-width: 1024px) and (min-width: 769px) {
    .testimonials {
        padding: 4rem 2rem;
    }
    
    .testimonials-section-title,
    .testimonials-title {
        font-size: 2.5rem;
        margin-bottom: 3rem;
    }
    
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
        max-width: 900px;
        margin: 0 auto;
    }
    
    .testimonial-card {
        min-height: auto;
        height: auto;
        padding: 2rem;
    }
    
    .testimonial-text p {
        font-size: 0.95rem;
        line-height: 1.6;
    }
}

@media (max-width: 768px) {
    .testimonials {
        padding: 3rem 1.5rem;
    }
    
    .testimonials-section-title,
    .testimonials-title {
        font-size: 2rem;
        margin-bottom: 2.5rem;
    }
    
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        margin-top: 2rem;
        max-width: 100%;
    }
    
    .testimonial-card {
        padding: 2rem;
        border-radius: 12px;
    }
    
    .testimonial-rating {
        margin-bottom: 1rem;
    }
    
    .star {
        font-size: 1.125rem;
    }
    
    .testimonial-text {
        margin-bottom: 1.5rem;
    }
    
    .testimonial-text p {
        font-size: 0.95rem;
        line-height: 1.6;
    }
    
    .testimonial-author {
        gap: 0.75rem;
    }
    
    .author-info {
        gap: 0.75rem;
    }
    
    .author-avatar {
        width: 45px;
        height: 45px;
    }
    
    .author-name {
        font-size: 1rem;
    }
    
    .author-company {
        font-size: 0.8rem;
    }
    
    .company-logo {
        width: 160px;
        height: 55px;
        margin-bottom: 1rem;
    }
}

@media (max-width: 480px) {
    .testimonials {
        padding: 2rem 1rem;
    }
    
    .testimonials-section-title,
    .testimonials-title {
        font-size: 1.75rem;
        margin-bottom: 2rem;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
        margin-top: 1.5rem;
    }
    
    .testimonial-card {
        padding: 1.5rem;
        border-radius: 10px;
    }
    
    .testimonial-rating {
        margin-bottom: 0.75rem;
    }
    
    .star {
        font-size: 1rem;
    }
    
    .testimonial-text {
        margin-bottom: 1.25rem;
    }
    
    .testimonial-text p {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    .testimonial-author {
        gap: 0.5rem;
    }
    
    .author-info {
        gap: 0.5rem;
    }
    
    .author-avatar {
        width: 40px;
        height: 40px;
    }
    
    .author-name {
        font-size: 0.95rem;
    }
    
    .author-company {
        font-size: 0.75rem;
    }
    
    .company-logo {
        width: 140px;
        height: 45px;
        margin-bottom: 0.75rem;
    }
}

/* ===== SECCIÓN CALL TO ACTION ===== */
.cta-banner {
    background: linear-gradient(135deg, #0f1419 0%, #1a2332 50%, #0f1419 100%);
    padding: 3rem 2rem;
    color: white;
}

.cta-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 4rem;
    align-items: center;
}

.cta-image {
    flex: 1;
    height: 350px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.1);
    border: 1px solid #e5e7eb;
}

.cta-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    transition: transform 0.3s ease;
}

.cta-image:hover img {
    transform: scale(1.02);
}

.cta-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.cta-title {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.3;
    margin: 0;
    color: white;
    background: linear-gradient(135deg, #ffffff 0%, #e2e8f0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-content .cta-subtitle {
    font-size: 1.125rem;
    line-height: 1.7;
    margin: 0;
    color: #ffffff;
    font-weight: 500;
}

.cta-action {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
}

.cta-content .cta-call {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    color: #f5f5f5;
}

.cta-phone {
    font-size: 1.25rem;
    font-weight: 600;
    color: white;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #1e40af, #3b82f6);
    border-radius: 12px;
    border: none;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.2);
    max-width: fit-content;
}

.cta-phone:hover {
    background: linear-gradient(135deg, #1e3a8a, #2563eb);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.3);
}

/* Footer */
.footer {
    background: #f8fafc;
    color: #374151;
    padding: 4rem 4rem 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1400px;
    margin: 0 auto;
    margin-bottom: 3rem;
}

.footer-section h3,
.footer-section h4 {
    color: #1f2937;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.company-name {
    font-size: 1.5rem;
    color: #1f2937;
    margin-bottom: 2rem;
}

.contact-info .info-item {
    margin-bottom: 1.5rem;
}

.contact-info h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: #374151;
}

.contact-info p {
    margin: 0.25rem 0;
    color: #6b7280;
    font-size: 0.95rem;
}

.business-hours h4 {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.schedule p {
    margin: 0.5rem 0;
    color: #6b7280;
    font-size: 0.95rem;
}

.footer-phone-number {
    height: 30px;
    width: 200px;
    min-height: 30px;
    display: block;
    object-fit: contain;
}

.schedule span {
    font-weight: 600;
    color: #374151;
}

.social-media {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #e5e7eb;
    border-radius: 50%;
    color: #374151;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: #60a5fa;
    color: white;
    transform: translateY(-2px);
}

.social-icon img {
    width: 20px;
    height: 20px;
    min-width: 20px;
    min-height: 20px;
    object-fit: contain;
    transition: filter 0.3s ease;
    display: block;
}



.footer-bottom {
    border-top: 1px solid #e5e7eb;
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.copyright p {
    margin: 0.25rem 0;
    color: #6b7280;
    font-size: 0.9rem;
}

.privacy-policy a {
    color: #60a5fa;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.privacy-policy a:hover {
    color: #3b82f6;
}

.terms-and-conditions {
    margin: 0.25rem 0;
    color: #6b7280;
    font-size: 0.9rem;
}

.terms-and-conditions a {
    color: #60a5fa;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.terms-and-conditions a:hover {
    color: #3b82f6;
}

/* Enlace discreto al panel de administración */
.admin-footer-link {
    text-align: center;
    padding: 0.5rem 0;
    margin-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.admin-footer-link a {
    color: #9ca3af;
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.admin-footer-link a:hover {
    color: #6b7280;
}

/* Beneficios de un Sistema Andon Section */
.andon-benefits {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    padding: 6rem 6rem;
    position: relative;
    overflow: hidden;
}

.benefits-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1400px;
    margin: 0 auto;
    align-items: center;
}

.benefits-text {
    padding-right: 2rem;
}

.benefits-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, #ffffff 0%, #e2e8f0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.benefits-title .highlight {
    color: #60a5fa;
    -webkit-text-fill-color: #60a5fa;
}

.benefits-description {
    font-size: 1.2rem;
    line-height: 1.7;
    color: #e2e8f0;
    margin-bottom: 2.5rem;
}

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

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.6;
    color: #ffffff;
}

.checkmark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: #60a5fa;
    color: #ffffff;
    border-radius: 50%;
    font-size: 1rem;
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 2px;
}

.benefits-image {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
}

.benefits-photo {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 8px;
    transition: transform 0.3s ease;
    object-fit: contain;
}

.benefits-photo:hover {
    transform: translateY(-5px);
}

/* Beneficios Responsive */
@media (max-width: 1024px) {
    .andon-benefits {
        padding: 4rem 2rem;
    }
    
    .benefits-content {
        gap: 3rem;
    }
    
    .benefits-text {
        padding-right: 0;
    }
    
    .benefits-title {
        font-size: 2.5rem;
    }
    
    .benefits-description {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) and (min-width: 768px) {
    .andon-benefits {
        padding: 4rem 2rem;
    }
    
    .benefits-content {
        grid-template-columns: 1fr 1fr !important;
        gap: 2.5rem;
        max-width: 1000px;
    }
    
    .benefits-text {
        padding-right: 1rem;
    }
    
    .benefits-title {
        font-size: 2.5rem;
    }
    
    .benefits-description {
        font-size: 1.05rem;
    }
    
    .benefit-item {
        font-size: 1rem;
    }
    
    .benefits-image {
        min-height: 350px;
    }
    
    .benefits-photo {
        max-width: 100%;
    }
}

@media (max-width: 767px) {
    .andon-benefits {
        padding: 3rem 1rem;
    }
    
    .benefits-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .benefits-title {
        font-size: 2rem;
    }
    
    .benefits-description {
        font-size: 1rem;
    }
    
    .benefit-item {
        font-size: 1rem;
    }
    
    .benefits-image {
        min-height: 400px;
    }
    
    .benefits-photo {
        max-width: 100%;
    }
}

/* ===== SECCIÓN NUESTRO TRABAJO ===== */
.our-work {
    padding: 6rem 0;
    background: linear-gradient(135deg, #0f1419 0%, #1a2332 50%, #0f1419 100%);
}

.work-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
    box-sizing: border-box;
}

.work-header {
    margin-bottom: 5rem;
}

.work-header-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
    max-height: 480px;
    overflow: visible;
}

.work-header-left {
    flex: 1;
    max-width: 400px;
}


.world-map-static {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    position: relative;
}

.world-map-static .map-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 10px;
    position: relative;
    z-index: 1;
    display: block;
}

.world-map-static svg {
    fill: #84898C;
    width: 100%;
    height: 100%;
    transform: scale(0.65) translate(-10%, -28%);
    transform-origin: center center;
}

/* Estilos para puntos de ubicación interactivos */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.2);
    }
}

@keyframes pulse-ring {
    0% {
        width: 12px;
        height: 12px;
        opacity: 0.3;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        width: 18px;
        height: 18px;
        opacity: 0.1;
        transform: translate(-50%, -50%) scale(1.5);
    }
    100% {
        width: 24px;
        height: 24px;
        opacity: 0;
        transform: translate(-50%, -50%) scale(2);
    }
}

.location-marker {
    cursor: pointer;
    position: absolute;
    z-index: 10;
    pointer-events: all;
}

.location-point {
    transition: width 0.3s ease, height 0.3s ease, filter 0.3s ease;
    transform-origin: center;
    animation: location-pulse-size 2.5s ease-in-out infinite;
    box-sizing: border-box;
}

.location-pulse {
    opacity: 0.3;
    transition: opacity 0.3s ease, width 0.3s ease, height 0.3s ease;
    animation: location-pulse-ring 2.5s ease-in-out infinite;
    box-sizing: border-box;
}

@keyframes location-pulse-size {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        transform: translate(-50%, -50%) scale(1.15);
    }
}

@keyframes location-pulse-ring {
    0%, 100% {
        opacity: 0.3;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 0.4;
        transform: translate(-50%, -50%) scale(1.17);
    }
}

/* México - Verde */
.location-marker[data-location="mexico"] .location-point {
    filter: drop-shadow(0 0 4px rgba(16, 185, 129, 0.5));
}

.location-marker[data-location="mexico"]:hover .location-point {
    width: 16px;
    height: 16px;
    filter: drop-shadow(0 0 12px #10b981);
}

.location-marker[data-location="mexico"].active .location-point {
    width: 20px;
    height: 20px;
    filter: drop-shadow(0 0 16px #10b981) drop-shadow(0 0 24px rgba(16, 185, 129, 0.8));
}

/* USA - Rojo */
.location-marker[data-location="usa"] .location-point {
    filter: drop-shadow(0 0 4px rgba(239, 68, 68, 0.5));
}

.location-marker[data-location="usa"]:hover .location-point {
    width: 16px;
    height: 16px;
    filter: drop-shadow(0 0 12px #ef4444);
}

.location-marker[data-location="usa"].active .location-point {
    width: 20px;
    height: 20px;
    filter: drop-shadow(0 0 16px #ef4444) drop-shadow(0 0 24px rgba(239, 68, 68, 0.8));
}

/* España - Amarillo */
.location-marker[data-location="spain"] .location-point {
    filter: drop-shadow(0 0 4px rgba(245, 158, 11, 0.5));
}

.location-marker[data-location="spain"]:hover .location-point {
    width: 16px;
    height: 16px;
    filter: drop-shadow(0 0 12px #f59e0b);
}

.location-marker[data-location="spain"].active .location-point {
    width: 20px;
    height: 20px;
    filter: drop-shadow(0 0 16px #f59e0b) drop-shadow(0 0 24px rgba(245, 158, 11, 0.8));
}

/* República Checa - Naranja */
.location-marker[data-location="czech"] .location-point {
    filter: drop-shadow(0 0 4px rgba(249, 115, 22, 0.5));
}

.location-marker[data-location="czech"]:hover .location-point {
    width: 16px;
    height: 16px;
    filter: drop-shadow(0 0 12px #f97316);
}

.location-marker[data-location="czech"].active .location-point {
    width: 20px;
    height: 20px;
    filter: drop-shadow(0 0 16px #f97316) drop-shadow(0 0 24px rgba(249, 115, 22, 0.8));
}

/* Canadá - Azul */
.location-marker[data-location="canada"] .location-point {
    filter: drop-shadow(0 0 4px rgba(96, 165, 250, 0.5));
}

.location-marker[data-location="canada"]:hover .location-point {
    width: 16px;
    height: 16px;
    filter: drop-shadow(0 0 12px #60a5fa);
}

.location-marker[data-location="canada"].active .location-point {
    width: 20px;
    height: 20px;
    filter: drop-shadow(0 0 16px #60a5fa) drop-shadow(0 0 24px rgba(96, 165, 250, 0.8));
}

/* Guatemala - Amarillo */
.location-marker[data-location="guatemala"] .location-point {
    filter: drop-shadow(0 0 4px rgba(245, 158, 11, 0.5));
}

.location-marker[data-location="guatemala"]:hover .location-point {
    width: 16px;
    height: 16px;
    filter: drop-shadow(0 0 12px #f59e0b);
}

.location-marker[data-location="guatemala"].active .location-point {
    width: 20px;
    height: 20px;
    filter: drop-shadow(0 0 16px #f59e0b) drop-shadow(0 0 24px rgba(245, 158, 11, 0.8));
}

/* Bolivia - Naranja */
.location-marker[data-location="bolivia"] .location-point {
    filter: drop-shadow(0 0 4px rgba(249, 115, 22, 0.5));
}

.location-marker[data-location="bolivia"]:hover .location-point {
    width: 16px;
    height: 16px;
    filter: drop-shadow(0 0 12px #f97316);
}

.location-marker[data-location="bolivia"].active .location-point {
    width: 20px;
    height: 20px;
    filter: drop-shadow(0 0 16px #f97316) drop-shadow(0 0 24px rgba(249, 115, 22, 0.8));
}

.location-marker:hover .location-pulse {
    opacity: 0.3;
    animation: pulse-ring 1s ease-in-out infinite;
}

/* ============================================
   POSICIONAMIENTO DE PUNTOS DEL MAPA
   Mobile S (320px) hasta Laptop S (1439px)
   ============================================ */
@media (max-width: 1439px) and (min-width: 320px) {
    /* Posicionamiento de los marcadores de países */
    .location-marker[data-location="mexico"] {
        top: 41% !important;
        left: 13.5% !important;
    }
    
    .location-marker[data-location="usa"] {
        top: 34% !important;
        left: 15% !important;
    }
    
    .location-marker[data-location="spain"] {
        top: 33% !important;
        left: 43.2% !important;
    }
    
    .location-marker[data-location="czech"] {
        top: 28.4% !important;
        left: 48.5% !important;
    }
    
    .location-marker[data-location="canada"] {
        top: 24% !important;
        left: 15% !important;
    }
    
    .location-marker[data-location="guatemala"] {
        top: 45.7% !important;
        left: 16.3% !important;
    }
    
    .location-marker[data-location="bolivia"] {
        top: 64.7% !important;
        left: 24.2% !important;
    }
}

/* Reducir tamaño de puntos en móviles pequeños (320px - 426px) */
@media (max-width: 426px) and (min-width: 320px) {
    .location-point {
        width: 10px !important;
        height: 10px !important;
    }
    
    .location-pulse {
        width: 20px !important;
        height: 20px !important;
    }
}

/* Panel de información de ubicación */
.location-info {
    position: absolute;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.3s ease;
    z-index: 1000;
    top: 60%;
    left: 30%;
    transform: translate(10px, -80%);
    max-width: 400px;
}

/* Ocultar paneles flotantes en móvil por defecto */
@media (max-width: 768px) {
    .location-info,
    .location-info-simple,
    .location-info-full {
        display: none !important;
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
    }
}

/* El hover ahora se maneja con JavaScript */

.location-info-content {
    background: rgba(15, 20, 25, 0.98);
    border: 2px solid #60a5fa;
    border-radius: 12px;
    padding: 1.5rem;
    max-width: 400px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
}

.location-info-content h3 {
    color: #60a5fa;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    font-family: 'Inter', sans-serif;
}

.location-projects {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1rem;
}

.project-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.project-item img {
    width: 120px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.project-item p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    line-height: 1.5;
    flex: 1;
    font-family: 'Inter', sans-serif;
}

.location-description {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-top: 0.5rem;
    font-family: 'Inter', sans-serif;
}

/* Panel simple para otros países (solo imagen + texto) */
.location-info-simple {
    position: absolute;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.3s ease;
    z-index: 1000;
    max-width: 350px;
}

/* Posición específica para el panel de México */
.location-info-simple[data-location="mexico"] {
    top: 102%;
    left: 12%;
    transform: translate(-100%, -100%);
}

/* Posición específica para el panel de usa */
.location-info-simple[data-location="usa"] {
    top: 70%;
    left: 43%;
    transform: translate(-180%, -60%);
}

/* Posición específica para el panel de España */
.location-info-simple[data-location="spain"] {
    top: 122%;
    left: 64%;
    transform: translate(-50%, -140%);
}

/* Posición específica para el panel de República Checa */
.location-info-simple[data-location="czech"] {
    top: 51%;
    left: 64.5%;
    transform: translate(-35%, -48%);
}

/* Posición específica para el panel de Canadá */
.location-info-simple[data-location="canada"] {
    top: 44%;
    left: 43%;
    transform: translate(-180%, -40%);
}

/* Posición específica para el panel de Guatemala */
.location-info-simple[data-location="guatemala"] {
    top: 110%;
    left: 15%;
    transform: translate(-100%, -100%);
}

/* Posición específica para el panel de Bolivia */
.location-info-simple[data-location="bolivia"] {
    top: 125%;
    left: 1%;
    transform: translate(-50%, -100%);
}

.location-info-content-simple {
    background: rgba(15, 20, 25, 0.98);
    border: 2px solid #60a5fa;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
}

.location-info-content-simple h3 {
    color: #60a5fa;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    font-family: 'Inter', sans-serif;
}

.location-info-content-simple img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 1rem;
    border: 1px solid rgba(96, 165, 250, 0.3);
}

.location-info-content-simple p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    line-height: 1.6;
    font-family: 'Inter', sans-serif;
    margin: 0;
}

.work-title {
    font-size: 4rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 2rem;
    line-height: 1.1;
}

.work-title-line {
    display: block;
}

.work-description {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 2.5rem;
    max-width: 400px;
}

.work-cta-button {
    background: transparent;
    border: 2px solid #60a5fa;
    color: #60a5fa;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.work-cta-button:hover {
    background: #60a5fa;
    color: #0f1419;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(96, 165, 250, 0.3);
}

.work-header-right {
    flex: 1;
    max-width: 900px;
    min-height: 700px;
    overflow: visible;
    position: relative;
}

.world-map-container {
    width: 100%;
    height: 100px;
    min-height: 50px;
    overflow: visible;
    position: relative;
}

#world-map {
    width: 100% !important;
    height: 100% !important;
}

/* Estilos para Leaflet */
.world-map-container .leaflet-container {
    background: #1a2332 !important;
    border-radius: 12px;
}

.world-map-container .leaflet-tile {
    filter: brightness(0.7) contrast(1.2);
}

/* Personalizar los popups */
.world-map-container .leaflet-popup-content-wrapper {
    background: rgba(255, 255, 255, 0.95) !important;
    color: #1e293b !important;
    border-radius: 8px !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.3) !important;
}

.world-map-container .leaflet-popup-content {
    margin: 12px 16px;
    font-size: 14px;
    font-weight: 500;
}

.world-map-container .leaflet-popup-tip {
    background: rgba(255, 255, 255, 0.95) !important;
}

/* Ocultar controles de zoom para hacerlo más estático */
.world-map-container .leaflet-control-zoom {
    display: none;
}

/* Texto del mapa */
.map-legend {
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    width: 100%;
    max-width: 90%;
}

.legend-text {
    font-size: 0.95rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
    font-family: 'Inter', sans-serif;
    margin: 0;
    letter-spacing: 0.3px;
}

/* Sección móvil para información del país - Oculto por defecto (solo visible en móvil) */
.mobile-country-info {
    display: none !important;
    width: 100%;
    max-width: 1200px;
    margin: 2rem auto 0;
    padding: 0 1rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
    position: relative;
    z-index: 10;
}

.mobile-country-info-content {
    background: rgba(26, 35, 50, 0.98);
    border: 1px solid rgba(96, 165, 250, 0.15);
    border-radius: 12px;
    padding: 1.75rem 1.5rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(8px);
    width: 100%;
    transition: transform 0.4s ease-out, opacity 0.4s ease-out;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mobile-country-info-content h3 {
    color: #ffffff;
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    font-family: 'Inter', sans-serif;
    text-align: center;
}

.mobile-country-info-content img {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 8px;
    margin: 0 auto 1.5rem;
    display: block;
    border: none;
}

.mobile-country-info-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    line-height: 1.7;
    font-family: 'Inter', sans-serif;
    margin: 0;
    text-align: center;
}

.mobile-country-info-content .location-projects {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1rem;
}

.mobile-country-info-content .project-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.mobile-country-info-content .project-item img {
    width: 120px;
    height: auto;
    flex-shrink: 0;
    margin-bottom: 0;
}

.mobile-country-info-content .location-description {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-top: 1rem;
}

.work-subtitle {
    font-size: 1.25rem;
    color: #6b7280;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

.work-gallery {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 4rem;
    justify-content: center;
    align-items: flex-start;
}

.work-column {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    flex: 1;
    max-width: calc(25% - 0.5625rem);
    min-width: 180px;
}

.work-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    width: 100%;
    line-height: 0;
}

.work-image {
    position: relative;
    width: auto;
    height: auto;
    overflow: hidden;
    border-radius: 12px;
    transition: all 0.3s ease;
    line-height: 0;
    margin: 0;
    padding: 0;
}

.work-image:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.work-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    transition: transform 0.3s ease;
    vertical-align: top;
    margin: 0;
    padding: 0;
}

.work-item:hover .work-image img {
    transform: scale(1.05);
}

.work-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.95), rgba(59, 130, 246, 0.95));
    color: white;
    padding: 2rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.work-item:hover .work-overlay {
    transform: translateY(0);
}

.work-overlay h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: white;
    line-height: 1.3;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    white-space: normal;
}

.work-overlay p {
    font-size: 0.95rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

.work-cta {
    text-align: center;
}

.work-cta .cta-button {
    background: linear-gradient(135deg, #1e40af, #3b82f6);
    color: white;
    border: none;
    padding: 1rem 2.5rem;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.work-cta .cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    background: linear-gradient(135deg, #1e3a8a, #2563eb);
}

/* Responsive para Nuestro Trabajo */
@media (max-width: 1024px) {
    .work-gallery {
        flex-wrap: wrap;
    }
    
    .work-column {
        max-width: calc(50% - 0.375rem);
        min-width: 180px;
    }
    
    .work-title {
        font-size: 3rem;
    }
    
    .work-header-content {
        gap: 1.5rem;
    }
    
    .work-header-right {
        overflow: visible !important;
        padding: 0;
        width: 100%;
        max-width: 100%;
        min-height: 250px;
    }
    
    .world-map-container {
        height: 500px;
    }
    
    .world-map-static svg {
        transform: scale(0.6) translate(-12%, -26%);
    }
    
    .map-legend {
        top: -45px;
    }
    
    .location-info,
    .location-info-simple {
        max-width: 85%;
    }
    
}

@media (max-width: 768px) and (min-width: 768px) {
    .our-work {
        padding: 3rem 0;
    }
    
    .work-container {
        padding: 0 2rem;
    }
    
    .work-header {
        margin-bottom: 2rem;
    }
    
    .work-title {
        font-size: 3rem;
    }
    
    .work-subtitle {
        font-size: 1.15rem;
    }
    
    .work-header-right {
        overflow: visible !important;
        padding: 0;
        width: 100%;
        max-width: 100%;
        min-height: 250px;
    }
    
    .work-gallery {
        flex-wrap: wrap !important;
        gap: 0.75rem;
        justify-content: center;
        align-items: flex-start;
    }
    
    .work-column {
        max-width: calc(50% - 0.375rem) !important;
        min-width: calc(50% - 0.375rem);
        flex: 0 0 calc(50% - 0.375rem);
    }
    
    .work-overlay {
        padding: 2rem;
        transform: translateY(100%);
        background: linear-gradient(135deg, rgba(30, 64, 175, 0.95), rgba(59, 130, 246, 0.95));
    }
}

/* Tablet/Desktop pequeño - 769px hasta 1024px */
@media (max-width: 1024px) and (min-width: 769px) {
    .work-header-content {
        flex-direction: row;
        gap: 1.5rem;
        align-items: flex-start;
    }
    
    .work-title-line {
        font-size: 2.5rem;
    }
    
    .work-description {
        font-size: 1rem;
    }
    
    .work-cta-button {
        font-size: 1rem;
    }
    
    .work-header-left {
        flex: 1;
        max-width: 50%;
    }
    
    .work-header-right {
        flex: 1;
        min-height: 200px;
        overflow: visible !important;
        padding: 0;
        margin-bottom: 0;
        max-width: 50%;
    }
    
    .mobile-country-info {
        margin-top: 1rem;
        padding: 0 1rem;
    }
    
    .world-map-container {
        height: 400px;
        width: 100%;
        overflow: visible !important;
        position: relative;
        padding: 0;
    }
    
    .world-map-static {
        width: 100% !important;
        height: 100%;
        overflow: visible !important;
        display: block;
        position: relative;
        padding: 0;
        margin: 0;
    }
    
    .world-map-static svg {
        transform: scale(0.3) !important;
        transform-origin: top left;
        width: 1009.6727px !important;
        height: 665.96301px !important;
        position: absolute;
        top: 50%;
        left: 50%;
        margin-top: 45.192602px !important;
        margin-left: -149.93454px !important;
        max-width: none;
        max-height: none;
    }
    
    .world-map-static {
        display: block !important;
        position: relative;
        width: 100%;
        height: 100%;
    }
    
    .map-legend {
        top: -30px;
        padding: 0 0.75rem;
    }
    
    .legend-text {
        font-size: 0.75rem;
    }
    
    .work-gallery {
        margin-top: 2rem;
    }
    
    /* Puntos más pequeños pero visibles */
    .location-point {
        r: 6 !important;
    }
    
    .location-pulse {
        r: 14 !important;
    }
    
    /* Ocultar paneles flotantes */
    .location-info,
    .location-info-simple,
    .location-info-full {
        display: none !important;
    }
    
    /* Mostrar sección móvil */
    .mobile-country-info {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .mobile-country-info-content {
        padding: 1rem;
        max-width: 100%;
        min-width: 150px;
        background: rgba(26, 35, 50, 0.98);
        border: 1px solid rgba(96, 165, 250, 0.15);
        border-radius: 12px;
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
        display: grid;
        grid-template-columns: 0.45fr 0.55fr;
        grid-template-rows: auto 1fr;
        gap: 1rem;
        align-items: start;
    }
    
    .mobile-country-info-content img {
        grid-column: 1;
        grid-row: 1 / 3;
        width: 100%;
        max-width: 100%;
        height: auto;
        border-radius: 10px;
        border: none;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
        align-self: start;
        object-fit: cover;
    }
    
    .mobile-country-info-content h3 {
        grid-column: 2;
        grid-row: 1;
        font-size: 1.1rem;
        color: #ffffff;
        text-align: left;
        margin-bottom: 0.75rem;
        margin-top: 0;
    }
    
    .mobile-country-info-content p {
        grid-column: 2;
        grid-row: 2;
        font-size: 0.85rem;
        color: rgba(255, 255, 255, 0.8);
        text-align: left;
        margin: 0;
    }
    
    /* Reducir tamaño de texto en testimonios */
    .testimonials-section-title,
    .testimonials-title {
        font-size: 1.75rem !important;
        margin-bottom: 2rem !important;
    }
    
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1.25rem !important;
    }
    
    .testimonial-card {
        padding: 1.5rem !important;
    }
    
    .testimonial-text p {
        font-size: 0.85rem !important;
        line-height: 1.5 !important;
    }
    
    .author-name {
        font-size: 0.9rem !important;
    }
    
    .author-company {
        font-size: 0.75rem !important;
    }
    
    .company-logo {
        width: 140px !important;
        height: 45px !important;
    }
}

/* Específico para 1024px hasta 1439px - mapa más grande y mostrar paneles flotantes */
@media (max-width: 1140px) and (min-width: 1024px) {
    .world-map-static svg {
        transform: scale(0.4) !important;
        left: 35% !important;
    }
    
    /* Ocultar sección móvil */
    .mobile-country-info {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
    }
    
    /* Mostrar paneles flotantes como en desktop (ocultos por defecto, se muestran con hover) */
    .location-info,
    .location-info-simple,
    .location-info-full {
        display: block !important;
        /* Permitir que JavaScript controle opacity y visibility */
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }
    
    /* Las posiciones de los paneles se calculan dinámicamente con JavaScript
       basándose en la posición de sus marcadores correspondientes */
    
    /* Reducir tamaño de los paneles para 1024px */
    .location-info-simple {
        max-width: 280px !important;
    }
    
    .location-info-content-simple {
        padding: 1rem !important;
    }
    
    .location-info-content-simple h3 {
        font-size: 1.2rem !important;
        margin-bottom: 0.75rem !important;
    }
    
    .location-info-content-simple img {
        margin-bottom: 0.75rem !important;
        border-radius: 6px !important;
    }
    
    .location-info-content-simple p {
        font-size: 0.85rem !important;
        line-height: 1.5 !important;
    }
}


/* Mismos estilos para 1025px hasta 1439px */
@media (max-width: 1439px) and (min-width: 1025px) {
    /* Estilos del título y sección de trabajo (de @media max-width: 1024px) */
    .work-title {
        font-size: 3rem;
    }
    
    .work-header-content {
        gap: 1.5rem;
    }
    
    .work-header-left {
        max-width: 50%
    }

    .work-title {
        font-size: 3rem;
    }
    .work-description {
        font-size: 1rem;
    }

    .work-cta-button {
        font-size: 1rem;
    }

    .work-header-right {
        overflow: visible !important;
        padding: 0;
        width: 100%;
        max-width: 100%;
        min-height: 250px;
    }
    
    /* Estilos del mapa (de @media max-width: 1024px) */
    .world-map-container {
        height: 500px;
        overflow: visible !important;
        position: relative;
        width: 100%;
    }
    
    .world-map-static {
        overflow: visible !important;
        width: 100% !important;
        height: 100%;
        position: relative;
        display: flex;
        align-items: center;
        justify-content: flex-start;
    }
    
    /* Estilos específicos del mapa de 1024px */
    .world-map-static svg {
        transform: scale(0.4) !important;
        transform-origin: top left;
        width: 1009.6727px !important;
        height: 665.96301px !important;
        position: absolute;
        top: 50%;
        left: 50%;
        margin-top: 45.192602px !important;
        margin-left: -199.93454px !important;
        max-width: none;
        max-height: none;
    }
    
    .map-legend {
        top: -45px;
    }
    
    .location-info,
    .location-info-simple {
        max-width: 85%;
    }
    
    /* Ocultar sección móvil */
    .mobile-country-info {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
    }
    
    /* Mostrar paneles flotantes como en desktop (ocultos por defecto, se muestran con hover) */
    .location-info,
    .location-info-simple,
    .location-info-full {
        display: block !important;
        /* Permitir que JavaScript controle opacity y visibility */
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }
    
    /* Las posiciones de los paneles se calculan dinámicamente con JavaScript
       basándose en la posición de sus marcadores correspondientes */
    
    /* Reducir tamaño de los paneles para 1025px-1439px */
    .location-info-simple {
        max-width: 280px !important;
    }
    
    .location-info-content-simple {
        padding: 1rem !important;
    }
    
    .location-info-content-simple h3 {
        font-size: 1.2rem !important;
        margin-bottom: 0.75rem !important;
    }
    
    .location-info-content-simple img {
        margin-bottom: 0.75rem !important;
        border-radius: 6px !important;
    }
    
    .location-info-content-simple p {
        font-size: 0.85rem !important;
        line-height: 1.5 !important;
    }
}

/* Mobile - 481px hasta 768px */
@media (max-width: 768px) and (min-width: 481px) {
    body {
        overflow-x: hidden;
    }
    
    .work-container {
        padding: 0 1rem;
        max-width: 100%;
        overflow-x: hidden;
        width: 100%;
        box-sizing: border-box;
    }
    
    .our-work {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }
    
    .testimonials {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
        padding: 3rem 1rem;
        box-sizing: border-box;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem;
        margin-top: 2rem;
        max-width: 100%;
        width: 100%;
        box-sizing: border-box;
    }
    
    .testimonial-card {
        max-width: 100%;
        width: 100%;
        box-sizing: border-box;
    }
    
    .work-header-content {
        flex-direction: column;
        gap: 2rem;
        max-height: none;
        width: 100%;
        max-width: 100%;
    }
    
    .work-header-left {
        max-width: 100%;
        width: 100%;
        margin-bottom: 2rem;
    }
    
    .work-header-right {
        min-height: 200px;
        overflow: visible !important;
        padding: 0;
        margin-bottom: 70px;
        width: 100%;
        max-width: 100%;
    }
    
    .mobile-country-info {
        margin-top: 1rem;
        padding: 0 1rem;
    }
    
    .world-map-container {
        height: 500px;
        width: 100%;
        overflow: visible !important;
        position: relative;
        padding: 0;
    }
    
    .world-map-static {
        width: 100% !important;
        height: 100%;
        overflow: visible !important;
        display: block;
        position: relative;
        padding: 0;
        margin: 0;
    }
    
    .world-map-static svg {
        transform: scale(0.3) !important;
        transform-origin: top left;
        width: 1009.6727px !important;
        height: 665.96301px !important;
        position: absolute;
        top: 50%;
        left: 50%;
        margin-top: 45.192602px !important;
        margin-left: -149.93454px !important;
        max-width: none;
        max-height: none;
    }
    
    .world-map-static {
        display: block !important;
        position: relative;
        width: 100%;
        height: 100%;
    }
    
    .map-legend {
        top: -30px;
        padding: 0 0.75rem;
    }
    
    .legend-text {
        font-size: 0.75rem;
    }

    .work-gallery {
        margin-top: 2rem;
    }
    
    /* Puntos más pequeños pero visibles */
    .location-point {
        r: 6 !important;
    }
    
    .location-pulse {
        r: 14 !important;
    }
    
    /* Ocultar paneles flotantes */
    .location-info,
    .location-info-simple,
    .location-info-full {
        display: none !important;
    }
    
    /* Mostrar sección móvil */
    .mobile-country-info {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .mobile-country-info-content {
        padding: 1rem;
        max-width: 100%;
        min-width: 150px;
        background: rgba(26, 35, 50, 0.98);
        border: 1px solid rgba(96, 165, 250, 0.15);
        border-radius: 12px;
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
    }
    
    .mobile-country-info-content h3 {
        font-size: 1.1rem;
        color: #ffffff;
    }
    
    .mobile-country-info-content img {
        margin-bottom: 0.75rem;
        border-radius: 10px;
        border: none;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    }
    
    .mobile-country-info-content p {
        font-size: 0.85rem;
        color: rgba(255, 255, 255, 0.8);
        text-align: center;
    }
}

/* Tablet - 768px - 781px */
@media (max-width: 781px) and (min-width: 768px) {
    .work-header-content {
        flex-direction: row;
        gap: 1.5rem;
        align-items: flex-start;
    }

    .work-title-line {
        font-size: 2.5rem;
    }

    .work-description {
        font-size: 1rem;
    }

    .work-cta-button {
        font-size: 1rem;
    }
    
    .work-header-left {
        flex: 1;
        max-width: 50%;
    }
    
    .work-header-right {
        flex: 1;
        min-height: 200px;
        overflow: visible !important;
        padding: 0;
        margin-bottom: 0;
        max-width: 50%;
    }
    
    .mobile-country-info {
        margin-top: 1rem;
        padding: 0 1rem;
    }
    
    .world-map-container {
        height: 400px;
        width: 100%;
        overflow: visible !important;
        position: relative;
        padding: 0;
    }
    
    .world-map-static {
        width: 100% !important;
        height: 100%;
        overflow: visible !important;
        display: block;
        position: relative;
        padding: 0;
        margin: 0;
    }
    
    .world-map-static svg {
        transform: scale(0.3) !important;
        transform-origin: top left;
        width: 1009.6727px !important;
        height: 665.96301px !important;
        position: absolute;
        top: 50%;
        left: 50%;
        margin-top: 45.192602px !important;
        margin-left: -149.93454px !important;
        max-width: none;
        max-height: none;
    }
    
    .world-map-static {
        display: block !important;
        position: relative;
        width: 100%;
        height: 100%;
    }
    
    .map-legend {
        top: -30px;
        padding: 0 0.75rem;
    }
    
    .legend-text {
        font-size: 0.75rem;
    }
    
    /* Puntos más pequeños pero visibles */
    .location-point {
        r: 6 !important;
    }
    
    .location-pulse {
        r: 14 !important;
    }
    
    /* Ocultar paneles flotantes en Tablet */
    .location-info,
    .location-info-simple,
    .location-info-full {
        display: none !important;
    }
    
    /* Mostrar sección móvil */
    .mobile-country-info {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .mobile-country-info-content {
        padding: 1rem;
        max-width: 100%;
        min-width: 150px;
        background: rgba(26, 35, 50, 0.98);
        border: 1px solid rgba(96, 165, 250, 0.15);
        border-radius: 12px;
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
        display: grid;
        grid-template-columns: 0.45fr 0.55fr;
        grid-template-rows: auto 1fr;
        gap: 1rem;
        align-items: start;
    }
    
    .mobile-country-info-content img {
        grid-column: 1;
        grid-row: 1 / 3;
        width: 100%;
        max-width: 100%;
        height: auto;
        border-radius: 10px;
        border: none;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
        align-self: start;
        object-fit: cover;
    }
    
    .mobile-country-info-content h3 {
        grid-column: 2;
        grid-row: 1;
        font-size: 1.1rem;
        color: #ffffff;
        text-align: left;
        margin-bottom: 0.75rem;
        margin-top: 0;
    }
    
    .mobile-country-info-content p {
        grid-column: 2;
        grid-row: 2;
        font-size: 0.85rem;
        color: rgba(255, 255, 255, 0.8);
        text-align: left;
        margin: 0;
    }
    
    /* Reducir tamaño de texto en testimonios para Tablet */
    .testimonials-section-title,
    .testimonials-title {
        font-size: 1.75rem !important;
        margin-bottom: 2rem !important;
    }
    
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1.25rem !important;
    }
    
    .testimonial-card {
        padding: 1.5rem !important;
    }
    
    .testimonial-text p {
        font-size: 0.85rem !important;
        line-height: 1.5 !important;
    }
    
    .author-name {
        font-size: 0.9rem !important;
    }
    
    .author-company {
        font-size: 0.75rem !important;
    }
    
    .company-logo {
        width: 140px !important;
        height: 45px !important;
    }
}

@media (max-width: 767px) {
    .our-work {
        padding: 4rem 0;
    }
    
    .work-container {
        padding: 0 1rem;
    }
    
    .work-header {
        margin-bottom: 1rem;
    }
    
    .work-title {
        font-size: 2.5rem;
    }
    
    .work-subtitle {
        font-size: 1.1rem;
    }
    
    .map-legend {
        top: -40px;
        max-width: 95%;
    }
    
    .legend-text {
        font-size: 0.85rem;
    }
    
    .work-gallery {
        flex-direction: column;
        gap: 1rem;
    }
    
    .work-column {
        max-width: 100%;
        min-width: 150px;
    }
    
    .mobile-country-info-content {
        max-width: 100%;
        min-width: 150px;
        background: rgba(26, 35, 50, 0.98);
        border: 1px solid rgba(96, 165, 250, 0.15);
        border-radius: 12px;
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
    }
    
    .mobile-country-info-content h3 {
        color: #ffffff;
    }
    
    .mobile-country-info-content img {
        border-radius: 10px;
        border: none;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    }
    
    .mobile-country-info-content p {
        color: rgba(255, 255, 255, 0.8);
        text-align: center;
    }
    
    .work-overlay {
        padding: 1.5rem;
        transform: translateY(0);
        background: linear-gradient(135deg, rgba(30, 64, 175, 0.9), rgba(59, 130, 246, 0.9));
    }
}

/* Mobile S - 320px */
@media (max-width: 320px) {
    .work-header-right {
        min-height: 500px;
        overflow: visible !important;
        padding: 0;
    }

    .world-map-static .map-image {
        top: 0px;
    }
    
    .mobile-country-info {
        margin-top: 1rem;
        padding: 0 1rem;
    }

    .work-header-right {
        margin-bottom: 10px;
    }
    
    .world-map-container {
        height: 500px;
        width: 100%;
        overflow: visible !important;
        position: relative;
        padding: 0;
    }
    
    .world-map-static {
        width: 100% !important;
        height: 100%;
        overflow: visible !important;
        display: block;
        position: relative;
        padding: 0;
        margin: 0;
    }
    
    .world-map-static svg {
        transform: scale(0.3) !important;
        transform-origin: top left;
        width: 1009.6727px !important;
        height: 665.96301px !important;
        position: absolute;
        top: 50%;
        left: 50%;
        margin-top: 45.192602px !important;
        margin-left: -149.93454px !important;
        max-width: none;
        max-height: none;
    }
    
    .world-map-static {
        display: block !important;
        position: relative;
        width: 100%;
        height: 100%;
    }
    
    .map-legend {
        top: -30px;
        padding: 0 0.75rem;
    }
    
    .legend-text {
        font-size: 0.75rem;
    }
    
    .location-info,
    .location-info-simple {
        max-width: 95%;
    }
    
    .location-info-content,
    .location-info-content-simple {
        padding: 0.75rem;
    }
    
    .location-info-content h3,
    .location-info-content-simple h3 {
        font-size: 1rem;
    }
    
    .location-info-content-simple p {
        font-size: 0.8rem;
    }
    
    /* Puntos más pequeños pero visibles */
    .location-point {
        r: 6 !important;
    }
    
    .location-pulse {
        r: 14 !important;
    }

    /* Ocultar paneles flotantes en Mobile S */
    .location-info,
    .location-info-simple,
    .location-info-full {
        display: none !important;
    }
    
    /* Mostrar sección móvil */
    .mobile-country-info {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .mobile-country-info-content {
        padding: 1rem;
        max-width: 100%;
        min-width: 150px;
        background: rgba(26, 35, 50, 0.98);
        border: 1px solid rgba(96, 165, 250, 0.15);
        border-radius: 12px;
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
    }
    
    .mobile-country-info-content h3 {
        font-size: 1.1rem;
        color: #ffffff;
    }
    
    .mobile-country-info-content img {
        margin-bottom: 0.75rem;
        border-radius: 10px;
        border: none;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    }
    
    .mobile-country-info-content p {
        font-size: 0.85rem;
        color: rgba(255, 255, 255, 0.8);
        text-align: center;
    }
    
    .location-info-content,
    .location-info-content-simple {
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .work-title {
        font-size: 2rem;
    }
    
    /* Altura automática para imágenes */
    
    .work-header-content {
        flex-direction: column;
        gap: 2rem;
        max-height: none;
    }
    
    .work-header-left {
        max-width: 100%;
        width: 100%;
        margin-bottom: 2rem;
    }
    
    .work-header-right {
        overflow: visible !important;
        padding: 0;
        width: 100%;
        max-width: 100%;
        min-height: 150px;
    }
    
    .mobile-country-info {
        margin-top: 1rem;
        padding: 0 1rem;
    }
    
    .world-map-container {
        height: 400px;
        width: 100%;
        overflow: visible !important;
        position: relative;
        padding: 0;
    }
    
    .world-map-static {
        width: 100% !important;
        height: 100%;
        overflow: visible !important;
        display: block;
        position: relative;
        padding: 0;
        margin: 0;
    }
    
    .world-map-static svg {
        transform: scale(0.3) !important;
        transform-origin: top left;
        width: 1009.6727px !important;
        height: 665.96301px !important;
        position: absolute;
        top: 50%;
        left: 50%;
        margin-top: 45.192602px !important;
        margin-left: -149.93454px !important;
        max-width: none;
        max-height: none;
    }
    
    .world-map-static {
        display: block !important;
        position: relative;
        width: 100%;
        height: 100%;
    }
    
    .map-legend {
        top: -30px;
        padding: 0 0.75rem;
    }
    
    .legend-text {
        font-size: 0.75rem;
    }
    
    /* Puntos más pequeños pero visibles */
    .location-point {
        r: 6 !important;
    }
    
    .location-pulse {
        r: 14 !important;
    }
    
    /* Ajustar paneles de información en móvil */
    .location-info,
    .location-info-simple {
        max-width: 90%;
        font-size: 0.9rem;
    }
    
    .location-info-content,
    .location-info-content-simple {
        padding: 1rem;
    }
    
    .location-info-content h3,
    .location-info-content-simple h3 {
        font-size: 1.2rem;
    }
    
    .location-info-content-simple img {
        margin-bottom: 0.75rem;
    }
    
    .location-info-content-simple p {
        font-size: 0.85rem;
    }
    
    /* Ocultar paneles flotantes en móvil */
    .location-info,
    .location-info-simple,
    .location-info-full {
        display: none !important;
    }
    
    /* Mostrar sección móvil */
    .mobile-country-info {
        display: block !important;
        visibility: visible !important;
        margin-bottom: 2rem;
    }
    
    .mobile-country-info-content {
        padding: 1.25rem;
        max-width: 100%;
        min-width: 150px;
        background: rgba(26, 35, 50, 0.98);
        border: 1px solid rgba(96, 165, 250, 0.15);
        border-radius: 12px;
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
    }
    
    .mobile-country-info-content h3 {
        font-size: 1.3rem;
        color: #ffffff;
    }
    
    .mobile-country-info-content img {
        margin-bottom: 0.75rem;
        border-radius: 10px;
        border: none;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    }
    
    .mobile-country-info-content p {
        font-size: 0.9rem;
        color: rgba(255, 255, 255, 0.8);
        text-align: center;
    }
    
    /* Hacer los puntos del mapa más grandes en móvil para facilitar el toque */
    .location-point {
        r: 8 !important;
    }
    
    .location-pulse {
        r: 16 !important;
    }
    
    .work-title {
        font-size: 2.5rem;
    }
    
    .work-description {
        font-size: 1rem;
        max-width: 100%;
    }
    
    .work-cta-button {
        padding: 0.75rem 1.5rem;
        font-size: 0.95rem;
    }
    
    .work-overlay {
        padding: 1rem;
    }
    
    .work-overlay h3 {
        font-size: 1rem;
        line-height: 1.4;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .work-overlay p {
        font-size: 0.9rem;
    }
}

/* Footer Responsive */
@media (max-width: 1024px) {
    .footer {
        padding: 3rem 2rem 2rem;
    }
    
    .footer-content {
        gap: 3rem;
    }
}

/* Tablet - 768px: mantener 2 columnas */
@media (min-width: 768px) and (max-width: 1024px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }
}

/* Responsive para admin-footer-link - Ocultar en mobile */
@media (max-width: 768px) {
    .admin-footer-link {
        display: none !important;
    }
}

@media (max-width: 767px) {
    .footer {
        padding: 2rem 1rem 1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* ===== CONTENEDORES 3D ===== */
.andon-3d-container {
    width: 150%; /* Aumentado de 100% a 150% para dar más espacio */
    height: 500px; /* Aumentado de 400px a 500px */
    margin: 1rem 0;
    border-radius: 12px;
    background: transparent;
    border: none; /* Sin marco */
    box-shadow: none; /* Sin sombra */
    position: relative; /* Para que siga el scroll normal */
    overflow: visible; /* Para que el modelo pueda flotar */
    transition: all 0.3s ease;
    z-index: 10; /* Para que esté por encima de otros elementos */
}

/* Contenedor móvil - Solo visible en móviles */
.andon-3d-container.mobile-only {
    display: none; /* Oculto por defecto */
    width: 100%; /* En móviles ocupar todo el ancho */
    height: 300px; /* Altura más pequeña para móviles */
    margin: 1rem 0; /* Espaciado moderado */
}

/* Contenedor desktop - Solo visible en desktop */
.andon-3d-container.desktop-only {
    display: block; /* Visible por defecto */
}

/* Ocultar los modelos HTML existentes */
.andon-board {
    display: none !important;
}

/* Sin efecto hover en el contenedor - solo el movimiento del modelo 3D */

.andon-3d-container canvas,
.andon-3d-container video {
    width: 100% !important;
    height: 100% !important;
    border-radius: 10px;
    position: absolute;
    top: 0;
    left: 0;
    background: transparent !important; /* Fondo transparente para videos */
    mix-blend-mode: normal; /* Evitar problemas de mezcla de colores */
    object-fit: contain; /* Asegurar que el video se ajuste correctamente */
    -webkit-playsinline: true; /* Para iOS */
    playsinline: true; /* Para otros navegadores */
}

/* Fix para Safari de macOS - evitar fondo negro en videos WebM */
@supports (-webkit-appearance: none) {
    .andon-3d-container video {
        background-color: transparent !important;
        -webkit-background-size: cover;
        background-size: cover;
    }
}

/* Fix específico para Safari de macOS usando media query */
@media screen and (-webkit-min-device-pixel-ratio: 0) {
    @supports (-webkit-appearance: none) and (not (appearance: none)) {
        .andon-3d-container video {
            background: transparent !important;
            background-color: transparent !important;
            -webkit-transform: translateZ(0); /* Forzar aceleración de hardware */
            transform: translateZ(0);
        }
    }
}

/* Texto indicativo para swipe en mobile */
.swipe-hint.mobile-only {
    display: none; /* Oculto por defecto */
    color: white;
    font-size: 0.75rem;
    text-align: center;
    margin-top: 0.5rem;
    margin-bottom: 1.5rem;
    opacity: 0.7;
    font-weight: 300;
}

/* Responsive para contenedores 3D */
@media (max-width: 768px) {
.headline {
    margin-bottom: 1rem;
}

    /* Mostrar contenedor móvil, ocultar desktop */
    .andon-3d-container.mobile-only {
        display: block; /* Mostrar en móviles */
        width: 100%; /* En móviles ocupar todo el ancho disponible */
        height: 300px; /* Altura apropiada para móviles */
        margin: 1rem 0; /* Espaciado moderado */
        max-width: 100%; /* No exceder el ancho del contenedor */
        background: transparent; /* Fondo transparente */
    }
    
    /* Mostrar texto indicativo en mobile */
    .swipe-hint.mobile-only {
        display: block;
    }
    
    .andon-3d-container.desktop-only {
        display: none; /* Ocultar en móviles */
    }
    
    /* Ocultar el contenedor original de desktop */
    .content-right .andon-3d-container {
        display: none;
    }
    
    /* Asegurar que todo el contenido derecho esté oculto */
    .content-right {
        display: none;
    }
}

@media (max-width: 480px) {
    .andon-3d-container.mobile-only {
        height: 250px; /* Altura más pequeña para móviles pequeños */
        margin: 0.5rem 0; /* Espaciado más compacto */
        background: transparent; /* Fondo transparente */
    }
}

/* En desktop desde 885px, mostrar solo el contenedor de desktop */
@media (min-width: 885px) {
    .andon-3d-container.mobile-only {
        display: none; /* Ocultar en desktop */
    }
    
    .andon-3d-container.desktop-only {
        display: block; /* Mostrar en desktop */
    }
    
    /* Ocultar texto indicativo en desktop */
    .swipe-hint.mobile-only {
        display: none;
    }
}

/* De 769px a 884px - mantener igual que 768px (móvil) */
@media (max-width: 884px) and (min-width: 769px) {
    .main-content {
        display: flex;
        flex-direction: column;
        gap: 2rem;
        padding: 6rem 1rem 4rem;
        max-width: 100%;
    }
    
    .content-left {
        padding-right: 0;
    }
    
    .content-right {
        display: none; /* Ocultar completamente igual que en 768px */
    }
    
    /* Mostrar contenedor móvil, ocultar desktop - igual que en 768px */
    .andon-3d-container.mobile-only {
        display: block; /* Mostrar en tablet pequeña */
        width: 100%;
        height: 300px;
        margin: 1rem 0;
        max-width: 100%;
        background: transparent; /* Fondo transparente */
    }
    
    /* Mostrar texto indicativo también en este rango */
    .swipe-hint.mobile-only {
        display: block;
    }
    
    .andon-3d-container.desktop-only {
        display: none; /* Ocultar en tablet pequeña */
    }
    
    /* Ocultar el contenedor original de desktop */
    .content-right .andon-3d-container {
        display: none;
    }
    
    .headline {
        font-size: 2rem;
    }
}

/* ===== SECCIÓN HERO CONTACTO ===== */
.contacto-hero {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    min-height: 35vh;
    max-height: 75vh;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 10rem 4rem 3rem;
    padding-top: 10rem;
    position: relative;
    overflow: hidden;
}

.contacto-hero-content {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: 0;
}

.contacto-hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #ffffff 0%, #e2e8f0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contacto-hero-subtitle {
    font-size: 2.25rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #e2e8f0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contacto-hero-subtitle .highlight {
    color: #60a5fa;
    -webkit-text-fill-color: #60a5fa;
}

.contacto-hero-description {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #e2e8f0;
    max-width: 900px;
    margin: 0;
    margin-bottom: 1.5rem;
}

/* Contacto Hero Responsive */
@media (max-width: 1024px) {
    .contacto-hero {
        padding: 9rem 3rem 2.5rem;
        min-height: 35vh;
        max-height: 55vh;
    }
    
    .contacto-hero-title {
        font-size: 2.75rem;
        margin-bottom: 1rem;
    }
    
    .contacto-hero-subtitle {
        font-size: 1.85rem;
        margin-bottom: 1rem;
        line-height: 1.3;
    }
    
    .contacto-hero-description {
        font-size: 1rem;
        line-height: 1.6;
    }
}

@media (max-width: 768px) {
    .contacto-hero {
        padding: 8rem 2rem 2rem;
        min-height: 40vh;
        max-height: 60vh;
    }
    
    .contacto-hero-content {
        width: 100%;
    }
    
    .contacto-hero-title {
        font-size: 2.25rem;
        margin-bottom: 0.875rem;
        line-height: 1.15;
    }
    
    .contacto-hero-subtitle {
        font-size: 1.5rem;
        margin-bottom: 0.875rem;
        line-height: 1.3;
    }
    
    .contacto-hero-description {
        font-size: 0.95rem;
        line-height: 1.6;
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .contacto-hero {
        padding: 7rem 1.5rem 2rem;
        min-height: 45vh;
        max-height: 70vh;
    }
    
    .contacto-hero-content {
        width: 100%;
    }
    
    .contacto-hero-title {
        font-size: 1.875rem;
        margin-bottom: 0.75rem;
        line-height: 1.2;
    }
    
    .contacto-hero-subtitle {
        font-size: 1.3rem;
        margin-bottom: 0.75rem;
        line-height: 1.35;
    }
    
    .contacto-hero-description {
        font-size: 0.9rem;
        line-height: 1.5;
        max-width: 100%;
    }
}

@media (max-width: 375px) {
    .contacto-hero {
        padding: 7rem 1.25rem 1.75rem;
        min-height: 50vh;
    }
    
    .contacto-hero-title {
        font-size: 1.65rem;
        margin-bottom: 0.625rem;
    }
    
    .contacto-hero-subtitle {
        font-size: 1.15rem;
        margin-bottom: 0.625rem;
    }
    
    .contacto-hero-description {
        font-size: 0.85rem;
        line-height: 1.5;
    }
}

@media (max-width: 320px) {
    .contacto-hero {
        padding: 6.5rem 1rem 1.5rem;
        min-height: 55vh;
    }
    
    .contacto-hero-title {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }
    
    .contacto-hero-subtitle {
        font-size: 1.05rem;
        margin-bottom: 0.5rem;
    }
    
    .contacto-hero-description {
        font-size: 0.8rem;
        line-height: 1.4;
    }
}

/* ===== SECCIÓN FORMULARIO CONTACTO ===== */
.contacto-form-section {
    background: #ffffff;
    padding: 4rem 0;
    min-height: calc(75vh - 25vh);
}

.contacto-section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1f2937;
    text-align: center;
    margin-bottom: 3rem;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 4rem;
    line-height: 1.2;
}

.contacto-form-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 4rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    align-items: start;
}



/* Columna izquierda - Información */
.contacto-info-column {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    padding: 3rem;
    border-top-left-radius: 12px;
    border-bottom-left-radius: 12px;
    color: white;
}


.contacto-info-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 2rem;
    line-height: 1.2;
}

.contacto-info-text {
    font-size: 1rem;
    line-height: 1.7;
    color: #e2e8f0;
    margin: 0;
}

.contacto-info-text .step-number {
    color: #60a5fa;
    font-weight: 700;
    font-size: 1.15rem;
    background: rgba(96, 165, 250, 0.15);
    padding: 0.2rem 0.5rem;
    border-radius: 6px;
    display: inline-block;
    margin: 0 0.25rem;
    border: 1px solid rgba(96, 165, 250, 0.3);
}

/* Columna derecha - Formulario */
.contacto-form-column {
    background: #f3f7fe;
    padding-top: 3rem;
    padding-bottom: 3rem;
    padding-left: 4rem;
    padding-right: 4rem;
    border-top-right-radius: 12px;
    border-bottom-right-radius: 12px;
    height: 100%;
}

.contacto-form-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 2rem;
    line-height: 1.2;
}

.contacto-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-label {
    font-size: 0.95rem;
    font-weight: 500;
    color: #374151;
    margin: 0;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    color: #1f2937;
    background: #ffffff;
    transition: all 0.3s ease;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: #60a5fa;
    box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.1);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: #9ca3af;
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
    line-height: 1.5;
}

.form-submit-btn {
    background: linear-gradient(135deg, #1e40af, #3b82f6);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    align-self: flex-start;
    margin-top: 0.5rem;
    margin-bottom: 1.5rem;
}

.form-submit-btn:hover {
    background: linear-gradient(135deg, #1e3a8a, #2563eb);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

/* Contacto Form Responsive */
@media (max-width: 1024px) {
    .contacto-section-title {
        font-size: 2rem;
        padding: 0 3rem;
        margin-bottom: 2.5rem;
    }
    
    .contacto-form-container {
        padding: 0 3rem;
        gap: 0;
    }
    
    .contacto-info-title {
        font-size: 2rem;
    }
    
    .contacto-form-title {
        font-size: 1.75rem;
    }
}

/* Información de Contacto - Tarjetas */
.contact-info-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
}

.contact-info-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 4rem;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 2rem;
}

.contact-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 3rem 2rem;
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.contact-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: #3b82f6;
}

.contact-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 2rem;
    background: linear-gradient(135deg, #3b82f6, #60a5fa);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

.contact-icon svg {
    width: 40px;
    height: 40px;
}

.contact-card h3 {
    color: #FFF;
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.contact-info-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

/* Si el navegador convierte el número en enlace dentro de contact-info-text,
   mantener estilo de texto normal (sin azul ni subrayado) */
.contact-info-text a {
    color: inherit;
    text-decoration: none;
    font-weight: inherit;
}

.contact-link {
    color: #3b82f6;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    padding: 0.75rem 2rem;
    border: 2px solid #3b82f6;
    border-radius: 8px;
    display: inline-block;
    transition: all 0.3s ease;
    background: rgba(59, 130, 246, 0.1);
}

.contact-link:hover {
    background: #3b82f6;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

@media (max-width: 768px) and (min-width: 768px) {
    .contacto-form-section {
        padding: 3rem 0;
    }
    
    .contacto-section-title {
        font-size: 1.75rem;
        padding: 0 2rem;
        margin-bottom: 2rem;
    }
    
    .contacto-form-container {
        grid-template-columns: 1fr 1fr;
        padding: 0 2rem;
        gap: 0;
    }
    
    .contact-info-container {
        padding: 0 2rem;
    }

    /* Mantener estilo de desktop: múltiples columnas */
    .contact-info-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 3rem;
    }

    .contact-card {
        padding: 3rem 2rem;
    }
    
    .contacto-info-column {
        padding: 2rem;
        border-top-left-radius: 12px;
        border-bottom-left-radius: 12px;
        border-top-right-radius: 0;
        border-bottom-right-radius: 0;
    }
    
    .contacto-form-column {
        border-top-right-radius: 12px;
        border-bottom-right-radius: 12px;
        border-top-left-radius: 0;
        border-bottom-left-radius: 0;
        padding-bottom: 3rem;
    }
    
    .contacto-info-title {
        font-size: 1.75rem;
        margin-bottom: 1.5rem;
    }
    
    .contacto-info-text {
        font-size: 0.95rem;
    }
    
    .contacto-form-title {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }
}

/* Tablet y Laptop 1024px - Mantener estilo de desktop para contact-info */
@media (min-width: 768px) and (max-width: 1024px) {
    .contact-info-container {
        padding: 0 3rem;
    }

    .contact-info-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 2.5rem;
    }

    .contact-card {
        padding: 2.5rem 2rem;
    }
}

@media (max-width: 767px) {
    .contacto-form-section {
        padding: 3rem 0;
    }
    
    .contacto-section-title {
        font-size: 1.75rem;
        padding: 0 2rem;
        margin-bottom: 2rem;
    }
    
    .contacto-form-container {
        grid-template-columns: 1fr;
        padding: 0 2rem;
        gap: 0;
    }
    
    .contacto-info-column {
        padding: 2rem;
        border-top-left-radius: 12px;
        border-top-right-radius: 12px;
        border-bottom-right-radius: 0;
        border-bottom-left-radius: 0;
    }
    
    .contacto-form-column {
        border-top-left-radius: 0;
        border-top-right-radius: 0;
        border-bottom-right-radius: 12px;
        border-bottom-left-radius: 12px;
        padding-bottom: 3rem;
    }
    
    .contacto-info-title {
        font-size: 1.75rem;
        margin-bottom: 1.5rem;
    }
    
    .contacto-info-text {
        font-size: 0.95rem;
    }
    
    .contacto-form-title {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .contacto-form-section {
        padding: 2rem 0;
    }
    
    .contacto-section-title {
        font-size: 1.5rem;
        padding: 0 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .contacto-form-container {
        padding: 0 1.5rem;
    }
    
    .contacto-info-column {
        padding: 1.5rem;
    }
    
    .contacto-info-title {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .contacto-info-text {
        font-size: 0.9rem;
        line-height: 1.6;
    }
    
    .contacto-form-title {
        font-size: 1.25rem;
    }
    
    .form-input,
    .form-textarea {
        padding: 0.75rem;
        font-size: 0.95rem;
    }
    
    .form-submit-btn {
        width: 100%;
        padding: 0.875rem 1.5rem;
    }
    
    .contact-info-container {
        padding: 0 1rem;
    }
    
    .contact-info-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 1.5rem;
    }
    
    .contact-card {
        padding: 2rem 1rem;
    }
    
    .contact-card h3 {
        font-size: 1.5rem;
    }
    
    .contact-info-text {
        font-size: 0.95rem;
        margin-bottom: 1rem;
    }
    
    .contact-link {
        font-size: 0.9rem;
        padding: 0.625rem 1.5rem;
        width: 100%;
        text-align: center;
    }
    
    .contact-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 1.5rem;
    }
    
    .contact-icon svg {
        width: 30px;
        height: 30px;
    }
}

/* Mobile S - 320px */
@media (max-width: 320px) {
    .contact-info-container {
        padding: 0 0.75rem;
    }
    
    .contact-info-grid {
        gap: 1rem;
        margin-top: 1rem;
    }
    
    .contact-card {
        padding: 1.5rem 0.75rem;
    }
    
    .contact-card h3 {
        font-size: 1.25rem;
        margin-bottom: 0.75rem;
    }
    
    .contact-info-text {
        font-size: 0.85rem;
        margin-bottom: 0.75rem;
        line-height: 1.5;
    }
    
    .contact-link {
        font-size: 0.85rem;
        padding: 0.5rem 1rem;
    }
    
    .contact-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 1rem;
    }
    
    .contact-icon svg {
        width: 25px;
        height: 25px;
    }
}

/* ===== SECCIÓN HERO NOSOTROS ===== */
.nosotros-hero {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8rem 4rem 6rem;
    position: relative;
    overflow: hidden;
}

.nosotros-hero-content {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: 0;
}

.nosotros-hero-title {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 2.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #e2e8f0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nosotros-hero-title .highlight {
    color: #60a5fa;
    -webkit-text-fill-color: #60a5fa;
}

.nosotros-hero-description {
    font-size: 1.3rem;
    line-height: 1.8;
    color: #e2e8f0;
    max-width: 1000px;
}

/* Nosotros Hero Responsive */
@media (max-width: 1024px) {
    .nosotros-hero {
        padding: 8rem 3rem 4rem;
    }
    
    .nosotros-hero-title {
        font-size: 3.5rem;
    }
    
    .nosotros-hero-description {
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    .nosotros-hero {
        padding: 8rem 2rem 4rem;
        min-height: 80vh;
    }
    
    .nosotros-hero-title {
        font-size: 2.5rem;
    }
    
    .nosotros-hero-description {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .nosotros-hero {
        padding: 8rem 1.5rem 4rem;
    }
    
    .nosotros-hero-title {
        font-size: 2rem;
    }
    
    .nosotros-hero-description {
        font-size: 1rem;
    }
}

/* ===== SECCIÓN HISTORIA NOSOTROS ===== */
.nosotros-historia {
    padding: 0;
    background: #ffffff;
    margin: 0;
}

.nosotros-historia-content {
    display: grid;
    grid-template-columns: 45% 55%;
    gap: 0;
    max-width: 100%;
    align-items: stretch;
}

.nosotros-historia-text {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    padding: 6rem 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 500px;
}

.nosotros-historia-title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.3;
    color: #ffffff;
    margin-bottom: 2rem;
    max-width: 100%;
}

.nosotros-historia-description {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #e2e8f0;
}

.nosotros-historia-image {
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    overflow: hidden;
    min-height: 500px;
}

.nosotros-historia-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Historia Nosotros Responsive */
@media (max-width: 1024px) {
    .nosotros-hero {
        padding: 8rem 3rem 5rem;
    }
    
    .nosotros-mision-valores {
        padding: 5rem 3rem;
    }
    
    .testimonials {
        padding: 5rem 3rem;
    }
    
    
    .nosotros-historia-content {
        grid-template-columns: 1fr;
    }
    
    .nosotros-historia-text {
        padding: 5rem 3rem;
    }
    
    .nosotros-historia-title {
        font-size: 2rem;
    }
    
    .nosotros-historia-description {
        font-size: 1.1rem;
    }
    
    .nosotros-historia-image {
        min-height: 400px;
    }
}

@media (max-width: 768px) {
    .nosotros-hero {
        padding: 8rem 2rem 4rem;
    }
    
    .nosotros-mision-valores {
        padding: 4rem 2rem;
    }
    
    .testimonials {
        padding: 4rem 2rem;
    }
    
    .nosotros-cta-final {
        padding: 4rem 2rem;
    }
    
    .nosotros-historia-content {
        max-width: 100%;
    }
    
    .nosotros-historia-text {
        padding: 4rem 2rem;
    }
    
    .nosotros-historia-title {
        font-size: 1.75rem;
    }
    
    .nosotros-historia-description {
        font-size: 1rem;
    }
    
    .nosotros-historia-image {
        min-height: 300px;
    }
}

@media (max-width: 480px) {
    .nosotros-hero {
        padding: 8rem 1.5rem 3rem;
    }
    
    .nosotros-mision-valores {
        padding: 3rem 1.5rem;
    }
    
    .mision-column {
        padding: 0;
    }
    
    .valores-column {
        padding: 0;
        margin-top: 2.5rem;
        padding-top: 2.5rem;
    }
    
    .valor-checkmark {
        width: 24px;
        height: 24px;
        font-size: 1rem;
    }
    
    .testimonials {
        padding: 3rem 1.5rem;
    }
    
    .nosotros-cta-final {
        padding: 3rem 1.5rem;
    }
    
    .nosotros-historia-text {
        padding: 3rem 1.5rem;
    }
    
    .mision-title,
    .valores-title {
        font-size: 1.75rem;
    }
    
    .nosotros-historia-title {
        font-size: 1.5rem;
    }
    
    .nosotros-historia-description {
        font-size: 0.95rem;
    }
}

/* ===== SECCIÓN MISIÓN Y VALORES NOSOTROS ===== */
.nosotros-mision-valores {
    padding: 6rem 4rem;
    background: #f8fafc;
}

.mision-valores-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    max-width: 1400px;
    margin: 0 auto;
    align-items: stretch;
}

.mision-column {
    display: flex;
    flex-direction: column;
    padding: 0 3rem 0 0;
    position: relative;
}

.mision-column::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 1px;
    height: 100%;
    background: #e5e7eb;
}

.valores-column {
    display: flex;
    flex-direction: column;
    padding: 0 0 0 3rem;
    position: relative;
}

.mision-title {
    font-size: 2.75rem;
    font-weight: 800;
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 2rem;
    line-height: 1.2;
    position: relative;
}

.valores-title {
    font-size: 2.75rem;
    font-weight: 800;
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 2rem;
    line-height: 1.2;
    position: relative;
}

.mision-text {
    font-size: 1.2rem;
    line-height: 1.9;
    color: #1f2937;
    font-weight: 400;
}

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

.valor-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    line-height: 1.9;
    color: #1f2937;
    font-weight: 400;
}

.valor-checkmark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, #3b82f6 0%, #60a5fa 100%);
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 2px;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}

/* Misión y Valores Responsive */
@media (max-width: 1024px) {
    .nosotros-mision-valores {
        padding: 5rem 3rem;
    }
    
    .mision-valores-content {
        gap: 0;
    }
    
    .mision-column {
        padding: 0 2rem 0 0;
    }
    
    .mision-column::after {
        display: none;
    }
    
    .valores-column {
        padding: 0 0 0 2rem;
        border-top: 1px solid #e5e7eb;
        margin-top: 3rem;
        padding-top: 3rem;
    }
    
    .mision-title,
    .valores-title {
        font-size: 2.25rem;
    }
    
    .mision-text,
    .valor-item {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .nosotros-mision-valores {
        padding: 4rem 2rem;
    }
    
    .mision-valores-content {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .mision-column {
        padding: 0;
    }
    
    .mision-column::after {
        display: none;
    }
    
    .valores-column {
        padding: 0;
        border-top: 1px solid #e5e7eb;
        margin-top: 3rem;
        padding-top: 3rem;
    }
    
    .mision-title,
    .valores-title {
        font-size: 1.75rem;
    }
    
    .mision-text,
    .valor-item {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .nosotros-hero {
        padding: 8rem 1.5rem 3rem;
    }
    
    .nosotros-mision-valores {
        padding: 3rem 1.5rem;
    }
    
    .nosotros-cta-final {
        padding: 3rem 1.5rem;
    }
    
    .mision-title,
    .valores-title {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .mision-text,
    .valor-item {
        font-size: 0.95rem;
    }
    
    .valor-item {
        margin-bottom: 1.25rem;
    }
}

/* ===== SECCIÓN ASESORÍA NOSOTROS ===== */
.nosotros-asesoria {
    padding: 2rem 2rem;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
}

.nosotros-asesoria-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    max-width: 1200px;
    margin: 0 auto;
    align-items: stretch;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.nosotros-asesoria-image {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #0f172a;
}

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

.nosotros-asesoria-content {
    padding: 2rem 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1rem;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
}

.nosotros-asesoria-title {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.3;
    color: #ffffff;
    margin: 0;
}

.nosotros-asesoria-description {
    font-size: 1rem;
    line-height: 1.6;
    color: #e2e8f0;
    margin: 0;
}

.nosotros-asesoria-button {
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #1e40af, #3b82f6);
    border-radius: 12px;
    border: none;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.2);
    max-width: fit-content;
}

.nosotros-asesoria-button:hover {
    background: linear-gradient(135deg, #1e3a8a, #2563eb);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.3);
}

/* Asesoría Responsive */
@media (max-width: 1024px) {
    .nosotros-asesoria {
        padding: 1.5rem 2rem;
    }
    
    .nosotros-asesoria-container {
        max-width: 100%;
    }
    
    .nosotros-asesoria-content {
        padding: 1.5rem 2.5rem;
        gap: 0.875rem;
    }
    
    .nosotros-asesoria-title {
        font-size: 1.75rem;
    }
    
    .nosotros-asesoria-description {
        font-size: 0.95rem;
    }
}

@media (max-width: 768px) and (min-width: 768px) {
    .nosotros-asesoria {
        padding: 2rem 2rem;
    }
    
    .nosotros-asesoria-container {
        grid-template-columns: 1fr 1fr;
    }
    
    .nosotros-asesoria-image {
        order: 0;
    }
    
    .nosotros-asesoria-content {
        order: 0;
        padding: 2rem 2.5rem;
        gap: 1rem;
        text-align: left;
        align-items: flex-start;
    }
    
    .nosotros-asesoria-title {
        font-size: 1.75rem;
        text-align: left;
    }
    
    .nosotros-asesoria-description {
        font-size: 1rem;
        text-align: left;
    }
    
    .nosotros-asesoria-button {
        align-self: flex-start;
    }
}

@media (max-width: 767px) {
    .nosotros-asesoria {
        padding: 1.5rem 1.5rem;
    }
    
    .nosotros-asesoria-container {
        grid-template-columns: 1fr;
    }
    
    .nosotros-asesoria-image {
        order: 1;
    }
    
    .nosotros-asesoria-content {
        order: 2;
        padding: 1.5rem 2rem;
        gap: 0.875rem;
        text-align: center;
        align-items: center;
    }
    
    .nosotros-asesoria-title {
        font-size: 1.5rem;
        text-align: center;
    }
    
    .nosotros-asesoria-description {
        font-size: 0.95rem;
        text-align: center;
    }
    
    .nosotros-asesoria-button {
        align-self: center;
    }
}

@media (max-width: 480px) {
    .nosotros-asesoria {
        padding: 1.25rem 1rem;
    }
    
    .nosotros-asesoria-content {
        padding: 1.25rem 1.5rem;
        gap: 0.75rem;
    }
    
    .nosotros-asesoria-title {
        font-size: 1.35rem;
    }
    
    .nosotros-asesoria-description {
        font-size: 0.9rem;
    }
    
    .nosotros-asesoria-button {
        font-size: 0.95rem;
        padding: 0.75rem 1.5rem;
        width: 100%;
        justify-content: center;
    }
}

/* ===== SECCIÓN CTA FINAL NOSOTROS ===== */
.nosotros-cta-final {
    padding: 2rem 1rem;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
}

.nosotros-cta-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    width: 100%;
    align-items: stretch;
    max-height: 350px;
}

.nosotros-cta-image {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    max-height: 350px;
}

.nosotros-cta-image img {
    width: 100%;
    height: 100%;
    max-height: 350px;
    object-fit: cover;
}

.nosotros-cta-content {
    padding: 3rem 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.5rem;
    max-height: 350px;
}

.nosotros-cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    color: #ffffff;
    margin: 0;
}

.nosotros-cta-title .highlight-cta {
    font-size: 3rem;
    font-weight: 800;
    color: #60a5fa;
}

.nosotros-cta-phone {
    font-size: 1.25rem;
    font-weight: 600;
    color: white;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #1e40af, #3b82f6);
    border-radius: 12px;
    border: none;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.2);
    max-width: fit-content;
}

.nosotros-cta-phone:hover {
    background: linear-gradient(135deg, #1e3a8a, #2563eb);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.3);
}

/* CTA Final Responsive */
@media (max-width: 1024px) and (min-width: 769px) {
    .nosotros-cta-container {
        max-height: 280px;
    }
    
    .nosotros-cta-image {
        max-height: 280px;
    }
    
    .nosotros-cta-image img {
        max-height: 280px;
    }
    
    .nosotros-cta-content {
        padding: 2rem 2.5rem;
        max-height: 280px;
        gap: 1.25rem;
    }
    
    .nosotros-cta-title {
        font-size: 1.75rem;
    }
    
    .nosotros-cta-title .highlight-cta {
        font-size: 2.25rem;
    }
    
    .nosotros-cta-phone {
        font-size: 1rem;
        padding: 0.875rem 1.5rem;
    }
}

@media (max-width: 768px) and (min-width: 481px) {
    .nosotros-cta-container {
        grid-template-columns: 1fr 1fr;
        max-height: 300px;
    }
    
    .nosotros-cta-image {
        max-height: 300px;
    }
    
    .nosotros-cta-image img {
        max-height: 300px;
    }
    
    .nosotros-cta-content {
        padding: 2rem 2rem;
        gap: 1.5rem;
        max-height: 300px;
        align-items: flex-start;
        text-align: left;
    }
    
    .nosotros-cta-title {
        font-size: 1.75rem;
        text-align: left;
    }
    
    .nosotros-cta-title .highlight-cta {
        font-size: 2.25rem;
    }
    
    .nosotros-cta-phone {
        font-size: 1rem;
        padding: 0.875rem 1.5rem;
        align-self: flex-start;
    }
}

@media (max-width: 480px) {
    .nosotros-cta-container {
        grid-template-columns: 1fr;
        max-height: none;
    }
    
    .nosotros-cta-image {
        max-height: 250px;
    }
    
    .nosotros-cta-image img {
        max-height: 250px;
    }
    
    .nosotros-cta-content {
        padding: 3rem 2rem;
        gap: 2rem;
        max-height: none;
        align-items: center;
        text-align: center;
    }
    
    .nosotros-cta-title {
        font-size: 2rem;
        text-align: center;
    }
    
    .nosotros-cta-title .highlight-cta {
        font-size: 2.5rem;
    }
    
    .nosotros-cta-phone {
        font-size: 1.1rem;
        padding: 1rem 1.75rem;
        align-self: center;
    }
}

/* ===== BANNER CAROUSEL PRODUCTOS (Tipo Amazon) ===== */
/* ===== ESTILOS ESPECÍFICOS PARA PÁGINA PRODUCTOS ===== */
.productos-main-content {
    width: 100%;
    padding: 0;
    margin: 0;
    max-width: 100%;
    display: block;
    overflow: visible;
}

.productos-banner-carousel {
    width: 100%;
    margin-top: 80px; /* Espacio para el header sticky */
    position: relative;
    overflow: hidden;
    /* Fondo de reserva para evitar "bloque blanco" en primera carga */
    background: radial-gradient(circle at top left, #0f172a 0, #020617 45%, #020617 100%);
    border-radius: 16px;
}

.banner-container {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    /* Fondo secundario por si tarda la imagen */
    background: linear-gradient(135deg, rgba(15,23,42,0.96), rgba(30,64,175,0.9));
}

.banner-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.banner-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    z-index: 1;
    pointer-events: none;
    display: none;
}

.banner-slide.active {
    opacity: 1;
    z-index: 2;
    pointer-events: auto;
    display: block;
}

/* Estado de carga del banner (placeholder ligero) */
.productos-banner-carousel.is-loading::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(15,23,42,0.96), rgba(30,64,175,0.9)),
        linear-gradient(90deg, rgba(148,163,184,0.25) 0, rgba(148,163,184,0.4) 40%, rgba(148,163,184,0.25) 80%);
    background-size: 100% 100%, 200% 100%;
    animation: productos-banner-skeleton 1.4s ease-in-out infinite;
    z-index: 3; /* por encima de las imágenes, pero debajo de flechas/textos futuros */
}
.productos-banner-carousel.is-loading::before {
    pointer-events: none;
}

@keyframes productos-banner-skeleton {
    0% {
        background-position: 0 0, -200% 0;
    }
    100% {
        background-position: 0 0, 200% 0;
    }
}

.banner-image-wrapper {
    width: 100%;
    height: 100%;
    display: block;
    position: relative;
}

.banner-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
}

/* Flechas de navegación */
.banner-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.3s ease;
    color: #1e293b;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.banner-arrow:hover {
    background: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.banner-arrow-left {
    left: 20px;
}

.banner-arrow-right {
    right: 20px;
}

.banner-arrow:active {
    transform: translateY(-50%) scale(0.95);
}

/* Indicadores */
.banner-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.5);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.indicator:hover {
    border-color: white;
    background: rgba(255, 255, 255, 0.3);
}

.indicator.active {
    background: white;
    border-color: white;
    width: 32px;
    border-radius: 6px;
}

/* Responsive */
@media (max-width: 1024px) {
    .banner-container {
        height: 360px;
    }
    
    .banner-arrow {
        display: none;
    }
}

@media (max-width: 768px) {
    .productos-banner-carousel {
        margin-top: 70px;
    }
    
    .banner-container {
        height: 320px;
    }
    
    .banner-arrow {
        display: none;
    }
    
    .banner-indicators {
        bottom: 15px;
    }
}

@media (max-width: 480px) {
    .productos-main-content {
        padding: 0;
        gap: 0;
    }
    
    .banner-container {
        height: 280px;
    }
    
    .banner-arrow {
        display: none;
    }
    
    .indicator {
        width: 10px;
        height: 10px;
    }
    
    .indicator.active {
        width: 24px;
    }
}

/* Mobile L - Pantallas medianas (425px) */
@media (max-width: 425px) {
    .banner-container {
        height: 200px; /* Altura reducida para mobile L */
    }
    
    .banner-image {
        object-fit: cover; /* Llenar el contenedor sin espacios */
        object-position: center; /* Centrar la imagen */
    }
}

/* Mobile M - Pantallas pequeñas (375px) */
@media (max-width: 375px) {
    .banner-container {
        height: 180px; /* Altura reducida para mobile M */
    }
    
    .banner-image {
        object-fit: cover; /* Llenar el contenedor sin espacios */
        object-position: center; /* Centrar la imagen */
    }
}

/* Mobile S - Pantallas muy pequeñas (320px) */
@media (max-width: 320px) {
    .banner-container {
        height: 160px; /* Altura reducida para mobile S */
    }
    
    .banner-image {
        object-fit: cover; /* Llenar el contenedor sin espacios */
        object-position: center; /* Centrar la imagen */
    }
    
    .banner-indicators {
        bottom: 8px; /* Ajustar posición de indicadores */
    }
    
    .indicator {
        width: 8px;
        height: 8px;
    }
    
    .indicator.active {
        width: 20px;
    }
}

/* ===== SECCIÓN PRODUCTOS ===== */
.productos-sistemas-section,
.productos-accesorios-section,
.productos-software-section {
    width: 100%;
    padding: 5rem 2rem;
    background: #ffffff;
}

/* Asegurar que todas las secciones de productos tengan fondo blanco */
section[class*="productos-"]:not(.productos-clientes-section):not(.productos-cta-section) {
    background: #ffffff !important;
}

.productos-accesorios-section {
    background: #f8fafc;
}

.productos-software-section {
    background: #ffffff;
}

/* Software Producto Dos Columnas */
.software-producto-dos-columnas {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 3rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.software-producto-imagen {
    width: 100%;
    height: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: visible;
    background: transparent;
    position: relative;
}

.software-imagen-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.software-img {
    position: absolute;
    top: 0;
    left: 0;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    opacity: 0;
    transition: opacity 0.4s ease-in-out;
}

.software-img.active {
    opacity: 1;
    position: relative;
}

.software-imagen-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.software-img-btn {
    background: rgba(59, 130, 246, 0.1);
    border: 2px solid #3b82f6;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #3b82f6;
    padding: 0;
}

.software-img-btn:hover {
    background: #3b82f6;
    color: white;
    transform: scale(1.1);
}

.software-img-btn:active {
    transform: scale(0.95);
}

.software-img-indicators {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.software-img-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid #3b82f6;
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.software-img-indicator:hover {
    background: rgba(59, 130, 246, 0.3);
}

.software-img-indicator.active {
    background: #3b82f6;
    width: 24px;
    border-radius: 6px;
}

.software-producto-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.5rem;
}

.software-producto-title {
    font-size: 2rem;
    font-weight: 600;
    color: #0f1419;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.software-producto-description {
    font-size: 1.1rem;
    color: #64748b;
    line-height: 1.7;
    flex-grow: 1;
}

.software-producto-cta {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.1rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.2);
    align-self: flex-start;
    width: fit-content;
    margin-top: auto;
}

.software-producto-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.3);
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
}

/* Responsive para Software Dos Columnas */
@media (max-width: 1024px) {
    .software-producto-dos-columnas {
        gap: 3rem;
    }
    
    .software-producto-imagen {
        height: 350px;
    }
    
    .software-producto-title {
        font-size: 1.75rem;
    }
}

@media (max-width: 768px) {
    .software-producto-dos-columnas {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .software-producto-imagen {
        height: 300px;
        order: 1;
    }
    
    .software-producto-info {
        order: 2;
    }
    
    .software-producto-title {
        font-size: 1.5rem;
        text-align: center;
    }
    
    .software-producto-description {
        text-align: center;
    }
    
    .software-producto-cta {
        align-self: center;
    }
}

@media (max-width: 480px) {
    .software-producto-imagen {
        height: 250px;
    }
    
    .software-producto-title {
        font-size: 1.25rem;
    }
    
    .software-producto-description {
        font-size: 1rem;
    }
    
    .software-producto-cta {
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }
}

.productos-container {
    max-width: 1400px;
    margin: 0 auto;
}

.productos-header {
    text-align: center;
    margin-bottom: 2rem;
}

.productos-section-title {
    font-size: 3rem;
    font-weight: 700;
    color: #0f1419;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.productos-section-subtitle {
    font-size: 1.25rem;
    color: #64748b;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Grid de Productos */
.productos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 1.2rem;
}

/* Limitar el tamaño máximo de cada tarjeta para que no ocupe más de 1/4 del ancho disponible */
.productos-grid > .producto-card {
    width: 100%;
    max-width: calc((1400px - (2.5rem * 3)) / 4);
}

/* Tarjeta de Producto */
.producto-card {
    background: transparent;
    overflow: visible;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.producto-card:hover {
    transform: translateY(-4px);
}

.producto-image {
    width: 100%;
    height: 300px;
    min-height: 300px;
    overflow: visible;
    background: #f8fafc;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.producto-img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.producto-card:hover .producto-img {
    transform: scale(1.02);
}

.producto-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.producto-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #0f1419;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.producto-description {
    font-size: 1rem;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.producto-cta {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.1rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.2);
    margin-top: auto;
    pointer-events: none;
    width: fit-content;
}

.producto-card:hover .producto-cta {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.3);
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
}

/* Responsive */
@media (max-width: 1024px) {
    .productos-section-title {
        font-size: 2.5rem;
    }
    
    .productos-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 2rem;
    }
}

/* Tablet - 768px a 1043px: mostrar dos columnas centradas */
@media (min-width: 768px) and (max-width: 1043px) {
    .productos-container {
        max-width: 100%;
        padding: 0 2rem;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .productos-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
        width: 100%;
        max-width: 800px;
        justify-items: stretch;
        margin: 0 auto;
        place-items: center;
    }
    
    .productos-grid > .producto-card {
        width: 100%;
        max-width: 100%;
        justify-self: center;
    }
}

/* Tablet grande - 1044px a 1024px: ajuste fino */
@media (min-width: 1044px) and (max-width: 1024px) {
    .productos-container {
        max-width: 1400px;
        margin: 0 auto;
        padding: 0 2rem;
    }
    
    .productos-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 2rem;
        justify-items: center;
    }
}

@media (max-width: 767px) {
    .productos-sistemas-section,
    .productos-accesorios-section,
    .productos-software-section {
        padding: 4rem 1.5rem;
    }
    
    .productos-header {
        margin-bottom: 3rem;
    }
    
    .productos-section-title {
        font-size: 2rem;
    }
    
    .productos-section-subtitle {
        font-size: 1.1rem;
    }
    
    .productos-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        justify-items: center;
    }
    
    .producto-image {
        height: 260px;
    }
    
    .producto-content {
        padding: 1.5rem;
    }
}

/* Mobile L - Pantallas medianas (425px): centrar tarjetas */
@media (min-width: 426px) and (max-width: 767px) {
    .productos-container {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .productos-grid {
        grid-template-columns: 1fr;
        justify-items: center;
        place-items: center;
        width: 100%;
        max-width: 100%;
    }
    
    .productos-grid > .producto-card {
        max-width: 100%;
        width: 100%;
        margin: 0 auto;
    }
}

/* Mobile M - Pantallas pequeñas (375px): centrar tarjetas */
@media (min-width: 376px) and (max-width: 425px) {
    .productos-container {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .productos-grid {
        grid-template-columns: 1fr;
        justify-items: center;
        place-items: center;
        width: 100%;
        max-width: 100%;
    }
    
    .productos-grid > .producto-card {
        max-width: 100%;
        width: 100%;
        margin: 0 auto;
    }
}

/* ===== SECCIÓN CLIENTES PRODUCTOS ===== */
.productos-clientes-section {
    width: 100%;
    padding: 5rem 2rem;
    background: #f8fafc;
}

.productos-clientes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    align-items: stretch;
    max-width: 1400px;
    margin: 0 auto;
}

.productos-cliente-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.productos-cliente-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.productos-cliente-logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    height: 80px;
}

.productos-cliente-logo-img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.productos-cliente-rating {
    display: flex;
    justify-content: center;
    gap: 0.25rem;
    margin-bottom: 1.5rem;
}

.productos-cliente-rating .star {
    color: #fbbf24;
    font-size: 1.25rem;
}

.productos-cliente-resena {
    flex-grow: 1;
    margin-bottom: 1.5rem;
}

.productos-cliente-resena p {
    font-size: 1rem;
    color: #64748b;
    line-height: 1.7;
    text-align: center;
    margin: 0;
}

.productos-cliente-author {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid #e5e7eb;
}

.productos-cliente-author-name {
    font-size: 1rem;
    font-weight: 600;
    color: #0f1419;
    margin: 0 0 0.25rem 0;
}

.productos-cliente-author-company {
    font-size: 0.875rem;
    color: #64748b;
    margin: 0;
    font-weight: 500;
}

/* Responsive Clientes */
@media (max-width: 1024px) {
    .productos-clientes-grid {
        gap: 2.5rem;
    }
    
    .productos-cliente-card {
        padding: 2rem;
    }
}

/* Tablet - 768px: mostrar 2 columnas */
@media (min-width: 768px) and (max-width: 1024px) {
    .productos-clientes-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 767px) {
    .productos-clientes-section {
        padding: 4rem 1.5rem;
    }
    
    .productos-clientes-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        max-width: 600px;
    }
    
    .productos-cliente-card {
        padding: 2rem;
    }
}

@media (max-width: 480px) {
    .productos-sistemas-section,
    .productos-accesorios-section,
    .productos-software-section {
        padding: 3rem 1rem;
    }
    
    .productos-clientes-section {
        padding: 3rem 1rem;
    }
    
    .productos-cliente-card {
        padding: 1.5rem;
    }
    
    .productos-cliente-logo-container {
        height: 60px;
        margin-bottom: 1rem;
    }
    
    .productos-cliente-rating {
        margin-bottom: 1rem;
    }
    
    .productos-cliente-resena {
        margin-bottom: 1rem;
    }
    
    .productos-cliente-resena p {
        font-size: 0.95rem;
    }
    
    .productos-section-title {
        font-size: 1.75rem;
    }
    
    .producto-title {
        font-size: 1.25rem;
    }
    
    .producto-description {
        font-size: 0.95rem;
    }
    
    .producto-cta {
        padding: 0.75rem 1.5rem;
        font-size: 0.95rem;
    }
}

/* Asegurar que productos-main-content no tenga grid en ningún breakpoint */
@media (max-width: 768px) {
    .productos-main-content {
        display: block;
        grid-template-columns: none;
        gap: 0;
        padding: 0;
    }
}

@media (max-width: 1024px) {
    .productos-main-content {
        display: block;
        grid-template-columns: none;
        gap: 0;
    }
}

/* ===== PÁGINAS INDIVIDUALES DE PRODUCTOS ===== */
.producto-individual-main {
    width: 100%;
    padding: 0;
    margin: 0;
    max-width: 100%;
    display: block;
    overflow: visible;
}

.producto-individual-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Hero Section Individual */
.producto-individual-hero {
    width: 100%;
    padding: 5rem 0 4rem;
    margin-top: 80px;
    background: #ffffff;
}

.producto-individual-hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: start;
}

.producto-individual-hero-image {
    width: 100%;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    border-radius: 12px;
    padding: 2rem;
}

.producto-individual-img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* Carousel de imágenes para software dentro del hero */
.producto-individual-hero-image .software-producto-imagen {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    background: transparent;
}

.producto-individual-hero-image .software-imagen-container {
    width: 100%;
    height: calc(100% - 60px);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.producto-individual-hero-image .software-img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
}

.producto-individual-hero-image .software-imagen-controls {
    height: 60px;
    margin-top: auto;
}

.producto-individual-text {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 1rem;
}

.producto-individual-title {
    font-size: 2.75rem;
    font-weight: 700;
    color: #0f1419;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

/* Disponibilidad */
.producto-disponibilidad {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    padding: 0.75rem 1rem;
    background: #f0fdf4;
    border-radius: 8px;
    border: 1px solid #bbf7d0;
}

.disponibilidad-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: #22c55e;
    color: white;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.875rem;
    flex-shrink: 0;
}

.disponibilidad-text {
    font-size: 0.95rem;
    color: #166534;
    font-weight: 500;
}

.producto-individual-subtitle {
    font-size: 1.125rem;
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 2rem;
}

/* Especificaciones Técnicas */
.producto-especificaciones {
    margin-bottom: 2rem;
}

.especificaciones-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #0f1419;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}


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

.especificaciones-list li {
    padding: 0.75rem 0;
    padding-left: 0;
    font-size: 1rem;
    color: #374151;
    line-height: 1.6;
    border-bottom: 1px solid #e5e7eb;
}

.especificaciones-list li:last-child {
    border-bottom: none;
}

.especificaciones-list li strong {
    color: #0f1419;
    font-weight: 600;
    display: inline-block;
    min-width: 140px;
}

.producto-individual-cta {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.125rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.25);
    align-self: flex-start;
    margin-top: 1rem;
}

.producto-individual-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(59, 130, 246, 0.35);
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
}

/* Info Section - Nuevo diseño simple */
.producto-individual-info-section {
    width: 100%;
    padding: 4rem 0;
    background: #ffffff;
    border-top: 1px solid #e5e7eb;
}

.producto-info-grid {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.producto-info-row {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 4rem;
    align-items: start;
}

.info-section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0f1419;
    margin: 0;
    line-height: 1.3;
    padding-top: 0.5rem;
}

.info-content-block {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    font-size: 1rem;
    color: #374151;
    line-height: 1.7;
}

.info-content-block p {
    font-size: 1rem;
    color: #374151;
    line-height: 1.7;
    margin: 0;
    margin-bottom: 1rem;
}

.info-content-block h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #0f1419;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

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

.info-list li {
    padding: 0.5rem 0;
    font-size: 1rem;
    color: #374151;
    line-height: 1.6;
    padding-left: 0;
}

.info-list li strong {
    color: #0f1419;
    font-weight: 600;
}

/* Productos Relacionados Section */
.producto-relacionados-section {
    width: 100%;
    padding: 4rem 0;
    background: #f8fafc;
    border-top: 1px solid #e5e7eb;
}

.producto-relacionados-title {
    font-size: 2rem;
    font-weight: 700;
    color: #0f1419;
    margin-bottom: 2.5rem;
    text-align: left;
}

.producto-relacionados-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2rem;
}

/* Contenedor para scroll horizontal en móviles */
.producto-relacionados-wrapper {
    width: 100%;
    overflow-x: visible;
}

.producto-relacionado-card {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.producto-relacionado-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.producto-relacionado-image {
    width: 100%;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    padding: 1.5rem;
}

.producto-relacionado-img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.producto-relacionado-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.producto-relacionado-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #0f1419;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.producto-relacionado-description {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 1.25rem;
    flex-grow: 1;
}

.producto-relacionado-cta {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(59, 130, 246, 0.2);
    align-self: flex-start;
}

.producto-relacionado-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
}

/* Responsive Páginas Individuales */
@media (max-width: 1024px) {
    .producto-individual-hero-content {
        gap: 3rem;
    }
    
    .producto-individual-title {
        font-size: 3rem;
    }
    
    .producto-individual-hero-image {
        height: 450px;
    }
    
    .producto-individual-features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .producto-relacionados-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
    
    .producto-relacionado-image {
        height: 180px;
    }
}

@media (max-width: 768px) {
    .producto-individual-hero {
        padding: 4rem 0 3rem;
    }
    
    .producto-individual-hero-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .producto-individual-hero-image {
        order: 1;
        height: 350px;
        padding: 1.5rem;
    }
    
    .producto-individual-text {
        order: 2;
        text-align: left;
    }
    
    .producto-individual-title {
        font-size: 2rem;
    }
    
    .producto-individual-subtitle {
        font-size: 1.05rem;
    }
    
    .especificaciones-list li strong {
        min-width: 120px;
    }
    
    .producto-individual-cta {
        align-self: flex-start;
        width: 100%;
        max-width: 100%;
    }
    
    .producto-info-grid {
        gap: 2.5rem;
    }
    
    .producto-info-row {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .info-section-title {
        font-size: 1.25rem;
        padding-top: 0;
    }
    
    .producto-relacionados-section {
        padding: 3rem 0;
    }
    
    .producto-relacionados-title {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .producto-relacionados-wrapper {
        overflow-x: auto;
        overflow-y: visible;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
        scrollbar-color: #cbd5e1 #f1f5f9;
        padding-bottom: 10px;
        margin: 0 -1rem;
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .producto-relacionados-wrapper::-webkit-scrollbar {
        height: 8px;
    }
    
    .producto-relacionados-wrapper::-webkit-scrollbar-track {
        background: #f1f5f9;
        border-radius: 4px;
    }
    
    .producto-relacionados-wrapper::-webkit-scrollbar-thumb {
        background: #cbd5e1;
        border-radius: 4px;
    }
    
    .producto-relacionados-wrapper::-webkit-scrollbar-thumb:hover {
        background: #94a3b8;
    }
    
    .producto-relacionados-grid {
        display: flex;
        flex-direction: row;
        gap: 1.25rem;
        grid-template-columns: none;
        width: max-content;
        min-width: 100%;
    }
    
    .producto-relacionado-card {
        flex: 0 0 280px;
        min-width: 280px;
        max-width: 280px;
    }
    
    .producto-relacionado-image {
        height: 180px;
    }
    
    .producto-relacionado-content {
        padding: 1.25rem;
    }
    
    .producto-relacionado-title {
        font-size: 1rem;
    }
    
    .producto-relacionado-description {
        font-size: 0.875rem;
    }
    
    .producto-relacionado-cta {
        padding: 0.625rem 1.25rem;
        font-size: 0.875rem;
    }
    
    .producto-individual-features {
        padding: 4rem 0;
    }
    
    .producto-individual-features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .producto-individual-description {
        padding: 4rem 0;
    }
    
    .producto-individual-section-title {
        font-size: 2rem;
    }
    
    .producto-individual-cta-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .producto-individual-container {
        padding: 0 1rem;
    }
    
    .producto-individual-hero {
        padding: 3.5rem 0 2rem;
    }
    
    .producto-individual-hero-content {
        gap: 2rem;
    }
    
    /* Imagen principal: ancho de la tarjeta, solo un poco más de alto que antes (no cuadro) */
    .producto-individual-hero .producto-individual-hero-image {
        height: 360px;
        min-height: 360px;
        padding: 0.75rem;
    }
    
    /* Ancho de la tarjeta, se ve un poco más del largo de la imagen sin forzar cuadro */
    .producto-individual-hero .producto-individual-hero-image .producto-individual-img,
    .producto-individual-hero .producto-individual-hero-image .software-img {
        width: 100%;
        height: auto;
        max-height: 100%;
        object-fit: contain;
    }
}

/* Indicador de versión de CSS: visible en esquina (si ves "style v3" = CSS nuevo cargado) */
body::after {
    content: "style v3";
    position: fixed;
    bottom: 4px;
    right: 4px;
    font-size: 10px;
    line-height: 1;
    color: #bbb;
    background: #f5f5f5;
    padding: 2px 5px;
    border-radius: 3px;
    z-index: 999999;
    pointer-events: none;
    font-family: system-ui, sans-serif;
}

@media (max-width: 480px) {
    .producto-individual-title {
        font-size: 1.75rem;
    }
    
    .producto-individual-subtitle {
        font-size: 1rem;
    }
    
    .producto-disponibilidad {
        padding: 0.625rem 0.875rem;
    }
    
    .disponibilidad-text {
        font-size: 0.875rem;
    }
    
    .especificaciones-title {
        font-size: 1.125rem;
    }
    
    .especificaciones-list li {
        font-size: 0.95rem;
    }
    
    .especificaciones-list li strong {
        min-width: 100px;
        display: block;
        margin-bottom: 0.25rem;
    }
    
    .producto-individual-cta {
        padding: 0.875rem 2rem;
        font-size: 1rem;
        width: 100%;
    }
    
    .producto-individual-features {
        padding: 3rem 0;
    }
    
    .producto-individual-description {
        padding: 3rem 0;
    }
    
    .producto-individual-section-title {
        font-size: 1.75rem;
    }
    
    .producto-individual-cta-title {
        font-size: 1.75rem;
    }
    
    .producto-individual-cta-text {
        font-size: 1.1rem;
    }
    
    .producto-individual-cta-button {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
    
    .producto-individual-info-section {
        padding: 3rem 0;
    }
    
    .producto-info-grid {
        gap: 2rem;
    }
    
    .producto-info-row {
        gap: 1.5rem;
    }
    
    .info-section-title {
        font-size: 1.125rem;
    }
    
    .info-content-block p,
    .info-list li {
        font-size: 0.95rem;
    }
    
    .producto-relacionados-section {
        padding: 3rem 0;
    }
    
    .producto-relacionados-title {
        font-size: 1.75rem;
        margin-bottom: 2rem;
    }
    
    .producto-relacionados-wrapper {
        overflow-x: auto;
        overflow-y: visible;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
        scrollbar-color: #cbd5e1 #f1f5f9;
        padding-bottom: 10px;
        margin: 0 -1rem;
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .producto-relacionados-wrapper::-webkit-scrollbar {
        height: 8px;
    }
    
    .producto-relacionados-wrapper::-webkit-scrollbar-track {
        background: #f1f5f9;
        border-radius: 4px;
    }
    
    .producto-relacionados-wrapper::-webkit-scrollbar-thumb {
        background: #cbd5e1;
        border-radius: 4px;
    }
    
    .producto-relacionados-wrapper::-webkit-scrollbar-thumb:hover {
        background: #94a3b8;
    }
    
    .producto-relacionados-grid {
        display: flex;
        flex-direction: row;
        gap: 1.5rem;
        grid-template-columns: none;
        width: max-content;
        min-width: 100%;
    }
    
    .producto-relacionado-card {
        flex: 0 0 300px;
        min-width: 300px;
        max-width: 300px;
    }
    
    .producto-relacionado-image {
        height: 180px;
    }
}

/* Mobile pequeño - 480px */
@media (max-width: 480px) {
    .producto-relacionados-section {
        padding: 2.5rem 0;
    }
    
    .producto-relacionados-title {
        font-size: 1.5rem;
        margin-bottom: 1.25rem;
        padding: 0 1rem;
    }
    
    .producto-relacionados-wrapper {
        overflow-x: auto;
        overflow-y: visible;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
        scrollbar-color: #cbd5e1 #f1f5f9;
        padding-bottom: 10px;
        margin: 0;
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .producto-relacionados-wrapper::-webkit-scrollbar {
        height: 6px;
    }
    
    .producto-relacionados-wrapper::-webkit-scrollbar-track {
        background: #f1f5f9;
        border-radius: 4px;
    }
    
    .producto-relacionados-wrapper::-webkit-scrollbar-thumb {
        background: #cbd5e1;
        border-radius: 4px;
    }
    
    .producto-relacionados-wrapper::-webkit-scrollbar-thumb:hover {
        background: #94a3b8;
    }
    
    .producto-relacionados-grid {
        display: flex;
        flex-direction: row;
        gap: 1rem;
        grid-template-columns: none;
        width: max-content;
        min-width: 100%;
    }
    
    .producto-relacionado-card {
        flex: 0 0 260px;
        min-width: 260px;
        max-width: 260px;
    }
    
    .producto-relacionado-image {
        height: 160px;
    }
    
    .producto-relacionado-content {
        padding: 1rem;
    }
    
    .producto-relacionado-title {
        font-size: 0.95rem;
    }
    
    .producto-relacionado-description {
        font-size: 0.85rem;
        margin-bottom: 1rem;
    }
    
    .producto-relacionado-cta {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }
}

/* ===== SECCIÓN CTA PRODUCTOS ===== */
.productos-cta-section {
    width: 100%;
    padding: 6rem 2rem;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    position: relative;
    overflow: hidden;
}

.productos-cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(59, 130, 246, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.productos-cta-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.productos-cta-imagen {
    width: 100%;
    height: 450px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    position: relative;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.productos-cta-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.productos-cta-imagen:hover .productos-cta-img {
    transform: scale(1.05);
}

.productos-cta-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.productos-cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.productos-cta-description {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.productos-cta-button {
    display: inline-block;
    padding: 1.125rem 3rem;
    background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1.125rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
    margin-top: 0.5rem;
    align-self: flex-start;
}

.productos-cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(59, 130, 246, 0.5);
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
}

/* Responsive CTA */
@media (max-width: 1024px) {
    .productos-cta-section {
        padding: 5rem 2rem;
    }
    
    .productos-cta-container {
        gap: 4rem;
    }
    
    .productos-cta-imagen {
        height: 400px;
    }
    
    .productos-cta-title {
        font-size: 2.25rem;
    }
}

/* Tablet - 768px: mantener 2 columnas */
@media (min-width: 768px) and (max-width: 1024px) {
    .productos-cta-container {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
    
    .productos-cta-imagen {
        height: 380px;
        order: 0;
    }
    
    .productos-cta-content {
        order: 0;
    }
}

@media (max-width: 767px) {
    .productos-cta-section {
        padding: 4rem 1.5rem;
    }
    
    .productos-cta-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .productos-cta-imagen {
        height: 350px;
        order: 1;
    }
    
    .productos-cta-content {
        order: 2;
    }
    
    .productos-cta-title {
        font-size: 2rem;
        text-align: left;
    }
    
    .productos-cta-description {
        text-align: left;
        font-size: 1.05rem;
    }
    
    .productos-cta-button {
        align-self: flex-start;
    }
}

@media (max-width: 480px) {
    .productos-cta-section {
        padding: 3.5rem 1rem;
    }
    
    .productos-cta-container {
        gap: 2.5rem;
    }
    
    .productos-cta-imagen {
        height: 280px;
    }
    
    .productos-cta-title {
        font-size: 1.75rem;
    }
    
    .productos-cta-description {
        font-size: 1rem;
    }
    
    .productos-cta-button {
        padding: 1rem 2rem;
        font-size: 1rem;
        width: 100%;
    }
}

/* ===== BLOG PAGE ===== */
.blog-main-content {
    width: 100%;
    padding: 0;
    margin: 0;
    margin-top: 80px; /* Espacio para el header sticky */
    background: #ffffff;
}

.blog-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.blog-header {
    margin-bottom: 3rem;
}

.blog-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0;
    line-height: 1.2;
}

.blog-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
}

/* Blog Posts */
.blog-posts {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.blog-filter-info {
    padding: 1.5rem;
    background: #f8fafc;
    border-radius: 8px;
    border-left: 4px solid #3b82f6;
    margin-bottom: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.filter-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #0f1419;
    margin: 0;
}

.filter-clear {
    color: #3b82f6;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.filter-clear:hover {
    color: #2563eb;
    text-decoration: underline;
}

.blog-post {
    padding-bottom: 3rem;
    border-bottom: 1px solid #e5e7eb;
}

.blog-post:last-child {
    border-bottom: none;
}

.post-title {
    font-size: 1.75rem;
    font-weight: 600;
    color: #0f1419;
    margin: 0 0 1rem 0;
    line-height: 1.3;
}

.post-title a {
    color: #0f1419;
    text-decoration: none;
    transition: color 0.3s ease;
}

.post-title a:hover {
    color: #3b82f6;
}

.post-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
    color: #64748b;
}

.post-author {
    font-weight: 500;
}

.post-separator {
    color: #9ca3af;
}

.post-date {
    color: #64748b;
}

.post-excerpt {
    margin-bottom: 1.5rem;
}

.post-excerpt p {
    font-size: 1rem;
    color: #374151;
    line-height: 1.7;
    margin: 0;
}

.post-read-more {
    display: inline-block;
    color: #3b82f6;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.post-read-more:hover {
    color: #2563eb;
}

/* Sidebar */
.blog-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    position: sticky;
    top: 100px; /* Espacio para el header sticky */
    align-self: flex-start;
}


.sidebar-widget {
    background: #f8fafc;
    padding: 1.25rem;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
}

.widget-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #0f1419;
    margin: 0 0 1rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #3b82f6;
}

/* Productos Relacionados en Sidebar */
.related-products-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.related-product-card {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 1rem;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.related-product-card:hover {
    border-color: #3b82f6;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
    transform: translateY(-2px);
}

.related-product-image {
    width: 100%;
    height: 150px;
    overflow: hidden;
    border-radius: 6px;
    margin-bottom: 0.75rem;
    background: #f8fafc;
}

.related-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.related-product-card:hover .related-product-image img {
    transform: scale(1.05);
}

.related-product-info {
    flex: 1;
}

.related-product-title {
    font-size: 1rem;
    font-weight: 600;
    color: #0f1419;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.related-product-description {
    font-size: 0.875rem;
    color: #6b7280;
    line-height: 1.5;
    margin-bottom: 0.75rem;
}

.related-product-link {
    font-size: 0.875rem;
    color: #3b82f6;
    font-weight: 500;
    display: inline-block;
    transition: color 0.3s ease;
}

.related-product-card:hover .related-product-link {
    color: #2563eb;
}

@media (max-width: 1024px) {
    .related-product-image {
        height: 120px;
    }
    
    .related-product-title {
        font-size: 0.9375rem;
    }
    
    .related-product-description {
        font-size: 0.8125rem;
    }
}

/* Search Form */
.search-form {
    display: flex;
    gap: 0.5rem;
}

.search-input {
    flex: 1;
    padding: 0.625rem 0.875rem;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 0.9rem;
    font-family: 'Inter', sans-serif;
    color: #374151;
    background: #ffffff;
    transition: border-color 0.3s ease;
}

.search-input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.search-button {
    padding: 0.625rem 1.25rem;
    background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.search-button:hover {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

/* Recent Posts List */
.recent-posts-list,
.archives-list,
.categories-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.recent-posts-list li,
.archives-list li,
.categories-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #e5e7eb;
}

.recent-posts-list li:last-child,
.archives-list li:last-child,
.categories-list li:last-child {
    border-bottom: none;
}

.recent-posts-list a,
.archives-list a,
.categories-list a {
    color: #374151;
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.3s ease;
    display: block;
    line-height: 1.4;
}

.recent-posts-list a:hover,
.archives-list a:hover,
.categories-list a:hover,
.categories-list a.active {
    color: #3b82f6;
    font-weight: 600;
}

/* Sidebar Attachment Links */
.sidebar-attachment-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.5rem 0;
    transition: all 0.3s ease;
}

.sidebar-attachment-name {
    flex: 1;
    word-break: break-word;
    min-width: 0;
}

.sidebar-attachment-size {
    color: #9ca3af;
    font-size: 0.75rem;
    flex-shrink: 0;
}

.sidebar-attachment-link:hover {
    color: #3b82f6;
}

.sidebar-attachment-link:hover .sidebar-attachment-size {
    color: #64748b;
}

/* No Comments */
.no-comments {
    color: #64748b;
    font-size: 0.875rem;
    margin: 0;
    font-style: italic;
}

/* Responsive Blog */
@media (max-width: 1024px) {
    .blog-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .blog-sidebar {
        order: 1; /* Sidebar después del contenido */
        position: static; /* Quitar sticky en mobile/tablet */
        max-height: none;
        overflow-y: visible;
    }
    
    .blog-posts {
        order: 0; /* Contenido primero */
    }
    
    .blog-title {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .blog-container {
        padding: 3rem 1.5rem;
    }
    
    .blog-title {
        font-size: 2.5rem;
    }
    
    .post-title {
        font-size: 1.5rem;
    }
    
    .sidebar-widget {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .blog-container {
        padding: 2rem 1rem;
    }
    
    .blog-title {
        font-size: 2rem;
    }
    
    .post-title {
        font-size: 1.25rem;
    }
    
    .search-form {
        flex-direction: column;
    }
    
    .search-button {
        width: 100%;
    }
}

/* Paginación */
.pagination-section {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid #e5e7eb;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.pagination-btn {
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.pagination-btn:hover {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.pagination-numbers {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.pagination-number {
    padding: 0.75rem 1rem;
    color: #374151;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    min-width: 44px;
    text-align: center;
    display: inline-block;
}

.pagination-number:hover {
    background: #f3f4f6;
    color: #3b82f6;
}

.pagination-number.current {
    background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
    color: white;
    font-weight: 600;
}

.pagination-ellipsis {
    padding: 0.75rem 0.5rem;
    color: #9ca3af;
}

.pagination-info {
    text-align: center;
    margin-top: 1.5rem;
    color: #64748b;
    font-size: 0.95rem;
}

/* Post Individual */
.blog-layout .blog-posts {
    max-width: none;
}

.blog-post-single {
    padding-bottom: 3rem;
    border-bottom: none;
}

.post-header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e5e7eb;
}

.post-title-single {
    font-size: 2.5rem;
    font-weight: 700;
    color: #0f1419;
    margin: 0 0 1rem 0;
    line-height: 1.3;
}

.post-meta-single {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    color: #64748b;
    flex-wrap: wrap;
}

.post-meta-item {
    color: #64748b;
}

.post-featured-image {
    margin-bottom: 2.5rem;
    border-radius: 12px;
    overflow: hidden;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #f3f4f6;
    position: relative;
}

.post-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.post-content-single {
    font-size: 1.125rem;
    line-height: 1.8;
    color: #374151;
    margin-bottom: 3rem;
}

.post-content-single p {
    margin-bottom: 1.5rem;
}

.post-content-single h2,
.post-content-single h3,
.post-content-single h4 {
    color: #0f1419;
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.post-content-single h2 {
    font-size: 2rem;
}

.post-content-single h3 {
    font-size: 1.5rem;
}

.post-content-single h4 {
    font-size: 1.25rem;
}

.post-content-single ul,
.post-content-single ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.post-content-single li {
    margin-bottom: 0.75rem;
}

.post-content-single a {
    color: #3b82f6;
    text-decoration: none;
    transition: color 0.3s ease;
}

.post-content-single a:hover {
    color: #2563eb;
    text-decoration: underline;
}

/* Videos de YouTube embebidos */
.post-content-single iframe {
    max-width: 100%;
    width: 100%;
    height: auto;
    min-height: 400px;
    border: none;
    border-radius: 8px;
    margin: 2rem 0;
}

/* Contenedor responsivo para videos de YouTube */
.post-content-single .video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    margin: 2rem 0;
    border-radius: 8px;
}

.post-content-single .video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    min-height: 0;
}

@media (max-width: 768px) {
    .post-content-single iframe {
        min-height: 250px;
    }
}

/* Sección de Archivos Adjuntos */
.post-attachments-section {
    margin: 3rem 0;
    padding: 2rem;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
}

.attachments-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #0f1419;
    margin: 0 0 1.5rem 0;
}

.attachments-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.attachment-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.attachment-item:hover {
    border-color: #3b82f6;
    background: #eff6ff;
    transform: translateX(4px);
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.1);
}

.file-icon {
    font-size: 1.75rem;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.file-icon.pdf {
    color: #dc2626;
}

.file-icon.doc {
    color: #2563eb;
}

.file-icon.xls {
    color: #16a34a;
}

.file-icon.ppt {
    color: #ea580c;
}

.file-icon.zip {
    color: #7c3aed;
}

.attachment-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    min-width: 0;
}

.attachment-name {
    font-weight: 500;
    color: #0f1419;
    font-size: 1rem;
    word-break: break-word;
}

.attachment-size {
    font-size: 0.875rem;
    color: #64748b;
}

.attachment-download {
    font-size: 1.25rem;
    flex-shrink: 0;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.attachment-item:hover .attachment-download {
    opacity: 1;
}

/* Sección de Autor */
.post-author-section {
    display: flex;
    gap: 1.5rem;
    padding: 2rem;
    background: #f8fafc;
    border-radius: 12px;
    margin-top: 3rem;
    margin-bottom: 2rem;
    border: 1px solid #e5e7eb;
}

.author-avatar {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    min-width: 80px;
    min-height: 80px;
    border-radius: 50%;
    overflow: hidden;
    background: #e5e7eb;
    position: relative;
}

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

.author-avatar-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-size: 2rem;
    font-weight: 600;
    border-radius: 50%;
}

.author-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.author-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: #0f1419;
    margin: 0 0 0.5rem 0;
}

.author-title {
    font-size: 0.95rem;
    color: #64748b;
    margin: 0 0 1.5rem 0;
}

.author-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: auto;
}

.author-action-btn {
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.author-action-btn:hover {
    background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}

.author-action-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    color: white;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.author-action-icon:hover {
    background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}

.author-action-icon svg {
    width: 18px;
    height: 18px;
}

/* Navegación entre posts */
.post-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    margin-top: 2rem;
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
}

.post-nav-link {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.post-nav-link:hover {
    color: #2563eb;
}

.post-nav-link.prev-link {
    margin-right: auto;
}

.post-nav-link.next-link {
    margin-left: auto;
}

/* Sección de Comentarios */
.comments-section {
    margin-top: 3rem;
    padding-top: 2rem;
}

.comments-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0f1419;
    margin: 0 0 0.5rem 0;
}

.comments-note {
    font-size: 0.9rem;
    color: #64748b;
    margin: 0 0 2rem 0;
}

.comment-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.comment-form-field {
    width: 100%;
}

.comment-form-field textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    color: #374151;
    resize: vertical;
    min-height: 150px;
    transition: border-color 0.3s ease;
}

.comment-form-field textarea:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.comment-form-field input[type="text"],
.comment-form-field input[type="email"],
.comment-form-field input[type="url"] {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    color: #374151;
    transition: border-color 0.3s ease;
}

.comment-form-field input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.comment-form-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.comment-form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.comment-form-checkbox input[type="checkbox"] {
    margin-top: 0.25rem;
    cursor: pointer;
}

.comment-form-checkbox label {
    font-size: 0.9rem;
    color: #64748b;
    cursor: pointer;
    line-height: 1.5;
}

.comment-submit-btn {
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    align-self: flex-start;
    font-family: 'Inter', sans-serif;
}

.comment-submit-btn:hover {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

/* Posts Relacionados */
.related-posts-section {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 2px solid #e5e7eb;
}

.related-posts-title {
    font-size: 2rem;
    font-weight: 700;
    color: #0f1419;
    margin: 0 0 0.5rem 0;
}

.related-posts-subtitle {
    font-size: 1rem;
    color: #64748b;
    margin: 0 0 2rem 0;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.related-post-card {
    background: #f8fafc;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

.related-post-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: #3b82f6;
}

.related-post-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #0f1419;
    margin: 0 0 1rem 0;
    line-height: 1.3;
}

.related-post-title a {
    color: #0f1419;
    text-decoration: none;
    transition: color 0.3s ease;
}

.related-post-title a:hover {
    color: #3b82f6;
}

.related-post-excerpt {
    margin-bottom: 1rem;
}

.related-post-excerpt p {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

.related-post-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid #e5e7eb;
}

.related-post-date {
    font-size: 0.875rem;
    color: #9ca3af;
}

.related-post-link {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.related-post-link:hover {
    color: #2563eb;
}

/* Responsive Post Individual */
@media (max-width: 768px) {
    .post-title-single {
        font-size: 2rem;
    }
    
    .post-content-single {
        font-size: 1rem;
    }
    
    .post-author-section {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
        gap: 1.25rem;
    }
    
    .author-avatar {
        margin: 0 auto;
        width: 70px;
        height: 70px;
    }
    
    .author-name {
        font-size: 1.1rem;
    }
    
    .author-title {
        font-size: 0.875rem;
        margin-bottom: 1.5rem;
    }
    
    .author-actions {
        justify-content: center;
        gap: 0.75rem;
        margin-top: 0;
    }
    
    .author-action-btn {
        padding: 0.5rem 0.875rem;
        font-size: 0.85rem;
    }
    
    .author-action-icon {
        width: 32px;
        height: 32px;
    }
    
    .author-action-icon svg {
        width: 16px;
        height: 16px;
    }
    
    .comment-form-row {
        grid-template-columns: 1fr;
    }
    
    .post-navigation {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    
    .post-nav-link.prev-link,
    .post-nav-link.next-link {
        margin: 0;
    }
    
    .related-posts-grid {
        grid-template-columns: 1fr;
    }
    
    .post-attachments-section {
        padding: 1.5rem;
        margin: 2rem 0;
    }
    
    .attachments-title {
        font-size: 1.25rem;
    }
    
    .attachment-item {
        padding: 0.875rem 1rem;
        gap: 0.75rem;
    }
    
    .file-icon {
        font-size: 1.5rem;
        width: 36px;
        height: 36px;
    }
    
    .attachment-name {
        font-size: 0.95rem;
    }
    
    .attachment-size {
        font-size: 0.8rem;
    }
    
    .pagination {
        flex-direction: column;
    }
    
    .pagination-numbers {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .post-author-section {
        padding: 1rem;
        gap: 0.875rem;
        margin-top: 2rem;
        margin-bottom: 1.5rem;
    }
    
    .author-avatar {
        width: 60px;
        height: 60px;
    }
    
    .author-name {
        font-size: 0.95rem;
    }
    
    .author-title {
        font-size: 0.8rem;
        margin-bottom: 1.25rem;
    }
    
    .author-actions {
        flex-direction: column;
        width: 100%;
        gap: 0.5rem;
        margin-top: 0;
    }
    
    .author-action-btn {
        width: 100%;
        padding: 0.625rem 1rem;
        font-size: 0.875rem;
    }
    
    .author-action-icon {
        width: 36px;
        height: 36px;
    }
    
    .author-action-icon svg {
        width: 18px;
        height: 18px;
    }
}

/* ============================================
   OCULTAR CONTROLES DE EDICIÓN EN MOBILE
   Para mejorar performance en dispositivos móviles
   ============================================ */
@media (max-width: 768px) {
    /* Ocultar barra de modo editor */
    .editor-mode-banner,
    #toggleEditorControls,
    #editorControlsPanel,
    .editor-controls {
        display: none !important;
    }
    
    /* Ocultar botones de edición de banners */
    button[onclick*="showBannersManagerModal"],
    button[onclick*="showAddBannerModal"],
    button[onclick*="showEditBannerModal"],
    .banner-edit-controls {
        display: none !important;
    }
    
    /* Ocultar controles de edición de secciones */
    .section-edit-controls,
    button[onclick*="showEditSectionModal"],
    button[onclick*="showAddSectionModal"],
    button[onclick*="showAddSectionBelowModal"] {
        display: none !important;
    }
    
    /* Ocultar controles de edición de productos */
    .product-edit-controls,
    button[onclick*="showAddProductModal"],
    button[onclick*="moveProductOrder"],
    button[onclick*="removeProductFromSection"],
    button[onclick*="deleteProduct"],
    div[onclick*="showAddProductModal"] {
        display: none !important;
        pointer-events: none !important;
    }
    
    /* Ocultar modales de edición */
    #bannerModal,
    #bannersManagerModal,
    #deleteBannerModal,
    #sectionModal,
    #addSectionModal,
    #productModal,
    #deleteProductModal {
        display: none !important;
    }
    
    /* Asegurar que no haya padding extra del modo editor */
    body {
        padding-bottom: 0 !important;
    }
    
    .productos-main-content {
        margin-top: 0 !important;
    }
}

/* ===== MODAL AVISO DE PRIVACIDAD ===== */
.privacy-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    overflow-y: auto;
}

.privacy-modal-content {
    background: #1a2332;
    border-radius: 12px;
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: modalFadeIn 0.3s ease-out;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.privacy-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.privacy-modal-header h2 {
    margin: 0;
    color: #fff;
    font-size: 1.5rem;
    font-weight: 600;
}

.privacy-modal-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: background 0.2s;
}

.privacy-modal-close:hover {
    background: rgba(255, 255, 255, 0.1);
}

.privacy-modal-body {
    padding: 2rem;
    overflow-y: auto;
    flex: 1;
    color: #e2e8f0;
    line-height: 1.6;
}

.privacy-modal-body h3 {
    color: #60a5fa;
    font-size: 1.25rem;
    margin-top: 0;
    margin-bottom: 1rem;
}

.privacy-modal-body h4 {
    color: #fff;
    font-size: 1.1rem;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.privacy-modal-body p {
    margin-bottom: 1rem;
    color: #cbd5e1;
}

.privacy-modal-body ul {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
    color: #cbd5e1;
}

.privacy-modal-body li {
    margin-bottom: 0.5rem;
}

.privacy-modal-body strong {
    color: #fff;
}

.privacy-modal-footer {
    padding: 1.5rem 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: flex-end;
}

.privacy-modal-btn {
    background: #60a5fa;
    color: #fff;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.privacy-modal-btn:hover {
    background: #3b82f6;
}

/* Responsive para modal */
@media (max-width: 768px) {
    .privacy-modal-content {
        max-height: 95vh;
        margin: 1rem;
    }
    
    .privacy-modal-header,
    .privacy-modal-body,
    .privacy-modal-footer {
        padding: 1.25rem 1.5rem;
    }
    
    .privacy-modal-header h2 {
        font-size: 1.25rem;
    }
}

@media (max-width: 480px) {
    .privacy-modal-content {
        margin: 0.5rem;
        max-height: 98vh;
    }
    
    .privacy-modal-header,
    .privacy-modal-body,
    .privacy-modal-footer {
        padding: 1rem;
    }
    
    .privacy-modal-body h3 {
        font-size: 1.1rem;
    }
    
    .privacy-modal-body h4 {
        font-size: 1rem;
    }
}


