/* HERO + RESEÑAS HOME - MudanzasYAN */

.hero-section.hero-premium {
  position: relative;
  /* anular altura fija del theme y alargar hero */
  height: auto !important;
  min-height: 100vh;        /* ocupa al menos toda la pantalla */
  padding: 140px 0 130px;   /* más espacio por arriba y abajo */
  overflow: visible;
}


.hero-section.hero-premium .bg.bg-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,0,0,0.85), rgba(0,0,0,0.7));
  z-index: 2;
}

.hero-section.hero-premium .container {
  position: relative;
  z-index: 3;
}

.hero-content-left {
  color: #fff;
  padding-right: 30px;
}

.hero-content-left .mini-title {
  font-size: 0.9rem;
  margin-bottom: 8px;
  display: block;
}

.hero-content-left .title {
  font-size: 2.4rem;
  line-height: 1.2;
  margin-bottom: 18px;
}

.highlight-premium {
  color: #00d4ff;
  font-weight: 800;
  display: block;
  font-size: 2rem;
}

/* Métricas */
.trust-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin: 20px 0 25px;
}

.metric-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 40px;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
}

.metric-item i {
  color: #00d4ff;
  font-size: 1.2rem;
}

.metric-item span {
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
}

/* Puntos fuertes */
.premium-features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 20px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 15px;
  border-radius: 10px;
  background: rgba(255,255,255,0.95);
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  border-left: 3px solid transparent;
  transition: 0.25s ease;
}

.feature-item:hover {
  border-left-color: #e63946;
  transform: translateX(3px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.feature-item i {
  color: #e63946;
  font-size: 1.4rem;
  min-width: 28px;
}

.feature-text strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 2px;
  color: #1a1a1a;
}

.feature-text p {
  font-size: 0.8rem;
  color: #666;
  margin: 0;
}

/* Formulario hero (CRO) */
.hero-form-card {
  background: #fff;
  padding: 28px;
  border-radius: 18px;
  border: 1px solid rgba(15, 23, 42, 0.10);
  box-shadow: 0 18px 50px rgba(0,0,0,0.25);
}

.form-title {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}

.form-title i {
  color: #bb0909;
  font-size: 1.25rem;
}

.hero-quickform { margin-top: 6px; }

.hf-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.hf-grid-cta { margin-top: 12px; }

@media (min-width: 992px) {
  .hf-grid { grid-template-columns: 1fr 1fr; }
  .hf-grid-cta { align-items: end; }
}

.hf-field label {
  display: block;
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 6px;
  color: #0f172a;
}

.hero-form-card .form-control {
  width: 100%;
  padding: 14px 14px;
  border: 2px solid rgba(15, 23, 42, 0.10);
  border-radius: 12px;
  font-size: 1rem;
  transition: 0.2s;
  background: #fff;
}

.hero-form-card .form-control:focus {
  border-color: #0A4DFF;
  outline: none;
  box-shadow: 0 0 0 4px rgba(10, 77, 255, 0.12);
}

.hero-form-card .form-control.hf-invalid {
  border-color: rgba(239, 68, 68, 0.95);
  box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.12);
}

.hf-cta {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.hf-submit {
  width: 100%;
  padding: 14px 16px;
  border-radius: 12px;
  font-size: 1rem;
}

.hf-subcopy {
  font-size: 0.82rem;
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hf-details {
  margin-top: 12px;
  border-radius: 12px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  padding: 10px 12px;
  background: rgba(15, 23, 42, 0.02);
}

.hf-details summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 0.85rem;
  color: #0f172a;
  list-style: none;
}

.hf-details summary::-webkit-details-marker { display: none; }

.hf-details[open] { background: rgba(15, 23, 42, 0.03); }

.hf-notes { margin-top: 10px; }

.hf-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  font-weight: 800;
  font-size: 0.95rem;
  color: #0f766e;
  text-decoration: none;
}

.hf-whatsapp:hover { text-decoration: underline; }

/* Sección reseñas */

.google-reviews-section {
  padding: 60px 0;
  background: #f8f9fa;
}

.reviews-header {
  text-align: center;
  margin-bottom: 30px;
}

.reviews-header h2 {
  font-size: 2rem;
  margin-bottom: 8px;
}

.reviews-header p {
  font-size: 0.95rem;
  color: #666;
}

/* Slider horizontal simple */
.reviews-slider {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  padding: 10px 0 5px;
  scroll-behavior: smooth;
}

.reviews-slider::-webkit-scrollbar {
  height: 8px;
}

.reviews-slider::-webkit-scrollbar-track {
  background: #e0e0e0;
  border-radius: 10px;
}

.reviews-slider::-webkit-scrollbar-thumb {
  background: #00d4ff;
  border-radius: 10px;
}

/* Tarjetas reseña */
.review-card {
  min-width: 300px;
  max-width: 340px;
  background: #fff;
  padding: 18px;
  border-radius: 12px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.12);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.review-head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.review-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  overflow: hidden;
  background: #0066ff;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.review-info h4 {
  margin: 0 0 4px;
  font-size: 1rem;
}

.review-rating {
  color: #ffa500;
  font-size: 0.95rem;
}

.review-text {
  font-size: 0.9rem;
  color: #555;
}

.review-date {
  font-size: 0.8rem;
  color: #999;
}

/* Responsive */
@media (max-width: 991px) {
  .hero-section.hero-premium {
    padding: 90px 0 50px;
  }
  .hero-content-left {
    padding-right: 0;
    margin-bottom: 30px;
  }
  .hero-content-left .title {
    font-size: 2rem;
  }
  .highlight-premium {
    font-size: 1.7rem;
  }
}

@media (max-width: 767px) {
  .hero-content-left .title {
    font-size: 1.7rem;
  }
  .premium-features {
    margin-bottom: 10px;
  }
  .review-card {
    min-width: 260px;
  }
}

/* Honeypot */
.hp {
  position: absolute !important;
  left: -9999px !important;
  top: -9999px !important;
}
@media (max-width: 991px) {
  .hero-section.hero-premium {
    padding: 90px 0 60px;
    height: auto !important;
  }
}
.google-reviews-section {
  padding: 60px 0;
  background: #f8f9fa;
  margin-top: 0;
}
/* ===== Carrusel reseñas HERO ===== */
.google-reviews-section {
  padding: 60px 0;
  background: #f8f9fa;
}

.reviews-header {
  text-align: center;
  margin-bottom: 24px;
}

.reviews-header-actions {
  margin-top: 14px;
}

.reviews-all-btn {
  padding: 8px 18px;
  font-size: 0.85rem;
}

/* Carrusel */
.reviews-carousel {
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
}

/* Flechas */
.reviews-arrow {
  border: none;
  background: #fff;
  color: #111;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  transition: 0.2s ease;
}

.reviews-arrow:hover {
  background: #00d4ff;
  color: #fff;
}

.reviews-arrow:disabled {
  opacity: 0.4;
  cursor: default;
}

/* Viewport + track */
.reviews-viewport {
  overflow: hidden;
  flex: 1;
}

.reviews-track {
  display: flex;
  gap: 18px;
  transition: transform 0.35s ease;
}

/* Tarjetas (reutiliza estilos actuales) */
.review-card {
  min-width: 320px;
  max-width: 360px;
}

/* Quitar cualquier barra antigua dentro de esta sección */
.google-reviews-section .owl-dots,
.google-reviews-section .owl-nav,
.google-reviews-section .slider-progress,
.google-reviews-section .progressbar {
  display: none !important;
  height: 0 !important;
}

/* Responsive */
@media (max-width: 991px) {
  .reviews-carousel {
    gap: 6px;
  }
  .reviews-arrow {
    width: 32px;
    height: 32px;
  }
  .review-card {
    min-width: 280px;
  }
}
/* Carrusel */
.reviews-carousel {
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
}

/* Flechas */
.reviews-arrow {
  border: none;
  background: #fff;
  color: #111;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  transition: 0.2s ease;
}

.reviews-arrow:hover {
  background: #00d4ff;
  color: #fff;
}

.reviews-arrow:disabled {
  opacity: 0.35;
  cursor: default;
}

/* Viewport con scroll horizontal */
.reviews-viewport {
  overflow-x: auto;
  overflow-y: hidden;
  flex: 1;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
}

/* Track en fila */
.reviews-track {
  display: flex;
  gap: 18px;
}

/* Cada tarjeta ocupa un “paso” del scroll */
.review-card {
  flex: 0 0 340px;      /* ancho fijo para el paso del carrusel */
  max-width: 100%;
  scroll-snap-align: start;
}

/* Ocultar barra antigua si quedara algo del theme */
.google-reviews-section .owl-dots,
.google-reviews-section .owl-nav,
.google-reviews-section .slider-progress,
.google-reviews-section .progressbar {
  display: none !important;
  height: 0 !important;
}

/* Opcional: ocultar scrollbar en desktop */
.reviews-viewport::-webkit-scrollbar {
  height: 0;
}

/* Responsive */
@media (max-width: 991px) {
  .reviews-carousel {
    gap: 6px;
  }
  .reviews-arrow {
    width: 32px;
    height: 32px;
  }
  .review-card {
    flex: 0 0 280px;
  }
}
/* === Animación de entrada reseñas === */

/* Estado inicial: oculto y desplazado hacia abajo */
.google-reviews-section.reviews-animate .review-card {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 0.5s ease-out,
    transform 0.5s ease-out;
}

/* Cuando el bloque está visible en pantalla */
.google-reviews-section.reviews-visible .review-card {
  opacity: 1;
  transform: translateY(0);
}

/* Cascada: pequeños retrasos por tarjeta */
.google-reviews-section.reviews-visible .review-card:nth-child(1) { transition-delay: 0.05s; }
.google-reviews-section.reviews-visible .review-card:nth-child(2) { transition-delay: 0.10s; }
.google-reviews-section.reviews-visible .review-card:nth-child(3) { transition-delay: 0.15s; }
.google-reviews-section.reviews-visible .review-card:nth-child(4) { transition-delay: 0.20s; }
.google-reviews-section.reviews-visible .review-card:nth-child(5) { transition-delay: 0.25s; }
.google-reviews-section.reviews-visible .review-card:nth-child(6) { transition-delay: 0.30s; }
.google-reviews-section.reviews-visible .review-card:nth-child(7) { transition-delay: 0.35s; }
.google-reviews-section.reviews-visible .review-card:nth-child(8) { transition-delay: 0.40s; }
.google-reviews-section.reviews-visible .review-card:nth-child(9) { transition-delay: 0.45s; }
.google-reviews-section.reviews-visible .review-card:nth-child(10){ transition-delay: 0.50s; }

/* Opcional: mientras se arrastra, quitar transición para que sea más fluido */
.reviews-viewport.is-dragging .review-card {
  transition: none !important;
}
/* === Ajuste de colores HERO para encajar con la web === */

/* Línea destacada del titular */
.highlight-premium {
  color: var(--yellow-color, #FFC400);   /* antes #00d4ff */
}

/* Métricas (iconos + fondo) */
.trust-metrics .metric-item {
  background: rgba(0,0,0,0.45);         /* fondo más acorde con tu overlay oscuro */
}

.trust-metrics .metric-item i {
  color: var(--yellow-color, #FFC400);   /* icono en amarillo marca */
}

/* Píldoras de features: acento en rojo de marca */
.feature-item {
  border-left-color: rgba(0,0,0,0);     /* base neutra */
}

.feature-item:hover {
  border-left-color: var(--theme-color, #E31B23);
}

.feature-item i {
  color: var(--theme-color, #E31B23);    /* icono rojo marca */
}

/* Inputs del formulario en rojo marca al foco */
.hero-form-card .form-control:focus {
  border-color: var(--theme-color, #E31B23);
  box-shadow: 0 0 0 3px rgba(227,27,35,0.18);
}

/* Botones del HERO ligeramente más consistentes */
.hero-form-card .theme-btn.btn-style-1 {
  /* CTA principal: color de tema ya viene del theme, aquí solo aseguramos contraste */
  color: #fff;
}

.hero-form-card .theme-btn.btn-style-2 {
  /* Botón WhatsApp: borde y texto en verde, fondo claro */
  background: #ffffff;
  color: #25D366;
  border: 2px solid #25D366;
}

.hero-form-card .theme-btn.btn-style-2:hover {
  background: #25D366;
  color: #ffffff;
}
