/* ================================ */
/* RESET & VARIABLES                 */
/* ================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg-main: #0e0e0e;
  --bg-soft: #151515;
  --text-main: #f2f2f2;
  --text-muted: #9a9a9a;
  --border-soft: #222;
}

html, body {
  font-family: 'Inter', sans-serif;
  background: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  width: 100%;
  height: 100%;
  overflow-x: hidden;
}
h1, h2 {
  font-family: 'DM Serif Display', serif;
}


/* ================================ */
/* HERO / HERO PROJECTS              */
/* ================================ */

/* contenedor hero-projects */
.hero-projects {
  position: relative;
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  overflow: hidden;
}

/* efecto fade scroll */
.fade-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* slider de imágenes */
.hero-slider .slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.4s ease-in-out;
}

.hero-slider .slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 6s ease;
  transform: scale(1.05);
}

.hero-slider .slide.active {
  opacity: 1;
}

.hero-slider .slide.active img {
  transform: scale(1);
}


/* overlay */
.hero-projects::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.25);
  z-index: 1;
}

/* hero-home-content */
.hero-home-content {
  position: absolute;
  left: 20px;
  bottom: 24px;
  z-index: 2;
  max-width: 640px;
}
.hero-home-content h1 {
  margin: 0;
  line-height: 0.9;
}

/* Animaciones hero */
.reveal-text {
  opacity: 0;
  transform: translateY(20px);
  filter: blur(3px);
  animation: revealText 1.1s ease-out forwards;
}
.reveal-text.delay {
  animation-delay: 0.25s;
}
@keyframes revealText {
  to { opacity: 1; transform: translateY(0); filter: blur(0); }
}

.ba-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* TEXTO */
.ba-info h3 {
  font-size: 14px;
  letter-spacing: .25em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.ba-text {
  font-size: 14px;
  line-height: 1.6;
  opacity: .75;
  max-height: 45px;
  overflow: hidden;
  transition: max-height .4s ease;
}

/* expandido */
.ba-card.active .ba-text {
  max-height: 300px;
}

/* botón */
.ba-btn {
  background: none;
  border: none;
  color: #fff;
  opacity: .6;
  font-size: 12px;
  letter-spacing: .2em;
  cursor: pointer;
  align-self: flex-start;
}

.ba-btn:hover {
  opacity: 1;
}



.hero-eyebrow {
  display: block;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.hero h2 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.hero p {
  margin-top: 16px;
  font-size: 15px;
  line-height: 1.7;
  max-width: 520px;
}

.hero-btn {
  display: inline-block;
  margin-top: 32px;
  padding: 14px 48px;

  border-radius: 999px;
  border: 1px solid rgba(0,0,0,0.35);

  background: #f2f3f1;
  color: #111;

  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;

  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.hero-btn:hover {
  background: #111;
  color: #fff;
  border-color: #111;
}

.hero-content > * {
  opacity: 0;
  transform: translateY(20px);
  animation: heroReveal 1s ease-out forwards;
}

.hero-content > *:nth-child(1) { animation-delay: .2s; }
.hero-content > *:nth-child(2) { animation-delay: .4s; }
.hero-content > *:nth-child(3) { animation-delay: .6s; }
.hero-content > *:nth-child(4) { animation-delay: .8s; }


@keyframes heroReveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* NOMBRE */
.first-name {
  font-family: 'Inter', sans-serif;
  font-size: clamp(50px, 5vw, 80px);
  font-weight: 300;
  letter-spacing: -0.02em;
  opacity: 0.11;
  display: block;     
  margin-bottom: -6px; 
}

.last-names {
  display: inline-flex; 
  gap: 10px;          
  flex-wrap: nowrap;    
}

.last-name {
  font-family: 'Inter', sans-serif;
  font-size: clamp(90px, 9vw, 140px);
  font-weight: 200;
  letter-spacing: -0.01em;
  display: inline-flex; 
}
.last-names .last-name:last-child {
  margin-left: 20px; 
  opacity: 0.6;  
}


/* TAGLINE */

.reveal-text {
  opacity: 0;
  transform: translateY(20px);
  filter: blur(3px);
  animation: revealText 1.1s ease-out forwards;
}

.reveal-text.delay {
  animation-delay: 0.25s;
}

@keyframes revealText {
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}






.whatsapp-float {
  position: fixed;           
  bottom: 40px;            
  right: 40px;              
  width: 60px;
  height: 60px;
  background-color: #555;    
  color: white;
  border-radius: 50%;        
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;           
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
  z-index: 9999;             
  transition: transform 0.2s;
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.1);     
}


/* MOBILE */
@media (max-width: 768px) {

    .site-footer {
    padding: 96px 6% 40px;
  }
}

/* ---------- RESPONSIVE GENERAL ---------- */

@media (max-width: 768px) {

  /* ---------- TYPO / SECTIONS  ---------- */
.hero-home-content {
    left: 0;              
    padding-left: 6%;      
    max-width: 100%;      
    box-sizing: border-box;
  }

  .hero-title {
    text-align: left;
    margin: 0;
    padding: 0;
  }

  .first-name {
    display: block;
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    letter-spacing: 0;
    font-size: clamp(50px, 10vw, 80px);
    opacity: 0.11;
    margin-bottom: 8px;
  }

  .last-names {
    display: inline-flex;  
    flex-wrap: wrap;
    gap: 15px;
  }

  .last-name {
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    font-size: clamp(60px, 12vw, 90px); 
    opacity: 1;
    margin: 0;
  }

  .last-names .last-name:last-child {
    opacity: 0.6;
    margin-left: 0;  
  }
  .section-header h3 {
    font-size: 24px;
  }
  .about-intro {
    padding: 96px 6%;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }

  .about-image img {
    margin: 0 auto;
  }

  .about-content p {
    margin: 0 auto;
  }
  .before-after {
    padding: 80px 4%;
  }

  .hero-slider .slide {
    transform: scale(1); 
    object-fit: contain;
  }
    .hero-slider .slide img {
    object-position: contain;
    background:black;
  }

  .hero-slider .slide.active {
    transform: scale(1);
  }
  
  body.menu-open {
    overflow: hidden;
  }
  }
  @media (max-width: 1024px) {
    :root {
      --nav-space: 72px;
    }
  }


@media (min-width: 1280px) {
  .first-name {
    font-size: 130px;
  }

  .last-name {
    font-size: 170px;
  }
}

/* Ajuste para mobile */
@media (max-width: 768px) {
  .whatsapp-float {
    bottom: 15px; 
    right: 15px;   
    width: 55px;   
    height: 55px;
    font-size: 28px;
  }
}
