/* Landing Inmobiliarias - Estilos Específicos */

/* Variables específicas para inmobiliarias */
:root {
  --real-estate-primary: #2c5aa0;
  --real-estate-secondary: #1e3d73;
  --real-estate-accent: #4dabf7;
  --real-estate-gold: #ffd43b;
  --real-estate-gradient: linear-gradient(135deg, #2c5aa0 0%, #1e3d73 100%);
  --real-estate-gradient-soft: linear-gradient(135deg, rgba(44,90,160,0.1) 0%, rgba(30,61,115,0.1) 100%);
}

[data-bs-theme="dark"] {
  --real-estate-primary: #4dabf7;
  --real-estate-secondary: #74c0fc;
  --real-estate-accent: #91a7ff;
  --real-estate-gold: #fff3bf;
}

/* Hero Section - Inmobiliarias */
.hero-section {
  background: var(--real-estate-gradient);
  color: white;
  padding: 2rem 0;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="house-pattern" x="0" y="0" width="25" height="25" patternUnits="userSpaceOnUse"><path d="M12.5 2L22 10L20 12L18 22L7 22L5 12L3 10L12.5 2Z" fill="rgba(255,255,255,0.03)"/></pattern></defs><rect width="100" height="100" fill="url(%23house-pattern)"/></svg>') repeat;
  opacity: 0.1;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: 1.25rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  opacity: 0.95;
}

.hero-cta {
  margin-bottom: 3rem;
}

.hero-stats {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
}

.stat-item strong {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: var(--real-estate-gold);
}

.stat-item span {
  font-size: 0.9rem;
  opacity: 0.9;
}

/* Hero Image - Inmobiliarias */
.hero-image {
  position: relative;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.floating-card {
  background: white;
  border-radius: 20px;
  padding: 0;
  box-shadow: 0 20px 60px rgba(0,0,0,0.15);
  transform: rotate(3deg);
  animation: floatProperty 6s ease-in-out infinite;
  max-width: 350px;
  overflow: hidden;
}

@keyframes floatProperty {
  0%, 100% { transform: rotate(3deg) translateY(0px); }
  50% { transform: rotate(3deg) translateY(-15px); }
}

.property-preview {
  position: relative;
}

.property-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 20px 20px 0 0;
}

.property-info {
  padding: 1.5rem;
}

.property-info h5 {
  color: var(--bs-dark);
  font-weight: 700;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.price {
  color: var(--real-estate-primary);
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.features {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.features span {
  background: var(--real-estate-gradient-soft);
  color: var(--real-estate-primary);
  padding: 0.25rem 0.5rem;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.stats {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: #6c757d;
}

.stats span {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

/* Benefits Section */
.benefits-section {
  padding: 5rem 0;
  background: var(--bs-light);
}

[data-bs-theme="dark"] .benefits-section {
  background: var(--bs-dark);
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--bs-dark);
}

[data-bs-theme="dark"] .section-title {
  color: var(--bs-light);
}

.section-subtitle {
  font-size: 1.2rem;
  color: #6c757d;
  max-width: 600px;
  margin: 0 auto;
}

.benefit-card {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  height: 100%;
  transition: all 0.3s ease;
  border: 1px solid #e9ecef;
  position: relative;
  overflow: hidden;
}

[data-bs-theme="dark"] .benefit-card {
  background: var(--bs-secondary);
  border-color: #495057;
}

.benefit-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--real-estate-gradient);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.benefit-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(44,90,160,0.15);
}

.benefit-card:hover::before {
  transform: scaleX(1);
}

.benefit-icon.real-estate {
  width: 80px;
  height: 80px;
  background: var(--real-estate-gradient);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.benefit-icon.real-estate i {
  font-size: 2rem;
  color: white;
}

.benefit-card h4 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--bs-dark);
}

[data-bs-theme="dark"] .benefit-card h4 {
  color: var(--bs-light);
}

.benefit-card p {
  color: #6c757d;
  line-height: 1.6;
  margin: 0;
}

/* Benefits List - Versión Simplificada */
.benefits-list {
  background: white;
  border-radius: 15px;
  padding: 2.5rem;
  box-shadow: 0 10px 30px rgba(44,90,160,0.1);
}

[data-bs-theme="dark"] .benefits-list {
  background: var(--bs-secondary);
}

.benefit-item {
  display: flex;
  align-items: center;
  padding: 1rem 0;
  font-size: 1.1rem;
  border-bottom: 1px solid #e9ecef;
}

[data-bs-theme="dark"] .benefit-item {
  border-bottom-color: #495057;
}

.benefit-item:last-child {
  border-bottom: none;
}

.benefit-item i {
  font-size: 1.5rem;
  margin-right: 1rem;
}

.benefit-item span {
  color: var(--bs-dark);
  font-weight: 500;
}

[data-bs-theme="dark"] .benefit-item span {
  color: var(--bs-light);
}

/* Property Types Section */
.property-types-section {
  padding: 5rem 0;
  background: white;
}

[data-bs-theme="dark"] .property-types-section {
  background: var(--bs-dark);
}

.property-type-card {
  background: var(--real-estate-gradient-soft);
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  height: 100%;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.property-type-card:hover {
  border-color: var(--real-estate-primary);
  background: white;
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(44,90,160,0.1);
}

[data-bs-theme="dark"] .property-type-card:hover {
  background: var(--bs-secondary);
}

.property-icon {
  width: 80px;
  height: 80px;
  background: var(--real-estate-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem auto;
}

.property-icon i {
  font-size: 2rem;
  color: white;
}

.property-type-card h4 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--real-estate-primary);
}

.property-type-card p {
  color: #6c757d;
  line-height: 1.6;
  margin: 0;
}

/* Testimonials Section */
.testimonials-section {
  padding: 5rem 0;
  background: var(--real-estate-gradient);
  color: white;
}

.testimonials-section .section-title,
.testimonials-section .section-subtitle {
  color: white;
}

.testimonial-card {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  padding: 2rem;
  height: 100%;
  border: 1px solid rgba(255,255,255,0.2);
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  background: rgba(255,255,255,0.15);
  transform: translateY(-5px);
}

.stars {
  color: var(--real-estate-gold);
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.testimonial-card p {
  font-style: italic;
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.author strong {
  display: block;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.author span {
  opacity: 0.8;
  font-size: 0.9rem;
}

/* Process Section */
.process-section {
  padding: 5rem 0;
  background: var(--bs-light);
}

[data-bs-theme="dark"] .process-section {
  background: var(--bs-dark);
}

.process-step {
  text-align: center;
  position: relative;
}

.step-number {
  position: absolute;
  top: -10px;
  right: 20px;
  width: 40px;
  height: 40px;
  background: var(--real-estate-gold);
  color: var(--bs-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.2rem;
  z-index: 2;
  border: 3px solid var(--real-estate-primary);
}

.step-icon {
  width: 100px;
  height: 100px;
  background: var(--real-estate-gradient-soft);
  border: 3px solid var(--real-estate-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem auto;
  position: relative;
}

.step-icon i {
  font-size: 2.5rem;
  color: var(--real-estate-primary);
}

.process-step h4 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--bs-dark);
}

[data-bs-theme="dark"] .process-step h4 {
  color: var(--bs-light);
}

.process-step p {
  color: #6c757d;
  line-height: 1.6;
}

/* CTA Section */
.cta-section {
  padding: 5rem 0;
  background: var(--bs-dark);
  color: white;
  text-align: center;
}

.cta-section h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.cta-subtitle {
  font-size: 1.2rem;
  margin-bottom: 3rem;
  opacity: 0.9;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  margin-bottom: 2rem;
}

.cta-note {
  opacity: 0.8;
}

/* Footer */
.footer {
  background: var(--bs-dark);
  color: white;
  padding: 2rem 0;
  border-top: 1px solid #495057;
}

.footer a {
  color: #adb5bd;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: var(--real-estate-accent);
}

/* Responsive */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .hero-stats {
    justify-content: center;
    gap: 1rem;
  }
  
  .stat-item strong {
    font-size: 1.5rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .floating-card {
    max-width: 280px;
  }
  
  .features {
    gap: 0.5rem;
  }
  
  .features span {
    font-size: 0.75rem;
    padding: 0.2rem 0.4rem;
  }
  
  .cta-section h2 {
    font-size: 2rem;
  }
  
  .cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
  }
  
  .cta-buttons .btn {
    width: 100%;
    max-width: 300px;
  }
  
  .property-type-card {
    margin-bottom: 1rem;
  }
}

/* WhatsApp Floating Button */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1000;
}

.whatsapp-float .btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #25D366;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
  transition: all 0.3s ease;
  border: none;
  font-size: 1.8rem;
  animation: whatsapp-pulse 2s infinite;
}

.whatsapp-float .btn:hover {
  background-color: #20BA5A;
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
  animation: whatsapp-shake 0.5s;
}

.whatsapp-float .btn:active {
  transform: scale(0.95);
}

@keyframes whatsapp-pulse {
  0% {
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
  }
  50% {
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.6);
  }
  100% {
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
  }
}

@keyframes whatsapp-shake {
  0%, 100% { transform: scale(1.1) rotate(0deg); }
  25% { transform: scale(1.1) rotate(-5deg); }
  75% { transform: scale(1.1) rotate(5deg); }
}

@media (max-width: 768px) {
  .whatsapp-float {
    bottom: 20px;
    right: 20px;
  }
  
  .whatsapp-float .btn {
    width: 55px;
    height: 55px;
    font-size: 1.6rem;
  }
}