:root {
            --burgundy: #3B211C;          /* marrón chocolate */
            --burgundy-dark: #2A1512;
            --burgundy-soft: rgba(59, 33, 28, 0.07);
            --cream: #F4EEE8;             /* marfil cálido */
            --cream-deep: #EDE2D8;
            --nude: #D9BCB7;              /* rosa nude */
            --rose: #C7969B;              /* rosa empolvado */
            --white-soft: #FFFDFC;
            --dark-text: #3B211C;
            --muted: #756055;
            --line: #E4D6CB;
            --accent: #B99869;            /* dorado apagado */
            --accent-light: #D3B98F;
            --shadow-sm: 0 4px 18px rgba(59, 33, 28, 0.05);
            --shadow-md: 0 18px 50px rgba(59, 33, 28, 0.08);
            --shadow-lg: 0 30px 80px rgba(59, 33, 28, 0.10);
            --ease: cubic-bezier(0.4, 0, 0.2, 1);
        }

        * { box-sizing: border-box; }

        html, body { margin: 0; padding: 0; }

        body {
            isolation: isolate;
            background-color: var(--cream);
            color: var(--dark-text);
            font-family: 'Barlow', sans-serif;
            font-weight: 400;
            min-height: 100vh;
            overflow-x: hidden;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
            background-image:
                radial-gradient(ellipse at top left, rgba(185, 152, 105, 0.08), transparent 55%),
                radial-gradient(ellipse at bottom right, rgba(59, 33, 28, 0.07), transparent 55%);
            transition: padding 0.4s var(--ease);
        }

        ::selection { background: var(--burgundy); color: #fff; }

        .liquid-background { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
        .liquid-background[hidden] { display: none; }

        /* ---------- NAV ---------- */
        nav.topbar {
            padding: 18px 5vw;
            display: flex;
            justify-content: space-between;
            align-items: center;
            border-bottom: 1px solid transparent;
            background: transparent;
            position: sticky;
            top: 0;
            z-index: 1000;
            transition: background .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
        }
        nav.topbar.scrolled {
            border-bottom: 1px solid rgba(255,255,255,0.55);
            background: var(--cream);
            box-shadow: inset 0 1px 1px rgba(255,255,255,0.4), 0 4px 20px rgba(59,33,28,0.08);
            backdrop-filter: none;
            -webkit-backdrop-filter: none;
        }

        .nav-logo {
            display: flex;
            align-items: center;
            gap: 10px;
            background: none;
            border: none;
            padding: 0;
            cursor: pointer;
            text-decoration: none;
            transition: opacity .25s var(--ease);
        }
        .nav-logo:hover { opacity: .82; }
        .nav-logo img { height: 44px; width: auto; display: block; -webkit-user-drag: none; user-select: none; }
        @media (max-width: 768px) { .nav-logo img { height: 36px; } }
        @media (max-width: 360px) { .nav-logo img { height: 32px; } }

        .mobile-menu-btn { display: none; background: none; border: none; font-size: 24px; color: var(--burgundy); cursor: pointer; padding: 5px; }
        .nav-actions { display: flex; gap: 10px; transition: all 0.3s ease; }

        .nav-btn {
            text-decoration: none;
            color: var(--burgundy);
            font-size: 10px;
            text-transform: uppercase;
            letter-spacing: 2.4px;
            padding: 10px 18px;
            border: 1px solid var(--burgundy);
            cursor: pointer;
            font-weight: 600;
            background: transparent;
            transition: all .35s var(--ease);
            font-family: 'Barlow', sans-serif;
        }
        .nav-btn:hover { background: var(--burgundy); color: #fff; transform: translateY(-1px); }
        .nav-btn.solid { background: var(--burgundy); color: #fff; }
        .nav-btn.solid:hover { background: var(--burgundy-dark); }

        /* ---------- BRAND ---------- */
        .brand-container { text-align: center; margin-bottom: 36px; position: relative; background: rgba(254, 244, 232, 0.7); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); padding: 30px 20px; border-radius: 16px; border: 1px solid rgba(255, 255, 255, 0.8); box-shadow: 0 15px 35px rgba(0,0,0,0.08); }
        .brand-ornament { display: flex; align-items: center; justify-content: center; gap: 14px; margin-bottom: 18px; color: var(--accent); font-size: 11px; letter-spacing: 6px; text-transform: uppercase; font-weight: 500; }
        .brand-ornament::before, .brand-ornament::after { content: ''; height: 1px; width: 50px; background: linear-gradient(90deg, transparent, var(--accent), transparent); }
        .brand-main { font-family: 'Instrument Serif', serif; font-size: clamp(38px, 6vw, 52px); color: var(--burgundy); text-transform: uppercase; font-weight: 700; line-height: .95; letter-spacing: 2px; text-shadow: 0 2px 15px rgba(255,255,255,1), 0 0 30px rgba(255,255,255,0.9); }
        .brand-sub { font-family: 'Instrument Serif', serif; font-style: italic; font-size: clamp(46px, 7vw, 64px); color: var(--burgundy); margin-top: -12px; display: block; font-weight: 400; text-shadow: 0 2px 15px rgba(255,255,255,1), 0 0 30px rgba(255,255,255,0.9); }

        /* --- ESTILOS DE RESEÑAS DE CLIENTAS --- */
        .reviews-carousel {
            margin-top: 28px;
            position: relative;
            min-height: 120px;
        }
        .reviews-carousel-title {
            font-family: 'Instrument Serif', serif;
            font-style: italic;
            font-size: 14px;
            font-weight: 600;
            color: var(--burgundy);
            margin-bottom: 14px;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 12px;
            text-shadow: 0 2px 10px rgba(255,255,255,1), 0 0 20px rgba(255,255,255,0.9);
        }
        .reviews-carousel-title::before, .reviews-carousel-title::after {
            content: ''; height: 1.5px; width: 40px;
            background: rgba(59,33,28,0.5);
        }
        .review-slide {
            position: absolute;
            width: 100%;
            opacity: 0;
            transform: translateY(12px);
            transition: opacity 0.8s ease, transform 0.8s ease;
            text-align: center;
            padding: 0 10px;
        }
        .review-slide.active {
            opacity: 1;
            transform: translateY(0);
            position: relative;
        }
        .review-slide .review-stars {
            color: var(--accent);
            font-size: 16px;
            margin-bottom: 8px;
            letter-spacing: 3px;
        }
        .review-slide .review-text {
            font-family: 'Instrument Serif', serif;
            font-style: italic;
            font-size: 15px;
            color: var(--muted);
            line-height: 1.6;
            margin: 0 0 10px;
        }
        .review-slide .review-author {
            font-size: 11px;
            font-weight: 600;
            color: var(--burgundy);
            text-transform: uppercase;
            letter-spacing: 2px;
        }
        .review-dots {
            display: flex;
            justify-content: center;
            gap: 8px;
            margin-top: 14px;
        }
        .review-dot {
            width: 7px; height: 7px;
            border-radius: 50%;
            background: var(--line);
            transition: all 0.4s ease;
            cursor: pointer;
        }
        .review-dot.active {
            background: var(--accent);
            width: 18px;
            border-radius: 4px;
        }

        /* --- ESTILOS PÁGINA RESEÑAS --- */
        .resenas-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
            gap: 20px;
            margin-top: 30px;
        }
        .resena-card-page {
            background: #fff;
            padding: 25px;
            border-radius: 16px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.05);
            border: 1px solid rgba(229, 218, 206, 0.6);
            display: flex;
            flex-direction: column;
            gap: 12px;
            transition: transform 0.3s ease;
        }
        .resena-card-page:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 35px rgba(0,0,0,0.08);
            border-color: var(--accent);
        }

        .btn-gold {
            background: linear-gradient(135deg, #B99869, #D3B98F);
            color: #fff;
            font-weight: 600;
            box-shadow: 0 4px 15px rgba(185, 152, 105, 0.4);
        }
        .btn-gold:hover {
            background: linear-gradient(135deg, #A5875C, #C4A97E);
            box-shadow: 0 6px 20px rgba(185, 152, 105, 0.6);
            color: #fff;
        }

        /* ---------- CARD ---------- */
        .luxury-card { background: #ffffff; padding: 44px 40px; box-shadow: 0 15px 40px rgba(0,0,0,0.12); position: relative; border: 1px solid rgba(229, 218, 206, 0.6); }
        .luxury-card::before { content: ''; position: absolute; inset: 8px; border: 1px solid rgba(185, 152, 105, 0.18); pointer-events: none; }
        .luxury-card > * { position: relative; z-index: 1; }
        .card-title { font-family: 'Instrument Serif', serif; color: var(--burgundy); font-size: 13px; text-transform: uppercase; letter-spacing: 5px; text-align: center; margin-bottom: 6px; font-weight: 600; }
        .card-subtitle { text-align: center; color: var(--muted); font-size: 12px; margin-bottom: 32px; font-weight: 300; letter-spacing: .5px; }

        /* ---------- FORMS ---------- */
        .field { position: relative; margin-bottom: 22px; }
        .field input, .field select { width: 100%; border: none; border-bottom: 1px solid var(--line); border-radius: 0; background: transparent; padding: 14px 0 8px; font-size: 14px; color: var(--dark-text); font-family: 'Barlow', sans-serif; outline: none; transition: border-color .3s var(--ease); }
        .field input::placeholder { color: transparent; }
        .field label { position: absolute; top: 16px; left: 0; color: var(--muted); font-size: 13px; pointer-events: none; transition: all .3s var(--ease); letter-spacing: .3px; }
        .field input:focus, .field select:focus { border-bottom-color: var(--burgundy); }
        .field input:focus + label, .field input:not(:placeholder-shown) + label, .field select:focus + label, .field select.has-value + label { top: -6px; font-size: 10px; color: var(--burgundy); letter-spacing: 2px; text-transform: uppercase; }
        .field input[type="date"], .field input[type="time"] { color: var(--dark-text); font-family: 'Barlow', sans-serif; }
        .field-icon { position: absolute; right: 0; top: 16px; color: var(--line); font-size: 13px; pointer-events: none; }

        /* ---------- BUTTONS ---------- */
        .btn-luxury { background: var(--burgundy); color: #fff; border: none; padding: 16px 22px; font-size: 11px; letter-spacing: 3.5px; text-transform: uppercase; width: 100%; margin-top: 12px; font-weight: 600; font-family: 'Barlow', sans-serif; cursor: pointer; position: relative; overflow: hidden; transition: all .35s var(--ease); }
        .btn-luxury::after { content: ''; position: absolute; inset: 0; background: var(--burgundy-dark); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); z-index: 0; }
        .btn-luxury > * { position: relative; z-index: 1; }
        .btn-luxury span { position: relative; z-index: 1; }
        .btn-luxury:hover::after { transform: scaleX(1); }
        .btn-luxury:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(59, 33, 28, .25); }
        .btn-luxury:disabled { opacity: .55; cursor: not-allowed; transform: none !important; }
        .btn-luxury .spinner { display: none; width: 14px; height: 14px; border: 2px solid rgba(255,255,255,.35); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; margin-left: 8px; vertical-align: -2px; }
        .btn-luxury.loading .spinner { display: inline-block; }
        @keyframes spin { to { transform: rotate(360deg); } }

        .btn-ghost { background: transparent; border: 1px solid var(--line); color: var(--muted); padding: 12px 18px; font-size: 10px; letter-spacing: 2.5px; text-transform: uppercase; font-weight: 500; cursor: pointer; transition: all .3s var(--ease); font-family: 'Barlow', sans-serif; }
        .btn-ghost:hover { border-color: var(--burgundy); color: var(--burgundy); }
        .link-soft { background: none; border: none; color: var(--burgundy); font-size: 11.5px; letter-spacing: 2px; text-transform: uppercase; font-weight: 700; cursor: pointer; padding: 14px 0 0; display: block; width: 100%; text-align: center; transition: color .3s var(--ease); text-decoration: underline; text-decoration-color: rgba(59,33,28,0.3); text-underline-offset: 4px; }
        .link-soft:hover { color: var(--accent); text-decoration-color: var(--accent); }

        /* --- Cuenta nueva (formulario cita) --- */
        .cuenta-nueva-box {
            border: 1px solid rgba(185,152,105,.35);
            background: linear-gradient(135deg,rgba(185,152,105,.06),rgba(248,238,226,.4));
            padding: 20px 18px 16px;
            margin-bottom: 18px;
            position: relative;
        }
        .cuenta-nueva-box::before {
            content: ''; position: absolute; inset: 5px;
            border: 1px solid rgba(185,152,105,.1); pointer-events: none;
        }
        .cuenta-nueva-label {
            font-size: 9px; letter-spacing: 3px; text-transform: uppercase;
            color: var(--accent); font-weight: 700; margin-bottom: 14px;
            display: flex; align-items: center; gap: 8px;
        }
        .cuenta-nueva-label i { font-size: 11px; }
        .field-pass-wrap { position: relative; }
        .toggle-pass {
            position: absolute; right: 0; top: 14px;
            background: none; border: none; cursor: pointer;
            color: var(--line); font-size: 13px; padding: 0; transition: color .2s;
        }
        .toggle-pass:hover { color: var(--burgundy); }
        .pass-strength { height: 3px; margin-top: 6px; background: var(--line); overflow: hidden; }
        .pass-strength-bar { height: 100%; width: 0; transition: width .3s, background .3s; }
        .pass-hint { font-size: 10px; color: var(--muted); margin-top: 5px; letter-spacing: .3px; }

        .time-slot.disabled { opacity: .38; cursor: not-allowed; background: var(--cream-deep); color: var(--muted); border-color: var(--line); transform: none !important; box-shadow: none !important; }

        /* ---------- SERVICIO SELECTOR ---------- */
        .servicio-grid { display: flex; flex-direction: column; gap: 8px; margin-bottom: 4px; }
        .servicio-grupo { margin-bottom: 2px; }
        .servicio-grupo-titulo {
            font-size: 9px; letter-spacing: 3px; text-transform: uppercase;
            color: var(--accent); font-weight: 600; margin-bottom: 6px;
            display: flex; align-items: center; gap: 8px;
        }
        .servicio-grupo-titulo::after { content:''; flex:1; height:1px; background:rgba(185,152,105,.25); }
        .servicio-opcion {
            display: flex; align-items: center; justify-content: space-between;
            border: 1px solid var(--line); background: #fff; padding: 11px 14px;
            cursor: pointer; transition: all .25s var(--ease); gap: 10px;
        }
        .servicio-opcion:hover { border-color: var(--accent); background: var(--cream); }
        .servicio-opcion.selected { border-color: var(--burgundy); background: var(--burgundy-soft); }
        .servicio-opcion input[type=radio] { display: none; }
        .servicio-opcion-nombre { font-size: 12.5px; color: var(--dark-text); font-weight: 500; flex: 1; }
        .servicio-opcion.selected .servicio-opcion-nombre { font-weight: 700; color: var(--burgundy); }
        .servicio-opcion.selected .servicio-opcion-nombre::before {
            content: "\f00c";
            font-family: "Font Awesome 6 Free";
            font-weight: 900;
            margin-right: 8px;
            color: var(--burgundy);
        }
        .servicio-opcion-dur {
            font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase;
            color: var(--muted); background: var(--cream-deep); padding: 3px 8px;
            white-space: nowrap; font-weight: 600;
        }
        .servicio-opcion-precio {
            font-size: 13px; font-weight: 700; color: var(--burgundy);
            font-family: 'Instrument Serif', serif; white-space: nowrap;
        }
        .servicio-opcion.selected .servicio-opcion-precio { color: var(--burgundy); }
        .servicio-opcion.selected .servicio-opcion-dur { background: var(--burgundy); color: #fff; }
        .extra-addon { border-style: dashed !important; border-color: rgba(59,33,28,.25) !important; background: #fff !important; }
        .extra-addon.selected { border-style: solid !important; border-color: var(--burgundy) !important; background: rgba(59,33,28,.06) !important; }
        .extra-addon.selected .servicio-opcion-dur { background: var(--burgundy); color: #fff; }
        .extras-resumen { display: none; text-align: center; padding: 10px 14px; background: rgba(59,33,28,.06); border-left: 2px solid var(--burgundy); font-size: 12px; color: var(--burgundy); font-weight: 500; margin-top: 2px; margin-bottom: 8px; }
        .extras-resumen.show { display: block; }
        .servicio-duracion-info {
            display: none; text-align: center; padding: 10px 14px;
            background: rgba(185,152,105,.10); border-left: 2px solid var(--accent);
            font-size: 12px; color: #8a6f25; font-weight: 500; margin-top: 2px; margin-bottom: 16px;
        }
        .servicio-duracion-info.show { display: block; }
        .no-disponible { background: var(--cream-deep) !important; color: #C8BDB6 !important; cursor: not-allowed !important; border-color: transparent !important; }
        .divider-soft { display: flex; align-items: center; gap: 12px; margin: 24px 0 18px; color: var(--burgundy); font-size: 12px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; }
        .divider-soft::before, .divider-soft::after { content: ''; flex: 1; height: 1px; background: rgba(59,33,28,0.2); }

        /* ---------- BIG CTA ---------- */
        .btn-cta { display: flex; align-items: center; justify-content: space-between; gap: 14px; width: 100%; background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%); color: #fff; border: none; padding: 18px 22px; font-family: 'Barlow', sans-serif; font-size: 12px; font-weight: 600; letter-spacing: 3.5px; text-transform: uppercase; cursor: pointer; position: relative; overflow: hidden; box-shadow: 0 14px 32px rgba(185, 152, 105, 0.32); transition: all .4s var(--ease); margin-top: 4px; }
        .btn-cta::before { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, #B89238 0%, var(--accent) 100%); opacity: 0; transition: opacity .4s var(--ease); }
        .btn-cta::after { content: ''; position: absolute; top: 0; left: -75%; width: 50%; height: 100%; background: linear-gradient(120deg, transparent, rgba(255,255,255,.35), transparent); transform: skewX(-20deg); animation: shine 3.5s ease-in-out infinite; }
        @keyframes shine { 0%, 60% { left: -75%; } 100% { left: 130%; } }
        .btn-cta > * { position: relative; z-index: 1; }
        .btn-cta:hover { transform: translateY(-3px); box-shadow: 0 20px 40px rgba(185, 152, 105, 0.45); }
        .btn-cta:hover::before { opacity: 1; }
        .btn-cta .cta-text { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; }
        .btn-cta .cta-sub { font-size: 9px; font-weight: 400; letter-spacing: 2px; opacity: .8; text-transform: uppercase; }
        .btn-cta .cta-main { font-family: 'Instrument Serif', serif; font-style: italic; font-size: 19px; font-weight: 600; letter-spacing: 1px; text-transform: none; }
        .btn-cta .cta-arrow { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.2); display: flex; align-items: center; justify-content: center; font-size: 14px; transition: transform .35s var(--ease); }
        .btn-cta:hover .cta-arrow { transform: translateX(4px); background: rgba(255,255,255,.3); }

        /* ---------- ADMIN MENU Y BIENVENIDA ESTÉTICA ---------- */
        .admin-menu {
            position: fixed;
            left: 20px;
            top: 50%;
            transform: translateY(-50%);
            width: 240px;
            background: rgba(45, 16, 17, 0.95);
            backdrop-filter: blur(15px);
            -webkit-backdrop-filter: blur(15px);
            border: 1px solid rgba(185, 152, 105, 0.3);
            padding: 30px 15px;
            display: flex;
            flex-direction: column;
            gap: 8px;
            z-index: 1100;
            box-shadow: 20px 0 50px rgba(0,0,0,0.3);
            border-radius: 0;
            transition: all 0.4s var(--ease);
            opacity: 0;
            pointer-events: none;
        }

        .admin-menu.show {
            opacity: 1;
            pointer-events: all;
        }

        .admin-menu-header {
            text-align: center;
            margin-bottom: 25px;
            padding-bottom: 20px;
            border-bottom: 1px solid rgba(185, 152, 105, 0.2);
        }

        .admin-menu-header .mini-logo {
            font-family: 'Instrument Serif', serif;
            color: var(--accent-light);
            font-size: 18px;
            letter-spacing: 4px;
            text-transform: uppercase;
        }

        .admin-menu-item {
            background: transparent;
            border: none;
            color: rgba(255, 255, 255, 0.6);
            padding: 14px 20px;
            display: flex;
            align-items: center;
            gap: 15px;
            font-family: 'Barlow', sans-serif;
            font-size: 11px;
            text-transform: uppercase;
            letter-spacing: 2px;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.4s var(--ease);
            position: relative;
            text-align: left;
        }

        .admin-menu-item i {
            font-size: 16px;
            color: var(--accent);
            transition: all 0.4s var(--ease);
        }

        .admin-menu-item:hover {
            color: #fff;
            background: rgba(185, 152, 105, 0.1);
        }

        .admin-menu-item.active {
            color: #fff;
            background: rgba(59, 33, 28, 0.5);
        }

        .admin-menu-item.active::before {
            content: '';
            position: absolute;
            left: 0;
            top: 0;
            height: 100%;
            width: 3px;
            background: var(--accent);
        }

        .admin-menu-item.active i {
            color: #fff;
            transform: scale(1.1);
        }

        .admin-menu-sep {
            margin-top: auto;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            padding-top: 10px;
        }

        .admin-menu-end { color: #ff9e9e !important; }
        .admin-menu-end i { color: #ff9e9e !important; }

        /* CTA button "Nueva Cita" — destaca como acción rápida */
        .admin-menu-cta {
            background: linear-gradient(135deg, var(--accent), var(--accent-light)) !important;
            color: #2a1a05 !important;
            font-weight: 700 !important;
            margin: 4px 0;
            border-radius: 4px;
        }
        .admin-menu-cta i { color: #2a1a05 !important; }
        .admin-menu-cta:hover { background: linear-gradient(135deg, var(--accent-light), var(--accent)) !important; transform: translateX(2px); }
        .admin-menu-cta.active::before { background: #2a1a05 !important; }

        @media (min-width: 769px) {
            #vistaAdmin.active-layout {
                margin-left: 280px;
                transition: margin 0.5s var(--ease);
            }
        }

        @media (max-width: 768px) {
            .admin-menu {
                left: 0; bottom: 0; top: auto; transform: none; width: 100%; height: auto;
                flex-direction: row; justify-content: space-around; padding: 10px 5px;
                border-radius: 20px 20px 0 0; border-left: none; border-top: 1px solid rgba(185, 152, 105, 0.4);
                overflow-x: auto;
            }
            .admin-menu-header, .admin-menu-sep { display: none; }
            .admin-menu-item {
                flex-direction: column; gap: 5px; padding: 10px 5px; font-size: 8px;
                letter-spacing: 1px; flex: 1 0 auto; min-width: 64px; align-items: center; text-align: center;
            }
            .admin-menu-item i { font-size: 18px; }
            .admin-menu-item.active::before { height: 3px; width: 20px; top: 0; left: 50%; transform: translateX(-50%); }
            .admin-menu-cta { margin: 0 2px; border-radius: 12px; }
            body.admin-mode { padding-bottom: 90px; }
        }

        /* ── Modal nueva cita / nuevo usuario admin ── */
        .nc-client-search {
            position: relative;
            margin-bottom: 8px;
        }
        .nc-client-results {
            position: absolute; left: 0; right: 0; top: calc(100% - 1px);
            background: #fff; border: 1px solid var(--line); border-top: none;
            max-height: 220px; overflow-y: auto; z-index: 10;
            box-shadow: var(--shadow-sm);
            display: none;
        }
        .nc-client-results.show { display: block; }
        .nc-client-item {
            padding: 10px 14px; cursor: pointer; border-bottom: 1px solid var(--line);
            transition: background .2s var(--ease);
            display: flex; flex-direction: column; gap: 2px;
        }
        .nc-client-item:last-child { border-bottom: none; }
        .nc-client-item:hover { background: var(--cream); }
        .nc-client-item .nc-cn { font-weight: 600; font-size: 13px; color: var(--dark-text); }
        .nc-client-item .nc-cm { font-size: 11px; color: var(--muted); }
        .nc-client-item.new-client { background: var(--burgundy-soft); border-top: 1px dashed var(--burgundy); }
        .nc-client-item.new-client .nc-cn { color: var(--burgundy); }
        .nc-client-item.new-client i { color: var(--burgundy); margin-right: 6px; }

        .nc-selected-client {
            background: linear-gradient(135deg, var(--burgundy-soft), rgba(185,152,105,.08));
            border: 1px solid rgba(59,33,28,.2); padding: 12px 14px;
            display: flex; justify-content: space-between; align-items: center;
            margin-bottom: 12px;
        }
        .nc-selected-client .nc-sc-name { font-weight: 600; font-size: 14px; color: var(--burgundy); }
        .nc-selected-client .nc-sc-meta { font-size: 11px; color: var(--muted); margin-top: 2px; }
        .nc-selected-client .nc-sc-clear {
            background: none; border: none; cursor: pointer; color: var(--muted);
            font-size: 14px; padding: 4px 8px;
        }
        .nc-selected-client .nc-sc-clear:hover { color: var(--burgundy); }

        .nc-section-title {
            font-family: 'Instrument Serif', serif; font-size: 13px; color: var(--burgundy);
            font-weight: 600; margin: 18px 0 10px; display: flex; align-items: center; gap: 8px;
        }
        .nc-section-title i { color: var(--accent); }

        .nc-servicio-grid {
            display: grid; gap: 6px; max-height: 220px; overflow-y: auto;
            padding: 4px; border: 1px solid var(--line); background: var(--cream);
        }
        .nc-servicio-opcion {
            display: flex; justify-content: space-between; align-items: center;
            padding: 10px 12px; background: #fff; border: 1px solid transparent;
            cursor: pointer; transition: all .25s var(--ease); font-size: 12px;
        }
        .nc-servicio-opcion:hover { border-color: var(--accent); }
        .nc-servicio-opcion.selected { border-color: var(--burgundy); background: var(--burgundy-soft); }
        .nc-servicio-opcion .nc-srv-dur {
            font-size: 10px; padding: 3px 8px; background: var(--cream-deep);
            color: var(--muted); letter-spacing: 1px;
        }
        .nc-servicio-opcion.selected .nc-srv-dur { background: var(--burgundy); color: #fff; }
        .nc-servicio-grupo-titulo {
            font-size: 9px; text-transform: uppercase; letter-spacing: 2px;
            color: var(--accent); padding: 8px 12px 4px; font-weight: 600;
        }

        /* Selector de servicio dentro del editor de cita */
        .ed-servicio-actual {
            display: flex; align-items: center; gap: 10px;
            padding: 10px 12px; background: var(--cream); border: 1px solid var(--line);
            font-size: 12px; color: var(--burgundy);
        }
        .ed-servicio-actual span { flex: 1; line-height: 1.35; }
        .ed-servicio-btn {
            flex: none; background: none; border: 1px solid var(--accent); color: var(--accent);
            font-size: 10px; letter-spacing: 1px; text-transform: uppercase;
            padding: 5px 10px; cursor: pointer; transition: all .25s var(--ease);
        }
        .ed-servicio-btn:hover { background: var(--accent); color: #fff; }
        /* Al crecer el modal con el servicio, que no se salga de pantalla */
        #editCitaModal .modal-x { max-height: calc(100vh - 48px); overflow-y: auto; }

        .nc-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
        @media (max-width: 520px) { .nc-row { grid-template-columns: 1fr; } }

        .nc-slot-info {
            font-size: 11px; padding: 8px 10px; background: var(--cream-deep);
            color: var(--muted); margin-top: 6px; display: none;
        }
        .nc-slot-info.show { display: block; }
        .nc-slot-info.error { background: rgba(176, 48, 48, .08); color: #b03030; }
        .nc-slot-info.ok    { background: rgba(74, 124, 89, .1); color: #4A7C59; }

        /* Usuarios admin section */
        .usuarios-card { padding: 30px; }
        .usuarios-list { margin-top: 18px; }
        .usuario-row {
            display: flex; justify-content: space-between; align-items: center;
            padding: 14px 16px; background: var(--cream); margin-bottom: 8px;
            transition: all .3s var(--ease);
        }
        .usuario-row:hover { background: #fff; box-shadow: var(--shadow-sm); transform: translateX(2px); }
        .usuario-row .u-info { display: flex; align-items: center; gap: 12px; }
        .usuario-row .u-avatar {
            width: 36px; height: 36px; border-radius: 50%;
            background: linear-gradient(135deg, var(--burgundy), var(--burgundy-dark));
            color: #fff; display: flex; align-items: center; justify-content: center;
            font-weight: 600; font-size: 14px;
        }
        .usuario-row .u-name { font-weight: 600; font-size: 14px; }
        .usuario-row .u-meta { font-size: 11px; color: var(--muted); }
        .usuario-row .u-actions { display: flex; gap: 6px; }

        /* Boton flotante mobile "+ Nueva cita" */
        .fab-nueva-cita {
            display: none;
            position: fixed; right: 18px; bottom: 90px; z-index: 999;
            width: 56px; height: 56px; border-radius: 50%;
            background: linear-gradient(135deg, var(--burgundy), var(--burgundy-dark));
            color: #fff; border: none; cursor: pointer;
            box-shadow: 0 8px 24px rgba(59,33,28,.4);
            font-size: 22px; transition: all .3s var(--ease);
        }
        .fab-nueva-cita:hover { transform: scale(1.08); }
        body.admin-mode .fab-nueva-cita { display: flex; align-items: center; justify-content: center; }
        @media (min-width: 769px) { body.admin-mode .fab-nueva-cita { display: none; } }

        /* ── OTP / Email verification ─────────────────────── */
        .otp-step { display: none; }
        .otp-step.active { display: block; }

        .otp-email-display {
            font-size: 13px; font-weight: 600; color: var(--burgundy);
            background: var(--burgundy-soft); padding: 10px 14px;
            margin-bottom: 18px; text-align: center; letter-spacing: .3px;
        }
        .otp-email-display i { margin-right: 8px; color: var(--accent); }

        .otp-inputs {
            display: flex; gap: 10px; justify-content: center;
            margin: 20px 0;
        }
        .otp-digit {
            width: 48px; height: 60px; border: 1px solid var(--line);
            background: #fff; text-align: center; font-size: 26px;
            font-family: 'Instrument Serif', serif; font-weight: 700;
            color: var(--burgundy); outline: none;
            transition: all .25s var(--ease); caret-color: var(--burgundy);
        }
        .otp-digit:focus { border-color: var(--burgundy); box-shadow: 0 0 0 3px rgba(59,33,28,.1); }
        .otp-digit.filled { border-color: var(--accent); background: var(--cream); }

        .otp-resend {
            text-align: center; font-size: 12px; color: var(--muted);
            margin-top: 14px;
        }
        .otp-resend button {
            background: none; border: none; color: var(--burgundy);
            font-size: 12px; cursor: pointer; font-weight: 600;
            font-family: 'Barlow', sans-serif; padding: 0;
            text-decoration: underline; text-underline-offset: 3px;
        }
        .otp-resend button:disabled { color: var(--muted); text-decoration: none; cursor: default; }

        .otp-countdown {
            display: inline-block; font-weight: 600; color: var(--burgundy);
            min-width: 28px;
        }

        .step-indicator {
            display: flex; gap: 6px; justify-content: center;
            margin-bottom: 20px;
        }
        .step-dot {
            width: 8px; height: 8px; border-radius: 50%;
            background: var(--line); transition: all .3s var(--ease);
        }
        .step-dot.active { background: var(--burgundy); width: 22px; border-radius: 4px; }
        .step-dot.done { background: var(--accent); }

        .back-step {
            background: none; border: none; color: var(--burgundy); font-size: 13px; font-weight: 600;
            cursor: pointer; font-family: 'Barlow', sans-serif; padding: 0;
            display: flex; align-items: center; gap: 6px; margin-bottom: 16px;
            transition: color .2s; text-decoration: underline; text-decoration-color: rgba(59,33,28,0.3); text-underline-offset: 4px;
        }
        .back-step:hover { color: var(--accent); text-decoration-color: var(--accent); }
        .welcome-modal {
            position: fixed; inset: 0;
            background: rgba(18, 5, 6, 0.9);
            backdrop-filter: blur(10px);
            z-index: 2000;
            display: none; align-items: center; justify-content: center;
            opacity: 0; transition: opacity 0.5s var(--ease);
        }
        .welcome-modal.show { display: flex; opacity: 1; }
        .welcome-box {
            background: #fff;
            padding: 50px 40px;
            max-width: 400px; width: 90%;
            text-align: center;
            border: 1px solid var(--accent);
            position: relative;
            transform: translateY(20px);
            transition: transform 0.5s var(--ease);
        }
        .welcome-modal.show .welcome-box { transform: translateY(0); }
        .welcome-box::after {
            content: ''; position: absolute; inset: 10px;
            border: 1px solid rgba(59, 33, 28, 0.1); pointer-events: none;
        }
        .welcome-crown { font-size: 40px; display: block; margin-bottom: 15px; color: var(--accent); }
        .welcome-title { font-family: 'Barlow', sans-serif; text-transform: uppercase; letter-spacing: 3px; font-size: 11px; color: var(--muted); }
        .welcome-name { font-family: 'Instrument Serif', serif; font-size: 32px; font-style: italic; color: var(--burgundy); margin-bottom: 15px; text-transform: capitalize;}
        .welcome-msg { color: var(--muted); font-size: 13px; line-height: 1.6; }
        .welcome-close {
            background: linear-gradient(135deg, var(--accent), var(--accent-light));
            color: #fff; border: none; padding: 15px 30px; font-size: 10px;
            text-transform: uppercase; letter-spacing: 2.5px; font-weight: 600; cursor: pointer;
            margin-top: 25px; transition: all 0.3s; box-shadow: 0 10px 20px rgba(185, 152, 105, 0.3);
        }
        .welcome-close:hover { transform: translateY(-3px); box-shadow: 0 15px 25px rgba(185, 152, 105, 0.4); }

        /* ---------- STAMPS (Cliente) ---------- */
        .stamps-wrap { background: linear-gradient(180deg, #fff, var(--cream)); border: 1px solid rgba(185, 152, 105, 0.25); padding: 30px 26px; margin: 28px 0 24px; }
        .stamps-header { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 18px; }
        /* ---------- 3D LOYALTY CARD ---------- */
        .loyalty-3d-card {
            background: #FFFaf2;
            border-radius: 12px;
            padding: 30px 20px;
            position: relative;
            margin: 20px 10px 30px;
            border: 1px solid #fff;
            /* 3D Shadows and perspective */
            box-shadow:
                inset 0 0 20px rgba(200, 180, 160, 0.2),
                0 15px 35px -5px rgba(59, 33, 28, 0.15),
                0 5px 15px rgba(0, 0, 0, 0.08);
            transform: perspective(800px) rotateX(4deg);
            transition: transform 0.3s ease;
        }
        .loyalty-3d-card:hover {
            transform: perspective(800px) rotateX(0deg) translateY(-5px);
        }

        .stamps-container { display: grid; grid-template-columns: repeat(5, 1fr); gap: 15px; margin-top: 15px; }

        /* Empty stamp guides (dashed circles on paper) */
        .stamp-guide {
            aspect-ratio: 1;
            border: 2px dashed #D0C3B5;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
            background: rgba(255,255,255,0.5);
        }

        /* The actual red rubber stamp */
        .stamp-mark {
            position: absolute;
            width: 100%;
            height: 100%;
            border: 3px solid #D32F2F; /* Classic stamp red */
            border-radius: 50%;
            color: #D32F2F;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 22px;
            opacity: 0;
            transform: scale(3) rotate(-20deg);
            /* Animation for stamping */
            animation: stamp-drop 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
        }

        /* The 10th stamp (gold reward) */
        .stamp-mark.gold {
            border-color: var(--accent);
            color: var(--accent);
        }

        @keyframes stamp-drop {
            0% { transform: scale(3) rotate(-20deg); opacity: 0; }
            50% { opacity: 1; }
            100% { transform: scale(1) rotate(var(--rot, -5deg)); opacity: 0.85; }
        }

        .reward-info { text-align: center; padding: 20px 18px; background: var(--burgundy-soft); border-left: 2px solid var(--burgundy); color: var(--burgundy); font-size: 12.5px; letter-spacing: .8px; font-weight: 500; margin-top: 20px; }
        .reward-info.gold { background: rgba(185, 152, 105, 0.10); border-left-color: var(--accent); color: #8a6f25; }

        /* ---------- ADMIN STATS & TABLES ---------- */
        .admin-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; flex-wrap: wrap; gap: 12px; }
        .admin-header h5 { font-family: 'Instrument Serif', serif; color: var(--burgundy); margin: 0; font-size: 22px; font-weight: 600; display: flex; align-items: center; gap: 12px; }
        .admin-search { position: relative; flex: 0 1 240px; }
        .admin-search input { width: 100%; border: 1px solid var(--line); background: var(--cream); padding: 9px 12px 9px 34px; font-size: 12px; font-family: 'Barlow', sans-serif; color: var(--dark-text); outline: none; transition: all .3s var(--ease); }
        .admin-search input:focus { border-color: var(--burgundy); background: #fff; }
        .admin-search i { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: 11px; }

        .admin-table { width: 100%; border-collapse: separate; border-spacing: 0 8px; }
        .admin-table th { font-size: 9.5px; text-transform: uppercase; letter-spacing: 2.5px; color: var(--burgundy); border-bottom: 1px solid var(--burgundy); padding: 10px 14px; font-weight: 600; text-align: left; }
        .admin-table tbody tr { background: var(--cream); transition: all .3s var(--ease); }
        .admin-table tbody tr:hover { background: #fff; box-shadow: var(--shadow-sm); transform: translateX(2px); }
        .admin-table td { padding: 14px; font-size: 13px; border: none; vertical-align: middle; }
        .admin-table td:first-child { padding-left: 18px; }
        .admin-table td:last-child { padding-right: 18px; }
        .client-name { font-weight: 600; color: var(--dark-text); }
        .client-phone { color: var(--muted); font-size: 11px; letter-spacing: .5px; }
        .stamps-pill { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line); padding: 5px 12px; font-size: 11px; font-weight: 600; letter-spacing: 1px; }
        .stamps-pill .bar { width: 60px; height: 4px; background: var(--line); position: relative; overflow: hidden; }
        .stamps-pill .bar::after { content: ''; position: absolute; inset: 0; width: var(--p, 0%); background: linear-gradient(90deg, var(--burgundy), var(--accent)); transition: width .6s var(--ease); }
        .stamps-pill.full { background: var(--burgundy); color: #fff; border-color: var(--burgundy); }

        .action-icon { cursor: pointer; margin: 0 4px; color: var(--muted); width: 32px; height: 32px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); background: #fff; transition: all .25s var(--ease); font-size: 12px; }
        .action-icon:hover { color: var(--burgundy); border-color: var(--burgundy); transform: translateY(-1px); }
        .action-icon.danger:hover { color: #fff; background: var(--burgundy); border-color: var(--burgundy); }
        .action-icon.success:hover { color: #fff; background: #2C2C2C; border-color: #2C2C2C; }

        .cita-card { border: 1px solid var(--line); background: var(--cream); padding: 16px 18px; margin-bottom: 12px; transition: all .3s var(--ease); position: relative; }
        .cita-card:hover { background: #fff; box-shadow: var(--shadow-sm); }
        .cita-card .cita-name { font-family: 'Instrument Serif', serif; font-size: 16px; color: var(--burgundy); font-weight: 600; margin-bottom: 4px; }
        .cita-card .cita-meta { font-size: 12px; color: var(--muted); display: flex; gap: 14px; margin-bottom: 12px; }
        .cita-actions { display: flex; gap: 8px; }
        .cita-btn { flex: 1; padding: 8px 10px; font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase; font-weight: 600; border: none; cursor: pointer; font-family: 'Barlow', sans-serif; transition: all .25s var(--ease); }
        .cita-btn.approve { background: var(--burgundy); color: #fff; }
        .cita-btn.approve:hover { background: var(--burgundy-dark); }
        .cita-btn.reject { background: transparent; color: var(--muted); border: 1px solid var(--line); }
        .cita-btn.reject:hover { color: var(--burgundy); border-color: var(--burgundy); }

        /* ---------- SOCIAL BAR ---------- */
        .social-section { margin-top: 28px; text-align: center; }
        .social-title { font-family: 'Instrument Serif', serif; font-style: italic; font-size: 14px; font-weight: 600; color: var(--burgundy); margin-bottom: 14px; display: flex; align-items: center; justify-content: center; gap: 12px; text-shadow: 0 2px 10px rgba(255,255,255,1), 0 0 20px rgba(255,255,255,0.9); }
        .social-title::before, .social-title::after { content: ''; height: 1.5px; width: 40px; background: rgba(59,33,28,0.5); box-shadow: 0 0 10px rgba(255,255,255,0.8); }
        .social-icons { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
        .social-link { width: 48px; height: 48px; border: 1px solid rgba(59,33,28,0.2); background: #ffffff; box-shadow: 0 8px 25px rgba(0,0,0,0.1); color: var(--burgundy); display: inline-flex; align-items: center; justify-content: center; font-size: 18px; text-decoration: none; transition: all .35s var(--ease); position: relative; overflow: hidden; border-radius: 50%; }
        .social-link::before { content: ''; position: absolute; inset: 0; background: var(--burgundy); transform: translateY(100%); transition: transform .35s var(--ease); }
        .social-link i { position: relative; z-index: 1; transition: color .35s var(--ease); }
        .social-link:hover { transform: translateY(-3px); border-color: var(--burgundy); box-shadow: 0 10px 22px rgba(59, 33, 28, .18); }
        .social-link:hover::before { transform: translateY(0); }
        .social-link:hover i { color: #fff; }
        .social-link.whatsapp:hover { border-color: #25D366; }
        .social-link.whatsapp:hover::before { background: #25D366; }
        .social-link.instagram:hover { border-color: #E1306C; }
        .social-link.instagram:hover::before { background: linear-gradient(45deg, #F58529, #DD2A7B, #8134AF); }
        .social-link.tiktok:hover { border-color: #000; }
        .social-link.tiktok:hover::before { background: #000; }

        .empty-state { text-align: center; padding: 30px 18px; color: var(--muted); font-size: 12.5px; }
        .empty-state i { font-size: 26px; color: var(--line); margin-bottom: 12px; display: block; }
        .empty-state .label { font-family: 'Instrument Serif', serif; font-style: italic; font-size: 14px; color: var(--muted); }

        .stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 24px; }
        .stat { background: #fff; border: 1px solid rgba(229, 218, 206, 0.6); padding: 18px; position: relative; overflow: hidden; }
        .stat::before { content: ''; position: absolute; top: 0; left: 0; width: 3px; height: 100%; background: var(--burgundy); }
        .stat .num { font-family: 'Instrument Serif', serif; font-size: 32px; color: var(--burgundy); font-weight: 700; line-height: 1; }
        .stat .lbl { font-size: 10px; text-transform: uppercase; letter-spacing: 2px; color: var(--muted); margin-top: 6px; }
        .stat:nth-child(2):before { background: var(--accent); }
        .stat:nth-child(2) .num { color: var(--accent); }

        /* toasts */
        .toast-stack { position: fixed; bottom: 30px; right: 30px; z-index: 9999; display: flex; flex-direction: column; gap: 10px; max-width: 360px; }
        .toast { background: #fff; border-left: 3px solid var(--burgundy); padding: 14px 18px; box-shadow: var(--shadow-lg); font-size: 13px; color: var(--dark-text); display: flex; align-items: flex-start; gap: 12px; animation: toastIn .4s var(--ease) forwards; transform: translateX(120%); opacity: 0; }
        .toast.success { border-left-color: var(--accent); }
        .toast.error { border-left-color: #b03030; }
        .toast .msg-title { font-family: 'Instrument Serif', serif; font-size: 13px; font-weight: 600; color: var(--burgundy); margin-bottom: 2px; }
        .toast.out { animation: toastOut .35s var(--ease) forwards; }
        @keyframes toastIn { to { transform: translateX(0); opacity: 1; } }
        @keyframes toastOut { to { transform: translateX(120%); opacity: 0; } }

        /* modal general */
        .modal-backdrop-x { position: fixed; inset: 0; background: rgba(44, 44, 44, .55); backdrop-filter: blur(4px); z-index: 9000; display: none; align-items: center; justify-content: center; padding: 20px; opacity: 0; transition: opacity .3s var(--ease); }
        .modal-backdrop-x.show { display: flex; opacity: 1; }
        .modal-x { background: #fff; max-width: 420px; width: 100%; padding: 36px 32px; position: relative; border: 1px solid rgba(185, 152, 105, .25); box-shadow: var(--shadow-lg); transform: scale(.96); transition: transform .35s var(--ease); }
        .modal-backdrop-x.show .modal-x { transform: scale(1); }
        .modal-x::before { content: ''; position: absolute; inset: 6px; border: 1px solid rgba(185, 152, 105, .15); pointer-events: none; }
        .modal-x h4 { font-family: 'Instrument Serif', serif; color: var(--burgundy); font-size: 22px; margin: 0 0 8px; text-align: center; }
        .modal-x p { color: var(--muted); font-size: 13px; text-align: center; margin: 0 0 24px; line-height: 1.5; }
        .modal-actions { display: flex; gap: 10px; }
        .modal-actions button { flex: 1; }

        /* page enter animation */
        .view-anim { animation: viewIn .55s var(--ease); }
        @keyframes viewIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }

        /* ---------- ACCESO SALON ---------- */
        .access-card { background: #ffffff; color: var(--dark-text); padding: 0; position: relative; border: 1px solid rgba(229, 218, 206, 0.6); }
        .access-hero { padding: 38px 38px 10px; text-align: center; position: relative; z-index: 2; }
        .access-icon { width: 64px; height: 64px; margin: 0 auto 20px; background: rgba(59, 33, 28, 0.05); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 24px; color: var(--burgundy); }
        .access-hero .ornament { display: flex; align-items: center; justify-content: center; gap: 12px; font-size: 10px; letter-spacing: 5px; text-transform: uppercase; color: var(--accent); font-weight: 500; margin-bottom: 12px; }
        .access-hero .ornament::before, .access-hero .ornament::after { content: ''; height: 1px; width: 30px; background: linear-gradient(90deg, transparent, var(--accent), transparent); }
        .access-hero h2 { font-family: 'Instrument Serif', serif; font-size: 32px; color: var(--burgundy); margin: 0 0 4px; font-weight: 600; }
        .access-hero .accent-italic { font-family: 'Instrument Serif', serif; font-style: italic; color: var(--burgundy); font-size: 36px; display: block; margin-top: -6px; margin-bottom: 8px; }
        .access-hero p { color: var(--muted); font-size: 12px; letter-spacing: .8px; margin: 0 0 6px; }
        .access-form { background: #fff; padding: 10px 38px 36px; position: relative; z-index: 2; }
        .access-back { text-align: center; margin-top: 20px; display: block; background: none; border: none; color: var(--burgundy); font-size: 10px; letter-spacing: 2.5px; text-transform: uppercase; font-weight: 500; cursor: pointer; width: 100%; transition: color .3s var(--ease); }
        .access-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--line); }
        .access-feature { text-align: center; color: var(--muted); font-size: 9.5px; letter-spacing: 1px; text-transform: uppercase; }
        .access-feature i { display: block; font-size: 16px; color: var(--accent-light); margin-bottom: 6px; }

        /* ---------- MIS CITAS (vista cliente) ---------- */
        .mis-citas-section { margin-top: 28px; text-align: left; }
        .mis-citas-title { display: flex; align-items: center; justify-content: center; gap: 12px; font-family: 'Instrument Serif', serif; font-style: italic; font-size: 14px; color: var(--muted); margin-bottom: 18px; }
        .mis-citas-title::before, .mis-citas-title::after { content: ''; flex: 1; max-width: 50px; height: 1px; background: var(--line); }
        .mis-citas-tabs { display: flex; gap: 0; margin-bottom: 18px; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
        .mis-citas-tab { flex: 1; padding: 10px 14px; background: #fff; border: none; font-family: 'Barlow', sans-serif; font-size: 11px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); cursor: pointer; transition: all .25s var(--ease); }
        .mis-citas-tab:not(:last-child) { border-right: 1px solid var(--line); }
        .mis-citas-tab.active { background: var(--burgundy); color: #fff; }
        .mis-citas-tab:hover:not(.active) { background: var(--cream); }
        .mis-citas-list { display: flex; flex-direction: column; gap: 12px; }
        .mi-cita-card { display: grid; grid-template-columns: 76px 1fr; gap: 16px; padding: 16px; background: linear-gradient(180deg, #fff, var(--cream)); border: 1px solid rgba(185, 152, 105, 0.25); text-align: left; transition: all .3s var(--ease); position: relative; overflow: hidden; }
        .mi-cita-card::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--burgundy); transition: width .3s var(--ease); }
        .mi-cita-card.pendiente::before  { background: var(--accent); }
        .mi-cita-card.confirmada::before { background: var(--burgundy); }
        .mi-cita-card.completada::before { background: #4A7C59; }
        .mi-cita-card.cancelada::before  { background: var(--muted); }
        .mi-cita-card:hover { box-shadow: var(--shadow-sm); transform: translateY(-1px); }
        .mi-cita-card:hover::before { width: 5px; }

        .mi-cita-date { background: var(--burgundy); color: #fff; border-radius: 4px; text-align: center; padding: 10px 4px; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1; box-shadow: 0 6px 14px rgba(59, 33, 28, .18); }
        .mi-cita-card.cancelada .mi-cita-date { background: var(--muted); box-shadow: none; opacity: .7; }
        .mi-cita-date .day { font-family: 'Instrument Serif', serif; font-size: 28px; font-weight: 700; }
        .mi-cita-date .month { font-size: 9px; text-transform: uppercase; letter-spacing: 1.8px; margin-top: 4px; font-weight: 500; }
        .mi-cita-info { display: flex; flex-direction: column; justify-content: center; gap: 4px; }
        .mi-cita-info .weekday { font-family: 'Barlow', sans-serif; font-size: 10px; text-transform: uppercase; letter-spacing: 2px; color: var(--muted); font-weight: 600; }
        .mi-cita-info .hora { font-family: 'Instrument Serif', serif; font-size: 22px; color: var(--burgundy); font-weight: 600; line-height: 1; }
        .mi-cita-card.cancelada .mi-cita-info .hora { color: var(--muted); text-decoration: line-through; }
        .mi-cita-info .estado-pill { align-self: flex-start; margin-top: 4px; }
        .mi-cita-actions { grid-column: 1 / -1; display: flex; gap: 8px; padding-top: 12px; margin-top: 4px; border-top: 1px dashed var(--line); }
        .btn-whatsapp { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 14px; background: #25D366; color: #fff; border: none; font-family: 'Barlow', sans-serif; font-size: 10.5px; letter-spacing: 1.5px; text-transform: uppercase; font-weight: 600; cursor: pointer; text-decoration: none; transition: all .25s var(--ease); }
        .btn-whatsapp:hover { background: #1ebe5d; transform: translateY(-1px); box-shadow: 0 8px 18px rgba(37, 211, 102, .35); color: #fff; }

        .mis-citas-empty { text-align: center; padding: 24px 16px; color: var(--muted); font-size: 12.5px; border: 1px dashed var(--line); background: #fff; }
        .mis-citas-empty i { display: block; font-size: 22px; color: var(--line); margin-bottom: 10px; }
        .mis-citas-empty .label { font-family: 'Instrument Serif', serif; font-style: italic; font-size: 14px; color: var(--muted); }

        /* ---------- AGENDA VISUAL (admin) ---------- */
        .agenda-wrap { display: grid; grid-template-columns: 360px 1fr; gap: 0; border: 1px solid rgba(229, 218, 206, 0.6); background: #fff; }
        .agenda-cal { padding: 22px; border-right: 1px solid var(--line); background: linear-gradient(180deg, #fff, var(--cream)); }
        .agenda-day-panel { padding: 22px 26px; min-height: 460px; display: flex; flex-direction: column; background: #fff; }
        .agenda-cal .cal-grid { gap: 4px; }
        .agenda-cal .cal-day { aspect-ratio: 1; position: relative; font-size: 13px; background: #fff; }
        .agenda-cal .cal-day .cnt { position: absolute; top: 3px; right: 3px; min-width: 16px; height: 16px; padding: 0 4px; background: var(--burgundy); color: #fff; font-size: 9px; font-weight: 700; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-family: 'Barlow', sans-serif; letter-spacing: 0; border: 1.5px solid #fff; }
        .agenda-cal .cal-day .cnt.pendiente { background: var(--accent); }
        .agenda-cal .cal-day.has-citas { font-weight: 600; }
        .agenda-cal .cal-day.selected { background: var(--burgundy); color: #fff; border-color: var(--burgundy); }
        .agenda-cal .cal-day.selected .cnt { background: #fff; color: var(--burgundy); border-color: var(--burgundy); }

        .agenda-day-header { display: flex; justify-content: space-between; align-items: flex-end; padding-bottom: 14px; border-bottom: 1px solid var(--line); margin-bottom: 18px; flex-wrap: wrap; gap: 10px; }
        .agenda-day-header .day-title { font-family: 'Instrument Serif', serif; color: var(--burgundy); font-size: 22px; font-weight: 600; line-height: 1.1; text-transform: capitalize; }
        .agenda-day-header .day-sub { font-style: italic; color: var(--muted); font-size: 12px; margin-top: 4px; }
        .agenda-day-header .day-count { display: flex; gap: 6px; flex-wrap: wrap; }
        .agenda-day-list { flex: 1; overflow-y: auto; }
        .agenda-day-list::-webkit-scrollbar { width: 6px; }
        .agenda-day-list::-webkit-scrollbar-thumb { background: var(--line); }

        .appt-row { display: grid; grid-template-columns: 78px 1fr auto; gap: 14px; padding: 14px 0; border-bottom: 1px dashed var(--line); align-items: center; transition: all .25s var(--ease); }
        .appt-row:hover { background: var(--cream); padding-left: 8px; padding-right: 8px; margin: 0 -8px; }
        .appt-row:last-child { border-bottom: none; }
        .appt-time { font-family: 'Instrument Serif', serif; font-size: 22px; color: var(--burgundy); font-weight: 600; text-align: center; line-height: 1; }
        .appt-time .ampm { display: block; font-size: 9px; font-style: italic; font-weight: 400; color: var(--muted); letter-spacing: 1.5px; text-transform: uppercase; margin-top: 4px; }
        .appt-info .appt-name { font-weight: 600; color: var(--dark-text); font-size: 14px; margin-bottom: 3px; }
        .appt-info .appt-phone { color: var(--muted); font-size: 11.5px; display: flex; align-items: center; gap: 6px; }
        .appt-info .appt-phone i { color: var(--accent); font-size: 10px; }
        .appt-actions { display: flex; gap: 4px; align-items: center; }

        .estado-pill { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; font-size: 9.5px; font-weight: 600; text-transform: uppercase; letter-spacing: 1.2px; border-radius: 100px; white-space: nowrap; }
        .estado-pill::before { content: ''; width: 5px; height: 5px; border-radius: 50%; display: block; }
        .estado-pill.pendiente { background: rgba(185, 152, 105, .15); color: #8a6f25; }
        .estado-pill.pendiente::before { background: var(--accent); }
        .estado-pill.confirmada { background: var(--burgundy-soft); color: var(--burgundy); }
        .estado-pill.confirmada::before { background: var(--burgundy); }
        .estado-pill.completada { background: rgba(74, 124, 89, .15); color: #2D4F37; }
        .estado-pill.completada::before { background: #4A7C59; }
        .estado-pill.cancelada { background: rgba(140, 130, 120, .15); color: var(--muted); text-decoration: line-through; }
        .estado-pill.cancelada::before { background: var(--muted); }

        .agenda-empty { text-align: center; padding: 50px 20px; color: var(--muted); }
        .agenda-empty i { font-size: 36px; color: var(--line); margin-bottom: 14px; display: block; }
        .agenda-empty .label { font-family: 'Instrument Serif', serif; font-style: italic; font-size: 16px; }

        .agenda-filters { display: flex; gap: 6px; margin-bottom: 16px; flex-wrap: wrap; }
        .filter-chip { background: #fff; border: 1px solid var(--line); padding: 6px 12px; font-size: 10px; letter-spacing: 1.2px; text-transform: uppercase; font-weight: 600; color: var(--muted); cursor: pointer; font-family: 'Barlow', sans-serif; transition: all .25s var(--ease); }
        .filter-chip:hover { border-color: var(--burgundy); color: var(--burgundy); }
        .filter-chip.active { background: var(--burgundy); color: #fff; border-color: var(--burgundy); }

        .agenda-legend { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 9.5px; color: var(--muted); text-transform: uppercase; letter-spacing: 1.2px; }
        .legend-item { display: flex; align-items: center; gap: 6px; }
        .legend-dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }

        .estado-select-group { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; margin: 16px 0 6px; }
        .estado-select-group .estado-opt { padding: 10px 8px; border: 1px solid var(--line); background: #fff; cursor: pointer; font-size: 10px; text-transform: uppercase; letter-spacing: 1.2px; font-weight: 600; color: var(--muted); font-family: 'Barlow', sans-serif; transition: all .25s var(--ease); text-align: center; }
        .estado-select-group .estado-opt:hover { border-color: var(--burgundy); color: var(--burgundy); }
        .estado-select-group .estado-opt.active.pendiente { background: var(--accent); color: #fff; border-color: var(--accent); }
        .estado-select-group .estado-opt.active.confirmada { background: var(--burgundy); color: #fff; border-color: var(--burgundy); }
        .estado-select-group .estado-opt.active.completada { background: #4A7C59; color: #fff; border-color: #4A7C59; }
        .estado-select-group .estado-opt.active.cancelada { background: var(--muted); color: #fff; border-color: var(--muted); }

        /* ---------- DÍAS DISPONIBLES ---------- */
        .disp-wrap { display: flex; flex-direction: column; gap: 18px; }
        .disp-tabs { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); }
        .disp-tab { background: #fff; border: none; padding: 12px; font-family: 'Barlow', sans-serif; font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); cursor: pointer; font-weight: 600; transition: all .3s var(--ease); display: flex; align-items: center; justify-content: center; gap: 8px; }
        .disp-tab.active { background: var(--burgundy); color: #fff; }
        .disp-tab:not(.active):hover { color: var(--burgundy); background: var(--cream); }
        .disp-panel { display: none; }
        .disp-panel.active { display: block; }
        .disp-mini-cal { user-select: none; }
        .disp-mini-cal .cal-day.bloqueado { background: rgba(59,33,28,.1); color: #c9a0a7; text-decoration: line-through; border-color: rgba(59,33,28,.2); font-weight: 600; }
        .disp-mini-cal .cal-day.bloqueado:hover:not(.selected) { background: rgba(59,33,28,.18); border-color: var(--burgundy); }
        .disp-mini-cal .cal-day.pasado-no-disp { color: #D9CFC4; cursor: not-allowed; text-decoration: line-through; }
        .meses-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
        .mes-chip { padding: 10px 6px; border: 1px solid var(--line); background: #fff; font-family: 'Barlow', sans-serif; font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase; font-weight: 600; color: var(--muted); cursor: pointer; text-align: center; transition: all .25s var(--ease); }
        .mes-chip:hover { border-color: var(--burgundy); color: var(--burgundy); }
        .mes-chip.bloqueado { background: var(--burgundy); color: #fff; border-color: var(--burgundy); }
        .mes-chip.bloqueado:hover { background: #73181c; }
        .disp-lista { margin-top: 14px; border-top: 1px solid var(--line); padding-top: 14px; }
        .disp-lista-title { font-size: 9.5px; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; font-weight: 600; }
        .disp-item { display: flex; align-items: center; justify-content: space-between; padding: 8px 12px; background: rgba(59,33,28,.07); border-left: 2px solid var(--burgundy); margin-bottom: 6px; font-size: 12px; color: var(--dark-text); }
        .disp-item button { background: none; border: none; color: var(--muted); cursor: pointer; font-size: 12px; padding: 2px 6px; transition: color .2s; line-height: 1; }
        .disp-item button:hover { color: var(--burgundy); }
        .cal-day.no-disponible { background: transparent !important; color: #D9CFC4 !important; text-decoration: line-through !important; cursor: not-allowed !important; border-color: transparent !important; pointer-events: none !important; }

        .modal-x.wide { max-width: 480px; }
        .edit-modal-header { text-align: center; margin-bottom: 22px; }
        .edit-modal-header h4 { font-family: 'Instrument Serif', serif; color: var(--burgundy); font-size: 24px; margin: 0 0 4px; }
        .edit-modal-header p { color: var(--muted); font-size: 12px; margin: 0; }
        .picker-label { display: flex; justify-content: space-between; align-items: center; font-size: 10px; letter-spacing: 2.5px; text-transform: uppercase; color: var(--burgundy); font-weight: 600; margin: 18px 0 12px; }
        .picker-label .picked { font-family: 'Instrument Serif', serif; font-style: italic; font-size: 13px; text-transform: none; letter-spacing: .5px; color: var(--accent); font-weight: 500; }
        .picker-label .picked.empty { color: var(--line); font-style: italic; }
        .calendar { background: linear-gradient(180deg, #fff, var(--cream)); border: 1px solid rgba(185, 152, 105, 0.25); padding: 18px; margin-bottom: 8px; user-select: none; }
        .cal-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
        .cal-month { font-family: 'Instrument Serif', serif; color: var(--burgundy); font-size: 17px; font-weight: 600; text-transform: capitalize; }
        .cal-nav { width: 32px; height: 32px; border: 1px solid var(--line); background: #fff; color: var(--burgundy); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; font-size: 11px; transition: all .25s var(--ease); }
        .cal-nav:hover:not(:disabled) { background: var(--burgundy); color: #fff; border-color: var(--burgundy); }
        .cal-nav:disabled { opacity: .3; cursor: not-allowed; }
        .cal-nav-group { display: flex; gap: 6px; }
        .cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
        .cal-dow { text-align: center; font-size: 9px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); padding: 6px 0 8px; font-weight: 600; }
        .cal-day { aspect-ratio: 1; display: flex; align-items: center; justify-content: center; font-family: 'Barlow', sans-serif; font-size: 13px; color: var(--dark-text); background: transparent; border: 1px solid transparent; cursor: pointer; transition: all .25s var(--ease); position: relative; font-weight: 400; }
        .cal-day:hover:not(.disabled):not(.selected) { background: #fff; border-color: var(--accent); color: var(--burgundy); }
        .cal-day.muted { color: var(--line); pointer-events: none; }
        .cal-day.disabled { color: #D9CFC4; cursor: not-allowed; text-decoration: line-through; }
        .cal-day.today { font-weight: 700; color: var(--accent); }
        .cal-day.today::after { content: ''; position: absolute; bottom: 4px; width: 4px; height: 4px; border-radius: 50%; background: var(--accent); }
        .cal-day.selected { background: var(--burgundy); color: #fff; border-color: var(--burgundy); box-shadow: 0 6px 14px rgba(59, 33, 28, .25); font-weight: 600; }
        .cal-day.selected::after { background: #fff; }
        .time-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin-bottom: 14px; border: 1px solid var(--line); }
        .time-tab { background: #fff; border: none; padding: 11px; font-family: 'Barlow', sans-serif; font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); cursor: pointer; font-weight: 600; transition: all .3s var(--ease); display: flex; align-items: center; justify-content: center; gap: 8px; }
        .time-tab.active { background: var(--burgundy); color: #fff; }
        .time-tab:not(.active):hover { color: var(--burgundy); background: var(--cream); }
        .time-slots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
        .time-slot { background: #fff; border: 1px solid var(--line); padding: 10px 4px; font-family: 'Barlow', sans-serif; font-size: 12px; color: var(--dark-text); cursor: pointer; font-weight: 500; transition: all .25s var(--ease); text-align: center; }
        .time-slot:hover:not(.selected):not(.disabled) { border-color: var(--accent); color: var(--burgundy); transform: translateY(-1px); }
        .time-slot.selected { background: var(--burgundy); color: #fff; border-color: var(--burgundy); box-shadow: 0 6px 14px rgba(59, 33, 28, .22); }
        .time-slot.disabled { color: var(--line); cursor: not-allowed; text-decoration: line-through; background: var(--cream); }
        .time-empty { grid-column: 1 / -1; text-align: center; padding: 20px; color: var(--muted); font-family: 'Instrument Serif', serif; font-style: italic; font-size: 13px; }


        /* ── HORAS BLOQUEADAS ───────────────────────────── */
        .horas-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
        @media (max-width: 768px) { .horas-wrap { grid-template-columns: 1fr; } }

        .horas-cal-wrap { }
        .horas-slot-wrap { }
        .horas-slot-titulo {
            font-size: 9px; letter-spacing: 3px; text-transform: uppercase;
            color: var(--burgundy); font-weight: 700; margin-bottom: 12px;
            display: flex; align-items: center; gap: 8px;
        }
        .horas-slot-titulo::after { content:''; flex:1; height:1px; background:rgba(59,33,28,.15); }

        .horas-slots-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 6px; margin-bottom: 18px; }
        .hora-slot-btn {
            padding: 10px 4px; border: 1px solid var(--line); background: #fff;
            font-family: 'Barlow',sans-serif; font-size: 12px; font-weight: 500;
            color: var(--dark-text); cursor: pointer; text-align: center;
            transition: all .2s; position: relative;
        }
        .hora-slot-btn:hover { border-color: var(--burgundy); color: var(--burgundy); }
        .hora-slot-btn.bloqueada {
            background: rgba(59,33,28,.08); border-color: var(--burgundy);
            color: var(--burgundy); font-weight: 700;
        }
        .hora-slot-btn.bloqueada::after {
            content: '\f00d'; font-family: 'Font Awesome 6 Free'; font-weight: 900;
            position: absolute; top: 3px; right: 5px; font-size: 8px; opacity: .6;
        }
        .hora-slot-btn.con-cita {
            background: var(--cream-deep); color: var(--muted);
            cursor: not-allowed; border-color: transparent;
            font-size: 10px;
        }
        .horas-lista { margin-top: 4px; }
        .hora-item {
            display: flex; align-items: center; justify-content: space-between;
            padding: 8px 12px; background: rgba(59,33,28,.06);
            border-left: 3px solid var(--burgundy); margin-bottom: 6px;
            font-size: 12px; font-weight: 600; color: var(--burgundy);
        }
        .hora-item span.fecha { color: var(--muted); font-weight: 400; font-size: 11px; margin-left: 8px; }
        .hora-item button { background: none; border: none; color: var(--muted); cursor: pointer; font-size: 12px; padding: 2px 6px; transition: color .2s; }
        .hora-item button:hover { color: var(--burgundy); }
        .horas-fecha-sel {
            font-family: 'Instrument Serif', serif; color: var(--burgundy);
            font-size: 15px; font-weight: 600; margin-bottom: 12px;
            min-height: 22px;
        }

        /* ── TIMELINE AGENDA ────────────────────────────── */
        .agenda-wrap { display: grid; grid-template-columns: 300px 1fr; gap: 0; }
        .agenda-cal  { border-right: 1px solid var(--line); padding-right: 22px; }
        .agenda-day-panel { padding-left: 24px; min-height: 400px; }

        .timeline-wrap { position: relative; margin-top: 8px; }
        .timeline-header {
            display: flex; align-items: center; justify-content: space-between;
            margin-bottom: 16px; flex-wrap: wrap; gap: 8px;
        }
        .timeline-title { font-family: 'Instrument Serif', serif; color: var(--burgundy); font-size: 18px; font-weight: 600; }
        .timeline-sub   { font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: var(--accent); font-weight: 600; }

        .tl-tabs { display: flex; gap: 0; border: 1px solid var(--line); margin-bottom: 16px; }
        .tl-tab  { flex: 1; background: #fff; border: none; padding: 9px; font-family: 'Barlow', sans-serif; font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); cursor: pointer; font-weight: 600; transition: all .25s; display: flex; align-items: center; justify-content: center; gap: 6px; }
        .tl-tab.active { background: var(--burgundy); color: #fff; }

        .tl-grid { display: flex; flex-direction: column; gap: 4px; }
        .tl-slot {
            display: grid; grid-template-columns: 52px 1fr; gap: 0;
            min-height: 52px; position: relative;
        }
        .tl-slot-time {
            font-size: 11px; color: var(--muted); font-weight: 600; letter-spacing: .5px;
            padding: 6px 10px 0 0; text-align: right; white-space: nowrap;
            border-right: 2px solid var(--line); position: relative;
        }
        .tl-slot-time::after {
            content: ''; position: absolute; right: -5px; top: 10px;
            width: 8px; height: 8px; border-radius: 50%; background: var(--line);
        }
        .tl-slot-body { padding: 4px 0 4px 12px; display: flex; flex-direction: column; gap: 3px; }

        /* Cita card dentro del timeline */
        .tl-cita {
            border-left: 3px solid var(--burgundy);
            background: rgba(59,33,28,.06);
            padding: 8px 12px;
            border-radius: 0 4px 4px 0;
            cursor: pointer;
            transition: all .2s;
            position: relative;
        }
        .tl-cita:hover { background: rgba(59,33,28,.11); transform: translateX(2px); }
        .tl-cita.confirmada { border-left-color: var(--burgundy); background: rgba(59,33,28,.07); }
        .tl-cita.pendiente  { border-left-color: var(--accent); background: rgba(185,152,105,.09); }
        .tl-cita.completada { border-left-color: #4A7C59; background: rgba(74,124,89,.07); }
        .tl-cita.cancelada  { border-left-color: var(--line); background: transparent; opacity: .5; }

        .tl-cita-name    { font-size: 13px; font-weight: 600; color: var(--dark-text); }
        .tl-cita-servicio { font-size: 10.5px; color: var(--accent); font-weight: 600; letter-spacing: .5px; }
        .tl-cita-meta    { font-size: 11px; color: var(--muted); display: flex; gap: 10px; flex-wrap: wrap; margin-top: 2px; }
        .tl-cita-dur     {
            position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
            font-size: 9px; letter-spacing: 1.5px; text-transform: uppercase;
            color: var(--muted); font-weight: 700; background: var(--cream-deep); padding: 2px 7px;
        }

        /* Bloqueo visual de slots ocupados */
        .tl-bloqueado {
            background: repeating-linear-gradient(
                45deg, transparent, transparent 4px,
                rgba(185,152,105,.07) 4px, rgba(185,152,105,.07) 8px
            );
            border: 1px dashed rgba(185,152,105,.25);
            padding: 4px 10px;
            font-size: 10px; color: #B99869; letter-spacing: 1px;
            display: flex; align-items: center; gap: 6px;
            font-weight: 600; opacity: .7;
        }

        .tl-libre {
            padding: 6px 10px; font-size: 10.5px; color: #4A7C59;
            font-weight: 500; display: flex; align-items: center; gap: 6px;
            cursor: pointer; transition: all .2s var(--ease);
            border: 1px dashed transparent;
        }
        .tl-libre:hover {
            background: rgba(74,124,89,.08); border-color: #4A7C59;
            color: #2f5a3d;
        }
        .tl-libre .tl-libre-action { margin-left: auto; font-size: 9px; letter-spacing: 1.5px; text-transform: uppercase; font-weight: 600; opacity: .7; }
        .tl-libre:hover .tl-libre-action { opacity: 1; }

        .tl-actions { display: flex; gap: 6px; margin-top: 6px; flex-wrap: wrap; }
        .tl-btn { padding: 5px 12px; font-size: 9.5px; letter-spacing: 1.5px; text-transform: uppercase; font-weight: 600; border: none; cursor: pointer; font-family: 'Barlow',sans-serif; transition: all .2s; }
        .tl-btn.approve { background: var(--burgundy); color: #fff; }
        .tl-btn.approve:hover { background: var(--burgundy-dark); }
        .tl-btn.done    { background: #4A7C59; color: #fff; }
        .tl-btn.done:hover { background: #3a6347; }
        .tl-btn.edit    { background: #fff; color: var(--muted); border: 1px solid var(--line); }
        .tl-btn.edit:hover { color: var(--burgundy); border-color: var(--burgundy); }
        .tl-btn.del     { background: transparent; color: var(--muted); border: 1px solid var(--line); }
        .tl-btn.del:hover { background: var(--burgundy); color: #fff; border-color: var(--burgundy); }

        .tl-empty { text-align: center; padding: 40px 20px; color: var(--muted); }
        .tl-empty i { font-size: 32px; display: block; margin-bottom: 12px; opacity: .4; }
        .tl-empty .lbl { font-size: 13px; font-family: 'Instrument Serif',serif; font-style: italic; }

        .tl-leyenda { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--line); }
        .tl-leyenda-item { display: flex; align-items: center; gap: 6px; font-size: 10px; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); font-weight: 600; }
        .tl-leyenda-dot  { width: 10px; height: 10px; border-radius: 2px; flex-shrink: 0; }

        @media (max-width: 991px) {
            .stat-row { grid-template-columns: repeat(3, 1fr); }
            .agenda-wrap { grid-template-columns: 1fr; }
            .agenda-cal { border-right: none; border-bottom: 1px solid var(--line); }
            .agenda-day-panel { min-height: auto; padding: 22px; }
        }

        @media (max-width: 768px) {
            body { background-image: radial-gradient(ellipse at top left, rgba(185, 152, 105, 0.05), transparent 60%), radial-gradient(ellipse at bottom right, rgba(59, 33, 28, 0.04), transparent 60%); }
            main.container { padding-left: 14px !important; padding-right: 14px !important; padding-top: 24px !important; padding-bottom: 24px !important; }
            nav.topbar { padding: 12px 16px; position: relative; }
            .mobile-menu-btn { display: block; }
            .nav-actions {
                position: absolute; top: 100%; left: 0; right: 0;
                background: #FEF4E8;
                flex-direction: column; padding: 24px; gap: 16px;
                border-bottom: 1px solid var(--burgundy-soft);
                box-shadow: 0 10px 30px rgba(0,0,0,0.08);
                display: none;
            }
            .nav-actions.show-mobile { display: flex; }
            .nav-btn { width: 100%; padding: 16px; font-size: 11px; text-align: center; }
            .brand-container { margin-bottom: 24px; }
            .luxury-card { padding: 28px 22px; }
            .field input, .field select { font-size: 16px; padding: 14px 0 8px; }
            .btn-luxury { padding: 16px 18px; font-size: 11px; letter-spacing: 3px; }
            .btn-ghost { padding: 12px 16px; font-size: 10px; letter-spacing: 2px; }
            .stamps-wrap { padding: 22px 18px; }
            .stamps-container { gap: 8px; }
            .calendar { padding: 14px 12px; }
            .time-slots { grid-template-columns: repeat(3, 1fr); gap: 6px; }
            .stat-row { grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 18px; }
            .stat { padding: 14px 10px; }
            .admin-header { flex-direction: column; align-items: stretch; gap: 12px; margin-bottom: 18px; }
            .admin-search { flex: 1 1 100%; }
            .admin-table thead { display: none; }
            .admin-table, .admin-table tbody { display: block; }
            .admin-table tr { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "name pill" "actions actions"; gap: 10px; padding: 14px; margin-bottom: 8px; background: var(--cream); }
            .admin-table td { display: block; padding: 0; border: none; }
            .admin-table td:nth-child(1) { grid-area: name; padding: 0 !important; }
            .admin-table td:nth-child(2) { grid-area: pill; padding: 0 !important; align-self: center; text-align: right; }
            .admin-table td:nth-child(3) { grid-area: actions; padding: 8px 0 0 !important; border-top: 1px solid var(--line); margin-top: 4px; display: flex; gap: 6px; justify-content: flex-end; }
            .stamps-pill { font-size: 10.5px; padding: 5px 10px; gap: 6px; }
            .stamps-pill .bar { width: 50px; }
            .action-icon { width: 36px; height: 36px; margin: 0; }
            .cita-card { padding: 14px; }
            .access-hero { padding: 32px 24px 22px; }
            .access-form { padding: 26px 24px 28px; }
            .toast-stack { right: 12px; left: 12px; top: 12px; bottom: auto; max-width: none; }
            .modal-backdrop-x { padding: 12px; align-items: flex-end; }
            .modal-x, .modal-x.wide { max-width: 100%; width: 100%; padding: 28px 22px; max-height: calc(100vh - 24px); overflow-y: auto; -webkit-overflow-scrolling: touch; }
            .modal-backdrop-x.show .modal-x { animation: slideUp .35s var(--ease); }
            @keyframes slideUp { from { transform: translateY(40px); } to { transform: translateY(0); } }
        }

        @media (max-width: 480px) {
            main.container { padding-left: 12px !important; padding-right: 12px !important; }
            .luxury-card { padding: 24px 18px; }
            .stat-row { gap: 6px; }
            .stat { padding: 12px 8px; }
            .calendar { padding: 12px 8px; }
            .time-slot { padding: 12px 2px; font-size: 12.5px; }
            .btn-cta { padding: 14px 14px; }
            .access-hero { padding: 28px 18px 20px; }
            .access-form { padding: 22px 18px 24px; }
            .appt-row { grid-template-columns: 60px 1fr; gap: 10px; }
            .appt-actions { grid-column: 1 / -1; justify-content: flex-end; padding-top: 6px; border-top: 1px dashed var(--line); }
            .estado-select-group { grid-template-columns: 1fr 1fr; }
            .otp-inputs { gap: 5px; }
            .otp-digit { width: 34px; height: 46px; font-size: 20px; }
        }

        @media (max-width: 360px) {
            .brand-main { font-size: 28px; }
            .brand-sub { font-size: 36px; }
            .cal-day { font-size: 11px; }
            .time-slot { font-size: 11.5px; padding: 11px 2px; }
            .otp-inputs { gap: 3px; }
            .otp-digit { width: 28px; height: 38px; font-size: 16px; }
        }

        /* ---------- CAT LOTTIE ESTÁTICO ---------- */
        .cat-shadow-container {
            position: absolute;
            bottom: -15px; /* Bajado un poco para compensar el tamaño más grande */
            left: 200px; /* Más pegado al logo */
            opacity: 0.18; /* Sombra sutil pero visible */
            pointer-events: none;
            z-index: 0;
        }

        @media (max-width: 768px) {
            .cat-shadow-container { left: 95px; bottom: -18px; transform: scale(0.7); transform-origin: bottom left; }
        }

        /* ---------- COOKIE BANNER Y LEGAL ---------- */
        .cookie-banner {
            position: fixed;
            bottom: 0;
            left: 0;
            right: 0;
            background: #fff;
            box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
            padding: 20px;
            z-index: 10000;
            display: flex;
            flex-direction: column;
            gap: 15px;
            transform: translateY(100%);
            transition: transform 0.4s var(--ease);
            border-top: 1px solid var(--line);
        }
        .cookie-banner.show { transform: translateY(0); }
        .cookie-content h4 { font-family: 'Instrument Serif', serif; color: var(--burgundy); font-size: 20px; margin:0 0 5px; }
        .cookie-content p { color: var(--muted); font-size: 13px; margin: 0; line-height: 1.5; }
        .cookie-content a { color: var(--accent); text-decoration: none; font-weight: 600; cursor:pointer; }
        .cookie-actions { display: flex; gap: 10px; justify-content: flex-end; }
        .btn-cookie { padding: 10px 20px; font-size: 12px; border-radius: 6px; cursor: pointer; font-weight: 600; transition: all 0.3s var(--ease); border: none; }
        .btn-cookie-accept { background: var(--burgundy); color: #fff; }
        .btn-cookie-accept:hover { background: #6b171a; }
        .btn-cookie-reject { background: transparent; color: var(--muted); border: 1px solid var(--line); }
        .btn-cookie-reject:hover { background: var(--cream); color: var(--dark-text); }

        .legal-footer { position: relative; padding: 18px 12px 24px; width: 100%; text-align: center; font-size: 12px; line-height: 1.8; background: var(--cream); }
        .legal-footer a { color: var(--dark-text); text-decoration: none; margin: 0 6px; transition: color 0.3s; cursor:pointer; }
        .legal-footer a:hover { color: var(--burgundy); }

        .legal-modal-content { overflow-y: auto; padding: 20px 25px; font-size: 13px; color: var(--dark-text); line-height: 1.6; text-align: left; }
        .legal-modal-content h4 { color: var(--burgundy); margin-top: 15px; margin-bottom: 5px; font-size: 15px; font-weight: 600; }
        .legal-modal-content p { margin-bottom: 12px; }

        @media (min-width: 768px) {
            .cookie-banner { flex-direction: row; justify-content: space-between; align-items: center; padding: 20px 40px; }
            .cookie-content { flex: 1; margin-right: 30px; }
            .cookie-actions { flex-shrink: 0; }
            .legal-footer { font-size: 11px; bottom: 15px; }
        }

        @media (prefers-reduced-motion: reduce) {
            *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
            .btn-cta::after { animation: none; }
            .access-icon { animation: none; }
        }


/* ============================================================
           REDISEÑO EDITORIAL — rosa empolvado · chocolate · oro
           Tipografía: Instrument Serif (itálica) + Barlow
           Liquid glass + animaciones blur-in
           ============================================================ */

        @keyframes blurIn {
            from { opacity: 0; filter: blur(10px); transform: translateY(20px); }
            to   { opacity: 1; filter: blur(0);   transform: translateY(0); }
        }

        /* --- Marca / titulares estilo portada --- */
        .brand-main {
            font-weight: 400;
            font-style: italic;
            letter-spacing: -1px;
            text-transform: none;
            text-shadow: none;
            font-size: clamp(44px, 7vw, 62px);
        }
        .brand-sub {
            font-weight: 400;
            letter-spacing: -1px;
            text-shadow: none;
        }
        .brand-ornament { color: var(--burgundy); letter-spacing: 5px; }
        .brand-ornament::before, .brand-ornament::after {
            background: linear-gradient(90deg, transparent, var(--burgundy), transparent);
            opacity: .5;
        }

        /* --- Contenedor de marca: tarjeta glass --- */
        .brand-container {
            background: rgba(244, 231, 226, 0.5);
            backdrop-filter: blur(14px);
            -webkit-backdrop-filter: blur(14px);
            border-radius: 28px;
            border: 1px solid rgba(255,255,255,0.65);
            box-shadow: inset 0 1px 1px rgba(255,255,255,0.55), 0 25px 60px rgba(59,33,28,0.12);
            animation: blurIn .9s var(--ease) .1s both;
        }

        /* --- Nav: pastillas liquid-glass --- */
        .nav-btn {
            border-radius: 999px;
            border: 1px solid rgba(59,33,28,0.3);
            background: rgba(255,255,255,0.3);
            backdrop-filter: blur(8px);
            -webkit-backdrop-filter: blur(8px);
            box-shadow: inset 0 1px 1px rgba(255,255,255,0.5);
        }
        .nav-btn:hover { box-shadow: inset 0 1px 1px rgba(255,255,255,0.2), 0 6px 18px rgba(59,33,28,0.25); }
        .nav-btn.solid { border-color: var(--burgundy); box-shadow: 0 6px 18px rgba(59,33,28,0.3); }

        /* --- Tarjetas: esquinas suaves + glass --- */
        .luxury-card {
            border-radius: 26px;
            /* Sin backdrop-filter: son 14 superficies grandes y desenfocar el
               fondo de cada una cuesta mucho al desplazar. Además ahora van
               sobre paneles opacos, así que no se notaba. Fondo sólido. */
            background: #FFFBF9;
            border: 1px solid rgba(255,255,255,0.7);
            box-shadow: inset 0 1px 1px rgba(255,255,255,0.6), 0 25px 60px rgba(59,33,28,0.14);
            animation: blurIn .9s var(--ease) .25s both;
        }
        .luxury-card::before { border-radius: 19px; }
        .resena-card-page { border-radius: 22px; border: 1px solid rgba(255,255,255,0.7); box-shadow: inset 0 1px 1px rgba(255,255,255,0.6), 0 12px 32px rgba(59,33,28,0.1); }

        /* --- Botones principales en pastilla --- */
        .btn-gold { border-radius: 999px; }
        .btn-gold {
            background: linear-gradient(135deg, #B99869, #D3B98F);
            box-shadow: 0 6px 20px rgba(185, 152, 105, 0.45), inset 0 1px 1px rgba(255,255,255,0.5);
        }

        /* --- Chips y elementos redondeados --- */
        .link-soft { letter-spacing: 2.5px; }
        .social-link {
            background: rgba(255,255,255,0.55);
            backdrop-filter: blur(8px);
            -webkit-backdrop-filter: blur(8px);
            border: 1px solid rgba(255,255,255,0.7);
            box-shadow: inset 0 1px 1px rgba(255,255,255,0.6), 0 8px 22px rgba(59,33,28,0.14);
        }

        /* --- Reseñas: serif itálica editorial --- */
        .review-slide .review-text { font-size: 16px; }
        .reviews-carousel-title { font-weight: 400; letter-spacing: .5px; }

        /* --- Entrada blur-in de las vistas (se re-dispara al mostrarse) --- */
        #login, #vistaCliente, #vistaPedirCita, #vistaReservar,
        #vistaAccesoAdmin, #vistaAdmin, #vistaPrecios, #vistaResenas {
            animation: blurIn .7s var(--ease) both;
        }

        /* --- Titulares genéricos: serif itálica, tracking apretado --- */
        .card-title { font-weight: 400; letter-spacing: 4px; }


        /* ============================================================
           HERO HOME — pantalla de inicio animada
           Titular mixto: serif itálica + sans bold ("Every layer / tells a story.")
           ============================================================ */

        .hero-home {
            position: relative;
            text-align: center;
            padding: 46px 16px 30px;
            margin-bottom: 26px;
        }

        .hero-blob {
            position: absolute;
            border-radius: 50%;
            filter: blur(60px);
            z-index: -1;
            pointer-events: none;
        }
        .hero-blob-1 { width: 340px; height: 340px; background: rgba(185,152,105,0.28); top: -70px; left: 6%; animation: blobFloat 9s ease-in-out infinite; }
        .hero-blob-2 { width: 300px; height: 300px; background: rgba(255,255,255,0.55); bottom: -90px; right: 8%; animation: blobFloat 11s ease-in-out infinite reverse; }
        @keyframes blobFloat {
            0%, 100% { transform: translate(0,0) scale(1); }
            50% { transform: translate(28px,-22px) scale(1.08); }
        }

        .hero-chip {
            display: inline-flex;
            align-items: center;
            gap: 9px;
            padding: 9px 20px;
            border-radius: 999px;
            background: rgba(255,255,255,0.35);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            border: 1px solid rgba(255,255,255,0.6);
            box-shadow: inset 0 1px 1px rgba(255,255,255,0.5), 0 8px 24px rgba(59,33,28,0.08);
            font-family: 'Barlow', sans-serif;
            font-size: 11px;
            letter-spacing: 2.5px;
            text-transform: uppercase;
            font-weight: 600;
            color: var(--burgundy);
            animation: blurIn .8s var(--ease) .05s both;
        }
        .hero-chip-dot {
            width: 7px; height: 7px; border-radius: 50%;
            background: var(--accent);
            box-shadow: 0 0 0 3px rgba(185,152,105,0.25);
            animation: heroPulse 2s ease-in-out infinite;
        }
        @keyframes heroPulse {
            50% { box-shadow: 0 0 0 7px rgba(185,152,105,0.08); }
        }

        .hero-headline { margin: 24px 0 0; line-height: .95; }
        .hero-headline .hh-serif {
            display: block;
            font-family: 'Instrument Serif', serif;
            font-style: italic;
            font-weight: 400;
            color: var(--burgundy);
            font-size: clamp(52px, 9vw, 96px);
            letter-spacing: -2px;
        }
        .hero-headline .hh-sans {
            display: block;
            font-family: 'Barlow', sans-serif;
            font-weight: 800;
            color: #fff;
            font-size: clamp(42px, 7.5vw, 82px);
            letter-spacing: -2px;
            text-shadow: 0 6px 30px rgba(59,33,28,0.35);
            margin-top: 4px;
        }
        .hh-word {
            display: inline-block;
            margin-right: .22em;
            opacity: 0;
            filter: blur(10px);
            transform: translateY(40px);
            animation: wordIn .7s var(--ease) both;
            animation-delay: calc(.25s + var(--i) * .12s);
        }
        .hh-word:last-child { margin-right: 0; }
        @keyframes wordIn {
            0%   { opacity: 0;  filter: blur(10px); transform: translateY(40px); }
            50%  { opacity: .6; filter: blur(4px);  transform: translateY(-4px); }
            100% { opacity: 1;  filter: blur(0);    transform: translateY(0); }
        }

        .hero-sub {
            font-family: 'Barlow', sans-serif;
            font-weight: 300;
            color: var(--dark-text);
            font-size: clamp(15px, 2.2vw, 18px);
            line-height: 1.55;
            max-width: 520px;
            margin: 18px auto 0;
            animation: blurIn .8s var(--ease) .95s both;
        }

        .hero-ctas {
            display: flex;
            gap: 14px;
            justify-content: center;
            flex-wrap: wrap;
            margin-top: 26px;
            animation: blurIn .8s var(--ease) 1.15s both;
        }
        .hero-btn-primary {
            border: none; cursor: pointer;
            border-radius: 999px;
            padding: 15px 32px;
            font-family: 'Barlow', sans-serif;
            font-weight: 600; font-size: 13px;
            letter-spacing: 1.5px; text-transform: uppercase;
            color: #fff;
            background: var(--burgundy);
            box-shadow: 0 12px 30px rgba(59,33,28,0.35), inset 0 1px 1px rgba(255,255,255,0.25);
            transition: all .3s var(--ease);
        }
        .hero-btn-primary:hover { transform: translateY(-2px); background: var(--burgundy-dark); box-shadow: 0 16px 38px rgba(59,33,28,0.45), inset 0 1px 1px rgba(255,255,255,0.25); }
        .hero-btn-ghost {
            cursor: pointer;
            border-radius: 999px;
            padding: 15px 28px;
            font-family: 'Barlow', sans-serif;
            font-weight: 600; font-size: 13px;
            letter-spacing: 1.5px; text-transform: uppercase;
            color: var(--burgundy);
            border: 1px solid rgba(59,33,28,0.35);
            background: rgba(255,255,255,0.3);
            backdrop-filter: blur(8px);
            -webkit-backdrop-filter: blur(8px);
            box-shadow: inset 0 1px 1px rgba(255,255,255,0.5);
            transition: all .3s var(--ease);
        }
        .hero-btn-ghost:hover { background: rgba(255,255,255,0.55); transform: translateY(-2px); }

        /* --- Tipografía mixta en los titulares de todas las secciones --- */
        .brand-sub {
            font-family: 'Barlow', sans-serif !important;
            font-style: normal !important;
            font-weight: 800;
            color: #fff;
            letter-spacing: -1.5px;
            text-shadow: 0 5px 26px rgba(59,33,28,0.38);
            font-size: clamp(38px, 6vw, 56px);
            margin-top: -6px;
        }

        @media (max-width: 576px) {
            .hero-home { padding: 30px 10px 22px; }
            .hero-ctas { flex-direction: column; align-items: center; }
            .hero-btn-primary, .hero-btn-ghost { width: 100%; max-width: 320px; }
        }

        /* ============================================================
           CAPA EDITORIAL PREMIUM — marfil · nude · chocolate · oro
           ============================================================ */

        html { scroll-behavior: smooth; }

        /* --- Hero a pantalla completa con velo nude --- */
        .hero-home {
            min-height: calc(100svh - 150px);
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
        }
        .hero-home::before {
            content: '';
            position: absolute;
            inset: -60px 0;
            background: radial-gradient(ellipse at center, rgba(217,188,183,0.38), transparent 68%);
            z-index: -2;
            pointer-events: none;
        }
        .hh-sans {
            color: var(--burgundy) !important;
            text-shadow: 0 2px 30px rgba(255,253,252,0.8) !important;
        }
        .hh-serif { text-shadow: 0 2px 24px rgba(255,253,252,0.7); }
        .hero-blob-1 { background: rgba(185,152,105,0.22); }
        .hero-blob-2 { background: rgba(199,150,155,0.28); }

        /* --- Cabeceras de sección editoriales --- */
        .brand-container {
            background: transparent;
            backdrop-filter: none;
            -webkit-backdrop-filter: none;
            border: none;
            box-shadow: none;
            padding: 26px 6px 6px;
        }
        .brand-main { animation: blurIn .8s var(--ease) .1s both; display: inline-block; }
        .brand-sub {
            color: var(--burgundy);
            text-shadow: 0 2px 26px rgba(255,253,252,0.8);
            animation: blurIn .8s var(--ease) .28s both;
        }
        @media (min-width: 768px) {
            #vistaPrecios .brand-container,
            #vistaResenas .brand-container,
            #sobreMi .brand-container { text-align: left; }
            #vistaPrecios .brand-ornament,
            #vistaResenas .brand-ornament,
            #sobreMi .brand-ornament { justify-content: flex-start; }
            #vistaPrecios .brand-ornament::before,
            #vistaResenas .brand-ornament::before,
            #sobreMi .brand-ornament::before { display: none; }
        }

        /* --- Servicios: carta editorial --- */
        #publicServicioGrid .servicio-grupo { margin-bottom: 36px; }
        #publicServicioGrid .servicio-grupo-titulo {
            font-family: 'Instrument Serif', serif;
            font-style: italic;
            font-size: 24px;
            font-weight: 400;
            letter-spacing: 0;
            text-transform: none;
            color: var(--burgundy) !important;
            gap: 14px;
            margin-bottom: 16px;
        }
        #publicServicioGrid .servicio-grupo-titulo::after { background: rgba(185,152,105,0.35); }
        #publicServicioGrid .servicio-grupo > div[style*="border-bottom"] {
            border-bottom: 1px solid rgba(185,152,105,0.2) !important;
            padding: 2px 0 14px !important;
            margin-bottom: 14px !important;
            transition: transform .35s var(--ease);
        }
        #publicServicioGrid .servicio-grupo > div[style*="border-bottom"]:hover { transform: translateX(10px); }
        #publicServicioGrid .servicio-opcion { background: transparent !important; padding: 6px 0 !important; }
        #publicServicioGrid .servicio-opcion-nombre { font-family: 'Instrument Serif', serif; font-size: 19px; font-weight: 400; }
        #publicServicioGrid .servicio-opcion-precio { font-size: 21px; color: var(--accent); }
        #publicServicioGrid .servicio-opcion-dur {
            background: transparent;
            border: 1px solid var(--line);
            border-radius: 999px;
            padding: 4px 12px;
        }
        #publicServicioGrid div[style*="text-align:justify"] { text-align: left !important; font-style: italic; }

        /* Acordeón móvil de servicios */
        @media (max-width: 767.98px) {
            #publicServicioGrid .servicio-grupo-titulo { cursor: pointer; -webkit-tap-highlight-color: transparent; }
            #publicServicioGrid .servicio-grupo-titulo::before {
                content: '\f078';
                font-family: 'Font Awesome 6 Free';
                font-weight: 900;
                font-size: 11px;
                color: var(--accent);
                order: 3;
                transition: transform .4s var(--ease);
            }
            #publicServicioGrid .servicio-grupo.colapsado .servicio-grupo-titulo::before { transform: rotate(-90deg); }
            #publicServicioGrid .servicio-grupo.colapsado > div:not(.servicio-grupo-titulo) { display: none; }
        }

        /* --- Reseñas editoriales --- */
        .resena-card-page { position: relative; padding: 36px 28px 26px; background: var(--white-soft); overflow: hidden; }
        .resena-card-page::before {
            content: '\201C';
            position: absolute;
            top: -10px; left: 14px;
            font-family: 'Instrument Serif', serif;
            font-size: 96px;
            line-height: 1;
            color: rgba(199,150,155,0.3);
            pointer-events: none;
        }

        /* --- Sobre Mí: foto en arco + revelado por máscara al llegar con el scroll --- */
        #sobreMi .col-md-5 img {
            border-radius: 220px 220px 26px 26px !important;
            clip-path: inset(0 0 100% 0);
            transition: clip-path 1.1s var(--ease) .12s;
        }
        #sobreMi .col-md-5 .reveal.in img { clip-path: inset(0 0 0 0); }
        #sobreMi .col-md-5 div[style*="inset:0"] {
            border-radius: 220px 220px 26px 26px !important;
            border-color: var(--accent) !important;
        }
        .galeria-item { border-radius: 18px; }
        .galeria-item:nth-child(odd) { border-radius: 125px 125px 18px 18px; }

        /* --- Footer oscuro elegante --- */
        .site-footer {
            background: var(--burgundy);
            color: var(--cream);
            margin-top: 70px;
            padding: 70px 6vw 0;
            position: relative;
            z-index: 1;
        }
        .footer-inner {
            display: grid;
            grid-template-columns: 1.4fr 1fr 1fr;
            gap: 44px;
            max-width: 1100px;
            margin: 0 auto;
            padding-bottom: 54px;
        }
        .footer-kicker, .footer-col-title {
            font-family: 'Barlow', sans-serif;
            font-size: 10px;
            letter-spacing: 4px;
            text-transform: uppercase;
            color: var(--accent-light);
            font-weight: 600;
            margin-bottom: 14px;
        }
        .footer-logo {
            font-family: 'Barlow', sans-serif;
            font-weight: 700;
            font-size: 36px;
            color: var(--white-soft);
            letter-spacing: -1px;
            line-height: 1;
        }
        .footer-logo em { font-family: 'Instrument Serif', serif; font-weight: 400; letter-spacing: 0; }
        .footer-tagline {
            font-family: 'Barlow', sans-serif;
            font-weight: 300;
            font-size: 14px;
            color: rgba(244,238,232,0.72);
            line-height: 1.7;
            margin: 14px 0 0;
            max-width: 34ch;
        }
        .footer-link {
            display: flex;
            align-items: center;
            gap: 9px;
            background: none;
            border: none;
            padding: 0;
            margin: 0 0 13px;
            color: rgba(244,238,232,0.85);
            font-family: 'Barlow', sans-serif;
            font-size: 14px;
            text-decoration: none;
            cursor: pointer;
            text-align: left;
            transition: color .3s var(--ease), transform .3s var(--ease);
        }
        .footer-link:hover { color: var(--accent-light); transform: translateX(5px); }
        .footer-link i { color: var(--rose); font-size: 15px; }
        .footer-bottom {
            border-top: 1px solid rgba(244,238,232,0.14);
            padding: 22px 0 26px;
            display: flex;
            gap: 10px;
            justify-content: center;
            flex-wrap: wrap;
            font-family: 'Barlow', sans-serif;
            font-size: 12.5px;
            color: rgba(244,238,232,0.55);
        }
        @media (max-width: 767.98px) {
            .site-footer { padding-top: 50px; }
            .footer-inner { grid-template-columns: 1fr; gap: 30px; }
        }

        /* --- Menú móvil a pantalla completa --- */
        @media (max-width: 768px) {
            nav.topbar { position: sticky; }
            .nav-logo, .mobile-menu-btn { position: relative; z-index: 1002; }
            .nav-actions {
                position: fixed;
                inset: 0;
                z-index: 1001;
                background: rgba(244, 238, 232, 0.97);
                backdrop-filter: blur(20px);
                -webkit-backdrop-filter: blur(20px);
                flex-direction: column;
                justify-content: center;
                align-items: center;
                gap: 18px;
                padding: 100px 30px 40px;
                border-bottom: none;
                box-shadow: none;
                animation: blurIn .45s var(--ease) both;
                /* en pantallas bajas (móvil en horizontal) el menú se desplaza
                   en lugar de recortar opciones */
                overflow-y: auto;
                -webkit-overflow-scrolling: touch;
            }
            .nav-actions .nav-btn {
                width: 100%;
                max-width: 300px;
                font-size: 12px;
                letter-spacing: 3px;
                padding: 17px;
                text-align: center;
                background: transparent;
                border-color: rgba(59,33,28,0.25);
            }
            .nav-actions .nav-btn.solid { background: var(--burgundy); color: #fff; }
            body.menu-open { overflow: hidden; }
            body.menu-open .mobile-menu-btn .fa-bars::before { content: '\f00d'; }

            /* El backdrop-filter de la cabecera al hacer scroll crea un bloque
               contenedor y atrapaba dentro al menú (position:fixed), que se
               encogía a una tira de 140px. Con el menú abierto lo desactivamos:
               la cabecera queda tapada por el menú, así que no se nota. */
            body.menu-open nav.topbar {
                backdrop-filter: none;
                -webkit-backdrop-filter: none;
            }

            /* Zonas táctiles: el ojo de la contraseña medía 20px de alto y el
               enlace de recuperación 14px. Se agranda el área sin mover nada
               de sitio (padding compensado con margen negativo). */
            .toggle-pass {
                padding: 12px;
                margin: -12px -12px 0 0;
                font-size: 15px;
            }
            .field-pass-wrap .toggle-pass { top: 4px; }
            a[onclick*="solicitarRecuperacion"] {
                display: inline-block;
                padding: 10px 4px;
                margin: -10px -4px;
            }
        }

        /* --- Accesibilidad: foco visible + movimiento reducido --- */
        a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, [tabindex]:focus-visible {
            outline: 2px solid var(--accent);
            outline-offset: 3px;
            border-radius: 4px;
        }
        @media (prefers-reduced-motion: reduce) {
            html { scroll-behavior: auto; }
            *, *::before, *::after {
                animation-duration: 0.01ms !important;
                animation-iteration-count: 1 !important;
                transition-duration: 0.01ms !important;
            }
        }


        /* ============================================================
           SEPARADORES EDITORIALES — filete dorado + ornamento delicado
           Variantes: .rule-gem (cristal) · .rule-pearls (perlas) ·
                      .rule-stripes (franja rayada)
           ============================================================ */
        .rule {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 18px;
            width: 100%;
            max-width: 520px;
            margin: 52px auto;
            pointer-events: none;
        }
        .rule::before, .rule::after {
            content: '';
            flex: 1;
            height: 1px;
            background: linear-gradient(90deg, transparent, rgba(185,152,105,0.55), transparent);
            transform: scaleX(0);
            opacity: 0;
            transform-origin: center;
            transition: transform 1.1s var(--ease), opacity 1.1s var(--ease);
        }
        .rule.in::before, .rule.in::after { transform: scaleX(1); opacity: 1; }
        .rule .rule-mark { opacity: 0; transition: opacity .7s var(--ease) .38s; }
        .rule.in .rule-mark { opacity: 1; }

        /* Cristal: rombo de contorno dorado con núcleo suave */
        .rule-gem .rule-mark {
            width: 9px; height: 9px;
            border: 1px solid var(--accent);
            transform: rotate(45deg);
            position: relative;
            flex: none;
        }
        .rule-gem .rule-mark::after {
            content: '';
            position: absolute;
            inset: 2px;
            background: var(--accent);
            opacity: .42;
        }

        /* Perlas: tres puntos graduados, el central dorado */
        .rule-pearls .rule-mark {
            display: flex;
            align-items: center;
            gap: 7px;
            flex: none;
        }
        .rule-pearls .rule-mark i {
            display: block;
            width: 4px; height: 4px;
            border-radius: 50%;
            background: var(--rose);
        }
        .rule-pearls .rule-mark i:nth-child(2) {
            width: 7px; height: 7px;
            background: var(--accent);
            box-shadow: 0 0 0 3px rgba(185,152,105,0.14);
        }

        /* Franja: rayado fino en diagonal, como el grafismo de portada */
        .rule-stripes .rule-mark {
            width: 56px; height: 11px;
            flex: none;
            background: repeating-linear-gradient(115deg,
                var(--accent) 0 1px, transparent 1px 6px);
            opacity: .55;
        }

        @media (max-width: 768px) {
            .rule { margin: 38px auto; gap: 14px; max-width: 320px; }
            .rule-stripes .rule-mark { width: 42px; }
        }

        /* ============================================================
           REVELADO AL BAJAR — las secciones entran al aparecer en pantalla
           ============================================================ */
        .reveal {
            opacity: 0;
            transform: translateY(38px);
            filter: blur(7px);
            transition: opacity .85s var(--ease), transform .85s var(--ease), filter .85s var(--ease);
        }
        .reveal.in { opacity: 1; transform: none; filter: blur(0); }
        .reveal-2 { transition-delay: .15s; }
        .reveal-3 { transition-delay: .3s; }
        /* El revelado es el único mecanismo de entrada: desactiva la animación de carga */
        .reveal.luxury-card, .reveal.brand-container { animation: none; }

        /* Entrada lateral: distingue Sobre Mí del bloque de acceso, que sube */
        .reveal.reveal-izq { transform: translateX(-52px); }
        .reveal.reveal-der { transform: translateX(52px); }
        .reveal.reveal-izq.in, .reveal.reveal-der.in { transform: none; }

        /* ============================================================
           PANELES DE SECCIÓN — a sangre completa y con el borde superior
           en arco. Al ir en el flujo, el arco siempre queda POR ENCIMA
           de su sección y sube al mismo ritmo que el scroll.
           ============================================================ */
        /* Sin recorte en el contenedor: los paneles miden justo --vw, así que no
           desbordan, y cualquier clip aquí los cortaría al ancho de Bootstrap */

        /* El hero se alarga para que la persiana dorada tenga recorrido antes
           de que suba el arco del panel claro. El contenido se queda arriba,
           dentro de la primera pantalla. */
        #login .hero-home {
            min-height: 168vh;
            justify-content: flex-start;
            padding-top: 22vh;
            margin-bottom: 0;
        }
        @media (max-width: 768px) {
            #login .hero-home { min-height: 150vh; padding-top: 17vh; }
        }

        /* --vw = ancho real sin la barra de desplazamiento (lo fija el JS);
           100vw la incluye y descuadraría los paneles */
        .panel-seccion {
            width: var(--vw, 100vw);
            max-width: none;   /* Bootstrap limita los hijos de .row a 100% */
            /* mismo margen a los dos lados: así la caja externa mide igual que la
               fila y su justify-content:center no lo descentra */
            margin-left: calc(50% - var(--vw, 100vw) / 2);
            margin-right: calc(50% - var(--vw, 100vw) / 2);
            position: relative;
            z-index: 1;
        }
        /* Fondo claro: aquí vive la sección de crear cuenta.
           El margen negativo la sube sobre el hero, así su arco asoma en la
           parte baja de la primera pantalla y va subiendo con el scroll. */
        .panel-claro {
            background: var(--cream);
            border-radius: 100px 100px 0 0;
            margin-top: -11vh;
            padding: 18vh 5vw 9vh;
        }
        /* El fondo cambia a nude para Sobre Mí */
        .panel-nude {
            background:
                radial-gradient(ellipse at 50% 0%, rgba(255,255,255,0.5), transparent 62%),
                linear-gradient(180deg, var(--nude) 0%, #E9D5CF 44%, var(--cream) 100%);
            border-radius: 100px 100px 0 0;
            margin-top: -2vh;
            padding: 13vh 5vw 9vh;
        }
        /* ============================================================
           SCROLL INMERSIVO DE SOBRE MÍ
           La pista da recorrido; la pantalla se clava con position:sticky y
           todo lo de dentro avanza atado al scroll (reversible al subir).
           ============================================================ */
        .inmersivo { position: relative; height: 300vh; }
        .inmersivo-pantalla {
            position: sticky;
            top: 0;
            height: 100svh;
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
        }
        /* Tres columnas de trabajos desfilando por detrás */
        .inm-fondo {
            position: absolute;
            inset: -12% 0;
            display: flex;
            gap: 2.5vw;
            justify-content: center;
            pointer-events: none;
            opacity: .5;
        }
        .inm-col {
            flex: 0 0 clamp(150px, 20vw, 280px);
            display: flex;
            flex-direction: column;
            gap: 2.5vw;
            will-change: transform;
        }
        .inm-col img {
            width: 100%;
            aspect-ratio: 3 / 4;
            object-fit: cover;
            border-radius: 120px 120px 18px 18px;
            display: block;
        }
        /* Velo para que el texto se lea sobre las fotos */
        .inmersivo-pantalla::after {
            content: '';
            position: absolute;
            inset: 0;
            pointer-events: none;
            background: radial-gradient(ellipse at 50% 50%,
                rgba(240,224,218,0.94) 0%,
                rgba(240,224,218,0.86) 42%,
                rgba(240,224,218,0.55) 100%);
        }
        .inmersivo-contenido {
            position: relative;
            z-index: 2;          /* por encima del velo y las columnas */
            width: min(100%, 980px);
            padding: 0 4vw;
        }
        .inm-fila {
            display: flex;
            align-items: center;
            gap: 4vw;
            margin-top: 2vh;
        }
        .inm-foto-caja { position: relative; flex: 0 0 clamp(180px, 30%, 300px); }
        .inm-foto {
            width: 100%;
            display: block;
            border-radius: 200px 200px 22px 22px;
            border: 4px solid #fff;
            box-shadow: 0 22px 45px rgba(59,33,28,0.16);
            position: relative;
            z-index: 2;
            clip-path: inset(0 0 100% 0);   /* lo abre el scroll */
            will-change: clip-path, transform;
        }
        .inm-foto-marco {
            position: absolute;
            inset: 0;
            border: 1px solid var(--accent);
            border-radius: 200px 200px 22px 22px;
            transform: translate(15px, 15px);
            z-index: 1;
        }
        .inm-texto { flex: 1 1 auto; }
        .inm-parrafo {
            font-family: 'Instrument Serif', serif;
            font-size: clamp(15px, 1.5vw, 18px);
            line-height: 1.75;
            color: var(--dark-text);
            margin-bottom: 14px;
            opacity: 0;                      /* los revela el scroll */
        }
        @media (max-width: 768px) {
            .inmersivo { height: 200vh; }    /* recorrido más corto en móvil */
            .inm-fila { flex-direction: column; gap: 1.6vh; margin-top: 0; }
            /* la foto y los textos se aprietan para que los 4 párrafos entren
               enteros en la pantalla clavada, que recorta lo que sobresale */
            .inm-foto-caja { flex: 0 0 auto; width: min(46%, 170px); }
            .inm-foto, .inm-foto-marco { border-radius: 130px 130px 18px 18px; }
            .inm-col { flex-basis: 34vw; }
            .inm-parrafo { font-size: 13.5px; line-height: 1.5; margin-bottom: 7px; }
            .inmersivo-contenido { padding: 0 22px; }
            #sobreMi .inmersivo .brand-container { padding: 6px 6px 0; }
            #sobreMi .inmersivo .brand-main { font-size: clamp(30px, 8vw, 40px); }
            #sobreMi .inmersivo .brand-sub { font-size: clamp(26px, 7vw, 34px); }
        }
        @media (prefers-reduced-motion: reduce) {
            .inmersivo { height: auto; }
            .inmersivo-pantalla { position: relative; height: auto; padding: 8vh 0; }
            .inm-fondo { display: none; }
            .inm-foto { clip-path: none; }
            .inm-parrafo { opacity: 1; }
        }

        /* --- Trabajos inmersivos: rejilla que se llena foto a foto --- */
        .inmersivo-trabajos { height: 340vh; }
        .inmersivo-trabajos .inmersivo-contenido { width: min(100%, 1100px); }
        .trabajos-titulo {
            font-family: 'Instrument Serif', serif;
            font-style: italic;
            font-size: clamp(28px, 3.4vw, 42px);
            color: var(--burgundy);
            text-align: center;
            letter-spacing: -0.5px;
            margin: 0 0 3vh;
        }
        /* Cuatro ventanas en arco: el resto de la galería sigue cargada porque
           alimenta las columnas del bloque de Sobre Mí, pero aquí no se muestra */
        .trabajos-rejilla {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: clamp(12px, 1.6vw, 24px);
            align-items: end;
        }
        .trabajos-rejilla .galeria-item:nth-child(n+5) { display: none; }
        .trabajos-rejilla .galeria-item {
            overflow: hidden;
            cursor: zoom-in;
            border-radius: 999px 999px 16px 16px;   /* ventana con arco */
            border: 5px solid var(--white-soft);
            box-shadow: 0 18px 40px rgba(59,33,28,0.18);
            /* el scroll las abre de abajo arriba, como una persiana que sube */
            clip-path: inset(100% 0 0 0);
        }
        /* las ventanas alternan altura, como una fachada */
        .trabajos-rejilla .galeria-item:nth-child(even) { margin-bottom: 4vh; }
        .trabajos-rejilla .galeria-item img {
            width: 100%;
            aspect-ratio: 2 / 3;
            height: auto !important;
            object-fit: cover;
            display: block;
        }
        /* La invitación aparece cuando ya están todas las fotos */
        .trabajos-invita {
            text-align: center;
            margin-top: 3.5vh;
            opacity: 0;
        }
        .invita-texto { margin: 0 0 8px; line-height: 1.05; }
        .invita-serif {
            display: block;
            font-family: 'Instrument Serif', serif;
            font-style: italic;
            font-size: clamp(26px, 3.2vw, 44px);
            color: var(--burgundy);
            letter-spacing: -1px;
        }
        .invita-sans {
            display: block;
            font-family: 'Barlow', sans-serif;
            font-weight: 800;
            font-size: clamp(22px, 2.6vw, 36px);
            color: var(--burgundy);
            letter-spacing: -1px;
        }
        .invita-sub {
            font-family: 'Barlow', sans-serif;
            font-weight: 300;
            font-size: clamp(14px, 1.4vw, 16.5px);
            color: var(--dark-text);
            max-width: 46ch;
            margin: 0 auto 18px;
        }
        .invita-botones {
            display: flex;
            gap: 12px;
            justify-content: center;
            flex-wrap: wrap;
        }
        .invita-botones .hero-btn-ghost { text-decoration: none; display: inline-flex; align-items: center; }
        @media (max-width: 768px) {
            .inmersivo-trabajos { height: 220vh; }
            .trabajos-rejilla { grid-template-columns: repeat(2, 1fr); gap: 10px; }
            .trabajos-rejilla .galeria-item { border-radius: 700px 700px 12px 12px; border-width: 4px; }
            .trabajos-rejilla .galeria-item:nth-child(even) { margin-bottom: 0; }
            /* ventanas menos altas: si no, las dos filas más la invitación no
               caben en la pantalla clavada, que recorta lo que sobresale */
            .trabajos-rejilla .galeria-item img { aspect-ratio: 3 / 4; }
            .trabajos-titulo { font-size: 24px; margin-bottom: 1.4vh; }
            .trabajos-invita { margin-top: 2.5vh; }
            .invita-sub { font-size: 13.5px; margin-bottom: 14px; }
            .invita-botones { flex-direction: column; align-items: center; }
            .invita-botones .hero-btn-primary, .invita-botones .hero-btn-ghost { width: 100%; max-width: 300px; justify-content: center; }
        }
        @media (prefers-reduced-motion: reduce) {
            .inmersivo-trabajos { height: auto; }
            .trabajos-rejilla .galeria-item { clip-path: none; }
            .trabajos-invita { opacity: 1; }
        }

        /* ============================================================
           DÓNDE ESTAMOS — la pantalla se clava y el contenido viaja de lado
           ============================================================ */
        .panel-lateral {
            background: linear-gradient(180deg, var(--cream) 0%, #EFE6DC 55%, var(--cream-deep) 100%);
            border-radius: 100px 100px 0 0;
            margin-top: -2vh;
        }
        .lateral-pista { position: relative; height: 380vh; }
        .lateral-pantalla {
            position: sticky;
            top: 0;
            height: 100svh;
            overflow: hidden;
            display: flex;
            align-items: center;
        }
        .lateral-fila {
            display: flex;
            will-change: transform;
        }
        .lat-panel {
            /* --vw es el ancho real sin barra de desplazamiento; con 100vw cada
               panel se pasaría y la fila quedaría descuadrada */
            flex: 0 0 var(--vw, 100vw);
            width: var(--vw, 100vw);
            height: 100svh;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 0 6vw;
        }
        .lat-caja { width: min(100%, 900px); text-align: center; }

        .lat-h { margin: 10px 0 0; line-height: 1; }
        .lat-h-serif {
            display: block;
            font-family: 'Instrument Serif', serif;
            font-style: italic;
            font-size: clamp(46px, 8vw, 104px);
            color: var(--burgundy);
            letter-spacing: -2px;
        }
        .lat-h-sans {
            display: block;
            font-family: 'Barlow', sans-serif;
            font-weight: 800;
            font-size: clamp(32px, 5.4vw, 72px);
            color: var(--burgundy);
            letter-spacing: -2px;
            margin-top: 2px;
        }
        .lat-pista-txt {
            margin-top: 22px;
            font-family: 'Barlow', sans-serif;
            font-size: 11.5px;
            letter-spacing: 3px;
            text-transform: uppercase;
            font-weight: 600;
            color: var(--accent);
        }
        .lat-pista-txt i { margin-right: 8px; animation: latEmpuja 1.8s ease-in-out infinite; display: inline-block; }
        @keyframes latEmpuja { 50% { transform: translateX(7px); } }

        /* Panel de la isla */
        .lat-isla-img {
            width: min(52vh, 62%);
            height: auto;
            display: block;
            margin: 0 auto;
            filter: drop-shadow(0 26px 45px rgba(59,33,28,0.18));
        }
        .lat-isla-txt {
            margin-top: 18px;
            font-family: 'Instrument Serif', serif;
            font-style: italic;
            font-size: clamp(26px, 3.4vw, 44px);
            color: var(--burgundy);
        }

        /* Panel de dirección + huecos */
        .lat-dos-col {
            display: flex;
            align-items: center;
            gap: 5vw;
            text-align: left;
        }
        .lat-dir { flex: 1 1 46%; }
        .lat-calle {
            font-family: 'Instrument Serif', serif;
            font-style: italic;
            font-size: clamp(32px, 4.4vw, 58px);
            color: var(--burgundy);
            margin: 8px 0 0;
            letter-spacing: -1px;
        }
        .lat-ciudad {
            font-family: 'Barlow', sans-serif;
            font-weight: 300;
            font-size: clamp(15px, 1.6vw, 19px);
            color: var(--dark-text);
            margin: 2px 0 22px;
        }
        .lat-mapa { display: inline-flex; align-items: center; text-decoration: none; }

        /* Tarjeta flotante de huecos, en cristal */
        .lat-huecos {
            flex: 1 1 54%;
            background: rgba(255,253,252,0.72);
            backdrop-filter: blur(14px);
            -webkit-backdrop-filter: blur(14px);
            border: 1px solid rgba(255,255,255,0.75);
            border-radius: 26px;
            box-shadow: inset 0 1px 1px rgba(255,255,255,0.6), 0 26px 55px rgba(59,33,28,0.14);
            padding: 24px 24px 18px;
        }
        .lat-huecos-tit {
            font-family: 'Barlow', sans-serif;
            font-size: 10px;
            letter-spacing: 3.4px;
            text-transform: uppercase;
            font-weight: 700;
            color: var(--accent);
            margin-bottom: 14px;
        }
        .lat-dia { margin-bottom: 13px; opacity: 0; transform: translateY(12px); }
        .lat-dia.in { opacity: 1; transform: none; transition: opacity .55s var(--ease), transform .55s var(--ease); }
        .lat-dia-nombre {
            font-family: 'Instrument Serif', serif;
            font-style: italic;
            font-size: 19px;
            color: var(--burgundy);
            margin-bottom: 7px;
        }
        .lat-horas { display: flex; flex-wrap: wrap; gap: 7px; }
        .lat-hora {
            font-family: 'Barlow', sans-serif;
            font-size: 13px;
            font-weight: 600;
            color: var(--burgundy);
            background: rgba(185,152,105,0.14);
            border: 1px solid rgba(185,152,105,0.4);
            border-radius: 999px;
            padding: 7px 15px;
            cursor: pointer;
            transition: all .25s var(--ease);
        }
        .lat-hora:hover { background: var(--burgundy); border-color: var(--burgundy); color: #fff; }
        .lat-huecos-cargando, .lat-huecos-lleno {
            font-family: 'Barlow', sans-serif;
            font-size: 14px;
            color: var(--muted);
            margin: 0;
        }
        .lat-huecos-lleno { color: var(--dark-text); line-height: 1.6; }
        .lat-horario {
            font-family: 'Barlow', sans-serif;
            font-size: 11.5px;
            color: var(--muted);
            margin: 14px 0 0;
            padding-top: 12px;
            border-top: 1px solid rgba(185,152,105,0.25);
        }
        .lat-final-sub {
            font-family: 'Barlow', sans-serif;
            font-weight: 300;
            font-size: clamp(15px, 1.6vw, 18px);
            color: var(--dark-text);
            margin: 16px auto 22px;
            max-width: 42ch;
        }

        /* Indicador de avance lateral */
        .lateral-puntos {
            position: absolute;
            bottom: 26px;
            left: 50%;
            transform: translateX(-50%);
            display: flex;
            gap: 9px;
            z-index: 3;
        }
        .lateral-puntos span {
            width: 8px; height: 8px;
            border-radius: 50%;
            background: rgba(59,33,28,0.2);
            transition: all .35s var(--ease);
        }
        .lateral-puntos span.activo { background: var(--accent); width: 26px; border-radius: 999px; }

        @media (max-width: 768px) {
            .panel-lateral { border-radius: 60px 60px 0 0; }
            .lateral-pista { height: 300vh; }
            .lat-panel { padding: 0 22px; }
            .lat-dos-col { flex-direction: column; gap: 22px; text-align: center; }
            .lat-dir, .lat-huecos { flex: 0 0 auto; width: 100%; }
            .lat-horas { justify-content: center; }
            .lat-huecos { padding: 18px 16px 14px; }
            .lat-isla-img { width: min(42vh, 74%); }
            .lat-h-serif { font-size: clamp(38px, 13vw, 60px); }
            .lat-h-sans { font-size: clamp(26px, 9vw, 42px); }
        }
        @media (prefers-reduced-motion: reduce) {
            .lateral-pista { height: auto; }
            .lateral-pantalla { position: relative; height: auto; }
            .lateral-fila { flex-direction: column; transform: none !important; }
            .lat-panel { flex: 0 0 auto; width: 100%; height: auto; padding: 8vh 6vw; }
            .lateral-puntos { display: none; }
            .lat-dia { opacity: 1; transform: none; }
        }

        #sobreMi .brand-ornament { color: var(--burgundy); }
        #sobreMi .luxury-card { background: var(--white-soft) !important; }
        @media (max-width: 768px) {
            /* hereda las medidas de escritorio; en estrecho solo bajamos la curva
               (100px sobre 375 de ancho sería una cúpula desproporcionada) y
               ajustamos el margen lateral */
            .panel-claro { border-radius: 60px 60px 0 0; padding-left: 16px; padding-right: 16px; }
            .panel-nude { border-radius: 60px 60px 0 0; padding-left: 16px; padding-right: 16px; }
        }

        /* ============================================================
           HERO — sección de fondo dorado con el vídeo dentro. Se desplaza
           con la página: el arco del panel siguiente lo va cubriendo solo,
           sin animación ligada al scroll.
           ============================================================ */
        .hero-seccion {
            background: var(--accent);
            overflow: hidden;
            height: 116vh;
            display: flex;
            /* sube el hero hasta el borde de la página, por debajo de la
               cabecera transparente (igual que la referencia) */
            margin-top: calc(-1 * var(--tope-hero, 0px));
        }
        .hero-video {
            position: absolute;
            inset: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            /* anclamos a la derecha: al recortar en vertical, lo que se pierde
               es la seda de la izquierda y las uñas siguen en cuadro */
            object-position: 72% 60%;
            display: block;
        }
        @media (max-width: 768px) { .hero-video { object-position: 68% 62%; } }
        /* Persiana dorada: al bajar, las barras van saliendo en ola de
           izquierda a derecha hasta tapar el vídeo. Va dentro del hero, así
           el arco de la sección siguiente pasa por encima sin fundidos. */
        .hero-persiana {
            position: absolute;
            inset: 0;
            z-index: 1;          /* sobre el vídeo y el velo, bajo el titular */
            display: flex;
            pointer-events: none;
            perspective: 1400px;            /* da volumen al giro de las lamas */
            transform-style: preserve-3d;
        }
        .hero-persiana span {
            flex: 1 1 0;
            display: block;
            background: linear-gradient(180deg, #CDAB72 0%, var(--accent) 48%, #9C7D50 100%);
            /* Lamas de persiana veneciana: arrancan de canto (90°, invisibles) y
               giran sobre su eje vertical hasta quedar planas y tapar el vídeo */
            transform: rotateY(90deg);
            transform-origin: left center;
            transform-style: preserve-3d;
            backface-visibility: hidden;
            /* Invisible hasta que le toca girar: con perspectiva, una lama a 90°
               solo queda de canto si está en el punto de fuga; las de los lados
               se ven en escorzo y asomarían desde el principio. */
            opacity: 0;
            /* sin will-change: son hasta 32 lamas y mantendrían otras tantas
               capas de GPU vivas toda la sesión; el rotateY ya las promociona
               solo mientras se animan */
        }

        /* Los paneles de la portada entregan directamente al footer. */
        body.en-inicio main.container { padding-bottom: 0 !important; }
        body.en-inicio .site-footer { margin-top: 0; }

        /* Velo suave para que el titular se lea sobre el vídeo */
        .hero-seccion::after {
            content: '';
            position: absolute;
            inset: 0;
            pointer-events: none;
            background: linear-gradient(180deg,
                rgba(59,33,28,0.30) 0%,
                rgba(59,33,28,0.10) 38%,
                rgba(59,33,28,0.06) 62%,
                rgba(59,33,28,0.22) 100%);
        }
        .hero-seccion .hero-home {
            position: relative;
            z-index: 2;          /* por encima del vídeo y del velo */
            width: 100%;
            margin: 0;
            padding: 44vh 5vw 0;
            justify-content: flex-start;
        }
        /* Sobre el vídeo el titular va en blanco */
        .hero-seccion .hh-serif,
        .hero-seccion .hh-sans {
            color: var(--white-soft) !important;
            text-shadow: 0 3px 26px rgba(59,33,28,0.45) !important;
        }
        .hero-seccion .hero-sub { color: var(--white-soft); text-shadow: 0 2px 14px rgba(59,33,28,0.5); }
        .hero-seccion .hero-chip {
            background: rgba(255,253,252,0.18);
            border-color: rgba(255,255,255,0.5);
            color: var(--white-soft);
        }
        .hero-seccion .hero-btn-ghost { color: var(--white-soft); border-color: rgba(255,255,255,0.65); background: rgba(255,255,255,0.12); }
        .hero-seccion .hero-blob { display: none; }
        /* Con el logo ya transparente, el rojo de marca sobre el dorado del hero
           se queda en 3,3:1. Mientras la cabecera va transparente sobre el vídeo
           lo pasamos a crema; al hacer scroll vuelve al rojo sobre el marfil.
           El :not(.menu-open) es imprescindible: con el menú móvil abierto el
           fondo pasa a marfil y en crema el logo desaparecería. */
        body.en-inicio:not(.menu-open) nav.topbar:not(.scrolled) .nav-logo img {
            filter: brightness(0) invert(1) drop-shadow(0 2px 10px rgba(59,33,28,0.5));
        }
        /* Mismo criterio para la hamburguesa, que va en chocolate */
        body.en-inicio:not(.menu-open) nav.topbar:not(.scrolled) .mobile-menu-btn {
            color: var(--white-soft);
            text-shadow: 0 2px 10px rgba(59,33,28,0.55);
        }
        @media (max-width: 768px) {
            .hero-seccion .hero-home { padding-left: 20px; padding-right: 20px; }
        }

        /* Desplazamiento suave sin que la cabecera tape el titular */
        #sobreMi { scroll-margin-top: 110px; }
        @media (max-width: 768px) { #sobreMi { scroll-margin-top: 84px; } }

        @media (prefers-reduced-motion: reduce) {
            .reveal, .reveal.reveal-izq, .reveal.reveal-der { opacity: 1; transform: none; filter: none; transition: none; }
            .rule::before, .rule::after { transform: scaleX(1); opacity: 1; transition: none; }
            .rule .rule-mark { opacity: 1; transition: none; }
            #sobreMi .col-md-5 img { clip-path: none; transition: none; }
        }

/* Readable customer reviews and keyboard focus. */
.review-stars { color: var(--accent); font-size: 14px; margin-bottom: 12px; }
.review-comment { font-family: 'Instrument Serif', serif; font-size: 20px; line-height: 1.6; overflow-wrap: anywhere; }
.review-author { border-top: 1px solid var(--line); padding-top: 16px; font-weight: 700; overflow-wrap: anywhere; }
.review-service { margin-top: 6px; font-size: 13px; color: var(--muted); overflow-wrap: anywhere; }
:focus-visible { outline: 3px solid var(--burgundy); outline-offset: 3px; }
#publicServicioGrid .servicio-opcion-precio { color: var(--burgundy); }
#publicServicioGrid .servicio-opcion + div { font-size: 14px !important; line-height: 1.65 !important; text-align: left !important; }
