:root {
    --yellow: #FFCD00;
    --black: #000000;
    --dark-gray: #1a1a1a;
    --light-gray: #dcdcdc;
    --gray-metal: #3f3f3f;
    --white: #ffffff;
    --font-main: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --transition-speed: 0.3s;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    background-color: var(--black);
    color: var(--white);
    line-height: 1.6;
    padding: 0;
    margin: 0;
    overflow-x: hidden;
}

/* HEADER OPTIMIZADO */
.main-header {
    background-color: var(--black);
    border-bottom: 4px solid var(--yellow);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.8);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0.5rem 0;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1.5rem;
}

/* LOGO - Alineado a la izquierda */
.logo {
    flex-shrink: 0;
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo img {
    height: 50px;
    /* Corrección: width debe ser 200px o el valor deseado */
    width: 200px; 
    display: block;
}

.logo-text {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--yellow);
    margin-left: 12px;
    letter-spacing: 1px;
}

/* NAVEGACIÓN PRINCIPAL - Alineada a la derecha */
.nav {
    display: flex;
    justify-content: flex-end;
    flex-grow: 1;
    /* Asegurar que la NAV tenga un Z-index suficiente, si es escritorio, es 10 */
    z-index: 10; 
}

.nav ul {
    list-style: none;
    display: flex;
    gap: 0.8rem;
    align-items: center;
}

.nav>ul>li>a {
    color: var(--light-gray);
    text-decoration: none;
    font-weight: 600;
    padding: 0.7rem 1.2rem;
    border-radius: 5px;
    transition: all var(--transition-speed) ease;
    display: inline-block;
    position: relative;
    white-space: nowrap;
}

.nav>ul>li>a:hover {
    color: var(--black);
    background: var(--yellow);
    box-shadow: 0 0 10px var(--yellow), 0 0 20px var(--yellow);
    transform: translateY(-2px);
}

/* ---------------------------------------------------- */
/* DROPDOWN MEJORADO: ESTILO DE LISTA VERTICAL LIMPIA */
/* ---------------------------------------------------- */

.dropdown {
    position: relative;
}

.dropdown-menu {
    /* POSICIONAMIENTO Y APARIENCIA */
    position: absolute;
    top: 100%;
    left: 50%; /* Centra el menú */
    
    /* CONTROL DE VISIBILIDAD (Importante) */
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(10px); /* Centra y oculta */
    transition: all var(--transition-speed) ease;
    z-index: 1001; /* CRUCIAL: Se muestra sobre los otros enlaces */
    
    /* ESTILOS VISUALES */
    background-color: var(--white); 
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4); 
    border: 1px solid var(--light-gray); 
    border-radius: 4px;
    padding: 0; 
    min-width: 280px; 
}

/* ÍTEMS DE LA LISTA INTERNA */
.dropdown-menu li {
    padding: 0; 
    width: 100%;
}

.dropdown-menu li a {
    /* ESTILOS DEL ENLACE: Asegura formato de lista vertical */
    display: block; 
    width: 100%;
    text-align: left;
    white-space: nowrap; 
    
    background: var(--white); 
    color: var(--dark-gray); 
    font-weight: 500;
    
    padding: 8px 14px; 
    transition: all 0.2s ease;
    border-bottom: 1px solid var(--light-gray); /* Separador sutil */
}

/* EFECTO HOVER */
.dropdown-menu li a:hover {
    background-color: var(--light-gray); 
    color: var(--black);
    
    /* Línea amarilla de enfoque */
    border-left: 5px solid var(--yellow); 
    padding-left: 13px; /* Compensa el padding por el borde izquierdo */
}

/* Eliminar el borde inferior del último elemento */
.dropdown-menu li:last-child a {
    border-bottom: none;
}

/* MOSTRAR dropdown al pasar el cursor (escritorio) */
.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* ---------------------------------------------------- */
/* MENÚ HAMBURGUESA (Móvil) - Estilos para Escritorio/Tablet */
/* ---------------------------------------------------- */

.menu-toggle {
    display: none; /* Oculto en escritorio */
    flex-direction: column;
    justify-content: space-around;
    width: 2rem;
    height: 2rem;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.menu-toggle span {
    width: 2rem;
    height: 0.25rem;
    background: var(--yellow);
    border-radius: 10px;
    transition: all 0.3s linear;
    position: relative;
    transform-origin: 1px;
}

/* ---------------------------------------------------- */
/* MEDIA QUERY PARA MÓVILES (Menú Hamburguesa Activo) */
/* ---------------------------------------------------- */

@media (max-width: 900px) { /* Ajusta 900px al punto donde quieres que aparezca el menú móvil */
    /* LOGO */
    .header-container {
        justify-content: space-between;
    }

    /* MENÚ HAMBURGUESA: Mostrar */
    .menu-toggle {
        display: flex;
    }

    /* NAVEGACIÓN PRINCIPAL: Ocultar y preparar para menú lateral */
    .nav {
        /* Fija el menú lateralmente */
        position: fixed;
        top: 60px; /* Debajo del header */
        right: 0;
        height: calc(100vh - 60px); /* Altura completa de la ventana menos el header */
        width: 70%; /* Ancho del menú lateral (ej. 70% de la pantalla) */
        max-width: 300px;
        background-color: var(--dark-gray);
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.5);
        
        /* Ocultar por defecto */
        transform: translateX(100%);
        transition: transform 0.3s ease-in-out;
        z-index: 999; 
    }

    /* MOSTRAR MENÚ MÓVIL (activado por JavaScript) */
    .nav.active {
        transform: translateX(0);
    }

    /* Estilos de la lista del menú móvil */
    .nav ul {
        flex-direction: column;
        align-items: flex-start;
        /*padding: 1rem;*/
        width: 100%;
    }

    .nav > ul > li {
        width: 100%;
        margin-bottom: 0.5rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .nav > ul > li:last-child {
        border-bottom: none;
    }

    .nav > ul > li > a {
        display: block;
        width: 100%;
        padding: 1rem 0;
        text-align: left;
        border-radius: 0;
        background: transparent;
    }

    .nav > ul > li > a:hover {
        background-color: var(--gray-metal);
        transform: none;
    }

    /* MENÚ DROPDOWN EN MÓVIL (necesita JavaScript para la clase .active) */
    .dropdown {
        width: 100%;
        margin-bottom: 0;
    }

    .dropdown-menu {
        /* Resetear estilos de escritorio */
        position: static; /* Dentro del flujo */
        opacity: 1; /* Siempre visible cuando está abierto */
        visibility: visible;
        transform: none;
        
        /* Estilos de apariencia móvil */
        background-color: var(--gray-metal);
        border: none;
        border-radius: 0;
        box-shadow: none;
        max-height: 0; /* Ocultar submenú por defecto */
        overflow: hidden;
        transition: max-height 0.3s ease-in-out;
        min-width: 100%;
    }
    
    /* Mostrar submenú cuando el JS añade la clase .active al .dropdown */
    .dropdown.active .dropdown-menu {
        max-height: 400px; /* Valor suficiente para que se muestre todo */
        padding-bottom: 0.5rem;
    }
    
    .dropdown-menu li a {
        padding: 0.5rem 1rem 0.5rem 2rem; /* Indentación para subenlaces */
        background-color: transparent;
        border-bottom: none;
    }
}
    /* CARRUSEL HERO - MODIFICADO PARA TEXTO A LA DERECHA */
    .hero-carousel {
      position: relative;
      height: 80vh;
      min-height: 500px;
      overflow: hidden;
      margin-top: 0 !important;
    }

    .carousel-slides {
      position: relative;
      width: 100%;
      height: 100%;
    }

    .carousel-slide {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      opacity: 0;
      transition: opacity 1s ease;
      background-size: cover;
      background-repeat: no-repeat;
      background-position: center center;
      display: flex;
      align-items: center;
      justify-content: flex-end;
      /* Cambiado a flex-end para alinear a la derecha */
      text-align: right;
      /* Texto alineado a la derecha */
      padding: 0 5%;
    }

    .carousel-slide.active {
      opacity: 1;
      z-index: 1;
    }

    /* Contenedor de contenido a la derecha */
    .slide-content {
      max-width: 600px;
      text-align: right;
      padding: 2rem;
      border-radius: 8px;
      margin-right: 2rem;
    }

    .slide-title {
      font-size: 2.5rem;
      font-weight: bold;
      margin-bottom: 1rem;
      color: var(--white);
      text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    }

    .slide-description {
      font-size: 1.2rem;
      margin-bottom: 1.5rem;
      line-height: 1.6;
    }

    /* Contenedor para botón en esquina inferior derecha */
    .btn-container {
      margin-top: 2rem;
      text-align: right;
    }


    .btn-minimal {
      display: inline-block;
      background: var(--yellow);
      color: var(--black);
      padding: 0.8rem 1.5rem;
      border: none;
      border-radius: 4px;
      font-weight: bold;
      text-decoration: none;
      transition: all 0.3s ease;
      box-shadow: none !important;
      font-size: 1rem;
      cursor: pointer;
    }

    .btn-minimal:hover {
      background: #e6b800;
      transform: translateY(-2px);
      box-shadow: none !important;
    }

    /* Indicadores del carrusel - POSICIÓN MÁS ARRIBA */
    .carousel-indicators {
      position: absolute;
      bottom: 30px;
      left: 50%;
      transform: translateX(-50%);
      z-index: 10;
      display: flex;
      gap: 15px;
    }

    .carousel-indicator {
      width: 16px;
      height: 16px;
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.5);
      cursor: pointer;
      transition: all 0.3s ease;
    }

    .carousel-indicator.active {
      background: var(--yellow);
      transform: scale(1.2);
    }

    /* Efecto de superposición para mejor contraste */
    .carousel-overlay {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      z-index: 2;
      background: linear-gradient(to left,
          rgba(0, 0, 0, 0.7) 0%,
          rgba(0, 0, 0, 0.3) 30%,
          rgba(0, 0, 0, 0.1) 70%,
          rgba(0, 0, 0, 0.1) 100%);
      pointer-events: none;
    }

    /* Flechas de navegación */
    .carousel-control {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      background: rgba(0, 0, 0, 0.5);
      color: var(--white);
      border: none;
      width: 50px;
      height: 50px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      z-index: 10;
      transition: all 0.3s ease;
    }

    .carousel-control:hover {
      background: var(--yellow);
      color: var(--black);
    }

    .carousel-control.prev {
      left: 20px;
    }

    .carousel-control.next {
      right: 20px;
    }

    /* RESPONSIVE */
    @media (max-width: 900px) {
      .nav>ul {
        gap: 0.5rem;
      }

      .nav>ul>li>a {
        padding: 0.6rem 0.8rem;
        font-size: 0.9rem;
      }

      .slide-content {
        max-width: 80%;
        margin-right: 1rem;
        padding: 1.5rem;
      }

      .slide-title {
        font-size: 2rem;
      }
    }

    @media (max-width: 768px) {
      .header-container {
        padding: 0 1rem;
      }

      .menu-toggle {
        display: flex;
      }

      .nav {
        position: fixed;
        top: 0;
        left: 100%;
        width: 70%;
        height: 100vh;
        background: var(--black);
        flex-direction: column;
        /*padding: 5rem 2rem 2rem;*/
        transition: left 0.3s ease;
        z-index: 999;
        justify-content: flex-start;
      transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
      }

      .nav.active {
        left: 0;
      }

      .nav ul {
        flex-direction: column;
        gap: 1.5rem;
        width: 100%;
      }

      .nav>ul>li>a {
        width: 100%;
        text-align: center;
        padding: 1rem;
      }

      .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
        margin: 0.5rem 0 0 0;
        width: 100%;
      }

      .dropdown.active .dropdown-menu {
        display: block;
      }

      .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg);
      }

      .menu-toggle.active span:nth-child(2) {
        opacity: 0;
      }

      .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg);
      }

      .logo-text {
        font-size: 1.5rem;
      }

      /* Para tablets */
      .hero-carousel {
        height: 80vh;
        min-height: 400px;
      }

      .carousel-slide {
        background-position: center center;
        background-size: cover;
        background-color: var(--black);
        justify-content: center;
        padding: 0 1rem;
      }

      .slide-content {
        max-width: 100%;
        margin-right: 0;
        text-align: center;
        padding: 1.5rem;
      }

      .btn-container {
        text-align: center;
      }

      .carousel-indicators {
        bottom: 20px;
      }

      .btn-minimal {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
      }

      /* Ocultar dropdown en hover en móviles */
      .dropdown:hover .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
      }

      .dropdown.active:hover .dropdown-menu {
        display: block;
      }

      .carousel-control {
        width: 40px;
        height: 40px;
      }
    }

    @media (max-width: 480px) {
      .logo img {
        height: 40px;
      }

      .logo-text {
        font-size: 1.3rem;
        margin-left: 8px;
      }

      .hero-carousel {
        height: 60vh;
        min-height: 350px;
      }

      .carousel-slide {
        background-position: center center;
        background-size: cover;
        background-color: var(--black);
      }

      .slide-title {
        font-size: 1.8rem;
      }

      .slide-description {
        font-size: 1rem;
      }

      .carousel-indicators {
        bottom: 15px;
        gap: 10px;
      }

      .carousel-indicator {
        width: 12px;
        height: 12px;
      }

      .btn-minimal {
        padding: 0.5rem 0.8rem;
        font-size: 0.8rem;
        background: rgba(255, 205, 0, 0.9);
      }

      .carousel-control {
        width: 35px;
        height: 35px;
        top: 40%;
      }

      .services-container {
        flex-direction: column;
        align-items: center;
      }

      .service-card {
        width: 320px;
        height: 380px;
      }
    }

    @media (max-width: 480px) {
      .logo img {
        height: 40px;
      }

    }


    /* SECCIÓN DE SERVICIOS - MEJORADA */
    .services-section {
      padding: 3rem 1rem;
      /* REDUCIDO de 5rem 2rem */
      background: linear-gradient(135deg, var(--dark-gray) 0%, var(--black) 100%);
      position: relative;
      overflow: hidden;
      min-height: auto;
      /* CAMBIADO de 100vh a auto */
    }

    .services-section::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23FFCD00" opacity="0.05"/><circle cx="75" cy="75" r="1" fill="%23FFCD00" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
      opacity: 0.1;
      z-index: 0;
    }

    .services-container {
      max-width: 1400px;
      margin: 0 auto;
      position: relative;
      z-index: 1;
    }

    .section-header {
      text-align: center;
      margin-bottom: 3rem;
      /* REDUCIDO de 4rem */
    }

    .section-title {
      font-size: 3rem;
      font-weight: 800;
      color: var(--yellow);
      margin-bottom: 1rem;
      position: relative;
      display: inline-block;

    }

    .section-title::after {
      content: '';
      position: absolute;
      bottom: -10px;
      left: 50%;
      transform: translateX(-50%);
      width: 80px;
      height: 4px;
      background: linear-gradient(90deg, transparent, var(--yellow), transparent);
    }

    .section-subtitle {
      font-size: 1.2rem;
      color: var(--light-gray);
      max-width: 800px;
      margin: 0 auto;
      line-height: 1.8;
    }

    /* GRID DE SERVICIOS */
    .services-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
      gap: 2.5rem;
      margin-top: 3rem;
    }

    /* TARJETAS DE SERVICIOS MEJORADAS */
    .service-card {
      background: linear-gradient(145deg, var(--gray-metal), var(--black));
      border-radius: 20px;
      overflow: hidden;
      position: relative;
      transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
      border: 1px solid rgba(255, 205, 0, 0.1);
      cursor: pointer;
      min-height: 480px;
      /* REDUCIDO de 500px */
    }

    .service-card::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: linear-gradient(45deg, transparent 0%, rgba(255, 205, 0, 0.05) 50%, transparent 100%);
      opacity: 0;
      transition: opacity 0.4s ease;
      z-index: 1;
    }

    .service-card:hover::before {
      opacity: 1;
    }

    .service-card:hover {
      transform: translateY(-15px) scale(1.02);
      box-shadow: 0 25px 50px rgba(255, 205, 0, 0.2), 0 0 50px rgba(255, 205, 0, 0.1);
      border-color: var(--yellow);
    }

    /* HEADER DE LA TARJETA */
    .service-header {
      padding: 2.5rem 2rem 1.5rem;
      text-align: center;
      position: relative;
      z-index: 2;
    }

    .service-icon {
      width: 100px;
      height: 100px;
      margin: 0 auto 1.5rem;
      background: linear-gradient(135deg, var(--yellow) 0%, #e6b800 100%);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 3rem;
      color: var(--black);
      box-shadow: 0 10px 30px rgba(255, 205, 0, 0.3);
      transition: all 0.3s ease;
      position: relative;
    }

    .service-icon::after {
      content: '';
      position: absolute;
      width: 120%;
      height: 120%;
      border: 2px solid rgba(255, 205, 0, 0.3);
      border-radius: 50%;
      animation: pulse 2s ease-in-out infinite;
    }

    @keyframes pulse {
      0% {
        transform: scale(1);
        opacity: 1;
      }

      100% {
        transform: scale(1.2);
        opacity: 0;
      }
    }

    .service-card:hover .service-icon {
      transform: scale(1.1) rotate(5deg);
      box-shadow: 0 15px 40px rgba(255, 205, 0, 0.4);
    }

    .service-title {
      font-size: 1.8rem;
      font-weight: 700;
      color: var(--white);
      margin-bottom: 0.5rem;
    }

    .service-subtitle {
      font-size: 1rem;
      color: var(--yellow);
      text-transform: uppercase;
      letter-spacing: 1px;
      font-weight: 600;
    }

    /* CONTENIDO DE LA TARJETA */
    .service-content {
      padding: 0 2rem 2rem;
      position: relative;
      z-index: 2;
    }

    .service-description {
      color: var(--light-gray);
      font-size: 1.1rem;
      line-height: 1.7;
      margin-bottom: 2rem;
    }

    .service-features {
      list-style: none;
      margin-bottom: 2rem;
    }

    .service-features li {
      padding: 0.8rem 0;
      border-bottom: 1px solid rgba(255, 255, 255, 0.1);
      display: flex;
      align-items: center;
      transition: all 0.3s ease;
    }

    .service-features li:hover {
      color: var(--yellow);
      padding-left: 10px;
    }

    .service-features i {
      color: var(--yellow);
      margin-right: 1rem;
      font-size: 1.2rem;
      width: 20px;
    }

    .icon-space {
      margin-right: 8px;
    }

    .service-cta {
      width: 100%;
      padding: 1rem 2rem;
      background: linear-gradient(135deg, var(--yellow) 0%, #e6b800 100%);
      color: var(--black);
      border: none;
      border-radius: 50px;
      font-size: 1.1rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.5px;
      cursor: pointer;
      transition: all 0.3s ease;
      position: relative;
      overflow: hidden;
    }

    .service-cta::before {
      content: '';
      position: absolute;
      top: 0;
      left: -100%;
      width: 100%;
      height: 100%;
      background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
      transition: left 0.5s ease;
    }

    .service-cta:hover::before {
      left: 100%;
    }

    .service-cta:hover {
      transform: translateY(-3px);
      box-shadow: 0 10px 25px rgba(255, 205, 0, 0.4);
    }

    /* Estilos para tarjetas de servicio clickeables */
.service-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    cursor: pointer;
}

.service-card-link:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(255, 205, 0, 0.2);
    text-decoration: none;
    color: inherit;
}

.service-cta {
    /* Ya no es un botón, es un div normal */
    background: var(--yellow);
    color: var(--black);
    padding: 12px 20px;
    border-radius: 5px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    display: inline-block;
}

.service-card-link:hover .service-cta {
    background: var(--black);
    color: var(--yellow);
    transform: scale(1.05);
}

    /* ESTILOS ESPECÍFICOS POR SERVICIO */
    .service-card.renta {
      background: linear-gradient(145deg, #1a1a2e, #16213e);
    }

    .service-card.renta .service-icon {
      background: linear-gradient(135deg, #00d4ff 0%, #0099cc 100%);
    }

    .service-card.venta {
      background: linear-gradient(145deg, #2e1a1a, #3e1616);
    }
    .service-card.maquinaria-ligera {
      background: linear-gradient(145deg, #0f4964, #296f8f);
    }

    .service-card.venta .service-icon {
      background: linear-gradient(135deg, #ff6b6b 0%, #ee5a52 100%);
    }

    .service-card.mantenimiento {
      background: linear-gradient(145deg, #1a2e1a, #163e16);
    }

    .service-card.mantenimiento .service-icon {
      background: linear-gradient(135deg, #4ecdc4 0%, #44a08d 100%);
    }

    .service-card.transporte-maquinaria {
      background: linear-gradient(145deg, #2e1a2e, #3e163e);
    }

    .service-card.insumos .service-icon {
      background: linear-gradient(135deg, #a8e6cf 0%, #88d8a3 100%);
    }

    /* RESPONSIVE */
    @media (max-width: 1200px) {
      .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
        gap: 2rem;
      }
    }

    @media (max-width: 768px) {
      .section-title {
        font-size: 2.2rem;
      }

      .section-subtitle {
        font-size: 1.1rem;
      }

      .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
      }

      .service-card {
        min-height: 450px;
      }

      .service-header {
        padding: 2rem 1.5rem 1rem;
      }

      .service-content {
        padding: 0 1.5rem 1.5rem;
        /* REDUCIDO el padding */
      }

      .service-icon {
        width: 80px;
        height: 80px;
        font-size: 2.5rem;
      }
    }

@media (max-width: 480px) {
  .service-card {
    min-height: auto;
    height: auto;
    padding: 2rem 1rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .service-title {
    font-size: 1.2rem;
  }

  .service-subtitle {
    font-size: 0.9rem;
  }

  .service-description,
  .service-features li {
    font-size: 0.85rem;
  }

  .service-cta {
    font-size: 0.9rem;
    margin-top: 1rem;
  }
}



    /* SECCIÓN NOSOTROS */
    .about-section {
      padding: 6rem 0;
      background: linear-gradient(135deg, var(--black) 0%, var(--dark-gray) 50%, var(--black) 100%);
      position: relative;
      overflow: hidden;
    }

    .about-section::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: radial-gradient(circle at 20% 30%, rgba(255, 205, 0, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(255, 205, 0, 0.05) 0%, transparent 50%);
      z-index: 0;
    }

    .about-container {
      max-width: 1400px;
      margin: 0 auto;
      padding: 0 2rem;
      position: relative;
      z-index: 1;
    }

    /* HEADER PRINCIPAL */
    .section-header {
      text-align: center;
      margin-bottom: 5rem;
    }

    .section-title {
      font-size: 3.5rem;
      font-weight: 900;
      color: var(--yellow);
      margin-bottom: 1rem;
      position: relative;
      display: inline-block;
      text-transform: uppercase;
      letter-spacing: 3px;
    }

    .section-title::before,
    .section-title::after {
      content: '';
      position: absolute;
      top: 50%;
      width: 60px;
      height: 4px;
      background: linear-gradient(90deg, var(--yellow), transparent);
      transform: translateY(-50%);
    }

    .section-title::before {
      left: -80px;
      background: linear-gradient(90deg, transparent, var(--yellow));
    }

    .section-title::after {
      right: -80px;
    }

    /* CONTENIDO PRINCIPAL */
    .about-content {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 4rem;
      align-items: center;
      /*margin-bottom: 6rem;*/
    }

    .about-content.reverse {
      grid-template-columns: 1fr 1fr;
      direction: rtl;
    }

    .about-content.reverse>* {
      direction: ltr;
    }

    /* TEXTO */
    .about-text {
      position: relative;
    }

    .about-text h3 {
      font-size: 2.5rem;
      font-weight: 700;
      color: var(--yellow);
      margin-bottom: 2rem;
      position: relative;
      line-height: 1.2;
    }

    .about-text h3::after {
      content: '';
      position: absolute;
      bottom: -10px;
      left: 0;
      width: 80px;
      height: 4px;
      background: linear-gradient(90deg, var(--yellow), transparent);
    }

    .about-text p {
      font-size: 1.2rem;
      color: var(--light-gray);
      margin-bottom: 2rem;
      line-height: 1.8;
      text-align: justify;
    }

    .about-text p:first-of-type {
      font-size: 1.3rem;
      font-weight: 500;
      color: var(--white);
    }

    /* CARACTERÍSTICAS/VALORES */
    .values-list {
      list-style: none;
      margin: 2rem 0;
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 1rem;
    }

    .values-list li {
      background: linear-gradient(135deg, rgba(255, 205, 0, 0.1), rgba(255, 205, 0, 0.05));
      border: 1px solid rgba(255, 205, 0, 0.2);
      border-radius: 15px;
      padding: 1.5rem;
      display: flex;
      align-items: center;
      transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
      cursor: pointer;
      position: relative;
      overflow: hidden;
    }

    .values-list li::before {
      content: '';
      position: absolute;
      top: 0;
      left: -100%;
      width: 100%;
      height: 100%;
      background: linear-gradient(90deg, transparent, rgba(255, 205, 0, 0.1), transparent);
      transition: left 0.6s ease;
    }

    .values-list li:hover::before {
      left: 100%;
    }

    .values-list li:hover {
      transform: translateY(-5px) scale(1.02);
      border-color: var(--yellow);
      box-shadow: 0 15px 30px rgba(255, 205, 0, 0.3);
    }

    .values-list i {
      color: var(--yellow);
      font-size: 2rem;
      margin-right: 1rem;
      position: relative;
      z-index: 1;
    }

    .values-list span {
      font-weight: 600;
      font-size: 1.1rem;
      position: relative;
      z-index: 1;
    }

    /* CONTENEDOR DE IMAGEN CON EFECTOS */
    .about-image {
      position: relative;
      border-radius: 25px;
      overflow: hidden;
      height: 500px;
      background: linear-gradient(45deg, var(--gray-metal), var(--black));
    }

    .about-image::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: linear-gradient(45deg,
          rgba(255, 205, 0, 0.1) 0%,
          transparent 30%,
          transparent 70%,
          rgba(255, 205, 0, 0.1) 100%);
      z-index: 2;
      transition: opacity 0.4s ease;
      opacity: 0;
    }

    .about-image:hover::before {
      opacity: 1;
    }

    .about-image::after {
      content: '';
      position: absolute;
      top: -2px;
      left: -2px;
      right: -2px;
      bottom: -2px;
      background: linear-gradient(45deg, var(--yellow), transparent, var(--yellow));
      z-index: -1;
      border-radius: 25px;
      opacity: 0;
      transition: opacity 0.4s ease;
    }

    .about-image:hover::after {
      opacity: 1;
    }

    .about-image img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
      position: relative;
      z-index: 1;
    }

    .about-image:hover img {
      transform: scale(1.1) rotate(1deg);
      filter: brightness(1.1) contrast(1.1);
    }

    /* OVERLAY CON INFORMACIÓN */
    .image-overlay {
      position: absolute;
      bottom: 0;
      left: 0;
      right: 0;
      background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
      color: var(--white);
      padding: 2rem;
      transform: translateY(100%);
      transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
      z-index: 3;
    }

    .about-image:hover .image-overlay {
      transform: translateY(0);
    }

    .overlay-title {
      font-size: 1.5rem;
      font-weight: 700;
      color: var(--yellow);
      margin-bottom: 0.5rem;
    }

    .overlay-text {
      font-size: 1rem;
      line-height: 1.6;
    }

    /* ESTADÍSTICAS MEJORADAS */
    .about-stats {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 2rem;
      margin-top: 3rem;
      padding-top: 3rem;
      border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .stat {
      text-align: center;
      background: linear-gradient(135deg, var(--gray-metal) 0%, var(--black) 100%);
      border-radius: 20px;
      padding: 2.5rem 2rem;
      position: relative;
      transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
      border: 1px solid rgba(255, 205, 0, 0.1);
      overflow: hidden;
    }

    .stat::before {
      content: '';
      position: absolute;
      top: 0;
      left: -100%;
      width: 100%;
      height: 100%;
      background: linear-gradient(90deg, transparent, rgba(255, 205, 0, 0.1), transparent);
      transition: left 0.6s ease;
    }

    .stat:hover::before {
      left: 100%;
    }

    .stat:hover {
      transform: translateY(-10px) scale(1.03);
      border-color: var(--yellow);
      box-shadow: 0 20px 40px rgba(255, 205, 0, 0.3);
    }

    .stat-number {
      display: block;
      font-size: 3.5rem;
      font-weight: 900;
      color: var(--yellow);
      line-height: 1;
      margin-bottom: 0.5rem;
      position: relative;
      z-index: 1;
    }

    .stat-label {
      font-size: 1.1rem;
      color: var(--light-gray);
      text-transform: uppercase;
      letter-spacing: 1px;
      font-weight: 600;
      position: relative;
      z-index: 1;
    }

    /* BOTÓN CTA */
    .about-cta {
      text-align: center;
      margin-top: 3rem;
    }

    .cta-button {
      display: inline-flex;
      align-items: center;
      gap: 1rem;
      background: linear-gradient(135deg, var(--yellow) 0%, #e6b800 100%);
      color: var(--black);
      padding: 1.2rem 3rem;
      border: none;
      border-radius: 50px;
      font-size: 1.2rem;
      font-weight: 700;
      text-decoration: none;
      text-transform: uppercase;
      letter-spacing: 1px;
      transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
      position: relative;
      overflow: hidden;
    }

    .cta-button::before {
      content: '';
      position: absolute;
      top: 0;
      left: -100%;
      width: 100%;
      height: 100%;
      background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
      transition: left 0.5s ease;
    }

    .cta-button:hover::before {
      left: 100%;
    }

    .cta-button:hover {
      transform: translateY(-3px) scale(1.05);
      box-shadow: 0 15px 35px rgba(255, 205, 0, 0.4);
    }

    /* RESPONSIVE */
    @media (max-width: 1200px) {
      .about-content {
        gap: 3rem;
      }

      .section-title::before,
      .section-title::after {
        display: none;
      }
    }

    @media (max-width: 968px) {

      .about-content,
      .about-content.reverse {
        grid-template-columns: 1fr;
        gap: 3rem;
        direction: ltr;
      }

      .about-image {
        height: 400px;
      }

      .values-list {
        grid-template-columns: 1fr;
      }

      .about-stats {
        grid-template-columns: repeat(2, 1fr);
      }
    }

    @media (max-width: 768px) {
      .section-title {
        font-size: 2.8rem;
      }

      .about-text h3 {
        font-size: 2rem;
      }

      .about-image {
        height: 350px;
      }
    }

    @media (max-width: 480px) {
      .about-section {
        padding: 4rem 0;
      }

      .section-title {
        font-size: 2.2rem;
      }

      .about-text h3 {
        font-size: 1.8rem;
      }

      .about-stats {
        grid-template-columns: 1fr;
      }

      .stat {
        padding: 2rem 1.5rem;
      }
    }

    /* SECCIÓN ALIANZAS ESTRATÉGICAS*/
    .partners-section {
      padding: 5rem 0;
      background: linear-gradient(135deg, var(--dark-gray) 0%, var(--black) 100%);
      position: relative;
      overflow: hidden;
    }

    .partners-section::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: radial-gradient(circle at 30% 20%, rgba(255, 205, 0, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(255, 205, 0, 0.08) 0%, transparent 50%);
      z-index: 0;
    }

    .partners-container {
      max-width: 1400px;
      margin: 0 auto;
      padding: 0 2rem;
      position: relative;
      z-index: 1;
    }

    /* HEADER DE LA SECCIÓN */
    .section-header {
      text-align: center;
      margin-bottom: 4rem;
    }

    .section-title {
      font-size: 3.2rem;
      font-weight: 800;
      color: var(--yellow);
      margin-bottom: 1rem;
      position: relative;
      display: inline-block;
      text-transform: uppercase;
      letter-spacing: 2px;
    }

    .section-title::after {
      content: '';
      position: absolute;
      bottom: -10px;
      left: 50%;
      transform: translateX(-50%);
      width: 100px;
      height: 4px;
      background: linear-gradient(90deg, transparent, var(--yellow), transparent);
    }

    .section-subtitle {
      font-size: 1.2rem;
      color: var(--light-gray);
      max-width: 900px;
      margin: 0 auto;
      line-height: 1.8;
      font-weight: 300;
    }

    /* CARRUSEL DE ALIANZAS */
    .carousel-alianzas {
      position: relative;
      width: 100%;
      overflow: hidden;
      margin: 3rem 0;
      background: linear-gradient(145deg, rgba(255, 255, 255, 0.02), rgba(0, 0, 0, 0.1));
      backdrop-filter: blur(10px);
      border: 1px solid rgba(255, 205, 0, 0.1);
      border-radius: 20px;
      padding: 2rem 0;
      box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    }

    .carousel-inner {
      display: flex;
      gap: 60px;
      transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
      will-change: transform;
    }

    .carousel-item {
      flex: 0 0 250px;
      display: flex;
      justify-content: center;
      align-items: center;
      background: rgba(255, 255, 255, 0.95);
      border-radius: 15px;
      padding: 2rem;
      position: relative;
      transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
      cursor: pointer;
      overflow: hidden;
    }

    .carousel-item::before {
      content: '';
      position: absolute;
      top: 0;
      left: -100%;
      width: 100%;
      height: 100%;
      background: linear-gradient(90deg, transparent, rgba(255, 205, 0, 0.3), transparent);
      transition: left 0.6s ease;
    }

    .carousel-item:hover::before {
      left: 100%;
    }

    .carousel-item:hover {
      transform: translateY(-10px) scale(1.05);
      box-shadow: 0 25px 50px rgba(255, 205, 0, 0.3);
      border: 2px solid var(--yellow);
    }

    .carousel-item img {
      max-width: 180px;
      max-height: 80px;
      width: auto;
      height: auto;
      object-fit: contain;
      transition: all 0.4s ease;
      filter: grayscale(20%) brightness(1.1);
    }

    .carousel-item:hover img {
      filter: grayscale(0%) brightness(1.2);
      transform: scale(1.1);
    }

    /* EFECTO DE ROTACIÓN INFINITA */
    @keyframes scroll {
      0% {
        transform: translateX(0);
      }

      100% {
        transform: translateX(-50%);
      }
    }

    .carousel-inner {
      animation: scroll 30s linear infinite;
      width: calc(250px * 16 + 60px * 15);
      /* 16 logos + gaps */
    }

    .carousel-inner:hover {
      animation-play-state: paused;
    }

    /* ESTADÍSTICAS DE ALIANZAS */
    .partners-stats {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
      gap: 2rem;
      margin-top: 4rem;
      padding-top: 3rem;
      border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .stat-item {
      text-align: center;
      background: linear-gradient(145deg, var(--gray-metal) 0%, var(--black) 100%);
      border-radius: 15px;
      padding: 2rem;
      transition: all 0.3s ease;
      border: 1px solid rgba(255, 205, 0, 0.1);
    }

    .stat-item:hover {
      transform: translateY(-5px);
      border-color: var(--yellow);
      box-shadow: 0 15px 30px rgba(255, 205, 0, 0.2);
    }

    .stat-number {
      display: block;
      font-size: 3rem;
      font-weight: 800;
      color: var(--yellow);
      line-height: 1;
      margin-bottom: 0.5rem;
    }

    .stat-label {
      color: var(--light-gray);
      font-size: 1rem;
      text-transform: uppercase;
      letter-spacing: 1px;
    }

    /* RESPONSIVE */
    @media (max-width: 768px) {
      .section-title {
        font-size: 2.5rem;
      }

      .carousel-item {
        flex: 0 0 200px;
        padding: 1.5rem;
      }

      .carousel-item img {
        max-width: 140px;
        max-height: 60px;
      }

      .carousel-inner {
        gap: 40px;
        animation-duration: 25s;
      }

      .partners-stats {
        grid-template-columns: repeat(2, 1fr);
      }
    }

    @media (max-width: 480px) {
      .partners-section {
        padding: 4rem 0;
      }

      .section-title {
        font-size: 2rem;
      }

      .carousel-item {
        flex: 0 0 180px;
        padding: 1rem;
      }

      .carousel-item img {
        max-width: 120px;
        max-height: 50px;
      }

      .partners-stats {
        grid-template-columns: 1fr;
      }

      .stat-item {
        padding: 1.5rem;
      }

      .stat-number {
        font-size: 2.5rem;
      }
    }

    /* SECCIÓN TESTIMONIOS */
    .testimonials-section {
      padding: 6rem 0;
      background: linear-gradient(135deg, var(--black) 0%, var(--dark-gray) 50%, var(--black) 100%);
      position: relative;
      overflow: hidden;
    }

    .testimonials-section::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: radial-gradient(circle at 25% 25%, rgba(255, 205, 0, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 75% 75%, rgba(255, 205, 0, 0.08) 0%, transparent 50%);
      z-index: 0;
    }

    .testimonials-container {
      max-width: 1400px;
      margin: 0 auto;
      padding: 0 2rem;
      position: relative;
      z-index: 1;
    }

    /* HEADER */
    .section-header {
      text-align: center;
      margin-bottom: 5rem;
    }

    .section-title {
      font-size: 3.5rem;
      font-weight: 900;
      color: var(--yellow);
      margin-bottom: 1rem;
      position: relative;
      display: inline-block;
      text-transform: uppercase;
      letter-spacing: 3px;
    }

    .section-title::before,
    .section-title::after {
      content: '';
      position: absolute;
      top: 50%;
      width: 60px;
      height: 4px;
      background: var(--yellow);
      transform: translateY(-50%);
    }

    .section-title::before {
      left: -80px;
    }

    .section-title::after {
      right: -80px;
    }

    .section-subtitle {
      font-size: 1.3rem;
      color: var(--light-gray);
      max-width: 800px;
      margin: 0 auto;
      line-height: 1.8;
    }

    /* CONTENEDOR PRINCIPAL DE TESTIMONIOS */
    .testimonials-main {
      display: grid;
      grid-template-columns: 1fr 400px;
      gap: 4rem;
      align-items: center;
      margin-bottom: 4rem;
    }

    /* TESTIMONIO PRINCIPAL */
    .featured-testimonial {
      background: linear-gradient(145deg, var(--gray-metal) 0%, var(--black) 100%);
      border-radius: 25px;
      padding: 3rem;
      position: relative;
      border: 1px solid rgba(255, 205, 0, 0.2);
      overflow: hidden;
      transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }

    .featured-testimonial::before {
      content: '';
      position: absolute;
      top: 0;
      left: -100%;
      width: 100%;
      height: 100%;
      background: linear-gradient(90deg, transparent, rgba(255, 205, 0, 0.1), transparent);
      transition: left 0.8s ease;
    }

    .featured-testimonial:hover::before {
      left: 100%;
    }

    .featured-testimonial:hover {
      transform: translateY(-10px);
      border-color: var(--yellow);
      box-shadow: 0 30px 60px rgba(255, 205, 0, 0.3);
    }

    /* ICONO DE QUOTE */
    .quote-icon {
      position: absolute;
      top: 2rem;
      right: 2rem;
      font-size: 4rem;
      color: var(--yellow);
      opacity: 0.3;
    }

    .quote-icon-large {
      position: absolute;
      top: -20px;
      left: -10px;
      font-size: 8rem;
      color: rgba(255, 205, 0, 0.1);
      z-index: 0;
    }

    /* CONTENIDO DEL TESTIMONIO */
    .testimonial-content {
      position: relative;
      z-index: 1;
    }

    .testimonial-text {
      font-size: 1.4rem;
      line-height: 1.8;
      font-style: italic;
      color: var(--white);
      margin-bottom: 2rem;
      position: relative;
      z-index: 1;
    }

    .testimonial-author {
      display: flex;
      align-items: center;
      gap: 1.5rem;
      position: relative;
      z-index: 1;
    }

    .author-image {
      width: 80px;
      height: 80px;
      border-radius: 50%;
      overflow: hidden;
      position: relative;
      border: 3px solid var(--yellow);
    }

    .author-image::after {
      content: '';
      position: absolute;
      top: -3px;
      left: -3px;
      right: -3px;
      bottom: -3px;
      border-radius: 50%;
      border: 2px solid transparent;
      background: linear-gradient(45deg, var(--yellow), transparent, var(--yellow)) border-box;
      animation: rotate 3s linear infinite;
    }

    @keyframes rotate {
      from {
        transform: rotate(0deg);
      }

      to {
        transform: rotate(360deg);
      }
    }

    .author-image img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.4s ease;
    }

    .featured-testimonial:hover .author-image img {
      transform: scale(1.1);
    }

    .author-info h4 {
      font-size: 1.3rem;
      color: var(--yellow);
      font-weight: 700;
      margin-bottom: 0.3rem;
    }

    .author-info p {
      color: var(--light-gray);
      font-size: 1rem;
    }

    /* LISTA DE TESTIMONIOS LATERALES */
    .testimonials-list {
      display: flex;
      flex-direction: column;
      gap: 1.5rem;
      max-height: 600px;
      overflow-y: auto;
      padding-right: 1rem;
    }

    .testimonials-list::-webkit-scrollbar {
      width: 6px;
    }

    .testimonials-list::-webkit-scrollbar-track {
      background: var(--gray-metal);
      border-radius: 10px;
    }

    .testimonials-list::-webkit-scrollbar-thumb {
      background: var(--yellow);
      border-radius: 10px;
    }

    .testimonial-item {
      background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(0, 0, 0, 0.2));
      border-radius: 15px;
      padding: 1.5rem;
      cursor: pointer;
      transition: all 0.4s ease;
      border: 1px solid rgba(255, 255, 255, 0.1);
      position: relative;
      overflow: hidden;
    }

    .testimonial-item::before {
      content: '';
      position: absolute;
      top: 0;
      left: -100%;
      width: 100%;
      height: 100%;
      background: linear-gradient(90deg, transparent, rgba(255, 205, 0, 0.1), transparent);
      transition: left 0.6s ease;
    }

    .testimonial-item:hover::before {
      left: 100%;
    }

    .testimonial-item.active {
      border-color: var(--yellow);
      background: linear-gradient(135deg, rgba(255, 205, 0, 0.1), rgba(0, 0, 0, 0.3));
      transform: scale(1.02);
    }

    .testimonial-item:hover {
      transform: translateX(10px) scale(1.02);
      border-color: var(--yellow);
    }

    .testimonial-item .mini-author {
      display: flex;
      align-items: center;
      gap: 1rem;
      margin-bottom: 1rem;
    }

    .testimonial-item .mini-author img {
      width: 50px;
      height: 50px;
      border-radius: 50%;
      object-fit: cover;
      border: 2px solid var(--yellow);
    }

    .testimonial-item .mini-author .info h5 {
      color: var(--yellow);
      font-size: 1rem;
      font-weight: 600;
    }

    .testimonial-item .mini-author .info p {
      color: var(--light-gray);
      font-size: 0.9rem;
    }

    .testimonial-item .preview-text {
      color: var(--light-gray);
      font-size: 0.95rem;
      line-height: 1.6;
      font-style: italic;
      display: -webkit-box;
      -webkit-box-orient: vertical;
      overflow: hidden;
    }

    /* RATING STARS */
    .rating {
      display: flex;
      gap: 0.3rem;
      margin: 1rem 0;
    }

    .star {
      color: var(--yellow);
      font-size: 1.2rem;
    }

    /* ESTADÍSTICAS DE SATISFACCIÓN */
    .satisfaction-stats {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
      gap: 2rem;
      margin-top: 4rem;
      padding-top: 3rem;
      border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .stat-card {
      text-align: center;
      background: linear-gradient(135deg, var(--gray-metal) 0%, var(--black) 100%);
      border-radius: 20px;
      padding: 2rem;
      border: 1px solid rgba(255, 205, 0, 0.1);
      transition: all 0.4s ease;
      position: relative;
      overflow: hidden;
    }

    .stat-card::before {
      content: '';
      position: absolute;
      top: 0;
      left: -100%;
      width: 100%;
      height: 100%;
      background: linear-gradient(90deg, transparent, rgba(255, 205, 0, 0.1), transparent);
      transition: left 0.6s ease;
    }

    .stat-card:hover::before {
      left: 100%;
    }

    .stat-card:hover {
      transform: translateY(-10px);
      border-color: var(--yellow);
      box-shadow: 0 20px 40px rgba(255, 205, 0, 0.3);
    }

    .stat-icon {
      font-size: 3rem;
      color: var(--yellow);
      margin-bottom: 1rem;
    }

    .stat-number {
      font-size: 2.5rem;
      font-weight: 900;
      color: var(--yellow);
      display: block;
      margin-bottom: 0.5rem;
    }

    .stat-label {
      color: var(--light-gray);
      font-size: 1rem;
      text-transform: uppercase;
      letter-spacing: 1px;
    }

    /* RESPONSIVE */
    @media (max-width: 1200px) {
      .testimonials-main {
        grid-template-columns: 1fr 350px;
        gap: 3rem;
      }
    }

    @media (max-width: 968px) {
      .testimonials-main {
        grid-template-columns: 1fr;
        gap: 3rem;
      }

      .testimonials-list {
        max-height: none;
        overflow-y: visible;
      }

      .section-title::before,
      .section-title::after {
        display: none;
      }
    }

    @media (max-width: 768px) {
      .section-title {
        font-size: 2.8rem;
      }

      .featured-testimonial {
        padding: 2rem;
      }

      .testimonial-text {
        font-size: 1.2rem;
      }
    }

    @media (max-width: 480px) {
      .testimonials-section {
        padding: 4rem 0;
      }

      .section-title {
        font-size: 2.2rem;
      }

      .satisfaction-stats {
        grid-template-columns: repeat(2, 1fr);
      }
    }

    /* SECCIÓN CATÁLOGO */
    .catalog-section {
      padding: 5rem 2rem;
      background: radial-gradient(circle at 25% 25%, rgba(255, 205, 0, 0.05) 0%, transparent 40%), radial-gradient(circle at 75% 75%, rgba(255, 205, 0, 0.08) 0%, transparent 50%);
    }

    .catalog-container {
      max-width: 1200px;
      margin: 0 auto;
    }

    .catalog-content {
      text-align: center;
      margin-bottom: 3rem;
    }

    .catalog-content p {
      max-width: 700px;
      margin: 0 auto 2rem;
      color: var(--light-gray);
      line-height: 1.6;
    }

    .catalog-cards {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
      gap: 2rem;
    }

    .catalog-card {
      background: var(--black);
      border-radius: 10px;
      padding: 2rem;
      text-align: center;
      transition: transform 0.3s ease;
      border: 1px solid var(--gray-metal);
      display: flex;
      flex-direction: column;
      align-items: center;
    }

    .catalog-card:hover {
      transform: translateY(-10px);
    }

    .catalog-icon {
      width: 80px;
      height: 80px;
      background: var(--yellow);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 1.5rem;
      font-size: 2rem;
      color: var(--black);
    }

    .catalog-card h3 {
      color: var(--white);
      margin-bottom: 1rem;
      font-size: 1.3rem;
    }

    .catalog-card p {
      color: var(--light-gray);
      margin-bottom: 1.5rem;
      flex-grow: 1;
    }

    .catalog-card .btn-minimal {
      margin-top: auto;
    }

    /* SECCIÓN BLOG */
    .blog-section {
      padding: 5rem 2rem;
      background: radial-gradient(circle at 25% 25%, rgba(255, 205, 0, 0.05) 0%, transparent 40%), radial-gradient(circle at 75% 75%, rgba(255, 205, 0, 0.08) 0%, transparent 50%);
      text-align: center;
    }

    .blog-container {
      max-width: 1200px;
      margin: 0 auto;
    }

    .blog-posts {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
      gap: 2rem;
      margin-bottom: 3rem;
    }

    .blog-post {
      background: var(--dark-gray);
      border-radius: 10px;
      overflow: hidden;
      transition: transform 0.3s ease;
    }

    .blog-post:hover {
      transform: translateY(-5px);
    }

    .post-image {
      position: relative;
      height: 200px;
      overflow: hidden;
    }

    .post-image img {
      width: 100%;
      height: 100%;
      /*object-fit: cover;*/
      object-fit: scale-down;
      transition: transform 0.5s ease;
    }

    .blog-post:hover .post-image img {
      transform: scale(1.05);
    }

    .post-date {
      position: absolute;
      top: 1rem;
      left: 1rem;
      background: var(--yellow);
      color: var(--black);
      padding: 0.5rem 1rem;
      border-radius: 5px;
      font-weight: bold;
      font-size: 0.9rem;
    }

    .post-content {
      padding: 1.5rem;
    }

    .post-content h3 {
      margin-bottom: 1rem;
      font-size: 1.3rem;
    }

    .post-content h3 a {
      color: var(--white);
      text-decoration: none;
      transition: color 0.3s ease;
    }

    .post-content h3 a:hover {
      color: var(--yellow);
    }

    .post-content p {
      color: var(--light-gray);
      margin-bottom: 1.5rem;
      line-height: 1.6;
    }

    .read-more {
      color: var(--yellow);
      text-decoration: none;
      font-weight: 600;
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      transition: gap 0.3s ease;
    }

    .read-more:hover {
      gap: 0.8rem;
    }

    .blog-cta {
      background: var(--dark-gray);
      border-radius: 10px;
      padding: 2rem;
      text-align: center;
      max-width: 600px;
      margin: 0 auto;
    }

    .blog-cta p {
      margin-bottom: 1.5rem;
      color: var(--light-gray);
      font-size: 1.1rem;
    }

    .blog-subscribe {
      display: flex;
      gap: 1rem;
      justify-content: center;
    }

    .blog-subscribe input {
      flex: 1;
      max-width: 300px;
      padding: 0.8rem 1rem;
      border: 1px solid var(--gray-metal);
      border-radius: 5px;
      background: var(--black);
      color: var(--white);
    }

    .blog-subscribe button {
      background: var(--yellow);
      color: var(--black);
      border: none;
      padding: 0.8rem 1.5rem;
      border-radius: 5px;
      font-weight: bold;
      cursor: pointer;
      transition: background 0.3s ease;
    }

    .blog-subscribe button:hover {
      background: #e6b800;
    }

    /* SECCIÓN CONTACTO */
    .contact-section {
      padding: 5rem 2rem;
      background: radial-gradient(circle at 25% 25%, rgba(255, 205, 0, 0.05) 0%, transparent 40%), radial-gradient(circle at 75% 75%, rgba(255, 205, 0, 0.08) 0%, transparent 50%);
      text-align: center;
    }

    .contact-container {
      max-width: 1200px;
      margin: 0 auto 3rem;
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 3rem;
    }

    .contact-info {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 1.5rem;
    }

    .contact-card {
      background: var(--black);
      border-radius: 10px;
      padding: 1.5rem;
      text-align: center;
      transition: transform 0.3s ease;
      border: 1px solid var(--gray-metal);
    }

    .contact-card:hover {
      transform: translateY(-5px);
    }

    .contact-card p {
      text-align: center;
    }

    .contact-icon {
      width: 60px;
      height: 60px;
      background: var(--yellow);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      margin: 0 auto 1rem;
      font-size: 1.5rem;
      color: var(--black);
    }

    .contact-card h3 {
      color: var(--white);
      margin-bottom: 0.5rem;
      font-size: 1.2rem;
    }

    .contact-card p {
      color: var(--light-gray);
      line-height: 1.6;
    }

    .contact-form-container {
      background: var(--black);
      border-radius: 10px;
      padding: 2rem;
      border: 1px solid var(--gray-metal);
    }

    .contact-form-container h3 {
      color: var(--white);
      margin-bottom: 1.5rem;
      text-align: center;
      font-size: 1.5rem;
    }

    .form-group {
      margin-bottom: 1.5rem;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
      width: 100%;
      padding: 0.8rem 1rem;
      border: 1px solid var(--gray-metal);
      border-radius: 5px;
      background: var(--dark-gray);
      color: var(--white);
      font-family: inherit;
    }

    .form-group input:focus,
    .form-group select:focus,
    .form-group textarea:focus {
      outline: none;
      border-color: var(--yellow);
    }

    .contact-form .btn-minimal {
      width: 100%;
      text-align: center;
      justify-content: center;
    }

    .map-container {
      max-width: 1200px;
      margin: 0 auto;
      border-radius: 10px;
      overflow: hidden;
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    }

    /* RESPONSIVE PARA NUEVAS SECCIONES */
    @media (max-width: 968px) {
      .contact-container {
        grid-template-columns: 1fr;
      }

      .contact-info {
        grid-template-columns: 1fr;
      }

      .blog-subscribe {
        flex-direction: column;
        align-items: center;
      }

      .blog-subscribe input {
        max-width: 100%;
      }
    }

    @media (max-width: 768px) {
      .testimonial-author {
        flex-direction: column;
        text-align: center;
      }

      .catalog-cards,
      .blog-posts {
        grid-template-columns: 1fr;
      }

      .partners-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
      }
    }

    @media (max-width: 480px) {
      .testimonials-controls {
        flex-wrap: wrap;
        gap: 1rem;
      }

      .testimonials-indicators {
        order: 3;
        width: 100%;
        justify-content: center;
        margin-top: 1rem;
      }

      .testimonial-content {
        padding: 1.5rem;
      }

      .contact-card {
        padding: 1rem;
      }
    }

    /* FOOTER */
    .main-footer {
      border-top: 4px solid var(--yellow);
      padding: 3rem 0 1rem;
      color: var(--light-gray);
    }

    .footer-container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 2rem;
    }

    .footer-content {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 2rem;
      margin-bottom: 2rem;
    }

    .footer-section h3 {
      color: var(--yellow);
      margin-bottom: 1.5rem;
      font-size: 1.2rem;
      position: relative;
      padding-bottom: 0.5rem;
    }

    .footer-section h3::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 0;
      width: 40px;
      height: 2px;
      background-color: var(--yellow);
    }

    .footer-logo img {
      height: 50px;
      margin-bottom: 1rem;
    }

    .footer-section p {
      line-height: 1.6;
      margin-bottom: 1.5rem;
    }

    .social-links {
      display: flex;
      gap: 1rem;
    }

    .social-links a {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 40px;
      height: 40px;
      background-color: var(--gray-metal);
      border-radius: 50%;
      color: var(--white);
      transition: all 0.3s ease;
    }

    .social-links a:hover {
      background-color: var(--yellow);
      color: var(--black);
      transform: translateY(-3px);
    }

    .footer-section ul {
      list-style: none;
    }

    .footer-section ul li {
      margin-bottom: 0.8rem;
    }

    .footer-section ul li a {
      color: var(--light-gray);
      text-decoration: none;
      transition: color 0.3s ease;
    }

    .footer-section ul li a:hover {
      color: var(--yellow);
      padding-left: 5px;
    }

    .contact-info p {
      display: flex;
      align-items: center;
      margin-bottom: 1rem;
    }

    .contact-info i {
      color: var(--yellow);
      margin-right: 10px;
      width: 20px;
    }

    /*Whatsapp*/
.whatsapp-float {
    position: fixed;
    bottom: 40px;
    left: 40px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    box-shadow: 2px 2px 6px rgba(0,0,0,0.4);
    z-index: 1000;
    transition: all 0.3s ease;
    background: linear-gradient(45deg, #25D366, #128C7E);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 2px 2px 11px rgba(0,0,0,0.7);
}

.whatsapp-float .whatsapp-icon {
    width: 100%;
    height: 100%;
    padding: 12px;
}

.whatsapp-float .tooltip {
    visibility: hidden;
    position: absolute;
    right: -380px;
    top: 50%;
    transform: translateY(-50%);
    background-color: #075e54;
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s ease;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    line-height: 1.4;
}

.whatsapp-float .tooltip::after {
    content: "";
    position: absolute;
    top: 50%;
    left: -16px;
    right: auto;
    margin-top: -8px;
    border-width: 8px;
    border-style: solid;
    border-color: transparent #075e54 transparent transparent;
}

.whatsapp-float:hover .tooltip {
    visibility: visible;
    opacity: 1;
    left: 80px;
}

@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }

    .whatsapp-float .tooltip {
        display: none;
    }
}

    .footer-bottom {
      border-top: 1px solid var(--gray-metal);
      padding-top: 1.5rem;
      text-align: center;
      font-size: 0.9rem;
    }

    /* RESPONSIVE FOOTER */
    @media (max-width: 768px) {
      .footer-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
      }

      .footer-section {
        text-align: center;
      }

      .footer-section h3::after {
        left: 50%;
        transform: translateX(-50%);
      }

      .social-links {
        justify-content: center;
      }
    }

    /*-Pagina Nosotros-*/

        /* MISION Y VISION */
    .mission-vision {
      padding: 5rem 0;
      background: var(--dark-gray);
    }
    
    .mv-container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 2rem;
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 3rem;
    }
    
    .mv-card {
      background: var(--black);
      border-radius: 15px;
      padding: 3rem;
      text-align: center;
      border: 2px solid transparent;
      transition: all 0.3s ease;
    }
    
    .mv-card:hover {
      border-color: var(--yellow);
      transform: translateY(-10px);
    }
    
    .mv-icon {
      width: 80px;
      height: 80px;
      background: var(--yellow);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      margin: 0 auto 1.5rem;
      font-size: 2.5rem;
      color: var(--black);
    }
    
    .mv-card h3 {
      color: var(--yellow);
      margin-bottom: 1rem;
      font-size: 1.8rem;
    }
    
    /* EQUIPO DIRECTIVO */
    .team-section {
      padding: 5rem 0;
      background: var(--black);
    }
    
    .team-container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 2rem;
    }
    
    .team-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
      gap: 2rem;
      margin-top: 3rem;
    }
    
    .team-member {
      background: var(--dark-gray);
      border-radius: 15px;
      overflow: hidden;
      text-align: center;
      transition: all 0.3s ease;
    }
    
    .team-member:hover {
      transform: translateY(-10px);
      box-shadow: 0 10px 30px rgba(255, 205, 0, 0.2);
    }
    
    .member-photo {
      height: 300px;
      overflow: hidden;
    }
    
    .member-photo img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.5s ease;
    }
    
    .team-member:hover .member-photo img {
      transform: scale(1.1);
    }
    
    .member-info {
      padding: 1.5rem;
    }
    
    .member-info h4 {
      color: var(--yellow);
      margin-bottom: 0.5rem;
      font-size: 1.3rem;
    }
    
    .member-info .position {
      color: var(--light-gray);
      font-weight: 600;
      margin-bottom: 1rem;
    }
    
    .member-info p {
      color: var(--light-gray);
      font-size: 0.9rem;
      line-height: 1.6;
    }

    /*Contacto*/

  /* Hero Section - Contacto */
.hero-contacto {
    position: relative;
    height: 80vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    overflow: hidden;
}

.hero-contacto-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ajusta la imagen como fondo */
    z-index: 0;
}

.hero-contacto::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5); /* Capa oscura encima de la imagen */
    z-index: 1;
}

.hero-contacto-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

.hero-contacto h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-contacto p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.hero-contacto .btn-hero {
    display: inline-block;
    padding: 15px 30px;
    background: var(--yellow);
    color: var(--black);
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.hero-contacto .btn-hero:hover {
    background-color: transparent;
    border-color: white;
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-contacto {
        height: 70vh;
        min-height: 500px;
    }
    
    .hero-contacto h1 {
        font-size: 2.5rem;
    }
    
    .hero-contacto p {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .hero-contacto {
        height: 60vh;
        min-height: 400px;
    }
    
    .hero-contacto h1 {
        font-size: 2rem;
    }
    
    .hero-contacto p {
        font-size: 1rem;
    }
    
    .hero-contacto .btn-hero {
        padding: 12px 25px;
        font-size: 1rem;
    }
}

@media (max-width: 400px) {
    .hero-contacto {
        height: 50vh;
        min-height: 100px;
        width: 100%;
    }
    
    .hero-contacto h1 {
        font-size: 2rem;
    }
    
    .hero-contacto p {
        font-size: 1rem;
    }
    
    .hero-contacto .btn-hero {
        padding: 12px 25px;
        font-size: 1rem;
    }
}

/*Blog*/
/* HERO BLOG */
.blog-hero {
  background: linear-gradient(135deg, var(--yellow) 0%, #ffdf70 100%);
  color: var(--black);
  text-align: center;
  padding: 5rem 2rem;
  margin-bottom: 3rem;
}

.blog-hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.blog-hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.blog-search {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}

.blog-search input {
  padding: 0.8rem 1rem;
  border-radius: 5px;
  border: none;
  max-width: 300px;
  width: 100%;
}

.blog-search button {
  background: var(--black);
  color: var(--yellow);
  border: none;
  padding: 0.8rem 1rem;
  border-radius: 5px;
  cursor: pointer;
}

.blog-search button:hover {
  background: #333;
}


/* Hero / Portada */

.hero-renta {
  background: url('../img/Hero-Renta.png') center/cover no-repeat;
  height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
}

.hero-renta::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
}

.hero-content {
  position: relative;
  z-index: 2;
  color: var(--white);
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 0.5rem;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.btn-cta {
  background: var(--yellow);
  color: var(--black);
  padding: 0.75rem 1.5rem;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background var(--transition-speed);
}

.btn-cta:hover {
  background: #e0b800;
}

/* Sección Descripción */
.servicio-renta {
  padding: 4rem 2rem;
  background: var(--dark-gray);
  color: var(--white);
}

.servicio-renta .container {
  max-width: 1100px;
  margin: 0 auto;
}

.servicio-renta h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--yellow);
}

.servicio-renta p {
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.servicio-renta ul {
  list-style: none;
  padding: 0;
}

.servicio-renta ul li {
  padding-left: 1.5rem;
  position: relative;
  margin-bottom: 0.5rem;
}

.servicio-renta ul li::before {
  content: '✔';
  color: var(--yellow);
  position: absolute;
  left: 0;
}

/* Galería de Maquinaria */
.galeria-maquinaria {
  padding: 4rem 2rem;
  background-color: var(--black);
  color: var(--white);
}

.galeria-maquinaria .container {
  max-width: 1100px;
  margin: 0 auto;
}

.galeria-maquinaria h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 2rem;
  color: var(--yellow);
}

.galeria-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.equipo-r {
  background: var(--gray-metal);
  border: 1px solid var(--light-gray);
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
  transition: transform 0.3s;
}

.equipo-r:hover {
  transform: translateY(-5px);
}

.equipo-r img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: contain;
  background-color: #1a1a1a; /* Fondo neutro para imágenes más pequeñas */
  padding: 10px;
}
.equipo-r h3 {
  font-size: 1.2rem;
  margin: 1rem;
  color: var(--yellow);
}

.equipo-r p {
  margin: 0 1rem 1rem;
  font-size: 0.95rem;
  color: var(--white);
}

@media (max-width: 720px) {
  .hero-renta {
    background-position: center top;
    height: 50vh; /* Altura menor para móviles */
  }

  .hero-renta h1 {
    font-size: 2rem;
  }

  .hero-renta p {
    font-size: 1rem;
  }
}

@media (max-width: 380px) {
  .hero-renta {
    background-position: center top;
    height: 50vh; /* Altura menor para móviles */
  }

  .hero-renta h1 {
    font-size: 2rem;
  }

  .hero-renta p {
    font-size: 1rem;
  }
}


/* Hero - Venta */
.hero-venta {
  background: url('../img/Hero-Venta.png') center/cover no-repeat;
  height:80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
}

.hero-venta::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
}

.hero-venta .hero-content {
  position: relative;
  z-index: 2;
  color: var(--white);
}

.hero-venta h1 {
  font-size: 3rem;
  margin-bottom: 0.5rem;
}

.hero-venta p {
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

/* Descripción Venta */
.servicio-venta {
  padding: 4rem 2rem;
  background: var(--dark-gray);
  color: var(--white);
}

.servicio-venta .container {
  max-width: 1100px;
  margin: 0 auto;
}

.servicio-venta h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--yellow);
}

.servicio-venta p {
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.servicio-venta ul {
  list-style: none;
  padding: 0;
}

.servicio-venta ul li {
  padding-left: 1.5rem;
  position: relative;
  margin-bottom: 0.5rem;
}

.servicio-venta ul li::before {
  content: '✔';
  color: var(--yellow);
  position: absolute;
  left: 0;
}

@media (max-width: 720px) {
  .hero-venta {
    background-position: center top;
    height: 50vh; /* Altura menor para móviles */
  }

  .hero-venta h1 {
    font-size: 2rem;
  }

  .hero-venta p {
    font-size: 1rem;
  }
}

@media (max-width: 380px) {
  .hero-venta {
    background-position: center top;
    height: 50vh; /* Altura menor para móviles */
  }

  .hero-venta h1 {
    font-size: 2rem;
  }

  .hero-venta p {
    font-size: 1rem;
  }
}



/* Hero para Obras Civiles */
.hero-obras {
  background: url('../img/hero-obras.jpeg') center/cover no-repeat;
  height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  text-align: center;
}

.hero-obras::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.6);
}

.hero-obras .hero-content {
  position: relative;
  z-index: 2;
  color: var(--white);
}

.hero-obras h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.hero-obras p {
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

/* Sección de Servicios */
.servicio-obras {
  background-color: var(--dark-gray);
  padding: 4rem 2rem;
  color: var(--white);
}

.servicio-obras .container {
  max-width: 1100px;
  margin: 0 auto;
}

.servicio-obras h2 {
  font-size: 2rem;
  color: var(--yellow);
  margin-bottom: 1rem;
}

.servicio-obras p {
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.servicio-obras ul {
  list-style: none;
  padding-left: 0;
}

.servicio-obras ul li {
  padding-left: 1.5rem;
  position: relative;
  margin-bottom: 0.5rem;
}

.servicio-obras ul li::before {
  content: '✔';
  position: absolute;
  left: 0;
  color: var(--yellow);
}

/* Galería de Obras */
.galeria-obras {
  padding: 4rem 2rem;
  background: var(--black);
  color: var(--white);
}

.galeria-obras .container {
  max-width: 1100px;
  margin: 0 auto;
}

.galeria-obras h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 2rem;
  color: var(--yellow);
}

.galeria-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
}

.obra {
  background: var(--gray-metal);
  border-radius: 6px;
  overflow: hidden;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
  transition: transform 0.3s;
}

.obra:hover {
  transform: translateY(-5px);
}

.obra img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.obra h3 {
  padding: 0.7rem;
  color: var(--yellow);
  font-size: 1.1rem;
}

.obra p {
  padding: 0 1rem 1rem;
  font-size: 0.95rem;
}


/* Hero Mantenimiento */
.hero-mantenimiento {
  background: url('../img/Hero-Mantenimiento.png') center/cover no-repeat;
  height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  text-align: center;
}

.hero-mantenimiento::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
}

.hero-mantenimiento .hero-content {
  position: relative;
  z-index: 2;
  color: var(--white);
}

.hero-mantenimiento h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.hero-mantenimiento p {
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

/* Servicio Mantenimiento */
.servicio-mantenimiento {
  background-color: var(--dark-gray);
  padding: 4rem 2rem;
  color: var(--white);
}

.servicio-mantenimiento .container {
  max-width: 1100px;
  margin: 0 auto;
}

.servicio-mantenimiento h2 {
  font-size: 2rem;
  color: var(--yellow);
  margin-bottom: 1rem;
}

.servicio-mantenimiento p {
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.servicio-mantenimiento ul {
  list-style: none;
  padding-left: 0;
}

.servicio-mantenimiento ul li {
  padding-left: 1.5rem;
  position: relative;
  margin-bottom: 0.5rem;
}

.servicio-mantenimiento ul li::before {
  content: '✔';
  position: absolute;
  left: 0;
  color: var(--yellow);
}

/* Equipos mantenimiento */
.equipos-mantenimiento {
  padding: 4rem 2rem;
  background: var(--black);
  color: var(--white);
}

.equipos-mantenimiento .container {
  max-width: 1100px;
  margin: 0 auto;
}

.equipos-mantenimiento h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 2rem;
  color: var(--yellow);
}

.equipos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
}

.equipo {
  background: var(--gray-metal);
  border-radius: 6px;
  overflow: hidden;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
  transition: transform 0.3s;
}

.equipo:hover {
  transform: translateY(-5px);
}

.equipo img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.equipo h3 {
  padding: 1rem;
  color: var(--yellow);
  font-size: 1.1rem;
}

@media (max-width: 380px) {
  .equipo .image-container {
    height: 140px;
  }
}

/* Galería Mantenimiento */
.galeria-mantenimiento {
  padding: 4rem 2rem;
  background-color: var(--dark-gray);
  color: var(--white);
  text-align: center;
}

.galeria-mantenimiento .container {
  max-width: 1200px;
  margin: 0 auto;
}

.galeria-mantenimiento h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--yellow);
}

.galeria-mantenimiento p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.galeria-mantenimiento .galeria-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
}

.galeria-mantenimiento .galeria-item {
  overflow: hidden;
  border-radius: 8px;
  position: relative;
  box-shadow: 0 0 10px rgba(255, 205, 0, 0.2);
  transition: transform 0.3s ease;
}

.galeria-mantenimiento .galeria-item:hover {
  transform: scale(1.03);
}

.galeria-mantenimiento .galeria-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}


/* Hero Maquinaria */
.hero-maquinaria {
  background: url('../img/Hero-MaquinariaLigera.png') center/cover no-repeat;
  height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  text-align: center;
}

.hero-maquinaria::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
}

.hero-maquinaria .hero-content {
  position: relative;
  z-index: 2;
  color: var(--white);
}

.hero-maquinaria h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.hero-maquinaria p {
  font-size: 1.2rem;
}

/* Descripción Maquinaria */
.descripcion-maquinaria {
  background-color: var(--dark-gray);
  color: var(--white);
  padding: 4rem 2rem;
}

.descripcion-maquinaria .container {
  max-width: 1100px;
  margin: 0 auto;
}

.descripcion-maquinaria h2 {
  font-size: 2rem;
  color: var(--yellow);
  margin-bottom: 1rem;
}

.descripcion-maquinaria p {
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.descripcion-maquinaria ul {
  list-style: none;
  padding-left: 0;
}

.descripcion-maquinaria ul li {
  padding-left: 1.5rem;
  position: relative;
  margin-bottom: 0.5rem;
}

.descripcion-maquinaria ul li::before {
  content: '✔';
  position: absolute;
  left: 0;
  color: var(--yellow);
}

/* Equipos Maquinaria */
.equipos-maquinaria {
  background-color: var(--black);
  padding: 4rem 2rem;
  color: var(--white);
}

.equipos-maquinaria .container {
  max-width: 1100px;
  margin: 0 auto;
}

.equipos-maquinaria h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 2rem;
  color: var(--yellow);
}

.equipos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
}

.equipo {
  background: var(--gray-metal);
  border-radius: 6px;
  overflow: hidden;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
  transition: transform 0.3s;
}

.equipo:hover {
  transform: translateY(-5px);
}

.equipo img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: contain;
  background-color: #1a1a1a;
}

.equipo h3 {
  padding: 1rem;
  color: var(--yellow);
  font-size: 1.1rem;
}

.service-cta {
  text-decoration: none;
}



/* Hero - Transporte */
.hero-transporte {
  background: url('../img/Hero-Trasporte.png') center/cover no-repeat;
  height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
}

.hero-transporte::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.65);
}

.hero-transporte .hero-content {
  position: relative;
  z-index: 2;
  color: var(--white);
}

.hero-transporte h1 {
  font-size: 3rem;
  margin-bottom: 0.5rem;
}

.hero-transporte p {
  font-size: 1.2rem;
  margin-bottom: 1.2rem;
}

.hero-transporte .btn-cta {
  background-color: var(--yellow);
  color: var(--black);
  padding: 0.8rem 1.5rem;
  border: none;
  border-radius: 5px;
  font-weight: bold;
  text-decoration: none;
  transition: background 0.3s ease;
}

.hero-transporte .btn-cta:hover {
  background-color: #e6b800;
  color: var(--black);
}

/* Descripción Transporte */
.servicio-transporte {
  padding: 4rem 2rem;
  background: var(--dark-gray);
  color: var(--white);
}

.servicio-transporte .container {
  max-width: 1100px;
  margin: 0 auto;
}

.servicio-transporte h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--yellow);
}

.servicio-transporte p {
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.servicio-transporte ul {
  list-style: none;
  padding: 0;
  margin-top: 1.5rem;
}

.servicio-transporte ul li {
  padding-left: 1.5rem;
  position: relative;
  margin-bottom: 0.8rem;
  font-size: 1rem;
}

.servicio-transporte ul li::before {
  content: '🚚';
  position: absolute;
  left: 0;
  color: var(--yellow);
}

/* Responsive */
@media (max-width: 720px) {
  .hero-transporte {
    background-position: center top;
    height: 50vh;
  }

  .hero-transporte h1 {
    font-size: 2rem;
  }

  .hero-transporte p {
    font-size: 1rem;
  }
}

/* Galería Transporte */
.galeria-transporte {
  padding: 4rem 2rem;
  background-color: var(--black);
  color: var(--white);
  text-align: center;
}

.galeria-transporte .container {
  max-width: 1200px;
  margin: 0 auto;
}

.galeria-transporte h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--yellow);
}

.galeria-transporte p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.galeria-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
}

.galeria-item {
  overflow: hidden;
  border-radius: 8px;
  position: relative;
  box-shadow: 0 0 10px rgba(255, 205, 0, 0.3);
  transition: transform 0.3s ease;
}

.galeria-item:hover {
  transform: scale(1.03);
}

.galeria-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}





/*Aviso de privacidad*/

/* Hero Privacidad */
.hero-privacidad {
  background: url('../img/Banner-Politica.png') center/cover no-repeat;
  height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  text-align: center;
}

.hero-privacidad::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
}

.hero-privacidad .hero-content {
  position: relative;
  z-index: 2;
  color: var(--white);
}

.hero-privacidad h1 {
  font-size: 2.8rem;
  margin-bottom: 1rem;
}

.hero-privacidad p {
  font-size: 1.2rem;
}

/* Contenido de Privacidad */
.privacidad-contenido {
  background-color: var(--dark-gray);
  color: var(--white);
  padding: 4rem 2rem;
}

.privacidad-contenido .container {
  max-width: 1000px;
  margin: 0 auto;
}

.privacidad-contenido h2 {
  color: var(--yellow);
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.privacidad-contenido h3 {
  margin-top: 2rem;
  font-size: 1.4rem;
  color: var(--yellow);
}

.privacidad-contenido p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-top: 1rem;
}

.privacidad-contenido ul {
  padding-left: 1.5rem;
  margin-top: 1rem;
}

.privacidad-contenido ul li {
  list-style: disc;
  margin-bottom: 0.5rem;
}

.privacidad-contenido a {
  color: var(--yellow);
  text-decoration: underline;
}

.last-updated {
  margin-top: 2rem;
  font-style: italic;
  color: var(--light-gray);
  font-size: 0.9rem;
}

/* COOKIES */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--dark-gray);
  color: var(--white);
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 9999;
  font-size: 0.95rem;
  box-shadow: 0 -2px 8px rgba(0,0,0,0.3);
}

.cookie-consent a {
  color: var(--yellow);
  text-decoration: underline;
}

.cookie-btn {
  background-color: var(--yellow);
  color: var(--black);
  border: none;
  padding: 0.5rem 1.2rem;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.cookie-btn:hover {
  background-color: #f2c200; /* tono más claro */
}

.cookie-message {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

/* Estilos para mensajes del formulario */
.success-message {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    padding: 12px;
    border-radius: 5px;
}

.error-message {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    padding: 12px;
    border-radius: 5px;
}

/* Estilos para el botón de loading */
#loadingSpinner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-minimal:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}