/* ==========================================================================
   ESTILOS GENERALES Y VARIABLES DE DISEÑO (SISTEMA DE DISEÑO PREMIUM)
   ========================================================================== */

:root {
    /* Paleta Oscura (Mística y Volcánica por Defecto) */
    --bg-primary: #0a0610;        /* Negro espacial profundo */
    --bg-secondary: #130a1e;      /* Violeta nocturno oscuro */
    --bg-tertiary: #1b102a;       /* Morado amatista oscuro */
    --bg-card: rgba(22, 13, 33, 0.7); /* Morado traslúcido (glassmorphism) */
    
    --text-primary: #f5f2fa;      /* Blanco roto estrellado */
    --text-secondary: #bbaec9;    /* Lavanda grisáceo suave */
    --text-muted: #796c8a;        /* Morado apagado */
    
    /* Acentos */
    --gold: #d4af37;              /* Dorado metálico místico */
    --gold-bright: #ffdf7a;       /* Dorado brillante */
    --gold-glow: rgba(212, 175, 55, 0.35);
    
    --lava: #e25f38;              /* Naranja volcánico de Lanzarote */
    --lava-glow: rgba(226, 95, 56, 0.4);
    --sunset: linear-gradient(180deg, #0a0610 0%, #1e102f 40%, #522546 70%, #a04033 90%, #e25f38 100%);
    
    /* UI Helpers */
    --border-color: rgba(212, 175, 55, 0.15);
    --border-focus: #d4af37;
    --border-glass: rgba(255, 255, 255, 0.05);
    --success: #2ec4b6;
    --shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    
    --font-titles: 'Cinzel', Georgia, serif;
    --font-body: 'Inter', system-ui, -apple-system, sans-serif;
}

/* Modo Claro Elegante (Estilo Pergamino Sofisticado) */
body.light-theme {
    --bg-primary: #f9f6f0;        /* Papel pergamino claro */
    --bg-secondary: #f2ebd9;      /* Arena volcánica clara */
    --bg-tertiary: #e7ddc4;       /* Tono lino cálido */
    --bg-card: rgba(242, 235, 217, 0.8);
    
    --text-primary: #2b2015;      /* Marrón tinta oscuro */
    --text-secondary: #5e4f41;    /* Sépia de lectura */
    --text-muted: #8b7968;        /* Tono piedra apagado */
    
    --gold: #b38f24;              /* Dorado envejecido satinado */
    --gold-bright: #d4af37;       
    --gold-glow: rgba(179, 143, 36, 0.15);
    
    --lava: #c14923;              
    --lava-glow: rgba(193, 73, 35, 0.15);
    --sunset: linear-gradient(180deg, #f9f6f0 0%, #f4e9cf 50%, #e5cb9b 80%, #c14923 100%);
    
    --border-color: rgba(179, 143, 36, 0.25);
    --border-focus: #b38f24;
    --border-glass: rgba(0, 0, 0, 0.06);
    --shadow: 0 8px 32px 0 rgba(139, 121, 104, 0.15);
}

/* Reset y Estilos Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.5s ease, color 0.5s ease;
    font-size: 16px;
}

/* Tipografía */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-titles);
    font-weight: 600;
    letter-spacing: 0.03em;
    line-height: 1.3;
}

a {
    color: var(--gold);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--gold-bright);
}

img {
    max-width: 100%;
    height: auto;
}

/* Estructura SPA: Ocultar vistas inactivas */
.spa-view {
    display: none;
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.spa-view.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   CIELO ESTRELLADO DE FONDO (ANIMADO)
   ========================================================================== */

#stars-container, #twinkle-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -10;
    pointer-events: none;
}

.star {
    position: absolute;
    background-color: #fff;
    border-radius: 50%;
}

body.light-theme .star {
    background-color: rgba(179, 143, 36, 0.3); /* Estrellas doradas tenues en modo claro */
}

.twinkle-star {
    position: absolute;
    background-color: #fff;
    border-radius: 50%;
    animation: twinkle 4s infinite ease-in-out;
}

body.light-theme .twinkle-star {
    background-color: rgba(179, 143, 36, 0.4);
}

@keyframes twinkle {
    0%, 100% { opacity: 0.2; transform: scale(0.8); }
    50% { opacity: 1; transform: scale(1.2); box-shadow: 0 0 4px 1px #fff; }
}

/* ==========================================================================
   HEADER Y NAVBAR
   ========================================================================== */

.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: rgba(10, 6, 16, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-glass);
    transition: background 0.3s ease, border 0.3s ease;
}

body.light-theme .main-header {
    background: rgba(249, 246, 240, 0.85);
    border-bottom: 1px solid rgba(179, 143, 36, 0.1);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.25rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.3rem;
    font-family: var(--font-titles);
    font-weight: 800;
    color: var(--text-primary);
}

.logo-astral {
    font-size: 1.5rem;
    animation: slow-spin 20s infinite linear;
}

@keyframes slow-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.logo-text {
    letter-spacing: 0.05em;
}

.gold-dot {
    color: var(--gold);
}

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

.nav-link {
    font-size: 0.95rem;
    color: var(--text-secondary);
    font-weight: 500;
    letter-spacing: 0.05em;
    position: relative;
    padding: 0.25rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--gold);
    transition: width 0.3s ease;
}

.nav-link:hover, .nav-link.active {
    color: var(--text-primary);
}

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

.btn-primary {
    background: linear-gradient(135deg, var(--gold) 0%, #b89222 100%);
    color: #0c0712 !important;
    border: none;
    padding: 0.6rem 1.25rem;
    border-radius: 4px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    box-shadow: 0 4px 14px var(--gold-glow);
    transition: var(--transition);
    letter-spacing: 0.05em;
}

body.light-theme .btn-primary {
    color: #fff !important;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.5);
    background: linear-gradient(135deg, var(--gold-bright) 0%, var(--gold) 100%);
}

.btn-primary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary) !important;
    border: 1px solid var(--border-color);
    padding: 0.6rem 1.25rem;
    border-radius: 4px;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--gold);
    color: var(--gold) !important;
}

body.light-theme .btn-secondary:hover {
    background: rgba(0, 0, 0, 0.03);
}

.theme-toggle {
    background: transparent;
    border: 1px solid var(--border-glass);
    color: var(--gold);
    width: 2.2rem;
    height: 2.2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.theme-toggle:hover {
    border-color: var(--gold);
    box-shadow: 0 0 8px var(--gold-glow);
}

/* Hamburguesa Móvil */
.mobile-nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.mobile-nav-toggle .bar {
    width: 100%;
    height: 3px;
    background-color: var(--text-primary);
    border-radius: 10px;
    transition: all 0.3s ease;
}

/* ==========================================================================
   SECCIÓN HERO (EL ATARDECER Y VOLCANES DE LANZAROTE)
   ========================================================================== */

.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 2rem;
    z-index: 1;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(10, 6, 16, 0.3) 0%, rgba(10, 6, 16, 0.75) 100%), url('../img/lanzarote_sunset.png') no-repeat center center;
    background-size: cover;
    z-index: -2;
    transition: background 0.5s ease;
}

.sunset-glow {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(0deg, rgba(226, 95, 56, 0.25) 0%, rgba(226, 95, 56, 0) 100%);
    filter: blur(40px);
}

.volcanoes {
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 45%;
    z-index: -1;
    pointer-events: none;
}

.volcano-svg {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-content {
    max-width: 800px;
    z-index: 2;
    margin-top: 4rem;
    animation: fade-in-up 1s ease;
}

.badge {
    display: inline-block;
    border: 1px solid var(--border-color);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold);
    background: rgba(18, 10, 27, 0.6);
    backdrop-filter: blur(4px);
    margin-bottom: 1.5rem;
}

body.light-theme .badge {
    background: rgba(242, 235, 217, 0.8);
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    line-height: 1.15;
    text-shadow: 0 4px 12px rgba(0,0,0,0.5);
}

body.light-theme .hero h1 {
    text-shadow: none;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 650px;
    margin: 0 auto 2.5rem auto;
    font-weight: 300;
    text-shadow: 0 2px 6px rgba(0,0,0,0.4);
}

body.light-theme .hero-subtitle {
    text-shadow: none;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.btn-large {
    padding: 0.9rem 2rem;
    font-size: 1rem;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    opacity: 0.8;
}

.arrow-down {
    width: 1px;
    height: 35px;
    background-color: var(--gold);
    position: relative;
    animation: bounce-vertical 2s infinite;
}

.arrow-down::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: -3px;
    width: 7px;
    height: 7px;
    border-bottom: 1px solid var(--gold);
    border-right: 1px solid var(--gold);
    transform: rotate(45deg);
}

@keyframes bounce-vertical {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(8px); }
}

@keyframes fade-in-up {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   SECCIONES Y LAYOUTS COMUNES
   ========================================================================== */

.page-top-padding {
    padding-top: 8rem;
}

section {
    padding: 6rem 2rem;
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 4rem auto;
}

.sub-title {
    display: block;
    color: var(--gold);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 0.5rem;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '✦';
    color: var(--gold);
    font-size: 0.8rem;
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
}

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

/* Glassmorphism Card Base */
.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-glass);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow);
    border-radius: 8px;
    padding: 2.5rem;
    transition: var(--transition);
}

.glass-card:hover {
    border-color: var(--border-color);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
}

body.light-theme .glass-card:hover {
    box-shadow: 0 12px 40px rgba(139, 121, 104, 0.25);
}

/* ==========================================================================
   SECCIÓN SOBRE MÍ (TRAYECTORIA Y ENFOQUE)
   ========================================================================== */

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: center;
}

.about-image-container {
    display: flex;
    justify-content: center;
    position: relative;
}

.about-image-wrapper {
    position: relative;
    width: 320px;
    height: 320px;
}

.mystic-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: radial-gradient(circle, var(--bg-tertiary) 0%, var(--bg-primary) 100%);
    border: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.avatar-constellation {
    position: absolute;
    width: 140%;
    height: 140%;
    background: radial-gradient(1px 1px at 20px 30px, #fff, transparent),
                radial-gradient(1px 1px at 50px 70px, rgba(255,255,255,0.5), transparent),
                radial-gradient(1.5px 1.5px at 120px 180px, #fff, transparent),
                radial-gradient(1px 1px at 220px 100px, rgba(255,255,255,0.3), transparent);
    animation: rotate-constellation 60s infinite linear;
    opacity: 0.5;
}

@keyframes rotate-constellation {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.avatar-ring {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border-radius: 50%;
    border: 1px dashed var(--gold);
    animation: slow-spin 40s infinite linear;
    opacity: 0.4;
}

.avatar-placeholder {
    font-family: var(--font-titles);
    font-size: 5rem;
    font-weight: 800;
    color: var(--gold);
    letter-spacing: 0.05em;
    text-shadow: 0 0 15px var(--gold-glow);
}

.certifications-badge-container {
    position: absolute;
    bottom: -20px;
    right: 20px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    padding: 0.8rem 1.2rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.cert-badge {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.badge-icon {
    font-size: 1.8rem;
}

.badge-text strong {
    display: block;
    font-family: var(--font-titles);
    color: var(--gold);
    font-size: 0.85rem;
    letter-spacing: 0.05em;
}

.badge-text span {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.about-text-content h2 {
    text-align: left;
    margin-bottom: 2rem;
}

.about-text-content h2::after {
    left: 0;
    transform: none;
}

.intro-p {
    font-size: 1.15rem;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.about-text-content p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.mystic-quote {
    border-left: 2px solid var(--gold);
    padding-left: 1.5rem;
    font-family: var(--font-titles);
    font-size: 1.1rem;
    font-style: italic;
    color: var(--text-primary);
    margin: 2rem 0;
    line-height: 1.5;
}

.credentials h3 {
    font-family: var(--font-titles);
    color: var(--gold);
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.credentials ul {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.credentials li {
    font-size: 0.9rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.check-icon {
    color: var(--gold);
    font-weight: bold;
}

/* ==========================================================================
   SECCIÓN SERVICIOS (TARJETAS DE CONSULTAS ASTROLÓGICAS)
   ========================================================================== */

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: 8px;
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    opacity: 0;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-color);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

body.light-theme .service-card:hover {
    box-shadow: 0 15px 35px rgba(139, 121, 104, 0.2);
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    display: block;
}

.service-title {
    font-family: var(--font-titles);
    font-size: 1.4rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.service-desc {
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.service-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border-glass);
    padding-top: 1.25rem;
    margin-bottom: 1.5rem;
}

.meta-item {
    display: flex;
    flex-direction: column;
}

.meta-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 0.05em;
}

.meta-val {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-primary);
}

.price-val {
    color: var(--gold);
    font-family: var(--font-titles);
    font-size: 1.2rem;
}

.service-card .btn-secondary {
    width: 100%;
    text-align: center;
}

/* ==========================================================================
   SISTEMA DE RESERVA DE CITAS (CALENDARIO Y ASISTENTE)
   ========================================================================== */

.booking-wrapper {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: start;
}

.booking-sidebar {
    position: sticky;
    top: 7rem;
}

.back-btn {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 0.9rem;
    cursor: pointer;
    margin-bottom: 2rem;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.back-btn:hover {
    color: var(--gold);
}

.selected-service-info {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 1.5rem;
}

.selected-service-info h3 {
    font-family: var(--font-titles);
    color: var(--gold);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.selected-service-info p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.sidebar-service-price {
    font-size: 1.8rem;
    font-family: var(--font-titles);
    color: var(--text-primary);
    margin-top: 1rem;
    display: block;
}

.birth-time-warning {
    background: rgba(226, 95, 56, 0.07);
    border: 1px solid rgba(226, 95, 56, 0.2);
    border-radius: 8px;
    padding: 1.5rem;
}

.warning-title {
    color: var(--lava);
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.birth-time-warning p {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.required-badge {
    background: var(--lava);
    color: #fff;
    font-size: 0.65rem;
    padding: 0.15rem 0.4rem;
    border-radius: 3px;
    font-weight: bold;
    text-transform: uppercase;
}

.booking-wizard {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-glass);
    border-radius: 8px;
    box-shadow: var(--shadow);
    padding: 3rem;
}

.wizard-steps {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid var(--border-glass);
    padding-bottom: 1.5rem;
    margin-bottom: 2.5rem;
    gap: 1rem;
}

.step-indicator {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
    position: relative;
    padding-bottom: 0.5rem;
}

.step-indicator.active {
    color: var(--gold);
    font-weight: 600;
}

.step-indicator.active::after {
    content: '';
    position: absolute;
    bottom: -1.65rem;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--gold);
}

.wizard-step-content {
    display: none;
}

.wizard-step-content.active {
    display: block;
    animation: fade-in 0.3s ease;
}

@keyframes fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

.step-title {
    font-family: var(--font-titles);
    font-size: 1.4rem;
    margin-bottom: 2rem;
    color: var(--text-primary);
}

/* Formulario Campos */
.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.full-width {
    grid-column: span 2;
}

label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: 0.03em;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"],
input[type="date"],
input[type="time"],
select,
textarea {
    background-color: rgba(10, 6, 16, 0.5);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 0.75rem 1rem;
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    width: 100%;
    transition: var(--transition);
}

body.light-theme input[type="text"],
body.light-theme input[type="email"],
body.light-theme input[type="tel"],
body.light-theme input[type="password"],
body.light-theme input[type="date"],
body.light-theme input[type="time"],
body.light-theme select,
body.light-theme textarea {
    background-color: #fff;
    border: 1px solid var(--border-color);
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--border-focus);
    box-shadow: 0 0 8px var(--gold-glow);
}

.help-text {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.error-msg {
    color: var(--lava);
    font-size: 0.75rem;
    display: none;
}

.form-group.has-error .error-msg {
    display: block;
}

.form-group.has-error input {
    border-color: var(--lava);
}

/* Calendario */
.calendar-layout {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.calendar-container {
    background: rgba(10, 6, 16, 0.3);
    border: 1px solid var(--border-glass);
    border-radius: 8px;
    padding: 1.5rem;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.calendar-header h4 {
    font-family: var(--font-titles);
    font-size: 1.1rem;
    color: var(--text-primary);
}

.cal-nav-btn {
    background: transparent;
    border: 1px solid var(--border-glass);
    color: var(--text-primary);
    width: 2rem;
    height: 2rem;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.cal-nav-btn:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}

.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.35rem;
}

.cal-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    color: var(--text-secondary);
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid transparent;
}

.cal-day:hover:not(.disabled) {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--border-color);
}

.cal-day.disabled {
    color: var(--text-muted);
    opacity: 0.25;
    cursor: not-allowed;
}

.cal-day.selected {
    background: var(--gold);
    color: #000 !important;
    font-weight: 600;
}

.cal-day.today {
    border-color: var(--gold);
    color: var(--gold);
}

.cal-day.today.selected {
    color: #000;
}

.time-slots-container {
    background: rgba(10, 6, 16, 0.3);
    border: 1px solid var(--border-glass);
    border-radius: 8px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
}

.time-slots-container h4 {
    font-family: var(--font-titles);
    font-size: 1rem;
    margin-bottom: 0.25rem;
    color: var(--text-primary);
}

.time-zone-notice {
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-bottom: 1.25rem;
}

.select-date-prompt {
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-align: center;
    margin: auto 0;
    padding: 2rem 0;
}

.time-slots-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    max-height: 230px;
    overflow-y: auto;
}

.time-slot {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-glass);
    color: var(--text-primary);
    padding: 0.6rem;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
}

.time-slot:hover:not(.occupied) {
    border-color: var(--gold);
    color: var(--gold);
    background: rgba(212, 175, 55, 0.05);
}

.time-slot.occupied {
    opacity: 0.3;
    text-decoration: line-through;
    cursor: not-allowed;
    background: rgba(0, 0, 0, 0.2);
}

.time-slot.selected {
    background: var(--gold);
    color: #000;
    border-color: var(--gold);
    font-weight: 600;
}

.step-actions {
    display: flex;
    justify-content: flex-end;
    gap: 1.5rem;
    margin-top: 2.5rem;
    border-top: 1px solid var(--border-glass);
    padding-top: 1.5rem;
}

.step-actions .btn-secondary {
    margin-right: auto;
}

/* Paso 3: Confirmación y Pago */
.booking-summary-box {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.booking-summary-box h4 {
    font-family: var(--font-titles);
    color: var(--gold);
    font-size: 1rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--border-glass);
    padding-bottom: 0.5rem;
}

.summary-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    font-size: 0.9rem;
}

.summary-line {
    display: flex;
    flex-direction: column;
}

.summary-line.full-width {
    grid-column: span 2;
}

.summary-line strong {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-bottom: 0.25rem;
}

.summary-line span {
    color: var(--text-primary);
    font-weight: 500;
}

.payment-section {
    margin-top: 2rem;
}

.payment-title {
    display: block;
    font-family: var(--font-titles);
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.payment-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.payment-option-card {
    border: 1px solid var(--border-glass);
    border-radius: 8px;
    padding: 1.25rem;
    cursor: pointer;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    transition: var(--transition);
}

.payment-option-card input[type="radio"] {
    margin-top: 0.25rem;
    accent-color: var(--gold);
}

.payment-card-content {
    display: flex;
    flex-direction: column;
}

.pay-icon {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.pay-sub {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

.payment-option-card.active {
    border-color: var(--gold);
    background: rgba(212, 175, 55, 0.03);
}

.payment-mode-choice {
    margin-bottom: 1.5rem;
}

.payment-choice-label {
    display: block;
    margin-bottom: 0.75rem;
}

.payment-choices {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.choice-card {
    border: 1px solid var(--border-glass);
    border-radius: 6px;
    padding: 1rem;
    cursor: pointer;
    display: flex;
    gap: 0.75rem;
    align-items: center;
    transition: var(--transition);
}

.choice-card input[type="radio"] {
    accent-color: var(--gold);
}

.choice-content {
    display: flex;
    flex-direction: column;
}

.choice-content strong {
    font-size: 0.85rem;
}

.choice-note {
    font-size: 0.7rem;
    color: var(--text-muted);
}

.choice-card.active {
    border-color: var(--gold);
    background: rgba(212, 175, 55, 0.03);
}

.card-inputs-wrapper {
    background: rgba(10, 6, 16, 0.25);
    border: 1px solid var(--border-glass);
    border-radius: 6px;
    padding: 1.5rem;
    margin-top: 1.5rem;
}

.card-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.input-icon-wrapper {
    position: relative;
}

.input-icon-wrapper input {
    padding-right: 3rem;
}

.card-brand-icon {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem;
}

.secure-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 1rem;
}

.btn-success {
    background: linear-gradient(135deg, #2ec4b6 0%, #20a396 100%);
    color: #fff !important;
    box-shadow: 0 4px 14px rgba(46, 196, 182, 0.3);
}

.btn-success:hover {
    box-shadow: 0 6px 20px rgba(46, 196, 182, 0.5);
    background: linear-gradient(135deg, #3bd5c7 0%, #2ec4b6 100%);
}

/* ==========================================================================
   SECCIÓN HORÓSCOPO Y BLOG INTERACTIVO
   ========================================================================== */

.zodiac-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.zodiac-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.zodiac-card:hover {
    border-color: var(--gold);
    transform: scale(1.05);
    box-shadow: 0 8px 24px var(--gold-glow);
}

.zodiac-symbol {
    font-size: 2.2rem;
    color: var(--gold);
    margin-bottom: 0.25rem;
}

.zodiac-name {
    font-family: var(--font-titles);
    font-weight: 600;
    font-size: 0.95rem;
}

.zodiac-dates {
    font-size: 0.7rem;
    color: var(--text-muted);
}

.zodiac-detail-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 3rem;
    margin-bottom: 4rem;
    position: relative;
    box-shadow: var(--shadow);
    animation: slide-down 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

@keyframes slide-down {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

.close-detail-btn {
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
}

.close-detail-btn:hover {
    color: var(--lava);
}

.zodiac-detail-header {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--border-glass);
    padding-bottom: 1.5rem;
}

.zodiac-detail-header-symbol {
    font-size: 4rem;
    color: var(--gold);
}

.zodiac-detail-title h3 {
    font-size: 2rem;
    color: var(--text-primary);
}

.zodiac-detail-title span {
    color: var(--gold);
    font-size: 0.9rem;
    letter-spacing: 0.05em;
}

.zodiac-detail-body {
    font-size: 1.05rem;
}

.zodiac-detail-body p {
    margin-bottom: 1.5rem;
}

.zodiac-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
    border-top: 1px solid var(--border-glass);
    padding-top: 1.5rem;
}

.zodiac-attr {
    display: flex;
    flex-direction: column;
}

.zodiac-attr strong {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-bottom: 0.25rem;
}

.zodiac-attr span {
    color: var(--gold);
    font-weight: 500;
}

/* Blog Artículos */
.blog-section-wrapper {
    margin-top: 6rem;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.blog-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: var(--transition);
}

.blog-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-color);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.45);
}

body.light-theme .blog-card:hover {
    box-shadow: 0 15px 35px rgba(139, 121, 104, 0.2);
}

.blog-card-img {
    height: 180px;
    position: relative;
}

.blog-category {
    position: absolute;
    bottom: 1rem;
    left: 1.5rem;
    background: rgba(12, 7, 18, 0.85);
    border: 1px solid var(--border-color);
    color: var(--gold);
    font-size: 0.7rem;
    padding: 0.3rem 0.75rem;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

.blog-card-body {
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
}

.blog-card-body h3 {
    font-family: var(--font-titles);
    font-size: 1.25rem;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.blog-card-body p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.read-more-btn {
    font-weight: 600;
    font-size: 0.85rem;
    align-self: flex-start;
}

/* ==========================================================================
   PANEL CRM DE CLIENTES (ADMINISTRADOR)
   ========================================================================== */

.crm-login-card {
    max-width: 400px;
    margin: 4rem auto;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 3rem 2rem;
    text-align: center;
    box-shadow: var(--shadow);
}

.crm-lock-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 1.5rem;
}

.crm-login-card h3 {
    font-family: var(--font-titles);
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
}

.crm-login-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.crm-login-card .btn-primary {
    width: 100%;
}

/* Dashboard CRM */
.crm-header-dashboard {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-glass);
    padding-bottom: 1.5rem;
    margin-bottom: 2rem;
}

.crm-header-dashboard h2 {
    font-size: 1.8rem;
    color: var(--text-primary);
}

.crm-header-dashboard p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.crm-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.stat-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-glass);
    border-radius: 6px;
    padding: 1.5rem;
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.2rem;
    font-family: var(--font-titles);
    font-weight: 700;
    color: var(--gold);
}

.stat-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 0.05em;
}

.crm-filters-bar {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.search-input-wrapper {
    position: relative;
}

.search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
}

.search-input-wrapper input {
    padding-left: 2.75rem;
}

.filter-select-wrapper {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.filter-select-wrapper label {
    white-space: nowrap;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* CRM Layout Split */
.crm-layout {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
    min-height: 500px;
    align-items: start;
}

.crm-sidebar-list {
    background: var(--bg-secondary);
    border: 1px solid var(--border-glass);
    border-radius: 8px;
    padding: 1.5rem;
    max-height: 600px;
    overflow-y: auto;
}

.crm-sidebar-list h4 {
    font-family: var(--font-titles);
    color: var(--text-primary);
    font-size: 1rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--border-glass);
    padding-bottom: 0.5rem;
}

.crm-clients-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.crm-client-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-glass);
    border-radius: 4px;
    padding: 1rem;
    cursor: pointer;
    transition: var(--transition);
}

.crm-client-item:hover {
    border-color: var(--border-color);
    background: rgba(255, 255, 255, 0.05);
}

.crm-client-item.active {
    background: rgba(212, 175, 55, 0.05);
    border-color: var(--gold);
}

.crm-item-name {
    display: block;
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.crm-item-details {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

/* CRM Ficha Detalle */
.crm-detail-view {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: 8px;
    min-height: 600px;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
}

.crm-empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: auto;
    text-align: center;
    color: var(--text-muted);
    gap: 1.5rem;
}

.crm-empty-state span {
    font-size: 4rem;
    opacity: 0.4;
}

.crm-client-card {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    animation: fade-in 0.3s ease;
}

.client-card-header {
    border-bottom: 1px solid var(--border-glass);
    padding-bottom: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.client-title-info h3 {
    font-size: 1.6rem;
    color: var(--text-primary);
}

.client-title-info span {
    font-size: 0.85rem;
    color: var(--text-muted);
    display: block;
}

.client-contact-details {
    text-align: right;
    font-size: 0.9rem;
    color: var(--text-secondary);
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.client-natal-box {
    background: rgba(10, 6, 16, 0.3);
    border: 1px solid var(--border-glass);
    border-radius: 6px;
    padding: 1.5rem;
}

.client-natal-box h4, .client-history-box h4, .notes-header h4 {
    font-family: var(--font-titles);
    color: var(--gold);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.natal-data-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    font-size: 0.9rem;
}

.natal-item {
    display: flex;
    flex-direction: column;
}

.natal-item strong {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
}

.natal-item span {
    color: var(--text-primary);
    font-weight: 500;
}

.client-history-box {
    border-bottom: 1px solid var(--border-glass);
    padding-bottom: 1.5rem;
}

.history-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.history-item {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid var(--border-glass);
    border-radius: 4px;
    padding: 0.85rem 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
}

.history-service {
    font-weight: 600;
    color: var(--text-primary);
}

.history-date {
    color: var(--text-secondary);
}

.history-status {
    background: rgba(46, 196, 182, 0.1);
    color: var(--success);
    font-size: 0.7rem;
    padding: 0.2rem 0.5rem;
    border-radius: 50px;
    text-transform: uppercase;
    font-weight: 600;
}

.history-status.paid-advance {
    background: rgba(212, 175, 55, 0.1);
    color: var(--gold);
}

.client-notes-box textarea {
    min-height: 180px;
    resize: vertical;
    line-height: 1.5;
}

.notes-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.btn-small {
    padding: 0.4rem 0.85rem;
    font-size: 0.8rem;
}

/* ==========================================================================
   MODAL DE BLOG / LEER ARTÍCULO
   ========================================================================== */

.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(10, 6, 16, 0.8);
    backdrop-filter: blur(8px);
    z-index: 110;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.modal.active {
    display: flex;
    animation: fade-in 0.3s ease;
}

.modal-content {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    max-width: 800px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
    box-shadow: var(--shadow);
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
    z-index: 10;
}

.modal-close:hover {
    color: var(--lava);
}

.modal-body {
    padding: 4rem 3rem 3rem 3rem;
}

.modal-body h2 {
    font-family: var(--font-titles);
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.modal-meta {
    display: flex;
    gap: 1.5rem;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--border-glass);
    padding-bottom: 1rem;
}

.modal-article-content {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

.modal-article-content p {
    margin-bottom: 1.5rem;
}

.modal-article-content blockquote {
    border-left: 2px solid var(--gold);
    padding-left: 1.5rem;
    font-family: var(--font-titles);
    font-style: italic;
    color: var(--text-primary);
    margin: 2rem 0;
}

/* ==========================================================================
   TOAST NOTIFICACIONES (AVISOS EN TIEMPO REAL)
   ========================================================================== */

#toast-container {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 120;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 380px;
}

.toast {
    background: rgba(19, 10, 30, 0.95);
    border-left: 4px solid var(--gold);
    border-top: 1px solid var(--border-glass);
    border-right: 1px solid var(--border-glass);
    border-bottom: 1px solid var(--border-glass);
    border-radius: 0 4px 4px 0;
    padding: 1.25rem;
    box-shadow: var(--shadow);
    color: var(--text-primary);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    backdrop-filter: blur(8px);
    transform: translateX(120%);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.toast.show {
    transform: translateX(0);
}

.toast.whatsapp {
    border-left-color: #25d366;
}

.toast.email {
    border-left-color: #0077b6;
}

.toast-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 0.85rem;
}

.toast-channel-whatsapp {
    color: #25d366;
}

.toast-channel-email {
    color: #00ba9d;
}

.toast-body {
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.main-footer {
    background-color: #07040b;
    border-top: 1px solid var(--border-glass);
    padding: 5rem 2rem 2.5rem 2rem;
    margin-top: 6rem;
}

body.light-theme .main-footer {
    background-color: #f2ebd9;
    border-top: 1px solid rgba(179, 143, 36, 0.15);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.2fr 1fr 0.8fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand .logo-astral {
    margin-bottom: 1rem;
    display: inline-block;
}

.footer-brand h3 {
    font-size: 1.4rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.brand-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-newsletter h4, .footer-links h4 {
    font-family: var(--font-titles);
    font-size: 1.05rem;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    letter-spacing: 0.05em;
}

.footer-newsletter p {
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin-bottom: 1.25rem;
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
}

.newsletter-form input {
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-glass);
    padding: 0.6rem 1rem;
    font-size: 0.9rem;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.footer-links a:hover {
    color: var(--gold);
}

.linktree-link {
    font-weight: 600;
}

.footer-bottom {
    border-top: 1px solid var(--border-glass);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright {
    color: var(--text-muted);
    font-size: 0.8rem;
}

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

.social-icons a {
    color: var(--text-muted);
    transition: var(--transition);
}

.social-icons a:hover {
    color: var(--gold);
    transform: translateY(-2px);
}

/* ==========================================================================
   MEDIA QUERIES (DISEÑO RESPONSIVO)
   ========================================================================== */

@media (max-width: 1024px) {
    .zodiac-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .booking-wrapper {
        grid-template-columns: 1fr;
    }
    
    .booking-sidebar {
        position: static;
    }
    
    .about-grid {
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    body {
        font-size: 15px;
    }
    
    section {
        padding: 4rem 1.5rem;
    }
    
    .header-container {
        padding: 1rem 1.5rem;
    }
    
    /* Menú Móvil */
    .mobile-nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 4.5rem;
        left: 0;
        width: 100%;
        height: 0;
        background: rgba(10, 6, 16, 0.98);
        backdrop-filter: blur(15px);
        overflow: hidden;
        transition: height 0.4s cubic-bezier(0.25, 1, 0.5, 1);
        border-bottom: 1px solid var(--border-glass);
    }
    
    body.light-theme .nav-menu {
        background: rgba(249, 246, 240, 0.98);
    }
    
    .nav-menu.open {
        height: calc(100vh - 4.5rem);
    }
    
    .nav-menu ul {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        height: 100%;
        padding: 3rem 0;
        gap: 2.5rem;
    }
    
    .nav-link {
        font-size: 1.15rem;
    }
    
    /* Hero */
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.05rem;
    }
    
    .hero-actions {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
    }
    
    .hero-actions .btn-primary,
    .hero-actions .btn-secondary {
        width: 100%;
        text-align: center;
    }
    
    /* Sobre Mí */
    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .about-image-wrapper {
        width: 260px;
        height: 260px;
    }
    
    .credentials ul {
        grid-template-columns: 1fr;
    }
    
    /* Servicios */
    .services-grid {
        grid-template-columns: 1fr;
        max-width: 450px;
        margin: 0 auto;
    }
    
    /* Reservas */
    .booking-wizard {
        padding: 1.5rem;
    }
    
    .calendar-layout {
        grid-template-columns: 1fr;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .full-width {
        grid-column: span 1;
    }
    
    .wizard-steps {
        font-size: 0.75rem;
    }
    
    /* Horóscopo */
    .zodiac-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }
    
    .zodiac-detail-card {
        padding: 1.5rem;
    }
    
    .zodiac-detail-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .zodiac-detail-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    /* CRM */
    .crm-filters-bar {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .filter-select-wrapper {
        width: 100%;
        justify-content: space-between;
    }
    
    .crm-layout {
        grid-template-columns: 1fr;
    }
    
    .crm-detail-view {
        padding: 1.5rem;
    }
    
    .natal-data-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    /* Footer */
    .footer-top {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .zodiac-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
