/* ==================================================================
   CONEXIA TECHNOLOGIES S.A. - ESTILOS MÓVILES
   Versión final - Adaptado a nuevo carrusel de marcas
   ================================================================== */

@media (max-width: 768px) {

  /* --- HEADER Y NAVEGACIÓN --- */
  .brandLogo {
    height: 38px;
  }

  .headerBar {
    padding: 10px 16px;
  }

  .navLinks,
  .navWrapper {
    display: none !important;
  }

  .menuBtn {
    display: flex !important;
    width: 40px;
    height: 40px;
  }

  .headerActions {
    gap: 8px;
  }

  .headerSocial {
    display: flex !important;
    gap: 6px;
  }

  .headerSocial .socBtnHeader {
    width: 34px;
    height: 34px;
  }

  .headerSocial .socBtnHeader svg {
    width: 16px;
    height: 16px;
  }

  .search-btn {
    width: 34px;
    height: 34px;
  }

  .search-btn svg {
    width: 16px;
    height: 16px;
  }

  .navDropdown {
    top: 60px;
    right: 10px;
    width: 260px;
  }

  .navDropdown .items a small {
    display: none !important;
  }

  .navDropdown .items a {
    justify-content: center !important;
    text-align: center !important;
  }

  .navDropdown .items a span {
    font-size: 15px;
    font-weight: 600;
  }

  /* --- CONTENEDORES GENERALES --- */
  .container {
    width: calc(100% - 32px);
    margin: 0 auto;
    padding: 0 16px;
  }

  /* --- SERVICIOS TEXT GRID (cards elegantes) --- */
  .services-text-grid {
    grid-template-columns: 1fr !important;
    gap: 25px !important;
    margin: 40px 0 !important;
  }

  .service-text-item {
    padding: 25px 18px !important;
  }

  .service-text-item:not(:last-child)::after {
    display: none !important;
  }

  .service-icon {
    width: 65px !important;
    height: 65px !important;
    margin: 0 auto 18px !important;
  }

  .service-icon svg {
    width: 32px !important;
    height: 32px !important;
  }

  .service-text-item h3 {
    font-size: 18px !important;
    letter-spacing: 1px !important;
  }

  .service-text-item h3 small {
    font-size: 10px !important;
  }

  .service-text-item p {
    font-size: 13px !important;
    line-height: 1.5 !important;
    padding: 0 8px !important;
  }

  .service-text-link {
    font-size: 12px !important;
    gap: 5px !important;
  }

  .service-text-link:hover {
    gap: 10px !important;
  }

  /* --- PÁGINA SERVICIOS - HERO --- */
  body[data-page="servicios"] .heroNewImageWrapper {
    width: 90%;
    margin: 60px auto 0;
  }

  body[data-page="servicios"] .heroNewImage {
    mask-image: linear-gradient(to bottom, black 0%, black 10%, transparent 60%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 0%, black 10%, transparent 60%, transparent 100%);
  }

  body[data-page="servicios"] .heroNewTextOverlay {
    position: relative;
    margin-top: -180px;
    width: 92%;
    margin-left: auto;
    margin-right: auto;
    padding-bottom: 30px;
    text-align: center;
  }

  body[data-page="servicios"] .heroNewTextOverlay .heroNewTitle {
    font-size: 28px !important;
  }

  body[data-page="servicios"] .heroNewTextOverlay .heroNewSubtitle {
    font-size: 13px;
    padding: 0 20px;
  }

  /* --- PÁGINA PRODUCTOS - HERO --- */
  body[data-page="productos"] .heroNewTextOverlay {
    width: 92%;
    padding: 30px 0;
    margin: 0 auto;
    text-align: center;
  }

  body[data-page="productos"] .heroNewTextOverlay .heroNewTitle {
    font-size: 32px !important;
  }

  /* --- PÁGINA CONTACTO - HERO --- */
  body[data-page="contacto"] .heroNewTextOverlay {
    padding: 20px 0 25px;
    text-align: center;
  }

  body[data-page="contacto"] .heroNewTextOverlay .heroNewTitle {
    font-size: 32px !important;
  }

  body[data-page="contacto"] .heroNewTextOverlay .heroNewSubtitle {
    font-size: 13px !important;
  }

  /* --- FEATURES GRID (productos del catálogo) --- */
  .featuresGrid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
    margin: 40px 0 !important;
  }

  .featureCard {
    padding: 20px 18px !important;
    text-align: center !important;
  }

  .featureIcon {
    width: 70px !important;
    height: 70px !important;
    margin: 0 auto 15px !important;
  }

  .featureIcon img {
    width: 40px !important;
    height: 40px !important;
  }

  .featureCard h3 {
    font-size: 17px !important;
  }

  .featureCard p {
    font-size: 13px !important;
  }

  /* --- SECTION HEADER --- */
  .section-header-center {
    margin: 40px 0 25px !important;
    text-align: center !important;
  }

  .section-header-center .h2 {
    font-size: 32px !important;
  }

  .section-header-center .h2::after {
    width: 50px;
    left: 50%;
    transform: translateX(-50%);
  }

  .section-header-center .section-subtitle {
    font-size: 13px !important;
    padding: 0 15px;
  }

  /* --- PRODUCT GRID --- */
  .productGrid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
    margin: 30px 0 !important;
  }

  .productCard {
    height: auto !important;
    min-height: 420px !important;
  }

  .productMedia {
    min-height: 260px !important;
  }

  .productOverlay {
    padding: 18px 16px !important;
  }

  .productOverlay h3 {
    font-size: 18px !important;
  }

  /* ========== CARRUSEL INDEX (carrusel de servicios) ========== */
  .carouselSection {
    padding: 20px 0 35px !important;
    overflow: hidden !important;
  }

  .carousel-wrapper {
    position: relative !important;
    width: 100% !important;
    overflow: hidden !important;
  }

  .carousel-track-container {
    overflow: hidden !important;
    width: 100% !important;
  }

  .carousel-track {
    display: flex !important;
    gap: 16px !important;
    transition: transform 0.5s ease-in-out !important;
    will-change: transform !important;
  }

  .carousel-slide {
    width: 260px !important;
    flex: 0 0 auto !important;
    transition: all 0.3s ease !important;
    filter: blur(1px) brightness(0.85);
    transform: scale(0.96);
    opacity: 0.8;
  }

  .carousel-slide.active {
    filter: blur(0) brightness(1);
    transform: scale(1);
    opacity: 1;
  }

  .carousel-slide img {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: 18px;
  }

  .carousel-btn {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 34px !important;
    height: 34px !important;
    background: rgba(0, 0, 0, 0.6) !important;
    backdrop-filter: blur(8px) !important;
    border: 1.5px solid rgba(0, 207, 255, 0.6) !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #00cfff !important;
    cursor: pointer !important;
    z-index: 25 !important;
    transition: all 0.3s ease !important;
  }

  .carousel-btn:hover {
    background: rgba(0, 207, 255, 0.3) !important;
    transform: translateY(-50%) scale(1.05) !important;
  }

  .prev-btn {
    left: 8px !important;
  }

  .next-btn {
    right: 8px !important;
  }

  .carousel-dots {
    display: flex !important;
    justify-content: center !important;
    gap: 10px !important;
    margin-top: 20px !important;
  }

  .carousel-dot {
    width: 8px !important;
    height: 8px !important;
    border-radius: 50% !important;
    background: rgba(0, 207, 255, 0.3) !important;
    border: 1px solid rgba(0, 207, 255, 0.5) !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
  }

  .carousel-dot.active {
    width: 22px !important;
    background: #00cfff !important;
    border-radius: 10px !important;
  }

  /* ========== CARRUSEL INFINITO DE LOGOS ========== */
  .infinite-carousel-section {
    padding: 30px 0 !important;
    overflow: hidden !important;
    position: relative !important;
  }

  .infinite-carousel-wrapper {
    width: 100% !important;
    overflow: hidden !important;
  }

  .infinite-carousel-track {
    display: flex !important;
    gap: 20px !important;
    width: max-content !important;
    animation: scrollLogos 18s linear infinite !important;
  }

  .infinite-carousel-track:hover {
    animation-play-state: paused !important;
  }

  .logo-item {
    min-width: 90px !important;
    padding: 8px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .logo-item a {
    display: block !important;
    transition: transform 0.3s ease !important;
  }

  .logo-item a:active {
    transform: scale(1.05) !important;
  }

  .logo-item img {
    max-height: 45px !important;
    width: auto !important;
    filter: brightness(0) invert(1) !important;
    opacity: 0.7 !important;
    transition: all 0.3s ease !important;
    pointer-events: none !important;
  }

  .logo-item:hover img {
    opacity: 1 !important;
  }

  @keyframes scrollLogos {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
  }

  /* ========== SECCIÓN DE VIDEOS UNIFICADA ========== */
  .videos-section {
    padding: 50px 0 !important;
  }

  .video-mini-menu-horizontal {
    margin-bottom: 25px !important;
    padding: 0 15px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    white-space: nowrap !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: thin !important;
  }

  .video-mini-menu-horizontal::-webkit-scrollbar {
    height: 3px;
  }

  .video-mini-menu-horizontal::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
  }

  .video-mini-menu-horizontal::-webkit-scrollbar-thumb {
    background: #00B7FF;
    border-radius: 3px;
  }

  .video-menu-list-horizontal {
    display: inline-flex !important;
    gap: 20px !important;
    padding: 10px 16px !important;
    margin: 0 auto !important;
    justify-content: center !important;
  }

  .video-menu-item-horizontal {
    display: inline-block !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    white-space: nowrap !important;
    padding: 6px 0 !important;
    color: rgba(255, 255, 255, 0.8) !important;
    transition: all 0.3s ease !important;
    position: relative !important;
  }

  .video-menu-item-horizontal:hover {
    color: #00E5FF !important;
  }

  .video-menu-item-horizontal.active-video-horizontal {
    color: #00E5FF !important;
  }

  .video-menu-item-horizontal.active-video-horizontal::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #00B7FF, #00E5FF);
    border-radius: 2px;
  }

  .video-carousel-container {
    position: relative !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
  }

  .video-carousel-wrapper {
    position: relative !important;
    overflow: hidden !important;
  }

  .video-carousel-track {
    display: flex !important;
    transition: transform 0.6s ease-in-out !important;
    will-change: transform !important;
  }

  .video-slide {
    flex: 0 0 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 25px !important;
    padding: 20px !important;
  }

  .video-slide.video-left,
  .video-slide.video-right {
    flex-direction: column !important;
  }

  .video-content {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
  }

  .video-player {
    position: relative !important;
    width: 100% !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    background: #000 !important;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4) !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
  }

  .video-player:hover {
    transform: scale(1.01) !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5) !important;
  }

  .video-player video {
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .video-text {
    width: 100% !important;
    max-width: 100% !important;
    text-align: center !important;
    padding: 0 10px !important;
  }

  .video-text h3 {
    font-size: 22px !important;
    font-weight: 800 !important;
    margin-bottom: 12px !important;
    background: linear-gradient(135deg, #00E5FF, #00B7FF);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center !important;
  }

  .video-text p {
    font-size: 13px !important;
    color: rgba(255, 255, 255, 0.85) !important;
    line-height: 1.5 !important;
    margin-bottom: 15px !important;
    text-align: center !important;
  }

  .video-text .video-features {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 0 20px 0 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
  }

  .video-text .video-features li {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    margin-bottom: 10px !important;
    font-size: 12px !important;
    color: rgba(255, 255, 255, 0.8) !important;
    text-align: center !important;
  }

  .video-text .video-features li::before {
    content: "▹" !important;
    color: #00E5FF !important;
    font-size: 12px !important;
    text-shadow: 0 0 5px rgba(0, 229, 255, 0.5) !important;
  }

  .video-text .btn-video {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    padding: 10px 24px !important;
    background: linear-gradient(135deg, #00B7FF, #0C4DA2) !important;
    border: none !important;
    border-radius: 50px !important;
    color: white !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    font-size: 11px !important;
    letter-spacing: 1.5px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
    box-shadow: 0 5px 15px rgba(0, 183, 255, 0.3) !important;
  }

  .video-text .btn-video:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 12px 28px rgba(0, 183, 255, 0.5) !important;
    gap: 15px !important;
    background: linear-gradient(135deg, #00E5FF, #00B7FF) !important;
  }

  .video-carousel-btn {
    position: absolute !important;
    top: 45% !important;
    transform: translateY(-50%) !important;
    width: 40px !important;
    height: 40px !important;
    background: rgba(0, 0, 0, 0.6) !important;
    backdrop-filter: blur(8px) !important;
    border: 1.5px solid rgba(0, 183, 255, 0.5) !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    z-index: 25 !important;
    color: #00B7FF !important;
  }

  .video-carousel-btn:hover {
    background: rgba(0, 183, 255, 0.3) !important;
    border-color: #00E5FF !important;
    transform: translateY(-50%) scale(1.1) !important;
    box-shadow: 0 0 20px rgba(0, 183, 255, 0.4) !important;
  }

  .video-prev-btn {
    left: 5px !important;
  }

  .video-next-btn {
    right: 5px !important;
  }

  .video-carousel-btn svg {
    width: 20px !important;
    height: 20px !important;
    stroke: currentColor !important;
    stroke-width: 2 !important;
  }

  .video-carousel-dots {
    display: flex !important;
    justify-content: center !important;
    gap: 12px !important;
    margin-top: 25px !important;
  }

  .video-dot {
    width: 8px !important;
    height: 8px !important;
    border-radius: 50% !important;
    background: rgba(0, 183, 255, 0.3) !important;
    border: 1px solid rgba(0, 183, 255, 0.5) !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
  }

  .video-dot:hover {
    background: rgba(0, 183, 255, 0.7) !important;
    transform: scale(1.2) !important;
  }

  .video-dot.active {
    width: 30px !important;
    background: linear-gradient(90deg, #00B7FF, #00E5FF) !important;
    border-radius: 10px !important;
  }

  /* --- PÁGINA CONTACTO - FORMULARIO --- */
  body[data-page="contacto"] .container[style*="display: grid"] {
    display: flex !important;
    flex-direction: column !important;
    gap: 35px !important;
  }

  body[data-page="contacto"] .container[style*="display: grid"] > div:first-child {
    order: 1 !important;
    width: 100% !important;
    padding: 25px 20px !important;
  }

  body[data-page="contacto"] .container[style*="display: grid"] > div:last-child {
    order: 2 !important;
    width: 100% !important;
  }

  body[data-page="contacto"] .glass {
    padding: 25px 20px !important;
  }

  body[data-page="contacto"] input,
  body[data-page="contacto"] textarea {
    font-size: 14px !important;
    padding: 12px !important;
  }

  body[data-page="contacto"] button[type="submit"] {
    font-size: 14px !important;
    padding: 12px !important;
  }

  /* --- FOOTER --- */
  .footer {
    margin-top: 40px !important;
  }

  .footerInner {
    grid-template-columns: 1fr !important;
    gap: 25px !important;
    padding: 30px 0 !important;
    text-align: center !important;
  }

  .footerBrandRow {
    justify-content: center !important;
  }

  .footerCol h4 {
    display: inline-block !important;
  }

  .footerCol h4::after {
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 40px !important;
  }

  .footerLinks {
    align-items: center !important;
  }

  .footerContactList {
    align-items: center !important;
  }

  .footerLine {
    justify-content: center !important;
    flex-wrap: wrap !important;
  }

  .footerBottom {
    flex-direction: column !important;
    text-align: center !important;
    gap: 8px !important;
  }

  /* --- BOTONES FLOTANTES --- */
  .scroll-top-btn {
    width: 42px !important;
    height: 42px !important;
    bottom: 20px !important;
    right: 20px !important;
  }

  .whatsapp-btn {
    width: 48px !important;
    height: 48px !important;
    bottom: 20px !important;
    left: 20px !important;
  }

  .whatsapp-btn img {
    width: 26px !important;
    height: 26px !important;
  }

  /* --- SEARCH MODAL --- */
  .search-modal-content {
    width: 92% !important;
    padding: 25px 20px !important;
  }

  .search-modal-input {
    padding: 12px 18px !important;
    font-size: 14px !important;
  }

  .search-modal-close {
    top: 15px !important;
    right: 15px !important;
    width: 35px !important;
    height: 35px !important;
  }

  /* ========== BOTONES LATERALES DEL CARRUSEL DE MARCAS (index) ========== */
  .side-nav-btn {
    width: 36px !important;
    height: 60px !important;
    font-size: 22px !important;
  }
  .side-nav-left {
    left: 10px !important;
  }
  .side-nav-right {
    right: 10px !important;
  }

  /* Ajuste del texto de descripción de marca en móvil */
  .slide-description {
    font-size: 14px !important;
    max-width: 95% !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  /* Ajuste del logo de marca en móvil */
  .brand-logo {
    max-width: 200px !important;
  }
}

/* ========== PÁGINA DE PRODUCTOS (SOLO EN MÓVIL) ========== */
@media (max-width: 768px) {

  .hero-carousel-container {
    margin-top: 60px;
    overflow: hidden !important;
    width: 100% !important;
  }

  .hero-carousel-slides {
    overflow: hidden !important;
    width: 100% !important;
  }

  .hero-carousel-track {
    display: flex !important;
    transition: transform 0.5s ease-in-out !important;
    will-change: transform !important;
    width: 100% !important;
  }

  .hero-carousel-slide {
    flex: 0 0 100% !important;
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 12px !important;
    padding: 15px 20px 30px !important;
    min-height: auto !important;
  }

  /* Menú de productos - SCROLL HORIZONTAL */
  .product-mini-menu-horizontal {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;
    margin: 0 auto 20px auto !important;
    padding: 0 16px !important;
    width: 100% !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    white-space: nowrap !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: thin !important;
    text-align: center !important;
    background: rgba(0, 0, 0, 0.3) !important;
    backdrop-filter: blur(10px) !important;
    border-radius: 50px !important;
  }

  .product-mini-menu-horizontal::-webkit-scrollbar {
    height: 3px;
  }

  .product-mini-menu-horizontal::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
  }

  .product-mini-menu-horizontal::-webkit-scrollbar-thumb {
    background: #00B7FF;
    border-radius: 3px;
  }

  .mini-menu-list-horizontal {
    display: inline-flex !important;
    gap: 24px !important;
    padding: 10px 16px !important;
    margin: 0 auto !important;
    justify-content: center !important;
  }

  .mini-menu-item-horizontal {
    display: inline-block !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    white-space: nowrap !important;
    padding: 6px 0 !important;
    color: rgba(255, 255, 255, 0.8) !important;
    transition: all 0.3s ease !important;
    position: relative !important;
  }

  .mini-menu-item-horizontal:hover {
    color: #00E5FF !important;
  }

  .mini-menu-item-horizontal.active-mini-horizontal {
    color: #00E5FF !important;
  }

  .mini-menu-item-horizontal.active-mini-horizontal::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #00B7FF, #00E5FF);
    border-radius: 2px;
    animation: slideIn 0.3s ease-out;
  }

  @keyframes slideIn {
    from { width: 0; opacity: 0; }
    to { width: 100%; opacity: 1; }
  }

  .slide-info {
    width: 100% !important;
    max-width: 100% !important;
    text-align: center !important;
    padding-right: 0 !important;
    order: 1 !important;
    margin-bottom: 5px !important;
  }

  .slide-title {
    font-size: 24px !important;
    margin-bottom: 0 !important;
    margin-top: 0 !important;
    line-height: 1.2 !important;
    text-align: center !important;
  }

  .slide-image-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    order: 2 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }

  .product-image-carousel {
    width: 100% !important;
    max-width: 260px !important;
    margin: 0 auto !important;
  }

  .product-image-container {
    width: 100% !important;
    aspect-ratio: 1 / 1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .main-product-image {
    max-width: 100% !important;
    max-height: 190px !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
  }

  .product-thumbnails {
    display: flex !important;
    justify-content: center !important;
    gap: 8px !important;
    margin-top: 10px !important;
    flex-wrap: wrap !important;
  }

  .product-thumb {
    width: 42px !important;
    height: 42px !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    cursor: pointer !important;
    opacity: 0.7 !important;
    transition: all 0.2s ease !important;
    border: 1px solid rgba(0, 183, 255, 0.3) !important;
  }

  .product-thumb img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }

  .product-thumb:hover {
    opacity: 1 !important;
    border-color: #00E5FF !important;
  }

  .product-thumb.active-thumb {
    opacity: 1 !important;
    border-color: #00E5FF !important;
    box-shadow: 0 0 10px rgba(0, 229, 255, 0.3) !important;
  }

  .slide-description {
    width: 100% !important;
    order: 3 !important;
    margin-top: 8px !important;
    margin-bottom: 0 !important;
  }

  .product-specs-list {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 4px 12px !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .product-specs-list li {
    font-size: 11px !important;
    padding: 4px 0 !important;
    text-align: left !important;
    white-space: normal !important;
    word-break: break-word !important;
    line-height: 1.3 !important;
  }

  /* Solo botón COTIZAR (VER FICHA eliminado) */
  .slide-buttons {
    display: flex !important;
    justify-content: center !important;
    gap: 12px !important;
    margin-top: 16px !important;
    flex-wrap: wrap !important;
    order: 4 !important;
    width: 100% !important;
  }

  /* Ocultar botón VER FICHA en móvil por si acaso */
  .btn-secondary-slide {
    display: none !important;
  }

  .btn-slide {
    padding: 8px 18px !important;
    font-size: 11px !important;
    min-width: 110px !important;
    text-align: center !important;
  }

  /* MINIATURAS - SCROLL HORIZONTAL CON MÁRGENES */
  .thumbnails-wrapper {
    margin: 15px 0 25px !important;
    min-height: 90px !important;
    position: relative !important;
    width: 100% !important;
  }

  .hero-carousel-btn {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 28px !important;
    height: 36px !important;
    font-size: 18px !important;
    background: rgba(0, 0, 0, 0.5) !important;
    border-radius: 18px !important;
    border: none !important;
    color: rgba(255, 255, 255, 0.8) !important;
    cursor: pointer !important;
    z-index: 10 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .hero-carousel-btn:hover {
    background: rgba(0, 183, 255, 0.7) !important;
  }

  .hero-prev-btn {
    left: 5px !important;
  }

  .hero-next-btn {
    right: 5px !important;
  }

  .thumbnail-carousel {
    width: 100% !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scrollbar-width: thin !important;
    padding: 8px 0 !important;
  }

  .thumbnail-carousel::-webkit-scrollbar {
    height: 4px;
  }

  .thumbnail-carousel::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
  }

  .thumbnail-carousel::-webkit-scrollbar-thumb {
    background: #00B7FF;
    border-radius: 4px;
  }

  .thumbnail-track {
    display: inline-flex !important;
    gap: 12px !important;
    align-items: center !important;
    padding: 0 15px !important;
  }

  /* Estilo para fibra óptica en móvil - scroll horizontal forzado */
  .thumbnail-track.fibra-layout {
    display: flex !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    white-space: nowrap !important;
    flex-wrap: nowrap !important;
    gap: 12px !important;
    padding-bottom: 8px !important;
    scrollbar-width: thin !important;
  }

  .thumbnail-track.fibra-layout .thumbnail-item {
    flex: 0 0 auto !important;
  }

  .thumbnail-track.fibra-layout::-webkit-scrollbar {
    height: 4px;
  }

  .thumbnail-track.fibra-layout::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
  }

  .thumbnail-track.fibra-layout::-webkit-scrollbar-thumb {
    background: #00B7FF;
    border-radius: 4px;
  }

  .thumbnail-item {
    display: inline-flex !important;
    flex-direction: column !important;
    align-items: center !important;
    min-width: 58px !important;
    cursor: pointer !important;
    opacity: 0.7 !important;
    transition: all 0.2s ease !important;
  }

  .thumbnail-item:hover {
    opacity: 1 !important;
    transform: translateY(-2px) !important;
  }

  .thumbnail-img {
    width: 44px !important;
    height: 44px !important;
    object-fit: contain !important;
  }

  .thumbnail-label {
    font-size: 8px !important;
    max-width: 60px !important;
    margin-top: 4px !important;
    text-align: center !important;
    line-height: 1.2 !important;
    color: rgba(255, 255, 255, 0.7) !important;
  }

  .thumbnail-item.active {
    opacity: 1 !important;
  }

  .thumbnail-item.active .thumbnail-img {
    filter: drop-shadow(0 0 6px rgba(0, 229, 255, 0.4)) !important;
  }

  .thumbnail-item.active .thumbnail-label {
    color: #00E5FF !important;
  }
}

/* ========== MÓVILES PEQUEÑOS (480px y menos) ========== */
@media (max-width: 480px) {

  .hero-carousel-slide {
    padding: 12px 16px 25px !important;
    gap: 8px !important;
  }

  .slide-title {
    font-size: 22px !important;
  }

  .product-image-carousel {
    max-width: 230px !important;
  }

  .main-product-image {
    max-height: 170px !important;
  }

  .product-thumb {
    width: 36px !important;
    height: 36px !important;
  }

  .product-specs-list {
    gap: 3px 10px !important;
  }

  .product-specs-list li {
    font-size: 10px !important;
    padding: 3px 0 !important;
  }

  .btn-slide {
    padding: 7px 14px !important;
    font-size: 10px !important;
    min-width: 95px !important;
  }

  .mini-menu-list-horizontal {
    gap: 16px !important;
  }

  .mini-menu-item-horizontal {
    font-size: 11px !important;
  }

  /* Servicios text grid en móvil pequeño */
  .service-text-item {
    padding: 20px 12px !important;
  }

  .service-icon {
    width: 55px !important;
    height: 55px !important;
    margin-bottom: 15px !important;
  }

  .service-icon svg {
    width: 28px !important;
    height: 28px !important;
  }

  .service-text-item h3 {
    font-size: 16px !important;
  }

  .service-text-item p {
    font-size: 12px !important;
  }

  .service-text-link {
    font-size: 11px !important;
  }

  .thumbnail-item {
    min-width: 52px !important;
  }

  .thumbnail-img {
    width: 38px !important;
    height: 38px !important;
  }

  .thumbnail-label {
    font-size: 7.5px !important;
    max-width: 52px !important;
  }

  /* VIDEOS - AJUSTES FINOS */
  .video-carousel-container {
    padding: 0 15px !important;
  }

  .video-slide {
    gap: 20px !important;
    padding: 15px !important;
  }

  .video-text h3 {
    font-size: 20px !important;
  }

  .video-text p {
    font-size: 12px !important;
  }

  .video-text .video-features li {
    font-size: 11px !important;
  }

  .video-text .btn-video {
    padding: 8px 20px !important;
    font-size: 10px !important;
  }

  .video-carousel-btn {
    width: 36px !important;
    height: 36px !important;
  }

  .video-menu-list-horizontal {
    gap: 16px !important;
  }

  .video-menu-item-horizontal {
    font-size: 11px !important;
  }

  .carousel-slide {
    width: 230px !important;
  }

  .carousel-btn {
    width: 30px !important;
    height: 30px !important;
  }

  .headerSocial .socBtnHeader {
    width: 30px !important;
    height: 30px !important;
  }

  .headerSocial .socBtnHeader svg {
    width: 14px !important;
    height: 14px !important;
  }

  /* Botones laterales marcas en móvil pequeño */
  .side-nav-btn {
    width: 32px !important;
    height: 50px !important;
    font-size: 20px !important;
  }
  .brand-logo {
    max-width: 160px !important;
  }
  .slide-description {
    font-size: 13px !important;
  }
}

/* ========== MÓVILES MUY PEQUEÑOS (375px y menos) ========== */
@media (max-width: 375px) {

  .headerSocial {
    display: none !important;
  }

  .hero-carousel-slide {
    padding: 10px 12px 20px !important;
    gap: 6px !important;
  }

  .slide-title {
    font-size: 20px !important;
  }

  .product-image-carousel {
    max-width: 200px !important;
  }

  .main-product-image {
    max-height: 150px !important;
  }

  .product-thumb {
    width: 32px !important;
    height: 32px !important;
  }

  .product-specs-list {
    gap: 2px 8px !important;
  }

  .product-specs-list li {
    font-size: 9px !important;
    padding: 2px 0 !important;
  }

  .btn-slide {
    padding: 6px 12px !important;
    font-size: 10px !important;
    min-width: 85px !important;
  }

  .mini-menu-list-horizontal {
    gap: 12px !important;
  }

  .mini-menu-item-horizontal {
    font-size: 10px !important;
  }

  .thumbnail-item {
    min-width: 48px !important;
  }

  .thumbnail-img {
    width: 35px !important;
    height: 35px !important;
  }

  .thumbnail-label {
    font-size: 7px !important;
    max-width: 48px !important;
  }

  /* VIDEOS - AJUSTES FINOS */
  .video-carousel-container {
    padding: 0 12px !important;
  }

  .video-slide {
    gap: 15px !important;
    padding: 12px !important;
  }

  .video-text h3 {
    font-size: 18px !important;
  }

  .video-text p {
    font-size: 11px !important;
  }

  .video-text .btn-video {
    padding: 7px 16px !important;
    font-size: 9px !important;
  }

  .video-carousel-btn {
    width: 32px !important;
    height: 32px !important;
  }

  .video-menu-list-horizontal {
    gap: 12px !important;
  }

  .video-menu-item-horizontal {
    font-size: 10px !important;
  }

  .carousel-slide {
    width: 210px !important;
  }

  /* Servicios text grid en móvil muy pequeño */
  .service-text-item {
    padding: 18px 10px !important;
  }

  .service-icon {
    width: 50px !important;
    height: 50px !important;
    margin-bottom: 12px !important;
  }

  .service-icon svg {
    width: 26px !important;
    height: 26px !important;
  }

  /* Botones laterales en móvil muy pequeño */
  .side-nav-btn {
    width: 28px !important;
    height: 44px !important;
    font-size: 18px !important;
  }
  .brand-logo {
    max-width: 140px !important;
  }
  .slide-description {
    font-size: 12px !important;
  }
}

/* ========== ORIENTACIÓN LANDSCAPE (Móviles horizontales) ========== */
@media (max-width: 850px) and (orientation: landscape) {

  .hero-carousel-slide {
    padding: 12px 20px 20px !important;
    gap: 8px !important;
  }

  .slide-title {
    font-size: 20px !important;
  }

  .product-image-carousel {
    max-width: 200px !important;
  }

  .main-product-image {
    max-height: 140px !important;
  }

  .product-specs-list {
    gap: 3px 10px !important;
  }

  .product-specs-list li {
    font-size: 9px !important;
    padding: 2px 0 !important;
  }

  .btn-slide {
    padding: 6px 12px !important;
    font-size: 10px !important;
    min-width: 85px !important;
  }

  .product-mini-menu-horizontal {
    position: absolute !important;
    top: 10% !important;
    left: 20px !important;
    width: auto !important;
    background: rgba(0, 0, 0, 0.4) !important;
    backdrop-filter: blur(8px) !important;
    border-radius: 30px !important;
    z-index: 15 !important;
  }

  /* VIDEOS EN LANDSCAPE */
  .video-slide {
    flex-direction: row !important;
    gap: 20px !important;
    padding: 15px !important;
  }

  .video-content {
    width: 50% !important;
    max-width: 50% !important;
  }

  .video-text {
    width: 50% !important;
    max-width: 50% !important;
    text-align: left !important;
  }

  .video-text h3 {
    text-align: left !important;
    font-size: 18px !important;
  }

  .video-text p {
    text-align: left !important;
    font-size: 11px !important;
  }

  .video-text .video-features li {
    justify-content: flex-start !important;
  }

  .video-carousel-container {
    padding: 0 20px !important;
  }

  /* Miniaturas en landscape */
  .thumbnail-track {
    gap: 10px !important;
  }

  .thumbnail-item {
    min-width: 50px !important;
  }

  .thumbnail-img {
    width: 38px !important;
    height: 38px !important;
  }

  .thumbnail-label {
    font-size: 7px !important;
    max-width: 50px !important;
  }

  /* Botones laterales en landscape */
  .side-nav-btn {
    width: 36px !important;
    height: 60px !important;
    font-size: 22px !important;
  }
  .brand-logo {
    max-width: 180px !important;
  }
  .slide-description {
    font-size: 13px !important;
  }
}

/* ========== UTILIDADES PARA MINIATURAS ========== */
.thumbnail-item.hidden {
  display: none !important;
}

.thumbnail-item.visible {
  display: inline-flex !important;
}

.thumbnail-track.fibra-layout {
  overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap;
  display: flex;
  flex-wrap: nowrap;
  gap: 12px;
  padding-bottom: 8px;
}

.thumbnail-track.fibra-layout .thumbnail-item {
  flex: 0 0 auto;
}

.thumbnail-track.fibra-layout::-webkit-scrollbar {
  height: 6px;
}

.thumbnail-track.fibra-layout::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}

.thumbnail-track.fibra-layout::-webkit-scrollbar-thumb {
  background: #00B7FF;
  border-radius: 4px;
}