/* ========================================
   SKIN STUDIO - DISEÑO ULTRA PREMIUM
   Nivel Mundial - 100% Mobile First
   ======================================== */

/* Variables CSS - Paleta Premium */
:root {
    /* Colores Premium */
    --gold: #D4AF37;
    --gold-light: #F5E6B3;
    --gold-dark: #AA8C2C;
    --gold-glow: rgba(212, 175, 55, 0.5);
    --rose: #E8B4B8;
    --rose-light: #F5D5D8;
    --rose-dark: #C48B8F;
    
    /* Fondos Oscuros */
    --bg-primary: #0A0A0A;
    --bg-secondary: #111111;
    --bg-card: #161616;
    --bg-elevated: #1C1C1C;
    --bg-glass: rgba(20, 20, 20, 0.95);
    
    /* Texto */
    --text-primary: #FFFFFF;
    --text-secondary: #E5E5E5;
    --text-muted: #999999;
    --text-subtle: #666666;
    
    /* Estados */
    --success: #00E676;
    --success-glow: rgba(0, 230, 118, 0.3);
    --error: #FF5252;
    --warning: #FFB300;
    --info: #448AFF;
    
    /* Tipografía */
    --font-display: 'Playfair Display', Georgia, serif;
    --font-elegant: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Espaciado */
    --nav-height: 56px;
    --header-height: 70px;
    --safe-bottom: env(safe-area-inset-bottom, 0);
    
    /* Bordes y sombras */
    --border-glow: 1px solid rgba(212, 175, 55, 0.3);
    --shadow-gold: 0 10px 40px rgba(212, 175, 55, 0.2);
    --shadow-dark: 0 20px 60px rgba(0, 0, 0, 0.5);
}

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

html {
    scroll-behavior: smooth;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: var(--font-body);
    background: var(--bg-primary);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.6;
}

/* ========================================
   PANTALLA DE BIENVENIDA PREMIUM
   ======================================== */
.welcome-screen {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.welcome-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.welcome-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.welcome-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.3) saturate(0.8);
}

.welcome-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at 30% 20%, rgba(212, 175, 55, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 80%, rgba(232, 180, 184, 0.1) 0%, transparent 50%),
        linear-gradient(180deg, rgba(10, 10, 10, 0.7) 0%, rgba(10, 10, 10, 0.9) 100%);
    z-index: 1;
}

.welcome-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    pointer-events: none;
}

.particle {
    position: absolute;
    color: var(--gold);
    font-size: 14px;
    opacity: 0;
    animation: sparkle 4s ease-in-out infinite;
}

.particle:nth-child(1) { top: 10%; left: 10%; animation-delay: 0s; }
.particle:nth-child(2) { top: 15%; right: 15%; animation-delay: 0.5s; }
.particle:nth-child(3) { top: 40%; left: 5%; animation-delay: 1s; }
.particle:nth-child(4) { top: 50%; right: 8%; animation-delay: 1.5s; }
.particle:nth-child(5) { top: 70%; left: 12%; animation-delay: 2s; }
.particle:nth-child(6) { top: 80%; right: 20%; animation-delay: 2.5s; }
.particle:nth-child(7) { top: 25%; left: 25%; animation-delay: 3s; }
.particle:nth-child(8) { top: 85%; left: 50%; animation-delay: 3.5s; }

@keyframes sparkle {
    0%, 100% { 
        opacity: 0; 
        transform: scale(0.5) rotate(0deg); 
    }
    50% { 
        opacity: 0.8; 
        transform: scale(1.2) rotate(180deg); 
    }
}

.welcome-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 40px 25px;
    width: 100%;
    max-width: 420px;
}

.welcome-logo {
    margin-bottom: 45px;
    position: relative;
}

.logo-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, var(--gold-glow) 0%, transparent 70%);
    filter: blur(40px);
    opacity: 0.6;
    animation: glow-pulse 3s ease-in-out infinite;
}

@keyframes glow-pulse {
    0%, 100% { opacity: 0.4; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 0.7; transform: translate(-50%, -50%) scale(1.1); }
}

.logo-icon {
    width: 110px;
    height: 110px;
    margin: 0 auto 30px;
    background: linear-gradient(145deg, var(--gold-light) 0%, var(--gold) 50%, var(--gold-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 
        0 0 60px var(--gold-glow),
        inset 0 2px 10px rgba(255, 255, 255, 0.3);
    animation: icon-float 4s ease-in-out infinite;
}

@keyframes icon-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.logo-icon::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    background: linear-gradient(145deg, var(--gold), transparent, var(--gold));
    z-index: -1;
    animation: rotate-border 8s linear infinite;
}

@keyframes rotate-border {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.logo-icon i {
    font-size: 48px;
    color: var(--bg-primary);
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

.logo-title {
    font-family: var(--font-display);
    font-size: 56px;
    font-weight: 700;
    letter-spacing: 14px;
    background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 50%, var(--gold-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
    text-shadow: 0 0 60px var(--gold-glow);
}

.logo-subtitle {
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 400;
    letter-spacing: 10px;
    color: var(--text-secondary);
    margin-bottom: 25px;
}

.logo-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-bottom: 18px;
}

.logo-divider span {
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.logo-divider i {
    color: var(--rose);
    font-size: 20px;
    animation: icon-float 3s ease-in-out infinite;
}

.logo-tagline {
    font-family: var(--font-elegant);
    font-size: 20px;
    font-style: italic;
    color: var(--rose-light);
    letter-spacing: 1px;
}

.welcome-actions {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 40px;
}

.welcome-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 20px 32px;
    border-radius: 60px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2.5px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    overflow: hidden;
}

.welcome-btn.primary {
    background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 50%, var(--gold-dark) 100%);
    color: var(--bg-primary);
    box-shadow: 0 15px 45px rgba(212, 175, 55, 0.35);
}

.btn-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: left 0.6s ease;
}

.welcome-btn.primary:hover .btn-shine {
    left: 100%;
}

.welcome-btn.primary:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 20px 60px rgba(212, 175, 55, 0.45);
}

.welcome-btn.primary:active {
    transform: translateY(-2px) scale(1);
}

.welcome-btn.secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid rgba(212, 175, 55, 0.4);
    backdrop-filter: blur(10px);
}

.welcome-btn.secondary:hover {
    background: rgba(212, 175, 55, 0.1);
    border-color: var(--gold);
    transform: translateY(-2px);
}

.welcome-footer {
    position: relative;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 15px;
}

.social-icons a {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(212, 175, 55, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-size: 18px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background: var(--gold);
    color: var(--bg-primary);
    transform: translateY(-3px);
}

.welcome-footer p {
    font-family: var(--font-elegant);
    font-size: 14px;
    font-style: italic;
    color: var(--text-muted);
}

/* ========================================
   MODALES BASE
   ======================================== */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    display: none;
    align-items: flex-end;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    position: relative;
    width: 100%;
    max-width: 500px;
    max-height: 95vh;
    background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
    border-radius: 35px 35px 0 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: slideUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-top: 1px solid rgba(212, 175, 55, 0.2);
}

@keyframes slideUp {
    from { transform: translateY(100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 25px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.08) 0%, transparent 100%);
    border-bottom: 1px solid rgba(212, 175, 55, 0.15);
}

.modal-title-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
}

.modal-icon {
    width: 50px;
    height: 50px;
    border-radius: 15px;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-primary);
    font-size: 22px;
}

.modal-header h2 {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 600;
    color: var(--text-primary);
}

.modal-subtitle {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 3px;
}

.close-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.close-btn:hover {
    background: var(--error);
    border-color: var(--error);
    color: white;
    transform: rotate(90deg);
}

.modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 25px;
    -webkit-overflow-scrolling: touch;
}

.modal-footer {
    padding: 20px 25px;
    padding-bottom: calc(25px + var(--safe-bottom));
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(0, 0, 0, 0.4);
}

/* ========================================
   MODAL BÚSQUEDA DE CITAS
   ======================================== */
.search-modal {
    max-height: 85vh;
}

.search-illustration {
    width: 90px;
    height: 90px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.15) 0%, rgba(212, 175, 55, 0.05) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(212, 175, 55, 0.2);
}

.search-illustration i {
    font-size: 36px;
    color: var(--gold);
}

.search-description {
    text-align: center;
    color: var(--text-secondary);
    font-size: 15px;
    margin-bottom: 30px;
    line-height: 1.7;
}

.search-input-wrapper {
    position: relative;
    margin-bottom: 20px;
}

.search-input-wrapper > i:first-child {
    position: absolute;
    left: 22px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gold);
    font-size: 20px;
}

.search-input-wrapper input {
    width: 100%;
    padding: 22px 55px;
    border-radius: 18px;
    border: 2px solid rgba(212, 175, 55, 0.25);
    background: var(--bg-card);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    text-align: center;
    transition: all 0.3s ease;
}

.search-input-wrapper input::placeholder {
    color: var(--text-subtle);
    letter-spacing: 2px;
    text-transform: none;
    font-weight: 400;
}

.search-input-wrapper input:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 5px rgba(212, 175, 55, 0.1), var(--shadow-gold);
}

.input-clear {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    opacity: 0;
    transition: all 0.3s ease;
}

.search-input-wrapper input:not(:placeholder-shown) + .input-clear {
    opacity: 1;
}

.input-clear:hover {
    background: var(--error);
    color: white;
}

.search-btn-main {
    width: 100%;
    padding: 20px;
    border-radius: 18px;
    border: none;
    background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 50%, var(--gold-dark) 100%);
    color: var(--bg-primary);
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 2px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-gold);
}

.search-btn-main:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 50px rgba(212, 175, 55, 0.4);
}

.search-btn-main:active {
    transform: translateY(-1px);
}

/* Resultado de búsqueda */
.search-result {
    margin-top: 30px;
    padding: 25px;
    background: var(--bg-card);
    border-radius: 22px;
    border: 1px solid rgba(212, 175, 55, 0.15);
}

.result-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 22px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.result-folio {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 700;
    color: var(--gold);
}

.result-status {
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.result-status.pendiente { 
    background: rgba(255, 179, 0, 0.15); 
    color: var(--warning); 
    border: 1px solid rgba(255, 179, 0, 0.3); 
}
.result-status.confirmada { 
    background: rgba(68, 138, 255, 0.15); 
    color: var(--info); 
    border: 1px solid rgba(68, 138, 255, 0.3); 
}
.result-status.completada { 
    background: rgba(0, 230, 118, 0.15); 
    color: var(--success); 
    border: 1px solid rgba(0, 230, 118, 0.3); 
}
.result-status.cancelada { 
    background: rgba(255, 82, 82, 0.15); 
    color: var(--error); 
    border: 1px solid rgba(255, 82, 82, 0.3); 
}

.result-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.result-row:last-child { 
    border-bottom: none;
    padding-top: 18px;
    margin-top: 5px;
}

.result-label {
    color: var(--text-muted);
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.result-label i {
    color: var(--gold);
    font-size: 14px;
    opacity: 0.7;
}

.result-value {
    color: var(--text-primary);
    font-size: 15px;
    font-weight: 600;
    text-align: right;
    max-width: 55%;
}

.result-total {
    color: var(--gold) !important;
    font-family: var(--font-display);
    font-size: 26px !important;
    font-weight: 700;
}

.result-not-found {
    text-align: center;
    padding: 40px 20px;
}

.result-not-found i {
    font-size: 60px;
    color: var(--text-subtle);
    margin-bottom: 20px;
    display: block;
}

.result-not-found p {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.7;
}

.result-not-found strong {
    color: var(--gold);
}

/* ========================================
   APP HEADER
   ======================================== */
.main-app {
    min-height: 100vh;
    background: var(--bg-primary);
}

.app-header {
    position: relative;
    z-index: 100;
    background: linear-gradient(180deg, var(--bg-primary) 0%, rgba(10, 10, 10, 0.98) 100%);
    padding: 18px 20px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.12);
}

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

.back-btn, .search-btn-header {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(212, 175, 55, 0.08);
    border: 1px solid rgba(212, 175, 55, 0.2);
    color: var(--gold);
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-btn:hover, .search-btn-header:hover {
    background: var(--gold);
    color: var(--bg-primary);
    transform: scale(1.05);
}

.header-logo {
    display: flex;
    align-items: center;
    gap: 14px;
}

.header-logo > i {
    color: var(--gold);
    font-size: 30px;
    filter: drop-shadow(0 0 10px var(--gold-glow));
}

.header-text h1 {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 2px;
}

.header-text p {
    font-size: 11px;
    color: var(--text-muted);
    letter-spacing: 1px;
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero-section {
    position: relative;
    height: 280px;
    overflow: hidden;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0;
    transition: opacity 1s ease;
}

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

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        180deg, 
        rgba(10, 10, 10, 0.2) 0%, 
        rgba(10, 10, 10, 0.5) 50%,
        rgba(10, 10, 10, 0.95) 100%
    );
}

.hero-content {
    position: absolute;
    bottom: 35px;
    left: 20px;
    right: 20px;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(212, 175, 55, 0.15);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 30px;
    font-size: 11px;
    font-weight: 600;
    color: var(--gold);
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.hero-badge i {
    font-size: 12px;
}

.hero-content h2 {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
    line-height: 1.2;
}

.hero-content p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--gold);
    font-size: 18px;
    opacity: 0.6;
    animation: bounce 2s infinite;
}

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

/* Promo Banner */
.promo-banner {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.12) 0%, rgba(232, 180, 184, 0.08) 100%);
    border-bottom: 1px solid rgba(212, 175, 55, 0.15);
    padding: 14px 20px;
}

.promo-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 14px;
    color: var(--text-secondary);
}

.promo-content i {
    color: var(--gold);
    font-size: 18px;
}

.promo-content strong {
    color: var(--gold);
}

/* ========================================
   CONTENIDO PRINCIPAL
   ======================================== */
.main-content {
    padding: 25px 18px calc(var(--nav-height) + 100px);
}

/* Loading */
.loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 70px 20px;
    gap: 18px;
}

.loading-spinner {
    width: 55px;
    height: 55px;
    border: 3px solid rgba(212, 175, 55, 0.15);
    border-top-color: var(--gold);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.loading p {
    color: var(--text-muted);
    font-size: 14px;
}

/* ========================================
   SECCIÓN DE CATEGORÍAS
   ======================================== */
.category-section {
    margin-bottom: 35px;
}

.category-header {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 0;
    margin-bottom: 18px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.15);
}

.category-icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: linear-gradient(145deg, var(--gold-light) 0%, var(--gold) 50%, var(--gold-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--bg-primary);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.25);
}

.category-title {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 600;
    color: var(--text-primary);
}

/* Tarjeta de Servicio */
.service-card {
    display: flex;
    gap: 16px;
    padding: 18px;
    background: linear-gradient(145deg, var(--bg-card) 0%, var(--bg-elevated) 100%);
    border-radius: 20px;
    margin-bottom: 14px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(145deg, rgba(212, 175, 55, 0.05) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.service-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.service-card.selected {
    border-color: var(--gold);
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.15), var(--shadow-gold);
}

.service-card.selected::after {
    content: '✓';
    position: absolute;
    top: 12px;
    right: 12px;
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    color: var(--bg-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
    animation: checkPop 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes checkPop {
    0% { transform: scale(0); }
    60% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.service-image {
    width: 95px;
    height: 95px;
    border-radius: 16px;
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid rgba(212, 175, 55, 0.15);
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

.service-image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(145deg, var(--bg-elevated), var(--bg-card));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: var(--rose);
}

.service-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.service-name {
    font-family: var(--font-body);
    font-size: 17px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.service-description {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.service-price {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 700;
    color: var(--gold);
}

/* ========================================
   BARRA DE PEDIDO FLOTANTE
   ======================================== */
.order-bar {
    position: fixed;
    bottom: calc(var(--nav-height) + 10px);
    left: 15px;
    right: 15px;
    z-index: 90;
    animation: slideUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.order-bar-inner {
    background: linear-gradient(145deg, var(--bg-card) 0%, var(--bg-primary) 100%);
    border: 2px solid var(--gold);
    border-radius: 22px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 -10px 50px rgba(212, 175, 55, 0.25), var(--shadow-dark);
}

.order-info {
    display: flex;
    align-items: center;
    gap: 14px;
}

.order-badge {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    color: var(--bg-primary);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}

.order-details {
    display: flex;
    flex-direction: column;
}

.order-label {
    font-size: 12px;
    color: var(--text-muted);
    letter-spacing: 0.5px;
}

.order-total {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    color: var(--gold);
}

.order-btn {
    background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 50%, var(--gold-dark) 100%);
    color: var(--bg-primary);
    border: none;
    border-radius: 16px;
    padding: 16px 26px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.3);
}

.order-btn:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.45);
}

/* ========================================
   NAVEGACIÓN INFERIOR
   ======================================== */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    background: var(--bg-primary);
    border-top: 1px solid rgba(212, 175, 55, 0.12);
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding-bottom: var(--safe-bottom);
    z-index: 100;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    text-decoration: none;
    color: var(--text-muted);
    font-size: 10px;
    font-weight: 500;
    padding: 6px 16px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-item i {
    font-size: 18px;
    transition: all 0.3s ease;
}

.nav-item.active {
    color: var(--gold);
}

.nav-item.active i {
    transform: translateY(-2px);
}

.nav-item:hover {
    color: var(--gold);
}

.nav-badge {
    position: absolute;
    top: 2px;
    right: 8px;
    min-width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--gold);
    color: var(--bg-primary);
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ========================================
   MODAL CARRITO
   ======================================== */
.cart-modal {
    max-height: 95vh;
}

.cart-section {
    margin-bottom: 25px;
}

.cart-items {
    margin-bottom: 18px;
}

.cart-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    background: var(--bg-card);
    border-radius: 16px;
    margin-bottom: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.cart-item-qty {
    display: flex;
    align-items: center;
    gap: 10px;
}

.qty-btn {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    border: 1px solid rgba(212, 175, 55, 0.25);
    background: transparent;
    color: var(--gold);
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qty-btn:hover {
    background: var(--gold);
    color: var(--bg-primary);
}

.qty-number {
    font-weight: 700;
    min-width: 28px;
    text-align: center;
    font-size: 17px;
    color: var(--text-primary);
}

.cart-item-info {
    flex: 1;
    min-width: 0;
}

.cart-item-name {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cart-item-unit {
    font-size: 13px;
    color: var(--text-muted);
}

.cart-item-price {
    font-family: var(--font-display);
    font-size: 19px;
    font-weight: 700;
    color: var(--gold);
}

.cart-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.12) 0%, rgba(212, 175, 55, 0.05) 100%);
    border-radius: 18px;
    border: 1px solid rgba(212, 175, 55, 0.25);
}

.total-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 1.5px;
}

.total-price {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 700;
    color: var(--gold);
}

/* Títulos de sección */
.section-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-display);
    font-size: 19px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.section-title i {
    color: var(--gold);
    font-size: 20px;
}

/* ========================================
   CALENDARIO
   ======================================== */
.calendar-section {
    margin-bottom: 28px;
}

.calendar-container {
    background: var(--bg-card);
    border-radius: 22px;
    padding: 22px;
    border: 1px solid rgba(212, 175, 55, 0.1);
}

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

.cal-nav {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.2);
    color: var(--gold);
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cal-nav:hover {
    background: var(--gold);
    color: var(--bg-primary);
}

.calendar-header > span {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 600;
}

.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    margin-bottom: 12px;
}

.calendar-weekdays span {
    text-align: center;
    font-size: 13px;
    font-weight: 700;
    color: var(--gold);
    padding: 12px 0;
}

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

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    font-weight: 600;
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.02);
    color: var(--text-secondary);
}

.calendar-day:not(.empty):not(.disabled):not(.unavailable):hover {
    background: rgba(212, 175, 55, 0.2);
    transform: scale(1.05);
}

.calendar-day.selected {
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    color: var(--bg-primary);
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}

.calendar-day.disabled {
    opacity: 0.25;
    cursor: not-allowed;
}

.calendar-day.unavailable {
    color: var(--error);
    opacity: 0.4;
    cursor: not-allowed;
    text-decoration: line-through;
}

.calendar-day.empty {
    cursor: default;
}

/* ========================================
   HORARIOS
   ======================================== */
.time-section {
    margin-bottom: 28px;
}

.time-slots {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.time-slot {
    padding: 18px 12px;
    border-radius: 14px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    background: var(--bg-card);
    color: var(--text-primary);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.time-slot:hover:not(.unavailable):not(:disabled) {
    border-color: var(--gold);
    background: rgba(212, 175, 55, 0.1);
    transform: translateY(-2px);
}

.time-slot.selected {
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    color: var(--bg-primary);
    border-color: var(--gold);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}

.time-slot.unavailable {
    opacity: 0.25;
    cursor: not-allowed;
    text-decoration: line-through;
}

/* ========================================
   INPUT DE NOMBRE
   ======================================== */
.name-section {
    margin-bottom: 25px;
}

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

.name-input-wrapper > i {
    position: absolute;
    left: 22px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gold);
    font-size: 22px;
}

.name-input {
    width: 100%;
    padding: 22px 22px 22px 60px;
    border-radius: 18px;
    border: 2px solid rgba(212, 175, 55, 0.25);
    background: var(--bg-card);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 18px;
    transition: all 0.3s ease;
}

.name-input::placeholder {
    color: var(--text-subtle);
}

.name-input:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 5px rgba(212, 175, 55, 0.1), var(--shadow-gold);
}

/* ========================================
   BOTÓN CONFIRMAR
   ======================================== */
.confirm-btn {
    width: 100%;
    padding: 20px;
    border-radius: 18px;
    border: none;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 1px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 35px rgba(37, 211, 102, 0.25);
}

.confirm-btn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.confirm-btn:not(:disabled):hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 50px rgba(37, 211, 102, 0.35);
}

.confirm-btn i {
    font-size: 24px;
}

/* ========================================
   MODAL CONFIRMACIÓN
   ======================================== */
.confirmation-modal {
    max-width: 420px;
    margin: auto;
    border-radius: 35px;
    text-align: center;
    padding: 45px 30px 35px;
    position: relative;
    overflow: hidden;
}

.confetti-container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    overflow: hidden;
    pointer-events: none;
}

.confirmation-icon {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--success) 0%, #00C853 100%);
    color: white;
    font-size: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 28px;
    position: relative;
    box-shadow: 0 15px 50px var(--success-glow);
    animation: successPop 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes successPop {
    0% { transform: scale(0); }
    60% { transform: scale(1.15); }
    100% { transform: scale(1); }
}

.icon-ring {
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    border: 2px solid var(--success);
    opacity: 0.3;
    animation: ringPulse 2s ease-in-out infinite;
}

@keyframes ringPulse {
    0%, 100% { transform: scale(1); opacity: 0.3; }
    50% { transform: scale(1.1); opacity: 0.1; }
}

.confirmation-modal h2 {
    font-family: var(--font-display);
    font-size: 34px;
    color: var(--gold);
    margin-bottom: 12px;
}

.confirmation-text {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.folio-card {
    background: linear-gradient(145deg, rgba(212, 175, 55, 0.12) 0%, rgba(212, 175, 55, 0.05) 100%);
    border: 2px solid var(--gold);
    border-radius: 22px;
    padding: 28px 25px;
    margin-bottom: 25px;
    position: relative;
}

.folio-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gold);
    color: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin: 0 auto 15px;
}

.folio-label {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.folio-number {
    display: block;
    font-family: var(--font-display);
    font-size: 38px;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 5px;
    margin-bottom: 10px;
}

.folio-hint {
    font-size: 12px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.folio-hint i {
    font-size: 14px;
}

.whatsapp-notice {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px;
    background: rgba(37, 211, 102, 0.1);
    border-radius: 14px;
    margin-bottom: 25px;
    text-align: left;
}

.whatsapp-notice i {
    font-size: 32px;
    color: #25D366;
    flex-shrink: 0;
}

.whatsapp-notice p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.understood-btn {
    width: 100%;
    padding: 20px;
    border-radius: 18px;
    border: none;
    background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 50%, var(--gold-dark) 100%);
    color: var(--bg-primary);
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 1px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-gold);
}

.understood-btn:hover {
    transform: scale(1.02);
    box-shadow: 0 15px 45px rgba(212, 175, 55, 0.4);
}

/* ========================================
   TOAST NOTIFICATIONS
   ======================================== */
#toastContainer {
    position: fixed;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 99999;
    pointer-events: none;
}

.toast {
    padding: 16px 28px;
    border-radius: 14px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 10px;
    animation: toastIn 0.3s ease, toastOut 0.3s ease 2.7s forwards;
    max-width: 90vw;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

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

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

.toast.info { background: rgba(68, 138, 255, 0.95); color: white; }
.toast.success { background: rgba(0, 230, 118, 0.95); color: #000; }
.toast.warning { background: rgba(255, 179, 0, 0.95); color: #000; }
.toast.error { background: rgba(255, 82, 82, 0.95); color: white; }

/* ========================================
   SCROLLBAR PERSONALIZADA
   ======================================== */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.02);
}

::-webkit-scrollbar-thumb {
    background: var(--gold);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gold-light);
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (min-width: 500px) {
    .time-slots {
        grid-template-columns: repeat(5, 1fr);
    }
}

@media (min-width: 768px) {
    .main-content {
        max-width: 650px;
        margin: 0 auto;
    }
    
    .modal-content {
        border-radius: 35px;
        margin: auto;
        max-height: 90vh;
    }
    
    .welcome-content {
        max-width: 480px;
    }
    
    .logo-title {
        font-size: 64px;
    }
}
