/* TIPOGRAFIAS*/

font-family: "forma-djr-display";
font-family: "forma-djr-display", sans-serif;

/*----------*/

body {
  font-family: 'Poppins', sans-serif;
}

/* LIGHTBOX ZOOM IMAGEN*/

.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.9);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.lightbox img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 20px;
}

#closeBtn {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 40px;
  color: white;
  cursor: pointer;
  
}

/* IMPORTANTE */
.zoom-img {
  cursor: pointer;
}


/*-----------*/


h1 {
    font-family: "forma-djr-display", sans-serif;
    font-size: 50px;
   font-weight: 700;
   text-align: center;
   margin-bottom: 20px;
}

h2 {
    font-family: "forma-djr-display", sans-serif;
    font-size: 18px;
   font-weight: 500;
   letter-spacing: 2px;
   line-height: 1.0;
   text-align: center;

}

h3 {
    font-family: "forma-djr-display", sans-serif;
    font-size: 40px;
   font-weight: 700;   
   line-height: 1.0;
   margin-bottom: 10px;
   
}

h4 {
    font-family: "forma-djr-display", sans-serif;
    font-size: 25px;
   font-weight: 700;   
   line-height: 1.0;
   margin-top: 10px;
   margin-bottom: 10px;
   
}


p {
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
}


* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body {
  background: #f5f5f5;
  color: #111;
}

.container {
  max-width: 1500px;
  margin: auto;
  padding: 40px 20px;
}


.divider {
  width: 95%;
  max-width: 1500px;
  height: 2px;
  background-color: #000;
  margin: 20px auto;
}


/* NAV BASE */
.nav {
  margin-top: -20px;
  background: #0b0014;
  position: relative;
  position: sticky;
  top: -20px;
  z-index: 1000;
}

.nav-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 90px;
}

/* LOGO */
.logo img {
  margin-bottom: -20px;
  height: 45px;
  display: block;
}

/* MENÚ DESKTOP */
.menu {
  display: flex;
  gap: 30px;
}

.menu a {
  color: white;
  text-decoration: none;
  font-size: 12px;
  margin-top: 25px;
}

/* CHECKBOX OCULTO */

#menu-toggle {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

/* ICONO */
.menu-icon {
  display: none;
  cursor: pointer;
}

.menu-icon img {
  width: 24px;
  height: auto;
  display: block;
  margin-bottom: -20px;
}

/* MOBILE */
@media (max-width: 768px) {

  .menu-icon {
    display: block;
    margin-left: auto;
    z-index: 1001;
  }

  .menu-wrapper {
    padding-top: 10px;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #0b0014;
    display: none;
  }

  .menu {
    flex-direction: column;
    align-items: center;
    gap: 80px;
    padding: 15px 15px;
  }

  /* 🔥 CLAVE (más estable) */
  #menu-toggle:checked ~ .menu-wrapper {
    display: block;
  }

  .menu a {
    padding-bottom: 20px;
    font-size: 15px;
    font-family: "forma-djr-display", sans-serif;
    font-weight: 500; 

  }

}


/* TABLET */
@media (max-width: 1500px) {

  .menu-icon {
    display: block;
    margin-left: auto;
    z-index: 1001;
    transition: transform 0.5s ease;
  }

  .menu-wrapper {
    padding-top: 20px;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #0b0014;
    display: none;
  }

  .menu {
    flex-direction: column;
    align-items: center;
    gap: 80px;
    padding: 30px 20px;
  }

  /* 🔥 CLAVE (más estable) */
  #menu-toggle:checked ~ .menu-wrapper {
    display: block;
  }

  .menu a {      
    padding-bottom: 10px;
    font-size: 15px;
    font-family: "forma-djr-display", sans-serif;
    font-weight: 500; 
    letter-spacing: 1.5px;
  }

}




/* -------- */



/* HERO SLIDER */

.hero-slider {
  position: relative;
  width: 100%;
  height: 90vh;
  overflow: hidden;
}

/* IMÁGENES */
.slides {
  position: absolute;
  width: 100%;
  height: 100%;
}

.slide {
  opacity: 0;
  transform: scale(1);
  filter: blur(2px);

  transition: 
    opacity 6s ease-in,
    transform 6s ease,
    filter 6s ease;
  }

.slide.active {
  opacity: 1;
  transform: scale(1);
  filter: blur(0);    
}


/* OSCURECER FONDO */

.hero-slider::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.4);
  top: 0;
  left: 0;
  z-index: 1;
}

/* TEXTO DERECHA */
.hero-overlay {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  flex-direction: column;
  text-align: right;
  color: white;
  padding: 60px 80px;
  z-index: 2;
}

.hero-title {
  font-size: 2px;
  font-weight: 900;
  max-width: 1400px;
  line-height: 1.1;
  letter-spacing: -1px;
  text-align: right;
  margin-left: auto;
}

/* TAGS ABAJO CENTRADOS */

.hero-tags {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  gap: 150px;
}

.hero-tags span {  
  font-family: "forma-djr-display", sans-serif;
  font-weight: 600; 
  padding: 4px 14px;
  font-size: 15px;
  letter-spacing: 2px;
  color: white;
  border-radius: 20px;
  border: 1px solid white;
}

/* IMÁGENES */
.slides {
  position: absolute;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.slide.active {
  opacity: 1;
}

/* OSCURECER IMAGEN */
.hero-slider::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.4);
  top: 0;
  left: 0;
  z-index: 1;
}

/* TEXTO */

.hero-overlay h1 {
  font-size: 48px;
  font-weight: 900;
  max-width: 900px;
  line-height: 1.5;
  letter-spacing: 1px;
}

/* TAGS */
.hero-tags {
  margin-top: 20px;
}



/* ---------------- */






/* ABOUT */

.about h1 {
    text-align: left;
}

.about h2 {
  margin-bottom: 20px;
  text-align: left;
}

.about h4 {
  margin-bottom: 20px;
}

.about p {
  max-width: 80%;
  margin-bottom: 30px;
}

.about-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}

.about-gallery img {
  width: 100%;
  border-radius: 10px;  
  transition: transform 0.5s ease;
}

.about-gallery img:hover {
  transform: scale(1.02);
  transition: 1s;
}

/* SERVICES */

.services-grid a {
  color: black;

}

.subtitle {
   margin-bottom: 20px;
}

.numero {    
    font-family: "forma-djr-display", sans-serif;
    font-size: 35px;
    font-weight: 50;

}
.services-grid {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.card {
  padding: 50px;
  background: #eee;
  border-radius: 10px;
  transition: transform 0.5s ease;
}

  .card:hover {
    transform: scale(1.01);
    transition: 0.5s;
  }




.card.active {
  background: linear-gradient(135deg, #8a2be2, #c084fc);
  color: white;
}

.card.active .estrella {
  float:  right;
  width: 70px;
  pointer-events: none;
}

.flecha {
  display: block;
    float:  right;
    height: 30px;
    margin-top: -30px;
}

.services-grid p {
    min-height: 90px;
    width: 75%;
}



/* PROJECTS */

.project-main {
  width: 100%;
  max-width: 1800px; /* o más */
  margin: 0 auto;
  }


.project-main span, .project-baner span {
  font-family: "forma-djr-display", sans-serif;
  font-weight: 600; 
  padding: 4px 14px;
  font-size: 12px;
  letter-spacing: 2px;
  color: black;
  border-radius: 20px;
  border: 1px solid black;
  float: right;
  margin-right: 20px;
}

.project-main img {
  width: 100%;
  border-radius: 10px;
}

.project-info {
  padding: 15px 0;
}

.project-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 20px;
  margin-top: 20px;
  margin-bottom: 20px;
  width: 100%;
}
.project-grid-2 {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 20px;
  margin-top: 20px;
  margin-bottom: 20px;
  width: 100%;
}

.project-grid img, .project-baner img, .project-grid-2 img {
  height: 100%;
  width: 100%;
  border-radius: 20px;
}
 .project-main {
  height: 100%;
  width: 100%;
  border-radius: 20px;
  background-color: #ECECEC;
 }
.project-main h4, .project-baner h4 {
  margin-left: 20px;

}

.project-grid h4, .project-baner h4, .project-grid-2 h4{
  margin-left: 20px;
  margin-bottom: 40px;

}

.project-main p {
  margin-left: 20px;
  margin-right: 20px;

}

.project-grid span, .project-baner span, .project-grid-2 span {
  font-family: "forma-djr-display", sans-serif;
  font-weight: 600; 
  padding: 4px 14px;
  font-size: 12px;
  letter-spacing: 2px;
  color: black;
  border-radius: 20px;
  border: 1px solid black;
  float: right;
  margin-top: 10px;
  margin-right: 20px;
}

.projects a {
  color: black;
}


/* CONTACT */

a {
  text-decoration: none;
}

.contact {
  text-align: center;
}


.btn {
  display: block;
  background: linear-gradient(135deg, #8a2be2, #c084fc);
  color: white;
  padding: 20px;
  margin: 12px auto;
  max-width: 900px;
  border-radius: 30px;
  text-decoration: none;
  transition: transform 0.5s ease
}

.btn-container {
  margin-top: 50px;
}

.btn-container a, .btn-oscuro a {
  text-align: left;
}

.btn span, .btn-oscuro span {
  font-family: "forma-djr-display", sans-serif;
    font-size: 20px;
   font-weight: 500;   
   line-height: 1.0;   
   margin-left: 25px;
   letter-spacing: 1.5px;
}

.btn img, .btn-oscuro img {
    height: 20px;
    margin-right: 5px;
}

.flecha-contacto {
  display: block;
    float: right;
}


/* FOOTER */
.footer {
  background: #0b0014;
  color: white;
  padding: 20px;
  padding-top: 30px;
  margin-top: 30px;
}

.footer img {
  width: 15%;
}

.footer a {
    color: white;
  font-family: "forma-djr-display", sans-serif;
  font-size: 15px; 
   font-weight: 500;   
   line-height: 1.0; 
   letter-spacing: 1px;
   margin-left: 35px;
   margin-bottom: 20px;
}

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

.enlace-contanainer {
  padding-top: 20px;
}

.divider-footer {
  width: 90%;
  max-width: 1500px;
  height: 1px;
  background-color: white;
  margin: 20px auto;
}

.footer-copy {
  color: white;
  font-family: "forma-djr-display", sans-serif;
  font-size: 12px; 
  font-weight: 400;
  letter-spacing: 1px;
  display: block;
  text-align: center;
  margin-bottom: 35px;
}




/* RESPONSIVE */
@media (max-width: 768px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .project-grid {
    grid-template-columns: 1fr;
  }

  .about-gallery {
    grid-template-columns: 1fr;
  }

  .hero-slider {
    height: 65vh;
  }

  .hero-overlay {
    padding: 20px;
    align-items: flex-end;
    justify-content: center;
  }

  .hero-title {
    line-height: 1.2;
    margin: 0;
    max-width: 70%;
  }

  .hero-title h1 {
    font-size: 20px;
  }

  .hero-tags {
    bottom: 20px;
    gap: 10px;
    flex-wrap: wrap;
    width: 90%;
  }

  .hero-tags span {
    font-size: 8px;
    padding: 4px 6px;
  }


  h1 {
    font-size: 40px;
   line-height: 1.0;
   margin-bottom: 20px;
  }

  h2 {
   font-size: 15px;
   letter-spacing: 2px;
   line-height: 1.2;
  }

  h3 {
    font-size: 25px;
   font-weight: 700;   
   line-height: 1.0;
   margin-bottom: 10px;
   
  }

  h4 {
  font-size: 20px;
   font-weight: 700;   
   line-height: 1.0;
   margin-top: 10px;
   margin-bottom: 10px;  
  }


  p {
  font-size: 15px;
  }

  /* HERO SLIDER */

  .hero-overlay h1 {
    font-size: 30px;  
    line-height: 1.0;
    letter-spacing: 1px;
  }
  .hero-tags {
    gap: 2px;
  }
  .hero-tags span {  
    font-family: "forma-djr-display", sans-serif;
    font-weight: 600; 
    padding: 4px 12px;
    font-size: 8px;
    letter-spacing: 1px;
    color: white;
    border-radius: 20px;
    border: 1px solid white;
  }


  /* PROJECTS */

  .project-main span {
    font-family: "forma-djr-display", sans-serif;
    font-weight: 600; 
    padding: 4px 14px;
    font-size: 9px;
    letter-spacing: 2px;
    color: black;
    border-radius: 20px;
    border: 1px solid black;
    float: right;
    margin-right: 10px;
  }

  .project-grid span {
    font-family: "forma-djr-display", sans-serif;
    font-weight: 600; 
    padding: 4px 14px;
    font-size: 9px;
    letter-spacing: 2px;
    color: black;
    border-radius: 20px;
    border: 1px solid black;
    float: right;
    margin-top: 10px;
    margin-right: 10px;
  }



  /* CONTACT */

  .btn {
    max-width: 90%;
    }

  .btn span, .btn-oscuro span {
    font-family: "forma-djr-display", sans-serif;
      font-size: 15px;
    font-weight: 600;   
    line-height: 1.0;   
    margin-left: 25px;
    letter-spacing: 1px;
  }

  /* FOOTER */

  .footer img {
    width: 160px;
  }

  .footer-content {
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
  }

  .footer a {
    color: white;
    font-family: "forma-djr-display", sans-serif;
    font-size: 14px; 
    font-weight: 400;   
    line-height: 1.0; 
    letter-spacing: 1.5px;
    margin-left: 15px;
    display: block;
  }

 

}

/* TABLET */
@media (max-width: 1024px) { 

  /* HERO SLIDER */

  .hero-tags {
    gap: 15px;
  }
}


/* --------PROYECTOS - PAGINA------*/

.project-gran, .project-min {
  height: 100%;
}

.project-gran img, .project-min img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.project-baner {
  margin-top: 60px;

}

@media (max-width: 768px) {



.project-gran {
  padding-bottom: 30px;
}

.project-grid-2 {
  display: grid;
  grid-template-columns: 1fr;

  }
.project-grid-2 .project-min {
  padding-bottom: 30px;

}

}



/* --------PROYECTO INDIVIDUALES------*/

/* CONTAINER */
.project-intro container {
  width: 100%;
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 20px;
}

/* =========================
   INTRO PROYECTO
========================= */

.project-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.project-image img {
  width: 100%;
  border-radius: 10px;
  display: block;
}
 
  .project-info {
    display: block;
    align-items: flex-start;
  }


.project-info h1 {
  font-size: 42px;
  font-weight: 800;
  margin-bottom: 15px;
  text-align: left;
}

.project-info p {
  line-height: 1.6;
  margin-bottom: 15px;
}

.project-tags span {
  display: inline-block;  
  margin-right: 8px;

  font-family: "forma-djr-display", sans-serif;
  font-weight: 600; 
  padding: 4px 14px;
  font-size: 12px;
  letter-spacing: 2px;
  color: black;
  border-radius: 20px;
  border: 1px solid black;
  margin-right: 20px;


}

/* =========================
   TEXTO 3 COLUMNAS
========================= */

.text-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 0px;
}

.text-grid h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.text-grid p {
  line-height: 1.6;
}

/* =========================
   GALERÍA
========================= */

.project-gallery {
  margin-top: 20px;
}

/* imagen full */
.img-full img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 10px;
  display: block;
  margin-bottom: 20px;
}

/* 2 columnas */
.img-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.img-grid-2 img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 10px;
}

/* 3 columnas */
.img-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 20px;
}

.img-grid-3 img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 10px;
}

/* =========================
   MÁS PROYECTOS
========================= */

.more-projects {
  margin-top: 80px;
}

.more-projects h2 {
  text-align: center;
  margin-bottom: 40px;
}

.projects-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.project-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 10px;
}

.project-card h4 {
  font-size: 14px;
  margin-bottom: 5px;
}

.project-card span {
  font-size: 10px;
  border: 1px solid #ccc;
  padding: 3px 10px;
  border-radius: 20px;
} 

.project-grid a {
  color: black;
}


@media (max-width: 768px) {

  /* INTRO */
  .project-header {
    grid-template-columns: 1fr;
  }

  .project-info h1 {
    font-size: 28px;
  }

  /* TEXTO */
  .text-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* GALERÍA */
  .img-full img {
    height: 250px;
  }

  .img-grid-2 {
    grid-template-columns: 1fr;
  }

  .img-grid-2 img {
    height: 220px;
  }

  .img-grid-3 {
    grid-template-columns: 1fr;
  }

  .img-grid-3 img {
    height: 200px;
  }

  /* MÁS PROYECTOS */
  .projects-grid {
    grid-template-columns: 1fr;
  }

  .project-grid .project-min {
    padding-bottom: 33px;
  } 

}



/* -------- SERVICIO BASE ------*/

/* INTRO */
.service-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  align-items: start;
}

.service-info {
  flex: 1;
}

.service-image {
  flex: 1;
}

.service-image img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  border-radius: 16px;
}

.service-info h1, .service-about h1, .service-includes h1 {
  margin-left: 0px;
  text-align: left;
  font-weight: 800;
  margin-bottom: 10px;
}

.service-about h2 {
  text-align: left;
  margin-bottom: 10px;
}

.service-about p {
  max-width: 70%;
}
.service-info p {
  line-height: 1.6;
}

.about-gallery {
  margin-top: 30px;
}
.service-image img {
  width: 100%;
  border-radius: 10px;
}

.service-includes p {
  display: block;
  max-width: 70%;
}
.includes-intro {
  margin-bottom: 30px;
}
.includes-grid {
  display: grid;
  grid-template-columns: 2fr 2fr;
  gap: 20px;
  align-items: start;
}

.include-card {
  border-radius: 20px;
  padding: 40px 30px;
  background-color: #ececec;
}

.include-card span {
  font-family: "forma-djr-display", sans-serif;
    font-size: 22px;
   font-weight: 300;
   letter-spacing: 2px;
   line-height: 1.0;
}

.service-visual img {
  border-radius: 20px;
  width: 100%;
  height: auto;
}

/* MOBILE */
@media (max-width: 768px) {

  .service-header {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: start;
}

}

@media (max-width: 768px) {
  .service-header {
    flex-direction: column-reverse; /* 👈 imagen arriba en móvil */
  }

  .service-image img {
    height: 250px;
  }

  .includes-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: start;
}
}












/* -------- CONTACTO - PAGINA------*/

  .contact-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 30px 0;
}

.contact-images img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 16px;
}

.btn-oscuro {
  display: block;
  color: white;
  padding: 20px;
  margin: 12px auto;
  max-width: 900px;
  border-radius: 30px;
  text-decoration: none;
  background-color: #0b0014;
  transition: transform 0.5s ease
}

.btn-oscuro:hover, .btn:hover {
  transform: scale(1.02);
}

/* MOBILE */
@media (max-width: 768px) {

  .contact-images {
    display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin: 30px 0;
  }
  

}
