﻿/* 
    TEMPLOAMOR - ESTILOS BASE
    Esquema: Dark Luxury Esoteric (Magia Roja)
*/

:root {
    /* Paleta de Color: Sangre MÃ­stica (Rojo) */
    --bg-primary: #000000;
    --bg-secondary: #09090b;
    --bg-tertiary: #18181b;

    --primary-300: #fb7185;
    --primary-400: #f43f5e;
    --primary-500: #e11d48;
    /* Accent Hero */
    --primary-600: #be123c;
    --primary-700: #9f1239;
    --primary-800: #881337;

    --primary-rgb: 225, 29, 72;
    /* Para rgba() */

    --text-primary: #ffffff;
    --text-secondary: #e4e4e7;
    --text-tertiary: #a1a1aa;
    --text-quaternary: #71717a;

    --font-heading: 'Cinzel', serif;
    --font-body: 'Inter', sans-serif;
}

/* Reset Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-body);
    overflow-x: hidden;
}

body {
    position: relative;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* TipografÃ­a Compartida */
h1,
h2,
h3,
h4,
.font-cinzel {
    font-family: var(--font-heading);
    color: var(--text-primary);
}

h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

h2 {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

h3 {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 15px;
}

p {
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 15px;
}

.text-highlight {
    color: var(--primary-500);
}

.text-center {
    text-align: center;
}

.mb-15 {
    margin-bottom: 15px;
}

.mb-50 {
    margin-bottom: 50px;
}

.mt-15 {
    margin-top: 15px;
}

.mt-30 {
    margin-top: 30px;
}

.relative {
    position: relative;
}

.z-10 {
    z-index: 10;
}

.max-w-800 {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.text-tertiary {
    color: var(--text-tertiary);
}

.text-quaternary {
    color: var(--text-quaternary);
    font-size: 0.85rem;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/*
    ======================================
    ðŸ”® COMPONENTES Y CRÃTICOS CSS
    ======================================
*/

/* Glassmorphism EsotÃ©rico Oscuro */
.glass-card {
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.05) 0%, rgba(20, 20, 20, 0.6) 100%);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(var(--primary-rgb), 0.2);
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    box-shadow: inset 0 0 40px rgba(var(--primary-rgb), 0.05);
    z-index: -1;
}

/* Botones */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--primary-600) 0%, var(--primary-500) 50%, var(--primary-700) 100%);
    background-size: 200% 200%;
    animation: gradient-shift 4s ease infinite;
    color: #ffffff;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1rem;
    padding: 14px 28px;
    border-radius: 8px;
    border: 1px solid rgba(var(--primary-rgb), 0.8);
    box-shadow: 0 0 20px rgba(var(--primary-rgb), 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
}

.btn-large {
    font-size: 1.15rem;
    padding: 18px 40px;
}

.btn-small {
    font-size: 0.9rem;
    padding: 10px 20px;
}

.btn-giant {
    font-size: 1.3rem;
    padding: 20px 50px;
    border-radius: 12px;
    letter-spacing: 0.5px;
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: transparent;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1.15rem;
    padding: 18px 40px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(var(--primary-rgb), 0.5);
}

/* Textos y Glows */
.glow-text {
    text-shadow: 0 0 10px rgba(var(--primary-rgb), 0.8), 0 0 20px rgba(var(--primary-rgb), 0.6);
}

.glow-text-subtle {
    text-shadow: 0 0 10px rgba(var(--primary-rgb), 0.3);
}

/* Ambientaciones de luz general */
.ambient-glow {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 0;
    background: radial-gradient(circle at 50% 10%, rgba(var(--primary-rgb), 0.1) 0%, transparent 60%);
}

#particles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: var(--primary-400);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--primary-500), 0 0 20px var(--primary-500);
    opacity: 0;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.4s ease;
}

.navbar.scrolled {
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(var(--primary-rgb), 0.2);
    padding: 15px 0;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo {
    height: 45px;
    object-fit: contain;
}

.logo-small {
    height: 35px;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 1px;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 100px;
    z-index: 2;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.label-top {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(var(--primary-rgb), 0.15);
    border: 1px solid rgba(var(--primary-rgb), 0.3);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 25px;
    color: var(--primary-300);
}

.hero-subtitle {
    font-size: 1.25rem;
}

.hero-actions {
    display: flex;
    gap: 20px;
    margin-top: 40px;
}

.hero-visual-container {
    position: relative;
    width: 100%;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    position: relative;
    z-index: 5;
    filter: drop-shadow(0 0 40px rgba(var(--primary-rgb), 0.3));
}

.ritual-circle {
    position: absolute;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    border: 2px dashed rgba(var(--primary-rgb), 0.4);
    box-shadow: 0 0 80px rgba(var(--primary-rgb), 0.2), inset 0 0 80px rgba(var(--primary-rgb), 0.2);
    animation: spin 30s linear infinite;
    z-index: 1;
}

@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}

/* Authority Bar */
.authority-bar {
    padding: 60px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    background: linear-gradient(90deg, transparent 0%, rgba(var(--primary-rgb), 0.05) 50%, transparent 100%);
    position: relative;
    z-index: 2;
}

.authority-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 30px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 1.1rem;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Portafolio Servicios (Bento) */
.services {
    padding: 120px 0;
    position: relative;
    z-index: 2;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: minmax(320px, auto);
    gap: 24px;
}

.bento-card {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 0;
    min-height: 380px;
    border: 1px solid rgba(var(--primary-rgb), 0.2);
}

.bento-card.featured {
    grid-column: span 2;
    grid-row: span 2;
}

.bento-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
    opacity: 0.6;
    transition: transform 1s ease;
}

.card-bg-glow {
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 100px;
    background: var(--primary-500);
    filter: blur(80px);
    z-index: -1;
    opacity: 0.5;
}

.bento-content {
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.7) 60%, transparent 100%);
    padding: 30px;
    padding-top: 80px;
    width: 100%;
    z-index: 5;
    border-top: 1px solid rgba(var(--primary-rgb), 0.2);
    margin-top: auto;
}

/* Beneficios */
.benefits {
    padding: 80px 0;
    position: relative;
    z-index: 2;
}

.benefits-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.benefit-list li {
    margin-bottom: 25px;
    padding: 25px;
}

.benefit-list strong {
    color: var(--primary-400);
    font-family: var(--font-heading);
    font-size: 1.2rem;
    display: block;
    margin-bottom: 10px;
}

.benefit-visual {
    height: 100%;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.aura-pulse {
    width: 200px;
    height: 200px;
    background: var(--primary-500);
    border-radius: 50%;
    filter: blur(80px);
    animation: pulse-glow-severe 4s ease-in-out infinite;
}

/* How It Works */
.how-it-works {
    padding: 100px 0;
    background: var(--bg-secondary);
    border-top: 1px solid rgba(var(--primary-rgb), 0.1);
    position: relative;
    z-index: 2;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.step-card {
    text-align: center;
    padding: 40px 30px;
}

.step-number {
    font-size: 5rem;
    font-family: var(--font-heading);
    font-weight: 800;
    color: rgba(var(--primary-rgb), 0.2);
    margin-bottom: 20px;
    line-height: 1;
}

/* Testimonials */
.testimonials {
    padding: 100px 0;
    position: relative;
    z-index: 2;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 50px;
}

.testimonial-card {
    padding: 40px;
}

.stars {
    font-size: 1.2rem;
    margin-bottom: 20px;
    letter-spacing: 5px;
}

.review-text {
    font-style: italic;
    font-size: 1.15rem;
    color: #fff;
    margin-bottom: 30px;
}

.reviewer {
    display: flex;
    align-items: center;
    gap: 15px;
}

.reviewer-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-700);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: bold;
    font-size: 1.2rem;
    border: 2px solid var(--primary-500);
}

.reviewer h4 {
    font-family: var(--font-body);
    margin-bottom: 0;
    font-size: 1rem;
}

.reviewer span {
    color: var(--primary-400);
    font-size: 0.9rem;
}

/* FAQ */
.faq {
    padding: 100px 0;
    position: relative;
    z-index: 2;
}

.accordion-header {
    width: 100%;
    text-align: left;
    background: transparent;
    color: #fff;
    border: none;
    padding: 10px 0;
    font-size: 1.2rem;
    font-weight: 600;
    font-family: var(--font-body);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.accordion-header .icon {
    color: var(--primary-500);
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.accordion-item.active .icon {
    transform: rotate(45deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.accordion-item.active .accordion-content {
    max-height: 300px;
}

.accordion-content p {
    padding-top: 20px;
    color: var(--text-tertiary);
    margin: 0;
}

/* CTA Final */
.cta-final {
    padding: 120px 0;
    border-top: 1px solid rgba(var(--primary-rgb), 0.2);
    position: relative;
    overflow: hidden;
    z-index: 2;
}

.cta-bg-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(var(--primary-rgb), 0.15) 0%, transparent 70%);
    z-index: 0;
}

.cta-title {
    font-size: 3rem;
    margin-bottom: 20px;
}

.cta-desc {
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto;
    color: var(--text-secondary);
}

.urgency-text {
    color: var(--primary-400);
    font-weight: 600;
    margin-top: 20px;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.9rem;
}

/* Footer */
.footer {
    background: var(--bg-secondary);
    padding: 60px 0 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    z-index: 2;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-tertiary);
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-400);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 20px;
    text-align: center;
    color: var(--text-tertiary);
    font-size: 0.9rem;
}


/*
    ======================================
    ðŸ”® ANIMACIONES INFINITAS (LOG DE MUTACIÃ“N)
    ======================================
*/

/* 1. Levitation Spell - Elementos Flotantes Vivos */
@keyframes float-slow {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes float-medium {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

.float-slow {
    animation: float-slow 6s ease-in-out infinite;
}

.float-medium {
    animation: float-medium 5s ease-in-out infinite;
}

.levitate {
    animation: float-medium 7s ease-in-out infinite;
}

.delay-1 {
    animation-delay: 1s;
}

.delay-2 {
    animation-delay: 2s;
}

.delay-3 {
    animation-delay: 3s;
}

/* 2. Crimson Pulse - Latidos de Magia Roja */
@keyframes pulse-btn {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(var(--primary-rgb), 0.4), 0 0 20px rgba(var(--primary-rgb), 0.3);
    }

    50% {
        box-shadow: 0 0 0 5px rgba(var(--primary-rgb), 0.1), 0 0 40px rgba(var(--primary-rgb), 0.6);
    }
}

@keyframes pulse-btn-subtle {

    0%,
    100% {
        box-shadow: 0 0 10px rgba(var(--primary-rgb), 0.2);
    }

    50% {
        box-shadow: 0 0 20px rgba(var(--primary-rgb), 0.5);
    }
}

@keyframes pulse-glow-severe {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.4;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

.pulse-btn {
    animation: pulse-btn 2.5s infinite;
}

.pulse-btn-subtle {
    animation: pulse-btn-subtle 3s infinite;
}

/* 3. Astral Particles */
@keyframes float-up-fade {
    0% {
        transform: translateY(100vh) scale(0);
        opacity: 0;
    }

    20% {
        opacity: 0.8;
    }

    80% {
        opacity: 0.5;
    }

    100% {
        transform: translateY(-50vh) scale(1.5);
        opacity: 0;
    }
}

@keyframes gradient-shift {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

/* Extras de entrada (Scroll reveal controlados por JS) */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-rotate {
    opacity: 0;
    transform: perspective(1000px) rotateX(10deg) translateY(30px);
    transition: all 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in-rotate.visible {
    opacity: 1;
    transform: perspective(1000px) rotateX(0deg) translateY(0);
}

/*
    ======================================
    ðŸ“± RESPONSIVE BREAKPOINTS
    ======================================
*/
@media (max-width: 1024px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-title {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 60px;
    }

    .hero-actions {
        justify-content: center;
        flex-direction: column;
        width: 100%;
    }

    .hero-visual-container {
        height: 350px;
    }

    .bento-grid {
        grid-template-columns: 1fr;
    }

    .bento-card.featured {
        grid-column: span 1;
        grid-row: span 1;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .benefit-visual {
        display: none;
    }

    .steps-grid {
        grid-template-columns: 1fr;
    }

    .testimonial-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .stat-number {
        font-size: 3rem;
    }

    h1 {
        font-size: 2.2rem;
    }

    h2 {
        font-size: 2rem;
    }
}

/*
    ======================================
    🔮 THEME PACTOS (Mutación Dark Luxury)
    ======================================
*/
.theme-pactos {
    --bg-primary: #000000;
    --bg-secondary: #050505;
    --bg-tertiary: #0a0a0a;

    /* Destellos dorados y rojo sangre profundo */
    --primary-300: #d4af37;
    --primary-400: #ffd700;
    --primary-500: #8a0303;
    --primary-600: #660000;
    --primary-700: #4d0000;
    --primary-800: #330000;

    --primary-rgb: 138, 3, 3;
}

.theme-pactos .btn-primary {
    background: linear-gradient(135deg, #660000 0%, #8a0303 50%, #4d0000 100%);
    border: 1px solid rgba(212, 175, 55, 0.5);
    box-shadow: 0 0 20px rgba(138, 3, 3, 0.6), inset 0 1px 0 rgba(212, 175, 55, 0.4);
    color: #ffd700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.theme-pactos .btn-outline {
    color: #d4af37;
    border-color: rgba(212, 175, 55, 0.4);
}

.theme-pactos .btn-outline:hover {
    background: rgba(212, 175, 55, 0.1);
    border-color: #ffd700;
}

.theme-pactos .glow-text,
.theme-pactos .glow-text-subtle {
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.6), 0 0 20px rgba(138, 3, 3, 0.8);
}

.theme-pactos .hero-title .text-highlight {
    color: #d4af37;
    text-shadow: 0 0 15px rgba(212, 175, 55, 0.5);
}

.theme-pactos .label-top {
    color: #ffd700;
    border-color: rgba(212, 175, 55, 0.5);
    background: rgba(138, 3, 3, 0.2);
}

.theme-pactos .ritual-circle {
    border-color: rgba(212, 175, 55, 0.4);
    box-shadow: 0 0 60px rgba(212, 175, 55, 0.1), inset 0 0 60px rgba(138, 3, 3, 0.5);
}

.theme-pactos .particle {
    background: #d4af37;
    box-shadow: 0 0 10px #d4af37, 0 0 20px #8a0303;
}

.theme-pactos .ambient-glow {
    background: radial-gradient(circle at 50% 10%, rgba(138, 3, 3, 0.2) 0%, transparent 60%);
}

.theme-pactos .glass-card {
    border: 1px solid rgba(212, 175, 55, 0.15);
    background: linear-gradient(135deg, rgba(138, 3, 3, 0.05) 0%, rgba(10, 10, 10, 0.8) 100%);
}

.theme-pactos .card-bg-glow,
.theme-pactos .aura-pulse {
    background: #8a0303;
    box-shadow: 0 0 50px #d4af37;
}

.theme-pactos .step-number {
    color: rgba(212, 175, 55, 0.15);
}