  .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.0); /* Negro semitransparente */
    z-index: 1;
  }
 

  /* Contenedor principal sobre el overlay */
  #portada .container {
    z-index: 2;
    position: relative;    
  }
  
  /* Texto encima del video */
  #portada h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    margin: 0.5rem 0 0;
    text-shadow: 0 1px 4px rgba(0,0,0,0.6);
    
  }

  #portada span {
    background: #283F2B;
    font-size: 1rem;
    color: #fff;    
    padding: .3rem 1rem;
    text-shadow: 0 1px 4px rgba(0,0,0,0.6);
  }
  
  #portada h2 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #fff;
    margin: 2rem 0 0 0;
    text-shadow: 0 1px 4px rgba(0,0,0,0.6);
  }

  #portada p {    
    font-size: .9rem;
    color: #eee;
    margin-bottom: .5rem;    
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
  }
  
  /* Video embed responsivo
  #portada .ratio {
    max-width: 100%;
    border-radius: 00px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.3);
  } */

  #portada .ratio {
    margin: 0 auto;
    max-width: 100%;
  } 
  
      /* Franja inferior */
      .bottom-bar {        
        width: 100%;
        height: 65px;
        background-color: rgba(15, 15, 15, 0.0);
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0;

      }
    
      
      .bottom-bar .brochure-btn {
        height: 100%;
        background-color: #EFE9E4;
        padding: 2rem 0;
        color: #283F2B;
        border: none;
        border-radius: 18px;
        padding: .5rem 1.5rem;
        font-size: .8rem;
        font-weight: 500;
        display: flex;
        align-items: center;
        gap: 0.5rem;
        transition: background-color 0.3s ease;
      }
  
      .bottom-bar .brochure-btn:hover {
        background-color: #283F2B;
        color: #EFE9E4;
      }


/*============= sm: ≥576px =====================*/

   @media (min-width: 576px) {

      #portada {
        padding: 1.5rem;
        text-align: center;
      }

      #portada h1 {
        font-size: 2.6rem;
      }
    
      #portada p {
        font-size: 0.95rem;
      }
    
      #portada .container {
        padding: 0 1rem;
      }

      /* Franja inferior en móviles */
      .bottom-bar {
        flex-direction: column;
        height: auto;
        padding: 1rem;
        gap: 1rem;
      }

      .bottom-bar .price-text {
        font-size: 1rem;
      }       
  
      .bottom-bar .brochure-btn {
        width: 100%;
        height: 60px;
        justify-content: center;
        font-size: .9rem;
      }

    }

/*============= lg: ≥992px ====================*/
   @media (min-width: 992px) {
      
    #portada h1 {
        margin-top: 6rem;
      }    

    #portada h2{
      font-size: 1.5rem;
    }

    #portada p{
      font-size: 1.1rem;
    }
    .bottom-bar .brochure-btn {
      font-size: 1rem;
    }

   }
/*============= xl: ≥1200px ===================*/
    @media (min-width: 1200px) {
         
    #portada h1 {
      font-size: 3rem;
      margin-top: 4.5rem;

    }
  }
/*--------------------------------------------------------------
# DETALLE  PROYECTO INDIVIDUAL
--------------------------------------------------------------*/
  .detalle-portada{
      background: #EFE9E4;    
      padding: 2rem 0;    
  }

  .detalle-portada h2{
      font-size: 2.5rem;
      font-weight: 900;
      line-height: .9; /* valor relativo (recomendado) */
      color: #282727;
      text-align: center;
  }

  .detalle-portada p{
      font-size: 1.1rem;
      color: #283F2B;
      text-align: center;
  }

  .detalle-portada .info-box{
      display: flex;
      flex-direction: column;
      align-items: center;
      color: #283F2B;
      transition: transform 0.3s ease-in-out;
  } 

  .detalle-portada .info-box i{
      font-size: 2.5rem;
      margin-bottom: 0.5rem;
      color: #283F2B;
      transition: transform 0.3s ease;
  }

  .detalle-portada .info-box .info-small{
      font-size: 1.2rem;
      margin: 0;
      color: #283F2B;
  }

  .detalle-portada .info-box .info-large{
      font-size: 2.5rem;
      font-weight: 900;
      margin: 0.2rem 0 0;
      color: #283F2B;
  }

  .detalle-portada .info-box .info-large-direccion{
      font-size: 1.1rem;
      font-weight: 900;
      margin: 0.2rem 0 0;
      color: #283F2B;
      text-align: center;
  }


  
/*--------------------------------------------------------------
# CARACTERISTICAS PROYECTO INDIVIDUAL
--------------------------------------------------------------*/
  .caracteristicas-proyecto {
    background-color: #fff;    
  }

  .caracteristicas-proyecto .portfolio-description{
    padding: 0 .5rem;     
  }
    
  .caracteristicas-proyecto .portfolio-description h2 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 20px;
    line-height: .9; /* valor relativo (recomendado) */
    text-align: center;   
  }
  
  .caracteristicas-proyecto .portfolio-description p {
    padding: 0;
    color: color-mix(in srgb, var(--default-color), transparent 30%);
    text-align: justify;
    line-height: 2;
  }
  
  .caracteristicas-proyecto .portfolio-details-slider img {
    width: 100%;
  }
  
  .caracteristicas-proyecto .portfolio-details-slider .swiper-pagination {
    margin-top: 20px;
    position: relative;
  }
  
  .caracteristicas-proyecto .portfolio-details-slider .swiper-pagination .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background-color: color-mix(in srgb, var(--default-color), transparent 85%);
    opacity: 1;
  }
  
  .caracteristicas-proyecto .portfolio-details-slider .swiper-pagination .swiper-pagination-bullet-active {
    background-color: var(--accent-color);
  }


/*============= md: ≥768px ====================*/
  @media (min-width: 768px) {

    .caracteristicas-proyecto .portfolio-description h2 {
      text-align: left;
     }
  }
  
  /*========================  PROGRESO  ================================== */  

  .progreso-proyecto h3{
    font-size: 2rem;
    font-weight: 600;
    color: #283F2B;
    margin-bottom: 2rem;
    text-align: center;
  }
 
 
  .progreso-proyecto .circular-progress {
    position: relative;
    width: 390;
    height: 390px;
    margin: auto;

  }
  
  .progreso-proyecto .progress-ring {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
  }
  
  .progreso-proyecto .progress-ring-bg {
    fill: none;
    stroke: #b1b1b1;
    stroke-width: 40;
  }
  
  .progreso-proyecto .progress-ring-fill {
    fill: none;
    stroke: #283F2B;
    stroke-width: 40;
    stroke-linecap: round;
    stroke-dasharray: 1500; /* Circunferencia de r=54 */
    stroke-dashoffset: 1050; /* Oculto inicialmente */
    
    transition: stroke-dashoffset 0.5s ease-out;
        
  }
  
  .progreso-proyecto .progress-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #333;
  }
  
  .progreso-proyecto .progress-text small {
    display: block;
    font-size: 2rem;
    color: #555;
  }
  
  .progreso-proyecto .progress-text strong {
    font-size: 2.5rem;
    font-weight: bold;
  }

  .progreso-proyecto .boton-actualizacion{
    box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.4);    
    padding: 0; 
    border: none;
    
  }

  .progreso-proyecto .boton-actualizacion .actualizado{
    background: #283F2B;
    color: #fff;
    border: none;
  }
  
  .progreso-proyecto .boton-actualizacion .fecha{
    background: #EFE9E4;
    color: #283F2B;
    border: none;
  }

  .progreso-proyecto .portfolio-details-slider img {
    width: 100%;
  }
  
  .progreso-proyecto .portfolio-details-slider .swiper-pagination {
    margin-top: 20px;
    position: relative;
  }
  
  .progreso-proyecto .portfolio-details-slider .swiper-pagination .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background-color: color-mix(in srgb, var(--default-color), transparent 85%);
    opacity: 1;
  }
  
  .progreso-proyecto .portfolio-details-slider .swiper-pagination .swiper-pagination-bullet-active {
    background-color: var(--accent-color);
  }


/*============= lg: ≥992px ====================*/
  @media (min-width: 992px) {
      .progreso-proyecto h3{
        text-align: left;
      }

  }



  /*========================  BOTONES DE VIVE CERCA A TODO  ================================== */  

      .ubicacion h3{    
        color: #283F2B;
        font-size: 2rem;
        font-weight: 700; 
      }

      .ubicacion  p{
        line-height: 1.2; /* valor relativo (recomendado) */
      }
      .ubicacion .btn-option {
        background-color: #fff;
        color: #283F2B;
        font-size: 1rem;
        font-weight: 600;    
        border: 1px solid #d5d5d5;
        border-radius: 5px;
        padding: 10px;
        transition: background-color 0.3s ease;
        display: flex;
        align-items: center;
        justify-content: center;
      }
      
      .ubicacion .btn-option:hover,
      .ubicacion .btn-option:focus {
        background: #EFE9E4;
        border: 1px solid #EFE9E4;
      }

      .ubicacion .btn-option.active {
        background-color: #EFE9E4;    
        box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.4);   
        color: #283F2B;
        border: 1px solid #e7dcd3;
      }
      .ubicacion .btn-google {
        background-color: transparent;
        border: 2px solid #283f2B;
        color: #283f2B;
        height: 48px;
        
        transition: background-color 0.3s ease, color 0.3s ease;
      }
      
      .ubicacion .btn-google:hover {
        background-color: #283F2B;
        color: #fff;
      }
      
      .ubicacion .fade-img {
        width: 100%;
        height: auto;
        opacity: 1;
        transition: opacity 0.5s ease;
      }
      
    
      /* Icon Colors */
      .ubicacion .icon-green {
        color: #496d4e;
        font-size: 1.5rem;

      }
      
      .ubicacion .icon-yellow {
        color: #F0BA38;
        font-size: 1.5rem;
      }
      
      .ubicacion .icon-blue {
        color: #4496F7;
        font-size: 1.5rem;

      }
      

  /*========================  SECCION ubicacion-old   ================================== */  

/* Estilos base (mobile-first, xs: <576px) */
.ubicacion-old .map-container {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 0.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  min-height: 300px; /* Mínimo para móviles */
  max-height: 400px; /* Máximo para móviles */
}

.ubicacion-old .map-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  max-height: 100%;
}

/* sm: ≥576px */
@media (min-width: 576px) {
  .ubicacion-old .map-container {
    min-height: 350px;
    max-height: 450px;
  }
}

/* md: ≥768px */
@media (min-width: 768px) {
  .ubicacion-old .map-container {
    min-height: 400px;
    max-height: 500px;
  }
}

/* lg: ≥992px */
@media (min-width: 992px) {
  .ubicacion-old .map-container {
    min-height: 400px;
    max-height: 500px;
  }
}

/* xl: ≥1200px */
@media (min-width: 1200px) {
  .ubicacion-old .map-container {
    min-height: 450px;
    max-height: 550px;
  }
}

/* xxl: ≥1400px */
@media (min-width: 1400px) {

  .ubicacion-old .map-container iframe {
    width: 850px;
    height: 450px; 
  }
}

    /*========================  BOTONES DE VIVE CERCA A TODO  ================================== */  

  .ubicacion-old h3{    
    color: #283F2B;
    font-size: 2rem;
    font-weight: 700; 
    text-align: left;
  }

  .ubicacion-old  p{
    line-height: 1.2; /* valor relativo (recomendado) */
    text-align: left;
  }
  .ubicacion-old .btn-option {
    background-color: #fff;
    color: #282727;
    font-size: .9rem;
    font-weight: 600;    
    border: 2px solid #EFE9E4;
    border-radius: 5px;
    padding: 10px;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: left;
  }

 
  .ubicacion-old .btn-google {
    background-color: transparent;
    border: 2px solid #283f2B;
    color: #283f2B;
    height: 48px;
    
    transition: background-color 0.3s ease, color 0.3s ease;
  }
  
  .ubicacion-old .btn-google:hover {
    background-color: #283F2B;
    color: #fff;
  }
  
  .ubicacion-old .fade-img {
    width: 100%;
    height: auto;
    opacity: 1;
    transition: opacity 0.5s ease;
  }
  
 
  /* Icon Colors */
  .ubicacion-old .icon-green, .icon-blue, .icon-yellow {
    color: #283F2B;
    font-size: 1.5rem;

  }
  
  
  

  /*--------------------------------------------------------------
# FORMULARIO FLOTANTE
--------------------------------------------------------------*/

.modal .form-flotante {
  position: absolute;
  top: 60%;
  right: 50%;
  width: 80%;
  transform: translate(50%, -50%);
  background-color: rgba(0, 0, 0, 0.9); /* Transparencia */
  padding: 1.7rem;    
  color: white;
  border-radius: 5px;
  z-index: 10;
}

.modal .form-flotante h2 {
  font-size: 1.1rem;
  font-weight: 100;
  text-align: center;
  margin-bottom: 1.3rem;
  color: #fff;
}

.modal .form-flotante .etiqueta-flotante {
  position: relative;
  margin-bottom: 1.2rem;  
}

.modal .form-flotante .etiqueta-flotante label {
  position: absolute;
  top: 50%;
  left: 1.5rem;
  transform: translateY(-50%);
  font-size: .8rem;
  color: #282727;
  transition: all 0.3s ease;
  pointer-events: none;
  
}

.modal .form-flotante .etiqueta-flotante .form-control {
  width: 100%;
  padding: 8px 8px;
  border: 1px solid #858484;
  border-width: 0.5px;  
  font-size: .8rem;
  color: #282727;
  background-color: #fff;
  transition: all 0.3s ease;
  outline: none;
  height: auto;
  border-radius: 3px;
}

.modal .form-flotante .etiqueta-flotante .form-control:focus,
.etiqueta-flotante .form-control:not(:placeholder-shown) {
  border-color:#fff;
  border-width: 0.5px; /* Grosor del borde más delgado */
  box-shadow: 0 0 7px rgb(40, 63, 43, 0.5);  
}

/* Cuando el input está enfocado, tiene texto o es válido */
.modal .form-flotante .etiqueta-flotante .form-control:focus + label,
.etiqueta-flotante .form-control:not(:placeholder-shown) + label {
    top: -3px;
    left: 20px;
    font-size: .6rem;
    color: #fff;
    background: rgb(40, 39, 39, 0.8); /* Fondo siempre que suba (con texto o focus) */
    padding: 0 5px;
    border-radius: 3px;
}


.modal .form-flotante button[type="submit"] {
  background: #283F2B;
  border: 0;
  padding: 10px 30px;
  color: #fff;
  transition: 0.4s;
  border-radius: 5px;
}

.modal .form-flotante button[type="submit"]:hover {
  background: #3b563d;
}

.modal .form-flotante .custom-checkbox {
  margin-bottom: 1rem;
  font-size: .7rem;
}

/* Fondo transparente del modal-body */
.modal .modal-body {
  background-color: transparent !important;  /* Fondo transparente */
  color: white;  /* Color de texto visible (ajusta según necesites) */
}

/* Opcional: Fondo semitransparente para el modal-content */
.modal .modal-content {
  background-color: rgba(0, 0, 0, 0);  /* Fondo oscuro semitransparente */
  border: none;  /* Elimina el borde por defecto */
}

/* Fondo del modal diálogo (opcional) */
.modal .modal-dialog {
  background: transparent !important;  /* Elimina cualquier fondo */
}


/*============== lg: ≥992px ======================= */
@media (min-width: 992px) {

  .modal .form-flotante {
  
  
    width: 50%;
  
  }
}