:root {
	--primary: #D4AF7A; /* Gold acento */
	--primary-hover: #C5A069;
	--secondary: #E7C6C6; /* Rosa Secundario (Botón) */
	--tertiary: #1F3A5F; /* Azul Dominante (Legacy) */
	--cosmic-dark: #0D0E2B; /* Nuevo Azul Cósmico */
	--parchment: #f3e7e1; /* Color melocotón suave del mockup */
}

body, .bg-white, .tarot-methodology, .tarot-reviews {
    /* Degradado aterciopelado: de luz rosada (#f4e8e3) a base rosada (#e7c6c6) */
    background: radial-gradient(circle, #f4e8e3 0%, #e7c6c6 100%) !important;
}

/* =========================================
   NUEVO ESTILO DE BOTONES DE TELÉFONO
   ========================================= */
.botones-telefonos {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
}
 
.boton-tel {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(180deg, #F3E6D8 0%, #E6C7C7 100%) !important;
  border: 2px solid #D4AF7A !important;
  border-radius: 18px !important;
  padding: 12px 18px !important;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08), 0 0 6px rgba(212,175,122,0.25) !important;
  font-family: 'Montserrat', sans-serif !important;
  text-decoration: none !important;
  transition: all 0.3s ease;
  min-width: 220px;
}

.boton-tel:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.12), 0 0 10px rgba(212,175,122,0.4) !important;
    filter: brightness(1.05);
}
 
.boton-tel img {
  width: 28px !important;
  height: 28px !important;
  object-fit: contain;
}
 
.boton-tel .texto {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  text-align: left;
}
 
.boton-tel .pais {
  font-size: 11px !important;
  color: #7A4A2E !important;
  font-weight: 600 !important;
  letter-spacing: 1px !important;
  text-transform: uppercase;
}
 
.boton-tel .numero {
  font-size: 16px !important;
  font-weight: 700 !important;
  color: #7A4A2E !important;
}

/* Ajustes específicos para el slider */
.slogan-slider {
    letter-spacing: 10px !important;
}

@media (max-width: 768px) {
  .slogan-slider {
    letter-spacing: 2px !important;
    font-size: 16px !important;
    line-height: 1.2 !important;
  }
  .botones-telefonos {
    flex-direction: column !important;
    align-items: center !important;
    gap: 10px !important;
  }
  .boton-tel {
    padding: 8px 15px !important;
    width: 240px !important;
    min-width: 0 !important;
    gap: 10px !important;
  }
  .boton-tel .pais {
    font-size: 10px !important;
  }
  .boton-tel .numero {
    font-size: 14px !important;
  }
  .boton-tel img {
    width: 22px !important;
    height: 22px !important;
  }
  .boton-tel span[style*="font-size: 28px"] {
    font-size: 22px !important;
  }
}

#slide-3204-layer-4 .botones-telefonos {
    margin-top: 20px;
}

/* Fix: Permitir que la clase m-a5 prevalezca sobre el reset del slider */
.rev_slider .tp-mask-wrap .m-a5 {
    margin: 5px !important;
}


/* Custom Cosmic Helper (Fondo con estrellas) */
.bg-blue-dominant, .tarot-header, .tarot-footer {
	background-color: var(--cosmic-dark) !important;
    background-image: url('../../images/background/cosmic_bg.png') !important;
    background-size: cover !important;
    background-attachment: fixed;
	color: #fff !important;
}

/* Fix for mobile "double background" and fixed attachment issues */
@media (max-width: 991px) {
    .bg-blue-dominant, .tarot-header, .tarot-footer {
        background-attachment: scroll !important;
    }
}

.tarot-about-bx, .tarot-methodology {
    position: relative;
    padding-top: 100px !important; /* Espacio extra para que el adorno del slider no pise el título */
    padding-bottom: 40px !important;
}

/* ELIMINADOS LOS ARCOS DE ESTAS SECCIONES PARA EVITAR SOLAPAMIENTOS */

.bg-blue-dominant {
    position: relative;
    padding-top: 100px !important; /* Espacio para el arco superior de 76px */
    padding-bottom: 100px !important; /* Espacio para el arco inferior de 76px */
}

.section-head h2 {
    color: var(--primary) !important;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 20px;
}

.bg-blue-dominant h1, 
.bg-blue-dominant h2, 
.bg-blue-dominant h3, 
.bg-blue-dominant h4, 
.bg-blue-dominant h5, 
.bg-blue-dominant h6,
.bg-blue-dominant .tarot-topics-text h4 a {
	color: var(--primary) !important; /* Dorado en lugar de rosa para el azul cósmico */
}

.bg-blue-dominant p,
.bg-blue-dominant .tarot-topics-text p,
.bg-blue-dominant .widget ul li {
	color: #E0E0FF !important; /* Azul muy pálido para el cuerpo */
}

.bg-blue-dominant .text-primary {
	color: var(--primary) !important; /* Dorado acento para detalles/precios */
}

/* Redefine primary for consistency in common template parts */
.site-button,
.comments-area .comment-form p input[type="submit"] {
	background-color: var(--primary) !important;
}

.site-button:active,
.site-button:hover,
.site-button:focus {
	background-color: var(--primary-hover) !important;
}

.text-primary,
.primary li:before,
.breadcrumb-row ul li a,
.header-nav .nav > li.active > a,
.header-nav .nav > li:hover > a {
	color: var(--primary) !important;
}

.text-secondary {
	color: var(--secondary) !important;
}

/* Ensure Stars are Gold */
.fa-star, .ti-star, .star-rating-svg {
	color: var(--primary) !important;
}

/* Owl Carousel Dots - From Green to Gold/Pink */
.owl-theme .owl-dots .owl-dot span {
	background-color: var(--primary) !important; /* Gold by default */
}

.owl-theme .owl-dots .owl-dot.active span,
.owl-theme .owl-dots .owl-dot:hover span {
	background-color: #E7C6C6 !important; /* Pink when active/hover */
}

/* Portfolio and Wavy elements - using original PNGs (User will edit them) */
/* (References are in index.html inline styles) */

/* Footer lines and separators in gold */
.footer-line:after,
.dlab-separator:after,
.dlab-separator.style-skew:after,
.dlab-separator.style-skew:before {
	background-color: var(--primary) !important;
}

/* H3 using H2 font style but smaller */
.tarot-reviews .section-head h3, 
.tarot-methodology .section-head h3, 
.tarot-team-section .section-head h3, 
.tarot-content-text h3 {
    font-family: 'Abhaya Libre', serif;
    font-size: 40px;
    font-weight: 600;
    line-height: 50px;
}

@media only screen and (max-width: 991px) {
    .tarot-reviews .section-head h3, 
    .tarot-methodology .section-head h3, 
    .tarot-team-section .section-head h3, 
    .tarot-content-text h3 {
        font-size: 28px;
        line-height: 36px;
    }
}

/* Added Padding */
.content-inner-3 {
    padding-top: 150px !important;
    padding-bottom: 150px !important;
}

/* Fix mobile scaling blue line issue on background waves */
.tarot-team-section:after {
    height: calc(100% + 2px) !important;
    top: -1px !important;
}

/* Botones Estilo Clásico Re-estilizados (con redondeado) */
.tarot-call-btn, .site-button {
    width: auto !important;
    min-width: 0 !important;
    padding: 12px 25px !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    display: inline-block !important;
    text-transform: uppercase !important;
    white-space: nowrap !important;
    background-color: var(--primary) !important; /* Dorado de siempre */
    color: #fff !important; /* Texto blanco para máximo contraste */
    border-radius: 10px !important; /* "Un poco redondeados" */
    border: none !important;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15) !important;
    transition: all 0.3s ease !important;
}

.tarot-call-btn i {
    color: #fff !important;
}

.tarot-call-btn:hover, .site-button:hover {
    background-color: var(--primary-hover) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.2) !important;
}

/* Header specific tweaks for responsiveness */
.logo-header {
    margin-right: 100px !important;
}

@media (max-width: 991px) {
    .logo-header {
        margin-right: 10px !important;
    }
    .logo-header a {
        font-size: 28px !important;
    }
    .extra-nav {
        padding: 5px 0;
    }
    .header-call-btn {
        padding: 4px 6px !important;
        margin: 2px !important;
        font-size: 10px !important;
    }
}

/* Ensure the container doesn't break overflow only on mobile */
@media (max-width: 991px) {
    .tarot-header .container {
        max-width: 100% !important;
        padding-left: 10px;
        padding-right: 10px;
    }
}

/* Pinkish Loading Area to match the new logo */
#loading-area {
	background-color: var(--secondary) !important;
    background-image: none !important; /* This kills the old PNG ghost! */
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 99999 !important;
}

.tarot-loading-text {
	font-family: 'Great Vibes', cursive !important;
	color: var(--primary) !important;
	font-size: 60px !important;
	text-transform: none !important;
	margin: 0 !important;
	animation: tarotPulse 2s infinite ease-in-out !important;
}

@keyframes tarotPulse {
	0% { opacity: 0.5; transform: scale(0.9); }
	50% { opacity: 1; transform: scale(1); }
	100% { opacity: 0.5; transform: scale(0.9); }
}

/* =========================================
   SISTEMA DE SEPARADORES (bg8 y bg9)
   ========================================= */

.tarot-team-section.bg-blue-dominant, 
.tarot-footer {
	position: relative !important;
	overflow: visible !important;
}

.tarot-footer {
    padding-top: 100px !important;
}

/* Separador Superior (bg8) - Aplicado a Cápsulas y Footer */
.tarot-team-section.bg-blue-dominant::after, 
.tarot-footer::after {
	content: "" !important;
	position: absolute !important;
	top: -3px !important; 
	left: 0 !important;
	width: 100% !important;
	height: 120px !important;
	background-image: url('../../images/background/bg8.png') !important;
	background-repeat: no-repeat !important;
	background-position: top center !important;
	background-size: 100% auto !important;
	z-index: 10 !important;
	pointer-events: none !important;
}

/* Separador Inferior (bg9) - Solo en Cápsulas */
.tarot-team-section.bg-blue-dominant::before {
	content: "" !important;
	position: absolute !important;
	bottom: -2px !important; 
	left: 0 !important;
	width: 100% !important;
	height: 120px !important;
	background-image: url('../../images/background/bg9.png') !important;
	background-repeat: no-repeat !important;
	background-position: bottom center !important;
	background-size: 100% auto !important;
	z-index: 10 !important;
	pointer-events: none !important;
}