/* ==========================================================================
   Variables & Custom Properties
   ========================================================================== */
   :root {
    /* Color Palette - Light Mode */
    --bg-primary: #fcf9f2; /* Crema/Blanco puro roto */
    --bg-secondary: #f0ebd8; /* Tono tierra claro */
    --bg-dark: #2c1a12; /* Café muy oscuro */
    
    --text-primary: #33261d;
    --text-secondary: #5e4b3e;
    --text-light: #fcf9f2;
    
    /* Brand/Theme Colors */
    --accent-gold: #d4af37;
    --accent-red: #8b0000;
    --accent-blue: #000080;
    --accent-green: #008040;
    --accent-earth: #8b5a2b;

    /* Fonts */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing & Layout */
    --container-max: 1200px;
    --spacing-sm: 1rem;
    --spacing-md: 2.5rem;
    --spacing-lg: 5rem;
    --border-radius: 8px;

    /* Transitions */
    --trans-fast: 0.3s ease;
    --trans-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Dark Mode Overrides */
body.dark-mode {
    --bg-primary: #1a1311; 
    --bg-secondary: #2a1f1c; 
    --text-primary: #f2ebd9;
    --text-secondary: #d4c5b9;
    
    --accent-gold: #e5c354;
    --accent-red: #cc3333;
    
    /* Slightly lighten dark backgrounds in dark mode to contrast */
    --bg-dark: #120d0b;
}

/* ==========================================================================
   Reset & Base Styles
   ========================================================================== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    transition: background-color var(--trans-fast), color var(--trans-fast);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

ul {
    list-style: none;
}

.container {
    width: 90%;
    max-width: var(--container-max);
    margin: 0 auto;
}

.text-light {
    color: var(--text-light);
}

/* ==========================================================================
   Preloader
   ========================================================================== */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--bg-dark);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.loader-symbol {
    text-align: center;
    color: var(--accent-gold);
}

.garabato {
    width: 60px;
    height: 60px;
    border: 4px solid var(--accent-gold);
    border-radius: 50%;
    border-top-color: transparent;
    margin: 0 auto 1.5rem auto;
    animation: spin 1s linear infinite;
    position: relative;
}

.garabato::after {
    content: '';
    position: absolute;
    width: 4px;
    height: 30px;
    background-color: var(--accent-gold);
    top: -15px;
    left: 24px;
    transform: rotate(45deg);
}

.loader-text {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 1.2rem;
    letter-spacing: 2px;
    animation: pulse 2s infinite;
}

@keyframes spin { 100% { transform: rotate(360deg); } }
@keyframes pulse { 50% { opacity: 0.5; } }

/* ==========================================================================
   Navigation
   ========================================================================== */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: background-color var(--trans-fast), padding var(--trans-fast), box-shadow var(--trans-fast);
}

header.scrolled {
    background-color: var(--bg-primary);
    padding: 1rem 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

body.dark-mode header.scrolled {
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-primary);
    z-index: 1001;
}

header:not(.scrolled) .logo {
    color: var(--text-light); /* En hero (fondo oscuro) es blanco */
}

.logo span {
    color: var(--accent-red);
    animation: textGlow 3s infinite ease-in-out;
}

.logo img {
    animation: flagFloat 4s infinite ease-in-out;
}

@keyframes textGlow {
    0%, 100% { text-shadow: 0 0 2px rgba(204, 51, 51, 0.1); }
    50% { text-shadow: 0 0 12px rgba(204, 51, 51, 0.6); }
}

@keyframes flagFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px) rotate(2deg); }
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-list {
    display: flex;
    gap: 2rem;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    color: var(--text-primary);
    transition: color var(--trans-fast);
}

header:not(.scrolled) .nav-link {
    color: rgba(255,255,255,0.9);
}

header:not(.scrolled) .nav-link:hover {
    color: var(--accent-gold);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-red);
    transition: width var(--trans-fast);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

/* Theme Toggle */
#theme-toggle {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

header:not(.scrolled) #theme-toggle {
    color: var(--text-light);
}

.sun-icon { display: none; }
body.dark-mode .sun-icon { display: block; }
body.dark-mode .moon-icon { display: none; }

/* Hamburger Menu */
.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: all 0.3s ease-in-out;
    background-color: var(--text-primary);
}

header:not(.scrolled) .bar {
    background-color: var(--text-light);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    height: 100vh;
    min-height: 600px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-slider {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    opacity: 0;
    transition: opacity 2s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.6), rgba(20,10,5,0.8));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 1;
    color: var(--text-light);
    max-width: 800px;
}

.subtitle {
    display: block;
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.9rem;
    color: var(--accent-gold);
    margin-bottom: 1rem;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    margin-bottom: 1.5rem;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    letter-spacing: 2px;
    background: linear-gradient(to right, #bf953f, #fcf6ba, #b38728, #fbf5b7, #aa771c);
    background-size: 200% auto;
    color: #fff; /* fallback */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0px 5px 10px rgba(0,0,0,0.8));
    animation: goldShimmer 4s linear infinite;
}

@keyframes goldShimmer {
    to { background-position: 200% center; }
}

.hero-desc {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.95);
    background: rgba(10, 5, 3, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 1.2rem 2rem;
    border-radius: 8px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-left: 4px solid var(--accent-gold);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), inset 0 0 20px rgba(212, 175, 55, 0.05);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
    font-style: italic;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    animation: floatDesc 6s ease-in-out infinite;
    will-change: transform, box-shadow;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transform: translateZ(0);
}

@keyframes floatDesc {
    0% { transform: translate3d(0, 0px, 0); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5); }
    50% { transform: translate3d(0, -5px, 0); box-shadow: 0 15px 35px rgba(212, 175, 55, 0.15); }
    100% { transform: translate3d(0, 0px, 0); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5); }
}
    50% { transform: translate3d(0, -5px, 0); box-shadow: 0 15px 35px rgba(212, 175, 55, 0.15); }
    100% { transform: translate3d(0, 0px, 0); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5); }
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    border-radius: 2px;
    transition: all var(--trans-fast);
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--accent-red);
    color: white;
}

.btn-primary:hover {
    background-color: #a00000;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(139,0,0,0.3);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--accent-gold);
    color: var(--accent-gold);
}

.btn-outline:hover {
    background-color: var(--accent-gold);
    color: #000;
    transform: translateY(-3px);
}

.btn-block {
    display: block;
    width: 100%;
    border: none;
}

/* ==========================================================================
   Sections General
   ========================================================================== */
.section {
    padding: var(--spacing-lg) 0;
}

.section-dark {
    background-color: var(--bg-dark);
    color: var(--text-light);
}

.section-light-alt {
    background-color: var(--bg-secondary);
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-md);
    max-width: 700px;
    margin-inline: auto;
}

.section-title {
    font-size: clamp(2rem, 3.5vw, 3rem);
    position: relative;
    display: inline-block;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--accent-gold);
}

.section-subtitle {
    margin-top: 1.5rem;
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.section-dark .section-subtitle {
    color: rgba(255,255,255,0.7);
}

/* ==========================================================================
   Orishas Grid
   ========================================================================== */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.card {
    background-color: var(--bg-primary);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform var(--trans-slow), box-shadow var(--trans-slow);
    border: 1px solid rgba(0,0,0,0.05);
}

body.dark-mode .card {
    background-color: var(--bg-secondary);
    border-color: rgba(255,255,255,0.05);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

body.dark-mode .card:hover {
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.card-img-container {
    height: 250px;
    overflow: hidden;
}

.card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--trans-slow);
    cursor: pointer;
}

.card:hover .card-img {
    transform: scale(1.05);
}

.card-content {
    padding: 1.5rem;
}

.card-title {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: var(--accent-red);
}

body.dark-mode .card-title {
    color: var(--accent-gold);
}

.card-meta {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 0.25rem;
}

.card-desc {
    margin: 1rem 0;
    font-size: 0.95rem;
}

.offer {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px dashed rgba(0,0,0,0.1);
    font-style: italic;
}

body.dark-mode .offer {
    border-top-color: rgba(255,255,255,0.1);
}

/* ==========================================================================
   Split Layout (Vudú & Botánica)
   ========================================================================== */
.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.split-layout.reverse {
    direction: rtl;
}

.split-layout.reverse > * {
    direction: ltr;
}

.split-content h3 {
    font-size: 1.5rem;
    color: var(--accent-gold);
    margin-bottom: 1.5rem;
}

.split-content p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.feature-list {
    margin-top: 2rem;
}

.feature-list li {
    margin-bottom: 1rem;
    padding-left: 2rem;
    position: relative;
}

.feature-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent-gold);
    font-weight: bold;
}

.split-image img {
    border-radius: var(--border-radius);
    box-shadow: 20px 20px 0 var(--accent-gold);
    transition: transform var(--trans-slow);
}

.split-layout:hover .split-image img {
    transform: translate(-10px, -10px);
}

.split-layout.reverse .split-image img {
    box-shadow: -20px 20px 0 var(--accent-green);
}

.split-layout.reverse:hover .split-image img {
    transform: translate(10px, -10px);
}

/* Herbs Grid */
.herbs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
}

.herb-item {
    background: var(--bg-primary);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--accent-green);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

body.dark-mode .herb-item {
    background: var(--bg-dark);
}

.herb-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    display: block;
}

.herb-item h4 {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.herb-item p {
    font-size: 0.9rem;
    margin: 0;
    color: var(--text-secondary);
}

/* ==========================================================================
   Accordion (Rituales)
   ========================================================================== */
.accordion {
    max-width: 800px;
    margin: 0 auto;
}

.accordion-item {
    margin-bottom: 1rem;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: var(--border-radius);
    overflow: hidden;
}

body.dark-mode .accordion-item {
    border-color: rgba(255,255,255,0.1);
}

.accordion-header {
    width: 100%;
    padding: 1.5rem;
    background-color: var(--bg-secondary);
    border: none;
    text-align: left;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color var(--trans-fast);
}

.accordion-header:hover {
    background-color: rgba(0,0,0,0.05);
}

body.dark-mode .accordion-header:hover {
    background-color: rgba(255,255,255,0.05);
}

.accordion-header .icon {
    font-size: 1.5rem;
    font-weight: 300;
    transition: transform 0.3s;
}

.accordion-header.active .icon {
    transform: rotate(45deg);
    color: var(--accent-red);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    background-color: var(--bg-primary);
    transition: max-height 0.4s ease-out;
}

.accordion-content p, .accordion-content ul {
    padding: 1.5rem;
}

.festivity-list li {
    margin-bottom: 0.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}
body.dark-mode .festivity-list li {
    border-bottom-color: rgba(255,255,255,0.05);
}

/* ==========================================================================
   Forms & Contact
   ========================================================================== */
.contact-container {
    max-width: 600px;
    margin: 0 auto;
}

.contact-form {
    background-color: var(--bg-secondary);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 4px;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-body);
    transition: border-color var(--trans-fast), outline var(--trans-fast);
}

body.dark-mode .form-group input,
body.dark-mode .form-group select,
body.dark-mode .form-group textarea {
    border-color: rgba(255,255,255,0.1);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-gold);
    box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.2);
}

.disclaimer-box {
    margin-top: 2rem;
    padding: 1.5rem;
    background-color: rgba(139, 0, 0, 0.05);
    border-left: 4px solid var(--accent-red);
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    font-size: 0.9rem;
}

.disclaimer-box h4 {
    color: var(--accent-red);
    margin-bottom: 0.5rem;
}

.form-message {
    margin-top: 1rem;
    text-align: center;
    font-weight: 600;
    display: none;
}
.form-message.success { color: var(--accent-green); display: block; }
.form-message.error { color: var(--accent-red); display: block; }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background-color: #0a0503; /* Aún más oscuro y elegante */
    color: rgba(255,255,255,0.7);
    padding: 5rem 0 2rem;
    border-top: 2px solid var(--accent-gold);
    position: relative;
}
.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
    box-shadow: 0 0 15px var(--accent-gold);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-brand .logo {
    margin-bottom: 1.5rem;
    display: block;
    font-size: 2rem;
}

.footer-desc {
    max-width: 350px;
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer h4 {
    color: var(--accent-gold);
    font-family: var(--font-heading);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    letter-spacing: 1px;
    position: relative;
    display: inline-block;
}
.footer h4::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--accent-gold);
}

.footer-links ul li {
    margin-bottom: 1rem;
}

.footer-links a {
    color: rgba(255,255,255,0.8);
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--accent-gold);
    transform: translateX(8px);
    text-shadow: 0 0 8px rgba(212, 175, 55, 0.4);
}

.social-icons {
    display: flex;
    gap: 1.2rem;
}

.social-icons a {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    transition: all 0.4s ease;
    backdrop-filter: blur(5px);
}

.social-icons a:hover {
    background-color: var(--accent-gold);
    color: #000;
    transform: translateY(-5px) rotate(360deg);
    border-color: var(--accent-gold);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.3);
}

.footer-bottom {
    text-align: center;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    font-size: 0.9rem;
    color: rgba(255,255,255,0.5);
}

.footer-legal {
    margin-top: 0.5rem;
    color: rgba(255,255,255,0.5);
}

/* ==========================================================================
   Utilities & Interactive Elements
   ========================================================================== */
/* Back to Top */
#back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--accent-gold);
    color: #000;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    opacity: 0;
    visibility: hidden;
    transition: all var(--trans-fast);
    z-index: 99;
}

#back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

#back-to-top:hover {
    background-color: #fff;
    transform: translateY(-5px);
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Lightbox Modal */
.lightbox {
    display: none;
    position: fixed;
    z-index: 10000;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.9);
    backdrop-filter: blur(5px);
}

.lightbox.active {
    display: flex;
    justify-content: center;
    align-items: center;
}

.lightbox-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 85vh;
    animation: zoomIn 0.3s;
    border-radius: 4px;
    box-shadow: 0 0 30px rgba(0,0,0,0.5);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.lightbox-close:hover {
    color: var(--accent-gold);
}

@keyframes zoomIn {
    from {transform: scale(0.9); opacity: 0;}
    to {transform: scale(1); opacity: 1;}
}

/* ==========================================================================
   Media Queries (Responsive)
   ========================================================================== */
@media (max-width: 992px) {
    .split-layout, .split-layout.reverse {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .split-image {
        order: -1;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero-title {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 0;
        flex-direction: column;
        background-color: var(--bg-primary);
        width: 100%;
        height: 100vh;
        text-align: center;
        transition: 0.3s;
        padding-top: 100px;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-list {
        flex-direction: column;
        gap: 2rem;
    }
    
    header:not(.scrolled) .nav-menu.active .nav-link {
        color: var(--text-primary);
    }
    header:not(.scrolled) .nav-menu.active #theme-toggle {
        color: var(--text-primary);
        margin: 0 auto;
    }
    
    .hamburger.active .bar:nth-child(2) { opacity: 0; }
    .hamburger.active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .hamburger.active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

    .herbs-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .hero-cta {
        flex-direction: column;
    }
    
    .section {
        padding: var(--spacing-md) 0;
    }
}

/* ==========================================================================
   WhatsApp Testimonios UI
   ========================================================================== */
.testimonios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.wa-chat {
    background-color: #e5ddd5;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    display: flex;
    flex-direction: column;
}

.wa-header {
    background-color: #075e54;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    color: white;
}

.wa-avatar {
    width: 40px;
    height: 40px;
    background-color: #ccc;
    border-radius: 50%;
    margin-right: 12px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23fff"><path d="M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"/></svg>');
    background-size: cover;
}

.wa-contact-info {
    display: flex;
    flex-direction: column;
}

.wa-contact-info strong {
    font-size: 1rem;
    font-weight: 500;
}

.wa-contact-info span {
    font-size: 0.75rem;
    opacity: 0.8;
}

.wa-body {
    padding: 15px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
    background-color: #e5ddd5;
}

.wa-bubble {
    max-width: 85%;
    padding: 8px 12px;
    border-radius: 7.5px;
    font-size: 0.9rem;
    position: relative;
    line-height: 1.3;
    color: #303030;
    box-shadow: 0 1px 1px rgba(0,0,0,0.1);
}

.wa-bubble-out {
    background-color: #dcf8c6;
    align-self: flex-end;
    border-top-right-radius: 0;
}

.wa-bubble-in {
    background-color: #fff;
    align-self: flex-start;
    border-top-left-radius: 0;
}

.wa-time {
    display: block;
    text-align: right;
    font-size: 0.65rem;
    color: #999;
    margin-top: 4px;
}

.wa-ticks {
    color: #34b7f1; /* blue ticks */
    margin-left: 3px;
    font-weight: bold;
}

body.dark-mode .wa-chat {
    background-color: #0b141a;
}

body.dark-mode .wa-header {
    background-color: #202c33;
}

body.dark-mode .wa-body {
    background-color: #0b141a;
}

body.dark-mode .wa-bubble-out {
    background-color: #005c4b;
    color: #e9edef;
}

body.dark-mode .wa-bubble-in {
    background-color: #202c33;
    color: #e9edef;
}


.floating-btn-container { position: fixed; bottom: 20px; right: 20px; z-index: 1000; display: flex; flex-direction: column; gap: 15px; }

/* 3D Neon Glass Base */
.social-float {
    position: relative;
    display: flex; justify-content: center; align-items: center; 
    width: 60px; height: 60px; 
    border-radius: 16px; /* Squircle */
    background: rgba(15, 15, 15, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    text-decoration: none;
    border: 1px solid rgba(255,255,255,0.1);
}

/* Base Neon Effects */
.whatsapp-float {
    color: #25d366;
    box-shadow: 
        inset 0 0 12px rgba(255,255,255,0.1), 
        inset 2px 2px 3px rgba(255,255,255,0.4), 
        inset -1px -1px 2px rgba(0,0,0,0.5),
        0 0 15px rgba(37, 211, 102, 0.4),
        0 5px 15px rgba(0,0,0,0.6);
}
.whatsapp-float svg { filter: drop-shadow(0 0 5px rgba(37, 211, 102, 0.8)); }

.ig-float {
    color: #ff007f; 
    box-shadow: 
        inset 0 0 12px rgba(255,255,255,0.1), 
        inset 2px 2px 3px rgba(255,255,255,0.4), 
        inset -1px -1px 2px rgba(0,0,0,0.5),
        0 0 15px rgba(255, 0, 127, 0.4),
        0 5px 15px rgba(0,0,0,0.6);
}
.ig-float svg { filter: drop-shadow(0 0 5px rgba(255, 0, 127, 0.8)); }

.fb-float {
    color: #1877F2;
    box-shadow: 
        inset 0 0 12px rgba(255,255,255,0.1), 
        inset 2px 2px 3px rgba(255,255,255,0.4), 
        inset -1px -1px 2px rgba(0,0,0,0.5),
        0 0 15px rgba(24, 119, 242, 0.4),
        0 5px 15px rgba(0,0,0,0.6);
}
.fb-float svg { filter: drop-shadow(0 0 5px rgba(24, 119, 242, 0.8)); }

/* Idle Neon Animations */
@keyframes neon-idle-wa {
    0% { box-shadow: inset 0 0 12px rgba(255,255,255,0.1), inset 2px 2px 3px rgba(255,255,255,0.4), inset -1px -1px 2px rgba(0,0,0,0.5), 0 0 15px rgba(37, 211, 102, 0.4), 0 5px 15px rgba(0,0,0,0.6); transform: translateY(0); }
    50% { box-shadow: inset 0 0 12px rgba(255,255,255,0.1), inset 2px 2px 3px rgba(255,255,255,0.4), inset -1px -1px 2px rgba(0,0,0,0.5), 0 0 25px rgba(37, 211, 102, 0.8), 0 8px 15px rgba(0,0,0,0.6); transform: translateY(-4px); }
    100% { box-shadow: inset 0 0 12px rgba(255,255,255,0.1), inset 2px 2px 3px rgba(255,255,255,0.4), inset -1px -1px 2px rgba(0,0,0,0.5), 0 0 15px rgba(37, 211, 102, 0.4), 0 5px 15px rgba(0,0,0,0.6); transform: translateY(0); }
}
@keyframes neon-idle-ig {
    0% { box-shadow: inset 0 0 12px rgba(255,255,255,0.1), inset 2px 2px 3px rgba(255,255,255,0.4), inset -1px -1px 2px rgba(0,0,0,0.5), 0 0 15px rgba(255, 0, 127, 0.4), 0 5px 15px rgba(0,0,0,0.6); transform: translateY(0); }
    50% { box-shadow: inset 0 0 12px rgba(255,255,255,0.1), inset 2px 2px 3px rgba(255,255,255,0.4), inset -1px -1px 2px rgba(0,0,0,0.5), 0 0 25px rgba(255, 0, 127, 0.8), 0 8px 15px rgba(0,0,0,0.6); transform: translateY(-4px); }
    100% { box-shadow: inset 0 0 12px rgba(255,255,255,0.1), inset 2px 2px 3px rgba(255,255,255,0.4), inset -1px -1px 2px rgba(0,0,0,0.5), 0 0 15px rgba(255, 0, 127, 0.4), 0 5px 15px rgba(0,0,0,0.6); transform: translateY(0); }
}
@keyframes neon-idle-fb {
    0% { box-shadow: inset 0 0 12px rgba(255,255,255,0.1), inset 2px 2px 3px rgba(255,255,255,0.4), inset -1px -1px 2px rgba(0,0,0,0.5), 0 0 15px rgba(24, 119, 242, 0.4), 0 5px 15px rgba(0,0,0,0.6); transform: translateY(0); }
    50% { box-shadow: inset 0 0 12px rgba(255,255,255,0.1), inset 2px 2px 3px rgba(255,255,255,0.4), inset -1px -1px 2px rgba(0,0,0,0.5), 0 0 25px rgba(24, 119, 242, 0.8), 0 8px 15px rgba(0,0,0,0.6); transform: translateY(-4px); }
    100% { box-shadow: inset 0 0 12px rgba(255,255,255,0.1), inset 2px 2px 3px rgba(255,255,255,0.4), inset -1px -1px 2px rgba(0,0,0,0.5), 0 0 15px rgba(24, 119, 242, 0.4), 0 5px 15px rgba(0,0,0,0.6); transform: translateY(0); }
}

.whatsapp-float { animation: neon-idle-wa 3s ease-in-out infinite; }
.ig-float { animation: neon-idle-ig 3.6s ease-in-out infinite; }
.fb-float { animation: neon-idle-fb 4.2s ease-in-out infinite; }

/* Hover Animations */
.social-float:hover { transform: scale(1.1) translateY(-5px); }

.whatsapp-float:hover { box-shadow: inset 0 0 15px rgba(255,255,255,0.2), inset 2px 2px 5px rgba(255,255,255,0.6), inset -1px -1px 2px rgba(0,0,0,0.5), 0 0 25px rgba(37, 211, 102, 0.8), 0 10px 20px rgba(0,0,0,0.7); }
.ig-float:hover { box-shadow: inset 0 0 15px rgba(255,255,255,0.2), inset 2px 2px 5px rgba(255,255,255,0.6), inset -1px -1px 2px rgba(0,0,0,0.5), 0 0 25px rgba(255, 0, 127, 0.8), 0 10px 20px rgba(0,0,0,0.7); }
.fb-float:hover { box-shadow: inset 0 0 15px rgba(255,255,255,0.2), inset 2px 2px 5px rgba(255,255,255,0.6), inset -1px -1px 2px rgba(0,0,0,0.5), 0 0 25px rgba(24, 119, 242, 0.8), 0 10px 20px rgba(0,0,0,0.7); }

/* Tooltip */
.social-tooltip { position: absolute; right: 75px; top: 50%; transform: translateY(-50%) translateX(15px); background: rgba(0, 0, 0, 0.85); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: white; padding: 8px 16px; border-radius: 20px; font-size: 0.85rem; font-weight: 500; white-space: nowrap; opacity: 0; visibility: hidden; transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); box-shadow: 0 4px 15px rgba(0,0,0,0.4); border: 1px solid rgba(255, 255, 255, 0.2); pointer-events: none; }
.social-tooltip::after { content: ''; position: absolute; top: 50%; right: -5px; transform: translateY(-50%); border-width: 5px 0 5px 6px; border-style: solid; border-color: transparent transparent transparent rgba(0, 0, 0, 0.85); }
.social-float:hover .social-tooltip { opacity: 1; visibility: visible; transform: translateY(-50%) translateX(0); }



/* Anti-Selection & Anti-Drag */
body {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
input, textarea, select {
    -webkit-user-select: auto;
    -moz-user-select: auto;
    -ms-user-select: auto;
    user-select: auto;
}
img {
    -webkit-user-drag: none;
}


/* Audio Player Button */
.btn-play-audio { background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(212, 175, 55, 0.5); color: #d4af37; padding: 6px 12px; border-radius: 20px; font-size: 0.9rem; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; transition: all 0.3s ease; backdrop-filter: blur(5px); animation: pulse-idle 2s infinite; }
.btn-play-audio:hover { background: rgba(212, 175, 55, 0.3); border-color: #d4af37; transform: scale(1.05); }
.btn-play-audio.playing { background: rgba(37, 211, 102, 0.2); border-color: #25d366; color: #25d366; animation: pulse-audio 1.5s infinite; }
@keyframes pulse-audio { 0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4); } 70% { box-shadow: 0 0 0 10px rgba(37, 211, 102, 0); } 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); } }
@keyframes pulse-idle { 0% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.6); } 70% { box-shadow: 0 0 0 10px rgba(212, 175, 55, 0); } 100% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0); } }


/* Mini Oracle */
.oracle-instruction { text-align: center; color: #d4af37; font-size: 1.2rem; margin-bottom: 2rem; }
.oracle-grid { display: flex; justify-content: center; gap: 2rem; flex-wrap: wrap; perspective: 1000px; }
.oracle-card { width: 250px; height: 350px; background-color: transparent; cursor: pointer; perspective: 1000px; }
.oracle-inner { position: relative; width: 100%; height: 100%; text-align: center; transition: transform 0.8s; transform-style: preserve-3d; }
.oracle-card.flipped .oracle-inner { transform: rotateY(180deg); }
.oracle-front, .oracle-back { position: absolute; width: 100%; height: 100%; -webkit-backface-visibility: hidden; backface-visibility: hidden; border-radius: 12px; display: flex; align-items: center; justify-content: center; padding: 1.5rem; box-shadow: 0 10px 30px rgba(0,0,0,0.5); }
.oracle-front { background: linear-gradient(135deg, #1e2528 0%, #110905 100%); border: 2px solid #d4af37; background-image: repeating-linear-gradient(45deg, rgba(212, 175, 55, 0.1) 25%, transparent 25%, transparent 75%, rgba(212, 175, 55, 0.1) 75%, rgba(212, 175, 55, 0.1)), repeating-linear-gradient(45deg, rgba(212, 175, 55, 0.1) 25%, #110905 25%, #110905 75%, rgba(212, 175, 55, 0.1) 75%, rgba(212, 175, 55, 0.1)); background-position: 0 0, 10px 10px; background-size: 20px 20px; }
.oracle-icon { font-size: 4rem; text-shadow: 0 0 20px rgba(212,175,55,0.5); }
.oracle-back { background: #1a1a1a; color: #f0f0f0; transform: rotateY(180deg); border: 2px solid #25d366; }
.oracle-msg { font-size: 1.1rem; line-height: 1.6; font-style: italic; }


/* Premium Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}
.service-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(212, 175, 55, 0.1);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    backdrop-filter: blur(10px);
}
.service-card:hover {
    transform: translateY(-10px);
    border-color: rgba(212, 175, 55, 0.5);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.1);
    background: rgba(255, 255, 255, 0.05);
}
.service-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 1rem;
    text-shadow: 0 0 15px rgba(212, 175, 55, 0.3);
    transition: transform 0.3s ease;
}
.service-card:hover .service-icon {
    transform: scale(1.1);
}
.service-card h3 {
    color: var(--accent-gold);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}
.service-card p {
    color: #ccc;
    font-size: 0.95rem;
    line-height: 1.5;
}



/* Maintenance Mode */
#maintenance-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: url('maintenance_bg.png') no-repeat center center / cover;
    background-color: rgba(10, 5, 3, 0.95);
    background-blend-mode: overlay;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 100000;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}
.maintenance-content {
    background: rgba(20, 10, 5, 0.6);
    padding: 3rem 2rem;
    border-radius: 12px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    box-shadow: 0 15px 40px rgba(0,0,0,0.8), inset 0 0 20px rgba(212, 175, 55, 0.05);
    max-width: 500px;
    animation: fadeInLock 1.5s ease-out;
}
.maintenance-icon {
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.6));
    animation: floatDesc 4s ease-in-out infinite;
}
.maintenance-title {
    color: var(--accent-gold);
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 1rem;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.4);
}
.maintenance-text {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    line-height: 1.6;
}
body.maintenance-active {
    overflow: hidden;
}

@keyframes fadeInLock {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}
