/* Estilos globales */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, sans-serif;
  }
  
  body {
    color: #333;
    background: #fff;
    line-height: 1.6;
  }
  
  .container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
  }
  
  /* Hero */
  .hero {
    position: relative;
    background: url("images/casa1.jpg") no-repeat center center/cover;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
  }
  
  .hero .overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.5);
  }
  
  .hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
  }
  
  .hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
  }
  
  .hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
  }
  
  .btn {
    background: #16A34A;
    padding: 0.8rem 2rem;
    border-radius: 30px;
    color: white;
    text-decoration: none;
    font-size: 1.1rem;
    transition: background 0.3s;
  }
  
  .btn:hover {
    background: #12803d;
  }
  
  /* Detalles */
  .details {
    padding: 3rem 0;
  }
  
  .details h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: #16A34A;
  }
  
  .details .grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(250px,1fr));
    gap: 2rem;
  }
  
  .details ul {
    list-style: none;
    font-size: 1.1rem;
  }
  
  .details li {
    margin-bottom: 0.8rem;
  }
  
  /* Galería */
  .gallery {
    padding: 3rem 0;
  }
  
  .gallery h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: #16A34A;
  }
  
  .gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(250px,1fr));
    gap: 1rem;
  }
  
  .gallery-grid img {
    width: 100%;
    border-radius: 10px;
    transition: transform 0.3s;
  }
  
  .gallery-grid img:hover {
    transform: scale(1.05);
  }
  
  /* Video */
  .video-section {
    padding: 3rem 0;
    background: #f9f9f9;
    text-align: center;
  }
  
  .video-section h2 {
    color: #16A34A;
    margin-bottom: 1rem;
  }
  
  .video-container {
    max-width: 900px;
    margin: auto;
  }
  
  .video-container iframe {
    width: 100%;
    height: 500px;
    border-radius: 10px;
  }
  
  /* Contacto */
  .contact {
    padding: 3rem 0;
    text-align: center;
  }
  
  .contact h2 {
    color: #16A34A;
    margin-bottom: 1rem;
  }
  
  .contact form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 500px;
    margin: auto;
  }
  
  .contact input, .contact textarea {
    padding: 0.8rem;
    border-radius: 5px;
    border: 1px solid #ccc;
  }
  
  .contact button {
    background: #16A34A;
    color: white;
    padding: 1rem;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.3s;
  }
  
  .contact button:hover {
    background: #12803d;
  }
  
  /* Footer */
  footer {
    background: #222;
    color: white;
    text-align: center;
    padding: 1rem;
    margin-top: 2rem;
  }

  section {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease-out;
  }
  section.visible {
    opacity: 1;
    transform: translateY(0);
  }

  /* Descripción */
.descripcion {
    padding: 4rem 0;
  }
  
  .descripcion-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: start;
  }
  
  .descripcion h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #16A34A;
  }
  
  .descripcion p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: #444;
    line-height: 1.8;
  }
  
  /* Ficha técnica */
  .ficha {
    background: #fdfdfd;
    border: 2px solid #e5e5e5;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0px 4px 12px rgba(0,0,0,0.05);
  }
  
  .ficha h3 {
    margin-bottom: 1rem;
    font-size: 1.4rem;
    color: #b8860b; /* dorado */
  }
  
  .ficha ul {
    list-style: none;
  }
  
  .ficha li {
    font-size: 1.05rem;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }
  
  .ficha li strong {
    color: #222;
  }

  #carouselExampleFade {
    max-width: 800px;       /* ancho máximo del carrusel */
    margin: 2rem auto;      /* centrado horizontal */
  }
  
  #carouselExampleFade .carousel-inner img {
    height: 400px;          /* altura mediana */
    object-fit: cover;      /* mantiene proporción y recorta si es necesario */
    border-radius: 15px;    /* opcional, bordes redondeados */
  }
  
  /* Sección Descripción */
.descripcion {
    padding: 4rem 0;
    background: #f9f9f9;
  }
  
  .descripcion h2 {
    font-size: 2rem;
    color: #16A34A;
    margin-bottom: 1rem;
  }
  
  .descripcion p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 1rem;
  }
  
  /* Grid mejorado */
  .descripcion-grid {
    display: flex;
    gap: 3rem;
    align-items: flex-start;
    flex-wrap: wrap; /* Permite que los elementos bajen en pantallas pequeñas */
  }
  
  /* Texto */
  .descripcion .texto {
    flex: 2 1 400px; /* ocupa más espacio que la ficha */
  }
  
  /* Ficha técnica */
  .descripcion .ficha {
    flex: 1 1 250px;
    background: #fff;
    border: 2px solid #e5e5e5;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0px 4px 12px rgba(0,0,0,0.05);
    transition: transform 0.3s;
  }
  
  .descripcion .ficha:hover {
    transform: translateY(-5px);
  }
  
  .descripcion .ficha h3 {
    margin-bottom: 1rem;
    font-size: 1.4rem;
    color: #b8860b; /* dorado */
  }
  
  .descripcion .ficha ul {
    list-style: none;
    padding: 0;
  }
  
  .descripcion .ficha li {
    font-size: 1.05rem;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }
  
  .descripcion .ficha li strong {
    color: #222;
  }
  
  /* Responsive */
  @media (max-width: 992px) {
    .descripcion-grid {
      flex-direction: column;
      gap: 2rem;
    }
  
    .descripcion .texto, 
    .descripcion .ficha {
      flex: 1 1 100%;
    }
  }
  
  @media (max-width: 576px) {
    .descripcion h2 {
      font-size: 1.6rem;
    }
  
    .descripcion p {
      font-size: 1rem;
    }
  
    .descripcion .ficha {
      padding: 1.5rem;
    }
  }
  .ficha li i {
    color: #b8860b; /* dorado elegante */
    font-size: 1.2rem;
    width: 25px;       /* espacio fijo para alineación */
    text-align: center;
    margin-right: 0.5rem;
  }
/* Sección Descripción */
.descripcion {
    padding: 4rem 0;
    background: #f9f9f9;
  }
  
  /* Título y texto */
  .descripcion h2 {
    font-size: 2rem;
    color: #16A34A;
    margin-bottom: 1rem;
  }
  
  .descripcion p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 1rem;
  }
  
  /* Grid principal */
  .descripcion-grid {
    display: flex;
    gap: 3rem;
    align-items: flex-start;
    flex-wrap: wrap;
  }
  
  /* Texto */
  .descripcion .texto {
    flex: 2 1 400px;
  }
  
  /* Ficha técnica */
  .descripcion .ficha {
    flex: 1 1 350px;
    background: #fff;
    border: 2px solid #e5e5e5;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0px 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s;
  }
  
  .descripcion .ficha:hover {
    transform: translateY(-5px);
  }
  
  .descripcion .ficha h3 {
    margin-bottom: 1.2rem;
    font-size: 1.5rem;
    color: #b8860b; /* dorado */
  }
  
  /* Lista horizontal de iconos */
  .ficha-horizontal {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem 2rem;
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  .ficha-horizontal li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1.1rem;
    min-width: 180px; /* asegura alineación horizontal */
  }
  
  /* Iconos grandes y dorados */
  .ficha-horizontal li i {
    font-size: 1.5rem;
    color: #b8860b; /* dorado */
    width: 30px;
    text-align: center;
  }
  
  /* Responsive */
  @media (max-width: 992px) {
    .descripcion-grid {
      flex-direction: column;
      gap: 2rem;
    }
  
    .descripcion .texto,
    .descripcion .ficha {
      flex: 1 1 100%;
    }
  
    .ficha-horizontal li {
      min-width: 140px;
      font-size: 1rem;
    }
  
    .ficha-horizontal li i {
      font-size: 1.3rem;
      width: 25px;
    }
  }
  
  @media (max-width: 576px) {
    .descripcion h2 {
      font-size: 1.6rem;
    }
  
    .descripcion p {
      font-size: 1rem;
    }
  
    .ficha {
      padding: 1.5rem;
    }
  
    .ficha-horizontal li {
      min-width: 100%;
      justify-content: flex-start;
    }
  }
    