/* ═══════════════════════════════════════════════
   TITAN BARBER STUDIO — Superhero Vintage Design
   Comic Book · Neon Power · Dark Fortress
   ═══════════════════════════════════════════════ */

/* ── Design Tokens ── */
:root {
    /* Core Palette - Superhero Green & Gold */
    --accent: #4AFF4A;
    --accent-light: #7FFF7F;
    --accent-dark: #2D8B2D;
    --accent-glow: rgba(74, 255, 74, 0.4);
    --accent-subtle: rgba(74, 255, 74, 0.08);

    --gold: #FFD700;
    --gold-light: #FFE44D;
    --gold-dark: #CC9900;
    --gold-glow: rgba(255, 215, 0, 0.3);

    --hero-red: #FF3333;
    --hero-blue: #4488FF;

    /* Surface Colors */
    --bg-deep: #0A0A0C;
    --bg-base: #101014;
    --bg-card: #18181E;
    --bg-elevated: #222230;
    --bg-glass: rgba(16, 16, 20, 0.88);
    --bg-glass-light: rgba(24, 24, 30, 0.7);

    /* Text */
    --text-100: #FAFAFA;
    --text-200: #E8E8EC;
    --text-300: #B0B0BB;
    --text-400: #707088;
    --text-500: #454560;

    /* Semantic */
    --success: #4AFF4A;
    --error: #FF4757;
    --warning: #FFD700;

    /* Typography */
    --font-display: 'Bebas Neue', sans-serif;
    --font-heading: 'Teko', sans-serif;
    --font-body: 'Oswald', sans-serif;
    --font-tech: 'Rajdhani', sans-serif;

    /* Layout */
    --nav-h: 60px;
    --header-h: 56px;
    --safe-b: env(safe-area-inset-bottom, 0px);
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;

    /* Effects */
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.4);
    --shadow-md: 0 8px 32px rgba(0,0,0,0.5);
    --shadow-lg: 0 16px 64px rgba(0,0,0,0.6);
    --shadow-accent: 0 8px 32px rgba(74,255,74,0.12);
    --shadow-gold: 0 4px 20px rgba(255,215,0,0.15);
    --blur: blur(20px);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Reset ── */
*, *::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-deep);
    color: var(--text-100);
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    line-height: 1.6;
    font-weight: 300;
}

/* Halftone dots overlay */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    opacity: 0.02;
    pointer-events: none;
    background: radial-gradient(circle, #4AFF4A 1px, transparent 1px);
    background-size: 24px 24px;
    z-index: 0;
}

img { display: block; max-width: 100%; }
button { cursor: pointer; border: none; background: none; font-family: inherit; color: inherit; }
input { border: none; outline: none; background: none; font-family: inherit; color: inherit; }

/* ═══════════════════════════════════════
   WELCOME SCREEN — Superhero HQ
   ═══════════════════════════════════════ */
.welcome-screen {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.welcome-bg { position: absolute; inset: 0; }

.welcome-bg-img {
    width: 100%; height: 100%;
    object-fit: cover;
    filter: brightness(0.2) saturate(0.5) contrast(1.2);
    transform: scale(1.05);
    animation: slowZoom 20s ease-in-out infinite alternate;
}

@keyframes slowZoom {
    0% { transform: scale(1.05); }
    100% { transform: scale(1.15); }
}

.welcome-video-overlay {
    position: absolute; inset: 0;
    background:
        linear-gradient(180deg, rgba(10,10,12,0.7) 0%, rgba(10,10,12,0.3) 40%, rgba(10,10,12,0.85) 100%),
        radial-gradient(ellipse at 50% 0%, rgba(74,255,74,0.06) 0%, transparent 60%);
    z-index: 1;
}

.welcome-noise {
    position: absolute; inset: 0; z-index: 2; opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Scan Lines - Comic Effect */
.scan-lines {
    position: absolute; inset: 0; z-index: 3; pointer-events: none; opacity: 0.04;
    background: repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(74,255,74,0.1) 2px, rgba(74,255,74,0.1) 4px);
}

/* Power Orbs */
.orb { position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.12; z-index: 3; pointer-events: none; }
.orb-1 { width: 300px; height: 300px; background: var(--accent); top: -10%; right: -10%; animation: orbFloat1 12s ease-in-out infinite; }
.orb-2 { width: 200px; height: 200px; background: var(--gold); bottom: 10%; left: -5%; animation: orbFloat2 15s ease-in-out infinite; }
.orb-3 { width: 150px; height: 150px; background: var(--hero-red); top: 40%; right: 20%; animation: orbFloat3 10s ease-in-out infinite; }

@keyframes orbFloat1 { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(-30px, 40px); } }
@keyframes orbFloat2 { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(20px, -30px); } }
@keyframes orbFloat3 { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(-20px, 20px) scale(1.1); } }

/* Welcome Content */
.welcome-content {
    position: relative; z-index: 10; text-align: center;
    padding: 40px 24px; width: 100%; max-width: 440px;
    animation: fadeUp 1.2s ease-out;
}

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

/* Brand */
.welcome-brand { margin-bottom: 48px; }

.brand-line {
    width: 40px; height: 2px;
    background: var(--accent);
    margin: 0 auto 24px;
    box-shadow: 0 0 10px var(--accent-glow);
}

.brand-shield {
    width: 80px; height: 80px;
    margin: 0 auto 28px;
    color: var(--accent);
    animation: shieldFloat 5s ease-in-out infinite;
    filter: drop-shadow(0 0 15px rgba(74,255,74,0.3));
}

.brand-shield svg { width: 100%; height: 100%; }

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

.brand-name {
    font-family: var(--font-display);
    font-size: 80px;
    font-weight: 400;
    letter-spacing: 18px;
    text-transform: uppercase;
    color: var(--text-100);
    margin-bottom: 6px;
    line-height: 1;
    text-shadow: 0 0 30px rgba(74,255,74,0.2), 0 4px 0 rgba(45,139,45,0.5);
}

.brand-letter {
    display: inline-block;
    animation: letterFade 0.8s ease-out both;
}
.brand-letter:nth-child(1) { animation-delay: 0.1s; }
.brand-letter:nth-child(2) { animation-delay: 0.2s; }
.brand-letter:nth-child(3) { animation-delay: 0.3s; }
.brand-letter:nth-child(4) { animation-delay: 0.4s; }
.brand-letter:nth-child(5) { animation-delay: 0.5s; }

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

.brand-sub {
    font-family: var(--font-tech);
    font-size: 15px; font-weight: 600;
    letter-spacing: 12px;
    color: var(--accent);
    margin-bottom: 24px;
    text-shadow: 0 0 20px var(--accent-glow);
}

.brand-tagline { display: flex; align-items: center; justify-content: center; gap: 16px; }
.tag-line-left, .tag-line-right { width: 40px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.tag-text {
    font-family: var(--font-tech);
    font-size: 13px; font-weight: 500;
    color: var(--gold);
    letter-spacing: 2px;
}

/* Welcome Buttons */
.welcome-buttons { display: flex; flex-direction: column; gap: 14px; margin-bottom: 40px; }

.btn-welcome-primary {
    position: relative; width: 100%; height: 56px;
    border-radius: var(--radius-md); overflow: hidden;
    border: 1px solid var(--accent);
    box-shadow: 0 0 20px rgba(74,255,74,0.15);
}
.btn-welcome-primary .btn-bg {
    position: absolute; inset: 0;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    transition: var(--transition);
}
.btn-welcome-primary:active .btn-bg { filter: brightness(0.9); }
.btn-welcome-primary .btn-content {
    position: relative; z-index: 1;
    display: flex; align-items: center; justify-content: center; gap: 10px;
    font-size: 16px; font-weight: 600;
    letter-spacing: 3px; text-transform: uppercase;
    color: var(--bg-deep);
    font-family: var(--font-body);
}

.btn-welcome-secondary {
    width: 100%; height: 52px; border-radius: var(--radius-md);
    display: flex; align-items: center; justify-content: center; gap: 10px;
    font-size: 14px; font-weight: 400; letter-spacing: 1px;
    color: var(--text-200);
    border: 1px solid rgba(74,255,74,0.2);
    backdrop-filter: var(--blur);
    background: rgba(74,255,74,0.04);
    transition: var(--transition);
}
.btn-welcome-secondary:active { background: rgba(74,255,74,0.1); }

/* Social */
.welcome-social { display: flex; justify-content: center; gap: 20px; }
.social-link {
    width: 44px; height: 44px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--text-300); border: 1px solid var(--text-500);
    font-size: 16px; transition: var(--transition); text-decoration: none;
}
.social-link:active { color: var(--accent); border-color: var(--accent); background: var(--accent-subtle); }

/* ═══════════════════════════════════════
   MODALS (Bottom Sheet Style)
   ═══════════════════════════════════════ */
.modal-overlay {
    position: fixed; inset: 0; z-index: 10000;
    display: flex; align-items: flex-end; justify-content: center;
    opacity: 0; visibility: hidden; transition: all 0.35s ease;
}
.modal-overlay.active { opacity: 1; visibility: visible; }

.modal-backdrop {
    position: absolute; inset: 0;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(4px);
}

.modal-sheet {
    position: relative; width: 100%; max-width: 500px; max-height: 92vh;
    background: var(--bg-base);
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    display: flex; flex-direction: column;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.32, 0.72, 0, 1);
    box-shadow: var(--shadow-lg);
    border-top: 2px solid rgba(74,255,74,0.15);
}
.modal-overlay.active .modal-sheet { transform: translateY(0); }

.sheet-handle { width: 36px; height: 4px; background: var(--text-500); border-radius: 4px; margin: 10px auto 0; flex-shrink: 0; }

.sheet-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid rgba(74,255,74,0.08);
    flex-shrink: 0;
}
.sheet-title-group { display: flex; align-items: center; gap: 12px; }
.sheet-icon {
    width: 40px; height: 40px; border-radius: var(--radius-sm);
    background: var(--accent-subtle);
    border: 1px solid rgba(74,255,74,0.15);
    display: flex; align-items: center; justify-content: center;
    color: var(--accent); font-size: 16px;
}
.sheet-title-group h2 { font-family: var(--font-heading); font-size: 22px; font-weight: 500; color: var(--text-100); }
.sheet-title-group p { font-size: 12px; color: var(--text-400); margin-top: 1px; font-family: var(--font-tech); }
.sheet-close {
    width: 36px; height: 36px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--text-400); background: var(--bg-elevated); font-size: 14px;
    transition: var(--transition);
}
.sheet-body { flex: 1; overflow-y: auto; padding: 20px; -webkit-overflow-scrolling: touch; }
.sheet-footer {
    padding: 16px 20px; padding-bottom: calc(16px + var(--safe-b));
    border-top: 1px solid rgba(74,255,74,0.08); flex-shrink: 0;
}

/* ═══════════════════════════════════════
   SEARCH MODAL
   ═══════════════════════════════════════ */
.search-visual { text-align: center; margin-bottom: 24px; }
.search-visual-icon {
    width: 64px; height: 64px; margin: 0 auto;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-subtle), rgba(74,255,74,0.12));
    border: 1px solid rgba(74,255,74,0.15);
    display: flex; align-items: center; justify-content: center;
    font-size: 24px; color: var(--accent);
}

.input-group {
    position: relative; display: flex; align-items: center;
    background: var(--bg-card);
    border: 1px solid rgba(74,255,74,0.1);
    border-radius: var(--radius-md);
    padding: 0 16px; height: 52px;
    margin-bottom: 14px; transition: var(--transition);
}
.input-group:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-subtle); }
.input-icon { color: var(--text-400); font-size: 14px; margin-right: 12px; flex-shrink: 0; }
.input-group input { flex: 1; height: 100%; font-size: 15px; color: var(--text-100); font-weight: 400; }
.input-group input::placeholder { color: var(--text-500); }
.input-clear {
    width: 28px; height: 28px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--text-500); font-size: 11px;
    background: var(--bg-elevated); flex-shrink: 0; opacity: 0.6;
}

.btn-action {
    width: 100%; height: 50px; border-radius: var(--radius-md);
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: var(--bg-deep); font-size: 15px; font-weight: 600;
    display: flex; align-items: center; justify-content: center; gap: 8px;
    letter-spacing: 1px; transition: var(--transition); margin-bottom: 20px;
    font-family: var(--font-body);
    box-shadow: 0 4px 15px rgba(74,255,74,0.2);
}
.btn-action:active { filter: brightness(0.9); transform: scale(0.98); }

/* Search Result */
.search-result { background: var(--bg-card); border-radius: var(--radius-md); border: 1px solid rgba(74,255,74,0.08); overflow: hidden; }
.result-header { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-bottom: 1px solid rgba(255,255,255,0.04); }
.result-folio { font-family: var(--font-display); font-size: 16px; font-weight: 400; color: var(--accent); letter-spacing: 2px; }

.result-status { font-size: 11px; font-weight: 600; padding: 4px 10px; border-radius: 20px; text-transform: uppercase; letter-spacing: 0.5px; font-family: var(--font-tech); }
.result-status.pendiente { background: rgba(255,215,0,0.12); color: var(--warning); }
.result-status.confirmada { background: rgba(74,255,74,0.12); color: var(--success); }
.result-status.completada { background: rgba(68,136,255,0.12); color: var(--hero-blue); }
.result-status.cancelada { background: rgba(255,71,87,0.12); color: var(--error); }

.result-row { display: flex; align-items: center; justify-content: space-between; padding: 11px 16px; border-bottom: 1px solid rgba(255,255,255,0.02); }
.result-label { font-size: 13px; color: var(--text-400); display: flex; align-items: center; gap: 8px; font-family: var(--font-tech); }
.result-label i { font-size: 12px; color: var(--accent); width: 16px; text-align: center; }
.result-value { font-size: 13px; color: var(--text-200); font-weight: 400; text-align: right; max-width: 60%; }
.result-total { font-weight: 600; color: var(--gold); font-size: 15px; }
.result-not-found { padding: 40px 20px; text-align: center; color: var(--text-400); }
.result-not-found i { font-size: 36px; color: var(--text-500); margin-bottom: 12px; display: block; }
.result-not-found p { font-size: 13px; line-height: 1.6; }

/* ═══════════════════════════════════════
   APP CONTAINER
   ═══════════════════════════════════════ */
.app-container { min-height: 100vh; padding-bottom: calc(var(--nav-h) + var(--safe-b)); background: var(--bg-deep); }

/* Topbar */
.topbar {
    position: sticky; top: 0; z-index: 100;
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 16px; height: var(--header-h);
    background: var(--bg-glass); backdrop-filter: var(--blur);
    border-bottom: 1px solid rgba(74,255,74,0.06);
}

.topbar-btn {
    width: 38px; height: 38px; border-radius: var(--radius-sm);
    display: flex; align-items: center; justify-content: center;
    color: var(--text-300); font-size: 14px; transition: var(--transition);
}
.topbar-btn:active { background: var(--bg-elevated); color: var(--accent); }

.topbar-brand { text-align: center; }
.topbar-name {
    font-family: var(--font-display);
    font-size: 26px; font-weight: 400;
    letter-spacing: 8px; text-transform: uppercase;
    color: var(--text-100); display: block;
    text-shadow: 0 0 15px rgba(74,255,74,0.15);
}
.topbar-sub {
    font-family: var(--font-tech);
    font-size: 9px; letter-spacing: 4px;
    color: var(--accent); text-transform: uppercase; font-weight: 600;
}

/* ═══════════════════════════════════════
   HERO
   ═══════════════════════════════════════ */
.hero { position: relative; height: 280px; overflow: hidden; }
.hero-img-wrap { position: absolute; inset: 0; }
.hero-img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.4) saturate(0.7) contrast(1.1); }
.hero-gradient {
    position: absolute; inset: 0;
    background:
        linear-gradient(180deg, rgba(10,10,12,0.2) 0%, rgba(10,10,12,0.1) 40%, rgba(10,10,12,0.95) 100%),
        radial-gradient(ellipse at 50% 80%, rgba(74,255,74,0.04) 0%, transparent 60%);
}

.hero-content { position: absolute; bottom: 28px; left: 20px; right: 20px; z-index: 2; }
.hero-chip {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 5px 12px;
    background: rgba(74,255,74,0.1);
    border: 1px solid rgba(74,255,74,0.2);
    border-radius: 20px; font-size: 11px; font-weight: 600;
    color: var(--accent-light); margin-bottom: 12px;
    backdrop-filter: blur(8px); letter-spacing: 1px;
    font-family: var(--font-tech);
}
.hero-chip i { font-size: 10px; }
.hero-title {
    font-family: var(--font-heading); font-size: 36px; font-weight: 500;
    line-height: 1.1; color: var(--text-100); margin-bottom: 8px;
    text-shadow: 0 0 20px rgba(74,255,74,0.1);
}
.hero-desc { font-size: 13px; color: var(--text-300); font-weight: 300; font-family: var(--font-tech); }

/* Promo Strip */
.promo-strip { padding: 0 16px; margin-top: -1px; }
.promo-inner {
    display: flex; align-items: center; justify-content: center; gap: 10px;
    padding: 12px 16px;
    background: linear-gradient(135deg, rgba(255,215,0,0.08), rgba(255,215,0,0.03));
    border: 1px solid rgba(255,215,0,0.12);
    border-radius: var(--radius-md);
    font-size: 13px; color: var(--text-200); font-family: var(--font-tech);
}
.promo-inner i { color: var(--gold); font-size: 16px; }
.promo-inner strong { color: var(--gold-light); font-weight: 700; }

/* ═══════════════════════════════════════
   SERVICES AREA
   ═══════════════════════════════════════ */
.services-area { padding: 24px 16px 100px; }

/* Loading */
.loading { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 60px 20px; text-align: center; }
.loading-spinner {
    width: 36px; height: 36px;
    border: 2px solid var(--bg-elevated);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin-bottom: 16px;
}
@keyframes spin { to { transform: rotate(360deg); } }
.loading p { font-size: 13px; color: var(--text-400); font-family: var(--font-tech); }

/* Category Section */
.category-section { margin-bottom: 32px; }
.category-header { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; padding: 0 4px; }
.category-icon {
    width: 40px; height: 40px; border-radius: var(--radius-sm);
    background: var(--accent-subtle);
    border: 1px solid rgba(74,255,74,0.12);
    display: flex; align-items: center; justify-content: center;
    color: var(--accent); font-size: 15px; flex-shrink: 0;
    position: relative;
}
/* Glow pulse effect on category icon */
.category-icon::after {
    content: '';
    position: absolute; inset: -2px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(74,255,74,0.08);
    animation: iconGlow 3s ease-in-out infinite;
}
@keyframes iconGlow {
    0%, 100% { box-shadow: 0 0 5px rgba(74,255,74,0.05); }
    50% { box-shadow: 0 0 15px rgba(74,255,74,0.15); }
}
.category-title {
    font-family: var(--font-heading); font-size: 24px; font-weight: 500;
    color: var(--text-100); letter-spacing: 1px;
    text-transform: uppercase;
}

/* Service Card */
.service-card {
    display: flex; background: var(--bg-card);
    border-radius: var(--radius-md);
    border: 1px solid rgba(74,255,74,0.04);
    overflow: hidden; margin-bottom: 10px;
    transition: all var(--transition);
    cursor: pointer; position: relative;
}
.service-card::before {
    content: '';
    position: absolute; top: 0; left: 0; width: 3px; height: 100%;
    background: transparent;
    transition: var(--transition);
}
.service-card::after {
    content: ''; position: absolute; top: 12px; right: 12px;
    width: 22px; height: 22px; border-radius: 50%;
    border: 1.5px solid var(--text-500);
    display: flex; align-items: center; justify-content: center;
    transition: var(--transition);
}
.service-card.selected {
    border-color: var(--accent);
    background: rgba(74,255,74,0.03);
}
.service-card.selected::before {
    background: linear-gradient(180deg, var(--accent), var(--accent-dark));
    box-shadow: 0 0 8px var(--accent-glow);
}
.service-card.selected::after {
    content: '✓'; background: var(--accent); border-color: var(--accent);
    color: var(--bg-deep); font-size: 12px; font-weight: 700;
    display: flex; align-items: center; justify-content: center; line-height: 1;
}
.service-card:active { transform: scale(0.98); }

.service-image { width: 90px; height: 90px; flex-shrink: 0; overflow: hidden; }
.service-image img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); filter: saturate(0.8); }
.service-card:active .service-image img { transform: scale(1.05); }
.service-image-placeholder {
    width: 100%; height: 100%; background: var(--bg-elevated);
    display: flex; align-items: center; justify-content: center;
    color: var(--accent); font-size: 24px;
}

.service-info { flex: 1; padding: 12px 14px; display: flex; flex-direction: column; justify-content: center; min-width: 0; }
.service-name { font-family: var(--font-body); font-size: 14px; font-weight: 500; color: var(--text-100); margin-bottom: 3px; padding-right: 28px; }
.service-description { font-size: 12px; color: var(--text-400); font-weight: 300; margin-bottom: 6px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-family: var(--font-tech); }
.service-price { font-size: 16px; font-weight: 700; color: var(--accent); font-family: var(--font-display); letter-spacing: 1px; }

/* ═══════════════════════════════════════
   FLOAT BAR
   ═══════════════════════════════════════ */
.float-bar { position: fixed; bottom: calc(var(--nav-h) + var(--safe-b) + 8px); left: 12px; right: 12px; z-index: 90; animation: slideUp 0.3s ease-out; }
@keyframes slideUp { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

.float-bar-inner {
    display: flex; align-items: center; justify-content: space-between;
    padding: 10px 10px 10px 16px;
    background: var(--bg-glass); backdrop-filter: var(--blur);
    border: 1px solid rgba(74,255,74,0.15);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md), 0 0 30px rgba(74,255,74,0.06);
}
.float-info { display: flex; align-items: center; gap: 12px; }
.float-badge {
    width: 32px; height: 32px; border-radius: 50%;
    background: var(--accent); color: var(--bg-deep);
    font-size: 14px; font-weight: 700;
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-display);
}
.float-label { font-size: 11px; color: var(--text-400); display: block; font-family: var(--font-tech); }
.float-total { font-size: 15px; font-weight: 600; color: var(--text-100); font-family: var(--font-heading); }
.float-btn {
    padding: 10px 20px;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: var(--bg-deep); border-radius: var(--radius-md);
    font-size: 13px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
    display: flex; align-items: center; gap: 6px;
    transition: var(--transition); font-family: var(--font-body);
    box-shadow: 0 4px 12px rgba(74,255,74,0.2);
}
.float-btn:active { transform: scale(0.96); }

/* ═══════════════════════════════════════
   BOTTOM NAV
   ═══════════════════════════════════════ */
.bottom-nav {
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 95;
    display: flex; height: var(--nav-h); padding-bottom: var(--safe-b);
    background: var(--bg-glass); backdrop-filter: var(--blur);
    border-top: 1px solid rgba(74,255,74,0.06);
}
.bnav-item {
    flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
    text-decoration: none; color: var(--text-500);
    font-size: 10px; font-family: var(--font-tech); font-weight: 500;
    transition: var(--transition); position: relative;
}
.bnav-item i { font-size: 18px; transition: var(--transition); }
.bnav-item.active { color: var(--accent); }
.bnav-item.active i { transform: scale(1.1); filter: drop-shadow(0 0 6px rgba(74,255,74,0.4)); }
.bnav-badge {
    position: absolute; top: 6px; right: 50%; transform: translateX(14px);
    min-width: 16px; height: 16px; border-radius: 8px;
    background: var(--accent); color: var(--bg-deep);
    font-size: 10px; font-weight: 700;
    display: flex; align-items: center; justify-content: center;
    padding: 0 4px; font-family: var(--font-display);
}

/* ═══════════════════════════════════════
   CART SHEET
   ═══════════════════════════════════════ */
.cart-block { margin-bottom: 24px; }
.block-title {
    font-family: var(--font-heading); font-size: 18px; font-weight: 500;
    color: var(--text-200); display: flex; align-items: center; gap: 8px;
    margin-bottom: 12px; text-transform: uppercase; letter-spacing: 1px;
}
.block-title i { color: var(--accent); font-size: 14px; }

/* Cart Items */
.cart-item {
    display: flex; align-items: center; padding: 12px;
    background: var(--bg-card); border-radius: var(--radius-sm);
    margin-bottom: 8px; border: 1px solid rgba(74,255,74,0.04);
}
.cart-item-qty { display: flex; align-items: center; gap: 8px; margin-right: 12px; }
.qty-btn {
    width: 28px; height: 28px; border-radius: 50%;
    border: 1px solid var(--text-500);
    display: flex; align-items: center; justify-content: center;
    color: var(--text-300); font-size: 10px; transition: var(--transition);
}
.qty-btn:active { border-color: var(--accent); color: var(--accent); background: var(--accent-subtle); }
.qty-number { font-size: 14px; font-weight: 600; color: var(--text-100); min-width: 16px; text-align: center; font-family: var(--font-display); }
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-name { font-size: 13px; font-weight: 500; color: var(--text-100); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cart-item-unit { font-size: 11px; color: var(--text-400); margin-top: 2px; font-family: var(--font-tech); }
.cart-item-price { font-size: 14px; font-weight: 600; color: var(--accent); flex-shrink: 0; margin-left: 8px; font-family: var(--font-display); }

.cart-total-row {
    display: flex; align-items: center; justify-content: space-between;
    padding: 14px 12px; background: var(--accent-subtle);
    border-radius: var(--radius-sm);
    border: 1px solid rgba(74,255,74,0.1); margin-top: 10px;
}
.cart-total-row span:first-child { font-size: 13px; color: var(--text-300); text-transform: uppercase; letter-spacing: 2px; font-weight: 500; font-family: var(--font-tech); }
.cart-total-price { font-size: 20px; font-weight: 400; color: var(--accent); font-family: var(--font-display); letter-spacing: 1px; }

/* ═══════════════════════════════════════
   CALENDAR
   ═══════════════════════════════════════ */
.cal-container { background: var(--bg-card); border-radius: var(--radius-md); border: 1px solid rgba(74,255,74,0.06); padding: 16px; }
.cal-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.cal-month { font-family: var(--font-heading); font-size: 18px; font-weight: 500; color: var(--text-100); text-transform: uppercase; letter-spacing: 1px; }
.cal-arrow {
    width: 34px; height: 34px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--text-300); font-size: 12px; transition: var(--transition);
    background: var(--bg-elevated); border: 1px solid rgba(74,255,74,0.08);
}
.cal-arrow:active { color: var(--accent); background: var(--accent-subtle); }
.cal-weekdays { display: grid; grid-template-columns: repeat(7, 1fr); text-align: center; margin-bottom: 8px; }
.cal-weekdays span { font-size: 11px; font-weight: 600; color: var(--accent); padding: 6px 0; text-transform: uppercase; letter-spacing: 0.5px; font-family: var(--font-tech); }
.cal-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }

.calendar-day {
    aspect-ratio: 1; display: flex; align-items: center; justify-content: center;
    border-radius: 50%; font-size: 13px; font-weight: 500;
    color: var(--text-200); cursor: pointer; transition: var(--transition);
    font-family: var(--font-tech);
}
.calendar-day.empty { cursor: default; }
.calendar-day.disabled { color: var(--text-500); opacity: 0.3; cursor: not-allowed; }
.calendar-day.unavailable { color: var(--text-500); opacity: 0.3; text-decoration: line-through; cursor: not-allowed; }
.calendar-day.selected {
    background: var(--accent); color: var(--bg-deep); font-weight: 700;
    box-shadow: 0 4px 12px var(--accent-glow);
}
.calendar-day:not(.disabled):not(.unavailable):not(.selected):not(.empty):active { background: var(--bg-elevated); }

/* ═══════════════════════════════════════
   TIME SLOTS
   ═══════════════════════════════════════ */
.time-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.time-slot {
    height: 42px; border-radius: var(--radius-sm);
    background: var(--bg-card); border: 1px solid rgba(74,255,74,0.06);
    color: var(--text-200); font-size: 13px; font-weight: 500;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; transition: var(--transition); font-family: var(--font-tech);
}
.time-slot:active:not(:disabled) { transform: scale(0.95); }
.time-slot.selected {
    background: var(--accent); border-color: var(--accent);
    color: var(--bg-deep); font-weight: 700;
    box-shadow: 0 4px 12px var(--accent-glow);
}
.time-slot.unavailable, .time-slot:disabled { opacity: 0.25; cursor: not-allowed; text-decoration: line-through; }

/* ═══════════════════════════════════════
   CONFIRM BUTTON
   ═══════════════════════════════════════ */
.btn-confirm {
    width: 100%; height: 54px; border-radius: var(--radius-md);
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: var(--bg-deep); font-size: 16px; font-weight: 700;
    display: flex; align-items: center; justify-content: center; gap: 8px;
    letter-spacing: 1px; transition: var(--transition);
    font-family: var(--font-body); text-transform: uppercase;
    box-shadow: 0 4px 20px rgba(74,255,74,0.2);
}
.btn-confirm:disabled { opacity: 0.35; cursor: not-allowed; box-shadow: none; }
.btn-confirm:not(:disabled):active { transform: scale(0.98); filter: brightness(0.9); }

/* ═══════════════════════════════════════
   CONFIRMATION MODAL
   ═══════════════════════════════════════ */
.confirm-sheet { text-align: center; padding: 40px 24px 32px; max-height: 85vh; overflow-y: auto; }
.confirm-visual { position: relative; width: 80px; height: 80px; margin: 0 auto 24px; }
.confirm-check {
    position: absolute; inset: 0; border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    display: flex; align-items: center; justify-content: center;
    z-index: 2; animation: popIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 0 30px var(--accent-glow);
}
@keyframes popIn { 0% { transform: scale(0); } 80% { transform: scale(1.1); } 100% { transform: scale(1); } }
.confirm-check i { font-size: 32px; color: var(--bg-deep); }

.ring { position: absolute; inset: -8px; border-radius: 50%; border: 1px solid var(--accent); opacity: 0; animation: ringExpand 1.5s ease-out infinite; }
.ring-2 { animation-delay: 0.3s; }
.ring-3 { animation-delay: 0.6s; }
@keyframes ringExpand { 0% { transform: scale(0.8); opacity: 0.5; } 100% { transform: scale(1.5); opacity: 0; } }

.confirm-title { font-family: var(--font-display); font-size: 32px; font-weight: 400; color: var(--text-100); margin-bottom: 6px; letter-spacing: 3px; }
.confirm-desc { font-size: 14px; color: var(--text-400); margin-bottom: 28px; font-family: var(--font-tech); }

.folio-card {
    background: var(--bg-card); border: 1px solid rgba(74,255,74,0.15);
    border-radius: var(--radius-md); padding: 20px; margin-bottom: 20px;
}
.folio-top { display: flex; align-items: center; justify-content: center; gap: 8px; color: var(--accent); font-size: 13px; margin-bottom: 10px; font-family: var(--font-tech); }
.folio-code {
    display: block; font-family: var(--font-display);
    font-size: 36px; font-weight: 400; letter-spacing: 8px;
    color: var(--accent-light); margin-bottom: 10px;
    text-shadow: 0 0 20px var(--accent-glow);
}
.folio-hint { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 11px; color: var(--text-400); font-family: var(--font-tech); }

.wa-notice {
    display: flex; align-items: center; gap: 12px;
    padding: 14px; background: rgba(74,255,74,0.04);
    border: 1px solid rgba(74,255,74,0.1);
    border-radius: var(--radius-sm); margin-bottom: 20px; text-align: left;
}
.wa-notice i { font-size: 22px; color: var(--success); flex-shrink: 0; }
.wa-notice p { font-size: 12px; color: var(--text-300); line-height: 1.5; font-family: var(--font-tech); }

/* ═══════════════════════════════════════
   TOAST
   ═══════════════════════════════════════ */
#toastContainer { position: fixed; top: 20px; left: 16px; right: 16px; z-index: 99999; display: flex; flex-direction: column; gap: 8px; pointer-events: none; }
.toast {
    padding: 14px 18px; background: var(--bg-glass); backdrop-filter: var(--blur);
    border-radius: var(--radius-sm); border: 1px solid rgba(74,255,74,0.08);
    font-size: 13px; color: var(--text-200); animation: toastIn 0.3s ease-out;
    box-shadow: var(--shadow-md); font-family: var(--font-tech);
}
.toast.warning { border-left: 3px solid var(--warning); }
.toast.error { border-left: 3px solid var(--error); }
.toast.success { border-left: 3px solid var(--success); }
.toast.info { border-left: 3px solid var(--accent); }
@keyframes toastIn { from { transform: translateY(-10px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

/* ═══════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════ */
@media (min-width: 500px) {
    .services-area { max-width: 500px; margin: 0 auto; }
    .hero { height: 340px; }
    .hero-title { font-size: 44px; }
    .brand-name { font-size: 96px; }
    .time-grid { grid-template-columns: repeat(5, 1fr); }
}

@media (max-width: 360px) {
    .brand-name { font-size: 58px; letter-spacing: 10px; }
    .brand-sub { letter-spacing: 8px; font-size: 13px; }
    .hero-title { font-size: 28px; }
    .time-grid { grid-template-columns: repeat(3, 1fr); }
    .service-image { width: 75px; height: 75px; }
}
