

#home {
  display: flex;
  justify-content: center; /* centra horizontalmente */
  align-items: flex-start; /* alinea arriba */
  padding: 12px 16px;
  position: relative;
  background-color: var(--color-primario);
}

#home a {
  display: block;
  margin-left: auto;
  margin-right: 0;
}

#home img {
  display: block;
  width: 77px;
}









.contenedor-formulario,.input-telefono {
  width: 100%;
  max-width: 470px; /* o el valor que prefieras */
  margin: 0 auto;
  box-sizing: border-box;
}



input, textarea {
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 14px;
}

button[type="submit"] {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 14px;
  background-color: var(--color-primario);  /* Rojo primario */
  color: white;
  padding: 10px 15px;
  border-radius: 5px;
  border: 2px solid #D90E11;
  cursor: pointer;
  box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.25);
}
.disabled-button{
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 14px;
  background-color: #BEBEBE !important;  /* Rojo primario */
  color: #12121233 ! important;
  padding: 10px 15px;
  border-radius: 5px;
  border: none ! important;
  cursor: not-allowed ! important;
  font-family: 'Poppins';
  font-weight: 500;
  font-size: 20px;
  line-height: 100%;
  letter-spacing: 0%;
  box-shadow: none ! important;

}

/* === Footer === */


footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-columns {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.footer-copy {
  text-align: center;
}







  .hero-video {
  position: relative;
  width: 100%;
  height: 74.9vh;
  overflow: hidden;
  padding: 10px 16px 52px 16px;
}

.hero-video video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  filter: brightness(0.6);
  
}

.hero-texto {
  position: relative;
  z-index: 2;
  color: white;

 

  text-align: left;
  display: flex;
  align-items: flex-end;
  height: 100%;
  flex-direction: column-reverse;
}






#clientes {
  background-color: white;
  padding: 40px 20px;
  text-align: center;
}

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

.logos-clientes img {
  max-width: 120px;
  height: auto;
  filter: grayscale(100%);
  transition: filter 0.3s ease;
}







.servicio-card {
  position: relative;
  border-radius: 2px;
  overflow: hidden;
  max-width: 328px;
  max-height: 147px; /* estado inicial */
  transition: max-height 1s ease;
}



.servicio-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 1;
  opacity: 1;
  transform: translateY(0%);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.servicio-card.sin-overlay::before {
  opacity: 0;
  pointer-events: none; 
}


.servicio-oculto.revelado::before {
  animation: levantarPersiana 1.2s forwards ease-out;
}

@keyframes levantarPersiana {
  0% {
    transform: translateY(0%);
    opacity: 1;
  }
  100% {
    transform: translateY(-100%);
    opacity: 0;
  }
}

.servicio-cards {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  justify-content: center;
}

.servicio-card img {
  width: 328px;
  height: 513px;
  display: block;
  object-fit: cover;
}



#card-laser {
  max-height: 147.2px;
  overflow: hidden;
  transition: max-height 1.5s ease; /* ← más suave */
}

#card-laser.expandida {
  max-height: 513px;
}

#card-carpalum {
  max-height: 231px;
  overflow: hidden;
  transition: max-height 1.5s ease; /* ← más suave */
}

#card-carpalum.expandida {
  max-height: 513px;
}

#card-plegado {
  max-height: 189px;
  overflow: hidden;
  transition: max-height 1.5s ease; /* ← más suave */
}

#card-plegado.expandida {
  max-height: 513px;
}







/* Título sobre la imagen */
.titulo-servicio {
  position: absolute;
  top: 20px;
  left: 15px;
  color: white;
  font-weight: 600;
  font-size: 32px;
  z-index: 2;

}

/* Botón en la esquina inferior derecha */
.servicio-btn {
  position: absolute;
  bottom: 16px;
  right: 16px;
  z-index: 2;
}



.boton-rojo.activo {
  width: 173px;
  height: 50px;
  padding: 9px 13px;
  background-color: var(--Primario, #D90E11);
  color: white;
  font-family: 'Poppins', sans-serif;
  font-size: 20px;
  font-weight: 500;
  font-style: normal;
  line-height: normal;
  border-radius: 5px;
  border: 2px solid var(--Primario, #D90E11);
  box-shadow: 3px 3px 0px 0px #00000080;
  cursor: pointer;
  text-align: center;
  display: inline-block;
  text-decoration: none;
  transition: all 150ms ease-out;
}

.boton-rojo.activo:hover {
  background-color: #8C0002; /* fondo más oscuro */
  border-color: #D90E11;
}
.boton-rojo.activo:active {
  background-color: #8C0002;
  border: 3.9px solid #D90E11;
  box-shadow: 3px 3px 0px 0px #00000080;
  transform: translateY(1px);
  padding: 8px 12px;
}

.boton-rojo.disabled {
    width: 173px;
  height: 50px;
  padding: 9px 13px;
  background-color: var(--Primario, #BEBEBE);
  color: #12121233;
  font-family: 'Poppins', sans-serif;
  font-size: 20px;
  font-weight: 500;
  font-style: normal;
  line-height: normal;
  border-radius: 5px;
  border: 2px solid var(--Primario, #BEBEBE);
  cursor: pointer;
  text-align: center;
  display: inline-block;
  text-decoration: none;
  transition: all 150ms ease-out;
  pointer-events: none;
  cursor: not-allowed;
}

#servicios {
  padding-top:0px ;
  padding-bottom: 100px;
  padding-left: 16px;
  padding-right: 16px;
}

#clientes {
  background-color: white;
  padding: 40px 20px;
  text-align: left;
  position: relative;
  padding-left: 0px;
  padding-right: 0px;


  /* Sombras suaves como en Figma */
  box-shadow:
    4px 0 8px rgba(0, 0, 0, 0.10),
    15px 0 15px rgba(0, 0, 0, 0.09);
}
.contenedor-cliente-titu {
      padding: 0px 16px;

}

#clientes .subti-section {
  display: block;
  font-size: 14px;
  color: #aaa;
  margin-bottom: 5px;
  margin-right: 16px;
}

.slider-clientes {
  overflow: hidden;
  position: relative;
  width: 100%;

}

.slider-track {
  display: flex;
  width: max-content;
  animation: scrollSlider 30s linear infinite;
  height: 174px;
}

.slider-track img {
  width: 244px;
  height: auto;
  margin: 0 20px;
  object-fit: contain;
  transition: filter 0.3s;
}


@keyframes scrollSlider {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}


.linea-roja {
  width: 244px;
  height: 4px;
  background-color: var(--color-primario);
  margin-top: 40px;
  margin-bottom: 40px;
  margin-left: 16px;

}


#ubicacion {
  background-color: var(--color-fondo);
  padding: 40px 20px;
  text-align: center;
  padding-top: 100px;
}

.contenedor-ubicacion {
  position: relative;
    display: flex;
    flex-direction: column;
    gap: 15px;
  margin-bottom: 15px;
}

.contenedor-ubicacion img {
  width: 328px;
  height: 249px;
  border-radius: 2px;
  display: block;
}
.contenedor-ubicacion-titulo{
  text-align: left;
  margin-bottom: 40px;
}






#contacto {
  display: flex;
  flex-direction: column;
  padding: 40px 16px;
  padding-top: 0px !important;
  background-color: var(--color-fondo);
}

.boton-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background-color: #25d366;
  color: white;
  font-weight: 600;
  font-size: 16px;
  font-family: 'Poppins', sans-serif;
  padding: 12px 24px;
  border-radius: 5px;
  text-decoration: none;
  box-shadow: 3px 3px 0px 0px #60D66940;
  transition: all 0.2s ease;
  border: none;
}

.boton-whatsapp:hover {

  background-color: #60D669;
  box-shadow: 3px 3px 0px 0px rgba(96, 214, 105, 0.50);
}

.boton-whatsapp:active {

  border: 1px solid #399F41;
  background-color: #60D669;
  box-shadow: none;
}






.contacto-whatsapp {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.boton-whatsapp svg {
  height: 24px;
  width: 24px;
}

hr {
  flex: 1;
  height:2px;
  background-color: var(--color-linea, #000); /* o el color que uses */
  border: none;
}
.linea-flex {

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 40px auto; /* <-- centrado horizontal */
  max-width: 328px;

}



.form-titulo {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 16px;
}

form {
  display: flex;
  flex-direction: column;
  margin-top: 10px;
}

form label {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  color: var(--color-texto);
  font-family: 'Poppins';
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  margin-bottom: 5px;
}

input, textarea {
  width: 100%;
  padding: 10px;
  border: 2px solid var(--Tipo, #121212);
  border-radius: 6px;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 500;
  min-width: 328px;
  max-width: 470px;
}

input::placeholder , textarea::placeholder {
  color:#12121233;

}

textarea {
  min-height: 222px;
  resize: vertical;
}



.input-telefono {
  position: relative;
  width: 100%;
}

.input-telefono .prefijo {
  position: absolute;
  top: 50%;
  left: 12px;
  transform: translateY(-50%);
  color: #000;
  font-size: 14px;
  pointer-events: none;
  font-family: 'Poppins';
}

.input-telefono input {
  width: 100%;
  padding-left: 65px; /* Espacio para el span + margen */
  height: 44px;
  font-size: 14px;
  font-family: 'Poppins';
}

.input-telefono input:focus {
  outline: none;
}



#trabajo {
  background-color: var(--color-fondo);
  padding: 40px 16px;
  text-align: left;
  padding-bottom: 150px;

}

#trabajo .texto-body {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-texto);
  line-height: 1.6;
 
  margin: 0 auto 24px;
}

#trabajo .boton-rojo {
  display: inline-block;
  margin-top: 12px;
}



footer {
  background-color: var(--color-primario); /* #D90E11 */
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
    padding: 40px 16px;
}

.descripcion-footer {
  font-size: 14px;
  line-height: 1.5;
  max-width: 600px;
  margin: 0 auto;
  text-align: left;
  min-width: 328px;
  max-width: 587px;
  margin-bottom: 40px;
}

.footer-columns {
  display: flex;
  justify-content: center;
  gap: 8px;
  
  flex-direction: row;
}

/* Corrección en mobile: columna */


.footer-menu,
.footer-redes {
  flex: 1;
  max-width: 160px;
  min-width: 160px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.footer-menu h4,
.footer-redes h4 {
  font-size: 14px;
  font-weight: bold;
  margin-bottom: 12px;
}

.footer-menu ul,
.footer-redes ul {
  list-style: none;
  padding: 0;
  margin: 8px;


}

.footer-menu li,
.footer-redes li {
  padding-left: 10px;
  margin-bottom: 5px;
}

footer a {
    color: var(--Fondo, #FCF9F4);
    font-family: 'Poppins';
    font-size: 20px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}


.footer-copy {
  font-size: 14px;
  color: white;
  opacity: 0.9;
  margin-top: 70px;
}

.subti-footer{
  font-family: 'Poppins';
  font-weight: 500;
  font-size: 14px;
  line-height: 100%;
  letter-spacing: 0%;
  color:#FCF9F4BF;
}
.octopush{
  font-weight: 700;
  font-size: 16px;
  line-height: 100%;
  letter-spacing: 0%;

}

.footer-redes a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: white;
  font-weight: 500;
  font-size: 20px;
  font-family: 'Poppins';
  line-height: 100%;
}

.icono-red {
  width: 24px;
  height: 24px;
  display: inline-block;
  vertical-align: middle;
  margin-top: 2px; /* opcional: ajusta verticalmente */
}



 .modal-confirmacion {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  display: none;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 999;
  justify-content: center;
  align-items: center;
  padding: 16px;
}

/* Contenido del modal */
.modal-contenido {
  background-color: #fff;
  padding: 24px;
  border-radius: 8px;
  width: 100%;
  max-width: 360px;
  text-align: center;
  position: relative;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

/* Botón cerrar */
.modal-cerrar {
  position: absolute;
  top: 12px;
  right: 12px;
  background: none;
  border: none;
  cursor: pointer;
}

/* Ícono del check */
.modal-icono img {
  width: 46px;
  height: 46px;
}

/* Título */
#modal-titulo {

font-size: 20px;
font-style: normal;
font-weight: 500;
line-height: normal;
margin-top:0;
margin-block-start: 0 !important;
margin-block-end: 0 !important;
}

/* Mensaje */
#modal-mensaje {
  font-size: 14px;
  color: #333;
  line-height: 1.4;
  margin-top:20px
}

.modal-contenido h2 {
  font-size: 20px;
  color: #000;
  margin-top: 10px;
}

.modal-contenido p {
  color: #333;
  font-size: 15px;
  margin-top: 10px;
}

#modal-confirmacion {
  position: fixed;
  inset: 0; /* top:0; bottom:0; left:0; right:0 */
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 99999;
  display: flex;
  justify-content: center;
  align-items: center;
  backdrop-filter: blur(2px);
}

.modal-content {
  background-color: white;
  border-radius: 12px;
  padding: 24px;
  max-width: 90%;
  box-shadow: 0 2px 20px rgba(0,0,0,0.2);
  text-align: center;
  position: relative;
}

.contenedor-servicios-titulo{
      display: flex;
    flex-direction: column;
   align-items: center;
        margin-bottom: 40px;
}
#nosotros {
  padding: 150px 16px;
  background-color: var(--color-fondo);
  padding-bottom: 100px !important;
}

.nosotros-wrapper {
  display: flex;
  flex-direction: column;

  
}

.nosotros-texto {
  display: contents; /* permite reordenar sus hijos sin bloquear el flujo */
}

.subtitulo-nostros {
font-family: 'Poppins';
font-weight: 500;
font-size: 16px;
letter-spacing: 0%;
color:#00000033;
height: 24px;
}

.arreglo-titulo{
  color: #000;
  font-family: 'Poppins';
  font-size: 40px;
  font-style: normal;
  font-weight: 600;
  line-height: 110%; /* 44px */
  margin-top :5px;
}
.titulo-nostros {
  order: 2;
  font-size: 40px;
  font-weight: 700;
  color: var(--color-texto);
  margin-bottom: 40px;
}

.nosotros-imagen {
  order:-1;
  display: flex;
  justify-content: center;
}

.nosotros-imagen img {
  width: 328px;
  max-width: 620px;
  height: auto;
  display: block;
}

.contenido {
  order: 4;
  font-size: 16px;
  
  color: var(--color-texto);
  margin-top: 20px;
}
.nosotros-texto{
  text-indent: 4.3px;
}



.seccion-ubicacion {
  padding: 40px 16px;
  background-color: var(--color-fondo);
}

.titulo-seccion {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 24px;
}

.contenedor-ubicacion {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contenedor-imagen {
  position: relative;
  width: 100%;
}

.contenedor-imagen img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

.direccion-texto {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background-color: white;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  color: black;
  text-align: left;
  padding-right: 132px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}


#localizacion {
  padding: 100px 16px;
  background-color: var(--color-fondo);
}

.bloque-titulo-zona {
  margin-bottom: 24px;
      display: flex;
    flex-direction: column;
    align-content: center;
    align-items: center;
}

.subtitulo-zona {
  font-size: 14px;
  color: gray;
}

.titulo-principal-zona {
  font-family: 'Poppins';
font-weight: 600;
font-size: 32px;
line-height: 42px;
letter-spacing: 0%;

}

.contenedor-zona {
  display: flex;
  flex-direction: column;
  gap:28px;
  align-items: center;
}

.imagen-zona {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
}

.imagen-zona img {
  width: 100%;
  border-radius: 2px;
  display: block;
  max-width: 587px;
  max-height: 419px;
  min-width: 328px;
  min-height: 234px;
}

.cartel-direccion {
  position: absolute;
  bottom: 12px;
  width: 94%;
  background-color: white;
  border-radius: 2px;
  font-size: 14px;
  font-weight: 500;
  color: black;
  padding: 5px 16px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  box-sizing: border-box;
  text-align: left;
  min-width: 308px;
  max-width: 567px;
  max-height: 52px;
  
}
.mapa-zona {
  position: relative;
  width: 100%;
  max-width: 587px; /* límite del ancho */
  margin: 0 auto;    /* esto lo centra */
  padding-top: 56.25%; /* relación 16:9 */
  overflow: hidden;
  border-radius: 6px;
  max-height: 249px;
  min-height: 249px;
}

.mapa-zona iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  

}


.arreglo-contenido{
  color: #000;
  font-family: 'Poppins';
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  }



    .arreglo-width{
    /* M-Subtitulos */
    font-family: 'Poppins';
    font-size: 32px;
    font-style: normal;
    font-weight: 600;
    line-height: 42px; /* 131.25% */
    max-width: 468px;
    }

    .arreglo-h3-servicio{
font-size: 32px;
font-style: normal;
font-weight: 600;
line-height: 42px; /* 131.25% */
    }
    .contacto-arreglo .contacto-titulo{
    font-family: 'Poppins';
    font-size: 32px;
    font-style: normal;
    font-weight: 600;
    line-height: 42px; /* 131.25% */
    
    }
    .contacto-arreglo{
      margin-bottom: 30px;
    }
    .contacto-mailtitle{
      font-family: 'Poppins';
      font-size: 16px;
      font-style: normal;
      font-weight: 500;
      line-height: normal;
      text-align: center;
      margin-bottom: 15px;
    }


.footer-logo{
  display: none;
}



   .nosotros-textoas{
    display: block;

   }


   .nosotros-titulox{
    display: block;
   }
   .nosotros-tituloxs{
    display: none;
   }

.contenedor-trabajax{
  display: none;
}
.footer-texto{
  display: none;
}


.error{
  color: #F00;
  font-family: 'Poppins';
  font-size: 12px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  opacity: 0;
}

#btn-enviar{

  position: unset ! important;
  width: 144px;
  height: 50px;
}


#boton-enviar-cv{
  position: unset ! important;
  width: 127px;
  height: 50px;
}


#modal-confirmacion-error {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 99999;
    display: flex
;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(2px);
}


.contacto-section-arreglo{
  padding-bottom: 100px ! important;
}

.contenedor-trabaja1{
  margin-bottom: 40px;
}

.nosotros-section-arreglo{
  padding-bottom: 150px ! important;
}


#cartel-direccion2{
  display: none;
}

.arreglo-error-mensaje{
  margin-bottom: 30px;
}

      #trabajoxs{
         padding:0px 16px 0px 16px;
         margin-bottom: 150px;
      }
      .trabajo-img-container img {
  width: 329px;
  height: 271px;
  margin: 0 auto;
  object-fit: cover;
  border-radius: 2px;
}
.trabajo-img-container{
       margin: 0 auto;
    display: flex;
    margin-bottom: 20px;
}
.contenedor-trabaja{
   margin-bottom: 40px;
}
/* A partir de 824px hasta 1133px */
@media (min-width: 824px) and (max-width: 1133px) {
  .trabajo-img-container img {
    width: clamp(370px, 50vw, 620px);
    height: clamp(310px, 40vw, 510px);
  }
        .trabajo-section{
         padding:100px 32px 100px 32px   ! important;
      }
          .trabajo-body-button {
        flex-direction: column;
        gap: 25px;
    }
}

/* A partir de 1134px (ej: desktop) */
@media (min-width: 1134px) {
  .trabajo-img-container img {
    width: 620px;
    height: 510px;
  }
}

  #pantalla-carga {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 4px solid #aaa;
  border-top: 4px solid var(--color-principal, #d00);
  border-radius: 50%;
  animation: girar 1s linear infinite;
}

@keyframes girar {
  to {
    transform: rotate(360deg);
  }
}