/*
Theme Name: Marque Child Theme
Theme URI: http://demo.yolotheme.com/marque
Author: YoloTheme
Author URI: https://www.facebook.com/Yolotheme/
Description: This is a custom child theme for Marque
Template: marque
Version: 1.0.0
Tags: two-columns, left-sidebar, right-sidebar, custom-background, custom-header, custom-menu, editor-style, featured-images, flexible-header, full-width-template, sticky-post, theme-options, translation-ready
Text Domain: marque
*/
h1, h2, h3, h4, h5, h6 {
	margin-top: 0 !important;
}
input[type="text"], input[type="search"], input[type="email"], input[type="date"], input[type="url"], input[type="password"], input[type="tel"], textarea, select {
	font-size: inherit;
	line-height: inherit;
}
.navbar-nav > li.menu_style_dropdown > ul > li > ul {
	min-width: 250px;
}
article.property-item .post-item-wrap {
	min-width: 290px;
}
.sc-image-box-wrap .image-item .image-item-link {
	position: initial !important;
}
/*Swiper Hack*/
.elementor-lightbox .elementor-swiper-button {
	position: absolute !important;
	top: 50% !important;
	transform: translateY(-50%);
	opacity: 1 !important;
	pointer-events: auto !important;
	z-index: 1000;
	transition: none !important;
}
.elementor-swiper-button i {
	cursor: pointer !important;
	display: inline-block !important;
	font-family: 'eicons' !important;
	font-style: normal !important;
	font-weight: normal !important;
	speak: never !important;
	-webkit-font-smoothing: antialiased !important;
	-moz-osx-font-smoothing: grayscale !important;
	will-change: transform;
	animation: safariRefresh 0.01s;
}
@keyframes safariRefresh {
	from {
		opacity: 1;
	}
	to {
		opacity: 0.99;
	}
}


/* =========================================================
   PRICING DECK – ANIMATED PREMIUM VERSION
   Archivo: pricing-animated.css
   
   Mejoras visuales y animaciones:
   - Animaciones de entrada suaves y escalonadas
   - Efectos hover dinámicos con transformaciones
   - Partículas de fondo sutiles animadas
   - Transiciones fluidas con cubic-bezier
   - Micro-interacciones en elementos individuales
   - Border glow pulsante en card activa
   - Efectos shimmer y gradientes animados
   
   Uso: Añadir después de style.css para sobrescribir
        el sistema de pricing base (Capítulo 27)
========================================================= */

/* ---------------------------------------------------------
   ANIMACIONES GLOBALES - Keyframes
--------------------------------------------------------- */

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(40px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes fadeInRow {
  from {
    opacity: 0;
    transform: translateX(-10px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes float {
  0%, 100% { 
    transform: translate(0, 0) rotate(0deg); 
  }
  33% { 
    transform: translate(30px, -30px) rotate(5deg); 
  }
  66% { 
    transform: translate(-20px, 20px) rotate(-5deg); 
  }
}

@keyframes borderGlow {
  0%, 100% { 
    opacity: 0.3; 
  }
  50% { 
    opacity: 0.6; 
  }
}

@keyframes pulse {
  0%, 100% { 
    transform: scale(1); 
  }
  50% { 
    transform: scale(1.05); 
  }
}

@keyframes fadeIn {
  from { 
    opacity: 0; 
  }
  to { 
    opacity: 1; 
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* ---------------------------------------------------------
   HEADER ANIMADO
--------------------------------------------------------- */

.th-page .th-head {
  animation: fadeInDown 0.8s ease-out;
}


/* ---------------------------------------------------------
   PRICING CONTAINER - Partículas animadas de fondo
--------------------------------------------------------- */

.th-page .th-pricing {
  position: relative;
  overflow: visible;
}

.th-page .th-pricing::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: 
    radial-gradient(circle at 20% 50%, rgba(196,164,96,0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(30,58,95,0.08) 0%, transparent 50%);
  animation: float 20s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}


/* ---------------------------------------------------------
   PRICE DECK - Grid mejorado
--------------------------------------------------------- */

.th-page .th-price-deck {
  position: relative;
  z-index: 1;
  padding: 20px 0;
}


/* ---------------------------------------------------------
   PRICING CARDS - Base animada
--------------------------------------------------------- */

.th-page .th-price {
  /* Sobrescribir estilos base */
  border-radius: 24px !important;
  padding: 32px 28px !important;
  
  box-shadow: 
    0 4px 6px rgba(0,0,0,0.02),
    0 10px 20px rgba(0,0,0,0.04) !important;
  
  border: 2px solid rgba(0,0,0,0.06) !important;
  
  gap: 20px !important;
  
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
  
  /* Animación de entrada */
  animation: slideUp 0.6s ease-out backwards;
  overflow: hidden;
}

/* Animación escalonada para cada card */
.th-page .th-price:nth-child(1) { 
  animation-delay: 0.1s; 
}

.th-page .th-price:nth-child(2) { 
  animation-delay: 0.2s; 
}

.th-page .th-price:nth-child(3) { 
  animation-delay: 0.3s; 
}


/* ---------------------------------------------------------
   EFECTO BORDER GLOW (borde brillante animado)
--------------------------------------------------------- */

.th-page .th-price::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(
    45deg,
    transparent,
    rgba(196,164,96,0.3),
    transparent
  );
  border-radius: 24px;
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -1;
}


/* ---------------------------------------------------------
   ESTADOS - Cards no activas (sutilmente reducidas)
--------------------------------------------------------- */

.th-page .th-price:not(.is-active) {
  transform: scale(0.96) !important;
  opacity: 0.7 !important;
}


/* ---------------------------------------------------------
   ESTADO ACTIVO - Card destacada
--------------------------------------------------------- */

.th-page .th-price.is-active {
  transform: scale(1.02) !important;
  
  box-shadow: 
    0 8px 16px rgba(196,164,96,0.15),
    0 20px 40px rgba(0,0,0,0.08),
    0 0 0 3px rgba(196,164,96,0.2) !important;
  
  border-color: rgba(196,164,96,0.4) !important;
  z-index: 10 !important;
}

.th-page .th-price.is-active::before {
  opacity: 1;
  animation: borderGlow 3s ease-in-out infinite;
}


/* ---------------------------------------------------------
   HOVER EFFECTS
--------------------------------------------------------- */

/* Hover en cards no activas */
.th-page .th-price:not(.is-active):hover {
  transform: scale(0.98) translateY(-4px) !important;
  opacity: 0.85 !important;
  box-shadow: 0 12px 24px rgba(0,0,0,0.08) !important;
}

/* Hover en card activa */
.th-page .th-price.is-active:hover {
  transform: scale(1.03) translateY(-2px) !important;
  box-shadow: 
    0 12px 24px rgba(196,164,96,0.2),
    0 24px 48px rgba(0,0,0,0.1),
    0 0 0 3px rgba(196,164,96,0.3) !important;
}


/* ---------------------------------------------------------
   TAG - Animado con efecto shimmer
--------------------------------------------------------- */

.th-page .th-price__tag {
  padding: 10px 16px !important;
  border-radius: 999px !important;
  
  font-size: 0.7rem !important;
  font-weight: 800 !important;
  
  background: linear-gradient(135deg, rgba(196,164,96,0.15), rgba(196,164,96,0.25)) !important;
  border: 1.5px solid rgba(196,164,96,0.3) !important;
  
  position: relative;
  overflow: hidden;
  
  transition: all 0.3s ease !important;
}

/* Efecto shimmer - brillo que cruza */
.th-page .th-price__tag::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255,255,255,0.5),
    transparent
  );
  transition: left 0.5s ease;
}

.th-page .th-price:hover .th-price__tag::after {
  left: 100%;
}

/* Tag de card activa */
.th-page .th-price.is-active .th-price__tag {
  background: linear-gradient(135deg, #C4A460, #d4b470) !important;
  color: #ffffff !important;
  border-color: #C4A460 !important;
  animation: pulse 2s ease-in-out infinite;
}


/* ---------------------------------------------------------
   TÍTULO - Con transición
--------------------------------------------------------- */

.th-page .th-price__title {
  font-size: 1.4rem !important;
  transition: all 0.3s ease;
}

.th-page .th-price.is-active .th-price__title {
  color: #1E3A5F !important;
  transform: translateX(2px);
}


/* ---------------------------------------------------------
   ROWS - Animación de entrada escalonada
--------------------------------------------------------- */

.th-page .th-price__rows {
  gap: 14px !important;
}

.th-page .th-price__row {
  padding: 14px 0 !important;
  
  opacity: 0;
  animation: fadeInRow 0.5s ease-out forwards;
  
  transition: all 0.2s ease;
}

/* Animación escalonada de filas */
.th-page .th-price__row:nth-child(1) { animation-delay: 0.4s; }
.th-page .th-price__row:nth-child(2) { animation-delay: 0.5s; }
.th-page .th-price__row:nth-child(3) { animation-delay: 0.6s; }
.th-page .th-price__row:nth-child(4) { animation-delay: 0.7s; }

/* Hover en fila individual */
.th-page .th-price__row:hover {
  background: rgba(196,164,96,0.03);
  padding-left: 8px;
  padding-right: 8px;
  margin-left: -8px;
  margin-right: -8px;
  border-radius: 8px;
}


/* ---------------------------------------------------------
   ROW KEY & VALUE - Micro-interacciones
--------------------------------------------------------- */

.th-page .th-price__k {
  font-size: 0.9rem !important;
  font-weight: 600 !important;
  transition: color 0.3s ease;
}

.th-page .th-price__row:hover .th-price__k {
  color: rgba(17,24,39,0.9) !important;
}

.th-page .th-price__v {
  font-size: 1rem !important;
  transition: transform 0.3s ease;
}

.th-page .th-price__row:hover .th-price__v {
  transform: translateX(4px);
}


/* ---------------------------------------------------------
   NOTE - Transición suave
--------------------------------------------------------- */

.th-page .th-price__note {
  font-size: 0.85rem !important;
  padding: 12px !important;
  background: rgba(17,24,39,0.02) !important;
  border-radius: 12px !important;
  transition: all 0.3s ease;
}

.th-page .th-price:hover .th-price__note {
  background: rgba(196,164,96,0.05) !important;
}


/* ---------------------------------------------------------
   FOOTER - Con efecto de onda
--------------------------------------------------------- */

.th-page .th-price__foot {
  padding: 16px !important;
  border-radius: 12px !important;
  
  background: linear-gradient(135deg, rgba(17,24,39,0.03), rgba(17,24,39,0.05)) !important;
  
  font-size: 0.85rem !important;
  
  transition: all 0.3s ease !important;
  position: relative;
  overflow: hidden;
}

/* Efecto de onda que cruza */
.th-page .th-price__foot::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(196,164,96,0.1), transparent);
  transition: left 0.6s ease;
}

.th-page .th-price:hover .th-price__foot::before {
  left: 100%;
}

/* Footer de card activa */
.th-page .th-price.is-active .th-price__foot {
  background: linear-gradient(135deg, rgba(196,164,96,0.12), rgba(196,164,96,0.18)) !important;
  border-color: rgba(196,164,96,0.25) !important;
  color: rgba(17,24,39,0.85) !important;
  font-weight: 600 !important;
}


/* ---------------------------------------------------------
   TEXTO ADICIONAL - Fade in retrasado
--------------------------------------------------------- */

.th-page #pricing .th-text {
  animation: fadeIn 1s ease-out 0.8s backwards;
}


/* ---------------------------------------------------------
   CARD ADICIONAL - Fade in desde abajo
--------------------------------------------------------- */

.th-page #pricing .th-card {
  animation: fadeInUp 0.8s ease-out 1s backwards;
}


/* ---------------------------------------------------------
   RESPONSIVE - Adaptaciones móvil
--------------------------------------------------------- */

@media (max-width: 1024px) {
  /* En mobile, todas las cards tienen mismo tamaño */
  .th-page .th-price:not(.is-active),
  .th-page .th-price.is-active {
    transform: scale(1) !important;
    opacity: 1 !important;
  }

  .th-page .th-price:hover {
    transform: translateY(-4px) !important;
  }
}

@media (max-width: 640px) {
  .th-page .th-price {
    padding: 24px 20px !important;
  }

  .th-page .th-price__title {
    font-size: 1.2rem !important;
  }
}


/* ---------------------------------------------------------
   PERFORMANCE OPTIMIZATIONS
   - Usa transform y opacity para animaciones (GPU)
   - will-change en elementos animados
--------------------------------------------------------- */

.th-page .th-price {
  will-change: transform, opacity, box-shadow;
}

.th-page .th-price__tag::after,
.th-page .th-price__foot::before {
  will-change: left;
}

.th-page .th-pricing::before {
  will-change: transform;
}

.th-page .elementor-form .elementor-field.elementor-acceptance-field{
	width: auto;
	margin-right: 10px;
}

/* =========================================================
   T&H — SWITCH SECTION (DISEÑO MEJORADO)
   Scope: #switch
   Estilo: Glassmorphism oscuro con acentos dorados
========================================================= */


/* Only allow hover border accent in switch, do not redefine glass */
.th-page #switch .th-card--glass:hover{
  border-color: rgba(196,164,96,.40);
}

#switch .th-card--glass:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(196, 164, 96, 0.4); /* Borde dorado al pasar el ratón */
}

/* Textos dentro de tarjetas */
#switch .th-h3 {
  color: #ffffff;
  font-size: 1.15rem;
  margin: 0 0 10px 0;
}

#switch .th-text, 
#switch .th-card-text {
  color: rgba(255, 255, 255, 0.75)!important;
  font-size: 0.92rem;
  line-height: 1.6;
  margin: 0;
}

#switch strong {
  color: #fff;
  font-weight: 700;
}

#switch .th-card--glass:hover .th-card-img-wrap img {
  transform: scale(1.05);
}

#switch .th-btn--ghost {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  font-weight: 700;
}

#switch .th-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #ffffff;
}

#switch .th-hero-note {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* =========================================================
   T&H — CTA BOTTOM SECTION (PREMIUM UPGRADE)
   Scope: #cta-bottom
   Design: Deep Blue Depth + Gold Accents + Centered Focus
========================================================= */

/* 1. CONTENEDOR PRINCIPAL CON PROFUNDIDAD */
#cta-bottom {
  position: relative;
  /* Gradiente más rico: Azul T&H hacia un azul casi negro para profundidad */
  background: radial-gradient(
    circle at 50% 0%, 
    rgba(30, 58, 95, 1) 0%, 
    rgba(11, 18, 32, 1) 85%
  );
  padding: 80px 0; /* Más aire = más lujo */
  overflow: hidden;
  text-align: center; /* CTA final centrado funciona mejor */
}

/* Efecto de luz sutil en el fondo (opcional) */
#cta-bottom::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  background: url('https://www.timeandhome.com/wp-content/uploads/2026/01/be-inbox-6957b9459126c.png') no-repeat center center;
  background-size: 120% auto;
  opacity: 0.03; /* Marca de agua muy sutil */
  pointer-events: none;
}

/* 2. TIPOGRAFÍA REFINADA */
#cta-bottom .th-head {
  margin: 0 auto 32px auto;
  max-width: 780px;
}

#cta-bottom .th-h2 {
  color: #ffffff;
  font-size: 2.4rem; /* Un poco más grande para impacto */
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 18px;
}

/* 3. BOTONES Y ACCIONES */
#cta-bottom .th-actions {
  justify-content: center; /* Centrar botones */
  margin-top: 32px;
  gap: 20px;
}

/* Botón Primario: Oro sólido con texto oscuro (Alto contraste) */
#cta-bottom .th-btn--primary {
  background: #C4A460;
  color: #0b1220;
  border: 1px solid #C4A460;
  font-weight: 800;
  padding: 0 32px; /* Botones un poco más anchos */
}

#cta-bottom .th-btn--primary:hover {
  background: #d4b470;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(196, 164, 96, 0.2);
}

/* Botón Ghost: Borde blanco sutil */
#cta-bottom .th-btn--ghost {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
}

#cta-bottom .th-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #ffffff;
  transform: translateY(-2px);
}

/* 4. RESPONSIVE */
@media (max-width: 768px) {
  #cta-bottom { padding: 60px 0; }
  #cta-bottom .th-h2 { font-size: 1.8rem; }
  #cta-bottom .th-actions { flex-direction: column; gap: 12px; }
  #cta-bottom .th-btn { width: 100%; }
}