
/* ==== Animaciones suaves ==== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-up {
  opacity: 0;
  animation: fadeUp 0.8s ease forwards;
}

.fade-in {
  opacity: 0;
  animation: fadeUp 1s ease forwards;
}

.fade-up:nth-child(1) { animation-delay: 0.1s; }
.fade-up:nth-child(2) { animation-delay: 0.2s; }
.fade-up:nth-child(3) { animation-delay: 0.3s; }

/* ==== Tarjetas animadas ==== */
.feature-card {
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  border: none;
}

.feature-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 12px 25px rgba(0,0,0,0.12);
}

.icon-circle {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, #305ef2, #6b8dfd);
  box-shadow: 0 5px 15px rgba(48, 94, 242, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover .icon-circle {
  transform: scale(1.1);
  box-shadow: 0 10px 20px rgba(48, 94, 242, 0.5);
}

/* ==== Footer Moderno ==== */
.footer-modern {
  background: linear-gradient(160deg, #1e2a78 0%, #305ef2 100%);
  overflow: hidden;
}

.wave-container {
  position: absolute;
  top: -20px;
  left: 0;
  width: 100%;
  height: 40px;
  animation: waveMove 6s infinite linear alternate;
}

@keyframes waveMove {
  from { transform: translateX(0); }
  to { transform: translateX(-40px); }
}

.footer-modern .socials {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

.footer-modern .social-icon {
  font-size: 1.6rem;
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: white;
  background: rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.footer-modern .social-icon.instagram:hover {
  background: linear-gradient(45deg, #fd5949, #d6249f, #285AEB);
  transform: translateY(-5px);
}

.footer-modern .social-icon.whatsapp:hover {
  background: #25d366;
  transform: translateY(-5px);
}

/* HERO */
.hero {
  position: relative;
  height: 100vh;
  background: url('https://martinsrealestate.online/images/depto-terraza.jpg') center/cover no-repeat;
  color: #fff;
}
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* degradado vertical: claro arriba, oscuro abajo */
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.1) 0%,    /* muy claro arriba */
    rgba(0, 0, 0, 0.1) 10%,  /* intermedio en el medio */
    rgba(0, 0, 0, 0.35) 50%  /* más oscuro abajo */
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding: 2rem;
  animation: fadeInUp 1.2s ease;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* FEATURES */
.features {
  background: #f9fafb;
}

.feature-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

/* ÍCONOS circulares */
.icon-circle {
  width: 70px;
  height: 70px;
  background: #305ef2;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  box-shadow: 0 5px 15px rgba(48, 94, 242, 0.4);
  transition: transform 0.3s ease;
}

.feature-card:hover .icon-circle {
  transform: scale(1.1);
}

/* FOOTER */
.footer {
  background: #f5f5f5;
  border-top: 1px solid #ddd;
}

.footer i:hover {
  transform: scale(1.2);
  transition: transform 0.2s ease;
}



 body, html {
      height: 100%;
      margin: 0;
      font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    }

  .hero {
  position: relative;
  background: url("fondo.png") no-repeat center center/cover;
  height: 91vh;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  text-align: center;
}

/* ✅ Cambiar fondo en pantallas grandes (ej: PC) */
@media (min-width: 992px) {
  .hero {
    background: url("fondopc.jpg") no-repeat center center/cover;
  }
}

    .hero::before {
      content: "";
      position: absolute;
      top: 0; left: 0;
      width: 100%; height: 100%;
      background: rgba(0, 0, 0, 0.6);
      z-index: 1;
    }

    .hero-content {
      position: relative;
      z-index: 2;
      animation: fadeInUp 2s ease;
    }

    .hero h1 {
      font-size: 3rem;
      font-weight: bold;
      animation: fadeInDown 2s ease;
      margin: 12px;
    }

    .hero p {
      font-size: 1.2rem;
      margin-bottom: 20px;
      animation: fadeIn 3s ease;
    }

    .btn-cta {
      font-size: 1.2rem;
      padding: 12px 30px;
      border-radius: 30px;
      transition: transform 0.3s ease, background 0.3s ease;
    }

    .btn-cta:hover {
      transform: scale(1.1);
      background: #198754;
      color: #fff;
    }

    /* Animaciones */
    @keyframes fadeInUp {
      from { opacity: 0; transform: translateY(50px); }
      to { opacity: 1; transform: translateY(0); }
    }

    @keyframes fadeInDown {
      from { opacity: 0; transform: translateY(-50px); }
      to { opacity: 1; transform: translateY(0); }
    }

    @keyframes fadeIn {
      from { opacity: 0; }
      to { opacity: 1; }
    }

    /* Sección destacada */
    .features {
      padding: 60px 20px;
      background: #f8f9fa;
    }

    .feature-card {
      padding: 30px;
      border-radius: 15px;
      background: white;
      box-shadow: 0 4px 20px rgba(0,0,0,0.1);
      transition: transform 0.3s ease;
    }

    .feature-card:hover {
      transform: translateY(-10px);
    }