/* ============================================================
   public/css/index.css
   v31.5 — Fusión Membresías + Promociones → "Hazte miembro"
   ============================================================ */

/* ═══════════════════════════════════════════════════════════
   1. TOKENS
   ═══════════════════════════════════════════════════════════ */
:root {
    --bg-canvas: #0A0A0F;
    --bg-surface: #111117;
    --bg-elevated: #16161D;
    --bg-raised: #1C1C24;
    --bg-input: #1A1A22;
    --bg-input-hover: #1F1F28;

    --glass: rgba(255, 255, 255, 0.04);
    --glass-hover: rgba(255, 255, 255, 0.07);
    --glass-strong: rgba(10, 10, 15, 0.85);

    --border-subtle: rgba(255, 255, 255, 0.06);
    --border-default: rgba(255, 255, 255, 0.10);
    --border-strong: rgba(255, 255, 255, 0.16);
    --border-accent: rgba(212, 175, 122, 0.40);

    --text-1: #FFFFFF;
    --text-2: #B8B8BF;
    --text-3: #7A7A85;
    --text-4: #4A4A55;

    --accent: #D4AF7A;
    --accent-bright: #E8C99A;
    --accent-deep: #B8935A;
    --accent-glow: rgba(212, 175, 122, 0.18);

    --success: #34D399;
    --success-bg: rgba(52, 211, 153, 0.10);
    --success-border: rgba(52, 211, 153, 0.30);

    --danger: #F87171;
    --danger-bg: rgba(248, 113, 113, 0.10);
    --danger-border: rgba(248, 113, 113, 0.30);

    --warning: #FBBF24;
    --warning-bg: rgba(251, 191, 36, 0.10);
    --warning-border: rgba(251, 191, 36, 0.30);

    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 24px 48px rgba(0, 0, 0, 0.5);
    --shadow-xl: 0 32px 64px rgba(0, 0, 0, 0.6);
    --shadow-accent: 0 8px 32px rgba(212, 175, 122, 0.20);

    --r-xs: 6px;
    --r-sm: 8px;
    --r-md: 12px;
    --r-lg: 16px;
    --r-xl: 24px;
    --r-pill: 999px;

    --space-1: 4px;
    --space-2: 8px;
    --space-3: 12px;
    --space-4: 16px;
    --space-5: 24px;
    --space-6: 32px;
    --space-7: 48px;
    --space-8: 64px;

    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

[data-theme="light"] {
    --bg-canvas: #F7F7F8;
    --bg-surface: #FFFFFF;
    --bg-elevated: #FFFFFF;
    --bg-raised: #F2F2F4;
    --bg-input: #F7F7F8;
    --bg-input-hover: #EEEEF0;

    --glass: rgba(0, 0, 0, 0.02);
    --glass-hover: rgba(0, 0, 0, 0.04);
    --glass-strong: rgba(255, 255, 255, 0.95);

    --border-subtle: rgba(0, 0, 0, 0.06);
    --border-default: rgba(0, 0, 0, 0.10);
    --border-strong: rgba(0, 0, 0, 0.16);
    --border-accent: rgba(139, 107, 63, 0.40);

    --text-1: #0F0F14;
    --text-2: #3A3A44;
    --text-3: #6B6B75;
    --text-4: #9A9AA3;

    --accent: #8B6B3F;
    --accent-bright: #6B5230;
    --accent-deep: #5A4225;
    --accent-glow: rgba(139, 107, 63, 0.12);

    --success: #059669;
    --success-bg: rgba(5, 150, 105, 0.08);
    --success-border: rgba(5, 150, 105, 0.30);

    --danger: #DC2626;
    --danger-bg: rgba(220, 38, 38, 0.08);
    --danger-border: rgba(220, 38, 38, 0.30);

    --warning: #D97706;
    --warning-bg: rgba(217, 119, 6, 0.08);
    --warning-border: rgba(217, 119, 6, 0.30);

    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 16px 32px rgba(0, 0, 0, 0.08);
    --shadow-xl: 0 24px 48px rgba(0, 0, 0, 0.10);
    --shadow-accent: 0 8px 24px rgba(139, 107, 63, 0.15);
}

/* ═══════════════════════════════════════════════════════════
   2. BASE
   ═══════════════════════════════════════════════════════════ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg-canvas);
    color: var(--text-1);
    font-size: 15px;
    line-height: 1.5;
    letter-spacing: -0.011em;
    overflow-x: hidden;
    min-height: 100vh;
    cursor: none;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transition: background-color 0.2s ease, color 0.2s ease;
}

body.no-scroll {
    overflow: hidden;
}

img, svg, video, canvas {
    display: block;
    max-width: 100%;
}

button, input, select, textarea {
    font: inherit;
    color: inherit;
}

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

button {
    background: none;
    border: none;
    cursor: pointer;
}

img {
    content-visibility: auto;
}

::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
    background: var(--border-strong);
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover { background: var(--accent); }

::selection {
    background: var(--accent);
    color: var(--bg-canvas);
}

:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
    border-radius: var(--r-xs);
}

.icon-svg {
    width: 1em;
    height: 1em;
    display: inline-block;
    vertical-align: -0.125em;
    flex-shrink: 0;
    fill: currentColor;
    stroke: none;
    pointer-events: none;
    overflow: visible;
    color: inherit;
}

svg[aria-hidden="true"][width="0"][height="0"],
svg[width="0"][height="0"][style*="position:absolute"] {
    position: absolute !important;
    width: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
    pointer-events: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
}

/* ═══════════════════════════════════════════════════════════
   3. PRELOADER
   ═══════════════════════════════════════════════════════════ */
#preloader {
    position: fixed;
    inset: 0;
    z-index: 999999;
    background: var(--bg-canvas);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 24px;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}
#preloader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
.preloader-logo {
    font-family: 'Instrument Serif', Georgia, serif;
    font-size: clamp(36px, 7vw, 56px);
    font-weight: 400;
    letter-spacing: -0.03em;
    color: var(--text-1);
    opacity: 0;
    animation: preloaderLogoIn 0.7s var(--ease-out) 0.15s forwards;
}
.preloader-tagline {
    font-size: 11px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--text-3);
    opacity: 0;
    animation: preloaderLogoIn 0.7s var(--ease-out) 0.35s forwards;
}
.preloader-spinner {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid var(--border-default);
    border-top-color: var(--accent);
    animation: spin 0.8s linear infinite;
    margin-top: 8px;
    will-change: transform;
}
.preloader-bar {
    width: 160px;
    height: 2px;
    background: var(--border-subtle);
    border-radius: 2px;
    overflow: hidden;
    position: relative;
}
.preloader-bar::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    transform: translateX(-100%);
    animation: preloaderBar 1.2s ease-in-out infinite;
    will-change: transform;
}

/* ═══════════════════════════════════════════════════════════
   4. CURSOR + SCROLL PROGRESS
   ═══════════════════════════════════════════════════════════ */
.cursor-dot, .cursor-outline {
    position: fixed;
    top: 0; left: 0;
    border-radius: 50%;
    pointer-events: none;
    z-index: 99999;
}
.cursor-dot {
    width: 6px;
    height: 6px;
    background: var(--accent);
    transform: translate(-50%, -50%);
    will-change: transform;
}
.cursor-outline {
    width: 32px;
    height: 32px;
    border: 1.5px solid var(--accent);
    transform: translate(-50%, -50%) translateZ(0);
    transition: width 0.25s, height 0.25s, background 0.25s;
    will-change: transform, width, height;
    backface-visibility: hidden;
}
.cursor-outline.hover {
    width: 52px;
    height: 52px;
    background: var(--accent-glow);
}

.scroll-progress {
    position: fixed;
    top: 0; left: 0;
    height: 2px;
    background: var(--accent);
    width: 0%;
    z-index: 10000;
    transition: width 0.08s linear;
    will-change: width;
}

/* ═══════════════════════════════════════════════════════════
   5. FONDO
   ═══════════════════════════════════════════════════════════ */
.grid-bg {
    position: fixed;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    background-image:
        linear-gradient(var(--border-subtle) 1px, transparent 1px),
        linear-gradient(90deg, var(--border-subtle) 1px, transparent 1px);
    background-size: 80px 80px;
    opacity: 0.4;
}
[data-theme="light"] .grid-bg { opacity: 0.6; }

.aurora {
    position: fixed;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.15;
    pointer-events: none;
    z-index: -1;
    animation: auroraFloat 24s ease-in-out infinite;
    transform: translateZ(0);
    will-change: transform;
}
.aurora-1 { width: 600px; height: 600px; background: var(--accent); top: -200px; right: -100px; }
.aurora-2 { width: 500px; height: 500px; background: #6366F1; bottom: 20%; left: -150px; animation-delay: -8s; opacity: 0.10; }
.aurora-3 { width: 400px; height: 400px; background: var(--accent); top: 60%; right: -100px; animation-delay: -16s; opacity: 0.08; }
[data-theme="light"] .aurora { opacity: 0.08; }
[data-theme="light"] .aurora-2 { opacity: 0.05; }

/* ═══════════════════════════════════════════════════════════
   6. HEADER
   ═══════════════════════════════════════════════════════════ */
header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 16px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    transition: transform 0.3s var(--ease), background 0.2s ease, border-color 0.2s ease;
    border-bottom: 1px solid transparent;
    will-change: transform;
}
header.smart-hide { transform: translateY(-110%); }
header.scrolled {
    background: var(--glass-strong);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom-color: var(--border-subtle);
}

.brand { display: flex; align-items: center; gap: 10px; min-width: 0; flex: 1; cursor: pointer; }
.brand-logo { width: 36px; height: 36px; border-radius: var(--r-sm); object-fit: cover; flex-shrink: 0; border: 1px solid var(--border-default); }
.brand-info { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.brand-name {
    font-family: 'Instrument Serif', serif;
    font-size: 20px; font-weight: 400;
    letter-spacing: -0.02em; line-height: 1.1;
    color: var(--text-1);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.brand-user {
    font-size: 10px; letter-spacing: 0.08em;
    text-transform: uppercase; color: var(--text-3);
    font-weight: 500; white-space: nowrap;
    overflow: hidden; text-overflow: ellipsis;
}
.brand-user.logged { color: var(--accent); }

.header-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }

.icon-btn {
    width: 36px; height: 36px;
    border-radius: var(--r-sm);
    background: var(--glass);
    border: 1px solid var(--border-subtle);
    color: var(--text-2);
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; position: relative;
    transition: all 0.2s var(--ease);
}
.icon-btn:hover {
    background: var(--glass-hover);
    color: var(--text-1);
    border-color: var(--border-default);
}


.icon-btn .dot {
    position: absolute; top: 4px; right: 4px;
    min-width: 16px; height: 16px; padding: 0 4px;
    background: var(--danger); color: white;
    border-radius: var(--r-pill);
    font-size: 10px; font-weight: 700;
    display: none; align-items: center; justify-content: center;
    border: 2px solid var(--bg-canvas);
    z-index: 2;
}
.icon-btn .dot.show { display: flex; }
.icon-btn.has-notif { color: var(--accent); border-color: var(--border-accent); }

/* ─── Botón "Mi panel de usuario" (antes campana) ─── */
.icon-btn-panel {
    position: relative;
}
.icon-btn-panel .icon-panel-user {
    transition: transform 0.25s var(--ease-spring);
}
.icon-btn-panel:hover .icon-panel-user {
    transform: scale(1.08);
}
/* Cuando hay notificaciones, el icono del panel se ilumina */
.icon-btn-panel.has-notif .icon-panel-user {
    filter: drop-shadow(0 0 6px var(--accent-glow));
}
/* Pulso sutil del punto rojo cuando hay notifs (invita a entrar) */
@keyframes notifDotPulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(248, 113, 113, 0.5);
    }
    50% {
        box-shadow: 0 0 0 6px rgba(248, 113, 113, 0);
    }
}
.icon-btn-panel.has-notif .dot.show {
    animation: notifDotPulse 2s ease-in-out infinite;
}
/* Reduced motion: sin pulso */
@media (prefers-reduced-motion: reduce) {
    .icon-btn-panel.has-notif .dot.show { animation: none; }
    .icon-btn-panel .icon-panel-user { transition: none; }
    .icon-btn-panel:hover .icon-panel-user { transform: none; }
}





.btn {
    display: inline-flex; align-items: center; justify-content: center;
    gap: 8px; padding: 10px 18px;
    border: none; border-radius: var(--r-md);
    font-size: 13.5px; font-weight: 600;
    letter-spacing: -0.005em; cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s var(--ease);
    text-decoration: none;
}
.btn-primary { background: var(--text-1); color: var(--bg-canvas); }
[data-theme="light"] .btn-primary { background: #0F0F14; color: #FFFFFF; }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3); }

/* ═══════════════════════════════════════════════════════════
   7. FLOATING CONTROLS
   ═══════════════════════════════════════════════════════════ */
.floating-controls {
    position: fixed; bottom: 20px; right: 20px;
    display: flex; flex-direction: column; gap: 8px;
    z-index: 999;
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
    will-change: opacity, transform;
}
.floating-controls.minimized { opacity: 0.6; }
.floating-controls:hover { opacity: 1; }
.float-btn {
    width: 42px; height: 42px;
    border-radius: var(--r-md);
    background: var(--bg-surface);
    border: 1px solid var(--border-default);
    color: var(--text-2);
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; box-shadow: var(--shadow-md);
    transition: all 0.2s var(--ease);
    will-change: transform, box-shadow;
}
.float-btn:hover {
    background: var(--bg-raised);
    color: var(--text-1);
    border-color: var(--border-strong);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* ═══════════════════════════════════════════════════════════
   8. HERO
   ═══════════════════════════════════════════════════════════ */
.hero-scroll-section { height: 300vh; position: relative; z-index: 1; }
.hero-sticky {
    position: fixed; top: 0; left: 0;
    width: 100%; height: 100vh; height: 100dvh;
    display: flex; align-items: center; justify-content: center;
    overflow: hidden; z-index: 1;
}
.hero-sticky.hero-hidden { opacity: 0; pointer-events: none; transition: opacity 0.4s ease; }
.hero-slide {
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden;
    transition: opacity 0.8s ease, visibility 0.8s;
    z-index: 1;
}
.hero-slide.active { opacity: 1; visibility: visible; z-index: 2; }
.hero-slide-bg {
    position: absolute; inset: 0;
    background-size: cover; background-position: center; z-index: 0;
    transform: scale(1.08);
    transition: transform 1.4s ease;
}
.hero-slide.active .hero-slide-bg { transform: scale(1); }
.hero-slide-overlay {
    position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(180deg,
        rgba(10, 10, 15, 0.5) 0%,
        rgba(10, 10, 15, 0.75) 50%,
        rgba(10, 10, 15, 0.98) 100%);
}
[data-theme="light"] .hero-slide-overlay {
    background: linear-gradient(180deg,
        rgba(247, 247, 248, 0.4) 0%,
        rgba(247, 247, 248, 0.75) 50%,
        rgba(247, 247, 248, 0.98) 100%);
}
.hero-slide-content {
    position: relative; z-index: 3;
    max-width: 780px; text-align: center;
    padding: 0 24px; width: 100%;
}
.hero-slide-content .hero-badge,
.hero-slide-content .hero-title,
.hero-slide-content .hero-desc,
.hero-slide-content .hero-cta,
.hero-slide-content .hero-stats { opacity: 0; }
.hero-slide.active .hero-badge,
.hero-slide.active .hero-title,
.hero-slide.active .hero-desc,
.hero-slide.active .hero-cta,
.hero-slide.active .hero-stats {
    opacity: 1; transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s var(--ease-out);
}
.hero-slide.active .hero-badge { transition-delay: 0.1s; transform: translateY(0); }
.hero-slide.active .hero-title { transition-delay: 0.2s; }
.hero-slide.active .hero-desc { transition-delay: 0.35s; }
.hero-slide.active .hero-cta { transition-delay: 0.5s; }
.hero-slide.active .hero-stats { transition-delay: 0.65s; }

.hero-badge {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 8px 16px;
    background: rgba(212, 175, 122, 0.12);
    border: 1px solid rgba(212, 175, 122, 0.3);
    border-radius: var(--r-pill);
    font-size: 11px; letter-spacing: 0.08em;
    text-transform: uppercase; font-weight: 600;
    color: var(--accent-bright);
    margin-bottom: 24px;
}
[data-theme="light"] .hero-badge { background: rgba(139, 107, 63, 0.1); color: var(--accent); }
.hero-badge-dot {
    width: 6px; height: 6px;
    background: var(--success); border-radius: 50%;
    animation: pulse 1.8s ease-in-out infinite;
    will-change: opacity;
}
.hero-title {
    font-family: 'Instrument Serif', serif;
    font-size: clamp(44px, 8vw, 92px);
    font-weight: 400; line-height: 1.02;
    letter-spacing: -0.035em;
    color: #FFFFFF; margin-bottom: 20px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}
[data-theme="light"] .hero-title { color: #0F0F14; text-shadow: 0 4px 20px rgba(255, 255, 255, 0.8); }
.hero-title em {
    font-style: italic;
    background: linear-gradient(135deg, #E8C99A 0%, #D4AF7A 50%, #B8935A 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
[data-theme="light"] .hero-title em {
    background: linear-gradient(135deg, #8B6B3F 0%, #6B5230 50%, #5A4225 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero-desc {
    font-size: clamp(15px, 1.6vw, 18px);
    color: rgba(255, 255, 255, 0.85);
    max-width: 560px; margin: 0 auto 32px;
    line-height: 1.6;
}
[data-theme="light"] .hero-desc { color: rgba(15, 15, 20, 0.75); }
.hero-cta {
    display: flex; gap: 12px; justify-content: center;
    flex-wrap: wrap; margin-bottom: 40px;
}
.btn-hero {
    padding: 14px 26px; font-size: 14px; font-weight: 600;
    border-radius: var(--r-md);
    display: inline-flex; align-items: center; gap: 8px;
    cursor: pointer; transition: all 0.2s var(--ease);
    text-decoration: none;
    will-change: transform;
}
.btn-hero-primary { background: #FFFFFF; color: #0F0F14; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3); }
.btn-hero-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4); }
.btn-hero-secondary {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #FFFFFF;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}
.btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}
[data-theme="light"] .btn-hero-primary { background: #0F0F14; color: #FFFFFF; }
[data-theme="light"] .btn-hero-secondary { background: rgba(0, 0, 0, 0.05); border-color: rgba(0, 0, 0, 0.1); color: #0F0F14; }
[data-theme="light"] .btn-hero-secondary:hover { background: rgba(0, 0, 0, 0.08); }
.hero-stats { display: flex; gap: 48px; justify-content: center; flex-wrap: wrap; }
.hero-stats > div { text-align: center; }
.hero-stats .stat-num {
    font-family: 'Space Grotesk', monospace;
    font-size: 32px; font-weight: 500;
    line-height: 1; color: #FFFFFF; margin-bottom: 6px;
}
[data-theme="light"] .hero-stats .stat-num { color: #0F0F14; }
.hero-stats .stat-label {
    font-size: 11px; letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6); font-weight: 500;
}
[data-theme="light"] .hero-stats .stat-label { color: rgba(15, 15, 20, 0.6); }
.hero-slide-dots {
    position: absolute; bottom: 80px; left: 50%;
    transform: translateX(-50%); z-index: 5;
    display: flex; gap: 8px; align-items: center;
}
.hero-dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transition: all 0.3s var(--ease);
    cursor: pointer; border: none; padding: 0;
    will-change: width, background;
}
[data-theme="light"] .hero-dot { background: rgba(0, 0, 0, 0.2); }
.hero-dot.active { width: 24px; border-radius: 3px; background: #FFFFFF; }
[data-theme="light"] .hero-dot.active { background: #0F0F14; }
.scroll-indicator {
    position: absolute; bottom: 28px; left: 50%;
    transform: translateX(-50%); z-index: 4;
    display: flex; flex-direction: column;
    align-items: center; gap: 8px;
    transition: opacity 0.3s ease;
}
.scroll-text {
    font-size: 9px; letter-spacing: 0.3em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6); font-weight: 500;
}
[data-theme="light"] .scroll-text { color: rgba(15, 15, 20, 0.5); }
.scroll-line {
    width: 1px; height: 28px;
    background: linear-gradient(180deg, #FFFFFF 0%, transparent 100%);
    animation: scrollDown 2s ease-in-out infinite;
    transform-origin: top center;
    will-change: transform;
    backface-visibility: hidden;
}
[data-theme="light"] .scroll-line { background: linear-gradient(180deg, #0F0F14 0%, transparent 100%); }

/* ═══════════════════════════════════════════════════════════
   9. SECCIONES GENERALES
   ═══════════════════════════════════════════════════════════ */
.section { padding: 100px 5% 80px; position: relative; }
.section-header { max-width: 680px; margin: 0 auto 48px; text-align: center; }
.eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 11px; font-weight: 600;
    letter-spacing: 0.12em; text-transform: uppercase;
    color: var(--accent); margin-bottom: 16px;
    padding: 6px 14px;
    background: var(--accent-glow);
    border: 1px solid var(--border-accent);
    border-radius: var(--r-pill);
}
.section-title {
    font-family: 'Instrument Serif', serif;
    font-size: clamp(32px, 4.5vw, 56px);
    font-weight: 400; line-height: 1.05;
    letter-spacing: -0.03em;
    margin-bottom: 16px; color: var(--text-1);
}
.section-title em { font-style: italic; color: var(--accent); }
.section-desc { font-size: 16px; color: var(--text-2); line-height: 1.65; }

.reveal-line { overflow: hidden; display: block; }
.reveal-line > * {
    display: inline-block;
    transform: translateY(110%);
    transition: transform 0.9s var(--ease-out);
}
.reveal-line.in-view > * { transform: translateY(0); }
.reveal-line.delay-1 > * { transition-delay: 0.08s; }
.reveal-line.delay-2 > * { transition-delay: 0.16s; }
.reveal-line.delay-3 > * { transition-delay: 0.24s; }

.fade-up {
    opacity: 0; transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s var(--ease-out);
    will-change: opacity, transform;
}
.fade-up.in-view { opacity: 1; transform: translateY(0); }

/* ═══════════════════════════════════════════════════════════
   10. SERVICES SHOWCASE
   ═══════════════════════════════════════════════════════════ */
.services-showcase {
    max-width: 1300px; margin: 0 auto;
    display: flex; flex-direction: column; gap: 0;
}
.showcase-item {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 60px; align-items: center;
    padding: 80px 0; position: relative;
    min-height: 460px;
}
.showcase-item + .showcase-item { border-top: 1px solid var(--border-subtle); }
.showcase-media-col {
    position: relative; min-width: 0;
    display: flex; flex-direction: column; gap: 16px;
}
.showcase-item:nth-child(even) .showcase-media-col { grid-row: 1; order: 2; }
.showcase-item:nth-child(even) .showcase-info-col { order: 1; }
.showcase-info-col { min-width: 0; }
.showcase-num-badge {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 8px 18px;
    background: var(--bg-surface);
    border: 1px solid var(--border-default);
    border-radius: var(--r-pill);
    font-size: 11px; font-weight: 600;
    letter-spacing: 0.12em; text-transform: uppercase;
    color: var(--text-2); width: fit-content;
    box-shadow: var(--shadow-sm);
}
.showcase-num-badge .num-badge-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.showcase-num-badge .num-badge-num {
    font-family: 'Space Grotesk', monospace;
    font-weight: 700; color: var(--accent); font-size: 12px;
}
.showcase-num-badge .num-badge-label { color: var(--text-3); font-size: 10px; letter-spacing: 0.15em; }
.showcase-img-wrap {
    position: relative; overflow: hidden;
    background: var(--bg-surface);
    width: 100%; aspect-ratio: 4/3;
    border-radius: var(--r-xl);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    transform: scale(0.96) translateY(20px);
    transition: opacity 0.7s ease, transform 0.7s var(--ease-out);
    will-change: opacity, transform;
}
.showcase-img-wrap.in-view { opacity: 1; transform: scale(1) translateY(0); }
.showcase-img-wrap::before {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(90deg,
        var(--bg-elevated) 0%,
        var(--bg-raised) 50%,
        var(--bg-elevated) 100%);
    background-size: 200% 100%;
    animation: skeletonShimmer 1.4s linear infinite;
    z-index: 1;
    transition: opacity 0.3s ease;
}
.showcase-img-wrap.img-loaded::before { opacity: 0; animation: none; }
.showcase-img-wrap img {
    position: relative;
    width: 100%; height: 100%;
    object-fit: cover; display: block;
    z-index: 2; opacity: 0;
    aspect-ratio: 4/3;
    background-color: var(--bg-elevated);
    transition: opacity 0.4s ease, transform 0.4s var(--ease-out);
    will-change: opacity, transform;
}
.showcase-img-wrap.img-loaded img { opacity: 1; }
.showcase-img-wrap:hover img { transform: scale(1.04); }
.showcase-premium {
    position: absolute; top: 16px; left: 16px;
    z-index: 3; padding: 6px 12px;
    background: var(--accent); color: var(--bg-canvas);
    font-size: 10px; font-weight: 700;
    letter-spacing: 0.08em; text-transform: uppercase;
    border-radius: var(--r-pill);
    display: inline-flex; align-items: center; gap: 4px;
}
.showcase-price {
    position: absolute; bottom: 16px; right: 16px;
    z-index: 3; padding: 8px 14px;
    background: rgba(10, 10, 15, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #FFFFFF;
    font-family: 'Space Grotesk', monospace;
    font-size: 14px; font-weight: 600;
    border-radius: var(--r-pill);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}
.showcase-info { display: flex; flex-direction: column; gap: 16px; }
.showcase-pill {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 6px 14px; border-radius: var(--r-pill);
    font-size: 11px; font-weight: 600;
    border: 1px solid var(--border-default);
    background: var(--bg-surface); color: var(--text-2);
    width: fit-content;
    letter-spacing: 0.06em; text-transform: uppercase;
}
.showcase-title {
    font-family: 'Instrument Serif', serif;
    font-size: clamp(28px, 3.2vw, 42px);
    font-weight: 400; line-height: 1.1;
    letter-spacing: -0.025em; color: var(--text-1);
}
.showcase-title em { font-style: italic; color: var(--accent); }
.showcase-desc { font-size: 15px; line-height: 1.7; color: var(--text-2); max-width: 500px; }
.showcase-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 8px 0; }
.showcase-stat-num {
    font-family: 'Space Grotesk', monospace;
    font-size: 28px; font-weight: 500;
    line-height: 1; color: var(--text-1); margin-bottom: 6px;
}
.showcase-stat-label {
    font-size: 11px; letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-3); font-weight: 500;
}
.showcase-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.showcase-tag {
    font-size: 11.5px; padding: 5px 12px;
    border-radius: var(--r-pill);
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    color: var(--text-2); font-weight: 500;
}
.showcase-cta {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 12px 22px;
    background: var(--text-1); color: var(--bg-canvas);
    font-size: 13.5px; font-weight: 600;
    border: none; border-radius: var(--r-md);
    cursor: pointer; width: fit-content;
    margin-top: 8px;
    transition: all 0.2s var(--ease);
    will-change: transform, box-shadow;
}
[data-theme="light"] .showcase-cta { background: #0F0F14; color: #FFFFFF; }
.showcase-cta:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.showcase-cta.locked {
    background: var(--bg-surface);
    border: 1px solid var(--border-default);
    color: var(--text-2);
}
.showcase-cta.locked:hover {
    background: var(--bg-raised);
    border-color: var(--border-strong);
}
.showcase-info .showcase-pill,
.showcase-info .showcase-title,
.showcase-info .showcase-desc,
.showcase-info .showcase-stats,
.showcase-info .showcase-tags,
.showcase-info .showcase-cta {
    opacity: 0; transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s var(--ease-out);
    will-change: opacity, transform;
}
.showcase-item.in-view .showcase-pill  { opacity: 1; transform: translateY(0); transition-delay: 0.05s; }
.showcase-item.in-view .showcase-title { opacity: 1; transform: translateY(0); transition-delay: 0.10s; }
.showcase-item.in-view .showcase-desc  { opacity: 1; transform: translateY(0); transition-delay: 0.15s; }
.showcase-item.in-view .showcase-stats { opacity: 1; transform: translateY(0); transition-delay: 0.20s; }
.showcase-item.in-view .showcase-tags  { opacity: 1; transform: translateY(0); transition-delay: 0.25s; }
.showcase-item.in-view .showcase-cta   { opacity: 1; transform: translateY(0); transition-delay: 0.30s; }
.showcase-item.in-view .showcase-num-badge { opacity: 1; transform: translateY(0); }

.services-skeleton { display: flex; flex-direction: column; gap: 60px; }
.skeleton-showcase {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 60px; align-items: center;
}
.skeleton-showcase:nth-child(even) .skeleton-img { order: 2; }
.skeleton-img {
    aspect-ratio: 4/3;
    background: linear-gradient(90deg,
        var(--bg-elevated) 0%,
        var(--bg-raised) 50%,
        var(--bg-elevated) 100%);
    background-size: 200% 100%;
    border-radius: var(--r-xl);
    animation: skeletonShimmer 1.4s linear infinite;
}
.skeleton-body { display: flex; flex-direction: column; gap: 14px; }
.skeleton-line {
    height: 14px;
    background: linear-gradient(90deg,
        var(--bg-elevated) 0%,
        var(--bg-raised) 50%,
        var(--bg-elevated) 100%);
    background-size: 200% 100%;
    border-radius: var(--r-xs);
    animation: skeletonShimmer 1.4s linear infinite;
}
.skeleton-title { height: 28px; width: 70%; }
.skeleton-short { width: 50%; }

/* ═══════════════════════════════════════════════════════════
   11. TESTIMONIOS
   ═══════════════════════════════════════════════════════════ */
.testimonials-wrapper {
    max-width: 900px; margin: 0 auto;
    max-height: 600px; overflow-y: auto;
    padding-right: 8px;
    display: flex; flex-direction: column; gap: 16px;
}
.testimonials-wrapper::-webkit-scrollbar { width: 4px; }
.testimonials-wrapper::-webkit-scrollbar-thumb { background: var(--border-default); border-radius: 2px; }
.testimonial {
    padding: 24px;
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--r-lg);
    transition: all 0.2s var(--ease);
    will-change: transform;
}
.testimonial:hover {
    border-color: var(--border-default);
    transform: translateX(4px);
    box-shadow: var(--shadow-md);
}
.testimonial-head { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }
.testimonial-avatar {
    width: 40px; height: 40px;
    border-radius: 50%; overflow: hidden;
    border: 1px solid var(--border-default);
    flex-shrink: 0; background: var(--bg-elevated);
}
.testimonial-avatar img {
    width: 100%; height: 100%;
    object-fit: cover;
    aspect-ratio: 1 / 1;
    background-color: var(--bg-elevated);
}
.testimonial-info { flex: 1; min-width: 0; }
.testimonial-name { font-size: 14px; font-weight: 600; color: var(--text-1); margin-bottom: 2px; }
.testimonial-stars { color: var(--accent); font-size: 12px; letter-spacing: 2px; }
.testimonial-date { font-size: 11px; color: var(--text-3); white-space: nowrap; }
.testimonial-text {
    font-size: 14px; color: var(--text-2);
    line-height: 1.65; font-style: italic;
    padding-left: 16px;
    border-left: 2px solid var(--border-default);
}

/* ═══════════════════════════════════════════════════════════
   11.5. SECCIÓN HAZTE MIEMBRO (fusión Membresías + Promociones)
   ═══════════════════════════════════════════════════════════ */

.miembro-section {
    padding: 100px 5% 80px;
    position: relative;
    content-visibility: auto;
    contain-intrinsic-size: auto 800px;
}

.miembro-grid {
    max-width: 1100px;
    margin: 0 auto 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.miembro-card {
    position: relative;
    padding: 32px 28px;
    background: var(--bg-surface);
    border: 1px solid var(--border-default);
    border-radius: var(--r-xl);
    display: flex;
    flex-direction: column;
    gap: 20px;
    transition: all 0.3s var(--ease);
    will-change: transform, box-shadow;
}

.miembro-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--border-strong);
}

.miembro-card-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--r-lg);
    background: var(--accent-glow);
    border: 1px solid var(--border-accent);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}

.miembro-card-body {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
}

.miembro-card-title {
    font-family: 'Instrument Serif', serif;
    font-size: 26px;
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--text-1);
    margin: 0;
}

.miembro-card-desc {
    font-size: 14.5px;
    line-height: 1.65;
    color: var(--text-2);
    margin: 0;
}

.miembro-card-desc em {
    font-style: italic;
    color: var(--accent-bright);
    font-weight: 500;
}

.miembro-ejemplo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 6px;
    padding: 16px 12px;
    background: var(--bg-elevated);
    border: 1px solid var(--border-subtle);
    border-radius: var(--r-md);
    flex-wrap: nowrap;
    overflow: hidden;
}

.miembro-ejemplo-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--bg-raised);
    border: 1.5px solid var(--border-default);
    flex-shrink: 0;
    position: relative;
    transition: all 0.25s var(--ease);
}

.miembro-ejemplo:hover .miembro-ejemplo-dot {
    background: var(--accent-glow);
    border-color: var(--border-accent);
}

.miembro-ejemplo-dot.meta {
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, var(--accent), var(--accent-deep));
    border-color: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-canvas);
    box-shadow: 0 4px 12px var(--accent-glow);
}

.miembro-ejemplo-dot.meta .icon-svg {
    font-size: 12px;
}

.miembro-ejemplo-label {
    font-size: 12px;
    color: var(--text-3);
    text-align: center;
    margin: 0;
    font-style: italic;
    letter-spacing: 0.01em;
}

.miembro-grupo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 6px;
    padding: 16px 12px;
    background: var(--bg-elevated);
    border: 1px solid var(--border-subtle);
    border-radius: var(--r-md);
}

.miembro-grupo-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--bg-raised);
    border: 1.5px solid var(--border-default);
    flex-shrink: 0;
    position: relative;
    transition: all 0.25s var(--ease);
}

.miembro-grupo:hover .miembro-grupo-avatar {
    background: var(--accent-glow);
    border-color: var(--border-accent);
}

.miembro-grupo-avatar.tu {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--accent), var(--accent-deep));
    border-color: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-canvas);
    box-shadow: 0 4px 14px var(--accent-glow);
}

.miembro-grupo-avatar.tu .icon-svg {
    font-size: 18px;
}

.miembro-beneficios-card {
    grid-column: 1 / -1;
    padding: 28px 32px;
    background: linear-gradient(135deg, rgba(212, 175, 122, 0.05), rgba(212, 175, 122, 0.01));
    border: 1px solid var(--border-accent);
    border-radius: var(--r-xl);
    position: relative;
    overflow: hidden;
}

.miembro-beneficios-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.miembro-beneficios-lista {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.miembro-beneficios-lista li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    min-width: 0;
}

.miembro-beneficios-lista li .icon-svg {
    color: var(--accent);
    font-size: 20px;
    flex-shrink: 0;
    margin-top: 2px;
}

.miembro-beneficios-lista li > div {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.miembro-beneficios-lista li strong {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--text-1);
    line-height: 1.35;
    letter-spacing: -0.005em;
}

.miembro-beneficios-lista li span {
    font-size: 12px;
    color: var(--text-3);
    line-height: 1.45;
}

.miembro-cta {
    max-width: 1100px;
    margin: 0 auto;
    padding: 32px 36px;
    background: var(--bg-surface);
    border: 1px solid var(--border-default);
    border-radius: var(--r-xl);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    position: relative;
    overflow: hidden;
}

.miembro-cta::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.miembro-cta-texto {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.miembro-cta-titulo {
    font-family: 'Instrument Serif', serif;
    font-size: 24px;
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--text-1);
    margin: 0;
}

.miembro-cta-titulo em {
    font-style: italic;
    color: var(--accent);
}

.miembro-cta-desc {
    font-size: 13.5px;
    color: var(--text-3);
    margin: 0;
}

.miembro-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 28px;
    min-height: 52px;
    border-radius: var(--r-pill);
    background: linear-gradient(135deg, var(--accent), var(--accent-deep));
    color: var(--bg-canvas);
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.01em;
    border: none;
    cursor: pointer;
    transition: all 0.25s var(--ease);
    box-shadow: 0 8px 24px var(--accent-glow);
    will-change: transform, box-shadow;
    flex-shrink: 0;
}

.miembro-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 36px rgba(212, 175, 122, 0.4);
    filter: brightness(1.05);
}

.miembro-cta-btn .icon-svg {
    flex-shrink: 0;
}

@media (max-width: 968px) {
    .miembro-section {
        padding: 70px 5% 50px;
    }
    .miembro-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 32px;
    }
    .miembro-card {
        padding: 26px 22px;
    }
    .miembro-card-title {
        font-size: 22px;
    }
    .miembro-beneficios-card {
        padding: 24px 22px;
    }
    .miembro-beneficios-lista {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    .miembro-cta {
        padding: 26px 22px;
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }
    .miembro-cta-titulo {
        font-size: 20px;
    }
    .miembro-cta-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .miembro-section {
        padding: 60px 5% 40px;
    }
    .miembro-card-icon {
        width: 46px;
        height: 46px;
        font-size: 20px;
    }
    .miembro-ejemplo {
        gap: 4px;
        padding: 14px 8px;
    }
    .miembro-ejemplo-dot {
        width: 12px;
        height: 12px;
    }
    .miembro-ejemplo-dot.meta {
        width: 20px;
        height: 20px;
    }
    .miembro-grupo-avatar {
        width: 28px;
        height: 28px;
    }
    .miembro-grupo-avatar.tu {
        width: 34px;
        height: 34px;
    }
    .miembro-cta-btn {
        font-size: 13px;
        padding: 14px 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .miembro-card:hover {
        transform: none;
    }
    .miembro-cta-btn:hover {
        transform: none;
    }
}

/* ═══════════════════════════════════════════════════════════
   12. BOOKING — REDISEÑO PROFESIONAL COMPLETO
   ═══════════════════════════════════════════════════════════ */
.booking-shell { max-width: 1080px; margin: 0 auto; position: relative; }

.booking-container {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 0;
    background: var(--bg-surface);
    border: 1px solid var(--border-default);
    border-radius: var(--r-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}
.booking-container::before {
    content: '';
    grid-column: 1; grid-row: 1 / -1;
    background: var(--bg-elevated);
    border-right: 1px solid var(--border-subtle);
}
.booking-header {
    grid-column: 1; grid-row: 1;
    padding: 32px 28px 24px;
    border-bottom: 1px solid var(--border-subtle);
    position: relative; z-index: 1;
}
.booking-header::after {
    content: 'Resumen';
    position: absolute; bottom: -12px; left: 28px;
    padding: 3px 10px;
    background: var(--bg-elevated);
    font-size: 10px; font-weight: 700;
    letter-spacing: 0.15em; text-transform: uppercase;
    color: var(--accent);
    border-radius: var(--r-xs);
    border: 1px solid var(--border-subtle);
}
.booking-title {
    font-family: 'Instrument Serif', serif;
    font-size: 26px; font-weight: 400;
    letter-spacing: -0.02em; line-height: 1.15;
    color: var(--text-1); margin-bottom: 6px;
}
.booking-title em { font-style: italic; color: var(--accent); }
.booking-subtitle { font-size: 12.5px; color: var(--text-3); line-height: 1.5; }

.steps {
    grid-column: 1; grid-row: 2;
    display: flex; flex-direction: column;
    padding: 32px 28px; gap: 20px;
    position: relative; z-index: 1;
}
.step {
    display: flex; align-items: center; gap: 14px;
    transition: all 0.25s var(--ease);
    padding: 12px 14px;
    border-radius: var(--r-md);
    border: 1px solid transparent;
}
.step-num {
    width: 32px; height: 32px;
    border-radius: 50%;
    background: var(--bg-raised);
    border: 1px solid var(--border-default);
    display: flex; align-items: center; justify-content: center;
    font-family: 'Space Grotesk', monospace;
    font-size: 13px; font-weight: 600;
    color: var(--text-3); flex-shrink: 0;
    transition: all 0.25s var(--ease);
}
.step span:not(.step-num) {
    font-size: 13px; font-weight: 500;
    color: var(--text-3);
    transition: color 0.25s var(--ease);
}
.step.active { background: var(--accent-glow); border-color: var(--border-accent); }
.step.active .step-num {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--bg-canvas);
    box-shadow: 0 0 0 4px var(--accent-glow);
}
.step.active span:not(.step-num) { color: var(--text-1); font-weight: 600; }
.step.done .step-num {
    background: var(--success-bg);
    border-color: var(--success-border);
    color: var(--success);
    font-size: 0;
}
.step.done .step-num::before {
    content: '';
    width: 14px; height: 14px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2334D399'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}
.step.done span:not(.step-num) { color: var(--text-2); }
.step-divider { display: none; }

#bookingForm {
    grid-column: 2; grid-row: 1 / -1;
    padding: 40px;
    background: var(--bg-surface);
    display: flex; flex-direction: column; gap: 0;
}

.form-group { margin-bottom: 22px; position: relative; }
.form-label {
    display: block;
    font-size: 12.5px; font-weight: 600;
    color: var(--text-2); margin-bottom: 8px;
    letter-spacing: -0.005em; line-height: 1.3;
}
.form-label .req { color: var(--danger); font-weight: 700; margin-left: 2px; }
.form-row {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 16px; margin-bottom: 22px;
}

.form-input, .form-select {
    width: 100%;
    padding: 14px 16px;
    background: var(--bg-input);
    border: 1.5px solid transparent;
    border-radius: var(--r-md);
    color: var(--text-1);
    font-family: inherit;
    font-size: 15px; font-weight: 500;
    line-height: 1.4;
    transition: all 0.15s var(--ease);
    outline: none;
    -webkit-appearance: none; appearance: none;
    box-sizing: border-box;
    letter-spacing: -0.005em;
}
.form-input::placeholder { color: var(--text-4); font-weight: 400; opacity: 1; }
.form-input:hover:not(:focus):not(.error):not(.success),
.form-select:hover:not(:focus):not(.error):not(.success) { background: var(--bg-input-hover); }
.form-input:focus, .form-select:focus {
    background: var(--bg-surface);
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
}
.form-input.error, .form-select.error {
    background: var(--danger-bg);
    border-color: var(--danger-border);
    box-shadow: 0 0 0 3px rgba(248, 113, 113, 0.15);
}
.form-input.success, .form-select.success {
    background: var(--success-bg);
    border-color: var(--success-border);
    box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.12);
}
.form-select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%237A7A85'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 18px;
    padding-right: 42px;
    cursor: pointer;
}
[data-theme="light"] .form-select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%236B6B75'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
}
.form-select option { background: var(--bg-surface); color: var(--text-1); padding: 12px; }

.input-wrap { position: relative; display: block; }
.input-status {
    position: absolute; right: 16px; top: 50%;
    transform: translateY(-50%);
    font-size: 16px; opacity: 0;
    pointer-events: none;
    transition: opacity 0.15s ease, transform 0.15s ease;
    z-index: 2; line-height: 1;
}
.input-status.error { opacity: 1; color: var(--danger); transform: translateY(-50%) scale(1); }
.input-status.success { opacity: 1; color: var(--success); transform: translateY(-50%) scale(1); }

.hint {
    display: none; align-items: center; gap: 6px;
    font-size: 12px; margin-top: 6px;
    padding-left: 2px; font-weight: 500;
    line-height: 1.4;
    animation: hintSlideIn 0.2s ease;
}
.hint.error { display: flex; color: var(--danger); }
.hint.success { display: flex; color: var(--success); }

.segmented {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 4px; padding: 4px;
    background: var(--bg-input);
    border-radius: var(--r-md);
    position: relative;
}
.segmented label {
    display: flex; align-items: center; justify-content: center;
    gap: 8px; padding: 12px 14px;
    font-size: 13.5px; font-weight: 600;
    color: var(--text-3); cursor: pointer;
    transition: all 0.2s var(--ease);
    text-align: center; line-height: 1.2;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    border-radius: var(--r-sm);
    position: relative; z-index: 1;
}
.segmented label:hover { color: var(--text-2); }
.segmented input {
    position: absolute; opacity: 0;
    pointer-events: none; width: 0; height: 0;
}
.segmented label:has(input:checked) {
    background: var(--bg-surface);
    color: var(--text-1);
    box-shadow: var(--shadow-sm);
}
[data-theme="light"] .segmented label:has(input:checked) { box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08); }
.segmented label .icon-svg { font-size: 15px; flex-shrink: 0; }

.salon-info {
    display: flex; align-items: center; gap: 10px;
    padding: 12px 14px;
    background: var(--accent-glow);
    border: 1px solid var(--border-accent);
    border-radius: var(--r-md);
    font-size: 12.5px; color: var(--text-2);
    margin-top: 10px; line-height: 1.4; font-weight: 500;
}
.salon-info .icon-svg { color: var(--accent); font-size: 14px; flex-shrink: 0; }

.calendar {
    background: var(--bg-input);
    border: 1.5px solid transparent;
    border-radius: var(--r-lg);
    padding: 20px;
    transition: all 0.15s var(--ease);
}
.calendar.error { border-color: var(--danger-border); background: var(--danger-bg); }
.calendar.success { border-color: var(--success-border); background: var(--success-bg); }
.calendar-head {
    display: flex; justify-content: space-between;
    align-items: center; margin-bottom: 16px; gap: 12px;
}
.calendar-month {
    font-family: 'Instrument Serif', serif;
    font-size: 20px; font-weight: 400;
    color: var(--text-1);
    letter-spacing: -0.01em;
    text-transform: capitalize; line-height: 1.1;
}
.calendar-nav { display: flex; gap: 4px; flex-shrink: 0; }
.calendar-nav button {
    width: 32px; height: 32px;
    border-radius: var(--r-sm);
    background: transparent;
    border: 1px solid transparent;
    color: var(--text-3);
    display: flex; align-items: center; justify-content: center;
    font-size: 13px; cursor: pointer;
    transition: all 0.15s var(--ease);
    -webkit-tap-highlight-color: transparent;
}
.calendar-nav button:hover:not(:disabled) {
    background: var(--bg-surface);
    border-color: var(--border-default);
    color: var(--text-1);
}
.calendar-nav button:disabled { opacity: 0.3; cursor: not-allowed; }
.calendar-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.day-name {
    text-align: center;
    font-size: 10px; font-weight: 700;
    letter-spacing: 0.08em; text-transform: uppercase;
    color: var(--text-4); padding: 8px 0; line-height: 1;
}
.day {
    aspect-ratio: 1;
    display: flex; align-items: center; justify-content: center;
    border-radius: var(--r-sm);
    font-size: 13px; font-weight: 500;
    color: var(--text-2); cursor: pointer;
    transition: all 0.12s var(--ease);
    background: transparent;
    border: 1.5px solid transparent;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    line-height: 1; position: relative;
    will-change: transform, background;
}
.day.empty { cursor: default; opacity: 0; pointer-events: none; }
.day.past { color: var(--text-4); cursor: not-allowed; opacity: 0.35; }
.day.full { color: var(--text-4); cursor: not-allowed; opacity: 0.35; text-decoration: line-through; }
.day.available { color: var(--text-1); background: var(--bg-surface); }
.day.available:hover {
    background: var(--accent);
    color: var(--bg-canvas);
    transform: scale(1.06);
    border-color: transparent;
}
.day.today { color: var(--accent); font-weight: 700; border-color: var(--accent); }
.day.selected {
    background: var(--accent);
    color: var(--bg-canvas);
    border-color: transparent;
    font-weight: 700;
    transform: scale(1.05);
    box-shadow: 0 4px 12px var(--accent-glow);
}

.calendar-legend {
    display: flex; gap: 16px; justify-content: center;
    flex-wrap: wrap; margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid var(--border-subtle);
    font-size: 10.5px; letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--text-4); font-weight: 600;
}
.calendar-legend span { display: flex; align-items: center; gap: 6px; line-height: 1; }
.legend-dot { width: 8px; height: 8px; border-radius: 2px; flex-shrink: 0; }
.legend-dot.available { background: var(--bg-surface); border: 1px solid var(--border-default); }
.legend-dot.full { background: var(--text-4); }
.legend-dot.past { background: var(--text-4); opacity: 0.5; }
.legend-dot.selected { background: var(--accent); }

.horarios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(84px, 1fr));
    gap: 8px; margin-top: 10px;
}
.hora-btn {
    padding: 12px 8px;
    background: var(--bg-input);
    border: 1.5px solid transparent;
    border-radius: var(--r-sm);
    color: var(--text-2);
    font-family: 'Space Grotesk', monospace;
    font-size: 13px; font-weight: 600;
    letter-spacing: 0.01em; cursor: pointer;
    transition: all 0.15s var(--ease);
    text-align: center; line-height: 1.2;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    will-change: transform, background;
}
.hora-btn:hover:not(.disabled):not(.full):not(:disabled) {
    background: var(--bg-surface);
    border-color: var(--accent);
    color: var(--accent);
}
.hora-btn.selected {
    background: var(--accent);
    color: var(--bg-canvas);
    border-color: transparent;
    font-weight: 700;
    box-shadow: 0 4px 12px var(--accent-glow);
}
.hora-btn:disabled, .hora-btn.disabled, .hora-btn.full {
    opacity: 0.35; cursor: not-allowed; text-decoration: line-through;
}

.terminos {
    display: flex; align-items: flex-start; gap: 12px;
    padding: 14px 16px;
    background: var(--bg-input);
    border: 1.5px solid transparent;
    border-radius: var(--r-md);
    margin-bottom: 20px; cursor: pointer;
    transition: all 0.15s var(--ease);
    line-height: 1.5; user-select: none;
    -webkit-tap-highlight-color: transparent;
}
.terminos:hover { background: var(--bg-input-hover); }
.terminos:has(input:checked) { background: var(--accent-glow); border-color: var(--border-accent); }
.terminos.error { background: var(--danger-bg); border-color: var(--danger-border); }
.terminos input[type="checkbox"] {
    appearance: none; -webkit-appearance: none;
    width: 20px; height: 20px;
    border-radius: var(--r-xs);
    background: var(--bg-surface);
    border: 1.5px solid var(--border-strong);
    cursor: pointer; margin: 0;
    flex-shrink: 0;
    transition: all 0.15s var(--ease);
    position: relative;
}
.terminos input[type="checkbox"]::after {
    content: '';
    position: absolute; top: 50%; left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 12px; height: 12px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%230A0A0F'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transition: transform 0.2s var(--ease-spring);
}
.terminos input[type="checkbox"]:checked { background: var(--accent); border-color: var(--accent); }
.terminos input[type="checkbox"]:checked::after { transform: translate(-50%, -50%) scale(1); }
.terminos span, .terminos > label {
    font-size: 13px; color: var(--text-2);
    line-height: 1.55; cursor: pointer; padding-top: 1px;
}
.terminos a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 2px;
    font-weight: 500;
    transition: color 0.15s ease;
}
.terminos a:hover { color: var(--accent-bright); }

.btn-submit {
    width: 100%;
    padding: 16px 24px;
    background: var(--text-1);
    border: none; border-radius: var(--r-md);
    color: var(--bg-canvas);
    font-family: inherit;
    font-size: 15px; font-weight: 600;
    letter-spacing: -0.005em; cursor: pointer;
    transition: all 0.2s var(--ease);
    display: inline-flex; align-items: center; justify-content: center;
    gap: 10px; position: relative;
    -webkit-tap-highlight-color: transparent;
    min-height: 54px;
    will-change: transform, box-shadow;
}
[data-theme="light"] .btn-submit { background: #0F0F14; color: #FFFFFF; }
.btn-submit:hover:not(:disabled) { transform: translateY(-1px); box-shadow: 0 12px 28px rgba(0, 0, 0, 0.3); }
[data-theme="light"] .btn-submit:hover:not(:disabled) { box-shadow: 0 12px 28px rgba(15, 15, 20, 0.25); }
.btn-submit:active:not(:disabled) { transform: translateY(0); }
.btn-submit:disabled {
    opacity: 0.35; cursor: not-allowed;
    background: var(--bg-raised);
    color: var(--text-4);
}
.btn-submit .icon-svg { font-size: 16px; flex-shrink: 0; }

#fechaSeleccionadaDisplay {
    font-family: 'Space Grotesk', monospace;
    font-size: 12px; font-weight: 600;
    color: var(--accent); text-align: center;
    margin-top: 12px; padding: 8px 14px;
    background: var(--accent-glow);
    border: 1px solid var(--border-accent);
    border-radius: var(--r-sm);
    width: fit-content;
    margin-left: auto; margin-right: auto;
    letter-spacing: 0.05em; line-height: 1.4;
    min-height: 20px; text-transform: uppercase;
}

.mensaje {
    padding: 20px;
    border-radius: var(--r-lg);
    margin-top: 20px;
    display: none; position: relative;
    border: 1.5px solid transparent;
    background: var(--bg-input);
}
.mensaje.show { display: block; animation: mensajeIn 0.3s var(--ease-spring); }
.mensaje.success { background: var(--success-bg); border-color: var(--success-border); color: var(--text-1); }
.mensaje.error { background: var(--danger-bg); border-color: var(--danger-border); color: var(--danger); }
.close-msg {
    position: absolute; top: 12px; right: 12px;
    width: 28px; height: 28px;
    border-radius: var(--r-sm);
    background: var(--bg-surface);
    border: 1px solid var(--border-default);
    color: var(--text-3); font-size: 12px;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: all 0.15s var(--ease);
    z-index: 2;
}
.close-msg:hover {
    background: var(--bg-raised);
    color: var(--text-1);
    border-color: var(--border-strong);
}

.booking-container input:focus-visible,
.booking-container select:focus-visible,
.booking-container button:focus-visible,
.booking-container label:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}
.day:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.hora-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ═══════════════════════════════════════════════════════════
   13. MODALES
   ═══════════════════════════════════════════════════════════ */
.modal-overlay {
    position: fixed; inset: 0;
    background: rgba(10, 10, 15, 0.85);
    z-index: 2000;
    display: none; align-items: center; justify-content: center;
    padding: 20px; overflow-y: auto;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
[data-theme="light"] .modal-overlay { background: rgba(15, 15, 20, 0.5); }
.modal-overlay.active { display: flex; }
.modal-box {
    width: 100%; max-width: 500px;
    background: var(--bg-surface);
    border: 1px solid var(--border-default);
    border-radius: var(--r-xl);
    box-shadow: var(--shadow-xl);
    overflow: hidden; position: relative;
    margin: auto;
    animation: modalIn 0.25s var(--ease-spring);
}
.modal-head { padding: 28px 28px 12px; position: relative; text-align: center; }
.modal-close {
    position: absolute; top: 16px; right: 16px;
    width: 32px; height: 32px;
    border-radius: var(--r-sm);
    background: var(--bg-input);
    border: 1px solid transparent;
    color: var(--text-3); font-size: 13px;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    z-index: 2;
    transition: all 0.15s var(--ease);
}
.modal-close:hover {
    background: var(--danger-bg);
    color: var(--danger);
    border-color: var(--danger-border);
}
.modal-icon {
    width: 56px; height: 56px;
    margin: 0 auto 16px;
    border-radius: var(--r-lg);
    background: var(--accent-glow);
    border: 1px solid var(--border-accent);
    display: flex; align-items: center; justify-content: center;
    color: var(--accent);
}
.modal-title {
    font-family: 'Instrument Serif', serif;
    font-size: 26px; font-weight: 400;
    letter-spacing: -0.02em;
    color: var(--text-1); margin-bottom: 6px;
}
.modal-title em { font-style: italic; color: var(--accent); }
.modal-subtitle { font-size: 13px; color: var(--text-3); padding: 0 28px; }
.modal-body {
    padding: 20px 28px 28px;
    max-height: 65vh; overflow-y: auto;
}
.modal-body::-webkit-scrollbar { width: 4px; }
.modal-body::-webkit-scrollbar-thumb { background: var(--border-default); border-radius: 2px; }

.tabs {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 4px; padding: 4px;
    background: var(--bg-input);
    border-radius: var(--r-md);
    margin-bottom: 20px;
}
.tab {
    padding: 10px; background: transparent;
    border: none; border-radius: var(--r-sm);
    color: var(--text-3); font-size: 13px;
    font-weight: 600; font-family: inherit;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    gap: 6px; transition: all 0.15s var(--ease);
}
.tab:hover { color: var(--text-1); }
.tab.active {
    background: var(--bg-surface);
    color: var(--text-1);
    box-shadow: var(--shadow-sm);
}

.auth-panel { display: none; }
.auth-panel.active { display: block; animation: fadeIn 0.25s ease; }
.auth-msg {
    display: none; align-items: flex-start; gap: 10px;
    padding: 12px 14px;
    border-radius: var(--r-md);
    font-size: 13px; font-weight: 500;
    margin-bottom: 16px; line-height: 1.5;
}
.auth-msg.show { display: flex; }
.auth-msg.error { background: var(--danger-bg); border: 1px solid var(--danger-border); color: var(--danger); }
.auth-msg.success { background: var(--success-bg); border: 1px solid var(--success-border); color: var(--success); }
.auth-msg.info { background: rgba(96, 165, 250, 0.1); border: 1px solid rgba(96, 165, 250, 0.3); color: #60A5FA; }

.code-input {
    text-align: center;
    font-size: 24px;
    letter-spacing: 0.35em;
    font-weight: 700;
    font-family: 'Space Grotesk', monospace;
    padding-left: 0.35em;
}
.code-hint {
    display: flex; align-items: center; gap: 8px;
    padding: 10px 14px;
    background: var(--accent-glow);
    border: 1px solid var(--border-accent);
    border-radius: var(--r-md);
    font-size: 12px; color: var(--text-2);
    margin-top: 12px;
}
.code-hint .icon-svg { color: var(--accent); flex-shrink: 0; }
.modal-actions {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 10px; margin-top: 14px;
}
.btn-sm {
    padding: 10px 14px;
    border-radius: var(--r-sm);
    font-size: 13px; font-weight: 600;
    font-family: inherit; cursor: pointer;
    display: inline-flex; align-items: center; justify-content: center;
    gap: 6px;
    background: var(--bg-input);
    border: 1px solid transparent;
    color: var(--text-2);
    transition: all 0.15s var(--ease);
}
.btn-sm:hover { background: var(--bg-raised); color: var(--text-1); }

.modal-servicio { max-width: 760px; }
.video-frame {
    position: relative; width: 100%;
    aspect-ratio: 16/9; background: #000;
    border-radius: var(--r-lg); overflow: hidden;
    display: none; margin-bottom: 24px;
}
.video-frame.active { display: block; }
.video-inner { position: relative; width: 100%; height: 100%; }
.video-inner iframe {
    position: absolute; top: 0; left: 0;
    width: 100%; height: 100%; border: none;
}
.serv-img {
    width: 100%; max-height: 400px;
    object-fit: cover;
    border-radius: var(--r-lg);
    margin-bottom: 24px; display: none;
}
.serv-img.active { display: block; }
.serv-header {
    display: flex; justify-content: space-between;
    align-items: flex-start; gap: 16px;
    margin-bottom: 16px; flex-wrap: wrap;
}
.serv-title-block { flex: 1; min-width: 0; }
.serv-title {
    font-family: 'Instrument Serif', serif;
    font-size: 32px; font-weight: 400;
    letter-spacing: -0.02em;
    color: var(--text-1); margin-bottom: 6px;
}
.serv-price {
    font-size: 20px; font-weight: 600;
    color: var(--accent);
    font-family: 'Space Grotesk', monospace;
    display: inline-flex; align-items: center; gap: 6px;
}
.serv-badge {
    padding: 6px 12px;
    background: var(--success-bg);
    border: 1px solid var(--success-border);
    border-radius: var(--r-pill);
    font-size: 11px; font-weight: 600;
    color: var(--success);
    display: inline-flex; align-items: center; gap: 6px;
    height: fit-content;
}
.serv-badge-dot { width: 6px; height: 6px; background: var(--success); border-radius: 50%; }
.serv-desc { font-size: 14.5px; line-height: 1.7; color: var(--text-2); margin-bottom: 24px; }
.serv-label {
    font-size: 11px; font-weight: 700;
    letter-spacing: 0.1em; text-transform: uppercase;
    color: var(--text-3); margin-bottom: 12px;
    display: flex; align-items: center; gap: 8px;
}
.serv-label::after { content: ''; flex: 1; height: 1px; background: var(--border-subtle); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 24px; }
.chip {
    padding: 7px 12px;
    border-radius: var(--r-pill);
    font-size: 12.5px; font-weight: 500;
    display: inline-flex; align-items: center; gap: 6px;
    transition: transform 0.15s ease;
}
.chip:hover { transform: translateY(-1px); }
.chip-purple { background: var(--accent-glow); border: 1px solid var(--border-accent); color: var(--accent); }
.chip-emerald { background: var(--success-bg); border: 1px solid var(--success-border); color: var(--success); }
.serv-cta-block {
    padding: 20px;
    background: var(--bg-input);
    border-radius: var(--r-lg);
    margin-top: 8px;
}
.serv-cta-hint {
    display: flex; align-items: center; gap: 8px;
    font-size: 12px; color: var(--text-3);
    margin-bottom: 14px; justify-content: center;
}
.serv-cta-hint .icon-svg { color: var(--accent); }

/* ═══════════════════════════════════════════════════════════
   14. RATE WIDGET
   ═══════════════════════════════════════════════════════════ */
.rate-widget {
    display: flex; align-items: center; justify-content: space-between;
    gap: 14px; padding: 14px 16px;
    background: var(--bg-surface);
    border: 1px solid var(--border-default);
    border-radius: var(--r-md);
    margin-top: 14px; flex-wrap: wrap;
}
.rate-widget.puede-resenar { background: var(--accent-glow); border-color: var(--border-accent); }
.rate-widget-info { flex: 1; min-width: 0; }
.rate-widget-label {
    font-size: 10.5px; color: var(--text-3);
    text-transform: uppercase; letter-spacing: 0.08em;
    font-weight: 600; margin-bottom: 4px;
    display: flex; align-items: center; gap: 6px;
}
.rate-widget-label .icon-svg { color: var(--accent); font-size: 12px; }
.rate-widget-prompt {
    font-size: 14px; color: var(--text-1);
    font-weight: 500; letter-spacing: -0.005em; line-height: 1.3;
}
.rate-widget-prompt em { font-style: italic; color: var(--accent); }
.rate-widget-reviews-btn {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 8px 14px;
    background: var(--bg-surface);
    border: 1px solid var(--border-default);
    border-radius: var(--r-md);
    color: var(--text-2);
    font-size: 12px; font-weight: 600;
    font-family: inherit; cursor: pointer;
    transition: all 0.15s var(--ease);
    white-space: nowrap; flex-shrink: 0;
}
.rate-widget-reviews-btn:hover {
    background: var(--bg-raised);
    color: var(--text-1);
    border-color: var(--border-strong);
}
.rate-widget.puede-resenar .rate-widget-reviews-btn {
    background: var(--text-1);
    color: var(--bg-canvas);
    border-color: transparent;
    font-weight: 600;
}
[data-theme="light"] .rate-widget.puede-resenar .rate-widget-reviews-btn { background: #0F0F14; color: #FFFFFF; }

/* ═══════════════════════════════════════════════════════════
   15. MODAL DE RESEÑAS
   ═══════════════════════════════════════════════════════════ */
.modal-resenas-servicio {
    max-width: 640px; max-height: 88vh;
    display: flex; flex-direction: column;
}
.modal-resenas-servicio .modal-body {
    padding: 20px 28px 28px;
    overflow-y: auto; flex: 1;
}
.resena-form-box {
    background: var(--bg-input);
    border: 1px solid var(--border-subtle);
    border-radius: var(--r-lg);
    padding: 20px;
}
.resena-form-label {
    display: block;
    font-size: 12.5px; font-weight: 600;
    color: var(--text-2); margin-bottom: 10px;
}
.stars-half {
    display: flex; gap: 6px; justify-content: center;
    margin-bottom: 8px; user-select: none;
}
.stars-half .star-wrapper {
    position: relative;
    width: 44px; height: 44px;
    display: flex; align-items: center; justify-content: center;
}
.stars-half .star-wrapper .star-bg,
.stars-half .star-wrapper .star-fill {
    position: absolute; top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    font-size: 40px;
    pointer-events: none;
    transition: all 0.15s ease;
}
.stars-half .star-wrapper .star-bg { color: var(--border-default); }
.stars-half .star-wrapper .star-fill {
    color: var(--accent);
    opacity: 0;
    clip-path: inset(0 100% 0 0);
}
.stars-half .star-wrapper.half .star-fill { opacity: 1; clip-path: inset(0 50% 0 0); }
.stars-half .star-wrapper.full .star-fill { opacity: 1; clip-path: inset(0 0 0 0); }
.stars-half .star-wrapper .star-half-left,
.stars-half .star-wrapper .star-half-right {
    position: absolute; top: 0; height: 100%; width: 50%;
    background: transparent; border: none;
    cursor: pointer; z-index: 5; padding: 0;
    -webkit-tap-highlight-color: transparent;
}
.stars-half .star-wrapper .star-half-left { left: 0; }
.stars-half .star-wrapper .star-half-right { right: 0; }
.resena-form-valor {
    text-align: center;
    font-family: 'Space Grotesk', monospace;
    font-size: 15px; font-weight: 700;
    color: var(--accent); margin-bottom: 4px;
    letter-spacing: 0.05em;
}
.resena-textarea {
    width: 100%; padding: 12px 16px;
    border-radius: var(--r-md);
    border: 1.5px solid transparent;
    background: var(--bg-surface);
    color: var(--text-1);
    font-family: inherit;
    font-size: 14px;
    resize: vertical; min-height: 80px;
    outline: none;
    transition: all 0.15s var(--ease);
}
.resena-textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-glow); }
.resena-textarea::placeholder { color: var(--text-4); }
.resena-char-count { text-align: right; font-size: 11px; color: var(--text-4); margin-top: 4px; }
.resena-foto-aviso {
    display: flex; align-items: flex-start; gap: 8px;
    padding: 10px 14px;
    background: var(--warning-bg);
    border: 1px solid var(--warning-border);
    border-radius: var(--r-md);
    font-size: 12px; color: var(--text-2);
    line-height: 1.5; margin-bottom: 10px;
}
.resena-foto-aviso .icon-svg { color: var(--warning); font-size: 15px; flex-shrink: 0; margin-top: 1px; }
.resena-separador { height: 1px; background: var(--border-subtle); margin: 20px 0; }
.resena-aviso-panel {
    display: flex; gap: 12px;
    padding: 16px;
    background: var(--accent-glow);
    border: 1px solid var(--border-accent);
    border-radius: var(--r-md);
    margin-bottom: 20px; align-items: flex-start;
}
.resena-aviso-panel > .icon-svg { font-size: 20px; color: var(--accent); flex-shrink: 0; margin-top: 2px; }
.resena-aviso-title { font-size: 15px; color: var(--text-1); font-weight: 600; margin-bottom: 4px; }
.resena-aviso-desc { font-size: 13px; color: var(--text-2); line-height: 1.5; margin-bottom: 12px; }
.resena-aviso-btn {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 8px 16px;
    background: var(--text-1); color: var(--bg-canvas);
    border: none; border-radius: var(--r-md);
    font-size: 12.5px; font-weight: 600;
    font-family: inherit; cursor: pointer;
    transition: all 0.15s var(--ease);
}
[data-theme="light"] .resena-aviso-btn { background: #0F0F14; color: #FFFFFF; }
.resena-aviso-btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); }
.resenas-lista { display: flex; flex-direction: column; gap: 12px; }
.resena-item {
    padding: 14px 16px;
    background: var(--bg-input);
    border: 1px solid var(--border-subtle);
    border-radius: var(--r-md);
    display: flex; gap: 12px; align-items: flex-start;
    transition: all 0.15s ease;
}
.resena-item:hover { border-color: var(--border-default); background: var(--bg-raised); }
.resena-item-avatar {
    width: 40px; height: 40px;
    border-radius: 50%; object-fit: cover;
    border: 1px solid var(--border-default);
    flex-shrink: 0; background: var(--bg-elevated);
    aspect-ratio: 1 / 1;
}
.resena-item-content { flex: 1; min-width: 0; }
.resena-item-head {
    display: flex; align-items: center; justify-content: space-between;
    gap: 8px; margin-bottom: 4px; flex-wrap: wrap;
}
.resena-item-name { font-size: 14px; font-weight: 600; color: var(--text-1); }
.resena-item-date { font-size: 11px; color: var(--text-3); }
.resena-item-stars { display: flex; align-items: center; gap: 2px; margin-bottom: 6px; }
.resena-item-stars .icon-svg { font-size: 13px; color: var(--border-default); }
.resena-item-stars .icon-svg.filled { color: var(--accent); }
.resena-item-stars .icon-svg.half { color: var(--accent); clip-path: inset(0 50% 0 0); }
.resena-item-stars .valor {
    font-size: 11.5px; font-weight: 700;
    color: var(--accent); margin-left: 6px;
    font-family: 'Space Grotesk', monospace;
}
.resena-item-text { font-size: 13px; color: var(--text-2); line-height: 1.6; font-style: italic; }
.resenas-vacio { text-align: center; padding: 32px 20px; color: var(--text-3); }
.resenas-vacio .icon-svg {
    font-size: 36px; color: var(--border-default);
    margin-bottom: 12px; display: block;
    margin-left: auto; margin-right: auto;
}
.resenas-vacio p { font-size: 13px; font-style: italic; margin-bottom: 4px; }

.modal-resenas-servicio .toggle-switch {
    width: 44px; height: 26px;
    border-radius: var(--r-pill);
    background: var(--bg-input);
    border: 1px solid var(--border-default);
    position: relative; cursor: pointer;
    flex-shrink: 0;
    transition: all 0.2s var(--ease);
}
.modal-resenas-servicio .toggle-switch.on { background: var(--accent); border-color: var(--accent); }
.modal-resenas-servicio .toggle-switch .knob {
    width: 20px; height: 20px;
    border-radius: 50%; background: white;
    position: absolute; top: 2px; left: 2px;
    transition: left 0.2s var(--ease-spring);
    box-shadow: var(--shadow-sm);
    will-change: left;
}
.modal-resenas-servicio .toggle-switch.on .knob { left: 22px; }
.modal-resenas-servicio .upload-area {
    border: 1.5px dashed var(--border-default);
    border-radius: var(--r-md);
    padding: 20px; text-align: center;
    cursor: pointer;
    background: var(--bg-input);
    transition: all 0.15s ease;
}
.modal-resenas-servicio .upload-area:hover { border-color: var(--accent); background: var(--accent-glow); }
.modal-resenas-servicio .upload-area .icon-svg {
    font-size: 26px; color: var(--accent);
    margin: 0 auto 6px; display: block;
}
.modal-resenas-servicio .upload-area p { font-size: 12.5px; color: var(--text-3); }
.resena-preview {
    display: flex; align-items: center; gap: 12px;
    margin-top: 10px; padding: 10px;
    background: var(--bg-input);
    border-radius: var(--r-md);
    border: 1px solid var(--border-default);
}
.resena-preview img {
    width: 52px; height: 52px;
    border-radius: 50%; object-fit: cover;
    border: 2px solid var(--accent);
    aspect-ratio: 1 / 1;
}
.resena-preview button {
    background: none; border: none;
    color: var(--danger); font-size: 12px;
    cursor: pointer; text-decoration: underline;
    font-family: inherit; font-weight: 600;
}

.modal-resenas-servicio .modal-body .skeleton {
    height: 80px;
    border-radius: var(--r-md);
    background: linear-gradient(
        90deg,
        var(--bg-input) 25%,
        var(--bg-raised) 50%,
        var(--bg-input) 75%
    );
    background-size: 200% 100%;
    animation: skeletonShimmer 1.4s infinite;
    margin-bottom: 12px;
}
.modal-resenas-servicio .modal-body .skeleton-short {
    height: 20px; width: 45%;
    border-radius: var(--r-xs);
    margin: 8px auto 16px;
    background: linear-gradient(
        90deg,
        var(--bg-input) 25%,
        var(--bg-raised) 50%,
        var(--bg-input) 75%
    );
    background-size: 200% 100%;
    animation: skeletonShimmer 1.4s infinite;
}
.modal-resenas-servicio .modal-subtitle.loading { color: var(--text-3); font-style: italic; }

/* ═══════════════════════════════════════════════════════════
   16. TOUR
   ═══════════════════════════════════════════════════════════ */
.tour-tooltip {
    position: fixed; z-index: 10000;
    opacity: 0; pointer-events: none;
    transform: scale(0.95);
    transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
}
.tour-tooltip.active { opacity: 1; pointer-events: all; transform: scale(1); }
.tour-content {
    position: relative;
    background: var(--bg-surface);
    border: 1px solid var(--border-default);
    border-radius: var(--r-lg);
    padding: 20px; width: 280px;
    box-shadow: var(--shadow-xl);
}
.tour-progress-bar {
    position: absolute; bottom: 0; left: 0; right: 0;
    height: 2px; overflow: hidden;
    border-radius: 0 0 var(--r-lg) var(--r-lg);
}
.tour-progress-fill { height: 100%; width: 0%; background: var(--accent); }
.tour-arrow {
    position: absolute; width: 12px; height: 12px;
    background: var(--bg-surface);
    border: 1px solid var(--border-default);
    transform: rotate(45deg); z-index: 0;
}
.tour-tooltip[data-pos="top"] .tour-arrow { bottom: -6px; left: calc(50% - 6px); border-top: none; border-left: none; }
.tour-tooltip[data-pos="bottom"] .tour-arrow { top: -6px; left: calc(50% - 6px); border-bottom: none; border-right: none; }
.tour-tooltip[data-pos="left"] .tour-arrow { right: -6px; top: calc(50% - 6px); border-left: none; border-bottom: none; }
.tour-icon {
    width: 32px; height: 32px;
    border-radius: var(--r-sm);
    background: var(--accent-glow);
    color: var(--accent);
    display: flex; align-items: center; justify-content: center;
    font-size: 14px; margin-bottom: 12px;
}
.tour-tooltip h3 { font-size: 14px; color: var(--text-1); margin-bottom: 4px; font-weight: 600; }
.tour-tooltip p { font-size: 12.5px; color: var(--text-2); margin-bottom: 16px; line-height: 1.5; }
.tour-actions { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.tour-dots { display: flex; gap: 6px; align-items: center; }
.tour-dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--border-default);
    transition: all 0.2s ease;
}
.tour-dot.active { background: var(--accent); transform: scale(1.3); }
.tour-btn {
    padding: 6px 12px;
    border-radius: var(--r-sm);
    border: none; cursor: pointer;
    font-size: 11.5px; font-weight: 600;
    font-family: inherit;
    transition: all 0.15s ease;
}
.tour-btn-skip { background: transparent; color: var(--text-3); }
.tour-btn-skip:hover { color: var(--text-1); }
.tour-active-target {
    outline: 2px solid var(--accent) !important;
    outline-offset: 4px;
    border-radius: var(--r-md) !important;
    z-index: 9999 !important;
    position: relative !important;
}

/* ═══════════════════════════════════════════════════════════
   17. CIERRE UNIFICADO (Sobre mí + Compartir) + FOOTER
   ═══════════════════════════════════════════════════════════ */

.cierre-section {
    padding: 100px 5% 60px;
    position: relative;
    content-visibility: auto;
    contain-intrinsic-size: auto 520px;
}

.cierre-section::before {
    content: '';
    position: absolute;
    top: 0; left: 50%;
    transform: translateX(-50%);
    width: 220px; height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        var(--border-accent),
        transparent
    );
}

.cierre-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(
        ellipse 600px 300px at 50% 50%,
        var(--accent-glow) 0%,
        transparent 70%
    );
    opacity: 0.35;
    pointer-events: none;
    z-index: -1;
}

.cierre-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 64px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.cierre-sobre-mi {
    display: flex;
    gap: 28px;
    align-items: center;
    min-width: 0;
}

.sobre-mi-foto-wrap {
    position: relative;
    width: 160px;
    height: 160px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sobre-mi-foto-wrap img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--bg-surface);
    background: var(--bg-elevated);
    position: relative;
    z-index: 2;
    aspect-ratio: 1 / 1;
    display: block;
    transition: transform 0.4s var(--ease-out);
}

.sobre-mi-foto-wrap:hover img {
    transform: scale(1.04);
}

.sobre-mi-foto-ring {
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    background: conic-gradient(
        from 0deg,
        var(--accent),
        var(--accent-bright),
        var(--accent-deep),
        var(--accent)
    );
    animation: spinRing 14s linear infinite;
    z-index: 1;
    opacity: 0.75;
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
}

[data-theme="light"] .sobre-mi-foto-ring {
    opacity: 0.5;
}

@keyframes spinRing {
    to { transform: rotate(360deg) translateZ(0); }
}

.cierre-sobre-mi-texto {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 0;
}

.cierre-title {
    font-family: 'Instrument Serif', serif;
    font-size: clamp(24px, 3vw, 34px);
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--text-1);
    margin: 0;
}

.cierre-title em {
    font-style: italic;
    color: var(--accent);
}

.cierre-bio {
    font-size: 14px;
    line-height: 1.65;
    color: var(--text-2);
    margin: 0;
    max-width: 460px;
}

.sobre-mi-sellos {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 4px;
}

.sobre-mi-sello {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 12px;
    border-radius: var(--r-pill);
    background: var(--bg-surface);
    border: 1px solid var(--border-default);
    font-size: 11px;
    font-weight: 600;
    color: var(--text-2);
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.cierre-share {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding-left: 40px;
    border-left: 1px solid var(--border-subtle);
    min-width: 0;
}

.cierre-share .eyebrow {
    margin-bottom: 0;
}

.share-bar {
    display: flex;
    gap: 10px;
    margin-top: 8px;
}

.share-btn {
    width: 46px;
    height: 46px;
    border-radius: var(--r-md);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #FFFFFF;
    font-size: 17px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s var(--ease);
    will-change: transform, box-shadow;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    transform: translateZ(0);
}

[data-theme="light"] .share-btn {
    border-color: rgba(0, 0, 0, 0.15);
    text-shadow: none;
}

.share-btn.facebook { background: #0C5FC4; }
.share-btn.whatsapp { background: #1DA851; }
.share-btn.instagram { background: radial-gradient(circle at 30% 110%, #e0a83a, #d15520, #a31a5c); }
.share-btn:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }

footer {
    padding: 32px 5%;
    text-align: center;
    border-top: 1px solid var(--border-subtle);
}
footer p { font-size: 12px; color: var(--text-3); }
footer p strong {
    color: var(--accent);
    font-family: 'Instrument Serif', serif;
    font-style: italic;
    font-size: 14px;
    font-weight: 400;
}

@media (max-width: 968px) {
    .cierre-section {
        padding: 70px 5% 40px;
    }
    .cierre-container {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    .cierre-sobre-mi {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    .sobre-mi-foto-wrap {
        width: 140px;
        height: 140px;
    }
    .cierre-sobre-mi-texto {
        align-items: center;
    }
    .cierre-bio {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }
    .sobre-mi-sellos {
        justify-content: center;
    }
    .cierre-share {
        padding-left: 0;
        border-left: none;
        padding-top: 40px;
        border-top: 1px solid var(--border-subtle);
        align-items: center;
        text-align: center;
    }
    .cierre-share .cierre-bio {
        text-align: center;
    }
    .share-bar {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .cierre-section {
        padding: 60px 5% 32px;
    }
    .sobre-mi-foto-wrap {
        width: 120px;
        height: 120px;
    }
    .sobre-mi-sello {
        font-size: 10px;
        padding: 4px 10px;
    }
    .share-btn {
        width: 44px;
        height: 44px;
        font-size: 16px;
    }
}

/* ═══════════════════════════════════════════════════════════
   18. NOTIFICACIÓN SLIDE
   ═══════════════════════════════════════════════════════════ */
.notif-slide {
    position: fixed; top: 80px; left: 24px;
    max-width: 380px;
    background: var(--bg-surface);
    border: 1px solid var(--border-default);
    border-radius: var(--r-lg);
    padding: 16px;
    box-shadow: var(--shadow-xl);
    z-index: 99999;
    display: flex; align-items: flex-start; gap: 12px;
    transform: translateX(-500px);
    opacity: 0;
    transition: transform 0.5s var(--ease-spring), opacity 0.3s ease;
    pointer-events: none;
    color: var(--text-1);
    will-change: transform, opacity;
}
.notif-slide.show { transform: translateX(0); opacity: 1; pointer-events: all; }
.notif-slide.warning { border-color: var(--warning-border); }
.notif-slide.error { border-color: var(--danger-border); }
.notif-slide-icon {
    width: 40px; height: 40px;
    border-radius: var(--r-md);
    background: var(--success-bg);
    color: var(--success);
    display: flex; align-items: center; justify-content: center;
    font-size: 18px; flex-shrink: 0;
}
.notif-slide.warning .notif-slide-icon { background: var(--warning-bg); color: var(--warning); }
.notif-slide.error .notif-slide-icon { background: var(--danger-bg); color: var(--danger); }
.notif-slide-content { flex: 1; min-width: 0; }
.notif-slide-title {
    font-size: 14px; font-weight: 600;
    color: var(--text-1); margin-bottom: 4px;
    display: flex; align-items: center; gap: 6px;
}
.notif-slide-message { font-size: 12.5px; color: var(--text-2); line-height: 1.5; margin-bottom: 10px; }
.notif-slide-message strong {
    color: var(--accent);
    font-family: 'Space Grotesk', monospace;
    letter-spacing: 0.02em;
}
.notif-slide-actions { display: flex; gap: 8px; align-items: center; }
.notif-slide-btn {
    padding: 7px 12px;
    border-radius: var(--r-sm);
    border: none; font-size: 11.5px;
    font-weight: 600; cursor: pointer;
    font-family: inherit;
    transition: all 0.15s ease;
    display: inline-flex; align-items: center; gap: 5px;
    white-space: nowrap;
}
.notif-slide-btn-primary { background: var(--text-1); color: var(--bg-canvas); }
[data-theme="light"] .notif-slide-btn-primary { background: #0F0F14; color: #FFFFFF; }
.notif-slide-btn-primary:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); }
.notif-slide-close {
    background: var(--bg-input);
    border: 1px solid transparent;
    color: var(--text-3); cursor: pointer;
    padding: 0; border-radius: var(--r-sm);
    font-size: 12px; width: 26px; height: 26px;
    display: flex; align-items: center; justify-content: center;
    transition: all 0.15s ease;
    flex-shrink: 0;
}
.notif-slide-close:hover { background: var(--danger-bg); color: var(--danger); }

/* ═══════════════════════════════════════════════════════════
   19. MINI-RESEÑAS
   ═══════════════════════════════════════════════════════════ */
.resenas-mini-wrapper { margin-top: 16px; display: flex; flex-direction: column; gap: 10px; }
.resenas-mini-container {
    max-height: 130px; overflow-y: auto;
    display: flex; flex-direction: column;
    gap: 8px; padding-right: 6px;
}
.resenas-mini-container::-webkit-scrollbar { width: 4px; }
.resenas-mini-container::-webkit-scrollbar-thumb { background: var(--border-default); border-radius: 2px; }
.resena-mini {
    display: flex; gap: 10px;
    padding: 10px 12px;
    background: var(--bg-input);
    border: 1px solid var(--border-subtle);
    border-radius: var(--r-md);
    align-items: flex-start;
    transition: all 0.15s ease;
}
.resena-mini:hover { border-color: var(--border-default); background: var(--bg-raised); }
.resena-mini-avatar {
    width: 32px; height: 32px;
    border-radius: 50%; object-fit: cover;
    border: 1px solid var(--border-default);
    flex-shrink: 0; background: var(--bg-elevated);
    aspect-ratio: 1 / 1;
}
.resena-mini-content { flex: 1; min-width: 0; }
.resena-mini-head {
    display: flex; align-items: center; justify-content: space-between;
    gap: 8px; margin-bottom: 3px; flex-wrap: wrap;
}
.resena-mini-name { font-size: 12.5px; font-weight: 600; color: var(--text-1); }
.resena-mini-stars { display: inline-flex; gap: 1px; align-items: center; }
.resena-mini-stars .icon-svg { font-size: 10px; color: var(--border-default); }
.resena-mini-stars .icon-svg.filled { color: var(--accent); }
.resena-mini-stars .icon-svg.half { color: var(--accent); clip-path: inset(0 50% 0 0); }
.resena-mini-text {
    font-size: 11.5px; color: var(--text-2);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-style: italic;
}
.resenas-ver-todas {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 7px 12px;
    background: var(--bg-surface);
    border: 1px solid var(--border-default);
    border-radius: var(--r-md);
    color: var(--text-2);
    font-size: 11.5px; font-weight: 600;
    font-family: inherit; cursor: pointer;
    transition: all 0.15s ease;
    align-self: flex-start;
}
.resenas-ver-todas:hover {
    background: var(--bg-raised);
    color: var(--text-1);
    border-color: var(--border-strong);
}
.resenas-ver-todas .icon-svg { color: var(--accent); font-size: 12px; }

/* ═══════════════════════════════════════════════════════════
   20. EMAILS GUARDADOS
   ═══════════════════════════════════════════════════════════ */
#emailsGuardadosGroup { margin-bottom: 20px; }
#emailsGuardadosGroup .form-label {
    display: flex; align-items: center; gap: 6px;
    font-size: 12.5px; font-weight: 600;
    color: var(--text-2); margin-bottom: 10px;
    text-transform: none;
}
#emailsGuardadosGroup .form-label .icon-svg { color: var(--accent); font-size: 13px; }
.emails-chips { display: flex; flex-direction: column; gap: 8px; }
.email-chip {
    display: flex; align-items: center; gap: 12px;
    padding: 10px 14px;
    background: var(--bg-input);
    border: 1px solid transparent;
    border-radius: var(--r-md);
    cursor: pointer;
    transition: all 0.15s ease;
    font-family: inherit;
    text-align: left; width: 100%;
    position: relative; min-height: 54px;
}
.email-chip:hover { background: var(--bg-raised); border-color: var(--border-default); }
.email-chip.email-chip-removing { animation: emailChipRemove 0.2s ease forwards; }
.email-chip-avatar {
    width: 38px; height: 38px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-family: 'Instrument Serif', serif;
    font-size: 17px; font-weight: 700;
    color: var(--bg-canvas);
    flex-shrink: 0;
    border: 1px solid var(--border-default);
}
.email-chip-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.email-chip-nombre {
    font-size: 14px; font-weight: 600;
    color: var(--text-1);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    line-height: 1.2;
}
.email-chip-dominio {
    font-size: 11.5px; color: var(--text-3);
    font-family: 'Space Grotesk', monospace;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    line-height: 1.2;
}
.email-chip-arrow { color: var(--text-4); font-size: 14px; flex-shrink: 0; }
.email-chip:hover .email-chip-arrow { color: var(--accent); }
.email-chip-remove {
    position: absolute; top: 4px; right: 4px;
    width: 24px; height: 24px;
    border-radius: var(--r-xs);
    background: transparent; border: none;
    color: var(--text-4); cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: all 0.15s ease;
    opacity: 0; padding: 0;
}
.email-chip:hover .email-chip-remove { opacity: 1; }
.email-chip-remove:hover { background: var(--danger-bg); color: var(--danger); }
#emailsGuardadosSelect { display: none !important; }
.form-input.email-prefilled { animation: emailPrefilled 0.6s var(--ease-spring); }

/* ═══════════════════════════════════════════════════════════
   21. MODAL REGISTRO
   ═══════════════════════════════════════════════════════════ */
#registerSection .form-group { margin-bottom: 18px; }
#registerSection .form-label { text-transform: none; font-size: 12.5px; }
#registerSection .form-input {
    background: var(--bg-input);
    border-radius: var(--r-md);
    padding: 13px 16px;
}
#registerSection .input-status {
    position: absolute; right: 14px; top: 50%;
    transform: translateY(-50%);
    font-size: 15px; opacity: 0;
    pointer-events: none;
    transition: opacity 0.15s ease;
}
#registerSection .input-status.error { opacity: 1; color: var(--danger); }
#registerSection .input-status.success { opacity: 1; color: var(--success); }
#authTerminosWrapper { margin-bottom: 16px; }
#btnSolicitarCodigo { margin-top: 4px; }
#btnVolverAMetodosEmail {
    transition: all 0.15s ease;
    border-radius: var(--r-sm);
    padding: 6px 10px !important;
    margin-left: -10px;
}
#btnVolverAMetodosEmail:hover { background: var(--glass-hover); color: var(--accent) !important; }
#authTabs { margin-bottom: 20px; }

/* ═══════════════════════════════════════════════════════════
   22. ANIMACIONES
   ═══════════════════════════════════════════════════════════ */
@keyframes preloaderLogoIn { to { opacity: 1; } }
@keyframes preloaderBar {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}
@keyframes scrollDown {
    0% { transform: scaleY(0) translateZ(0); transform-origin: top; }
    50% { transform: scaleY(1) translateZ(0); transform-origin: top; }
    100% { transform: scaleY(0) translateZ(0); transform-origin: bottom; }
}
@keyframes modalIn {
    from { opacity: 0; transform: scale(0.96) translateY(8px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}
@keyframes mensajeIn {
    0% { opacity: 0; transform: scale(0.96); }
    100% { opacity: 1; transform: scale(1); }
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes hintSlideIn {
    from { opacity: 0; transform: translateY(-4px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes skeletonShimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}
@keyframes auroraFloat {
    0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
    33% { transform: translate3d(40px, -30px, 0) scale(1.1); }
    66% { transform: translate3d(-30px, 40px, 0) scale(0.9); }
}
@keyframes emailPrefilled {
    0% {
        border-color: var(--accent);
        box-shadow: 0 0 0 4px var(--accent-glow);
        transform: scale(1.005);
    }
    100% {
        border-color: transparent;
        box-shadow: none;
        transform: scale(1);
    }
}
@keyframes emailChipRemove {
    to {
        opacity: 0;
        transform: translateX(20px);
        max-height: 0;
        padding-top: 0;
        padding-bottom: 0;
        margin-bottom: -8px;
    }
}

/* ═══════════════════════════════════════════════════════════
   23. RESPONSIVE
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 968px) {
    .showcase-item {
        grid-template-columns: 1fr;
        gap: 24px; padding: 60px 0; min-height: auto;
    }
    .showcase-media-col,
    .showcase-info-col,
    .showcase-item:nth-child(even) .showcase-media-col,
    .showcase-item:nth-child(even) .showcase-info-col {
        order: 0; grid-row: auto;
    }
    .showcase-title { font-size: clamp(26px, 6vw, 38px); }
    .showcase-desc { font-size: 14px; }
    .skeleton-showcase { grid-template-columns: 1fr; gap: 30px; }
    .skeleton-showcase:nth-child(even) .skeleton-img { order: 0; }

    .booking-container { grid-template-columns: 1fr; }
    .booking-container::before {
        grid-column: 1; grid-row: 1;
        border-right: none;
        border-bottom: 1px solid var(--border-subtle);
        height: auto;
    }
    .booking-header {
        grid-column: 1; grid-row: 1;
        border-bottom: none;
        padding: 28px 24px 20px;
    }
    .booking-header::after { display: none; }
    .steps {
        grid-column: 1; grid-row: 2;
        flex-direction: row; justify-content: center;
        gap: 8px; padding: 16px 24px 20px;
        overflow-x: auto;
        border-bottom: 1px solid var(--border-subtle);
    }
    .step { padding: 8px 12px; flex-shrink: 0; }
    .step-num { width: 28px; height: 28px; font-size: 12px; }
    .step span:not(.step-num) { font-size: 11.5px; }
    #bookingForm { grid-column: 1; grid-row: 3; padding: 24px; }
    .form-row { grid-template-columns: 1fr; gap: 16px; }
}

@media (max-width: 768px) {
    body { cursor: auto; }
    .cursor-dot, .cursor-outline { display: none !important; }
    .hero-scroll-section { height: 260vh; }
    .hero-title { font-size: clamp(36px, 11vw, 64px); }
    .hero-cta { flex-direction: column; align-items: stretch; }
    .hero-slide-dots { bottom: 70px; }
    .section { padding: 60px 5% 40px; }
    .tour-content { width: calc(100vw - 32px) !important; }
    .tour-tooltip { left: 16px !important; right: 16px !important; }
    .tour-tooltip[data-pos="left"] .tour-arrow { display: none; }
    .notif-slide { top: 70px; left: 12px; right: 12px; max-width: none; }
    .aurora { opacity: 0.10; filter: blur(80px); }
    .aurora-1 { width: 400px; height: 400px; }
    .aurora-2 { width: 350px; height: 350px; }
    .aurora-3 { width: 300px; height: 300px; }
    .rate-widget { padding: 12px 14px; }
    .rate-widget-prompt { font-size: 13px; }
    .rate-widget-reviews-btn { padding: 8px 12px; font-size: 11.5px; }
    .stars-half .star-wrapper { width: 38px; height: 38px; }
    .stars-half .star-wrapper .star-bg,
    .stars-half .star-wrapper .star-fill { font-size: 34px; }
    .resenas-mini-container { max-height: 110px; }
    .resena-mini { padding: 8px 10px; }
    .resena-mini-avatar { width: 28px; height: 28px; }
    .resena-mini-name { font-size: 11.5px; }
    .resena-mini-text { font-size: 11px; }
}

@media (max-width: 640px) {
    .booking-header { padding: 24px 20px 16px; }
    .booking-title { font-size: 22px; }
    .booking-subtitle { font-size: 12px; }
    .steps { padding: 12px 20px 16px; }
    .step { padding: 6px 10px; }
    .step span:not(.step-num) { display: none; }
    .step-num { width: 26px; height: 26px; font-size: 11px; }
    #bookingForm { padding: 20px; }
    .form-group { margin-bottom: 18px; }
    .form-row { gap: 14px; margin-bottom: 18px; }
    .form-input, .form-select {
        padding: 13px 14px;
        font-size: 16px;
        border-radius: var(--r-sm);
    }
    .segmented label { padding: 10px 12px; font-size: 12.5px; }
    .calendar { padding: 16px; border-radius: var(--r-md); }
    .calendar-month { font-size: 18px; }
    .calendar-nav button { width: 30px; height: 30px; }
    .day-name { font-size: 9px; padding: 6px 0; }
    .day { font-size: 12px; }
    .horarios-grid { grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); gap: 6px; }
    .hora-btn { padding: 11px 6px; font-size: 12px; }
    .btn-submit { padding: 15px 20px; font-size: 14px; min-height: 50px; }
    .terminos { padding: 12px 14px; }
    .terminos span, .terminos > label { font-size: 12.5px; }
    .calendar-legend { gap: 10px; font-size: 9px; }
    .salon-info { padding: 10px 12px; font-size: 12px; }
}

@media (max-width: 480px) {
    .rate-widget { flex-direction: column; align-items: stretch; }
    .rate-widget-reviews-btn { justify-content: center; }
    .email-chip { padding: 10px 12px; gap: 10px; min-height: 50px; }
    .email-chip-avatar { width: 34px; height: 34px; font-size: 15px; }
    .email-chip-nombre { font-size: 13px; }
    .email-chip-dominio { font-size: 11px; }
    .email-chip-remove { width: 22px; height: 22px; opacity: 1; }
    .modal-head { padding: 24px 20px 10px; }
    .modal-body { padding: 16px 20px 22px; }
    .modal-title { font-size: 22px; }
}

/* ═══════════════════════════════════════════════════════════
   24. REDUCED MOTION
   ═══════════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    .aurora, .grid-bg { display: none !important; }
    .cursor-dot, .cursor-outline { display: none !important; }
    body { cursor: auto !important; }
    .showcase-item,
    .showcase-info .showcase-pill,
    .showcase-info .showcase-title,
    .showcase-info .showcase-desc,
    .showcase-info .showcase-stats,
    .showcase-info .showcase-tags,
    .showcase-info .showcase-cta,
    .showcase-img-wrap,
    .showcase-num-badge {
        opacity: 1 !important;
        transform: none !important;
    }
    .hero-slide { transition: none !important; }
    .hero-slide.active .hero-badge,
    .hero-slide.active .hero-title,
    .hero-slide.active .hero-desc,
    .hero-slide.active .hero-cta,
    .hero-slide.active .hero-stats {
        opacity: 1 !important;
        transform: none !important;
    }
    #preloader { display: none !important; }

    .sobre-mi-foto-ring { animation: none; }
    .sobre-mi-foto-wrap:hover img { transform: none; }
    .share-btn:hover { transform: none; }
    .miembro-card:hover { transform: none; }
    .miembro-cta-btn:hover { transform: none; }
}

/* ═══════════════════════════════════════════════════════════
   REGISTRO — SELECTOR DE MÉTODO
   ═══════════════════════════════════════════════════════════ */
.registro-metodo-selector {
    display: flex; flex-direction: column; gap: 12px;
    margin-bottom: 20px; width: 100%;
}
.registro-metodo-btn {
    width: 100%;
    display: flex; align-items: center; justify-content: center;
    gap: 12px; padding: 15px 20px;
    border-radius: var(--r-md);
    font-family: inherit;
    font-size: 14.5px; font-weight: 600;
    letter-spacing: -0.005em; cursor: pointer;
    transition: all 0.2s var(--ease);
    position: relative; overflow: hidden;
    min-height: 54px;
    background: var(--bg-input);
    border: 1.5px solid var(--border-default);
    color: var(--text-1);
}
.registro-metodo-btn:hover {
    background: var(--bg-raised);
    border-color: var(--border-strong);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}
.registro-metodo-btn:active { transform: translateY(0); box-shadow: var(--shadow-sm); }
.registro-metodo-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.registro-metodo-btn svg { flex-shrink: 0; width: 20px; height: 20px; }
.registro-metodo-btn span { text-align: center; }
#btnRegistroGoogle { background: #FFFFFF; border-color: rgba(0, 0, 0, 0.12); color: #1F1F1F; }
#btnRegistroGoogle:hover { background: #F8F9FA; border-color: rgba(0, 0, 0, 0.2); box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15); }
#btnRegistroEmail { background: var(--bg-raised); border-color: var(--border-default); color: var(--text-1); }
#btnRegistroEmail:hover { background: var(--bg-input-hover); border-color: var(--border-strong); box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15); }
@media (max-width: 640px) {
    .registro-metodo-btn { padding: 14px 16px; font-size: 14px; min-height: 50px; }
    .registro-metodo-btn svg { width: 18px; height: 18px; }
}

/* ═══════════════════════════════════════════════════════════
   MODAL DE SERVICIO — REDISEÑO PROFESIONAL v2.0
   ═══════════════════════════════════════════════════════════ */
#modalServicioDetalles {
    padding: 0;
    background: rgba(5, 5, 8, 0.92);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    z-index: 2000; overflow: hidden;
}
#modalServicioDetalles.active { display: flex; animation: modalFullIn 0.35s var(--ease-out); }
@keyframes modalFullIn { from { opacity: 0; } to { opacity: 1; } }

#modalServicioDetalles .modal-box.modal-servicio {
    max-width: 100vw; max-height: 100vh;
    width: 100%; height: 100%;
    margin: 10px; border-radius: 0; border: none;
    background: var(--bg-canvas);
    box-shadow: none;
    display: flex; flex-direction: column;
    overflow: hidden;
    animation: modalSlideUp 0.4s var(--ease-out);
    position: relative;
}
@keyframes modalSlideUp {
    from { transform: translateY(30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

#modalServicioDetalles .modal-box::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg,
        transparent 0%, var(--accent) 20%, var(--accent-bright) 50%,
        var(--accent) 80%, transparent 100%);
    z-index: 10; border-radius: 0;
}

#modalServicioDetalles .modal-head {
    position: sticky; top: 0; z-index: 20;
    background: var(--glass-strong);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 20px 32px 20px;
    border-bottom: 1px solid var(--border-subtle);
    text-align: left;
    display: flex; align-items: center; gap: 16px;
    padding-right: 80px; flex-shrink: 0;
}
#modalServicioDetalles .modal-head .modal-icon {
    width: 48px; height: 48px; margin: 0;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--accent), var(--accent-deep));
    border: none; color: var(--bg-canvas);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 8px 24px var(--accent-glow);
}
#modalServicioDetalles .modal-head .modal-icon .icon-svg { font-size: 22px; color: var(--bg-canvas); }
#modalServicioDetalles .modal-title {
    font-family: 'Instrument Serif', serif;
    font-size: clamp(20px, 3vw, 28px);
    font-weight: 400; letter-spacing: -0.025em;
    color: var(--text-1); margin: 0;
    text-align: left; line-height: 1.15;
}
#modalServicioDetalles .modal-title em { font-style: italic; color: var(--accent); }
#modalServicioDetalles .modal-subtitle {
    font-size: 12.5px; color: var(--text-3);
    padding: 0; margin: 2px 0 0; text-align: left;
}
#modalServicioDetalles .modal-close {
    position: absolute; top: 20px; right: 20px;
    width: 44px; height: 44px;
    border-radius: 14px;
    background: var(--bg-input);
    border: 1px solid var(--border-default);
    color: var(--text-2);
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    transition: all 0.2s var(--ease);
    z-index: 30; min-width: 44px; min-height: 44px;
}
#modalServicioDetalles .modal-close:hover {
    background: var(--danger-bg);
    border-color: var(--danger-border);
    color: var(--danger);
    transform: rotate(90deg) scale(1.05);
}
#modalServicioDetalles .modal-body {
    flex: 1; overflow-y: auto;
    padding: 0; max-height: none;
    max-width: 100%; margin: 0;
}
#modalServicioDetalles .modal-body::-webkit-scrollbar { width: 6px; }
#modalServicioDetalles .modal-body::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 3px; }
#modalServicioDetalles .video-frame {
    position: relative; width: 100%;
    max-height: 55vh; aspect-ratio: 16/9;
    background: #000; border-radius: 0;
    overflow: hidden; margin: 0;
}
#modalServicioDetalles .video-frame.active { display: block; }
#modalServicioDetalles .serv-img {
    width: 100%; max-height: 55vh;
    height: auto; object-fit: cover;
    border-radius: 0; margin: 0; display: none;
}
#modalServicioDetalles .serv-img.active { display: block; }
#modalServicioDetalles .serv-content-wrapper {
    max-width: 900px; margin: 0 auto;
    padding: 40px 32px 60px;
}
#modalServicioDetalles .serv-header {
    display: flex; justify-content: space-between;
    align-items: flex-start; gap: 20px;
    margin-bottom: 24px; flex-wrap: wrap;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border-subtle);
}
#modalServicioDetalles .serv-title-block { flex: 1; min-width: 0; }
#modalServicioDetalles .serv-title {
    font-family: 'Instrument Serif', serif;
    font-size: clamp(28px, 5vw, 44px);
    font-weight: 400; letter-spacing: -0.03em;
    color: var(--text-1); margin: 0 0 10px; line-height: 1.1;
}
#modalServicioDetalles .serv-price {
    font-size: clamp(22px, 3vw, 30px);
    font-weight: 600; color: var(--accent);
    font-family: 'Space Grotesk', monospace;
    display: inline-flex; align-items: center; gap: 8px;
    letter-spacing: -0.02em;
}
#modalServicioDetalles .serv-price::before { content: '💰'; font-size: 0.7em; filter: grayscale(0.3); }
#modalServicioDetalles .serv-badge {
    padding: 10px 18px;
    background: var(--success-bg);
    border: 1.5px solid var(--success-border);
    border-radius: 999px;
    font-size: 12px; font-weight: 700;
    color: var(--success);
    display: inline-flex; align-items: center; gap: 8px;
    height: fit-content;
    letter-spacing: 0.02em; text-transform: uppercase;
}
#modalServicioDetalles .serv-badge-dot {
    width: 8px; height: 8px;
    background: var(--success); border-radius: 50%;
    box-shadow: 0 0 8px var(--success);
    animation: pulseDot 2s infinite;
}
#modalServicioDetalles .serv-desc {
    font-size: 16px; line-height: 1.85;
    color: var(--text-2); margin: 0 0 36px;
    max-width: 100%; white-space: pre-line; font-weight: 400;
}
#modalServicioDetalles .serv-section { margin-bottom: 36px; }
#modalServicioDetalles .serv-label {
    font-size: 12px; font-weight: 700;
    letter-spacing: 0.18em; text-transform: uppercase;
    color: var(--accent); margin-bottom: 20px;
    display: flex; align-items: center; gap: 12px; padding: 0;
}
#modalServicioDetalles .serv-label .icon-svg { font-size: 14px; color: var(--accent); flex-shrink: 0; }
#modalServicioDetalles .serv-label::after {
    content: ''; flex: 1; height: 1px;
    background: linear-gradient(90deg, var(--border-default), transparent);
}
#modalServicioDetalles .chips {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 12px; margin: 0;
}
#modalServicioDetalles .chip {
    display: flex; align-items: flex-start; gap: 14px;
    padding: 16px 18px; border-radius: 16px;
    font-size: 14px; font-weight: 500;
    line-height: 1.5; text-align: left;
    transition: all 0.25s var(--ease);
    cursor: default; position: relative;
    overflow: hidden; min-height: 60px;
    letter-spacing: -0.005em;
}
#modalServicioDetalles .chip::before {
    content: ''; position: absolute;
    top: 0; left: 0; width: 3px; height: 100%;
    transition: width 0.3s var(--ease);
}
#modalServicioDetalles .chip .icon-svg {
    flex-shrink: 0; margin-top: 2px; font-size: 18px;
}
#modalServicioDetalles .chip > span:last-child,
#modalServicioDetalles .chip > *:not(.icon-svg) { flex: 1; }
#modalServicioDetalles .chip-purple {
    background: linear-gradient(135deg, rgba(212, 175, 122, 0.08), rgba(212, 175, 122, 0.02));
    border: 1px solid rgba(212, 175, 122, 0.25);
    color: var(--text-1);
    backdrop-filter: blur(8px);
}
#modalServicioDetalles .chip-purple::before { background: linear-gradient(180deg, var(--accent-bright), var(--accent-deep)); }
#modalServicioDetalles .chip-purple .icon-svg { color: var(--accent); }
#modalServicioDetalles .chip-purple:hover {
    background: linear-gradient(135deg, rgba(212, 175, 122, 0.14), rgba(212, 175, 122, 0.04));
    border-color: rgba(212, 175, 122, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(212, 175, 122, 0.15);
}
#modalServicioDetalles .chip-purple:hover::before { width: 5px; }
#modalServicioDetalles .chip-emerald {
    background: linear-gradient(135deg, rgba(52, 211, 153, 0.08), rgba(52, 211, 153, 0.02));
    border: 1px solid rgba(52, 211, 153, 0.25);
    color: var(--text-1);
    backdrop-filter: blur(8px);
}
#modalServicioDetalles .chip-emerald::before { background: linear-gradient(180deg, var(--success), #059669); }
#modalServicioDetalles .chip-emerald .icon-svg { color: var(--success); }
#modalServicioDetalles .chip-emerald:hover {
    background: linear-gradient(135deg, rgba(52, 211, 153, 0.14), rgba(52, 211, 153, 0.04));
    border-color: rgba(52, 211, 153, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(52, 211, 153, 0.15);
}
#modalServicioDetalles .chip-emerald:hover::before { width: 5px; }
#modalServicioDetalles .serv-cta-block {
    padding: 28px;
    background: linear-gradient(135deg, var(--bg-elevated), var(--bg-surface));
    border: 1px solid var(--border-default);
    border-radius: 24px; margin-top: 16px;
    position: relative; overflow: hidden;
}
#modalServicioDetalles .serv-cta-block::before {
    content: ''; position: absolute;
    top: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
}
#modalServicioDetalles .serv-cta-hint {
    display: flex; align-items: center; gap: 10px;
    font-size: 13px; color: var(--text-3);
    margin-bottom: 20px; justify-content: center;
    font-weight: 500;
}
#modalServicioDetalles .serv-cta-hint .icon-svg { color: var(--accent); font-size: 16px; }
#modalServicioDetalles #modalServicioReservar {
    width: 100%; padding: 18px 28px;
    background: linear-gradient(135deg, var(--accent-bright), var(--accent), var(--accent-deep));
    border: none; border-radius: 999px;
    color: var(--bg-canvas);
    font-family: inherit; font-size: 16px;
    font-weight: 700; letter-spacing: 0.01em;
    cursor: pointer;
    transition: all 0.25s var(--ease);
    display: inline-flex; align-items: center; justify-content: center;
    gap: 12px; min-height: 58px;
    box-shadow: 0 12px 32px var(--accent-glow);
    text-transform: uppercase;
    will-change: transform, box-shadow;
}
#modalServicioDetalles #modalServicioReservar:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 48px rgba(212, 175, 122, 0.4);
    filter: brightness(1.05);
}
#modalServicioDetalles #modalServicioReservar:active { transform: translateY(-1px); }
#modalServicioDetalles #modalServicioReservar .icon-svg { font-size: 18px; }

@media (max-width: 768px) {
    #modalServicioDetalles .modal-head { padding: 16px 20px; padding-right: 70px; gap: 12px; }
    #modalServicioDetalles .modal-head .modal-icon { width: 40px; height: 40px; border-radius: 12px; }
    #modalServicioDetalles .modal-head .modal-icon .icon-svg { font-size: 18px; }
    #modalServicioDetalles .modal-title { font-size: 18px; }
    #modalServicioDetalles .modal-subtitle { font-size: 11px; }
    #modalServicioDetalles .modal-close { width: 40px; height: 40px; top: 16px; right: 16px; }
    #modalServicioDetalles .video-frame,
    #modalServicioDetalles .serv-img { max-height: 40vh; }
    #modalServicioDetalles .serv-content-wrapper { padding: 24px 20px 40px; }
    #modalServicioDetalles .serv-title { font-size: 26px; }
    #modalServicioDetalles .serv-price { font-size: 20px; }
    #modalServicioDetalles .serv-desc { font-size: 15px; line-height: 1.75; }
    #modalServicioDetalles .chips { grid-template-columns: 1fr; gap: 10px; }
    #modalServicioDetalles .chip { padding: 14px 16px; font-size: 13.5px; }
    #modalServicioDetalles .serv-cta-block { padding: 20px; border-radius: 20px; }
    #modalServicioDetalles #modalServicioReservar { font-size: 14px; padding: 16px 20px; min-height: 52px; }
}
@media (max-width: 480px) {
    #modalServicioDetalles .serv-content-wrapper { padding: 20px 16px 32px; }
    #modalServicioDetalles .modal-head { padding: 14px 16px; padding-right: 62px; }
    #modalServicioDetalles .modal-title { font-size: 16px; }
    #modalServicioDetalles .modal-subtitle { display: none; }
}

/* ═══════════════════════════════════════════════════════════
   25. PAGESPEED — Optimización de renderizado
   ═══════════════════════════════════════════════════════════ */
#testimonios,
#hazte-miembro,
#reservas,
.cierre-section,
footer {
    content-visibility: auto;
    contain-intrinsic-size: auto 800px;
}

.services-skeleton,
.testimonials-wrapper,
.reservas-grid {
    content-visibility: auto;
}

.modal-overlay {
    content-visibility: auto;
}

@media (max-width: 968px) {
    .showcase-item {
        content-visibility: auto;
        contain-intrinsic-size: auto 500px;
    }
}
 
 
/* ─── Fin del fix PageSpeed v2 ─── */


/* ═══════════════════════════════════════════════════════════
   27. HERO RATING WIDGET
   Widget de confianza del hero slide 0:
   "⭐ 4.9 de 5 · 120 reseñas verificadas"
   ═══════════════════════════════════════════════════════════ */

.hero-rating-widget {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--r-pill);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    margin-bottom: 32px;
    font-size: 13px;
    transition: transform 0.25s var(--ease), background 0.25s var(--ease);
    will-change: transform;
}

.hero-rating-widget:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.08);
}

[data-theme="light"] .hero-rating-widget {
    background: rgba(0, 0, 0, 0.04);
    border-color: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .hero-rating-widget:hover {
    background: rgba(0, 0, 0, 0.06);
}

.hero-rating-estrellas {
    display: inline-flex;
    gap: 2px;
    align-items: center;
}

.hero-rating-estrellas .icon-svg {
    font-size: 14px;
    color: var(--accent);
    filter: drop-shadow(0 0 4px var(--accent-glow));
    transition: transform 0.2s var(--ease-spring);
}

.hero-rating-estrellas .icon-svg.filled {
    color: var(--accent);
}

.hero-rating-widget:hover .hero-rating-estrellas .icon-svg {
    transform: scale(1.08);
}

.hero-rating-texto {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
    white-space: nowrap;
    line-height: 1.2;
    letter-spacing: -0.005em;
}

[data-theme="light"] .hero-rating-texto {
    color: rgba(15, 15, 20, 0.75);
}

.hero-rating-texto strong {
    color: #FFFFFF;
    font-weight: 700;
    font-size: 14px;
}

[data-theme="light"] .hero-rating-texto strong {
    color: #0F0F14;
}

.hero-rating-texto span {
    opacity: 0.7;
}

/* ─── Responsive ─── */
@media (max-width: 640px) {
    .hero-rating-widget {
        padding: 8px 16px;
        gap: 10px;
        font-size: 12px;
        margin-bottom: 24px;
    }
    .hero-rating-estrellas .icon-svg {
        font-size: 12px;
    }
    .hero-rating-texto strong {
        font-size: 13px;
    }
}

@media (max-width: 400px) {
    .hero-rating-texto span {
        display: none;
    }
    .hero-rating-texto::after {
        content: ' reseñas';
        opacity: 0.7;
    }
}

/* ─── Reducción de movimiento ─── */
@media (prefers-reduced-motion: reduce) {
    .hero-rating-widget,
    .hero-rating-estrellas .icon-svg {
        transition: none;
    }
    .hero-rating-widget:hover {
        transform: none;
    }
    .hero-rating-widget:hover .hero-rating-estrellas .icon-svg {
        transform: none;
    }
}

/* ─── Fin del widget de rating ─── */
 
 
/* ═══════════════════════════════════════════════════════════
   28. FOOTER — LINKS INLINE
   ═══════════════════════════════════════════════════════════ */

.footer-links-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.footer-link-inline {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-3);
    text-decoration: none;
    transition: color 0.2s var(--ease);
    padding: 4px 6px;
    border-radius: var(--r-sm);
}

.footer-link-inline:hover {
    color: var(--accent);
}

.footer-link-inline .icon-svg {
    color: var(--accent);
    opacity: 0.7;
    transition: opacity 0.2s var(--ease);
}

.footer-link-inline:hover .icon-svg {
    opacity: 1;
}

.footer-link-sep {
    color: var(--text-4);
    font-size: 14px;
    user-select: none;
}

@media (max-width: 480px) {
    .footer-links-row { gap: 8px; }
    .footer-link-inline { font-size: 12px; padding: 3px 4px; }
    .footer-link-inline span { display: inline; }
}