/* Variables */
:root{
    --colorPrincipal: #0f1110;
    --colorSecundario: #E7E5E4;
    --colorClaroTextos: #D6D3D1;
    --colorRojo: #e71030;
    --ColorVerde: #03b54d;
    --colorRojoOscuro: #a11f1a;
    --colorFondoFotos: #ccc;
    --border6: 6px;
    --border8: 8px;
    --border12: 12px;
    --fuenteMovil: 1.125rem; /* 18px */
    --fuenteDesktop: 1.062rem; /* 16.99px */}

.skip-link{display: none;}    
main{padding: 32px 24px 0px 24px;}

/* Lineas HR */
main hr{
    width: 100%;
    margin: auto;
    border-color: rgba(255, 255, 255, 0.7);}

.linea{
    width: 84%;
    margin: auto;
    border-color: rgba(255, 255, 255, 0.7);}

.lineComen{width: 84%; margin: auto; border-color: rgba(255, 255, 255, 0.7);}    

/* Nosotros */
.historia{margin: 50px 0;}
.textosHistoria h2{color: var(--colorSecundario);}
.textosHistoria p{color: var(--colorClaroTextos); margin: 24px 0;}
.textosHistoria span{font-weight: 300;}

.fotoHistoria{
    width: 100%;
    height: 275px;
    border-radius: var(--border6);
    background-color: #ccc;}

.fotoHistoria img{
    width: 100%;
    height: 275px;
    object-fit: cover;
    border-radius: var(--border6);}

/* últimos trabajos */
.lastjobs{
    width: 100%;
    margin: 50px auto 24px auto;}

.lastjobs h2{color: var(--colorClaroTextos);}

.descripciónLasjobs{
  margin-top: 24px;
  color: var(--colorClaroTextos);
}

.containerJobs{
    width: 100%;
    margin-top: 24px;
    display: flex;
    justify-content: center;
    flex-direction: column;}

.containerJobs .cardJob{
    width: 100%;
    margin-bottom: 24px;
    border-radius: var(--border8);
    background-color: var(--colorSecundario);}

.cardJob img{
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px 8px 0 0;
    background-color: var(--colorFondoFotos);}

.textosJobs{
    width: 90%;
    margin: 24px auto;}

.textosJobs h3{font-weight: 700; font-size: 24px;}

/* Banner Información */
.info{
    width: 100%;
    height: auto;
    margin: 50px 0;
    padding: 50px 0;
    background: rgba(0,0,0,0.6) url(../imagenes/banner-info.webp) no-repeat center / cover;
    background-blend-mode: darken;}

.info .mainWrapper .lineInfo{
    width: 83%;
    margin: auto;
    border-color: rgba(255, 255, 255, 1);}

.info h2{
    color: var(--colorSecundario);
    text-shadow: 0 3px 8px rgba(0, 0, 0, 0.9);}

.info .loguitos{
    width: auto;
    margin: 32px auto;
    display: flex;
    flex-direction: column;
    justify-content: center;}

.loguitos img{
    width: 48px;
    margin: auto;
    display: inline-block;}

.loguitos span{color: var(--colorClaroTextos); text-align: center; margin-top: 12px;}

/* Sección CTA en el Centro */
.cta{
  background-color: var(--colorAlternativo);
  color: var(--colorClaroTextos);
  padding: 32px 16px 32px;
  text-align: center;
  margin-bottom: 24px;}

.cta h2{
  font-size: 24px;
  margin-bottom: 24px;
  font-weight: 600;}

.btnDos{
  padding: 12px 20px;
  border-radius: var(--border8);
  text-decoration: none;
  font-weight: bold;
  font-size: 18px;
  display: inline-block;
  margin: 5px;
  color: var(--colorPrincipal);
  background-color: var(--ColorVerde);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);}

.btnPhone{
  padding: 12px 20px;
  border-radius: var(--border8);
  text-decoration: none;
  font-weight: 900;
  display: inline-block;
  margin: 5px 30px 5px 5px;
  color: var(--colorClaroTextos);
  background: var(--colorRojoOscuro);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
  transition: 0.5s;
    &:hover{box-shadow: 0 12px 15px rgba(0, 0, 0, 0.85);
    transform: translateY(-5px);}
}  

.btnWs{transition: 0.5s; box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);}
.btnWs:hover{box-shadow: 0 12px 15px rgba(0, 0, 0, 0.85);
    transform: translateY(-5px);}
  
/* DONDE ESTAMOS*/
.ubicacion{
  width: 100%;
  margin: 24px auto;
  padding: 16px;
  color: var(--colorClaroTextos);}

.boxUnoDatos{width: 100%; padding: 8px;}
.boxUnoDatos hr{width: 100%;}

.ubicacion h2{
  width: 98%;
  margin: auto;
  line-height: 35px;
  font-weight: 600;
  text-align: center;
  padding-top: 0px;
  margin-bottom: 25px;}

.direccion{
  font-size: var(--fuenteMovil);
  font-weight: 400;
  text-align: left;
  margin-bottom: 16px;}  

.boxUnoDatos .fa-solid, .boxUnoDatos .fa-brands{
  font-size: 26px;
  margin-right: 6px;
  vertical-align: -2px;}

.boxUnoDatos .fa-map-marker-alt{font-size: 28px;}
.boxUnoDatos .fa-phone{font-size: 24px;}
.boxUnoDatos .fa-envelope{font-size: 24px;}
.boxUnoDatos .fa-square-whatsapp{font-size: 28px;}

.dir{
  font-size: 20px;
  font-weight: 400;
  text-align: left;
  font-size: 18px;
  margin-bottom: 24px;}

.placaContacto{
  width: 100%;
  padding-top: 16px;
  margin:  0;
  /* border-radius: var(--border12);
  background-color: var(--colorAlternativo); */}

.placaContacto h3{font-size: 24px; text-align: center; margin-bottom: 18px;}  

.placaContacto .upRedes{
  width: inherit;
  margin-bottom: 38px;
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: center;}

.upRedes .fa-instagram{font-size: 40px; color: var(--colorSecundario);} 
.upRedes .fa-tiktok{font-size: 32px; color: var(--colorSecundario);} 

.botones{
  width: 100%;
  margin: auto;
  padding-top: 24px;
  display: flex;
  gap: 16px;
  justify-content: space-between;}

.btnBotones{
    flex: 1;
    min-width: 0;
    height: auto;
    padding: 10px 8px;
    text-align: center;
    border-radius: var(--border6);
    display: flex;          /* Cambiamos block por flex */
    align-items: center;    /* Centra verticalmente */
    justify-content: center; /* Centra horizontalmente */
    margin: 0;
    line-height: 1.3;
    letter-spacing: -0.5px;
    transition: 0.5s;
      &:hover{box-shadow: 0 12px 15px rgba(0, 0, 0, 0.85);
      transform: translateY(-5px);}
  }

.btnBotonesColor{
  background-color: var(--colorRojoOscuro);
  color: var(--colorClaro);
  font-weight: 700;
  margin: 0;}

  .boxDosMapa{width: 97.5%; margin: 32px auto 0 auto;}
  .boxDosMapa iframe{
  width: 100%;
  height: 450px;
  border-radius: var(--border12);
  border: 3px solid var(--colorRojoOscuro);}  

/* Comentarios */
.comentarios{
  width: 93%;
  padding: 8px !important;
  margin: 0 auto 50px auto;
  background-color: var(--colorPrincipal);}

.comentarios h2{
  width: 98%;
  margin: auto;
  color: var(--colorClaroTextos);
  line-height: 35px;
  font-weight: 700;
  text-align: center;
  padding-top: 24px;
  margin-bottom: 25px;}

.containerTarjetas{width: 100%; margin: 24px auto;}

.containerTarjetas .tarjeta{
  width: 100%;
  padding: 18px;
  color:  var(--colorClaroTextos);
  margin-bottom: 24px;
  border-radius: var(--border8);
  box-shadow: 0 6px 8px rgba(0, 0, 0, 0.3);
  background-color: var(--colorAlternativo)}

.placaArriba{
  width: 100%;
  padding-bottom: 16px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);}

.tarjeta .datos{
  width: 100%;
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: flex-start;}

.datos .iniciales{
  width: 48px;
  height: 48px;
  margin: 0;
  padding: 0;
  border-radius: 50px;
  font-weight: 900;
  text-align: center;
  line-height: 48px;}

.color1{background-color: var(--colorRojoOscuro);}
.color2{background-color: #eb4899;}
.color3{background-color: #05976a;}

.datos .nombre{line-height: 20px; font-weight: 600; letter-spacing: 1px;}

.tarjeta .resena{font-style: italic; color: var(--colorClaroTextos);}

.resenaGoogle{text-align: center; margin: auto;}
.resenaGoogle a{color: var(--colorClaroTextos);}
.resenaGoogle a:hover{color: gray;}

/*
======================================================================
======================================================================
*/

@media (width >= 760px){
    main{width: 100%;}

    main .mainWrapper{
    width: 90%;
    margin: auto;}

    /* últimos trabajos */
    .lastjobs{
    width: 100%;
    margin: 50px auto 24px auto;}

    .lastjobs h2{color: var(--colorClaroTextos);}

    .containerJobs{
    width: 100%;
    margin-top: 24px;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: space-between;}

    .containerJobs .cardJob{
    width: 48%;
    margin-bottom: 24px;
    border-radius: var(--border8);
    background-color: var(--colorSecundario);}

    .cardJob img{
    width: 100%;
    height: 175px;
    object-fit: cover;
    border-radius: 8px 8px 0 0;
    background-color: var(--colorFondoFotos);}

    .textosJobs{
    width: 90%;
    margin: 24px auto;
    display: flex;
    flex-grow: 1;
    flex-direction: column;}

    .textosJobs h3{font-weight: 700; font-size: 24px;}
    
    /* DONDE ESTAMOS*/
    .ubicacion{
    width: 90%;
    margin: 24px auto;
    padding: 16px;
    color: var(--colorClaroTextos);}

    /* COMENTARIOS */
    .comentarios{
    width: 85%;
    padding: 16px;
    margin: 0 auto 50px auto;
    background-color: var(--colorPrincipal);}

    .containerTarjetas{
    width: 100%;
    margin: 24px auto;
    display: flex;
    justify-content: space-between;}

    .containerTarjetas .tarjeta{
    width: 32%;
    padding: 18px;
    color:  var(--colorClaroTextos);
    margin-bottom: 24px;
    border-radius: var(--border8);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.3);
    background-color: var(--colorAlternativo)}
}

@media (width >= 1024px){
    .textosHistoria p{    
    margin: 24px 0;
    color: var(--colorClaroTextos);
    font-size: var(--fuenteDesktop);}

    .containerJobs{
    width: 100%;
    margin-top: 24px;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: space-between;}

    .containerJobs .cardJob{
    width: 24%;
    margin-bottom: 24px;
    border-radius: var(--border8);
    background-color: var(--colorSecundario);}

    .textosJobs p{font-size: var(--fuenteDesktop);}

    .linea{width: 86%;}

    /* Banner Información */
    .info{
    width: 100%;
    height: auto;
    margin: 50px 0;
    padding: 50px 0;
    background: rgba(0,0,0,0.6) url(../imagenes/banner-info.webp) no-repeat center / cover;
    background-blend-mode: darken;}

    .info hr{
    width: 90%;
    margin: auto;
    border-color: rgba(255, 255, 255, 1);}

    .containerPagos{
    width: 90%;
    margin: auto;
    display: flex;
    gap: 48px;
    justify-content: center;}

    .info .loguitos{
    width: auto;
    margin: 32px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;}

    .info .mainWrapper .lineInfo{width: 85%;}

    .loguitos img{
    width: 48px;
    margin: auto;
    display: inline-block;}

    .loguitos span{color: var(--colorClaroTextos); text-align: center; margin-top: 12px;}

    #textEnvio{display: none;}

    /* DONDE ESTAMOS*/
    .ubicacion{
    width: 91%;
    margin: 24px auto;
    padding: 16px;
    color: var(--colorClaroTextos);
    display: flex;
    gap: 20px;
    justify-content: space-between;}

    .ubicacion p{font-size: var(--fuenteDesktop);}
    .boxUnoDatos{width: 45%; margin: 0;}
    .boxUnoDatos hr{width: 100%;}

    .ubicacion h2{
    width: 98%;
    margin: auto;
    line-height: 35px;
    font-weight: 600;
    text-align: left;
    padding-top: 0px;
    margin-bottom: 25px;}

    .direccion{
    font-size: var(--fuenteMovil);
    font-weight: 400;
    text-align: left;
    margin-bottom: 16px;}  

    .boxUnoDatos .fa-solid, .boxUnoDatos .fa-brands{
    font-size: 26px;
    margin-right: 6px;
    vertical-align: -2px;}

    .boxUnoDatos .fa-map-marker-alt{font-size: 28px;}
    .boxUnoDatos .fa-phone{font-size: 24px;}
    .boxUnoDatos .fa-envelope{font-size: 24px;}
    .boxUnoDatos .fa-square-whatsapp{font-size: 28px;}

    .dir{
    font-size: 20px;
    font-weight: 400;
    text-align: left;
    font-size: 18px;
    margin-bottom: 24px;}

    .placaContacto{
    width: 100%;
    padding-top: 16px;
    margin:  0;
    /* border-radius: var(--border12);
    background-color: var(--colorAlternativo); */}

    .placaContacto h3{font-size: 24px; text-align: center; margin-bottom: 18px;}  

    .placaContacto .upRedes{
    width: inherit;
    margin-bottom: 38px;
    display: flex;
    gap: 24px;
    align-items: center;
    justify-content: center;}

    .upRedes .fa-instagram{font-size: 40px; color: var(--colorSecundario);} 
    .upRedes .fa-tiktok{font-size: 32px; color: var(--colorSecundario);} 

    .botones{
    width: 100%;
    margin: auto;
    padding-top: 12px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;}

    .btnBotones{
    width: 100%;
    text-align: center;
    border-radius: var(--border6);
    display: block; margin: 0 0 8px;}
    
    .btnBotonesColor{background-color: var(--colorRojoOscuro); color: var(--colorClaro); font-weight: 700; margin: 12px 0 0;}

    .boxDosMapa{width: 49%; margin: 0;}

    .boxDosMapa iframe{
    width: 100%;
    height: 100%;
    border-radius: var(--border12);
    border: 3px solid var(--colorRojoOscuro);}

    .lineComen{width: 87%;}

     /* COMENTARIOS */
    .comentarios{
    width: 88%;
    padding: 16px;
    margin: 0 auto 50px auto;
    background-color: var(--colorPrincipal);}

    .comentarios h2{
    width: 98%;
    margin: auto;
    color: var(--colorClaroTextos);
    line-height: 35px;
    font-weight: 700;
    text-align: left;
    padding-top: 24px;
    margin-bottom: 25px;}

    .containerTarjetas{
    display: flex;
    justify-content: space-between;}

    .containerTarjetas .tarjeta{
    width: 32%;
    padding: 18px;
    color:  var(--colorClaroTextos);
    margin-bottom: 24px;
    border-radius: var(--border8);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.3);
    background-color: var(--colorAlternativo)}
}

@media (width >= 1200px){
    main{width: 100%;}

    main .mainWrapper{
    width: 70%;
    margin: auto;}

    .historia{
    margin: 50px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;}

    .textosHistoria{width: 48%;}

    .textosHistoria h2{color: var(--colorSecundario); text-align: left;}
    .textosHistoria p{color: var(--colorClaroTextos); margin: 24px 0;}
    .textosHistoria span{font-weight: 300;}

    .fotoHistoria{
    width: 48%;
    height: 100%;
    border-radius: var(--border6);
    background-color: #ccc;}

    .fotoHistoria img{
    width: 100%;
    height: 358px;
    object-fit: cover;
    border-radius: var(--border6);}

    /* Últimos trabajos */
    .lastjobs h2{text-align: left; }
    .containerJobs{
    width: 100%;
    margin-top: 24px;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: space-between;}

    .containerJobs .cardJob{
    width: 24%;
    margin-bottom: 24px;
    border-radius: var(--border8);
    background-color: var(--colorSecundario);
    transition: 0.5s;

    &:hover{transform: scale(1.05);}}

    .cardJob img{
    width: 100%;
    height: 175px;
    object-fit: cover;
    border-radius: 8px 8px 0 0;
    background-color: var(--colorFondoFotos);}

    .textosJobs{
    width: 90%;
    margin: 24px auto;
    display: flex;
    flex-grow: 1;
    flex-direction: column;}

    .textosJobs h3{font-weight: 700; font-size: 23px;}
    .linea{width: 68%;}
    .info .mainWrapper .lineInfo{width: 68%;}

    /* DONDE ESTAMOS*/
    .ubicacion{
    width: 71.5%;
    margin: 24px auto;
    padding: 16px;
    color: var(--colorClaroTextos);
    display: flex;
    gap: 20px;
    justify-content: center;}

    .boxUnoDatos{ 
    margin: 0;
    flex: 1;
    min-width: 0;}

    .boxUnoDatos hr{width: 100%;}

    .ubicacion h2{
    width: 98%;
    margin: auto;
    line-height: 35px;
    font-weight: 600;
    text-align: left;
    padding-top: 0px;
    margin-bottom: 25px;}

    .direccion{
    font-size: var(--fuenteMovil);
    font-weight: 400;
    text-align: left;
    margin-bottom: 16px;}  

    .boxUnoDatos .fa-solid, .boxUnoDatos .fa-brands{
    font-size: 26px;
    margin-right: 6px;
    vertical-align: -2px;}

    .boxUnoDatos .fa-map-marker-alt{font-size: 28px;}
    .boxUnoDatos .fa-phone{font-size: 24px;}
    .boxUnoDatos .fa-envelope{font-size: 24px;}
    .boxUnoDatos .fa-square-whatsapp{font-size: 28px;}

    .dir{
    font-size: 20px;
    font-weight: 400;
    text-align: left;
    font-size: 18px;
    margin-bottom: 24px;}

    .placaContacto{
     width: 100%;
    padding-top: 16px;
    margin:  0;
    /* border-radius: var(--border12);
    background-color: var(--colorAlternativo); */}

    .placaContacto h3{font-size: 24px; text-align: center; margin-bottom: 18px;}  

    .placaContacto .upRedes{
    width: inherit;
    margin-bottom: 38px;
    display: flex;
    gap: 24px;
    align-items: center;
    justify-content: center;}

    .upRedes .fa-instagram{font-size: 40px; color: var(--colorSecundario);} 
    .upRedes .fa-tiktok{font-size: 32px; color: var(--colorSecundario);} 

    .botones{width: 50%; margin: auto; padding-top: 12px;}

    .botones{
    width: 100%;
    margin: auto;
    padding-top: 12px;
    display: flex;
    flex-direction: row;
    gap: 12px;  
    justify-content: space-between;}

    .btnBotones {
    flex: 1;
    min-width: 0;
    height: auto;          /* Que crezca según el contenido */
    padding: 10px 8px;     /* Espacio interno arriba/abajo y costados */
    text-align: center;
    border-radius: var(--border6);
    display: block;
    margin: 0;
    line-height: 1.3;      /* Interlineado para cuando corta en dos líneas */
    letter-spacing: -0.5px;}

    .btnBotonesColor{
    background-color: var(--colorRojoOscuro);
    color: var(--colorClaro);
    font-weight: 700;
    margin: 0px 0 0;}

    .boxDosMapa{width:48%; margin-top: 0;}

    .boxDosMapa iframe{
    width: 100%;
    height: 100%;
    border-radius: var(--border12);
    border: 3px solid var(--colorRojoOscuro);}

     /* COMENTARIOS */
    .comentarios{
    width: 69%;
    padding: 16px;
    margin: 0 auto 50px auto;
    background-color: var(--colorPrincipal);}

    .lineComen{width: 68%;}

    .comentarios h2{
    width: 98%;
    margin: auto;
    color: var(--colorClaroTextos);
    line-height: 35px;
    font-weight: 700;
    text-align: left;
    padding-top: 24px;
    margin-bottom: 25px;}

    .containerTarjetas{
    display: flex;
    justify-content: space-between;}

    .containerTarjetas .tarjeta{
    width: 32%;
    padding: 18px;
    color:  var(--colorClaroTextos);
    margin-bottom: 24px;
    border-radius: var(--border8);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.3);
    background-color: var(--colorAlternativo)}    
}