/* ==========================================================
   VARIABLES
========================================================== */

:root{
  --bg:#ffffff;
  --bg-soft:#f5f5f5;
  --bg-dark:#132739;
  --bg-black:#111111;
  --text:#1d1d1d;
  --text-light:#ffffff;
  --accent:#c88a2a;
  --radius:14px;
  --header:72px;
  --shadow:0 10px 30px rgba(0,0,0,.08);
}

/* ==========================================================
   RESET
========================================================== */

*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
}

body{
  font-family:Inter,Arial,sans-serif;
  color:var(--text);
  background:var(--bg);
  line-height:1.6;
}

img{
  max-width:100%;
  display:block;
}

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

/* ==========================================================
   HEADER
========================================================== */

.site-header{
  position:fixed;
  top:0;
  left:0;
  width:100%;
  height:var(--header);
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:0 8vw;
  z-index:1000;
  background:rgba(255,255,255,.85);
  backdrop-filter:blur(10px);
  border-bottom:1px solid rgba(0,0,0,.06);
}

.logo a{
  font-weight:700;
  letter-spacing:.15rem;
}

/* ==========================================================
   NAVEGACIÓN
========================================================== */

nav ul{
  list-style:none;
  display:flex;
  gap:2rem;
  align-items:center;
}

nav ul li a{
  display:flex;
  align-items:center;
  gap:.45rem;
}

nav ul li a i{
  font-size:.95rem;
}

nav a:hover{
  color:var(--accent);
}

.live{
  padding:.65rem 1rem;
  border:1px solid var(--accent);
  border-radius:999px;
}

/* ==========================================================
   HERO
========================================================== */

.hero{
  min-height:100vh;
  display:flex;
  justify-content:center;
  align-items:center;
  text-align:center;
  padding:var(--header) 2rem 3rem;
  background:
    linear-gradient(rgba(0,0,0,.45),rgba(0,0,0,.35)),
    url("../img/hero/hero.webp") center/cover no-repeat;
  color:white;
}

.hero-content{
  max-width:760px;
}

.hero-logo{
  width:140px;
  margin:0 auto 2rem;
}

.hero h1{
  font-size:clamp(2.3rem,5vw,4.8rem);
  line-height:1.1;
  margin-bottom:1rem;
}

.hero p{
  font-size:1.2rem;
  opacity:.95;
  margin-bottom:2.5rem;
}

.hero-buttons{
  display:flex;
  justify-content:center;
  gap:1rem;
  flex-wrap:wrap;
}

/* ==========================================================
   BOTONES
========================================================== */

.btn{
  padding:1rem 1.7rem;
  border-radius:999px;
  background:white;
  color:#111;
  font-weight:600;
  transition:.25s;
  box-shadow:var(--shadow);
}

.btn:hover{
  transform:translateY(-3px);
}

.btn i{
  margin-right:8px;
  vertical-align:middle;
}

.btn-live{
  background:var(--accent);
  color:white;
}

/* ==========================================================
   SECCIONES
========================================================== */

.section{
  padding:7rem 8vw;
}

.trabajos{
  background:var(--bg-soft);
}

.servicios{
  background:var(--bg-dark);
  color:white;
}

.youtube{
  background:var(--bg-black);
  color:white;
}

.contacto{
  background:white;
}

.section-title{
  text-align:center;
  margin-bottom:4rem;
}

.section-title p{
    max-width:650px;
    margin:1rem auto 0;
    color:#666;
    font-size:1.05rem;
}

.section-title span{
  color:var(--accent);
  text-transform:uppercase;
  letter-spacing:.2rem;
  font-size:.85rem;
}

.section-title h2{
  font-size:clamp(2rem,3.5vw,3rem);
}

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

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

.gallery-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
  gap:20px;
}

.gallery-item{
  position:relative;
  overflow:hidden;
  aspect-ratio:16 / 9;
  border-radius:14px;
  background:#000;
}

.gallery-item img{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
  object-position:center;
  transition:transform .35s ease;
}

.gallery-item:hover img{
  transform:scale(1.03);
}

/* Ya no se utilizan, pero se dejan por compatibilidad */
.gallery-item.large{
  grid-column:span 1;
}

.gallery-item.tall{
  height:auto;
}


/* ==========================================================
   SERVICIOS
========================================================== */

.services{
  display:grid;
  grid-template-columns:repeat(2,minmax(300px,1fr));
  gap:2rem;
  max-width:900px;
  margin:0 auto;
}

.service{
  background:rgba(255,255,255,.06);
  padding:2rem;
  border-radius:var(--radius);

  display:flex;
  flex-direction:column;
  text-align:center;

  transition:.25s;
}

.service:hover{
  transform:translateY(-6px);
}

.service i{
  font-size:3.2rem;
  color:var(--accent);
  margin-bottom:1rem;
}

.service h3{
  min-height:56px;
  display:flex;
  justify-content:center;
  align-items:center;
  margin-bottom:1rem;
}

.service p{
  flex:1;
}

/* ==========================================================
   YOUTUBE
========================================================== */

.youtube-wrapper{
  max-width:1000px;
  margin:auto;
  aspect-ratio:16/9;
}

.youtube-wrapper iframe{
  width:100%;
  height:100%;
  border:none;
  border-radius:var(--radius);
}

.center{
  text-align:center;
  margin-top:2rem;
}

/* ==========================================================
   CONTACTO
========================================================== */

.contact-buttons{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:1rem;
}

.contact-buttons a{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;

  padding:1rem 1.5rem;

  border:1px solid #ddd;
  border-radius:999px;

  transition:.25s;
}

.contact-buttons a:hover{
  transform:translateY(-3px);
  box-shadow:var(--shadow);
}

.contact-buttons a i{
  font-size:1.2rem;
}

/* ==========================================================
   FOOTER
========================================================== */

.footer-logo{
    width:150px;
    margin:0 auto 1rem;
    display:block;
}

.site-footer{
  padding:2rem;
  text-align:center;
  background:#111;
  color:white;
}

.site-footer p{
    color:#d0d0d0;
    font-size:1.05rem;
}

.site-footer small{
    color:#8a8a8a;
    font-size:.9rem;
}

/* ==========================================================
   BOTONES FLOTANTES
========================================================== */

#scrollTop,
#whatsappButton{

    position:fixed;
    right:20px;

    display:flex;
    justify-content:center;
    align-items:center;

    width:58px;
    height:58px;

    border:none;
    border-radius:50%;

    box-shadow:var(--shadow);

    z-index:999;
    transition:.25s;
}

#scrollTop{

    bottom:90px;

    background:#fff;
    color:#111;
}

#scrollTop:hover,
#whatsappButton:hover{

    transform:translateY(-3px);

}

#scrollTop i{

    font-size:1.2rem;

}

#whatsappButton{

    bottom:20px;

    background:#25D366;
    color:#fff;

}

#whatsappButton i{

    font-size:2rem;

}


/* ==========================================================
   RESPONSIVE
========================================================== */

@media (max-width:900px){

  nav ul{
    gap:1rem;
    font-size:.9rem;
  }

  .gallery-item.large{
    grid-column:span 1;
  }

}

@media (max-width:700px){

  .site-header{
      flex-direction:row;
      flex-wrap:wrap;
      justify-content:center;
      height:auto;
      padding:1rem;
      gap:1rem;
  }

    .section{
        scroll-margin-top:18@media (max-width:700px){

  .site-header{
      flex-direction:row;
      flex-wrap:wrap;
      justify-content:center;
      height:auto;
      padding:1rem;
      gap:1rem;
  }

@media (max-width:700px){

  .site-header{
      flex-direction:row;
      flex-wrap:wrap;
      justify-content:center;
      height:auto;
      padding:1rem;
      gap:1rem;
  }

0px;
    }

}

}
  nav ul{
    flex-wrap:wrap;
    justify-content:center;
  }

.section{
    scroll-margin-top:90px;
}
  .hero{
    padding-top:8rem;
  }

  .hero-buttons{
    flex-direction:column;
  }

  .btn{
    width:100%;
  }

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

}



