/* ------------------------- */
/* --- CSS Reset & Setup --- */
/* ------------------------- */
/* DARK THEME GLOBAL OVERRIDES */
/* Force dark backgrounds for all major containers */
body, .container, .content-section, .element-grid, .element-card, .ritual-steps, .auto-related-links, .cta-section, .blog-content, .highlight-box, .warning-box, .success-box {
    background: #1a1a1a !important;
    background-color: #1a1a1a !important;
}

/* Force white text for ALL text elements */
body, p, h1, h2, h3, h4, h5, h6, span, div, li, a, .blog-content p, .success-box h4, .success-box li, .highlight-box h4, .highlight-box p, .warning-box h4, .warning-box p, .highlight-box li, .warning-box li, #testimonios p {
    color: white !important;
}

/* Specific overrides for content boxes */
.highlight-box, .warning-box, .success-box {
    background: #2a2a2a !important;
    border-left-color: #ff69b4 !important;
}

.highlight-box *, .warning-box *, .success-box * {
    color: white !important;
}
    
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        body {
            font-family: 'Georgia', serif;
            line-height: 1.6;
            color: white !important;
            background-color: #1a1a1a !important;
        }
        
        .container {
            max-width: 800px;
            margin: 0 auto;
            padding: 20px;
        }
        
        header {
            background: linear-gradient(135deg, #FF1493, #FF69B4);
            color: white;
            padding: 40px 0;
            text-align: center;
            margin-bottom: 30px;
        }
        
        h1 {
            font-size: 2.5em;
            margin-bottom: 10px;
            text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
        }
        
        .subtitle {
            font-size: 1.2em;
            opacity: 0.9;
        }
        
        h2 {
            color: #FF1493;
            font-size: 1.8em;
            margin: 30px 0 15px 0;
            border-bottom: 2px solid #FF69B4;
            padding-bottom: 5px;
        }
        
        h3 {
            color: #C71585;
            font-size: 1.4em;
            margin: 25px 0 10px 0;
        }
        
        p {
            margin-bottom: 15px;
            text-align: justify;
        }
        
        .toc {
             border: 2px solid #FF69B4;
            border-radius: 10px;
            padding: 20px;
            margin: 30px 0;
            box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        }
        
        .toc h3 {
            color: #FF1493;
            margin-top: 0;
            text-align: center;
        }
        
        .toc ul {
            list-style: none;
            padding-left: 0;
        }
        
        .toc li {
            margin: 8px 0;
            padding-left: 20px;
            position: relative;
        }
        
        .toc li:before {
            content: "💕";
            position: absolute;
            left: 0;
        }
        
        .toc a {
            color: #FF1493;
            text-decoration: none;
            font-weight: 500;
        }
        
        .toc a:hover {
            color: #FF69B4;
            text-decoration: underline;
        }
        
        .highlight-box {
            background: #2a2a2a !important;
            border-left: 5px solid #FF69B4;
            padding: 20px;
            margin: 20px 0;
            border-radius: 5px;
            box-shadow: 0 2px 4px rgba(0,0,0,0.3);
            color: white !important;
        }
        
        .warning-box {
            background: #2a2a2a !important;
            border-left: 5px solid #FF6347;
            padding: 20px;
            margin: 20px 0;
            border-radius: 5px;
            box-shadow: 0 2px 4px rgba(0,0,0,0.3);
            color: white !important;
        }
        
        .success-box {
            background: #2a2a2a !important;
            border-left: 5px solid #32CD32;
            padding: 20px;
            margin: 20px 0;
            border-radius: 5px;
            box-shadow: 0 2px 4px rgba(0,0,0,0.3);
            color: white !important;
        }
        
        .cta-section {
            background: linear-gradient(135deg, #FF1493, #FF69B4);
            color: white;
            padding: 30px;
            text-align: center;
            border-radius: 10px;
            margin: 40px 0;
            box-shadow: 0 6px 12px rgba(0,0,0,0.2);
        }
        
        .cta-button {
            display: inline-block;
            color: #FF1493;
            padding: 15px 30px;
            text-decoration: none;
            border-radius: 25px;
            font-weight: bold;
            margin-top: 15px;
            transition: all 0.3s ease;
        }
        
        .cta-button:hover {
            background: #f0f0f0;
            transform: translateY(-2px);
        }
        
        footer {
            background: #2c2c2c;
            color: white;
            padding: 30px 0;
            text-align: center;
            margin-top: 50px;
        }
        
        .related-articles {
            display: flex;
            justify-content: space-around;
            flex-wrap: wrap;
            margin-bottom: 20px;
        }
        
        .related-articles a {
            color: #FF69B4;
            text-decoration: none;
            margin: 10px;
            padding: 10px;
            border: 1px solid #FF69B4;
            border-radius: 5px;
            transition: all 0.3s ease;
        }
        
        .related-articles a:hover {
            background: #FF69B4;
            color: white;
        }
        
        @media (max-width: 768px) {
            .container {
                padding: 10px;
            }
            
            h1 {
                font-size: 2em;
            }
            
            h2 {
                font-size: 1.5em;
            }
            
            .related-articles {
                flex-direction: column;
                align-items: center;
            }
        }

/* Hero Features */
.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin: 20px 0;
    justify-content: center;
}
.content-box {
    color: white !important;
}
body, p, body {
    color: white !important;
}

/* Ensure all text elements are white */
h1, h2, h3, h4, h5, h6, p, span, div, li, a {
    color: white !important;
}

/* Override specific elements that might have different colors */
.content-box h1, .content-box h2, .content-box h3, .content-box h4, .content-box h5, .content-box h6,
.content-box p, .content-box span, .content-box div, .content-box li {
    color: white !important;
}

.parallax-section h1, .parallax-section h2, .parallax-section h3, .parallax-section h4, .parallax-section h5, .parallax-section h6,
.parallax-section p, .parallax-section span, .parallax-section div, .parallax-section li {
    color: white !important;
}
.element-card.element-earth, .element-grid, section.content-section, header.header {
    background: black;
}
/* Specific overrides for elements that might resist */
.maestro-descripcion, .maestro-nombre, .maestro-titulo {
    color: white !important;
}

.feature-item, .benefit-item, .poder-item {
    color: white !important;
}

/* Breadcrumb text white */
.breadcrumb-item, .breadcrumb-link {
    color: white !important;
}

.breadcrumb-item:not(:last-child)::after {
    color: var(--amber-protection) !important;
}
.feature-item {
    background: rgba(255, 191, 0, 0.1);
    border: 1px solid var(--amber-protection);
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
    color: var(--amber-protection);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: rgba(255, 191, 0, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 191, 0, 0.3);
}

/* FAQ Section */
.faq-container {
    max-width: 800px;
    margin: 40px auto;
    padding: 0 20px;
}

.faq-item {
    background: rgba(18, 18, 18, 0.8);
    border: 1px solid var(--amber-protection);
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 5px 20px rgba(255, 191, 0, 0.2);
}

.faq-question {
    background: rgba(255, 191, 0, 0.1);
    padding: 20px;
    cursor: pointer;
    font-weight: 600;
    color: var(--amber-protection);
    position: relative;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: rgba(255, 191, 0, 0.2);
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: var(--amber-protection);
    transition: all 0.3s ease;
}

.faq-item[open] .faq-question::after {
    transform: translateY(-50%) rotate(45deg);
}

.faq-answer {
    padding: 20px;
    color: var(--light-text);
    line-height: 1.6;
    background: rgba(18, 18, 18, 0.9);
}

/* Amarres Benefits */
.amarre-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin: 20px 0;
    justify-content: center;
}

.benefit-item {
    background: rgba(255, 191, 0, 0.1);
    border: 1px solid var(--amber-protection);
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
    color: var(--amber-protection);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.benefit-item:hover {
    background: rgba(255, 191, 0, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 191, 0, 0.3);
}

/* Breadcrumb */
.breadcrumb {
    position: fixed;
    top: 90px;
    left: 20px;
    z-index: 999;
    background: rgba(18, 18, 18, 0.9);
    padding: 10px 15px;
    border-radius: 25px;
    border: 1px solid var(--amber-protection);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.breadcrumb-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 10px;
    align-items: center;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
}

.breadcrumb-item:not(:last-child)::after {
    content: '>';
    color: var(--amber-protection);
    margin-left: 10px;
    font-weight: bold;
}

.breadcrumb-link {
    color: white !important;
    text-decoration: none;
    font-size: 0.8rem;
    padding: 5px 10px;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.breadcrumb-link:hover {
    color: var(--amber-protection);
    background: rgba(255, 191, 0, 0.1);
}

/* Mobile Responsive for FAQ */
@media (max-width: 768px) {
    .breadcrumb {
        position: static;
        margin: 20px;
        width: calc(100% - 40px);
    }
    
    .breadcrumb-list {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .hero-features {
        flex-direction: column;
        align-items: center;
    }
    
    .feature-item {
        width: 100%;
        text-align: center;
    }
    
    .amarre-benefits {
        flex-direction: column;
        align-items: center;
    }
    
    .benefit-item {
        width: 100%;
        text-align: center;
    }
    
    .faq-question {
        padding: 15px;
        font-size: 0.9rem;
    }
    
    .faq-answer {
        padding: 15px;
        font-size: 0.9rem;
    }
}

/* Footer SEO */
.footer-seo {
    background: rgba(18, 18, 18, 0.95);
    border-top: 2px solid var(--amber-protection);
    padding: 40px 20px 20px;
    margin-top: 80px;
    position: relative;
    z-index: 10;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.footer-section h3 {
    color: var(--amber-protection);
    font-size: 1.2rem;
    margin-bottom: 15px;
    font-family: var(--romantic-font);
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section ul li a {
    color: var(--light-text);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--amber-protection);
}

.footer-bottom {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 191, 0, 0.3);
    color: var(--light-text);
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-section {
        margin-bottom: 20px;
    }
}
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* ------------------------- */
/* --- Header Místico --- */
/* ------------------------- */
.header-mistico {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(18, 18, 18, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--amber-protection);
    transition: all 0.3s ease;
}

.header-mistico.scrolled {
    background: rgba(18, 18, 18, 0.98);
    box-shadow: 0 2px 20px rgba(255, 191, 0, 0.2);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--romantic-font);
    font-size: 1.5rem;
    color: var(--amber-protection);
    text-decoration: none;
}

.brand-icon {
    font-size: 1.8rem;
    filter: drop-shadow(0 0 5px var(--amber-protection));
}

.brand-text {
    font-weight: 700;
    text-shadow: 0 0 10px rgba(255, 191, 0, 0.5);
}

.nav-menu {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-link {
    color: var(--light-text);
    text-decoration: none;
    font-family: var(--body-font);
    font-weight: 500;
    font-size: 1rem;
    padding: 8px 16px;
    border-radius: 25px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, var(--amber-protection), transparent);
    transition: left 0.5s ease;
}

.nav-link:hover::before {
    left: 100%;
}

.nav-link:hover {
    color: var(--amber-protection);
    background: rgba(255, 191, 0, 0.1);
    transform: translateY(-2px);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    gap: 4px;
}

.hamburger-line {
    width: 25px;
    height: 3px;
    background: var(--amber-protection);
    border-radius: 2px;
    transition: all 0.3s ease;
    box-shadow: 0 0 5px var(--amber-protection);
}

.nav-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.nav-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

:root {
    --witch-green: #0A6A1B;
    --blood-red: #8A0303;
    --amber-protection: #FFBF00;
    --dark-bg: #121212;
    --romantic-font: 'Dancing Script', cursive;
    --body-font: 'Montserrat', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--body-font);
    background-color: var(--dark-bg);
    color: white !important;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    padding-top: 70px; /* Compensar header fijo */
    overflow-x: hidden; /* Prevent horizontal scroll */
}

/* Responsive body padding */
@media (max-width: 768px) {
    body {
        padding-top: 60px;
    }
}

/* ------------------------- */
/* --- Parallax Sections --- */
/* ------------------------- */
.parallax-section {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 80px 20px 40px;
    /* Parallax Effect - Desktop only */
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    margin-bottom: 20px;
}

/* Section Specific Backgrounds - IMAGES UPDATED */
#hero {
    background-image: url('f74468681f78b86c8f9e6c0f16371d1b.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
#amarre {
    background-image: url('f149d6923e64bcba466f370bec99aae5.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
#endulzamiento {
    background-image: url('d53a700deaeb9082288f95b9f3ad7137.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
#desespero {
    background-image: url('4cc9d8a778daaeb71f7a65fab4188b88.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
#testimonios {
    background-image: url('d53a700deaeb9082288f95b9f3ad7137.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
#maestro {
    background-image: url('f149d6923e64bcba466f370bec99aae5.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Overlay to improve text readability */
.parallax-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

/* ------------------------- */
/* --- Content & Layout ---- */
/* ------------------------- */
.content-box {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 500px;
    padding: 30px 25px;
    background-color: rgba(18, 18, 18, 0.8);
    border: 1px solid var(--amber-protection);
    border-radius: 20px; /* Rounded borders */
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    margin: 20px 0;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

h1, h2 {
    font-family: var(--romantic-font);
    font-size: 3rem;
    color: var(--amber-protection);
    margin-bottom: 15px;
    line-height: 1.2;
}

p {
    margin-bottom: 25px;
    font-size: 1rem;
    color: #ffffff;
}

/* CTA Button Styling (Mobile-First) */
.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--body-font);
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    color: var(--light-text);
    background: linear-gradient(135deg, #25D366, #128C7E, #075E54);
    background-size: 200% 100%;
    padding: 15px 30px;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: all 0.4s ease;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    -webkit-tap-highlight-color: transparent;
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover, .cta-button:focus {
    transform: translateY(-3px);
    background-position: 100% 0;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
    animation: gradientShift 2s ease infinite;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.cta-button:active {
    transform: translateY(-1px);
}

.cta-button .whatsapp-icon {
    width: 20px;
    height: 20px;
    filter: drop-shadow(0 0 3px rgba(255, 255, 255, 0.5));
}

.cta-button .whatsapp-icon svg {
    height: 100%;
    fill: currentColor;
}

/* ------------------------- */
/* --- Testimonios Section --- */
/* ------------------------- */
.testimonios-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 900px;
    margin: 40px auto;
    padding: 0 20px;
}

.testimonio-card {
    background-color: rgba(18, 18, 18, 0.9);
    border: 1px solid var(--amber-protection);
    border-radius: 20px;
    padding: 25px;
    text-align: center;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonio-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(255, 191, 0, 0.3);
}

.testimonio-foto {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 15px;
    background: linear-gradient(45deg, var(--amber-protection), var(--blood-red));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.testimonio-foto::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="35" r="15" fill="rgba(255,255,255,0.3)"/><path d="M25 70 Q50 50 75 70" stroke="rgba(255,255,255,0.3)" stroke-width="3" fill="none"/></svg>') center/60% no-repeat;
    filter: blur(2px);
    opacity: 0.7;
}

.testimonio-nombre {
    font-family: var(--romantic-font);
    font-size: 1.5rem;
    color: var(--amber-protection);
    margin-bottom: 10px;
}

.testimonio-texto {
    font-style: italic;
    color: var(--light-text);
    line-height: 1.6;
    font-size: 1rem;
}

.testimonio-texto::before {
    content: '"';
    font-size: 2rem;
    color: var(--amber-protection);
    font-family: var(--romantic-font);
}

.testimonio-texto::after {
    content: '"';
    font-size: 2rem;
    color: var(--amber-protection);
    font-family: var(--romantic-font);
}

/* ------------------------- */
/* --- Maestro Section --- */
/* ------------------------- */
.maestro-card {
    background-color: rgba(18, 18, 18, 0.95);
    border: 2px solid var(--amber-protection);
    border-radius: 25px;
    padding: 30px;
    text-align: center;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: 0 10px 30px rgba(255, 191, 0, 0.2);
    max-width: 600px;
    margin: 40px auto;
    position: relative;
    overflow: hidden;
}

.maestro-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(255, 191, 0, 0.05), transparent);
    pointer-events: none;
}

.maestro-video-container {
    position: relative;
    width: 100%;
    max-width: 400px;
    margin: 0 auto 25px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--amber-protection);
}

.maestro-video {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 15px;
}

.maestro-nombre {
    font-family: var(--romantic-font);
    font-size: 2.5rem;
    color: var(--amber-protection);
    margin-bottom: 15px;
    text-shadow: 0 0 15px rgba(255, 191, 0, 0.5);
}

.maestro-titulo {
    font-family: var(--body-font);
    font-size: 1.2rem;
    color: var(--light-text);
    margin-bottom: 20px;
    font-style: italic;
    opacity: 0.9;
}

.maestro-descripcion {
    font-family: var(--body-font);
    font-size: 1rem;
    color: var(--light-text);
    line-height: 1.7;
    margin-bottom: 25px;
    text-align: justify;
}

.maestro-poderes {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.poder-item {
    background: linear-gradient(135deg, var(--amber-protection), var(--blood-red));
    color: var(--light-text);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    box-shadow: 0 2px 10px rgba(255, 191, 0, 0.3);
}

/* ------------------------- */
/* --- Animations & Transitions --- */
/* ------------------------- */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ------------------------- */
/* --- Responsive Design --- */
/* ------------------------- */
@media (min-width: 768px) {
    h1, h2 {
        font-size: 4.5rem;
    }
    p {
        font-size: 1.1rem;
    }
    .content-box {
        max-width: 650px;
        padding: 40px;
        margin: 40px 0;
    }
    
    .testimonios-container {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        margin: 60px auto;
    }
    
    .testimonio-card {
        flex: 1;
        min-width: 280px;
        max-width: 300px;
    }
    
    /* Better spacing for desktop */
    .parallax-section {
        padding: 100px 20px 60px;
        margin-bottom: 40px;
    }
    
    .maestro-card {
        margin: 60px auto;
    }
}

/* Mobile Optimizations */
@media (max-width: 768px) {
    /* Fix parallax issues on mobile */
    .parallax-section {
        background-attachment: scroll !important;
        background-size: cover !important;
        background-position: center !important;
        min-height: 100vh;
        height: auto !important;
        padding: 100px 20px 60px;
        margin-bottom: 30px;
    }
    
    /* Ensure images scale properly on mobile */
    #hero, #amarre, #endulzamiento, #desespero, #testimonios {
        background-size: cover !important;
        background-position: center !important;
        background-repeat: no-repeat !important;
    }
    
    /* Improve content box spacing on mobile */
    .content-box {
        margin: 30px 10px;
        padding: 25px 20px;
    }
    
    /* Better spacing for hero features */
    .hero-features {
        margin: 30px 0;
        gap: 20px;
    }
    
    /* Better spacing for amarre benefits */
    .amarre-benefits {
        margin: 30px 0;
        gap: 20px;
    }
}

/* iOS Specific Fixes */
@supports (-webkit-touch-callout: none) {
    .parallax-section {
        background-attachment: scroll !important;
        background-size: cover !important;
        background-position: center !important;
    }
    
    /* Fix for iOS Safari viewport issues */
    .parallax-section {
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
    }

    /* iOS Video Fixes */
    .maestro-video {
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
    }

    .maestro-video-container {
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
    }
}

/* Additional Mobile Image Fixes */
@media (max-width: 480px) {
    .parallax-section {
        background-size: 100% auto !important;
        background-position: center top !important;
        padding: 120px 15px 80px;
        min-height: 100vh;
    }
    
    .content-box {
        margin: 20px 5px;
        padding: 20px 15px;
    }
    
    .cta-button {
        padding: 12px 24px;
        font-size: 1rem;
    }
    
    .cta-button .whatsapp-icon {
        width: 18px;
        height: 18px;
    }
    
    .maestro-card {
        padding: 20px;
        margin: 0 15px;
    }
    
    .maestro-nombre {
        font-size: 2rem;
    }
    
    .maestro-video-container {
        max-width: 100%;
    }
    
    /* Testimonios mobile optimization */
    .testimonios-container {
        gap: 20px;
    }
    
    .testimonio-card {
        margin-bottom: 20px;
    }
    
    /* Better spacing for small screens */
    .hero-features {
        margin: 25px 0;
        gap: 15px;
    }
    
    .amarre-benefits {
        margin: 25px 0;
        gap: 15px;
    }
    
    /* Hide breadcrumb on very small screens */
    .breadcrumb {
        display: none;
    }
}

/* Header Responsive */
@media (max-width: 768px) {
    .header-mistico {
        padding: 0 15px;
    }
    
    .nav-container {
        padding: 0 15px;
        height: 60px;
    }
    
    .nav-menu {
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        background: rgba(18, 18, 18, 0.98);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        flex-direction: column;
        padding: 20px;
        gap: 15px;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        border-bottom: 1px solid var(--amber-protection);
        z-index: 999;
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-link {
        width: 100%;
        text-align: center;
        padding: 15px;
        border-radius: 10px;
        border: 1px solid transparent;
        font-size: 1.1rem;
    }

    .nav-link:hover {
        border-color: var(--amber-protection);
    }

    .nav-toggle {
        display: flex;
    }

    .brand-text {
        font-size: 1.1rem;
    }
    
    .brand-icon {
        font-size: 1.5rem;
    }
}

/* Tablet responsive */
@media (max-width: 1024px) and (min-width: 769px) {
    .nav-container {
        padding: 0 30px;
    }
    
    .nav-menu {
        gap: 20px;
    }
    
    .nav-link {
        font-size: 0.95rem;
        padding: 6px 12px;
    }
}

/* Blog Section Styles */
.blog-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 40px 0;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.blog-card {
    background: rgba(18, 18, 18, 0.8);
    border: 1px solid var(--amber-protection);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 191, 0, 0.3);
    border-color: var(--amber-protection);
}

.blog-image {
    height: 200px;
    background: linear-gradient(135deg, rgba(255, 191, 0, 0.1), rgba(255, 191, 0, 0.2));
    position: relative;
    overflow: hidden;
}

.blog-image::before {
    content: '🔮';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem;
    color: var(--amber-protection);
    opacity: 0.8;
}

.blog-content {
    padding: 25px;
}

/* Blog content styles - only for individual blog pages */
.blog-article .blog-content h3 {
    color: black;
    font-size: 2rem;
    margin-bottom: 15px;
    font-weight: 600;   
    line-height: 1.3;
}

.blog-article .blog-content p {
    color: black !important;
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.blog-article .blog-content * {
    color: black !important;
}

/* Home page blog cards - white text */
#blog .blog-content h3 {
    color: white !important;
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-weight: 600;   
    line-height: 1.3;
}

#blog .blog-content p {
    color: rgb(255, 255, 255) !important;
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

#blog .blog-content * {
    color: white !important;
}

/* Override for home page paragraphs */
#hero p, #maestro p, #amarre p, #endulzamiento p, #desespero p, #testimonios p, #faq p {
    color: white !important;
}
.blog-link {
    display: inline-block;
    color: var(--amber-protection);
    text-decoration: none;
    font-weight: 600;
    padding: 8px 20px;
    border: 1px solid var(--amber-protection);
    border-radius: 25px;
    transition: all 0.3s ease;
    background: rgba(255, 191, 0, 0.1);
}

.blog-link:hover {
    background: var(--amber-protection);
    color: var(--dark-bg);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 191, 0, 0.3);
}

.blog-cta {
    text-align: center;
    margin-top: 40px;
}

/* Blog Section Background */
#blog {
    background: linear-gradient(135deg, rgba(18, 18, 18, 0.9), rgba(18, 18, 18, 0.8)), 
                url('https://i.pinimg.com/736x/f7/44/68/f74468681f78b86c8f9e6c0f16371d1b.jpg') center/cover no-repeat fixed;
    position: relative;
}

#blog::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, 
                rgba(255, 191, 0, 0.05) 0%, 
                rgba(18, 18, 18, 0.8) 50%, 
                rgba(255, 191, 0, 0.05) 100%);
    pointer-events: none;
}

/* Mobile Responsive for Blog */
@media (max-width: 768px) {
    .blog-container {
        grid-template-columns: 1fr;
        gap: 20px;
        margin: 30px 0;
    }
    
    .blog-card {
        margin: 0 10px;
    }
    
    .blog-content {
        padding: 20px;
    }
    
    .blog-content h3 {
        font-size: 1.2rem;
    }
    
    .blog-image {
        height: 150px;
    }
    
    .blog-image::before {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .blog-container {
        margin: 20px 0;
    }
    
    .blog-card {
        margin: 0 5px;
    }
    
    .blog-content {
        padding: 15px;
    }
    
    .blog-content h3 {
       font-size: 2rem;
    }
    
    .blog-image {
        height: 120px;
    }
}

/* FINAL DARK THEME ENFORCEMENT - HIGHEST PRIORITY */
/* This section ensures all text is white and all backgrounds are dark */

/* Force dark backgrounds on ALL containers */
html, body, main, section, article, div, .container, .content, .blog-content, .content-section {
    background: #1a1a1a !important;
    background-color: #1a1a1a !important;
}

/* Force white text on ALL text elements */
*, *::before, *::after {
    color: white !important;
}

/* Specific overrides for common elements */
p, span, div, h1, h2, h3, h4, h5, h6, li, a, strong, em, b, i {
    color: white !important;
}

/* Override any inline styles or specific selectors */
[style*="color"] {
    color: white !important;
}

/* Ensure links are visible */
a {
    color: #ff69b4 !important;
}

a:hover {
    color: #ff1493 !important;
}

/* Make sure all content boxes have dark backgrounds */
.toc, .faq-item, .element-card, .ritual-step, .testimonial {
    background: #2a2a2a !important;
    color: white !important;
}

/* Override any remaining light backgrounds */
.bg-light, .bg-white, .light-bg {
    background: #1a1a1a !important;
}

/* Ensure proper contrast for buttons */
.btn, button, .cta-button {
    background: #ff69b4 !important;
    color: white !important;
    border: none !important;
}

.btn:hover, button:hover, .cta-button:hover {
    background: #ff1493 !important;
    color: white !important;
}

.blog-image::before {
    font-size: 2rem;
}

.footer-content, .footer-content * {
    color: #ffffff !important;
    font-size: 1.1rem !important;
}
.footer-section h3 {
    font-size: 1.4rem !important;
    color: #111 !important;
}