/*
Theme Name: Twenty Twenty-Four Child
Theme URI: https://wordpress.org/themes/twentytwentyfour/
Description: Tema hijo de Twenty Twenty-Four.
Author: Cristófer Sani
Author URI: https://tusitio.com
Template: twentytwentyfour
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: twentytwentyfour-child
*/

@import url('https://fonts.googleapis.com/css2?family=Albert+Sans&display=swap');

* {
  margin: 0 ;
  padding: 0 ;
  box-sizing: border-box !important;
  border: 0 ;
  font-family: 'Albert Sans', sans-serif !important ;
}





header {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  height: 130.25px;
 
  background: white;
  transition: height 1.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

header.scrolled {
  height: 90.25px;
  
}
.footer-column h2{

  font-size:18px;
}

.wp-block-group.alignwide.has-base-2-background-color.has-background.has-global-padding.is-layout-constrained.wp-block-group-is-layout-constrained {
  width: 1199px;
  padding-top: 0px !important;
  padding-bottom: 0px !important;
}

header.elementor-slideshow__header.elementor-lightbox-prevent-close {
  background: none !important;
}

/* efecto

.wp-block-navigation-item {
  position: relative;
  transition: opacity 0.6s ease, transform 0.4s ease;
}


.wp-block-navigation-item:hover {
  animation: disappear 0.2s ease-out forwards;
}




@keyframes disappear {
  0% {
    opacity: 1;
    transform: translateY(0);
  }
  50% {
    opacity: 0.1;
    transform: translateY(20px);
  }
  75% {
    opacity: 0;
    transform: translateY(-30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

*/


@keyframes disappear {
  0% {
    opacity: 1;
    transform: translateY(0);
  }
  50% {
    opacity: 0.1;
    transform: translateY(20px);
  }
  75% {
    opacity: 0;
    transform: translateY(-30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.disappear-animation {
  animation: disappear 0.2s ease-out forwards;
}







/* Estilo base común para todos */
[data-id="08416a1"],
[data-id="3f57c6e"],
[data-id="0eb8da2"],
[data-id="4600948"] {
  cursor: pointer;
  transition: background-color 0.5s ease-in-out;
}

[data-id="08416a1"] p,
[data-id="3f57c6e"] p,
[data-id="0eb8da2"] p,
[data-id="4600948"] p {
  transition: color 0.5s ease-in-out;
}

/* Hover */
[data-id="08416a1"]:hover,
[data-id="3f57c6e"]:hover,
[data-id="0eb8da2"]:hover,
[data-id="4600948"]:hover {
  background-color: #257398;
}

[data-id="08416a1"]:hover p,
[data-id="3f57c6e"]:hover p,
[data-id="0eb8da2"]:hover p,
[data-id="4600948"]:hover p {
  color: #fff !important;
}

/* Active manual (usado desde JS) */
[data-id="08416a1"].active,
[data-id="3f57c6e"].active,
[data-id="0eb8da2"].active,
[data-id="4600948"].active {
  background-color: #257398;
}

[data-id="08416a1"].active p,
[data-id="3f57c6e"].active p,
[data-id="0eb8da2"].active p,
[data-id="4600948"].active p {
  color: #fff !important;
}



.gallery-icon.landscape {
  height: 400px;
  overflow: hidden;
}


img.attachment-2048x2048.size-2048x2048 {
  height: 100%;
  width: 100%;
  object-fit: cover;
  display: block;
}



/* Eliminar subrayado de todos los enlaces en hover */
.wp-block-navigation-item__content:hover {
  text-decoration: none;
}

/* Eliminar subrayado solo para el primer li */
.wp-block-navigation-item:first-child .wp-block-navigation-item__content:hover {
  text-decoration: none;
}



.location-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  padding: 20px;
}
.card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  padding: 20px;
  width: 270px;
  height: 250px;
  text-align: center;
  position: relative;
  margin-top: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  transition: transform 0.8s ease, box-shadow 0.8s ease;
}



.card h4{
  font-family: 'Albert Sans', sans-serif ;
  line-height: 20px;
  font-size: 20px;
  color: #174C7C;
  font-weight: 900 !important;

}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.icon-container {
  position: absolute;
  top: -24px; /* sobresale hacia arriba */
  left: 50%;
  transform: translateX(-50%);
}







#scroltop {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  background-color: #ffffff;
  border: 1px solid black;
  border-radius: 5px;
  cursor: pointer;
  z-index: 9999;
  display: none;
  transition: opacity 0.3s ease;
  padding: 0;
  overflow: hidden;
}

#scroltop.show {
  display: inline-block;
  opacity: 1;
}

#scroltop img {
  width: 60%;
  height: 60%;
  display: block;
  margin: auto;
  margin-top: 20%;
}







@media (max-width: 600px) {
  #overlay-dark {
    display: none;
    position: fixed;
    top: 0;
    left: 60%; /* Comienza justo donde termina el menú */
    width: 40%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 9998;
    opacity: 0;
    transition: opacity 0.1s ease-in-out;
  }
  
  /* Menú lateral */
  .wp-block-navigation__responsive-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 60%;
    height: 100vh;
    background-color: white;
    transform: translateX(-100%);
    transition: transform 0.6s cubic-bezier(0.77, 0, 0.175, 1);
    z-index: 9999;
    box-shadow: 2px 0 15px rgba(0, 0, 0, 0.1);
  }
  
  .wp-block-navigation__responsive-container.is-menu-open {
    transform: translateX(0);
  }
  
  /* Bloquear scroll cuando se abre el menú */
  body.no-scroll {
    overflow: hidden;
  }


}



.wp-block-navigation-item.activo > a {
  color: #0053A9 !important;
  font-weight: 600 !important;
}





@media (max-width: 768px) {
  img.attachment-2048x2048.size-2048x2048 {
      width: 300px;
  }


}


@media (max-width: 430px) {
  img.attachment-2048x2048.size-2048x2048 {
    width: 360px;
}
  
.card {
  width: 100%;
  height: 200px;
}


.formulario-container {
  padding: 0 !important; 
}

}

 /* Media query para pantallas pequeñas */ @media screen and (max-width: 400px) {
  .custom-footer-container {
      flex-direction: column;
      align-items: center !important ;
      text-align: center !important;
  }
  


 
}

@media (max-width: 768px) {
  .formulario-container iframe {
    height: 800px !important;
  }
}

.custom-logo{
  width:100%;
}


/* Sección sobre noostros    */

.titulo-sobre-nosotros{

  color: #FC5028 !important;

text-align: center !important;
font-family: "Albert Sans" !important;
font-size: 52px ;
font-style: normal !important;
font-weight: var(--font-weight-800, 800) !important;
line-height: var(--line-height-72, 72px) ; /* 138.462% */
text-align: center;

}

.subtitulo-sobre-nosotros{
  color: #174C7B;

text-align: center;
font-family: "Albert Sans";
font-size: var(--font-size-22, 22px);
font-style: normal;
font-weight: var(--font-weight-800, 800);
line-height: var(--line-height-30, 30px); /* 136.364% */
}

.parrafo-sobre-nosotros{
  color: var(--www-cortinasytechosdecristal-es-scorpion, var(--color-grey-37, #5E5E5E));
font-family: "Albert Sans";
font-size: var(--font-size-15, 15px);
font-style: normal;
font-weight: var(--font-weight-400, 400);
line-height: var(--line-height-25, 25px); /* 166.667% */



}

.titulo-imagenes-sobre-nosotros{
  color: var(--www-cortinasytechosdecristal-es-port-gore, var(--color-blue-18, #1D1F40));
text-align: center;
font-family: "Albert Sans";
font-size: 18px;
font-style: normal;
font-weight: var(--font-weight-700, 700);
line-height: var(--line-height-28_8, 28.8px); /* 160% */
}

.parrafo-imagenes-sobre-nosotros{
color: var(--www-cortinasytechosdecristal-es-scorpion, var(--color-grey-37, #5E5E5E));
text-align: stretch;
/* www.cortinasytechosdecristal.es/Roboto/Regular */
font-family: var(--font-family-Font-2, Roboto);
font-size: var(--font-size-16, 16px);
font-style: normal;
font-weight: var(--font-weight-400, 400);
line-height: var(--line-height-25_6, 25.6px); /* 160% */
}

.imagen-especial{
     position: absolute;
    top: 10px;
    left: 185px;
}

@media(max-width:1200px){
  .elementor-6 .elementor-element.elementor-element-0107b03{
    width:100%;
  }

  #galeria{
    width:98%;
  }
  .elementor-6 .elementor-element.elementor-element-e9bf66c{
    flex-direction: column;
  }
  .elementor-6 .elementor-element.elementor-element-1d25b69{
    width: 100%;
    padding-left: 20px;
    padding-right:20px ;
  }
  .elementor-6 .elementor-element.elementor-element-b9080b7{
    width:100%;
  }

  .elementor-6 .elementor-element.elementor-element-5f1c76c

 {
        --width: 100%;
        margin-left: 20px;
        margin-right: 20px;
    }

    .elementor-6 .elementor-element.elementor-element-bd531ab{
      padding-left: 20px;
      padding-right: 20px;
    }


    .elementor-998 .elementor-element.elementor-element-95f3451 {
        --width: 100%;
    }

    .elementor-element.elementor-element-396255f {
      flex-direction: column;
    }
        .elementor-998 .elementor-element.elementor-element-e17a3f0{
          width: 100%;
         
        }

        .elementor-998 .elementor-element.elementor-element-396255f{
          width: 100%;
          padding-left: 20px;
          padding-right: 20px;
        }
        .elementor-998 .elementor-element.elementor-element-fd71a16{
          padding-left: 20px;
          padding-right: 20px;
        }

        .elementor-1033 .elementor-element.elementor-element-7038e47{
          width: 100%;
        }
        .elementor-1033 .elementor-element.elementor-element-a916b82{
          
          padding-left: 20px;
          padding-right: 20px;
        }

        .elementor-1033 .elementor-element.elementor-element-de6fab9{
          width:98%;
        }

        .elementor-1053 .elementor-element.elementor-element-bf7c8d4 {
         --width: 100%; 
    }

    .elementor-1053 .elementor-element.elementor-element-5c729c1{
      width: 100%;
      
    }

    .elementor-1053 .elementor-element.elementor-element-b89872e{
      padding-left: 20px;
      padding-right: 20px;
    }

    .elementor-14 .elementor-element.elementor-element-a7e74f4{
      width:98%;
    }
    iframe{
      height:590px;
    }

    .elementor-6 .elementor-element.elementor-element-76ea14d

 {
        --width: 65%;

    


}

    .elementor-6 .elementor-element.elementor-element-6b98cda{
      width:50% !important;
    }

    .elementor-998 .elementor-element.elementor-element-20cb067

 {
        width:50% !important;
    }
        .elementor-998 .elementor-element.elementor-element-0a7d6a2

 {
        width: 100%;
    }

    .elementor-998 .elementor-element.elementor-element-db78ffa{
      padding-left: 20px;
      padding-right: 20px;
    }
}

 

 


 

@media(max-width:1024px){
  .titulo-sobre-nosotros{
    font-size: 42px !important;
  }
  .imagen-especial{
    left:165px;
  }
      .elementor-998 .elementor-element.elementor-element-20cb067 {
        width: 90% !important;
      }
      .elementor-6 .elementor-element.elementor-element-6b98cda{
      width:90% !important;
    }
}
@media(max-width:990px){
.linea-derecha{
  display:none !important;
}

}

@media(max-width:820px){
  .custom-logo{
    width: revert-layer !important;
  }
 
 
}
@media(max-width:777px){
  

}
@media(max-width:767px){

 .elementor-6 .elementor-element.elementor-element-647e1fd{
  left:0px !important
 }

 .elementor-998 .elementor-element.elementor-element-0cc7188

 {
    left: 0px !important;
}





  .elementor-6 .elementor-element.elementor-element-dc1bf57 {
    left: 0px !important;
  }

  


}

@media(max-width:480px){
  .imagen-special-footer{
    max-width: 100%;
  }
  .titulo-sobre-nosotros{
    font-size: 30px !important;
    line-height: 32px;
  }
 
}






