/* ============================================ */
/* ESTILOS PERSONALIZADOS - LANDING PAGE ESPIRITUAL */
/* ============================================ */

/* Reset y configuración global */
* {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    overflow-x: hidden;
    position: relative;
    z-index: 1;
}

/* Gradiente de fondo elegante */
.bg-mystical {
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 50%, #2d1b69 100%);
}

/* ============================================ */
/* IMAGEN DE FONDO PANTALLA COMPLETA */
/* ============================================ */

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-image: url('fondo.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: 0;
    opacity: 0.15;
    pointer-events: none;
}

/* ============================================ */
/* NAVBAR - MENÚ DE NAVEGACIÓN */
/* ============================================ */

/* Logo */
.logo-text {
    font-family: 'Cormorant Garamond', serif;
    font-size: 20px;
    font-weight: 500;
    color: #ffffff;
    letter-spacing: 0.5px;
}

@media (max-width: 768px) {
    .logo-text {
        font-size: 18px;
    }
}

.navbar-link {
    position: relative;
    transition: color 0.3s ease;
    color: #e5e7eb;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.navbar-link:hover {
    color: #fbbf24;
}

.navbar-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #fbbf24;
    transition: width 0.3s ease;
}

.navbar-link:hover::after {
    width: 100%;
}

/* Botón hamburguesa */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background-color: #fbbf24;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(10px, 10px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Menú móvil */
.mobile-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, #0f172a 0%, #1e1b4b 100%);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    z-index: 40;
}

.mobile-menu.active {
    max-height: 400px;
    border-top: 1px solid rgba(251, 191, 36, 0.2);
    border-bottom: 1px solid rgba(251, 191, 36, 0.9);
}

.mobile-menu a {
    display: block;
    padding: 15px 20px;
    color: #e5e7eb;
    text-decoration: none;
    border-bottom: 1px solid #fbbf24/20;
    transition: all 0.3s ease;
}

.mobile-menu a:hover {
    background-color: #fbbf24/10;
    color: #fbbf24;
    padding-left: 30px;
}

@media (max-width: 768px) {
    header {
        position: sticky;
    }

    header > div {
        align-items: flex-start;
    }

    .hamburger {
        display: flex;
        flex-shrink: 0;
        margin-top: 0.75rem;
    }
    
    .navbar-links {
        display: none;
    }

    .logo-text {
        display: block;
        line-height: 1.35;
        padding-right: 1rem;
    }
}

/* ============================================ */
/* SECCIÓN HERO - TIPOGRAFÍAS Y ESTILOS */
/* ============================================ */

/* Etiqueta profesional */
.professional-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #ffffff;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #6B4D7A;
    display: inline-block;
}

/* Título principal (H1) */
.hero-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(40px, 9vw, 72px);
    font-weight: 400;
    color: #ffffff;
    line-height: 1.2;
    margin-bottom: 24px;
    letter-spacing: -0.5px;
}

.section-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(32px, 8vw, 56px);
    font-weight: 400;
    color: #ffffff;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

/* Subtítulo (párrafo) */
.hero-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #e0e0e0;
    line-height: 1.6;
    margin-bottom: 32px;
}

/* Bloque de confianza */
.trust-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #c9a961;
    margin-bottom: 4px;
}

.trust-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 400;
    color: #9ca3af;
}

/* Botón WhatsApp */
.whatsapp-btn {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #ffffff;
    background-color: #8A5A82;
    border: none;
    border-radius: 4px;
    padding: 14px 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    max-width: 300px;
    margin: 0 auto 16px auto;
}

.whatsapp-btn:hover {
    background-color: #6d4569;
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(138, 90, 130, 0.3);
}

.whatsapp-btn i {
    font-size: 18px;
}

/* Texto de seguridad */
.security-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 400;
    color: #9ca3af;
    margin-top: 12px;
}

@media (max-width: 768px) {

/* ============================================ */
/* SISTEMA DE TABS/PESTAÑAS */
/* ============================================ */

    .hero-subtitle {
        font-size: 15px;
    }
}

.faq-section {
    display: block;
}

.tabs-container {
    display: flex;
    gap: 0;
    overflow-x: auto;
    border-bottom: 2px solid #fbbf24/30;
    margin: 30px 0;
    scroll-behavior: smooth;
}

.tabs-container::-webkit-scrollbar {
    height: 4px;
}

.tabs-container::-webkit-scrollbar-thumb {
    background-color: #fbbf24;
    border-radius: 2px;
}

.tab-button {
    position: relative;
    padding: 15px 25px;
    background-color: transparent;
    color: #9ca3af;
    border: none;
    cursor: pointer;
    font-weight: 500;
    font-size: 16px;
    transition: all 0.3s ease;
    white-space: nowrap;
    border-bottom: 3px solid transparent;
}

.tab-button:hover {
    color: #fbbf24;
    background-color: #fbbf24/5;
}

.tab-button.active {
    color: #fbbf24;
    border-bottom-color: #fbbf24;
    background-color: #fbbf24/10;
}

.tab-button.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #fbbf24, #fcd34d);
}

.tab-content {
    display: none;
    animation: fadeIn 0.3s ease-out;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@media (max-width: 640px) {
    .tab-button {
        padding: 12px 16px;
        font-size: 14px;
    }
    
    .tabs-container {
        margin: 20px 0;
    }
}

/* ============================================ */
/* TARJETAS DE SERVICIOS */
/* ============================================ */

/* Tarjetas de servicios con borde dorado */
.service-card {
    border: 1px solid #fbbf24;
    border-radius: 12px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
}

.service-card:hover {
    border-color: #fcd34d;
    box-shadow: 0 0 20px rgba(251, 191, 36, 0.15);
    transform: translateY(-4px);
}

/* ============================================ */
/* ACORDEÓN FAQ */
/* ============================================ */

.accordion-item {
    border-bottom: 1px solid #fbbf24;
}

.accordion-toggle {
    cursor: pointer;
    transition: all 0.3s ease;
}

.accordion-toggle:hover {
    color: #fbbf24;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.accordion-content.active {
    max-height: 500px;
}

/* ============================================ */
/* BOTÓN FLOTANTE DE WHATSAPP */
/* ============================================ */

.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: -100px;
    right: 20px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    text-align: center;
    font-size: 28px;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 99;
    cursor: pointer;
}

.whatsapp-float:hover {
    background-color: #20ba5c;
    transform: scale(1.1);
}

.whatsapp-float.show {
    bottom: 20px;
}

/* ============================================ */
/* ESTRELLAS DORADAS */
/* ============================================ */

.star {
    color: #fbbf24;
    font-size: 16px;
}

/* ============================================ */
/* ANIMACIONES DE ENTRADA */
/* ============================================ */

/* Clase fade-in eliminada - no se utiliza */

/* ============================================ */
/* TARJETAS DE TESTIMONIOS */
/* ============================================ */

.testimonial-card {
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(251, 191, 36, 0.1);
}

/* ============================================ */
/* MODAL - TÉRMINOS Y CONDICIONES */
/* ============================================ */

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    overflow-y: auto;
    transition: opacity 0.3s ease;
}

.modal-overlay.hidden {
    display: none;
}

.modal-container {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border: 1px solid #c9a961;
    border-radius: 8px;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-header {
    position: relative;
    padding: 32px 40px;
    border-bottom: 2px solid #c9a961;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 36px;
    font-weight: 400;
    color: #ffffff;
    margin: 0;
    text-align: center;
    flex: 1;
}

.modal-close {
    position: absolute;
    right: 32px;
    top: 32px;
    background: none;
    border: none;
    color: #c9a961;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 4px 8px;
}

.modal-close:hover {
    color: #ffffff;
    transform: rotate(90deg);
}

.modal-content {
    padding: 40px;
}

.terms-list {
    list-style: decimal;
    list-style-position: outside;
    padding-left: 24px;
}

.terms-list li {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #d1d5db;
    line-height: 1.8;
    margin-bottom: 20px;
    text-align: justify;
}

.terms-list li:last-child {
    margin-bottom: 0;
}

.terms-list li strong {
    color: #c9a961;
    font-weight: 600;
}

/* Scrollbar personalizada del modal */
.modal-container::-webkit-scrollbar {
    width: 8px;
}

.modal-container::-webkit-scrollbar-track {
    background: transparent;
}

.modal-container::-webkit-scrollbar-thumb {
    background-color: #c9a961;
    border-radius: 4px;
}

.modal-container::-webkit-scrollbar-thumb:hover {
    background-color: #d4af37;
}

/* Responsive */
@media (max-width: 768px) {
    .modal-container {
        width: 95%;
        max-height: 95vh;
    }
    
    .modal-header {
        padding: 20px 24px;
    }
    
    .modal-title {
        font-size: 28px;
    }
    
    .modal-close {
        right: 24px;
        top: 20px;
        font-size: 20px;
    }
    
    .modal-content {
        padding: 24px;
    }
    
    .terms-list li {
        font-size: 14px;
        margin-bottom: 16px;
    }
}
