/* ============================================= */
/* == INICIO: ESTILOS PARA PRELOADER          == */
/* ============================================= */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #111;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
}

#preloader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.gears-container {
  position: relative;
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
}

.gears-container .fas {
  position: absolute;
  color: #FFCD00;
  text-shadow: 0 0 10px rgba(255, 205, 0, 0.5);
}

.gear-1 {
  font-size: 6rem;
  top: 0;
  left: 0;
  animation: rotate-clockwise 4s linear infinite;
}

.gear-2 {
  font-size: 4rem;
  bottom: -15px;
  right: -10px;
  animation: rotate-counter-clockwise 4s linear infinite;
}

.preloader-text {
  color: #f0f0f0;
  font-size: 1.5rem;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-shadow: 0 0 5px rgba(255, 255, 255, 0.2);
}

@keyframes rotate-clockwise {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes rotate-counter-clockwise {
  from { transform: rotate(0deg); }
  to { transform: rotate(-360deg); }
}
/* =========================================== */
/* == FIN: ESTILOS PARA PRELOADER           == */
/* =========================================== */

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

    body {
      margin: 0;
      padding: 0;
      font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
      background: linear-gradient(135deg, #0c0c0c 0%, #1a1a1a 100%);
      width: 100%;
      min-height: 100vh;
      position: relative;
      overflow-x: hidden;
      color: #f0f0f0; /* Default text color for the body */
    }
    
    /* ===================================================== */
    /* == INICIO: ESTILOS DEL NAVEGADOR (DE NAV.HTML)      == */
    /* ===================================================== */

    :root {
        --primary: #1a1a1a;        /* Dark background from index */
        --secondary: #FFCD00;      /* Gold accent from index */
        --accent: #d37c0b;         /* Darker gold/orange for hover effects */
        --light: #ecf0f1;        /* Light text color */
        --dark: #0c0c0c;          /* Darker background from index */
        --transition: all 0.3s ease;
    }

    /* Estilos del navbar importados y adaptados */
    .navbar {
        position: fixed; /* Changed from relative to fixed to stick to top */
        top: 0;
        left: 0;
        width: 100%;
        background-color:transparent;
        backdrop-filter: blur(10px);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.815);
        padding: 15px 30px;
        z-index: 1000; /* Ensure it's on top */
        overflow: visible;f
        filter: blur(.5px);
         border: 1px solid rgba(255, 255, 255, 0.1);
    }

   .navbar:hover{
      background-color: rgba(49, 34, 1, 0.788);
            box-shadow: 0 4px 30px rgba(255, 208, 0, 0.4);
            
            /* Efecto de iluminación mejorado */
            animation: glow 1.5s ease-in-out infinite alternate;
            border: 1px solid rgba(255, 208, 0, 0.4);
        }
        
        @keyframes glow {
            from {
                box-shadow: 0 4px 20px rgba(255, 229, 116, 0.4),
                            0 0 10px rgba(255, 208, 0, 0.3),
                            inset 0 0 10px rgba(255, 208, 0, 0.2);
            }
            to {
                box-shadow: 0 4px 30px rgb(255, 208, 0),
                            0 0 25px rgba(255, 208, 0, 0.5),
                            inset 0 0 15px rgba(255, 208, 0, 0.3);
            }
        }
    
/* Estilo para la fecha y hora en la parte superior */
#current-datetime {
  font-size: 0.75rem; /* Reduce el tamaño de la fuente (aprox. 12px) */
  color: #aaa; /* Color sutil para que combine con el diseño */
  text-align: center; /* Centra el texto */
  width: 100%;
  position: absolute;
  top: 5px; /* Espacio desde el borde superior */
  left: 0;
  pointer-events: none; /* Evita que interfiera con otros elementos */
  z-index: 1001; /* Se asegura que esté por encima de otros elementos del navbar */
}

#redirect-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(5px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  color: #FFCD00;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  text-align: center;
  animation: fadeIn 0.5s ease-in-out;
}

#redirect-overlay p {
  font-size: 1rem;
  font-weight: 500;
  text-shadow: 0 0 10px rgba(255, 205, 0, 0.5);
  line-height: 1.5;
  padding: 20px;
}

@media (max-width: 768px) {
  #redirect-overlay p {
    font-size: 1rem;
  }
}



    #particles-canvas {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 0;
    }

    .navbar-content {
        display: flex;
        justify-content: space-between;
        align-items: center;
        position: relative;
        z-index: 10;
        max-width: 1400px; /* To align with page content */
        margin: 0 auto;
    }

    .menu-toggle {
        display: none;
        background: transparent;
        border: none;
        color: var(--light);
        font-size: 24px;
        cursor: pointer;
        padding: 10px;
        z-index: 15;
    }

    .logo-container {
        z-index: 10;
        flex-shrink: 0;
    }

    .logo-nav {
        text-decoration: none;
    }

    .lg{
      display: inline-flex;
      margin-top: 200px;
    }

    /* Re-using iframe for logo from original index.html */
    .logo-container .lg2 {
      width: auto;
      height: 30px;
    }

    .nav-links {
        display: flex;
        gap: 10px;
        z-index: 10;
        list-style: none; /* remove bullets if any */

    }

    .nav-links a {
        color: var(--light);
        text-decoration: none;
        padding: 10px 15px;
        border-radius: 6px;
        font-weight: 500;
        transition: var(--transition);
        display: flex;
        align-items: center;
        gap: 8px;
        position: relative;
        font-size: 14px;
    }

    .nav-links a:hover {
        background: rgba(255, 205, 0, 0.1);
        color: var(--secondary);
    }

    .nav-links a::before {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 0;
        height: 2px;
        background: var(--secondary);
        transition: var(--transition);
    }

    .nav-links a:hover::before {
        width: 100%;
    }

    .search-container {
        position: relative;
        z-index: 100;
        width: 300px;
    }

    .search-container input {
        width: 100%;
        padding: 12px 45px 12px 20px;
        border: 2px solid rgba(255, 255, 255, 0.1);
        border-radius: 30px;
        background: rgba(255, 255, 255, 0.1);
        color: var(--light);
        font-size: 16px;
        transition: var(--transition);
        outline: none;
        box-shadow: #000000cc;
    }

    .search-container input:focus {
        border-color: var(--secondary);
        background: rgba(255, 255, 255, 0.15);
        box-shadow: 0 0 10px rgba(255, 205, 0, 0.3);
    }

    .search-container input::placeholder {
        color: rgba(255, 255, 255, 0.6);
    }

    .search-container button {
        position: absolute;
        right: 5px;
        top: 50%;
        transform: translateY(-50%);
        background: var(--secondary);
        border: none;
        border-radius: 50%;
        width: 36px;
        height: 36px;
        color: var(--primary); /* Dark text on gold button */
        cursor: pointer;
        transition: var(--transition);
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .search-container button:hover {
        background: var(--accent);
        transform: translateY(-50%) scale(1.05);
    }

    .search-results {
        position: absolute;
        top: calc(100% + 5px);
        left: 0;
        width: 100%;
        background: rgba(0, 0, 0, 0.945);
        border-radius: 10px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
        max-height: 300px;
        overflow-y: auto;
        display: none;
        z-index: 1000;
        backdrop-filter: blur(5px);
        border: 1px solid rgba(255, 255, 255, 0.1);
    }

    .search-results:hover{
       background: rgba(255, 187, 0, 0.5);
    
    }


    .search-results.active {
        display: block;
    }

    .search-results div {
        padding: 12px 20px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        cursor: pointer;
        transition: var(--transition);
        display: flex;
        align-items: center;
        gap: 10px;
        color: var(--light); /* Text color for results */
    }

    .search-results div:hover {
        background: rgba(255, 205, 0, 0.2);
    }

    .search-results div:last-child {
        border-bottom: none;
    }

    .search-results div i {
        color: var(--secondary);
        width: 20px;
        text-align: center;
    }

    /* Responsive del Navegador */
    @media (max-width: 1200px) {
        .navbar-content {
            flex-wrap: wrap;
        }
        .nav-links {
            width: 100%;
            order: 3;
            margin-top: 20px;
            justify-content: center;
            flex-wrap: wrap;
        }
        .search-container {
            order: 2;
            width: 250px;
        }
        .logo-container {
            order: 1;
        }
    }

    @media (max-width: 992px) {
        .nav-links {
            gap: 5px;
        }
        .nav-links a {
            padding: 8px 12px;
            font-size: 14px;
        }
        .search-container {
            width: 220px;
        }
    }

    @media (max-width: 768px) {
        .menu-toggle {
            display: block;
            order: 1; /* Appears first */
        }
        .logo-container {
            order: 2; /* Appears second */
        }
        .search-container {
            order: 3; /* Appears third */
            width: calc(100% - 150px); /* Adjust width to fit */
            margin-left: 15px;
        }
        .nav-links {
            position: absolute;
            top: 100%;
            left: 0;
            width: 100%;
            background: transparent;
            background:#0000008a;
            filter: blur(.8);
            flex-direction: column;
            align-items: center;
            padding: 20px 0;
            clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
            transition: var(--transition);
            border-radius: 0 0 12px 12px;
            z-index: 50;
            margin-top: 0; /* Reset margin */
        }
        .nav-links.active {
            clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
        }
        .nav-links a {
            width: 90%;
            text-align: center;
            padding: 15px;
            justify-content: center;
        }
    }

    /* == FIN: ESTILOS DEL NAVEGADOR (DE NAV.HTML)        == */
    /* ===================================================== */
    
    /* BARRA LATERAL DE REDES SOCIALES */
    .social-sidebar {
        position: fixed;
        left: 10px;
        top: 38%;
        transform: translateY(-50%);
        display: flex;
        flex-direction: column;
        gap: 20px;
        padding: 20px 15px;
        border-radius: 0 25px 25px 0;
        z-index: 10;
        box-shadow: 0 0 30px rgba(0, 0, 0, 0.6);
        backdrop-filter: blur(8px);
        transition: transform 0.3s ease;
    }
    
    .social-icon {
        width: 30px;
        height: 30px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.2rem;
        color: white;
        text-decoration: none;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
        position: relative;
        z-index: 2;
        opacity: 0;
        transform: translateX(-100px);
        transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    }
    
    .social-icon.animate {
        transform: translateX(0);
        opacity: 1;
    }
    
    .social-icon:hover {
        transform: translateX(8px) scale(1.15);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
    }
    
    .social-icon:hover::after {
        content: attr(data-tooltip);
        position: absolute;
        left: 50px;
        top: 50%;
        transform: translateY(-50%);
        background: rgba(0, 0, 0, 0.85);
        color: white;
        padding: 8px 15px;
        border-radius: 6px;
        font-size: 0.9rem;
        white-space: nowrap;
        z-index: 100;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
        animation: tooltipFade 0.3s ease-out;
    }
    
    @keyframes tooltipFade {
        from {
            opacity: 0;
            transform: translate(-10px, -50%);
        }
        to {
            opacity: 1;
            transform: translate(0, -50%);
        }
    }
     .facebook,  .instagram, .tiktok ,.machinio, .linkedin, .whatsapp { background: linear-gradient(135deg, #ffa600, #d37c0b); }
    
    
     .facebook:hover {
        background: linear-gradient(135deg, #3b5998, #2d4373);
       box-shadow: #03afff,.8px;
       animation-duration: 8s;
       animation-name: slide-in;
      
      }
    
     
    .instagram:hover { background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045); }
    .tiktok:hover  { background: linear-gradient(135deg, #ff7700, #ff5500); }
    .linkedin:hover { background: linear-gradient(135deg, #0077b5, #00a0dc); }
    .whatsapp:hover { background: linear-gradient(135deg, #25d366, #128c7e); }
    
    /* Efecto de partículas para fondo */
    .particles {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 0;
        overflow: hidden;
    }
    
    .particle {
        position: absolute;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.05);
        opacity: 0;
        animation: float 15s infinite linear;
    }
    
    @keyframes float {
        0% {
            transform: translateY(0) translateX(0);
            opacity: 0;
        }
        10% {
            opacity: 0.1;
        }
        90% {
            opacity: 0.05;
        }
        100% {
            transform: translateY(-100vh) translateX(100px);
            opacity: 0;
        }
    }
      
    /* ===================================================== */
    /* == ESTILOS PARA LA BÚSQUEDA GLOBAL CON RESALTADO     == */
    /* ===================================================== */

    .search-highlight {
      background-color: rgba(255, 205, 0, 0.3);
      font-weight: bold;
      color: #FFCD00;
    }
    
    /* Sección de video */
    
.fletes-header h1, .contact-header h1, .laser-header h1 {
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.hero-section {
      position: relative;
      min-height: 100vh;
      display: flex;
      align-items: center;
      justify-content: center;
      overflow: hidden;
      background: #00000080;
    }

    .video-container {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      z-index: -1;
    }

    .local-video-background {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      width: 100%;
      height: 100%;
      min-width: 100%;
      min-height: 100%;
      object-fit: cover;
      opacity: 0;
      transition: opacity 1.5s;
    }

    .local-video-background.active {
      opacity: 1;
    }

    .content-container {
      color: #fff;
      position: relative;
      max-width: 900px;
      padding: 30px;
      text-align: center;
      z-index: 2;
      opacity: 0;
      transform: translateY(60px);
      transition: opacity 1s, transform 1s;
      background: rgba(10, 0, 0, 0.4);
      border-radius: 20px;
      backdrop-filter: blur(5px);
      border: 1px solid rgba(255, 80, 80, 0.3);
      box-shadow: 0 15px 40px rgba(0, 0, 0, 0.7);
      margin: 0 20px;
    }

    .content-container.active {
      opacity: 1;
      transform: translateY(0);
    }

    .section-title {
      font-size: 2.0rem;
      font-weight: 700;
      margin-bottom: 15px;
      text-transform: uppercase;
      letter-spacing: 1px;
      color: #fff;
      position: relative;
      display: inline-block;
      animation: floating 5s ease-in-out infinite;
    }

    .section-title::after {
      content: '';
      position: absolute;
      bottom: -10px;
      left: 50%;
      transform: translateX(-50%);
      width: 100px;
      height: 4px;
      background: #FFCD00;
      border-radius: 2px;
      box-shadow: 0 0 8px rgba(255, 205, 0, 0.7);
    }

    .description {
      font-size: 1.1rem;
      line-height: 1.7;
      max-width: 700px;
      margin: 0 auto 20px;
      font-weight: 300;
    }

    .highlight {
      color: #FFCD00;
      font-weight: 500;
    }

    .features {
      display: flex;
      justify-content: center;
      gap: 20px;
      flex-wrap: wrap;
      margin-top: 20px;
    }

    .feature {
      background: rgba(40, 0, 0, 0.7);
      border-radius: 12px;
      padding: 20px;
      width: 220px;
      transition: all 0.4s;
      backdrop-filter: blur(10px);
      border: 1px solid rgba(255, 205, 0, 0.3);
      box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
      opacity: 0;
      transform: translateY(40px);
    }

    .feature.active {
      opacity: 1;
      transform: translateY(0);
    }

    .feature:hover {
      transform: translateY(-8px);
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 15px rgba(255, 205, 0, 0.5);
      border-color: rgba(255, 205, 0, 0.6);
    }

    .feature-icon {
      font-size: 2.2rem;
      color: #FFCD00;
      margin-bottom: 12px;
    }

    .feature-title {
      font-size: 1.1rem;
      margin-bottom: 10px;
      color: #fff;
      font-weight: 600;
    }

    .feature-divider {
      width: 50px;
      height: 3px;
      background: #FFCD00;
      margin: 0 auto 10px;
      border-radius: 2px;
    }

    .feature p {
      font-size: 0.9rem;
      line-height: 1.5;
      font-weight: 300;
    }

    .years-badge {
      background: linear-gradient(45deg, #FFCD00, #ffaa00);
      color: #1a1a1a;
      display: inline-block;
      padding: 10px 20px;
      border-radius: 30px;
      font-weight: 600;
      font-size: 1.1rem;
      margin: 15px 0;
      box-shadow: 0 5px 15px rgba(255, 205, 0, 0.4);
      animation: pulse 4s infinite;
      opacity: 0;
      transform: scale(0.9);
    }

    .years-badge.active {
      opacity: 1;
      transform: scale(1);
    }

    @keyframes floating {
      0%, 100% { transform: translateY(0); }
      50% { transform: translateY(-10px); }
    }

    @keyframes pulse {
      0% { box-shadow: 0 0 0 0 rgba(255, 205, 0, 0.5); }
      70% { box-shadow: 0 0 0 10px rgba(255, 205, 0, 0); }
      100% { box-shadow: 0 0 0 0 rgba(255, 205, 0, 0); }
    }

    .video-control {
      position: absolute;
      bottom: 15px;
      right: 15px;
      background: rgba(255, 205, 0, 0.2);
      border: 1px solid #FFCD00;
      color: #fff;
      border-radius: 50%;
      width: 40px;
      height: 40px;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      z-index: 10;
      transition: all 0.3s;
    }
    
    .video-control:hover {
      background: rgba(255, 205, 0, 0.3);
      transform: scale(1.05);
    }
    
    @media (max-width: 768px) {
      .section-title {
        font-size: 2.0rem;
      }
      
      .description {
        font-size: 1rem;
        padding: 0 10px;
      }
      
      .feature {
        width: 90%;
        max-width: 280px;
      }
      
      .content-container {
        padding: 20px;
      }
      
      .years-badge {
        font-size: 1rem;
      }
    }

    @media (max-width: 480px) {
      .section-title {
        font-size: 2.0rem;
      }
      
      .years-badge {
        font-size: 0.9rem;
      }
    }

    /* Sección del visor 3D */
    #viewer-section {
      height: 100vh;
      width: 100%;
      position: relative;
      overflow: hidden;
    }
    
    .viewer-overlay {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: url("fondo5.png") 100%;
      z-index: 1;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      text-align: center;
      padding: 0 20px;
    }
    
    .viewer-title {
      font-size: 3.5rem;
      font-weight: bold;
      color: #fff;
      margin-bottom: 20px;
      text-shadow: 0 0 20px rgba(0,0,0,0.8);
    }
    
    .viewer-subtitle {
      font-size: 1.5rem;
      color: #FFCD00;
      max-width: 800px;
      margin-bottom: 40px;
    }
    
    .viewer-btn {
      background: transparent;
      color: #ffffff;
      border: 1px solid #ffffff;
      margin-top:250px;
      padding: 15px 30px;
      border-radius: 30px;
      text-decoration: none;
      font-size: .9rem;
      transition: all 0.3s;
      display: inline-flex;
      align-items: center;
      gap: 10px;
      cursor: pointer; /* Cambiado para indicar que es clickeable */
    }
    
    .viewer-btn:hover {
         border: none;  
      background: #FFCD00;  
      color: #0e0e0e;
      transform: translateY(-5px);
      box-shadow: 0 10px 25px rgba(255, 205, 0, 0.4);
    }
    
.viewer-btn1 {
      background: #FFCD00;
      color: #020202;
       margin-top:20px;
      padding: 15px 30px;
      border-radius: 30px;
      text-decoration: none;
      font-size: .9rem;
      transition: all 0.3s;
      display: inline-flex;
      align-items: center;
      gap: 10px;
      cursor: pointer; /* Cambiado para indicar que es clickeable */
    }
    
    .viewer-btn1:hover {
         border: none;  
      background: transparent;  
      color: #ffffff;
      transform: translateY(-5px);
      box-shadow: 0 10px 25px rgba(255, 205, 0, 0.4);
         border: 1px solid #ffffff;
    }
    



    /* Efecto de partículas */
    .particles {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      z-index: -1;
      pointer-events: none;
    }
    
    /* .particle se definió antes, no es necesario re-declarar */
    
    .container {
      max-width: 1400px;
      width: 90%;
      background: rgba(20, 20, 20, 0.85);
      border-radius: 12px;
      box-shadow: 0 8px 25px rgba(0, 0, 0, 0.7);
      overflow: hidden;
      padding: 30px;
      border: 2px solid #555;
      position: relative;
      backdrop-filter: blur(5px);
      margin: 40px auto;
      display: grid;
      grid-template-columns: 1fr 3fr 1fr;
      gap: 30px;
    }
    
    header {
      grid-column: 1 / -1;
      text-align: center;
      margin-bottom: 20px;
      padding-bottom: 15px;
      border-bottom: 2px solid #000000;
      transform: translateY(-40px);
      opacity: 0;
      animation: slideDown 4s forwards 0.5s;
    }
    
    .logo {
      justify-content: center;
      color: #f0f0f0;
      margin-bottom: 15px;
      letter-spacing: 1px;
      text-transform: uppercase;
      text-shadow: 0 0 8px rgba(255, 200, 0, 0.7);
    }
    
    .logo-line {
      justify-content: center;
      display: block;
      margin: 4px 0;
    }
    
    .logo-line-1 {
      color: #FFCD00;
      font-size: 1.8rem;
      font-weight: bold;
    }
    
    .logo-line-2 {
      font-size: 1rem;
      color: #aaa;
    }
    
    .subtitle {
      color: #aaa;
      font-size: 1.1rem;
      max-width: 700px;
      margin: 0 auto;
      line-height: 1.5;
    }
    
    /* Nuevos elementos laterales */
    .side-panel {
      background: rgba(30, 30, 30, 0.9);
      border-radius: 10px;
      padding: 20px;
      box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
      border: 1px solid #444;
      backdrop-filter: blur(3px);
    }
    
    .side-panel h2 {
      color: #FFCD00;
      border-bottom: 2px solid #FFCD00;
      padding-bottom: 10px;
      margin-top: 0;
      font-size: 1.3rem;
    }
    
    .contact-info {
      margin-top: 20px;
    }
    
    .contact-item {
      display: flex;
      align-items: center;
      margin-bottom: 15px;
      font-size: 0.9rem;
      color: #ccc;
    }
    
    .contact-item i {
      color: #FFCD00;
      margin-right: 10px;
      font-size: 1.2rem;
      width: 25px;
    }
    
    .features-list {
      list-style: none;
      padding: 0;
    }
    
    .features-list li {
      padding: 12px 0;
      border-bottom: 1px solid #333;
      color: #ddd;
      display: flex;
      align-items: center;
    }
    
    .features-list li:before {
      content: "✓";
      color: #FFCD00;
      font-weight: bold;
      margin-right: 10px;
      font-size: 1.2rem;
    }
    
    .gallery-container {
      display: flex;
      flex-direction: column;
    }
    
    .gallery {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 20px;
      margin-top: 25px;
    }
    
    .machine-card {
      background: #2a2a2a;
      border-radius: 8px;
      overflow: hidden;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
      transition: all 0.6s ease;
      border: 1px solid #444;
      position: relative;
      opacity: 0;
      transform: translateY(40px);
      animation: fadeInUp 0.8s forwards;
      transition: transform 0.5s ease, opacity 0.5s ease;
      will-change: transform, opacity;
      perspective: 800px;
      transform-style: preserve-3d;
    }
    
    .machine-card:nth-child(1) { animation-delay: 0.7s; }
    .machine-card:nth-child(2) { animation-delay: 0.9s; }
    .machine-card:nth-child(3) { animation-delay: 1.1s; }
    .machine-card:nth-child(4) { animation-delay: 1.3s; }
    .machine-card:nth-child(5) { animation-delay: 1.5s; }
    .machine-card:nth-child(6) { animation-delay: 1.7s; }
    .machine-card:nth-child(7) { animation-delay: 1.9s; }
    .machine-card:nth-child(8) { animation-delay: 2.1s; }
    .machine-card:nth-child(9) { animation-delay: 2.3s; }
    .machine-card:nth-child(10) { animation-delay: 2.5s; }
    .machine-card:nth-child(11) { animation-delay: 2.7s; }
    .machine-card:nth-child(12) { animation-delay: 2.9s; }
    
    /* Efecto hover avanzado */
    .machine-card:hover {
      box-shadow: 0 0 25px rgba(255, 200, 0, 0.6);
      border-color: #FFCD00;
      transform: translateY(-10px);
    }
    
    .machine-card:hover .machine-overlay {
      background: linear-gradient(to top, rgba(0,0,0,0.95), transparent);
    }
    
    .machine-card:hover .machine-title {
      transform: translateY(-4px);
      text-shadow: 0 0 12px rgba(255, 205, 0, 0.8);
    }
    
    .machine-card:hover .machine-image {
      transform: scale(1.04);
    }
    
    .machine-card:hover .spec-value {
      color: #fff;
      text-shadow: 0 0 8px rgba(255, 205, 0, 0.8);
    }
    
    .machine-card:hover .spec-label {
      color: #fff;
    }
    
    .machine-card:hover .btn-details {
      background: #fff;
      color: #1a1a1a;
      box-shadow: 0 0 12px rgba(255, 205, 0, 0.6);
    }
    
    .machine-card:hover .btn-quote {
      background: rgba(255, 205, 0, 0.2);
      border-color: #fff;
      color: #fff;
    }
    
    .machine-image {
      height: 160px;
      background-size: cover;
      background-position: center;
      position: relative;
      transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
      transform: translateY(0);
      will-change: transform;
    }
    
    .machine-overlay {
      position: absolute;
      bottom: 0;
      left: 0;
      right: 0;
      background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
      padding: 12px;
      color: white;
      transition: all 0.4s ease;
    }
    
    .machine-title {
      font-size: .8rem;
      font-weight: bold;
      color: #ffffff;
      margin-bottom: 4px;
      transition: all 0.3s ease;
    }
    
    .machine-type {
      font-size: 0.75rem;
      color: #bbb;
      transition: all 0.3s ease;
    }
    
    .machine-info {
      padding: 15px;
    }
    
    .machine-specs {
      display: flex;
      justify-content: space-between;
      margin-bottom: 12px;
      border-bottom: 1px solid #444;
      padding-bottom: 8px;
    }
    
    .spec {
      text-align: center;
      transition: all 0.3s ease;
    }
    
    .spec-value {
      font-size: 0.95rem;
      font-weight: bold;
      color: #FFCD00;
      transition: all 0.3s ease;
    }
    
    .spec-label {
      font-size: 0.7rem;
      color: #999;
      transition: all 0.3s ease;
    }
    
    .machine-desc {
      color: #ccc;
      font-size: 0.8rem;
      line-height: 1.4;
      margin-bottom: 12px;
      transition: all 0.3s ease;
    }
    
    .machine-buttons {
      display: flex;
      justify-content: space-between;
    }
    
    .btn {
      padding: 6px 12px;
      border-radius: 4px;
      border: none;
      font-weight: bold;
      cursor: pointer;
      transition: all 0.3s ease;
      display: flex;
      align-items: center;
      gap: 6px;
      font-size: 0.8rem;
    }
    
    .btn-details {
      background: #FFCD00;
      color: #1a1a1a;
      transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    }
    
    .btn-details:hover {
      background: #fff;
      transform: scale(1.04);
      box-shadow: 0 0 12px rgba(255, 205, 0, 0.8);
    }
    
    .btn-quote {
      background: transparent;
      border: 1px solid #FFCD00;
      color: #FFCD00;
      transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    }
    
    .btn-quote:hover {
      background: rgba(255, 205, 0, 0.2);
      transform: scale(1.04);
      border-color: #fff;
      color: #fff;
    }
    
    .features-main {
      grid-column: 1 / -1;
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 20px;
      margin-top: 30px;
      padding-top: 25px;
      border-top: 2px solid #444;
      transform: translateY(40px);
      opacity: 0;
      animation: fadeInUp 1s forwards 3.5s;
    }
    
    .feature-card {
      background: #2a2a2a;
      border-radius: 8px;
      padding: 20px;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
      transition: all 0.3s ease;
      border-left: 3px solid #FFCD00;
      position: relative;
      overflow: hidden;
    }
    
    .feature-card:hover {
      transform: translateY(-4px);
      box-shadow: 0 8px 20px rgba(255, 200, 0, 0.2);
    }
    
    .feature-card:hover .feature-icon-main {
      transform: scale(1.15);
    }
    
    .feature-icon-main {
      font-size: 1.0rem;
      color: #FFCD00;
      margin-bottom: 15px;
      animation: pulse 2s infinite;
      transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    }
    
    .feature-title-main {
      font-size: 1.1rem;
      color: #f0f0f0;
      margin-bottom: 12px;
      transition: all 0.3s ease;
    }
    
    .feature-desc-main {
      color: #aaa;
      font-size: 0.8rem;
      line-height: 1.6;
      transition: all 0.3s ease; scale(1.05)
    }
    
    /* Modal de detalles de Maquina */
    .modal {
      color: #ffffff;
      display: none;
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.699);
      z-index: 1000;
      overflow-y: auto;
      padding: 8px;
      animation: fadeIn 1s forwards;
    }
    
    .modal-content {
      background: #1a1a1a;
      max-width: 700px;
      margin: 30px auto;
      border-radius: 12px;
      overflow: hidden;
      border: 2px solid #FFCD00;
      box-shadow: 0 0 35px rgba(255, 205, 0, 0.3);
      position: relative;
      animation: slideUp 0.6s forwards;
      font-size: 0.7rem;
    }
    
    .close-btn {
      position: absolute;
      top: 15px;
      right: 15px;
      background: #FFCD00;
      color: #1a1a1a;
      width: 35px;
      height: 35px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.3rem;
      cursor: pointer;
      z-index: 10;
      transition: all 0.3s ease;
    }
    
    .close-btn:hover {
      transform: scale(1.05);
      background: #e6b800;
    }
    
    .modal-header {
      height: 280px;
      background-size: cover;
      background-position: center;
      position: relative;
    }
    
    .modal-overlay {
      position: absolute;
      bottom: 0;
      left: 0;
      right: 0;
      background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
      padding: 10px;
      color: white;
    }
    
    .modal-title {
      font-size: 1.2rem;
      color: #FFCD00;
      margin-bottom: 8px;
    }
    
    .modal-subtitle {
      font-size: .8rem;
      color: #bbb;
    }
    
    .modal-body {
      padding: 5px;
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 2px;
    }
    
    .modal-specs {
      background: #222;
      padding: 10px;
      border-radius: 8px;
      border-left: 3px solid #FFCD00;
    }
    
    .spec-group {
      margin-bottom: 15px;
    }
    
    .spec-group-title {
      font-size: 1.0rem;
      color: #FFCD00;
      margin-bottom: 12px;
      padding-bottom: 6px;
      border-bottom: 1px solid #444;
    }
    
    .spec-item {
      display: flex;
      justify-content: space-between;
      padding: 6px 0;
      border-bottom: 1px solid #333;
    }
    
    .spec-name {
      color: #ffffff;
    }
    
    .spec-value-modal {
      color: #FFCD00;
      font-weight: bold;
    }
    
    .modal-desc {
      color: #ccc;
      line-height: 1.7;
      margin-bottom: 20px;
      font-size: 0.9rem;
    }
    
    .modal-features {
      background: #222;
      padding: 15px;
      border-radius: 8px;
      border-left: 3px solid #FFCD00;
    }
    
    .feature-list {
      list-style: none;
    }
    
    .feature-list li {
      padding: 8px 0;
      border-bottom: 1px solid #333;
      display: flex;
      align-items: center;
      font-size: 0.9rem;
    }
    
    .feature-list li:before {
      content: "✓";
      color: #FFCD00;
      font-weight: bold;
      margin-right: 8px;
    }
    
    .modal-footer {
      padding: 15px 25px;
      background: #222;
      display: flex;
      justify-content: flex-end;
    }
    
    /* Formulario de cotización */
    .quote-form {
      display: none;
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0,0,0,0.9);
      z-index: 1000;
      overflow-y: auto;
      padding: 15px;
      animation: fadeIn 0.5s forwards;
    }
    
    .form-container {
      background: #1a1a1a;
      max-width: 500px;
      margin: 30px auto;
      border-radius: 12px;
      overflow: hidden;
      border: 2px solid #FFCD00;
      box-shadow: 0 0 35px rgba(255, 205, 0, 0.3);
      position: relative;
      animation: slideUp 0.6s forwards;
    }
    
    .form-header {
      background: #FFCD00;
      padding: 20px;
      text-align: center;
    }
    
    .form-title {
      font-size: 1.5rem;
      color: #1a1a1a;
      margin-bottom: 8px;
    }
    
    .form-subtitle {
      color: #333;
      font-size: 0.95rem;
    }
    
    .form-body {
      padding: 25px;
    }
    
    .form-group {
      margin-bottom: 15px;
    }
    
    .form-label {
      display: block;
      margin-bottom: 6px;
      color: #FFCD00;
      font-weight: bold;
      font-size: 0.9rem;
    }
    
    .form-input {
      width: 100%;
      padding: 12px 15px;
      background: #222;
      border: 1px solid #444;
      color: #fff;
      font-size: 0.9rem;
    }
    
    .form-input:focus {
      border-color: #FFCD00;
      outline: none;
      box-shadow: 0 0 0 2px rgba(255, 205, 0, 0.3);
    }
    
    .form-textarea {
      min-height: 100px;
      resize: vertical;
    }
    
    .form-actions {
      display: flex;
      justify-content: space-between;
      margin-top: 25px;
    }
    
    .btn-submit {
      background: #FFCD00;
      color: #1a1a1a;
      padding: 10px 25px;
      font-weight: bold;
      border: none;
      border-radius: 6px;
      cursor: pointer;
      transition: all 0.3s ease;
      font-size: 0.95rem;
    }
    
    .btn-submit:hover {
      background: #e6b800;
      transform: scale(1.04);
    }
    
    .btn-cancel {
      background: #333;
      color: #ccc;
      padding: 10px 25px;
      font-weight: bold;
      border: none;
      border-radius: 6px;
      cursor: pointer;
      transition: all 0.3s ease;
      font-size: 0.95rem;
    }
    
    .btn-cancel:hover {
      background: #444;
      color: #fff;
    }
