* {
  margin: 0;
  padding: 0;
  font-family: "Noto Sans JP", sans-serif;
  line-height: 1.5rem;
}

/*! Barra de navegacion */
header {
  box-shadow: 0px 2px 4px 0.5px rgba(0, 0, 0, 0.521);
  z-index: 4;
  position: fixed;
  top: 0;
}

nav {
  background-color: #5c3536;
  width: 100vw;
  display: flex;
  z-index: 3;
  align-items: center;
  justify-content: space-around;
  height: 8vh;
}

.titulo {
  color: #ffffff;
  text-shadow: 1px 1px 1px #2e2e2e;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  text-align: center;
  font-size: 1.8rem;
}

.subtitulo {
  color: #ffffff;
  font-weight: bold;
  text-align: justify;
}

.TF-logo {
  height: 6vh;
  width: auto;
}

.ct-logo {
  height: 3rem;
  width: 4rem;
  display: flex;
  align-items: center;
  justify-content: space-around;
}

.iconos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  font-size: large;
}

.iconos>i {
  cursor: pointer;
}

/*! Intro */
.intro {
  background-color: #332A2A;
  display: flex;
  justify-content: center;
  align-items: center;
}

.call-action {
  color: #ffffff;
  text-shadow: 1px 1px 1px #2e2e2e;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  text-align: center;
  font-size: 2.2rem;
}

.intro-parrafo {
  color: white;
  margin-top: 1rem;
  font-family: "Noto Sans JP", sans-serif;
  text-align: center;
  line-height: 1.8rem;
  font-size: clamp(15px, 1vw, 1.2rem);
  width: clamp(100px, 80%, 500px);
}

.intro-2 {
  font-size: clamp(20px, 1vw, 1.2rem);
  font-weight: bold;
  width: clamp(100px, 80%, 500px);
}

.logo-intro {
  margin-bottom: 2rem;
  width: clamp(90px, 40%, 250px);
  height: auto;
}

.intro-textos {
  position: absolute;
  z-index: 2;
  width: clamp(200px, 60%, 768px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.video-intro {
  width: 100vw;
  filter: brightness(0.4);
  position: relative;
  background-size: cover;
  display: block;
}

.photo-intro {
  height: 100vw;
  background-image: url(OTROS/photo-intro.jpeg);
  filter: brightness(0.7);
  position: relative;
  background-size: cover;
  display: none;
}

/*! Choose-us */
.choose {
  background-image: url(OTROS/choose-4.jpg);
  height: 80vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  color: #000000;
}

.choose-textos-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.choose-parrafo {
  color: #383838;
  text-align: justify;
  margin: 1.1rem 0 .2rem 0;
  font-size: clamp(15px, 1vw, 1.2rem);
  width: clamp(200px, 85%, 700px);
}

/*! services */
.exterior-services {
  height: 130vh;
  background: linear-gradient(228deg, rgba(36, 34, 34, 1) 0%, rgba(51, 34, 34, 1) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 3rem;
}

.border-div {
  border: #616161 solid 1px;
  background-color: #5C3536;
  min-height: 250px;
  width: clamp(200px, 85%, 960px);
  justify-content: center;
  display: flex;
  align-items: center;
  flex-direction: row;
}

.info-rigth {
  display: flex;
  align-items: center;
  justify-content: center;
}

.text-servics {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
.serv-conta{
    display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 2rem;
}

.services-titulo {
  margin-top: 1rem;
}

.text-services {
  color: #ffffff;
  width: 60%;
  font-size: 14px;
  text-align: justify;
}

.text-exterior-services>span {
  color: #ffffff;
}

.photo-left {
  height: 100%;
  width: clamp(200px, 85%, 100%);
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
}



/*! Roof */
.roof-photo-left {
  background-image: url(OTROS/roof-services.jpg);
}

.roof-services-logo {
  background: url(OTROS/Roof-icon.svg);
  height: 90px;
  width: 100px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

/*! Exterior */
.exterior-photo-left {
  background-image: url(OTROS/Exterior-services.jpg);
}

.exterior-services-logo {
  background: url(OTROS/canal-icon.svg);
  height: 90px;
  width: 100px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

/*! Interior */
.interior-photo-left {
  background-image: url(OTROS/interior-services.jpg);
}

.interior-services-logo {
  background: url(OTROS/paint-icon.svg);
  height: 90px;
  width: 100px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

/* !Galeria */
.gallery-main {
  background-image: url(OTROS/img-twin-flames-1\ \(1\).jpeg);
    background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  background: linear-gradient(180deg, rgba(71, 51, 51, 1) 0%, rgba(64, 89, 42, 1) 100%);
}

.galeria-part {
  max-width: 80%;
  margin: 0 auto;
  padding: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.gallery-titulo {
  margin-top: 3rem;
}

.gallery-text {
  margin: 1rem;
}

.galeria-contenedor {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.galeria-item {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  aspect-ratio: 4/3;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.galeria-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.galeria-imagen {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.galeria-item:hover .galeria-imagen {
  transform: scale(1.05);
}

/* Modal para vista ampliada */
.galeria-modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.95);
  overflow: hidden;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.galeria-modal.mostrar {
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 1;
}

.modal-contenido {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  border-radius: 8px;
}

.modal-cerrar {
  position: absolute;
  top: 25px;
  right: 30px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.3s ease;
  z-index: 1001;
}

.modal-cerrar:hover {
  color: #ff5252;
}

.modal-navegacion {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 20px;
  transform: translateY(-50%);
  z-index: 1001;
}

.navegacion-btn {
  background-color: rgba(255, 255, 255, 0.2);
  color: white;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  display: flex;
  justify-content: center;
  align-items: center;
}

.navegacion-btn:hover {
  background-color: rgba(255, 255, 255, 0.3);
}

.contador-imagen {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  font-size: 1.2rem;
  background-color: rgba(0, 0, 0, 0.5);
  padding: 5px 15px;
  border-radius: 20px;
}

/* Responsive */
@media (max-width: 768px) {
  .galeria-contenedor {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
  }

  h2 {
    font-size: 2rem;
  }

  .navegacion-btn {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }
}

@media (max-width: 480px) {
  .galeria-contenedor {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .modal-cerrar {
    top: 15px;
    right: 20px;
    font-size: 30px;
  }
}


/*! commets */
.commets {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;

  background: url(OTROS/review-twinFlames-2.jpg);

  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

.elfsight-app-f0193a27-438f-4c7b-a257-06a3ed6baa84 {
  font-size: 0.5rem;
}

/*! Footer */
.ico-fo {
  font-size: 1.1rem;
  margin-right: 1rem;
}

.footer {
  background: linear-gradient(180deg, rgba(71, 51, 51, 1) 0%, rgba(33, 26, 26, 1) 100%);
  color: #e5e7eb;
  padding: 2rem 1rem 0.4rem 1rem;
}

.footer a {
  color: inherit;
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 2rem;
  width: 89vw;
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: .25rem
}

.footer-corto {
  display: flex;
  flex-direction: row;
  gap: 7rem;
}


.footer__brand strong {
  font-size: 1.1rem
}

.footer__contact p {
  margin: .25rem 0
}

.footer__hours h4 {
  margin: .25rem 0 .5rem;
  font-size: 1rem
}

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

.footer__hours li {
  margin: .25rem 0
}

.footer__legal {
  border-top: 1px solid rgba(255, 255, 255, .1);
  margin-top: 1.25rem;
  padding-top: 1rem;
  text-align: center;
  color: #cbd5e1
}

.footer__legal-1 {
  font-size: .7rem;
}




/*! medias quety */
@media (max-width: 800px) {
  * {
    line-height: 1.2rem;
  }

  .iconos {
    gap: 2rem;
    font-size: xx-large;
  }

  .video-intro {
    display: none;
  }

  .container-intro-photo {
    height: 90vh;
  }

  .photo-intro {
    background-image: url(OTROS/photo-intro-1.jpeg);
    position: relative;
    background-size: cover;
    display: block;
    height: 100%;
    width: 100%;

  }

  .intro-parrafo {
    text-align: center;
    line-height: 1.4rem;
    font-size: clamp(.8rem, 1vw, 1.2rem);
    width: clamp(220px, 70%, 500px);

  }

  .logo-intro {
    margin-bottom: 2rem;
    width: clamp(150px, 45%, 300px);
  }

  .call-action {
    font-size: clamp(1.3rem, 1vw, 1.2rem);
    line-height: 1.5rem;
  }

  /* servicios */
  .border-div {
    width: clamp(100px, 85%, 600px);
    flex-direction: column;
  }

  .info-rigth {
    margin: 1rem;
  }

  .photo-left {
    margin: 1rem 0 0 0;
  }

  .text-services {
    width: clamp(100px, 85%, 600px);
    font-size: clamp(.8rem, 1vw, 1.2rem);
    text-align: justify;
  }

  /* !choose */

  .titulo {
    color: #ffffff;
    text-shadow: 1px 1px 1px #2e2e2e;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    text-align: center;
    font-size: 1.5rem;
    line-height: 2rem;
    width: clamp(100px, 85%, 600px);
  }

  .choose {
    background-image: url(OTROS/choose-4C.jpg);
  }

  .choose-textos-container {
    width: 80%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
  }

  .choose-parrafo {
    font-size: clamp(.8rem, 1vw, 1.2rem);
    color: #2e2e2e;
    /* width: 85vw; */
  }


  /* !servicios */
  .exterior-services {
    height: 160vh;
    background: linear-gradient(228deg, rgba(36, 34, 34, 1) 0%, rgba(51, 34, 34, 1) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 3rem;
  }
.exterior-services {
  height: 135vh;
}

  .text-exterior-services {
    margin-top: .5rem;
    width: clamp(100px, 85%, 100%);
  }
.logo-pe{
      height: 50px;
    width: 60px;
}
  /* !Galeria */
  .galeria-part {}

  /*! Footer */
  .footer {
    height: 30rem;
    color: rgb(255, 255, 255);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    font-size: 0.7rem;
  }

  .footer__inner {
    gap: 1rem;
  }

  .footer__brand {
    margin-left: 3rem;
  }

  .footer-corto {
    gap: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: end;
    width: 80%;
  }

  .footer__legal {
    border-top: 1px solid rgba(255, 255, 255, .1);
    text-align: center;
  }
}