/* =========================
   REAL ESTATE HERO
========================= */

.real-estate-hero {
  position: relative;
  height: 55vh;
  min-height: 350px;
  background: url('../assets/images/hit_emprendimientos.jpg') center center / cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}

.real-estate-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.4), rgba(0,0,0,0.7));
}

.real-estate-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.real-estate-hero h1 {
  font-family: 'GT Walsheim Bold', sans-serif;
  font-size: clamp(48px, 6vw, 72px);
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* =========================================
   REAL ESTATE INFO 
========================================= */

.rest-info {
  width: 100%;
}

.rest-info-block {
  width: 100%;
  padding: 120px 0;
}

.rest-info-container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.rest-info-blue {
  background: #1C2249;
}

.rest-info-white {
  background: #ffffff;
}

.rest-info-image {
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  will-change: transform;
}

.rest-info-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.rest-info-image:hover {
  transform: scale(1.05);
}

.rest-info-content h2 {
  font-family: 'GT Walsheim Bold', sans-serif;
  font-size: clamp(32px, 3vw, 44px);
  margin-bottom: 25px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.rest-info-blue h2,
.rest-info-blue p {
  color: #ffffff;
}

.rest-info-white h2 {
  color: #1C2249;
}

.rest-info-white p {
  color: #4a4a4a;
}

.rest-info-content p {
  font-family: 'Maven Pro', sans-serif;
  font-size: 16px;
  line-height: 1.8;
}


@media (max-width: 900px) {

  .rest-info-container {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .rest-info-block {
    padding: 80px 0;
  }

  .rest-info-white .rest-info-container {
    display: flex;
    flex-direction: column-reverse;
  }

}

/* =========================
   SECCIÓN CAMINO DE TRABAJO
========================= */
.camino-trabajo {
  width: 100%;
  padding: 100px 20px;
  background-color: #ffffff;
  text-align: center;
}

.camino-steps {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  gap: 30px;
}

.camino-steps::before {
  content: '';
  position: absolute;
  top: 60px;
  left: 5%;
  right: 5%;
  height: 4px;
  background-color: #00D6FF;
  z-index: 1;
  transform: translateY(-50%);
}

.camino-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 2;
  width: 100px;
}

.camino-step img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  border-radius: 50%;
  padding: 10px;
  margin-bottom: 20px;
  position: relative;
  top: -40px;
}

.camino-dot {
  width: 20px;
  height: 20px;
  background-color: #00D6FF;
  border-radius: 50%;
  position: absolute;
  top: 60px;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
}

.camino-step h3 {
  margin-top: 22px;
  font-family: 'GT Walsheim Bold', sans-serif;
  font-size: 16px;
  color: #1C2249;
  text-transform: uppercase;
  text-align: center;
  line-height: 1.4;
}

.camino-step h3.single-line {
  align-self: flex-start;
  margin-top: 42px;
}

.camino-step h3.two-lines {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-top: 32px;
}

@media (min-width: 768px) and (max-width: 1023px) {
  .camino-steps {
    gap: 50px;
  }

  .camino-steps::before {
    width: 88%;
    left: 6%;
  }
}

@media (max-width: 767px) {
  .camino-trabajo {
    padding: 20% 3%;
  }

  .camino-container {
    width: 100%;
    margin: 0;
    padding-left: 10%;
  }

  .camino-steps {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    width: 100%;
  }

  .camino-steps::before {
    top: 5%;
    bottom: 0;
    left: 40%;
    width: 4px;
    height: 85%;
    transform: translateX(-50%);
  }

  .camino-step {
    flex-direction: row;
    align-items: center;
    width: 100%;
  }


  .camino-step img {
    width: 3.75rem;
    height: 3.75rem;
    object-fit: contain;
    border-radius: 50%;
    margin: 0;
    top: 0;
    justify-content: flex-start;
    padding-top: 1%;
  }

  .camino-dot {
    left: 40%;
    top: 45%;
    transform: translate(-50%, -50%);
    position: absolute;
  }


  .camino-step h3 {
  margin: 0;
  text-align: center;
  flex: 1;
  padding-right: 0%;
  font-size: 3vw;
  max-width: 12ch;
  position: relative;
  margin-left: 40%;
}

  .camino-step h3.single-line,
  .camino-step h3.two-lines {
    display: block;
    align-items: flex-end;
    margin-top: 0;
  }

  .camino-step h3.single-line {
    padding-top: 18px;
  }
}

/* =========================
   SECCIÓN VIDEO
========================= */

.rest-video-section {
  width: 100%;
  padding: 30px 20px;
  background-color: #ffffff;
  text-align: center;
  color: #1C2249;
}

.rest-video-section .rest-video-header h2 {
  font-family: 'GT Walsheim Bold', sans-serif;
  font-size: clamp(20px, 4vw, 28px);
  text-transform: uppercase;
  margin-bottom: 60px;
}

.rest-video-section .rest-video-content {
  max-width: 1000px;
  margin: 0 auto;
}

.rest-video-section .rest-video-content video {
  width: 100%;
  border-radius: 8px;
  display: block;
}

/* =========================
   SECCIÓN CONTACTO CTA
========================= */
.cont-cta {
  width: 100%;
  padding: 80px 20px;
  background-color: #ffffff;
  text-align: center;
}

.cont-link {
  font-family: 'GT Walsheim Bold', sans-serif;
  font-size: clamp(28px, 3vw, 36px);
  text-transform: uppercase;
  text-decoration: none;
  color: #1C2249;
  padding-bottom: 5px;
  transition: all 0.3s ease;
}

.cont-link:hover {
  color: #00D6FF;
}