:root {
    --gold: #d4af37;
    --dark: #050505;
    --glass: rgba(10, 10, 10, 0.8);
    --red: #8b0000;
}



html {
  scroll-behavior: smooth;
} 

/* Transiciones Globales para Suavidad */
* { transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1); }

body {
   /* Ejemplo con resplandor central (Radial) */
background: radial-gradient(circle at center, #333 0%, #111 70%);

    color: white;
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow-x: hidden;
}


/*servicios imagenes*/
.servicios-nova {
  background: radial-gradient(circle at center, #333 0%, #111 70%);
    padding: 0px 0;
    display: flex;
    justify-content: center; /* Centra el bloque del 90% */
    width: 100%;
}

.grid-servicios {
     display: grid;
    grid-template-columns: repeat(4, 1fr) 1.8fr; 
    gap: 12px;
    width: 99%;
    margin: 0 auto;
    padding: 10px 0;}

.tarjeta-servicio {
     position: relative;
    height: 180px;
    overflow: hidden;
    border: 1px solid rgba(226, 176, 74, 0.1); /* Borde inicial casi invisible */
    text-decoration: none;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94); /* Transición suave */
    cursor: pointer;
    z-index: 1;
}

.tarjeta-servicio img {
   width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7);
    transition: transform 0.6s ease;
}
/* Ajuste del texto para que acompañe el brillo */
.tarjeta-servicio:hover .overlay-texto h3 {
    text-shadow: 0 0 10px rgba(226, 176, 74, 0.8); /* El texto también brilla */
    letter-spacing: 3px; /* El texto se expande sutilmente */
    transition: all 0.5s ease;
}
/* Efectos al pasar el mouse */
.tarjeta-servicio:hover {
    box-shadow: 0 0 25px rgba(226, 176, 74, 0.6); 
    border-color: rgba(226, 176, 74, 0.8);
    transform: scale(1.02); /* Crece ligeramente para enfatizar el brillo */
    z-index: 10; /* Se posiciona sobre las demás para que el brillo no se corte */}

/* Efecto Zoom al pasar el mouse */
.tarjeta-servicio:hover img {
     filter: brightness(1) contrast(1.1); /* La imagen se aclara un poco */
    transform: scale(1.1);
}

/* Sombreado inferior para el texto */
.overlay-texto {
   position: absolute;
    bottom: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.6); /* Fondo oscuro traslúcido para el texto */
    padding: 10px 0;
    text-align: center;
}

.overlay-texto h3 {
    color: #E2B04A; /* Dorado Nova */
    font-family: 'Arial', sans-serif;
    font-size: 0.9rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0;
}

/* --- Ajuste Responsivo --- */
@media (max-width: 1024px) {
   .grid-servicios {
        grid-template-columns: 1fr; /* Una columna que ocupa el 90% del ancho móvil */
        gap: 20px;
    }
    .tarjeta-servicio {
        height: 150px; /* Un poco más delgadas en móvil */
    }
}




@media (max-width: 600px) {
    .grid-servicios {
        grid-template-columns: 1fr; /* 1 columna en móvil */
    }
    .aviation { grid-column: span 1; }
    .tarjeta-servicio { height: 200px; }
}



.tarjeta-servicio {
    display: block; /* Para que el enlace ocupe toda la tarjeta */
    text-decoration: none; /* Quita el subrayado del texto */
    cursor: pointer; /* Indica que es un link */
    position: relative;
    overflow: hidden;
    height: 250px;
    border: 1px solid #333;
    transition: all 0.4s ease;
}

/* Efecto de Iluminación y Elevación al pasar el mouse */
.tarjeta-servicio:hover {
    border-color: #C2BEBE; /* El borde se vuelve dorado */
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.5); /* Sombra para profundidad */
    transform: translateY(-5px); /* Se eleva un poco */
}

.tarjeta-servicio:hover img {
    transform: scale(1.1);
    filter: brightness(1.1); /* Brilla un poco más al pasar el mouse */
}

/* --- Animación de Entrada al hacer Scroll --- */
.anim-fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.anim-fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}




























/*Banner de inicio*/
/* --- Definición de las Animaciones --- */

/* Zoom lento para los autos */
@keyframes zoomLento {
    from { transform: scale(1); }
    to { transform: scale(1.1); }
}
@keyframes aparecerArriba {
    from { opacity: 0; transform: translateY(-30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes aparecerCentro {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes aparecerAbajo {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- Aplicación a los elementos --- */

.anim-arriba {
    animation: aparecerArriba 2s ease-out forwards;
}

.anim-centro {
    opacity: 0; /* Inicia invisible */
    animation: aparecerCentro 2s ease-out 0.5s forwards; /* 0.5s de retraso */
}

.anim-abajo {
    opacity: 0;
    animation: aparecerAbajo 2s ease-out 1s forwards; /* 1s de retraso */
}

.banner-nova {
     position: relative;
    width: 100%;
     height: 100vh; /* Ocupa el 100% del alto de la pantalla */
    background-color: #000;
    overflow: hidden; /* Importante para que el zoom no se salga */
    font-family: 'Arial', sans-serif;
}
.contenedor-fondo {
    position: absolute;
    width: 100%;
    height: 100%;
}

.fondo-dinamico {
    width: 100%;
    height: 100%;
    background-image: url('images/fondo-autos.jpg')!important; /* Imagen para PC */
    background-size: cover;
    background-position: center;
}
.img-fondo {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Clave para que se vea bien en cualquier pantalla */
     object-position: center; 
}

.contenido-superpuesto {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}
/* Aplicación del Zoom */
.anim-zoom {
    animation: zoomLento 10s ease-out forwards;
}
/* --- Logo Superior --- */
.logo-principal {
   width: 280px; 
    margin-bottom: 20px;
    animation: aparecerArriba 1.5s ease-out forwards;
}
.contenido-superpuesto {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: rgba(0, 0, 0, 0.3); /* Oscurece un poco para resaltar el texto */
}

/* --- Texto --- */
.texto-central {
    opacity: 0;
    animation: aparecerCentro 2s ease-out 0.8s forwards;
}
.subtitulo {
     color: white;
    font-size: 2.5rem;
    font-weight: 300;
    margin: 0;
    letter-spacing: 2px;
}

.detalles {
      color: #E2B04A; /* Dorado */
    font-size: 1rem;
    font-weight: bold;
    letter-spacing: 3px;
    margin-top: 10px;
}


/* --- Ajustes Responsivos --- */

@media (max-width: 768px) {
    .banner-nova {
          height: 100vh; /* Mantiene el largo total en móvil */
    }
     .fondo-dinamico {
        /* CAMBIA AQUÍ LA IMAGEN PARA MÓVIL */
        background-image: url('images/fondo-autos-mobile.jpg')!important; 
        background-size: cover;
    background-position: center center; /* Centra el enfoque de la foto */
    background-repeat: no-repeat;
    }

    .logo-principal {
        width: 180px; /* Logo más pequeño */
        margin-bottom: 10px;
    }

    .subtitulo {
        font-size: 1.4rem; /* Texto más pequeño para que no rompa línea */
        padding: 0 20px;
    }

    .detalles {
        font-size: 0.75rem;
        letter-spacing: 1px;
        line-height: 1.5;
         padding: 0 15px;
    }

    .footer-elementos {
        margin-top: 20px;
    }

    .icon-png {
        width: 25px; /* Iconos de redes un poco más pequeños */
    }

    .logo-principal {
        width: 200px;
    }
}

/* Ajuste extra para pantallas muy pequeñas (iPhone SE, etc.) */
@media (max-width: 480px) {
    .banner-nova {
        height:72vh;
    }
    
    .subtitulo {
        font-size: 1.2rem;
    }
}






/* --- Footer (Redes + Fresha) --- */
.footer-elementos {
    position: absolute;
    bottom: 6%;
    display: flex;
    align-items: center;
    gap: 20px; /* Espacio entre las redes y el logo de fresha */
}

.redes-sociales {
    display: flex;
    gap: 12px; /* Espacio entre cada icono de red social */
}

.icon-png {
    height: 25px; /* Controla el tamaño de los iconos de redes */
    width: auto;
}

.fresha-logo {
    height: 25px; /* Controla el tamaño del logo fresha */
    width: auto;
}

/* --- Ajuste para pantallas pequeñas --- */
@media (max-width: 600px) {
    .icon-png, .fresha-logo { height: 15px; }
    .footer-elementos { gap: 10px; }
}



























/* --- HEADER --- */
.header-main { position: fixed; top: 0; width: 100%; z-index: 1000; transition: 0.5s; }


.top-bar a { font-size: 10px; margin: 8px 0; color: #ccc; }
.top-bar { 
background: radial-gradient(circle at center, #333 0%, #111 90%);
display: flex; justify-content: space-between; padding: 10px 5%; font-size: 11px; border-bottom: 1px solid #222; transition: 0.4s; }
.language-selector img { height: 15px; cursor: pointer; margin-left: 10px; filter: grayscale(1); transition: 0.3s; }
.language-selector img:hover { filter: grayscale(0); transform: scale(1.2); }

/* --- NAVEGACIÓN --- */
.nav-container {/* Ejemplo con resplandor central (Radial) */backdrop-filter: blur(10px); border-bottom: 1px solid #333; height: 80px; }
.nav-content { display: flex; justify-content: center; align-items: center; max-width: 1400px; margin: 0 auto; height: 100%; position: relative; }

.nav-links-wrapper { display: flex; width: 100%; justify-content: center; align-items: center; }
.nav-links { list-style: none; display: flex; gap: 30px; width: 40%; margin: 0; padding: 0; }
.nav-links.left { justify-content: flex-end; padding-right: 80px; }
.nav-links.right { justify-content: flex-start; padding-left: 100px; }
.nav-links a { color: #fff; text-decoration: none; font-weight: bold; font-size: 13px; letter-spacing: 1.5px; transition: 0.3s; }
.nav-links a:hover { color: var(--gold); }

.central-logo img { height: 130px; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -35%); z-index: 10; transition: 0.5s; }

.quote-btn { background: var(--red); color: white; border: none; padding: 10px 20px; font-weight: bold; cursor: pointer; }

/* --- RESPONSIVE MÓVIL (SUAVIDAD) --- */
#check { display: none; }
.checkbtn { display: none; cursor: pointer; flex-direction: column; gap: 5px; z-index: 20; }
.checkbtn span { width: 25px; height: 2px; background: white; transition: 0.4s; }
@media (max-width: 1024px) {
    .checkbtn { display: flex; position: absolute; left: 20px; }
    
    .nav-links-wrapper {
        position: absolute; top: 80px; left: 0; width: 100%;
        flex-direction: column; background: #000;
        /* Centrado de los elementos hijos */
        align-items: center; 
        text-align: center;
        
        max-height: 0; opacity: 0; visibility: hidden; overflow: hidden;
        transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1000;

         .submenu {
        position: static;
        transform: none;
        background: transparent;
        border: none;
        max-height: 0;
        overflow: hidden;
        opacity: 1;
        visibility: visible;
        padding: 0;
    }
    .dropdown:hover .submenu {
        max-height: 500px;
    }
    }

 .brand-name {
        left: 60px; /* Se mueve a la derecha para dejar espacio al menú hamburguesa */
    }
    
    .brand-name img {
        height: 30px;
    }

    /* Opcional: Si el logo central choca, puedes ocultar esta imagen en móviles muy pequeños */
    @media (max-width: 480px) {
        .brand-name { display: none; }
    }





    #check:checked ~ .nav-links-wrapper {
        max-height: 60vh; opacity: 1; visibility: visible; padding: 40px 0;
        border-bottom: 2px solid var(--red);
    }

    /* Forzar que las listas ocupen todo el ancho y se centren */
    .nav-links { width: 100%; flex-direction: column; gap: 25px; align-items: center; }
    .nav-links.left, .nav-links.right { padding: 0; justify-content: center; }

    .nav-links a { font-size: 18px; display: block; width: 100%; }
    .quote-btn { width: 80%; padding: 15px; margin-top: 10px; font-size: 16px; }

    .central-logo { position: static; transform: none; margin-left: auto; margin-right: 20px; }
    .central-logo img { height: 60px; position: static; transform: none; }
    
    /* Animación X */
    #check:checked + .checkbtn span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    #check:checked + .checkbtn span:nth-child(2) { opacity: 0; }
    #check:checked + .checkbtn span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* Estilos para la imagen del nombre a la izquierda */
.brand-name {
    position: absolute;
    left: 5%;
    display: flex;
    align-items: center;
    height: 100%;
}

.brand-name img {
    height: 35px; /* Ajusta según el diseño de tu imagen */
    width: auto;
    transition: 0.4s;
}

/* Efecto al hacer scroll para que también reduzca */
.header-main.scrolled .brand-name img {
    height: 25px;
}
/* Scroll effect */
.header-main.scrolled .top-bar { margin-top: -40px; opacity: 0; }
.header-main.scrolled #main-logo { height: 60px; }



/* Clase que aplicaremos por JS a la bandera activa */
.language-selector img.active {
    filter: grayscale(0);
    transform: scale(1.2);
    border-bottom: 2px solid #fff; /* Opcional: un subrayado sutil */
}

/* Contenedor del dropdown */
.dropdown { position: relative; }

.submenu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #111;
    min-width: 220px;
    list-style: none;
    padding: 10px 0;
    border: 1px solid #333;
    border-top: 2px solid var(--red);
    display: block; /* Para control de animación */
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
    box-shadow: 0 10px 20px rgba(0,0,0,0.5);
}

.submenu li { width: 100%; }

.submenu a {
    padding: 10px 20px;
    display: block;
    font-size: 12px !important;
    text-align: left;
}

.submenu a:hover {
    background: #222;
}

/* Mostrar al hacer hover */
.dropdown:hover .submenu {
    opacity: 1;
    visibility: visible;
    top: 110%;
}




.card-shimmer {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
}

/* Opcional: añade un overlay oscuro para que el texto resalte */
.card-shimmer::before {
    content: "";
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.4); /* Ajusta la opacidad */
    z-index: 1;
}

.card-shimmer h3 {
    position: relative;
    z-index: 2; /* Pone el texto sobre el overlay */
}


/*ppf*/

.services-container { padding:1% 10% 5% 3%; background: #000; }


.tab-btn {
    background: #111;
    border: 1px solid #333;
    padding: 20px;
    color: white;
    cursor: pointer;
    text-align: left;
    transition: 0.3s;
}

.tab-btn.active, .tab-btn:hover {
    border-color: var(--gold);
    box-shadow: inset 0 0 10px rgba(212, 175, 55, 0.2);
}

.btn-title { display: block; font-weight: bold; letter-spacing: 2px; }
.btn-sub { font-size: 10px; color: #888; text-transform: uppercase; }

/* --- DISEÑO BASE (ESCRITORIO) --- */
.services-wrapper {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    margin-top: 40px;
    width: 100%; /* Asegura que ocupe el total */
}

.services-tabs {
    flex: 0 0 300px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.service-display {
    flex: 1;
    background: #0a0a0a;
    border: 1px solid #222;
    padding: 40px;
    min-height: 450px;
}

.tab-content {
    display: none; /* Se activa con la clase .active */
    gap: 30px;
    width: 100%;
}

.tab-content.active {
    display: flex;
}

.service-info, .service-image {
    flex: 1;
}

.service-image img {
    width: 100%;
    max-width: 450px;
    height: auto;
}

/* --- CORRECCIÓN PARA MÓVIL (< 900px) --- */
@media (max-width: 900px) {
    .services-wrapper {
        flex-direction: column;
        align-items: center; /* Centra los hijos */
        gap: 20px;
    }

    .services-tabs {
        flex: none;
        width: 85vw; /* Ocupa el ancho visual del dispositivo */
        flex-direction: row;
        overflow-x: auto;
        padding: 10px 20px;
        justify-content: flex-start; /* Permite el scroll horizontal */
        -webkit-overflow-scrolling: touch;
    }

    /* Evita que el contenedor se desplace a la derecha */
    .service-display {
        width: 95%; /* Pequeño margen lateral */
        flex: none;
        padding: 25px 15px;
        min-height: auto;
        margin: 0 auto; /* Centrado automático */
        box-sizing: border-box; /* Crucial para que el padding no sume ancho */
    }

    .tab-content.active {
        flex-direction: column; /* Apila info e imagen verticalmente */
        align-items: center;
        text-align: center;
    }

    .service-info, .service-image {
        width: 100%;
        flex: none;
    }

    .service-image {
        order: 2; /* Pone la imagen debajo del texto */
        margin-top: 20px;
    }

    .service-image img {
        max-width: 100%; /* No se sale del contenedor */
    }

    /* Reset de listas para que no se peguen a los bordes */
    .check-list {
        text-align: left;
        display: inline-block;
        padding: 0;
        list-style-position: inside;
    }
}
































/* --- LOADER --- */
#loader {
    position: fixed; inset: 0; background: #000; z-index: 10000;
    display: flex; justify-content: center; align-items: center;
}
.loader-content img { width: 100px; animation: pulse 1.5s infinite; }
.loading-bar { width: 100px; height: 2px; background: #222; margin-top: 15px; position: relative; overflow: hidden; }
.loading-bar::after { content: ''; position: absolute; left: -100%; width: 100%; height: 100%; background: var(--gold); animation: load 1.5s infinite; }
@keyframes pulse { 0%, 100% { opacity: 0.5; transform: scale(0.9); } 50% { opacity: 1; transform: scale(1); } }
@keyframes load { 100% { left: 100%; } }























/* --- HERO SECTION --- */
.content-wrapper { padding-top: 180px; }
.hero-section { text-align: center; padding: 0px 20px; }
.spring-tag { color: #4caf50; font-size: 14px; margin-bottom: 20px; letter-spacing: 2px; }
.main-title { 
    font-weight: 400; /* Peso normal para el título principal */
    letter-spacing: 1px; /* Ajuste para el espaciado entre letras */           font-size: clamp(1.5rem, 5vw, 3.5rem); }
.sub-title { color: var(--gold); letter-spacing: 3px; font-size: 13px; margin-top: 15px; }

/* --- GRID Y CARTAS --- */
.grid-services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; padding: 40px 8%; }
.card {
    height: 250px; background: #111; border: 1px solid #222;
    display: flex; align-items: flex-end; justify-content: center;
    padding-bottom: 30px; position: relative; overflow: hidden;
}
.card, .card-shimmer {
    background-size: contain;    /* Escala la imagen para cubrir todo el ancho y alto */
    background-position: center; /* Centra la imagen para que no se corte de un solo lado */
    background-repeat: no-repeat; /* Evita que la imagen se duplique si el div es muy grande */
}



.card:hover { transform: translateY(-10px); border-color: var(--gold); }
.card.wide { grid-column: span 2; }
.gold-edge { border: 1px solid var(--gold); box-shadow: 0 0 20px rgba(212,175,55,0.1); }

/* Brillo Metálico */
.card-shimmer::before {
    content: ''; position: absolute; top: 0; left: -150%; width: 50%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transform: skewX(-20deg);
}
.card:hover::before { left: 150%; transition: 0.8s; }

.quote-btn {/* Colores y Fondo */
  background: linear-gradient(to bottom, #a02020, #801010); /* Degradado rojo */
  background-color: #8b0000; /* Color de respaldo */
  
  /* Texto */
  color: #ffffff;
  font-family: Arial, sans-serif;
  font-size: 12px;
  font-weight: bold;
  text-transform: uppercase;
  text-decoration: none;
  
  /* Espaciado y Dimensiones */
  padding: 8px 30px;
  display: inline-block;
  
  /* Bordes */
  border: .5px solid white;
  border-radius: 2px; /* Bordes casi rectos como en la imagen */
  
  /* Sombra suave */
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
  
  cursor: pointer;
  transition: background 0.3s ease;
}

/* Efecto al pasar el ratón */
.boton-quote:hover {
  background: #a02020;}

/* RESPONSIVE */
@media (max-width: 900px) {
    .nav-menu { display: none; }
    .grid-services { grid-template-columns: 1fr; }
    .card.wide { grid-column: span 1; }
}






/*Seccion reviews*/

    .testimonial-section-wrapper {
        background: radial-gradient(circle at center, #333 0%, #111 90%);  padding: 25px 0;
        width: 100%;
        overflow: hidden;
    }

    .container8 {
        max-width: 1400px;
        margin: 0 auto;
        text-align: center;
        padding: 0 20px;
    }

    .container8 h2 { color: white; margin: 0; }
    .subtitle { color: #bdc3c7; margin-bottom: 20px; }

    .swiper {
        width: 100%;
        padding: 60px 10px 60px !important;
    }

    /* ESTO FUERZA LA LÍNEA HORIZONTAL */
    .swiper-wrapper {
        display: flex;
        flex-direction: row; /* Asegura horizontalidad */
    }

    .swiper-slide {
        height: auto; /* Permite que todas midan lo mismo */
        display: flex;
        justify-content: center;
    }

    .testimonial-card {
        background: #021421;
        color: #333;
        border-radius: 12px;
        padding: 50px 20px 30px;
        text-align: center;
        position: relative;
        box-shadow: 0 10px 30px rgba(0,0,0,0.5);
        transition: transform 0.3s ease;
        display: flex;
        flex-direction: column;
        width: 100%;
        max-width: 320px; /* Evita que crezcan demasiado */
    }

    .testimonial-card:hover {
        transform: scale(1.05);
        z-index: 10;
    }

    .card-content { flex-grow: 1; }

    .avatar {
        width: 75px; height: 75px;
        border-radius: 50%; color: white;
        font-size: 28px; font-weight: bold;
        line-height: 75px; position: absolute;
        top: -38px; left: 50%;
        transform: translateX(-50%);
        border: 6px solid #1c2529;
    }

    .google-icon { position: absolute; top: 15px; left: 15px; width: 18px; }
    .name { font-weight: bold; font-size: 1.1rem; margin-bottom: 5px; color: #2c3e50; }
    .stars { color: #f39c12; margin-bottom: 8px; }
    .date { font-size: 0.8rem; color: #95a5a6; margin-bottom: 15px; }
    .text { font-size: 0.9rem; line-height: 1.5; color: #555; }
    
    .read-more { 
        color: #3498db; 
        text-decoration: underline; 
        font-size: 0.85rem; 
        font-weight: bold;
        margin-top: auto; 
    }

    .swiper-pagination-bullet-active { background: #3498db; }

        @media (max-width: 600px) {
        .avatar {
            width: 50px; 
            height: 50px; 
            line-height: 50px; 
            top: -25px; 
            font-size: 18px;
        }
        .testimonial-card {
            padding: 35px 10px 20px; /* Menos padding lateral */
        }
        .name { font-size: 0.9rem; }
        .stars { font-size: 0.8rem; }
        .text { font-size: 0.75rem; line-height: 1.3; }
        .date { font-size: 0.7rem; }
    }



/* --- Contenedor Dividido 50/50 --- */
.main-container {
    display: flex;
    width: 100%;
    min-height: 100vh; /* Asegura que ocupe toda la pantalla */
    align-items: stretch; /* OBLIGA a que ambos lados midan lo mismo de alto */

}

/* --- Lado Izquierdo: Imagen --- */
.car-display {
   flex: 1; /* Ocupa el 50% del ancho */
    position: relative;
    overflow: hidden; /* Evita que la imagen se salga si es muy grande */
    background-color: #000;
}

.car-display img {
    width: 100%;
    height: 100%; /* OCUPA TODO EL ALTO DEL CONTENEDOR */
    object-fit: cover; /* MANTIENE LA PROPORCIÓN: Recorta pero no deforma */
    object-position: center; /* Centra el auto en el encuadre */
    display: block;
}

/* --- Lado Derecho: Formulario --- */
.form-container {
    flex: 1; /* Ocupa el otro 50% */
    background: black;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center; /* Centra el formulario verticalmente */
}

.form-header {
    text-align: center;
    margin-bottom: 30px;
}

.form-header h2 {
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0 0 10px 0;
    font-size: 1.6rem;
}

.form-header p {
    font-size: 0.85rem;
    color: var(--text-gray);
}

/* Cuadrícula del formulario */
.form-grid {
  display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    max-width: 500px;
    margin: 0 auto;
}

.full-width { grid-column: span 2; }

.form-group { display: flex; flex-direction: column; }

label {
    font-size: 0.7rem;
    margin-bottom: 5px;
    color: var(--text-gray);
    text-transform: uppercase;
}

/* Estilos de inputs (para que se vean bien sobre el fondo) */
input, select, textarea {
    background: rgba(255, 255, 255, 0.1); /* Un poco más de brillo para móvil */
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 12px;
    color: white;
    border-radius: 4px;
    backdrop-filter: blur(5px); /* Efecto cristal esmerilado */
}

input:focus, select:focus, textarea:focus {
    border-color: var(--accent);
}

/* Estilo para las opciones del select en fondo oscuro */
select option {
    background-color: #1a1a1a;
    color: white;
}

textarea { height: 80px; resize: none; }

.btn-submit {
    grid-column: span 2;
    background: linear-gradient(145deg, #e0e0e0 0%, #a0a0a0 50%, #707070 100%);
    border: none;
    border-radius: 5px;
    color: #000;
    padding: 15px;
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 2px;
    cursor: pointer;
    margin-top: 20px;
    transition: all 0.3s ease;
}

.btn-submit:hover {
    background: linear-gradient(145deg, #ffffff 0%, #c0c0c0 50%, #909090 100%);
    transform: scale(1.02);
    box-shadow: 0 6px 20px rgba(192, 192, 192, 0.3);
    color: #111;
}





.btn-submit:hover::after {
    left: 130%;
}












/* --- RESPONSIVO PARA MÓVILES --- */
@media (max-width: 900px) {
   .main-container {
        flex-direction: column;
    }
     /* 1. OCULTAR COMPLETAMENTE EL CONTENEDOR DE LA IMAGEN SUPERIOR */
    .car-display {
        display: none !important; 
    }
     .form-container {
        flex: none;
        min-height: 100vh;
        padding: 40px 20px;
        /* Fondo con imagen + capa oscura (overlay) */
        background-image: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), 
                          url('images/formulario.jpg');
        background-size: cover;
        background-position: center;
        background-attachment: fixed; /* Mantiene la imagen fija al hacer scroll */
    }

   .form-grid {
        grid-template-columns: 1fr; /* Una columna en móvil */
        width: 100%;
    }
    
    .full-width, .btn-submit {
        grid-column: span 1;
    }
}










        /*mapa*/

        .map-container {
    width: 100%;
    /* Borde plateado con degradado para efecto metálico */
    border-top: 4px solid #C0C0C0;
    border-bottom: 4px solid #C0C0C0;
    background: linear-gradient(90deg, #e0e0e0, #ffffff, #e0e0e0);
    
    line-height: 0;
    overflow: hidden;
    
    /* Estado inicial para la animación */
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s ease-out;
}

/* Clase que activará el JS al hacer scroll */
.map-container.active {
    opacity: 1;
    transform: translateY(0);
}

.map-container iframe {
    width: 100%;
    height: 450px;
    filter: grayscale(0.5); /* Opcional: toque sutil de elegancia */
}



/*pie de pagina*/
.main-footer {
    background: #111; /* Color base oscuro */
    background-image: radial-gradient(circle at center, #222 0%, #000 100%);
    color: #fff;
    padding: 60px 5% 20px;
    font-family: 'Arial', sans-serif;
    border-top: 1px solid #333;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-column { flex: 1; min-width: 250px; }
/* Alineación de la columna branding */
.branding {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start; /* Alineado a la izquierda en desktop */
}

/* Branding */
.branding h2 { font-size: 40px; letter-spacing: 5px; margin: 10px 0 0; }
.branding p { font-size: 12px; letter-spacing: 2px; color: #888; }
.footer-logo { height: 80px; filter: drop-shadow(0 0 10px rgba(255,255,255,0.2)); }

/* Info y Horarios */
.info h3 { font-size: 18px; margin-bottom: 20px; color: #fff; }
.info p { font-size: 14px; margin: 8px 0; color: #ccc; }
.info a { font-size: 14px; margin: 8px 0; color: #ccc; }
.hours { margin-top: 20px; border-left: 2px solid #444; padding-left: 15px; }

/* Redes Sociales */
.social-icons { display: flex; gap: 15px; justify-content: flex-end; }
.social-icons img { width: 30px; filter: invert(1); opacity: 0.7; transition: 0.3s; }
.social-icons img:hover { opacity: 1; transform: scale(1.1); }

/* Barra de Partners */
.partners-bar {
     display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px; /* Un poco más de espacio se ve más elegante */
    padding: 40px 20px;
    margin-top: 40px;
    border-top: 1px solid #222;
    flex-wrap: wrap; /* Importante para móviles */
}

.partners-bar img:hover { 
    filter: grayscale(0) opacity(1); 
    transform: scale(1.1); /* Efecto de zoom ligero */
}

/* Estilo especial para tu logo (Mini Shield) */
.partners-bar img.mini-shield {
    height: 70px; /* Un poco más grande que los partners */
    filter: none; /* Que siempre se vea con sus colores originales */
}

/* Ajuste para pantallas pequeñas */
@media (max-width: 600px) {
    .partners-bar {
        gap: 30px;
    }
    .partners-bar img {
        height: 40px;
    }
}
.partners-bar img { height: 60px; filter: grayscale(1) brightness(1.5); transition: 0.3s; }

.mini-shield { height: 45px !important; }

/* Copyright */
.copyright {
    text-align: center;
    font-size: 11px;
    color: #555;
    margin-top: 20px;
}

/* Responsive */
@media (max-width: 768px) {
      .branding {
        align-items: center; /* Centrado en móviles */
        margin-bottom: 30px;
    }
    
    .footer-brand-img {
        max-width: 220px;
    }
    .footer-content { flex-direction: column; text-align: center; }
    .social-icons { justify-content: center; }
    .hours { border: none; padding: 0; }
}
/* Estilo para la imagen del logo completo */
.footer-brand-img {
    max-width: 280px;
    height: auto;
    display: block;
    /* Un ligero filtro para resaltar el aspecto metálico del PNG original */
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.15)) contrast(1.1);
}

.footer-brand-img:hover {
    transform: scale(1.02); /* Efecto sutil al pasar el mouse */
    filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.2));
}
/* Contenedor necesario para recortar el brillo */
.logo-shimmer-wrapper {
    position: relative;
    display: inline-block;
    overflow: hidden;
    line-height: 0;
}

/* El efecto de brillo (la franja de luz) */
.logo-shimmer-wrapper::before {
    content: "";
    position: absolute;
    top: 0;
    left: -150%; /* Empieza fuera de la vista a la izquierda */
    width: 50%;
    height: 100%;
    background: linear-gradient(
        to right, 
        rgba(255, 255, 255, 0) 0%, 
        rgba(255, 255, 255, 0.4) 50%, 
        rgba(255, 255, 255, 0) 100%
    );
    transform: skewX(-25deg); /* Inclinación para look deportivo/metálico */
    transition: 0s;
    animation: shimmer 4s infinite; /* Se repite cada 4 segundos */
}

/* Animación del movimiento */
@keyframes shimmer {
    0% { left: -150%; }
    30% { left: 150%; } /* Cruza rápido el logo */
    100% { left: 150%; } /* Pausa larga antes de volver a empezar */
}




/*ceramic*/
.detailing-section {
   background: radial-gradient(circle at center, #333 0%, #111 90%);
    color: #fff;
    padding: 80px 5% 10px 5%;
    font-family: 'Segoe UI', sans-serif;
}

.section-header { text-align: center; margin-bottom: 50px; padding:3% }
.section-header h1 { font-size: 3rem; letter-spacing: 5px; text-transform: uppercase; margin-bottom: 10px; }
.sub-features { color: #ffc40b; font-size: 0.9rem; font-weight: 300; }
.dot { color: #C0C0C0; margin: 0 15px; }

.pricing-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
    max-width: 1300px;
    margin: 0 auto;
}

/* Estilo de la Card Plateada */
.price-card {
   position: relative;
    background: #0a0a0a;
    border: 1px solid #333; /* Borde oscuro por defecto */
    border-radius: 20px;
    padding: 60px 30px 30px;
    margin-top: 50px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1); /* Transición suave */
    cursor: pointer;
}
/* Contenedor del escudo */
.card-badge {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%); /* Lo mueve 50% arriba y 50% a la izquierda */
    z-index: 10;
}

.badge-circle {
     width: 80px;
    height: 80px;
    background: #000; 
    border: 2px solid #C0C0C0; 
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 15;

    /* --- EFECTO DE RESPLANDOR (GLOW) --- */
    box-shadow: 
        0 0 15px rgba(192, 192, 192, 0.4), /* Brillo externo plateado */
        inset 0 0 10px rgba(255, 255, 255, 0.1); /* Brillo interno sutil */
    
    /* Animación opcional para que el brillo "respire" */
    animation: glow-pulse 3s infinite ease-in-out;
}

.badge-circle img {
    width: 45px;
    height: auto;
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.5));
}
.price-card:hover {
    border-color: #C0C0C0;
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(192, 192, 192, 0.1);
}

.card-header h3 {
    color: #fff;
    border-bottom: 2px solid #C0C0C0;
    padding-bottom: 15px;
    margin-bottom: 25px;
    letter-spacing: 1px;
}

/* Estilo del Título (exacto a tu captura) */
.card-title {
    color: #fff;
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.title-separator {
    border: 0;
    height: 1px;
    background: #444; /* Línea gris sutil */
    margin-bottom: 30px;
}

/* Animación del resplandor */
@keyframes glow-pulse {
    0% { 
        box-shadow: 0 0 15px rgba(192, 192, 192, 0.3); 
        border-color: #A0A0A0;
    }
    50% { 
        box-shadow: 0 0 25px rgba(255, 255, 255, 0.6); 
        border-color: #FFFFFF;
    }
    100% { 
        box-shadow: 0 0 15px rgba(192, 192, 192, 0.3); 
        border-color: #A0A0A0;
    }
}


.card-logo {
    position: absolute;
    top: -35px; /* Sube el logo a la mitad del borde */
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 70px;
    background: #000; /* Fondo negro para que resalte sobre el borde */
    border: 2px solid #C0C0C0; /* Borde plateado circular */
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
    box-shadow: 0 5px 15px rgba(0,0,0,0.8);
}

.card-logo img {
    width: 45px;
    height: auto;
    filter: drop-shadow(0 0 5px rgba(192, 192, 192, 0.5));
}


/* Listado de precios */
.pricing-list { margin-bottom: 30px; }
.price-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #222;
}
.price-item span { font-size: 0.85rem; color: #ccc; }
.price-item small { color: #888; display: block; margin-top: 4px; }
.price { font-weight: bold; color: #fff; }

/* Beneficios (Checks) */
.features { list-style: none; padding: 0; }
.features li {
    font-size: 0.85rem;
    margin-bottom: 12px;
    padding-left: 25px;
    position: relative;
    color: #bbb;
}
.features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #C0C0C0; /* Plateado para los checks */
    font-weight: bold;
}

.note { font-size: 0.75rem; color: #777; margin-top: 25px; font-style: italic; }

/* Ajuste móvil */
@media (max-width: 768px) {
    .section-header h1 { font-size: 2rem; }
    .sub-features { display: flex; flex-direction: column; gap: 10px; }
    .dot { display: none; }
}

.card-footer {
    margin-top: 30px;
    display: flex;       /* Alinea en fila */
    gap: 15px;           /* Espacio entre botones */
    justify-content: center; /* Centra el grupo */
}

.btn-silver {
   flex: 1;             /* Hace que ambos midan lo mismo */
    max-width: 200px;    /* Opcional: para que no se estiren demasiado */
    /* width: 100%; */   /* <--- ELIMINA O COMENTA ESTA LÍNEA */
    padding: 9px 7px;
    background: linear-gradient(145deg, #e0e0e0 0%, #a0a0a0 50%, #707070 100%);
    border: none;
    border-radius: 5px;
    color: #000;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.7rem;
    cursor: pointer;
    transition: all 0.4s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-silver:hover {
    background: linear-gradient(145deg, #ffffff 0%, #c0c0c0 50%, #909090 100%);
    transform: scale(1.02);
    box-shadow: 0 6px 20px rgba(192, 192, 192, 0.3);
    color: #111;
}

/* Efecto de brillo rápido al pasar el mouse */
.btn-silver::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 20%;
    height: 200%;
    background: rgba(255, 255, 255, 0.4);
    transform: rotate(30deg);
    transition: all 0.5s;
}

.btn-silver:hover::after {
    left: 130%;
}


/*Aviacion*/

.aviation-services {
    background: #000;
    padding: 0px 5%;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.service-poster {
    background: linear-gradient(180deg, rgba(20,20,20,1) 0%, rgba(10,10,10,1) 100%);
    border: 1px solid #444; /* Borde fino plateado */
    position: relative;
    overflow: hidden;
    transition: 0.5s;
    display: flex;
    flex-direction: column;
}

/* El brillo plateado al pasar el mouse */
.service-poster:hover {
    border-color: #C0C0C0;
    box-shadow: 0 0 30px rgba(192, 192, 192, 0.2);
    transform: scale(1.02);
}

/* Badge Superior */
.poster-badge {
    padding: 20px 0;
    text-align: center;
    border-bottom: 1px solid #222;
}
.poster-badge img { width: 50px; filter: drop-shadow(0 0 10px rgba(255,255,255,0.2)); }

/* Título superior */
.poster-header {
    padding: 0px;
    text-align: center;
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.poster-header h2 {
    font-size: 1.8rem;
    color: #fff;
    font-weight: 300;
    letter-spacing: 2px;
}

/* Imagen Central */
.poster-img {
    width: 100%;
    height: 250px;
    overflow: hidden;
    border-top: 1px solid #333;
    border-bottom: 1px solid #333;
}
.poster-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.8s;
}
.service-poster:hover .poster-img img { transform: scale(1.1); }

/* Cuerpo de texto */
.poster-body {
    padding: 30px;
    background: rgba(255,255,255,0.02);
    flex-grow: 1;
}
.poster-body h3 {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 20px;
    text-align: center;
    border-bottom: 1px solid #444;
    padding-bottom: 10px;
}

/* Listas */
.poster-body ul { list-style: none; padding: 0; }
.poster-body li {
    color: #ccc;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 15px;
    padding-left: 25px;
    position: relative;
}



/* Viñetas simples para el primer servicio */
.poster-body ul:not(.check-list) li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #888;
}






/*Redes sociales*/

.seccion-parallax {
  /* EFECTO PARALLAX: La imagen se queda fija mientras el contenido sube */
  background-image: url('images/bannerredes.png');
  height: 100vh;
  background-attachment: fixed; /* Esto crea el movimiento lento/fijo */
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
}

.overlay {
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.2); /* Oscurece levemente la imagen */
  display: flex;
  justify-content: flex-end; /* Alinea a la derecha en escritorio */
  align-items: center;
  padding: 0 10%;
  box-sizing: border-box;
}

/* Definición de los movimientos (Keyframes) */
@keyframes latido {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.contenido-derecha {
  color: white;
  font-family: 'Segoe UI', sans-serif;
  text-align: center;

  max-width: 400px;
}
.contenido-derecha {
  opacity: 0;
  transform: translateX(50px); /* Un poco más de recorrido para que se note el efecto */
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.contenido-derecha.animar {
  opacity: 1;
  transform: translateX(0);
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}


.texto-redes {
  font-size: 2.2rem;
  font-weight: 300;
  margin-bottom: 30px;
  letter-spacing: 1px;
}

.fila-iconos {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 50px;
}

.icon-png {
  width: 40px;
  height: auto;
  transition: transform 0.3s ease;
}

.icon-png:hover {transform: translateY(-8px) scale(1.1); /* Sube un poco más y se agranda */
  filter: drop-shadow(0 5px 15px rgba(255, 255, 255, 0.4)); /* Brillo suave */
}

.contenedor-fresha {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.texto-agenda {
  font-size: 1.6rem;
  font-weight: 300;
}

.fresha-png {
   height: 35px;
  transition: transform 0.3s ease, filter 0.3s ease;
  animation: latido 3s infinite ease-in-out; /* Animación constante para llamar la atención */

}

.fresha-png:hover {
  transform: scale(1.15); /* Crece al pasar el mouse */
  filter: brightness(1.2); /* Se ilumina */
  animation-play-state: paused; /* Se detiene el latido al interactuar */
}

/* RESPONSIVE: Ajustes para Móviles */
@media (max-width: 768px) {
  .seccion-parallax {
    background-attachment: scroll; /* El parallax suele fallar en móviles, es mejor scroll suave */
    background-position: 35% center; /* Mueve un poco la imagen para que el Tesla se vea tras el texto */
  }

  .overlay {
    justify-content: center; /* Centra el texto en pantallas pequeñas */
    padding: 0 20px;
  }

  .texto-redes {
    font-size: 1.8rem;
  }

  .fila-iconos {
    gap: 15px;
  }

  .texto-agenda {
    font-size: 1.3rem;
  }
}





/*gallery*/
.seccion-galeria {
  background-color: #000; /* Fondo negro como la imagen */
  padding: 60px 20px;
  text-align: center;
  font-family: 'Segoe UI', sans-serif;
}

.encabezado-galeria {
  margin-bottom: 40px;
}

.logo-galeria {
  width: 120px;
  display: block;
  margin: 0 auto 10px;
}

.titulo-galeria {
  color: white;
  font-size: 2.5rem;
  font-weight: 400;
  letter-spacing: 2px;
}

/* Configuracion del Grid */
.contenedor-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr); /* 5 columnas iguales */
  gap: 15px; /* Espacio entre fotos */
  max-width: 1200px;
  margin: 0 auto;
}

.item-galeria {
  overflow: hidden; /* Corta la imagen si crece con el hover */
  aspect-ratio: 1 / 1; /* Mantiene las fotos cuadradas */
  background-color: #111;
}

.item-galeria img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ajusta la imagen sin deformarla */
  transition: transform 0.5s ease, filter 0.5s ease;
  filter: brightness(0.9);
}

/* Efecto al pasar el mouse */
.item-galeria:hover img {
  transform: scale(1.1);
  filter: brightness(1.1);
  cursor: pointer;
}

/* RESPONSIVE: Ajustes para tablets y móviles */
@media (max-width: 1024px) {
  .contenedor-grid { grid-template-columns: repeat(3, 1fr); } /* 3 columnas */
}

@media (max-width: 600px) {
  .contenedor-grid { grid-template-columns: repeat(2, 1fr); } /* 2 columnas */
}
/* Ventana principal del Lightbox */
.lightbox {
  display: none; /* JS lo cambiará a 'flex' */
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.95); /* Casi opaco para resaltar la foto */
  cursor: pointer;
   backdrop-filter: blur(5px);
  
  /* ESTO ES CLAVE PARA CENTRAR */
  justify-content: center;
  align-items: center;
  flex-direction: column;
     user-select: none; /* Evita que se seleccione el texto al hacer clic rápido */

}


/* Imagen ampliada */
/* --- ESTILOS DEL LIGHTBOX (ACABADO PROFESIONAL) --- */
.lightbox {
    display: none; /* Se activa con JS */
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(8px); /* Efecto de desenfoque de fondo */
    justify-content: center;
    align-items: center;
    flex-direction: column;
    user-select: none;
}

/* Imagen Ampliada con Efecto de Transición */
.contenido-lightbox {
    max-width: 85%;
    max-height: 80vh;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.8);
    
    /* Configuración para el cambio suave del JS */
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.4s ease, transform 0.4s ease;
    object-fit: contain;
}

/* Botones de Navegación (Flechas) */
.prev-btn, .next-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.5); /* Color tenue por defecto */
    font-size: 60px;
    padding: 30px;
    cursor: pointer;
    z-index: 10001;
    transition: all 0.3s ease;
}

.prev-btn { left: 10px; }
.next-btn { right: 10px; }

.prev-btn:hover, .next-btn:hover {
    color: #fff;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
    transform: translateY(-50%) scale(1.1);
}

/* Botón Cerrar */
.cerrar-lightbox {
    position: absolute;
    top: 30px;
    right: 40px;
    color: white;
    font-size: 45px;
    font-weight: 200;
    cursor: pointer;
    line-height: 1;
    transition: transform 0.3s ease;
}

.cerrar-lightbox:hover {
    transform: rotate(90deg);
}

/* Texto debajo de la imagen */
#caption {
    margin-top: 20px;
    color: #aaa;
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-align: center;
}

/* Ajustes para móviles */
@media (max-width: 768px) {
    .prev-btn, .next-btn {
        font-size: 40px;
        padding: 15px;
        background: rgba(0, 0, 0, 0.3); /* Fondo para que se vean sobre la foto */
        border-radius: 50%;
    }
    .contenido-lightbox {
        max-width: 95%;
    }
}



/*foto dueños*/


.detailing-team {
    max-width: 1100px;
    margin: 40px auto;
}

.profile-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 80px;
    align-items: center;
}

.profile-container.reverse {
    flex-direction: row-reverse;
}

.profile-image {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.profile-image img {
    width: 100%;
    max-width: 400px;
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.profile-info {
    margin-top: 15px;
}

.profile-info h3 {
    color: #d4af37; /* Tono dorado/amarillo para nombres */
    margin: 0;
    letter-spacing: 2px;
}

.role {
    color: #d4af37;
    font-size: 0.9em;
    font-weight: bold;
}

.profile-text {
    flex: 1.5;
    min-width: 300px;
}

.profile-text ul {
    list-style-type: none;
    padding: 0;
}

.profile-text ul li::before {
    content: "•";
    color: #d4af37;
    font-weight: bold;
    display: inline-block; 
    width: 1em;
}

.slogan {
    font-weight: bold;
    border-left: 3px solid #d4af37;
    padding-left: 15px;
    margin-top: 20px;
}

/* Responsividad para móviles */
@media (max-width: 768px) {
    .profile-container, .profile-container.reverse {
        flex-direction: column;
    }
}

/* Agrega esto a tu style.css */

.img-wrapper {
    overflow: hidden; /* Corta el exceso del zoom */
    border-radius: 4px;
    position: relative;
}

.img-wrapper img {
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), filter 0.6s ease;
    display: block;
    width: 100%;
}

/* Efecto al pasar el mouse */
.img-wrapper:hover img {
    transform: scale(1.08); /* Zoom suave */
    filter: brightness(1.1); /* Brillo sutil */
}

/* Animación sutil para las listas */
.profile-text li {
    transition: transform 0.3s ease;
}

.profile-text li:hover {
    transform: translateX(10px); /* El punto se mueve a la derecha */
    color: #fff;
}
/* Agrega esto a tu style.css */
.profile-container {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s ease-out, transform 1s ease-out;
    will-change: opacity, transform;
}
/* 2. Clase que aplicará el JavaScript al hacer scroll */
.profile-container.visible {
    opacity: 1;
    transform: translateY(0);
}

/* 3. Opcional: Retraso para el segundo perfil (Adam) para un efecto escalonado */
.profile-container.reverse.visible {
    transition-delay: 0.2s;
}
@keyframes aparecer {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
