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

/* CONTENEDOR */
.container{
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===============================
   BARRA FIJA (HEADER NUEVO)
=============================== */
.header-fixed{
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);

    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 18px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;

    background: transparent;  
    transition: background 0.3s ease, backdrop-filter 0.3s ease;
    z-index: 999;
}

.header-fixed.scrolled{
    background: rgba(76,139,187,0.70); 
    backdrop-filter: blur(70px);
    -webkit-backdrop-filter: blur(70px);
}

/* LOGO */
.logo img{
    height: 34px;
    width: auto;
}

/* ICONO MENÚ */
label[for="menu"]{
    position: absolute;
    right: 20px;
    top: 18px;
    cursor: pointer;
    display: none;
}

label[for="menu"] img{
    width: 50px;
    height: auto;
}


/* MENÚ NORMAL (ESCRITORIO) */
.navbar ul{
    display: flex;
    gap: 30px;
    list-style: none;

    /* color para WEB */
    background: transparent;  /* ← aquí pones el color del menú grande */
    padding: 0;
}

.navbar ul li a{
    color: #f01919eb;
    font-size: 14px;
    font-family: "Roboto", sans-serif;
    font-weight: 400;
    text-decoration: none;
    position: relative;
    padding-top: 14px;
}

/* ===============================
   LÍNEAS SUPERIORES DEL MENÚ
=============================== */
.navbar ul li a::before{
    content: "";
    position: absolute;
    top: 0;          
    left: 0;
    width: 100%;
    height: 2px;
    background: #f00b0b;
    opacity: 0.4;
    transition: 0.3s ease;
}

.navbar ul li a:hover::before{
    opacity: 1;
}

.navbar ul li a.active::before{
    height: 4px;
    opacity: 1;
}

/* Checkbox oculto */
@media (max-width: 800px) {
    .navbar ul {
        display: none;
    }
}


/* ===============================
   MENÚ RESPONSIVE
=============================== */
@media (max-width: 800px){

    label[for="menu"]{ 
        display: block;
    }

    /* MENÚ MÁS GRANDE Y CÓMODO EN CELULAR */
    .navbar ul{
        position: absolute;
        top: 110px;
        right: 20px;

        /* color solo para celular */
        background: #0000000a;
        backdrop-filter: blur(10px);

        width: 300px;             /* ← antes 240px (más ancho) */
        flex-direction: column;
        gap: 30px;                /* ← antes 25px (más separación entre enlaces) */
        text-align: right;
        border-radius: 18px;      /* ← leve ajuste estético */
        padding: 30px 28px;       /* ← antes 25px 24px (más espacio interior) */

        display: none;
    }

    #menu:checked ~ .navbar ul{
        display: flex;
    }
}

@media (max-width: 800px){

    /* FORZAR color del texto en CELULAR */
    .navbar ul li a{
        color: white !important;
    }

    /* FORZAR color de la línea superior */
    .navbar ul li a::before{
        background: white !important;
        opacity: 0.4;
    }
}


/* ===============================
   HEADER CON VIDEO
=============================== */

.header{
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.video-fondo{
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

/* MEJOR DEGRADADO PARA LEER TEXTO */
.overlay-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 75%;
    background: linear-gradient(
        to top,
        rgba(0,0,0,1),
        rgba(0,0,0,1),
        rgba(0,0,0,0.85),
        rgba(0,0,0,0.55),
        rgba(0,0,0,0.25),
        rgba(0,0,0,0)
    );
    z-index: -1;
}

.header-content{
    position: absolute;
    top: 84%; /* posición general */
    left: 34%;
    transform: translate(-50%, -50%);
    text-align: left;
    color: white;
}

.titulo{
    font-family: "Roboto", sans-serif;
    font-size: 50px; /* tamaño base desktop */
    font-weight: bold;
}

.slogan{
    font-family: "Roboto", sans-serif;
    font-size: 26px;
    margin-top: 18px;
    font-weight: normal;
}
@media (max-width: 900px){
    .header-content{
        padding: 0 18px;
        left: 50%;
        width: 100%;
        top: 83%; /* antes 81% → más abajo solo en celular */
        transform: translate(-50%, -50%);
    }

    .titulo{
        font-size: 26px;
        line-height: 1.25;
    }

    .slogan{
        font-size: 16px;
        margin-top: 12px;
    }
}
/* Ajustes SOLO para computadores grandes */
@media (min-width: 1200px){

    .titulo{
        font-size: 44px;
        line-height: 1.15;
    }

    .slogan{
        font-size: 24px;
        margin-top: 8px;
        line-height: 1.2;
    }
}




.WA_Chat_Widget *{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}
.WA_Chat_Widget .WA_FloatingButton{
    position: fixed;
    width: 70px;
    height: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 10px 0px rgba(0, 0, 0, 0.185);
    border-radius: 50%;
    background: #fff;
    cursor: pointer;
    z-index: 1000;
}
.WA_Chat_Widget .WA_FloatingButton svg{
    width: 40px;
    height: 40px;
    fill: #4fce5d;
}
.WA_Chat_Widget[data-position^="top-"] .WA_FloatingButton{
    top: 20px;
}
.WA_Chat_Widget[data-position^="bottom-"] .WA_FloatingButton{
    bottom: 20px;
}
.WA_Chat_Widget[data-position$="-left"] .WA_FloatingButton{
    left: 20px;
}
.WA_Chat_Widget[data-position$="-right"] .WA_FloatingButton{
    right: 20px;
}
.WA_Chat_Widget[data-position$="-center"] .WA_FloatingButton{
    left: 50%;
    transform: translateX(-50%);
}
.WA_Chat_Widget[data-position^="top-"] .WA_ChatBox{
    top: 110px;
}
.WA_Chat_Widget[data-position^="bottom-"] .WA_ChatBox{
    bottom: 110px;
}
.WA_Chat_Widget[data-position$="-left"] .WA_ChatBox{
    left: 30px;
}
.WA_Chat_Widget[data-position$="-right"] .WA_ChatBox{
    right: 30px;
}
.WA_Chat_Widget[data-position$="-center"] .WA_ChatBox{
    left: 50%;
    transform: translateX(-50%);
}
.WA_Chat_Widget .WA_ChatBox{
    position: fixed;
    width: 360px;
    height: auto;
    overflow: hidden;
    border-radius: 8px;
    background-color: #fff;
    box-shadow: 0 5px 25px 0px rgba(0, 0, 0, 0.1);
    display: none;
}
.WA_Chat_Widget .WA_ChatBox .WA_ChatBox_Header{
    width: auto;
    background: #095e54;
    padding: 20px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}
.WA_Chat_Widget .WA_ChatBox .WA_ChatBox_Header .avatarBox{
    width: 65px;
    height: 65px;
    border-radius: 50%;
    overflow: hidden;
}
.WA_Chat_Widget .WA_ChatBox .WA_ChatBox_Header .avatarBox img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.WA_Chat_Widget .WA_ChatBox .WA_ChatBox_Header .infoBox .name{
    color: #fff;
    font-weight: 600;
}
.WA_Chat_Widget .WA_ChatBox .WA_ChatBox_Header .infoBox .answer_time{
    color: #e4e4e4;
    font-size: 14px;
}
.WA_Chat_Widget .WA_ChatBox .WA_ChatBox_Header .WA_Close{
    background: transparent;
    color: #fff;
    border: none;
    outline: none;
    font-size: 20px;
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
}
.WA_Chat_Widget .WA_ChatBox .WA_ChatBox_Header .WA_Close svg{
    fill: #ffff;
}
.WA_Chat_Widget .WA_ChatBox .WA_ChatBox_Body{
    padding: 20px;
    background: #e6ddd4;
    position: relative;
}
.WA_Chat_Widget .WA_ChatBox .WA_ChatBox_Body::before{
    content: '';
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    background: url(./bg-pattern.png);
    opacity: 0.1;
    z-index: 0;
}
.WA_Chat_Widget .WA_ChatBox .WA_ChatBox_Body .message{
    max-width: 280px;
    background: #fff;
    padding: 20px;
    padding-top: 10px;
    border-radius: 8px;
    z-index: 1;
    position: relative;
}
.WA_Chat_Widget .WA_ChatBox .WA_ChatBox_Body .message::before{
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: #fff;
    left: -10px;
    top: 0px;
    border-radius: 3px;
    clip-path: polygon(100% 0, 0 0, 100% 100%);
}
.WA_Chat_Widget .WA_ChatBox .WA_ChatBox_Body .message .username{
    color: darkgray;
    font-weight: 500;
}
.WA_Chat_Widget .WA_ChatBox .WA_ChatBox_Body .message .message_content{
    font-size: 14px;
    color: #000;
}
.WA_Chat_Widget .WA_ChatBox .WA_ChatBox_Footer{
    padding: 20px;
    background-color: #fff;
    width: 100%;
}
.WA_Chat_Widget .WA_ChatBox .WA_ChatBox_Footer .btn{
    width: 100%;
    outline: none;
    border: none;
    padding: 10px;
    border-radius: 1000px;
    font-size: 16px;
    cursor: pointer;
    text-decoration: none;
}
.WA_Chat_Widget .WA_ChatBox .WA_ChatBox_Footer .btn.btn-whatsapp{
    background: #095e54;
    color: #fff;
    display: block;
    text-align: center;
}

/* ======= BURBUJA DE TEXTO ======= */
.WA_Bubble {
    position: fixed;
    bottom: 35px;
    right: 100px;
    background: white;
    padding: 10px 18px;
    border-radius: 30px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.18);
    font-size: 15px;
    cursor: pointer;     /* AHORA ES BOTÓN REAL */
    z-index: 999;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* ÍCONO - ahora siempre se ve bien */
.WA_FloatingButton svg {
    width: 55%;
    height: 55%;
    object-fit: contain;
    fill: #4fce5d;
}

/* OCULTAR EN CELULARES */
@media (max-width: 768px) {
    .WA_Bubble {
        display: none !important;
    }
}



/* ===============================
   BOTÓN MENÚ HAMBURGUESA ANIMADO
=============================== */
/* Las 3 líneas */
.menu-icon div {
    height: 0px;     
    width: 100%;
    background-color: #000000;
    border-radius: 0px;
    transition: 0.3s;
    margin: 2px 0;    /* <-- AQUÍ ESTÁ EL GROSOR REAL */
}




/* Para evitar animación inicial */
.no-animation {
    animation: none !important;
}

/* Animaciones de entrada */


/* ANIMACIÓN PERFECTA PARA LA X */
.menu-icon.active .line-1 {
    transform: translateY(10px) rotate(45deg);
}

.menu-icon.active .line-2 {
    opacity: 0;
}

.menu-icon.active .line-3 {
    transform: translateY(-10px) rotate(-45deg);
}


/* ABRIR (→ X) */
.menu-icon.active div{
    background: black !important;
}
@keyframes animate-line-1 {
    
    0% { transform: translateY(0) rotate(0); }
    50% { transform: translateY(8px) rotate(0); }
    100% { transform: translateY(8px) rotate(45deg); }
    
}

@keyframes animate-line-2 {
    from { opacity: 1; }
    to { opacity: 0; }
}

@keyframes animate-line-3 {
    0% { transform: translateY(0) rotate(0); }
    50% { transform: translateY(-8px) rotate(0); }
    100% { transform: translateY(-8px) rotate(-45deg); }
}

/* CERRAR (X → líneas) */
@keyframes animate-line-1-rev {
    0% { transform: translateY(8px) rotate(45deg); }
    100% { transform: translateY(0) rotate(0); }
}

@keyframes animate-line-2-rev {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

@keyframes animate-line-3-rev {
    0% { transform: translateY(-8px) rotate(-45deg); }
    100% { transform: translateY(0) rotate(0); }
}




/* CONTENEDOR: TEXTO + ICONO */
.menu-toggle {
    display: flex;
    align-items: center;
    gap: 12px;  /* separación entre "MENU" y las 3 líneas */
    cursor: pointer;
    position: absolute;
    right: 25px;
    top: 18px;
    z-index: 300;
}

/* TEXTO MENU */
.menu-text {
    font-family: "Roboto", sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: rgb(0, 0, 0);
    letter-spacing: 1px;
    text-shadow: 0 2px 4px rgba(254, 252, 252, 0.4);
}


/* Ícono hamburguesa */
.menu-icon {
    width: 40px;         /* ← aumenta esto para hacerlas más grandes */
    height: 28px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Separación de las líneas */
.menu-icon div {
    height: 4px;         /* ← grosor líneas (súbelo si quieres más grueso) */
    background: #000000;
    border-radius: 4px;
    transition: .3s;
}
/* Contenedor del texto + icono */
.menu-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Texto MENU */
.menu-text {
    font-size: 24px;
    font-weight: 700;
    color: #000000;
}


/* OCULTAR ÍCONO Y TEXTO MENU EN PANTALLAS GRANDES */
.menu-toggle {
    display: none;
}

/* MOSTRAR SOLO EN CELULARES Y TABLETS */
@media (max-width: 800px) {
    .menu-toggle {
        display: flex;
        align-items: center;
        gap: 8px;
    }

    /* Ocultar menú normal cuando es responsivo */
    .navbar ul {
        display: none;
    }
}



/* ===============================
   SECCIÓN "LLEVAMOS AÑOS..."
=============================== */

.about-section{
    width: 100%;
    padding: 60px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    text-align: center;
    background: #000000;   /* 🔥 color nuevo aquí */
}


.about-header{
    display: flex;
    align-items: center;
    gap: 20px;
}

.about-header h2{
    font-size: 38px;
    font-weight: bold;
    font-family: "Roboto", sans-serif;
    line-height: 1.2;
    color: #1a1a1a;
}

.about-icon{
    width: 80px;
    height: auto;
    opacity: 0.9;
}

/* Caja que contiene la imagen */
.about-image-box{
    width: 40%;
    max-width: 1100px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    background: white;
    border: 8px solid white;
}

.about-image-box img{
    width: 100%;
    height: auto;
    display: block;
}

/* Responsive */
@media (max-width: 900px){
    .about-header{
        flex-direction: column;
        gap: 10px;
    }

    .about-header h2{
        font-size: 28px;
    }

    .about-icon{
        width: 60px;
    }
}
/* ===============================
   SECCIÓN ABOUT
=============================== */

.about-section {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    padding: 80px 10%;
    background: #FBFBFB;
}

.about-content {
    flex: 1;
}

.about-content h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #2a2a2a;
}

.about-content p {
    font-size: 18px;
    line-height: 1.6;
    color: #444;
}

/* IMAGEN */
.about-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.about-image img {
    width: 100%;
    max-width: 480px;     /* 🔥 controla el tamaño máximo en web */
    border-radius: 12px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.2);
    object-fit: cover;
}

/* ===============================
   RESPONSIVE (MÓVIL)
=============================== */

@media (max-width: 900px) {
    .about-section {
        flex-direction: column;
        text-align: center;
        padding: 50px 20px;
    }

    .about-content h2 {
        font-size: 28px;
    }

    .about-content p {
        font-size: 16px;
    }

    .about-image img {
        max-width: 330px;  /* 🔥 tamaño perfecto para móvil */
    }
}




/* ============================
   SECCIÓN SERVICIOS
============================ */

.servicios-section {
    width: 100%;
    padding: 80px 20px;
    max-width: 1200px;
    margin: auto;
}

.servicios-title {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 40px;
}

.servicios-title .linea {
    width: 30px;
    height: 45px;
    border-left: 4px solid #000;
    border-radius: 2px;
}

.servicios-section h2 {
    font-size: 32px;
    letter-spacing: 3px;
    font-weight: 700;
    font-family: "Roboto", sans-serif;
}

/* LISTA DE SERVICIOS */
.servicios-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.servicio-item {
    display: flex;
    align-items: center;
    gap: 14px;
}

.servicio-item p {
    font-size: 26px;
    font-weight: 400;
    font-family: "Roboto", sans-serif;
}

/* Estilo del punto */
.bullet {
    width: 12px;
    height: 12px;
    background: #000;
    border-radius: 50%;
}

/* ============================
   ANIMACIÓN SUAVE
============================ */

.fade-in {
    opacity: 0;
    transform: translateY(15px);
    animation: fadeSlide 0.8s ease forwards;
}

.fade-in:nth-child(2) { animation-delay: .15s; }
.fade-in:nth-child(3) { animation-delay: .3s; }

@keyframes fadeSlide {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================
        RESPONSIVE
============================ */

@media (max-width: 768px) {
    .servicios-section h2 {
        font-size: 26px;
    }
    .servicio-item p {
        font-size: 20px;
    }
    .bullet {
        width: 10px;
        height: 10px;
    }
}

/* ===============================
   SECCIÓN SERVICIOS - PRO
=============================== */

.services-section {
    width: 100%;
    padding: 80px 20px;
    background: #FBFBFB;
    text-align: center;
}

.services-title {
    font-size: 38px;
    font-weight: 700;
    letter-spacing: 4px;
    margin-bottom: 60px;
    position: relative;
}

.services-title::before {
    content: "";
    width: 60px;
    height: 4px;
    background: #000;
    position: absolute;
    left: 50%;
    top: -20px;
    transform: translateX(-50%);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
    max-width: 1100px;
    margin: 0 auto;
}

/* CARD */
.service-card {
    padding: 40px 30px;
    border-radius: 14px;
    background: #f4f4f4;
    border: 1px solid #e0e0e0;
    transition: all 0.35s ease;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
    opacity: 0;
    transform: translateY(40px);
    animation: fadeUp 0.8s ease forwards;
}

/* Animación: aparece al cargar */
@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-card h3 {
    font-size: 22px;
    font-weight: 600;
    color: #111;
}

/* Hover efecto profesional */
.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
    border-color: #c6c6c6;
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .services-grid {
        grid-template-columns: 1fr;
    }

    .services-title {
        font-size: 30px;
    }
}




/* ===============================
   GALERÍA PROFESIONAL
=============================== */
body {
  margin: 0;
  background: #FBFBFB;
}

.gallery-section {
   width: auto;
   padding: 80px;
   background: #FBFBFB;
}

.section-title {
   font-family: "Roboto", sans-serif;
   font-size: 32px;
   font-weight: 700;
}




/* Grid responsive */
.gallery-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(4, 1fr);
}
.gallery-item {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 8px;
  padding: 6px;
  overflow: hidden;
  cursor: pointer;
  transition: transform .22s ease, box-shadow .22s ease;
}
.gallery-item img{
  display:block;
  width:100%;
  height:auto;           /* ← EL CAMBIO IMPORTANTE */
  aspect-ratio: 4/3;     /* ← Tamaño agradable en celular */
  object-fit: cover;
  border-radius: 10px;
}
@media(max-width: 900px){
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .gallery-item img {
    aspect-ratio: 4/3;   /* llena más espacio vertical */
    height: auto;
  }
}

.gallery-item:hover{
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.12);
}

/* responsiveness */
@media (max-width:1200px){
  .gallery-grid { grid-template-columns: repeat(3,1fr); }
  .gallery-item img{ height:200px; }
}
@media (max-width:800px){
  .gallery-grid { grid-template-columns: repeat(2,1fr); }
  .gallery-item img{ height:170px; }
}
@media (max-width:480px){
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item img{ height:240px; object-fit:cover; }
}

/* ---- Lightbox ---- */
#lightbox { display:none; position:fixed; inset:0; z-index:20000; align-items:center; justify-content:center; }
.lb-backdrop {
  position: absolute; inset:0; background: rgba(0,0,0,0.7);
}
.lb-content {
  position: relative;
  max-width: 1100px;
  width: calc(100% - 40px);
  margin: 32px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:16px;
  pointer-events: none; /* children override */
}
.lb-image-wrap {
  pointer-events: auto;
  width: 100%;
  background: #fff;
  border-radius:10px;
  padding: 18px;
  box-shadow: 0 18px 40px rgba(0,0,0,0.3);
  display:flex;
  align-items:center;
  justify-content:center;
  position:relative;
}
.lb-image-wrap img{
  max-width:100%;
  max-height:75vh;
  width:auto;
  height:auto;
  display:block;
  border-radius:6px;
}

/* controls */
  .lb-close{
  background: none;   /* Quita el cuadrado */
  box-shadow: none;   /* Sin sombra */
  padding: 0;         /* Quita espacio */
  border: none;
  font-size: 28px;    /* Se ve más limpia la X */
  color: #fff;        /* X blanca */
  cursor: pointer;
}

.lb-close { top: -10px; right: -10px; }
.lb-prev { left: -50px; top: 50%; transform: translateY(-50%); font-size:30px; }
.lb-next { right: -50px; top: 50%; transform: translateY(-50%); font-size:30px; }

/* counter */
.lb-counter {
  position: absolute;
  bottom: 8px;
  right: 12px;
  font-size: 13px;
  color: rgba(0,0,0,0.6);
}
.lb-counter{
  display: none !important;
}


/* mobile positions for prev/next */
@media (max-width:700px){
  .lb-prev { left: 8px; }
  .lb-next { right: 8px; }
  .lb-close { right: 8px; top: 8px; }
  .lb-image-wrap { padding: 12px; }
}




/* Fix: eliminar cuadrado del botón cerrar */
.lb-close{
  background: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  border: none !important;
  font-size: 0px !important;
  color: #ffffff !important;
  cursor: pointer;
}

/* Fix: ocultar contador (2/4) */
.lb-counter{
  display: none !important;
}





/* FIX REAL PARA FLECHAS DEL LIGHTBOX */
.lb-prev,
.lb-next,
.lb-close {
  position: absolute !important;
  z-index: 999999 !important;
  pointer-events: auto !important;
}

/* Evitar que la imagen bloquee clics */
.lb-image-wrap,
.lb-content {
  pointer-events: none !important;
}

.lb-prev,
.lb-next,
.lb-close {
  pointer-events: auto !important;
}
.lb-prev,
.lb-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 99999;
  width: 44px;
  height: 44px;

  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(6px);
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.25);

  color: white;
  font-size: 28px;
  font-weight: 300;
  cursor: pointer;

  display: flex;
  align-items: center;
  justify-content: center;

  transition: 0.2s ease;
}

.lb-prev:hover,
.lb-next:hover {
  background: rgba(255,255,255,0.25);
  transform: translateY(-50%) scale(1.12);
}

.lb-prev { left: 20px; }
.lb-next { right: 20px; }

.lb-close {
  position: absolute;
  top: 25px;
  right: 25px;
  width: 40px;
  height: 40px;

  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(6px);
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.25);

  font-size: 22px;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;

  cursor: pointer;
  z-index: 99999;
  transition: 0.2s ease;
}

.lb-close:hover {
  background: rgba(255,255,255,0.25);
  transform: scale(1.12);
}


.lb-prev,
.lb-next,
.lb-close {
  outline: none !important;
  border: none !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  box-shadow: none !important;
}


/* AJUSTE SOLO PARA FOTOS VERTICALES EN MINIATURA */
.vertical-fix {
  object-fit: cover !important;
  object-position: center -35px !important; /* SUBE LA FOTO */
  height: 220px !important;
  width: 100% !important;
  border-radius: 10px;
  display: block;
}





/* OPCIÓN B: mostrar círculo + X visible (funcional) */
.lb-close {
  position: absolute !important;
  top: 20px !important;
  right: 20px !important;
  width: 38px !important;
  height: 38px !important;
  background: rgba(0,0,0,0.55) !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  z-index: 999999 !important;
  border: none !important;
  cursor: pointer !important;
  /* asegúrate de no tener font-size:0 en reglas anteriores */
  font-size: 20px !important;
  color: #fff !important;
}

/* Si el botón está vacío, inserta la X con ::before */
.lb-close::before {
  content: "✕" !important;
  font-size: 20px !important;
  line-height: 1 !important;
  color: #fff !important;
  display: block !important;
}







/* ======================
   SECCIÓN CLIENTES PRO
====================== */

.clientes-section {
  padding: 110px 20px;
  background: #000000e5;
}

.clientes-container {
  max-width: 1350px;
  margin: auto;
  text-align: center;
}

.clientes-title-box {
  margin-bottom: 60px;
}

.clientes-title {
  font-size: 50px;
  color: #fff;
  font-weight: 700;
  margin-bottom: 10px;
}

.clientes-subtitle {
  font-size: 26px;
  color: #cccccc;
}

/* GRID DE LOGOS */
.clientes-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 55px;
}

/* 🔥 CUADROS UNIFORMES Y CENTRADOS */
.cliente-item {
  background: #111;
  border-radius: 14px;
  padding: 25px;
  transition: 0.25s ease;
  border: 1px solid #222;

  width: 240px;   /* tamaño uniforme */
  height: 170px;  /* tamaño uniforme */

  display: flex;
  align-items: center;
  justify-content: center;

  overflow: hidden; /* evita que un logo gigante se salga */
}

.cliente-item:hover {
  transform: translateY(-8px);
  background: #161616;
  box-shadow: 0 0 25px rgba(255, 255, 255, 0.07);
}

/* 🔥 LOGOS AJUSTADOS DE FORMA RESPONSABLE */
.cliente-item img {
  max-height: 110px;  /* límite máximo */
  max-width: 90%;     /* evita estiramiento horizontal */
  object-fit: contain; /* mantiene proporciones reales */

  opacity: 0.8;
  filter: grayscale(100%);
  transition: 0.25s ease;
}

.cliente-item:hover img {
  opacity: 1;
  filter: grayscale(0%);
}

/* RESPONSIVE */
@media (max-width: 600px) {
  .cliente-item {
    width: 180px;
    height: 140px;
  }

  .cliente-item img {
    max-height: 80px;
  }
}

/* 🔥 Solo cambiar tamaño del logo 2 */
.cliente-item:nth-child(2) img {
  max-height: 1050% !important; /* ajusta aquí el tamaño */
  max-width: 100% !important;
  object-fit: contain !important;
}





/* ======================
     FOOTER EMPRESA
====================== */

.footer-empresa {
  background: #0b0b0b;
  padding: 70px 25px 40px;
  color: #ccc;
  margin-top: 120px;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-container {
  max-width: 1350px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
}

.footer-col h3,
.footer-col h4 {
  color: #fff;
  margin-bottom: 15px;
  font-weight: 700;
}

.footer-col p {
  margin: 5px 0;
  font-size: 17px;
}

.footer-bottom {
  text-align: center;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid #666;  /* gris medio visible */
  font-size: 15px;
  color: #888;
}

/* RESPONSIVE */
@media (max-width: 700px) {
  .footer-container {
    flex-direction: column;
    text-align: center;
  }
}



/* =========================
   PANEL TRABAJA - Estilos
   ========================= */

.footer-trabaja-wrapper { text-align:center; margin: 28px 0; }

/* botón pequeño del footer (si ya tienes uno, usalo o reemplaza) */
.btn-trabaja-footer {
  background: #e63946;
  color: #fff;
  border: none;
  padding: 10px 18px;
  font-weight: 700;
  border-radius: 6px;
  cursor: pointer;
  font-size: 15px;
  transition: transform .12s ease, box-shadow .12s ease;
}
.btn-trabaja-footer:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(230,57,70,0.12); }

/* Panel y backdrop */
.trabaja-panel { 
  position: fixed;
  inset: 0;
  display: none;            /* se muestra por JS */
  align-items: center;
  justify-content: flex-end;
  z-index: 22000;
}

.trabaja-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(2px);
}

/* panel deslizable */
.trabaja-content {
  position: relative;
  width: 820px;
  max-width: 96%;
  height: 100%;
  background: linear-gradient(180deg,#0f0f0f,#0b0b0b);
  box-shadow: -24px 0 60px rgba(0,0,0,0.6);
  display: flex;
  gap: 0;
  align-items: center;
  padding: 48px;
  transform: translateX(100%); /* fuera de pantalla */
  transition: transform .36s cubic-bezier(.2,.9,.3,1);
  border-left: 1px solid rgba(255,255,255,0.03);
}

/* cuando se abre (JS añade clase .open) */
.trabaja-panel.open { display:flex; }
.trabaja-panel.open .trabaja-content { transform: translateX(0); }

/* close button (círculo arriba derecha) */
.trabaja-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.18);
  background: transparent;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .12s ease, transform .12s ease;
}
.trabaja-close:hover { background: rgba(255,255,255,0.04); transform: scale(1.04); }

/* layout interno */
.trabaja-left { flex: 1 1 60%; padding-right: 28px; color: #e6e6e6; }
.trabaja-left h3 { font-size: 34px; margin: 0 0 12px; color: #fff; }
.trabaja-left .muted { color: #cfcfcf; margin-bottom: 18px; font-size: 18px; }
.trabaja-left p { color: #bfbfbf; line-height: 1.6; margin-bottom: 22px; }

/* actions */
.trabaja-actions { margin-top: 12px; }
.btn-mail {
  display: inline-block;
  background: #fff;
  color: #0b0b0b;
  padding: 14px 22px;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 8px 30px rgba(0,0,0,0.25);
  transition: transform .12s ease, box-shadow .12s ease;
}
.btn-mail:hover { transform: translateY(-4px); box-shadow: 0 14px 36px rgba(0,0,0,0.32); }

/* derecha: imagen / icono */
.trabaja-right { flex: 0 0 260px; display:flex; align-items:center; justify-content:center; }
.trabaja-right img { max-width: 220px; width:100%; height:auto; opacity: 0.98; }

/* responsive: panel vertical en móviles */
@media (max-width:880px) {
  .trabaja-content { flex-direction: column; align-items:flex-start; padding: 30px; height: auto; max-height: 92%; overflow:auto; transform: translateY(100%); justify-content:flex-start; width: 96%; }
  .trabaja-panel.open .trabaja-content { transform: translateY(0); }
  .trabaja-right { order: -1; width:100%; display:flex; margin-bottom: 14px; justify-content:center; }
  .trabaja-left { padding-right:0; }
}



/* CONTENEDOR DEL BOTÓN */
.footer-trabaja-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
  margin: 30px 0 40px;
}

/* BOTÓN ELEGANTE – Gris/Beige */
.btn-trabaja-footer {
  background: #e6e1d9;          /* beige claro moderno */
  color: #000;
  padding: 14px 32px;
  font-size: 18px;
  font-weight: 600;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: 0.25s ease;
  box-shadow: 0 0 10px rgba(255,255,255,0.05);
}

.btn-trabaja-footer:hover {
  background: #f0ede8;          /* más claro al pasar el mouse */
  transform: translateY(-2px);
}



/* Ajuste del tamaño del logo en el panel Trabaja con Nosotros */
.trabaja-right {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-top: 0px; /* puedes reducir o subir este valor */
}
/* ===== AJUSTE SOLO PARA CELULAR DEL PANEL TRABAJA ===== */
@media (max-width: 600px) {

  /* Subir el contenido izquierdo (texto, descripción, botón) */
  .trabaja-left {
    margin-top: -40px;   /* súbelo más si quieres */
  }

  /* Subir el botón Enviar por correo */
  .trabaja-actions {
    margin-top: -20px;   /* ajustable */
  }

  /* Subir el panel completo si lo quieres más arriba */
  .trabaja-content {
    margin-top: -225px;   /* ajustable, súbelo o bájalo */
  }
}








.lb-prev,
.lb-next {
    background: rgba(0, 0, 0, 0.55) !important;  /* fondo oscuro visible */
    color: white !important;                    /* flecha blanca */
    border-radius: 50% !important;              /* forma redonda */
    width: 40px !important;
    height: 40px !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
}

/* ===============================
   SEPARADOR GRADIENTE PREMIUM
=============================== */
.separator-gradient {
    width: 100%;
    max-width: 1000px;
    height: 2px;
    margin: 90px auto;
    background: linear-gradient(to right, transparent, rgba(0,0,0,0.2), transparent);
}









/* ============================================================
   PALETA CORPORATIVA – SOLO NEGRO, BLANCO Y GRIS
   ============================================================ */

/* ---------- 1. MENU Y HEADER ---------- */

.menu-text {
    color: #FFFFFF;
}
.menu-icon div {
    background: #FFFFFF;
}
.menu-icon.active div {
    background: #FFFFFF !important;
}

/* ---------- 2. ABOUT ("Llevamos años...") ---------- */

.about-section {
    background: #FBFBFB; /* blanco */
}
.about-content h2,
.about-content p {
    color: #000000;
}

/* ---------- 3. SERVICIOS ---------- */

.services-section {
    background: #E7E7E7; /* gris claro */
}

.service-card {
    background: #FFFFFF;
    border: 1px solid rgba(0,0,0,0.08);
}

.service-card h3 {
    color: #000000;
}

/* Hover profesional sin color */
.service-card:hover {
    border-color: rgba(0,0,0,0.25);
    box-shadow: 0 0 18px rgba(0,0,0,0.15);
}

/* ---------- 4. CLIENTES ---------- */

.clientes-section {
    background: #0B0B0B;
}

.clientes-title {
    color: #FFFFFF;
}
.clientes-subtitle {
    color: #E7E7E7;
}

.cliente-item {
    background: #111111;
}

.cliente-item img {
    filter: grayscale(100%);
}

/* ---------- 5. GALERÍA ---------- */

.gallery-section {
    background: #FBFBFB;
}

.section-title {
    color: #000000;
}

.gallery-item {
    background: #FFFFFF;
    border: 1px solid rgba(0,0,0,0.08);
}

/* Lightbox */
.lb-backdrop {
    background: rgba(0,0,0,0.70);
}

.lb-prev,
.lb-next {
    background: rgba(0,0,0,0.35);
    color: #FFFFFF;
}

.lb-prev:hover,
.lb-next:hover {
    background: rgba(0,0,0,0.55);
}

/* ---------- 6. FOOTER ---------- */

.footer-empresa {
    background: #0E0E0E;
    color: #E7E7E7;
}

.footer-col h3,
.footer-col h4 {
    color: #FFFFFF;
}

.footer-bottom {
    color: #CCCCCC;
}

/* Botón Trabaja con Nosotros (neutral premium) */
.btn-trabaja-footer {
    background: #E7E7E7;
    color: #000000;
}

.btn-trabaja-footer:hover {
    background: #D9D9D9;
}

/* ---------- 7. SEPARADORES ---------- */

.separator-gradient {
    background: linear-gradient(to right, transparent, rgba(0,0,0,0.20), transparent);
}

/* ---------- 8. LINKS ACTIVE ---------- */

.navbar ul li a.active,
.navbar ul li a:hover {
    color: #000000 !important; /* negro elegante */
}






/* ============================================================
   1. FUENTE GLOBAL FORZADA
============================================================ */

* {
    font-family: "Roboto", sans-serif !important;
}


/* ============================================================
   2. TIPOGRAFÍA PROFESIONAL
============================================================ */

body {
    font-size: 16px;
    color: #000;
    line-height: 1.55;
    letter-spacing: 0.2px;
}

h1 {
    font-size: 2.2rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

h2 {
    font-size: 1.7rem;
    font-weight: 600;
}

h3 {
    font-size: 1.25rem;
    font-weight: 500;
}

@media (max-width: 800px) {
    h1 { font-size: 1.8rem; }
    h2 { font-size: 1.35rem; }
    h3 { font-size: 1.05rem; }
}


/* ============================================================
   3. ALTURA REAL REDUCIDA EN TODAS LAS SECCIONES (MENOS SCROLL)
============================================================ */

section {
    padding-top: 25px !important;
    padding-bottom: 25px !important;
}

@media (max-width: 800px) {
    section {
        padding-top: 18px !important;
        padding-bottom: 18px !important;
    }
}


/* ============================================================
   4. ABOUT — “Llevamos años ofreciendo…”
============================================================ */

.about-section {
    max-width: 900px;
    margin: 1px auto;     /* 🔥 ALTURA SUPERIOR + INFERIOR (PUEDES CAMBIARLO) */
    padding: 20px 20px;    /* 🔥 ESPACIO INTERNO QUE AUMENTA ALTURA */
    text-align: center;
}

.about-section h2 {
    font-size: 1.9rem;
    margin-bottom: 15px;   /* ESPACIO ENTRE EL TEXTO Y LA IMAGEN */
}

.about-image img {
    width: 360px;
    border-radius: 14px;
    box-shadow: 0 4px 18px rgba(0,0,0,0.15);
}


/* ============================================================
   5. SERVICIOS — Fondo más alto + tarjetas compactas
============================================================ */

.services-section {
    background: #E7E7E7;
    padding-top: 60px !important;     /* fondo más largo */
    padding-bottom: 60px !important;
}

.services-title {
    margin-bottom: 40px !important;
}

.services-grid {
    max-width: 1100px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px,1fr));
    gap: 22px;
}

.service-card {
    padding: 22px 18px !important;   /* compactas */
    background: #FFFFFF;
    border-radius: 12px;
    border: 1px solid rgba(0,0,0,0.08);
}


/* ============================================================
   6. CLIENTES — Compacto
============================================================ */

.clientes-section {
    padding-top: 25px !important;
    padding-bottom: 25px !important;
}

.clientes-title-box {
    margin-bottom: 25px !important;
}

.clientes-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 22px !important;
}


/* ============================================================
   7. GALERÍA — 
============================================================ */

.gallery-section {
    padding-top: 25px !important;
    padding-bottom: 25px !important;
}

.gallery-grid {
    max-width: 11000px;
    margin: auto;
    gap: 12px !important;
}

.gallery-item img {
    height: 190px !important;
    object-fit: cover;
    border-radius: 8px;
}

@media (max-width: 800px) {
    .gallery-item img {
        height: 100px !important;
    }
}


/* ============================================================
   8. FOOTER — compacto
============================================================ */

.footer-empresa {
    padding-top: 25px !important;
    padding-bottom: 15px !important;
}

.footer-bottom {
    margin-top: 12px !important;
    font-size: 14px;
}






/* ==========================================
   FORZAR COLOR NEGRO AL MENÚ Y LAS 3 LÍNEAS
========================================== */

.menu-text {
    color: #121212 !important;
}

.menu-icon div {
    background: #121212 !important;
}

.menu-icon.active div {
    background: #000 !important; /* X en negro */
}

.navbar ul li a {
    color: #393838 !important;
}

/* Evitar filtros que blanquean iconos */
.menu img,
.logo img {
    filter: none !important;
}



/* ===== COLORES DEL MENÚ EN VERSION WEB ===== */
.navbar ul{
    background: transparent;       /* o el color que quieras para web */
}

.navbar ul li a{
    color: #000000;                /* texto en web */
}

.navbar ul li a::before{
    background: #000000;           /* línea superior en web */
}

.navbar ul li a:hover{
    color: #000000;                /* hover web */
}



@media (max-width: 800px){

    /* MENÚ EN CELULAR */
    .navbar ul{
        background: #000000df;    /* ← color FONDO men ú en celular */
        backdrop-filter: blur(10px);
    }

    .navbar ul li a{
        color: rgb(186, 186, 186) !important;  /* ← texto del menú en celular */
    }

    .navbar ul li a::before{
        background: rgb(255, 255, 255) !important;  /* ← línea superior en celular */
    }

    .navbar ul li a:hover{
        color: #ffffff !important;     /* hover en celular */
    }

    .navbar ul li a.active {
        color: rgb(246, 246, 246) !important;          /* ← color del texto ACTIVO en celular */
    }

    .navbar ul li a.active::before {
        background: rgb(214, 214, 214) !important;     /* ← línea activa en celular */
    }
}

.header-shadow-divider {
    position: relative;
}

.header-shadow-divider::after {
    content: "";
    position: absolute;
    right: -20px;     /* distancia desde el texto hacia la sombra */
    top: 0;
    height: 100%;
    width: 2px;       /* grosor base */
    background: rgba(0,0,0,0.3); /* color sombra */
    filter: blur(6px); /* ← esto crea la sombra difusa */
}


.left-wrapper {
    display: flex;
    align-items: center;
    gap: 22px;
}

.menu-separator {
    width: 2px;
    height: 46px;
    background: rgba(0,0,0,0.35);
    border-radius: 20px;
    box-shadow:
        0 0 6px rgba(0,0,0,0.45),
        0 0 4px rgba(0,0,0,0.25);
}

@media (max-width: 800px) {
    .menu-separator {
        display: none;
    }
}
.header-shadow-divider {
    position: relative;
}

.header-shadow-divider::after {
    content: "";
    position: absolute;

    right: -18px;         /* distancia hacia el costado */
    top: 0;
    height: 100%;
    width: 2px;

    background: rgba(0,0,0,0.35);
    filter: blur(6px);    /* ← SOMBRA DIFUSA */
}
.header-divider {
    width: 2px;
    height: 75%; /* Ajustable */
    background: rgba(0,0,0,0.45);
    filter: blur(2px);  /* da ese efecto suave */
    margin: 0 20px;
}






/* menú oculto por defecto en móvil */
.navbar ul {
    display: none;
}

/* línea vertical completa */
.header-divider {
    width: 2px;
    height: 100%;
    background: rgba(0,0,0,0.45);
    filter: blur(2px);
    margin-left: 18px;
}




@media (max-width: 800px) {
    .header-fixed::after {
        content: "";
        position: absolute;
        right: 0;
        top: 0;
        width: 160px;      /* ancho del rectángulo */
        height: 100%;
        background: transparent;
        box-shadow:
            inset 12px 0 18px rgba(0, 0, 0, 0.091),
            inset -12px 0 18px rgba(255, 255, 255, 0.067);
        pointer-events: none;
        z-index: 1;
    }
}
/* ================================
   FIX COMPLETO MENÚ EN COMPUTADOR
   ================================ */

/* 1. el menú siempre visible en pantallas grandes */
@media (min-width: 801px) {
    .navbar ul {
        display: flex !important;
        gap: 30px;
    }
}

/* 2. el menú solo se oculta en celular (no en PC) */
@media (max-width: 800px) {
    .navbar ul {
        display: none;
    }
}

/* 3. evitar que el rectángulo del header tape el menú */
.navbar {
    position: relative;
    z-index: 20 !important;
}

.navbar ul {
    position: relative;
    z-index: 20 !important;
}

/* 4. asegurar que el texto del menú sea clickeable */
.navbar ul li a {
    position: relative;
    z-index: 25 !important;
}




/* OCULTAR SIEMPRE EL CHECKBOX DEL MENÚ EN TODA LA WEB */
#menu {
    appearance: none !important;
    -webkit-appearance: none !important;
    display: none !important;
    position: absolute !important;
    opacity: 0 !important;
    pointer-events: none !important;
}
/* =============================
   FIX: QUE EL MENÚ NO EXPANDA EL ENCABEZADO
   ============================= */

/* El header NO debe crecer nunca */
.header-fixed {
    height: 80px;                 /* ajusta si quieres otro alto */
    overflow: visible !important; /* evita que se estire */
}

/* El menú desplegable flota sobre la página */
@media (max-width: 800px) {
    .navbar ul {
        position: fixed !important;   /* deja de depender del header */
        top: 90px !important;         /* debajo del encabezado */
        right: 20px;
        width: 300px;
        border-radius: 22px;
        z-index: 9999 !important;

        background: rgba(0,0,0,0.82) !important;
        backdrop-filter: blur(15px) !important;

        padding: 30px 30px;
        display: none;
    }

    #menu:checked ~ .navbar ul {
        display: flex !important;
    }
}
video::-webkit-media-controls {
    display: none !important;
}

video {
    object-fit: cover !important;
    pointer-events: none !important;
}
/* Imagen fallback mientras carga el video */
.fallback-img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    top: 0;
    left: 0;
    z-index: -3; /* detrás del video */
}

/* Video ajustado correctamente como fondo */
.video-fondo {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    top: 0;
    left: 0;
    z-index: -2;
}

/* GALERÍA */
.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  padding: 0 20px 40px;
}

.gallery img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

/* En pantallas grandes (PC) pasa a 4 columnas */
@media (min-width: 768px) {
  .gallery {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }
}
.clients-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  padding: 0 20px 40px;
}

.clients-grid img {
  width: 100%;
  height: auto;
  background: #111;
  border-radius: 12px;
  padding: 16px;
  object-fit: contain;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

/* En PC pasa a 4 logos por fila */
@media (min-width: 768px) {
  .clients-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
  }
}










/* CLIENTES → grid en 2 columnas en celular */
.clientes-logos {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  padding: 10px 20px 30px;
}

/* Cada logo */
.cliente-item img {
  width: 100%;
  height: auto;
  background: #111;
  padding: 16px;
  border-radius: 12px;
  object-fit: contain;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

/* En computadores → 4 columnas */
@media (min-width: 900px) {
  .clientes-logos {
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
  }
}
/* GALERÍA → grid en 2 columnas mobile */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  padding: 10px 20px 40px;
}

.gallery-item img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

/* En PC → 4 columnas */
@media (min-width: 900px) {
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }
}
/* ROMPER restricciones de tamaño en imágenes de la galería */
.gallery-grid img,
.gallery-item img,
.gallery-item {
    height: auto !important;
    max-height: none !important;
    min-height: unset !important;
    aspect-ratio: unset !important;
    padding: 0 !important;
}
/* ============================
   GALERÍA — SOLO CELULAR
   (pantallas desde 0px hasta 900px)
============================ */
@media (max-width: 900px) {

  /* Grid más grande y con columnas que llenan la pantalla */
  .gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;              /* separa más las fotos */
    padding: 0 22px;        /* más margen a los lados */
  }

  /* Aumentamos el tamaño del recuadro */
  .gallery-item {
    padding: 0;
    background: #fff;
    border-radius: 14px;
    overflow: hidden;

    /* ⬆️⬆️⬆️ ESTE ES EL TRUCO: hacer el recuadro más grande */
    min-height: 180px;     
    height: auto;          
  }

  /* Aumentamos el tamaño de la imagen dentro del recuadro */
  .gallery-item img {
    width: 100%;
    height: 180px;           /* ← aquí crece la foto */
    object-fit: cover;
    border-radius: 14px;
  }
}



/* ============================
   GALERÍA — SOLO PC
   (pantallas mayores a 900px)
============================ */
@media (min-width: 901px) {

  /* Volvemos a la grilla original de 4 columnas */
  .gallery-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 18px !important;
  }

  /* Volvemos a tus imágenes originales */
  .gallery-item img {
    width: 100% !important;
    height: 220px !important;   /* TU ALTURA ORIGINAL */
    object-fit: cover !important;
    border-radius: 8px !important;
  }
}
/* ============================
   FIX FINAL — GALERÍA ESTABLE
============================ */

/* Reset solo de la galería, sin romper tamaños */
.gallery-item {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  padding: 0;
}

/* PC — 4 columnas */
@media (min-width: 901px) {

  .gallery-grid {
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 20px !important;
    padding: 0 20px !important;
  }

  .gallery-item img {
    width: 100% !important;
    height: 220px !important;
    object-fit: cover !important;
    border-radius: 12px !important;
  }
}

/* CELULAR — 2 columnas y fotos más grandes */
@media (max-width: 900px) {

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 18px !important;
    padding: 0 22px !important;
  }

  .gallery-item img {
    width: 100% !important;
    height: 180px !important;
    object-fit: cover !important;
    border-radius: 12px !important;
  }
}
/* ============================
   FIX ANCHO — GALERÍA SOLO CELULAR
============================ */
@media (max-width: 900px) {

  /* La galería usa todo el ancho real */
  .gallery-section {
    padding: 0 10px !important;
    width: 100% !important;
  }

  /* Cada tarjeta más ancha */
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px !important;
    width: 100% !important;
  }

  /* Recuadro más ancho */
  .gallery-item {
    width: 100% !important;
    border-radius: 16px !important;
  }

  /* Imagen más ancha */
  .gallery-item img {
    width: 100% !important;
    height: 190px !important;  /* Puedes subirlo si quieres más grande */
    border-radius: 16px !important;
    object-fit: cover !important;
  }
}
/* ======= CENTRAR TÍTULO "Galería" ======= */

/* Contenedor de la sección */
.gallery-section {
    padding-left: 0 !important;
    padding-right: 0 !important;
    text-align: center !important;   /* Centra el h2 */
}

/* El texto "Galería" */
.gallery-section .section-title {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
    width: 100%;
    display: block;
}
/* ===== FIX: centrar y llenar bien todas las fotos de la galería ===== */

.gallery-item {
  position: relative;
  overflow: hidden;         /* nada se sale de la tarjeta */
}

/* todas las fotos llenan su tarjeta sin dejar huecos */
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* arreglo extra para la foto vertical (bus) */
.vertical-fix {
  height: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
}

/* BAJAR VIDEO EN CELULAR */
@media (max-width: 768px) {
    .header {
        height: 78vh !important;   /* antes 100vh */
    }
}
/* SUBIR EL TEXTO EN CELULAR */
@media (max-width: 768px) {
    .header-content {
        top: 88% !important;   /* antes 84% */
    }
}
/* AGRANDAR SOLO LA FOTO DEL LOGO EN CELULAR */
@media (max-width: 600px) {
  .cliente-item img {
    max-height: 110px !important;  /* antes 80px — más grande */
    width: 100% !important;
    object-fit: contain !important;
  }
}





/* ---- VIDEO GENERAL ---- */
.video-fondo {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

/* Mostrar SOLO el video de PC */
.video-pc { display: block; }
.video-mobile { display: none; }

/* ==========================================
   CAMBIO AUTOMÁTICO EN CELULAR REAL
========================================== */
@media screen and (max-width: 767px) and (orientation: portrait) {
  .video-pc { display: none; }
  .video-mobile { display: block; }
}

/* ==========================================
   SI EL TELÉFONO SE GIRA → usar video móvil igual
========================================== */
@media screen and (max-width: 900px) and (orientation: landscape) {
  .video-pc { display: none; }
  .video-mobile { display: block; }
}
/* ARREGLAR PANEL "TRABAJA CON NOSOTROS" EN CELULAR */
@media (max-width: 600px) {

  /* Baja un poco el panel completo */
  .trabaja-content {
    margin-top: 40px !important;
  }

  /* Mover la X hacia adentro para que siempre sea visible */
  .trabaja-close {
    top: 10px !important;
    right: 10px !important;
    font-size: 28px !important;  /* un poco más grande si quieres */
    z-index: 9999 !important;
  }
}



/* Estado base: gris */
.cliente-item img {
  filter: grayscale(100%);
  opacity: 0.6;
  transition: filter 2.8s ease, opacity 2.8s ease;
}

/* Estado coloreado */
.cliente-item.color img {
  filter: grayscale(0%);
  opacity: 1;
}










/* para que la pagina no se muevaa los lados */
html, body {
    overflow-x: hidden !important;
    width: 100%;
}

/* Evitar que algo rompa el ancho en celular */
* {
    max-width: 100vw;
}

/* Asegura que imágenes y videos no generen exceso de ancho */
img, video {
    max-width: 100%;
    display: block;
}
/* HEADER */
.header {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

/* VIDEO */
.video-fondo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: -1;
  pointer-events: none;
}




.header {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

/* VIDEO */
.video-fondo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: -1;
  pointer-events: none;
}

/* FALLBACK — SOLO CELULAR SI EL VIDEO NO FUNCIONA */
.fondo-fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none;
  z-index: -2;
  pointer-events: none;
}



/* ==========================================
   FONDO ÚNICO PARA TODA LA PÁGINA
   (menos CLIENTES y FOOTER)
   ========================================== */

/* colores que puedes cambiar tú */
:root {
  --page-bg-light: #fbfbfb;      /* color de toda la página en modo claro */
  --page-bg-dark:  #e8e8e8;      /* color de toda la página en modo oscuro */

  --wa-icon-light: #ffffff;      /* logo whatsapp en modo claro (blanco) */
  --wa-icon-dark:  #4FCE5D;      /* logo whatsapp en modo oscuro (verde) */

  --wa-bg-light: #4FCE5D;        /* fondo botón whatsapp claro (verde) */
  --wa-bg-dark:  #000000;        /* fondo botón whatsapp oscuro (negro) */

  --lb-bg-light: rgba(230,230,230,0.95); /* recuadro lightbox modo claro */
  --lb-bg-dark:  rgba(32,32,32,0.95);    /* recuadro lightbox modo oscuro */
}

/* asignar según tema */
:root {
  --page-bg: var(--page-bg-light);

  --wa-icon-color: var(--wa-icon-light);
  --wa-bg-color: var(--wa-bg-light);

  --lb-bg: var(--lb-bg-light);
}

:root[data-theme="dark"] {
  --page-bg: var(--page-bg-dark);

  --wa-icon-color: var(--wa-icon-dark);  /* logo verde */
  --wa-bg-color: var(--wa-bg-dark);      /* círculo negro */

  --lb-bg: var(--lb-bg-dark);
}

/* cuerpo de la página con un solo color */
body {
  background-color: var(--page-bg) !important;
}

/* ==========================================
   TODAS LAS SECCIONES USAN EL FONDO DEL BODY
   (no tocamos CLIENTES ni FOOTER)
   ========================================== */

/* secciones del inicio */
.header {
  background-color: transparent !important;
}

.about-section,
.services-section,
.gallery-section,
.separator-gradient {
  background-color: transparent !important;
}

/* páginas internas */
.acerca-wrapper,
.flota-hero,
.flota-descripcion,
.flota-imagen,
.flota-certificado {
  background-color: transparent !important;
}

/* ==========================================
   LIGHTBOX DE GALERÍA
   ========================================== */

.lb-content,
.lb-image-wrap {
  background: var(--lb-bg) !important;
}

/* ==========================================
   BOTÓN FLOTANTE DE WHATSAPP
   ========================================== */

/* color del logo (svg) */
.WA_Chat_Widget .WA_FloatingButton svg,
.WA_Chat_Widget .WA_FloatingButton svg path {
  fill: var(--wa-icon-color) !important;
}

/* color del círculo */
.WA_Chat_Widget .WA_FloatingButton {
  background-color: var(--wa-bg-color) !important;
}









/* 🎄 ESFERA NAVIDAD — BORRAR EL 1 DE ENERO */
#esfera-navidad {
  position: absolute;
  top: 80px;
  left: 50%;
  transform: translateX(-50%);
  width: 110px;
  z-index: 0;
  pointer-events: none;

  opacity: 0;
  animation: esferaIn 1.2s ease-out forwards;
  transition: opacity 0.6s ease-out;
}

@keyframes esferaIn {
  from { opacity: 0; transform: translate(-50%, -15px); }
  to   { opacity: 1; transform: translate(-50%, 0); }
}

#esfera-navidad.oculta {
  opacity: 0 !important;
}



