body {
    /* Color base por seguridad si la imagen tarda en cargar */
    background-color: #050505; 
    
    /* El gradiente lineal actúa como un filtro oscuro al 85% sobre la imagen de mármol */
    background-image: 
        linear-gradient(rgba(5, 5, 5, 0.75), rgba(5, 5, 5, 0.75)), 
        url('./img/fondo.png');
    
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Efecto parallax: el mármol se queda quieto al hacer scroll */
    background-repeat: no-repeat;
    
    color: #ffffff; /* Texto general en blanco */
    font-family: 'Cinzel';
    margin: 0;
    padding: 0;
}

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500;600&display=swap');

        * { margin: 0; padding: 0; box-sizing: border-box; }
        a { text-decoration: none; color: inherit; }

        /* ==========================================================================
           NAVBAR CON BOTÓN DE SESIÓN DINÁMICO
           ========================================================================== */
        .navbar {
            background: rgba(0, 0, 0, 0.95); color: white; padding: 10px 40px; min-height: 90px;
            display: flex; justify-content: center; border-bottom: 1px solid #111;
            position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
        }
        .nav { display: flex; align-items: center; justify-content: space-between; width: 100%; max-width: 1600px; }
        .logo img{ width: 10em;}
        .logo span { color: #d4b58a; }
        .menu { margin: 0 auto; }
        .menu ul { display: flex; list-style: none; gap: 35px; }
        .menu a {
            color: #cccccc; font-size: 0.8rem; font-weight: 500; letter-spacing: 2px;
            position: relative; padding-bottom: 8px; transition: color 0.3s ease; cursor: pointer;
        }
        .menu a::after {
            content: ''; position: absolute; width: 100%; height: 1px; bottom: 0; left: 0;
            background-color: #d4b58a; transform: scaleX(0); transform-origin: bottom left; transition: transform 0.3s ease;
        }
        .menu a:hover, .menu a.active { color: #ffffff; }
        .menu a:hover::after, .menu a.active::after { transform: scaleX(1); }
        
        .nav-right-buttons { display: flex; align-items: center; gap: 20px; }
        .btn-book {
            color: #ffffff; font-size: 0.8rem; letter-spacing: 1.5px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.3); padding-bottom: 4px;
            transition: 0.3s; cursor: pointer;
        }
        .btn-book:hover { color: #d4b58a; border-color: #d4b58a; }
        #menu-toggle, .menu-icon { display: none; }

        /* ==========================================================================
           ESTILOS GENERALES Y BOTONES
           ========================================================================== */
        section { padding: 160px 40px 60px 40px; max-width: 1400px; margin: 0 auto; min-height: 100vh; display: none; }
        section.active-section { display: block; }
        .section-header-admin { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid #111; margin-bottom: 40px; padding-bottom: 15px; }
        .section-title { font-size: 1.2rem; letter-spacing: 4px; font-weight: 400; text-transform: uppercase; }
        
        .btn-principal, .btn-secundario, .btn-admin-action {
            display: inline-block; padding: 14px 35px; letter-spacing: 2px; text-transform: uppercase;
            font-size: 0.75rem; font-family: 'Cinzel', serif; border-radius: 2px; cursor: pointer; transition: 0.3s; border: 1px solid transparent;
        }
        .btn-principal { background-color: #d4b58a; color: #000; border-color: #d4b58a; font-weight: 600; }
        .btn-principal:hover { background-color: #000; color: #d4b58a; }
        .btn-secundario { background-color: transparent; color: #888; border-color: #222; }
        .btn-secundario:hover { border-color: #d4b58a; color: #fff; }
        
        /* Botones de administración rápidos en cada página */
        .btn-admin-action { background: #111; color: #d4b58a; border-color: #d4b58a; padding: 8px 15px; display: none; }
        .btn-admin-action:hover { background: #d4b58a; color: #000; }
        body.admin-mode .btn-admin-action { display: inline-block; }

        /* ==========================================================================
           ESTILOS DE CONTENIDO (PORTAFOLIO, OFERTAS, FAQ)
           ========================================================================== */
        .quien-soy-block { display: flex; align-items: center; gap: 60px; max-width: 1100px; margin: 0 auto 60px auto; }
        .quien-soy-texto { flex: 1; }
        .quien-soy-texto h1 { font-size: 2.2rem; letter-spacing: 3px; margin-bottom: 25px; font-weight: 400; }
        .quien-soy-texto p { color: #aaaaaa; line-height: 1.8; font-size: 0.95rem; font-family: sans-serif; }
        .quien-soy-foto { flex: 0 0 380px; height: 380px; overflow: hidden; border: 1px solid #111; }
        .quien-soy-foto img { width: 100%; height: 100%; object-fit: cover; }
        
        /* Carrusel */
        .carousel-wrapper { position: relative; display: flex; align-items: center; width: 100%; margin-bottom: 50px; }
        .carousel-container { width: 100%; overflow: hidden; padding: 40px 0; }
        .carousel-track { display: flex; gap: 30px; }
        .carousel-item { flex: 0 0 300px; height: 440px; overflow: hidden; background-color: #0a0a0a; transition: 0.5s ease; transform: scale(0.85); filter: grayscale(60%) brightness(40%); }
        .carousel-item img { width: 100%; height: 100%; object-fit: cover; }
        .carousel-item.active-center { transform: scale(1.15); filter: grayscale(0%) brightness(100%); z-index: 10; box-shadow: 0 10px 40px rgba(212, 181, 138, 0.15); }
        .carousel-btn { position: absolute; background: rgba(0, 0, 0, 0.9); color: white; border: 1px solid #111; font-size: 1.5rem; padding: 15px 12px; cursor: pointer; z-index: 100; }
        .prev-btn { left: -10px; } .next-btn { right: -10px; }

        /* Portafolio y Ofertas */
        .filter-container { display: flex; gap: 15px; margin-bottom: 35px; flex-wrap: wrap; }
        .filter-btn { background: none; border: 1px solid #222; color: #666; padding: 8px 20px; font-size: 0.8rem; font-family: 'Cinzel', serif; cursor: pointer; }
        .filter-btn.active, .filter-btn:hover { border-color: #d4b58a; color: #fff; }
        .portfolio-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 25px; }
        .portfolio-card { height: 380px; overflow: hidden; background-color: #0a0a0a; border: 1px solid #111; position: relative; }
        .portfolio-card img { width: 100%; height: 100%; object-fit: cover; }
        
        .ofertas-container { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 30px; }
        .flash-card { background-color: #050505; border: 1px solid #111; overflow: hidden; }
        .flash-img { height: 300px; width: 100%; object-fit: cover; border-bottom: 1px solid #111; }
        .flash-info { padding: 20px; }
        .flash-tag { display: inline-block; background-color: #111; color: #d4b58a; font-size: 0.65rem; padding: 4px 10px; text-transform: uppercase; margin-bottom: 10px; }
        .flash-title { font-size: 1.2rem; margin-bottom: 8px; font-weight: 400; }
        .flash-price { font-size: 1.3rem; color: #fff; margin-bottom: 15px; }

        /* ==========================================================================
        SECCIÓN FAQ / PREGUNTAS FRECUENTES 
        ========================================================================== */

        /* Buscador de FAQs */
        .faq-search {
            width: 100%;
            max-width: 500px;
            background: #0a0a0a;
            border: 1px solid #222;
            padding: 12px 20px;
            color: #fff;
            margin: 0 auto 40px auto;
            display: block;
            outline: none;
            font-family: 'Montserrat', sans-serif;
            font-size: 0.95rem;
            border-radius: 4px;
            transition: border-color 0.3s ease;
        }

        .faq-search:focus {
            border-color: #d4b58a;
        }

        /* Ítem individual */
        .faq-item {
            border-bottom: 1px solid #111;
            padding: 20px 0;
        }

        /* Pregunta (Cabecera interactiva) */
        .faq-question {
            display: flex;
            justify-content: space-between;
            align-items: center;
            cursor: pointer;
            font-family: 'Cinzel', serif;
            font-size: 1.05rem;
            color: #d4b58a;
            user-select: none;
            transition: color 0.3s ease;
        }

        .faq-question:hover {
            color: #fff;
        }

        /* Indicador (+/-) */
        .faq-question span {
            font-size: 1.2rem;
            font-weight: bold;
            transition: transform 0.3s ease;
        }

        /* Respuesta OCULTA por defecto */
        .faq-answer {
            font-family: 'Montserrat', sans-serif !important;
            font-size: 0.78rem !important;
            line-height: 1.5;
            display: none;
            margin: 0 !important;
            padding: 0 !important;
            white-space: pre-line;
        }

        /* Estado ABIERTO (Solo cuando se hace clic) */
        .faq-item.open .faq-question {
            color: #fff;
        }

        .faq-item.open .faq-question span {
            transform: rotate(45deg); /* Rota el '+' a '✕' */
        }

        .faq-item.open .faq-answer {
            display: block; /* Muestra la respuesta solo al hacer clic */
        }

        /* ==========================================================================
           CALENDARIO DE CITAS / FESTIVOS
           ========================================================================== */
        .contacto-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
        .form-group { margin-bottom: 20px; }
        .form-group label { display: block; font-size: 0.75rem; color: #666; text-transform: uppercase; margin-bottom: 8px; }
        .form-control, .select-control { width: 100%; background-color: #0a0a0a; border: 1px solid #222; padding: 12px; color: #fff; outline: none; font-family: sans-serif; }
        .form-control:focus { border-color: #d4b58a; }
        textarea.form-control { height: 100px; resize: none; }

        /* Estilos del Calendario */
        .calendar-box { background: #050505; border: 1px solid #111; padding: 20px; border-radius: 2px; margin-bottom: 25px; }
        .calendar-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px; }
        .calendar-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; text-align: center; font-family: sans-serif; }
        .calendar-day-name { font-size: 0.75rem; color: #666; font-weight: bold; padding-bottom: 5px; }
        .calendar-day { padding: 10px; background: #0a0a0a; border: 1px solid #1a1a1a; font-size: 0.85rem; cursor: pointer; transition: 0.2s; position: relative; }
        .calendar-day:hover:not(.empty) { border-color: #d4b58a; }
        .calendar-day.festivo { background: #3a1a1a; border-color: #721c24; color: #f8d7da; cursor: not-allowed; }
        .calendar-day.festivo::after { content: 'Festivo'; position: absolute; bottom: 2px; left: 5px; font-size: 0.55rem; color: #f5c6cb; }
        .calendar-day.selected { background: #d4b58a; color: #000; font-weight: bold; }
        .calendar-day.empty { background: transparent; border: none; cursor: default; }

        /* MODALES DE SUBIDA (ADMIN) */
        .modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.85); z-index: 2000; display: none; justify-content: center; align-items: center; }
        .modal-content { background: #050505; border: 1px solid #222; padding: 40px; width: 100%; max-width: 500px; position: relative; }
        .modal-close { position: absolute; top: 15px; right: 20px; font-size: 1.5rem; cursor: pointer; color: #666; }
        .modal-close:hover { color: #fff; }


        /* ==========================================================================
   ESTILOS GENERALES DEL FOOTER
   ========================================================================== */
.main-footer {
    background-color: #0b0b0b; /* Fondo oscuro a juego con el estudio */
    border-top: 1px solid #1a1a1a;
    color: #a3a3a3;
    padding: 60px 20px 20px 20px;
    font-family: inherit;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid #1a1a1a;
}

.footer-column h4 {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 20px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.footer-logo {
    color: #fff;
    font-size: 1.6rem;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.footer-logo span {
    color: #d4b58a; /* Color dorado corporativo */
}

.footer-description {
    line-height: 1.6;
    font-size: 0.95rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #a3a3a3;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: #d4b58a;
}

.footer-column p {
    margin-bottom: 12px;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-column p a {
    color: #a3a3a3;
    text-decoration: none;
}

.footer-column p a:hover {
    color: #d4b58a;
}

/* Área inferior de créditos */
/* Contenedor inferior relativo */
.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 25px;
    position: relative;
    display: flex;
    justify-content: flex-end; /* Empuja el botón a la derecha */
    align-items: center;
    min-height: 40px;
}

/* Texto de derechos estrictamente centrado */
.copyright-text {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    margin: 0;
    color: #666;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    pointer-events: none; /* Evita interferir con clics del diseño */
}


/* Adaptación responsiva para móviles */
@media (max-width: 768px) {
    .footer-bottom {
        flex-direction: column;
        justify-content: center;
        gap: 20px;
        padding-top: 20px;
    }
    
    .copyright-text {
        position: static;
        transform: none;
        text-align: center;
        order: 1; /* El texto se mantiene primero */
    }
    
}




/* Lista de contacto del footer */
.footer-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact-list li {
    margin-bottom: 15px;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
}

/* Enlaces e interacciones */
.footer-contact-list a, 
.footer-contact-list span {
    color: #a3a3a3;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 12px; /* Espacio exacto entre el icono y el texto */
    transition: color 0.3s ease;
}

.footer-contact-list a:hover {
    color: #fff; /* El texto se ilumina al pasar el cursor */
}

/* Color dorado exclusivo para los iconos */
.icon-gold {
    color: #d4b58a;
    font-size: 1.1rem;
    width: 20px; /* Ancho fijo para que todo quede perfectamente alineado en vertical */
    text-align: center;
}

/* Centrado en móviles */
@media (max-width: 768px) {
    .footer-contact-list li {
        justify-content: center;
    }
}

/* Contenedor fondo completo */
.lightbox {
    display: none; /* Oculto por defecto */
    position: fixed;
    z-index: 1000; /* Por encima de todo */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(5, 5, 5, 0.95); /* Negro profundo con transparecia */
    backdrop-filter: blur(5px); /* Desenfoque de fondo premium */
    justify-content: center;
    align-items: center;
    cursor: zoom-out;
}

/* Imagen ampliada */
.lightbox-content {
    max-width: 85%;
    max-height: 85vh;
    object-fit: contain;
    border: 2px solid #d4b58a; /* Borde con tu dorado original */
    box-shadow: 0 0 25px rgba(212, 181, 138, 0.2);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

/* Cuando se muestra, hace un pequeño efecto de escala */
.lightbox.active .lightbox-content {
    transform: scale(1);
}

/* Botón de cerrar (X) */
.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: #d4b58a;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.2s;
}

.lightbox-close:hover {
    color: #ffffff;
}

/* Cambiar el cursor en las imágenes del carrusel para avisar que se pueden ampliar */
.carousel-item img {
    cursor: zoom-in;
    transition: transform 0.3s ease;
}
.carousel-item img:hover {
    transform: scale(1.03); /* Ligero acercamiento al pasar el ratón */
}
/* ============================================================================
   CONTROLES DE ADMINISTRACIÓN: MOVER Y BORRAR
============================================================================ */
.portfolio-card.admin-draggable,
.flash-card.admin-draggable,
.faq-item.admin-draggable {
    position: relative;
}

.portfolio-card.admin-draggable,
.flash-card.admin-draggable {
    cursor: default;
}

.admin-card-actions {
    position: absolute;
    right: 10px;
    bottom: 10px;
    z-index: 50;
    display: flex;
    align-items: center;
    gap: 8px;
}

.drag-handle {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,.9);
    border: 1px solid #d4b58a;
    color: #d4b58a;
    border-radius: 4px;
    cursor: grab;
    user-select: none;
    font-size: 21px;
}

.drag-handle:active {
    cursor: grabbing;
}

.admin-delete-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,.9);
    border: 1px solid #8b0000;
    color: #ff7777;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}

.admin-delete-btn:hover {
    background: #8b0000;
    color: #fff;
}

.dragging {
    opacity: .45;
}

body:not(.admin-mode) .admin-card-actions {
    display: none;
}

.admin-edit-help {
    display: none;
    color: #777;
    font-family: 'Montserrat', sans-serif;
    font-size: .68rem;
    letter-spacing: .5px;
    margin-left: auto;
    margin-right: 18px;
}

body.admin-mode .admin-edit-help {
    display: inline-block;
}

@media (max-width: 600px) {
    .admin-edit-help { font-size: .58rem; margin-right: 8px; }
    .admin-card-actions { right: 7px; bottom: 7px; }
    .drag-handle, .admin-delete-btn { width: 32px; height: 32px; }
}

/* ==========================================================================
   KRYM — CAPA RESPONSIVE MÓVIL
   No modifica la lógica JavaScript ni los IDs existentes.
   ========================================================================== */

.mobile-bottom-nav { display: none; }

@media (max-width: 768px) {
    body.public-site { overflow-x: hidden; }

    /* Cabecera compacta */
    body.public-site .navbar {
        height: 72px;
        min-height: 72px;
        padding: 8px 18px;
        background: rgba(5,5,5,.97);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
    }

    body.public-site .nav { justify-content: center; }

    body.public-site .logo img {
        width: 118px;
        height: auto;
        display: block;
    }

    /* La navegación pública se mueve a la barra inferior */
    body.public-site #menu-toggle,
    body.public-site .menu-icon,
    body.public-site .menu,
    body.public-site .nav-right-buttons {
        display: none !important;
    }

    /* Espacio inferior para que la barra fija nunca tape contenido */
    body.public-site section {
        width: 100%;
        max-width: 100%;
        min-height: calc(100vh - 72px);
        padding: 105px 16px 105px;
        overflow: hidden;
    }

    body.public-site .section-header-admin {
        margin-bottom: 24px;
        padding-bottom: 12px;
    }

    body.public-site .section-title {
        font-size: 1rem;
        letter-spacing: 2.5px;
    }

    /* QUIÉN SOY */
    body.public-site .quien-soy-block {
        display: flex;
        flex-direction: column;
        gap: 24px;
        margin: 0 auto 32px;
    }

    body.public-site .quien-soy-texto { order: 1; }

    body.public-site .quien-soy-texto h1 {
        font-size: 1.7rem;
        letter-spacing: 2px;
        margin-bottom: 14px;
    }

    body.public-site .quien-soy-texto p {
        font-size: .88rem;
        line-height: 1.7;
    }

    body.public-site .quien-soy-foto {
        width: 100%;
        height: min(76vw, 380px);
        min-height: 280px;
        flex: none;
        order: 2;
    }
/* PORTAFOLIO */
    body.public-site .filter-container {
        gap: 8px;
        margin-bottom: 20px;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 5px;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }
    body.public-site .filter-container::-webkit-scrollbar { display: none; }
    body.public-site .filter-btn {
        flex: 0 0 auto;
        padding: 8px 14px;
        font-size: .68rem;
        white-space: nowrap;
    }
    body.public-site .portfolio-grid {
        grid-template-columns: repeat(2, minmax(0,1fr));
        gap: 10px;
    }
    body.public-site .portfolio-card {
        width: 100%;
        height: 58vw;
        min-height: 190px;
        max-height: 290px;
    }

    /* OFERTAS */
    body.public-site .ofertas-container {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    body.public-site .flash-img {
        height: 68vw;
        max-height: 380px;
    }
    body.public-site .flash-info { padding: 16px; }
    body.public-site .flash-title { font-size: 1.05rem; }
    body.public-site .flash-price { font-size: 1.2rem; }

    /* FAQ */
    body.public-site .faq-search {
        width: 100%;
        margin-bottom: 20px;
        padding: 13px 15px;
        font-size: .88rem;
    }
    body.public-site .faq-item { padding: 17px 0; }
    body.public-site .faq-question {
        gap: 15px;
        font-size: .9rem;
        line-height: 1.45;
    }
    body.public-site .faq-answer {
        font-size: .85rem;
        line-height: 1.65;
        padding-top: 12px;
    }

    /* CONTACTO + CALENDARIO */
    body.public-site .contacto-wrapper {
        display: flex;
        flex-direction: column;
        gap: 26px;
    }
    body.public-site .calendar-box {
        padding: 12px;
        margin-bottom: 0;
    }
    body.public-site .calendar-header { gap: 8px; }
    body.public-site .calendar-header h3 {
        font-size: .88rem !important;
        letter-spacing: .5px !important;
    }
    body.public-site .calendar-header .btn-secundario {
        padding: 7px 11px !important;
        min-width: 42px;
    }
    body.public-site .calendar-grid { gap: 4px; }
    body.public-site .calendar-day-name { font-size: .62rem; }
    body.public-site .calendar-day {
        min-height: 40px;
        padding: 9px 2px;
        font-size: .72rem;
    }
    body.public-site .calendar-day.festivo::after { display: none; }

    body.public-site .form-group { margin-bottom: 15px; }
    body.public-site .form-control,
    body.public-site .select-control {
        min-height: 45px;
        font-size: 16px;
        border-radius: 3px;
    }
    body.public-site textarea.form-control {
        min-height: 110px;
        height: 110px;
    }
    body.public-site .btn-principal {
        min-height: 48px;
        padding: 13px 18px;
        font-size: .68rem;
    }

    /* FOOTER */
    body.public-site .main-footer { padding: 42px 18px 95px; }
    body.public-site .footer-content {
        grid-template-columns: 1fr;
        gap: 28px;
        text-align: center;
        padding-bottom: 28px;
    }
    body.public-site .footer-column .logo img { width: 120px; }
    body.public-site .footer-column h4 {
        font-size: .95rem;
        margin-bottom: 12px;
    }
    body.public-site .footer-description,
    body.public-site .footer-links a,
    body.public-site .footer-contact-list li {
        font-size: .82rem;
    }
    body.public-site .footer-bottom-container { text-align: center; }
    body.public-site .copyright-text {
        font-size: .68rem;
        line-height: 1.5;
    }

    /* BARRA INFERIOR */
    body.public-site .mobile-bottom-nav {
        position: fixed;
        left: 10px;
        right: 10px;
        bottom: max(10px, env(safe-area-inset-bottom));
        height: 66px;
        display: grid;
        grid-template-columns: repeat(4,1fr);
        align-items: stretch;
        padding: 5px;
        background: rgba(12,12,12,.96);
        border: 1px solid #262626;
        border-radius: 16px;
        box-shadow: 0 10px 35px rgba(0,0,0,.55);
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
        z-index: 900;
    }

    body.public-site .mobile-bottom-nav button {
        appearance: none;
        -webkit-appearance: none;
        border: 0;
        background: transparent;
        color: #858585;
        font-family: 'Montserrat',sans-serif;
        font-size: .56rem;
        letter-spacing: .2px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 4px;
        min-width: 0;
        cursor: pointer;
        border-radius: 11px;
        transition: .2s ease;
    }

    body.public-site .mobile-bottom-nav button i {
        font-size: 1rem;
        line-height: 1;
    }

    body.public-site .mobile-bottom-nav button:active {
        transform: scale(.94);
    }

    body.public-site .mobile-bottom-nav .mobile-nav-cta {
        background: #d4b58a;
        color: #050505;
        font-weight: 600;
    }

    /* LIGHTBOX */
    body.public-site .lightbox-close {
        top: 18px;
        right: 20px;
        font-size: 34px;
    }
    body.public-site .lightbox-content {
        max-width: 94%;
        max-height: 82vh;
    }
}

@media (max-width: 380px) {
    body.public-site .portfolio-grid { gap: 8px; }
    body.public-site .portfolio-card { min-height: 165px; }
    body.public-site .mobile-bottom-nav {
        left: 7px;
        right: 7px;
        height: 62px;
    }
    body.public-site .mobile-bottom-nav button { font-size: .51rem; }
    body.public-site .mobile-bottom-nav button i { font-size: .92rem; }
}

/* ==========================================================================
   QUIÉN SOY — HERO MÓVIL
   ========================================================================== */
@media (max-width: 768px) {
    body.public-site #inicio {
        padding: 88px 14px 105px;
    }

    body.public-site .quien-soy-block {
        position: relative;
        min-height: 72vh;
        height: 72vh;
        margin: 0 0 20px;
        display: flex;
        align-items: flex-end;
        justify-content: flex-start;
        overflow: hidden;
        border: 1px solid #1b1b1b;
        background:
            linear-gradient(
                to top,
                rgba(0,0,0,.94) 0%,
                rgba(0,0,0,.70) 38%,
                rgba(0,0,0,.18) 72%,
                rgba(0,0,0,.10) 100%
            ),
            url('./img/gian.jpeg') center center / cover no-repeat;
    }

    body.public-site .quien-soy-foto {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        min-height: 0;
        border: 0;
        opacity: 0;
        pointer-events: none;
    }

    body.public-site .quien-soy-foto img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    body.public-site .quien-soy-texto {
        position: relative;
        z-index: 2;
        width: 100%;
        padding: 26px 22px 28px;
        background: linear-gradient(
            to top,
            rgba(0,0,0,.72),
            rgba(0,0,0,0)
        );
    }

    body.public-site .quien-soy-texto h1 {
        margin-bottom: 10px;
        font-size: clamp(1.65rem, 7vw, 2.15rem);
        letter-spacing: 2.5px;
        text-shadow: 0 2px 15px rgba(0,0,0,.8);
    }

    body.public-site .quien-soy-texto p {
        max-width: 330px;
        color: #e0e0e0;
        font-size: .86rem;
        line-height: 1.7;
        text-shadow: 0 2px 10px rgba(0,0,0,.9);
    }

    /* En móvil, el carrusel empieza después del hero */
    body.public-site .carousel-wrapper {
        margin-top: 4px;
    }

    /* Barra con 5 elementos */
    body.public-site .mobile-bottom-nav {
        grid-template-columns: repeat(5, 1fr);
    }

    body.public-site .mobile-bottom-nav button {
        font-size: .50rem;
    }

    body.public-site .mobile-bottom-nav button i {
        font-size: .92rem;
    }
}

@media (max-width: 380px) {
    body.public-site .mobile-bottom-nav button {
        font-size: .46rem;
    }
    body.public-site .mobile-bottom-nav button i {
        font-size: .86rem;
    }
}
@media (max-width: 768px) {
    body.public-site .admin-edit-help,
    body.public-site .admin-card-actions,
    body.public-site .btn-admin-action {
        display: none !important;
    }
}



/* ==========================================================================
   MOBILE — QUIÉN SOY PREMIUM
   ========================================================================== */

@media (max-width: 768px) {

    body.public-site #inicio {
        background: #050505;
    }

    body.public-site .quien-soy-block {
        position: relative;
        display: flex;
        min-height: 76vh;
        height: 76vh;
        margin: 0 0 28px;
        padding: 0;
        overflow: hidden;
        border: 1px solid rgba(212,181,138,.22);
        border-radius: 0 0 28px 28px;
        background: #090909;
        isolation: isolate;
    }

    /* Imagen de fondo */
    body.public-site .quien-soy-foto {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        min-height: 0;
        z-index: -2;
        opacity: 1;
        overflow: hidden;
    }

    body.public-site .quien-soy-foto::after {
        content: "";
        position: absolute;
        inset: 0;
        background:
            linear-gradient(
                to bottom,
                rgba(0,0,0,.20) 0%,
                rgba(0,0,0,.08) 28%,
                rgba(0,0,0,.35) 55%,
                rgba(0,0,0,.92) 100%
            );
        z-index: 1;
    }

    body.public-site .quien-soy-foto img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center 28%;
        filter: grayscale(18%) contrast(1.08) brightness(.72);
        transform: scale(1.025);
    }

    /* Contenido */
    body.public-site .quien-soy-texto {
        position: relative;
        z-index: 3;
        width: 100%;
        margin-top: auto;
        padding: 90px 24px 30px;
        background:
            linear-gradient(
                to bottom,
                transparent,
                rgba(0,0,0,.82) 42%,
                rgba(0,0,0,.96)
            );
    }

    body.public-site .quien-soy-texto::before {
        content: "";
        display: block;
        width: 42px;
        height: 2px;
        margin-bottom: 15px;
        background: #d4b58a;
        box-shadow: 0 0 16px rgba(212,181,138,.28);
    }

    body.public-site .quien-soy-texto h1 {
        margin: 0 0 10px;
        color: #fff;
        font-family: "Cinzel", serif;
        font-size: clamp(1.65rem, 8vw, 2.35rem);
        font-weight: 500;
        letter-spacing: 1px;
        text-shadow: 0 3px 20px rgba(0,0,0,.9);
    }

    body.public-site .quien-soy-texto p {
        max-width: 350px;
        color: #d0d0d0;
        font-size: .82rem;
        line-height: 1.75;
        text-shadow: 0 2px 12px rgba(0,0,0,.9);
    }

    /* Etiqueta superior */
    body.public-site .quien-soy-texto::after {
        content: "KRYM TATTOO · SOBRE MÍ";
        position: absolute;
        top: 25px;
        left: 24px;
        color: #d4b58a;
        font-family: "Montserrat", sans-serif;
        font-size: .52rem;
        letter-spacing: 3px;
        opacity: .9;
    }

    /* Evita que los botones de edición/borrado aparezcan en la web pública */
    body.public-site .admin-card-actions,
    body.public-site .admin-edit-help,
    body.public-site .btn-admin-action,
    body.public-site .btn-eliminar,
    body.public-site .btn-borrar,
    body.public-site .btn-editar,
    body.public-site [data-admin-action],
    body.public-site [onclick*="eliminar"],
    body.public-site [onclick*="Eliminar"],
    body.public-site [onclick*="borrar"],
    body.public-site [onclick*="Borrar"],
    body.public-site [onclick*="editar"],
    body.public-site [onclick*="Editar"] {
        display: none !important;
    }
}


/* ==========================================================================
   MOBILE — QUIÉN SOY: MÁS COMPACTO, SIN BORDE Y UNIDO AL CARRUSEL
   ========================================================================== */

@media (max-width: 768px) {

    body.public-site .quien-soy-block {
        position: relative;
        width: 100%;
        height: 56vh;
        min-height: 390px;
        max-height: 500px;
        margin: 0;
        padding: 0;
        overflow: hidden;
        border: none !important;
        border-radius: 0 !important;
        background: #050505;
        isolation: isolate;
    }

    /* Foto */
    body.public-site .quien-soy-foto {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        min-height: 0;
        z-index: -2;
        opacity: 1;
        border: none !important;
    }

    body.public-site .quien-soy-foto img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center 25%;
        filter: grayscale(12%) contrast(1.05) brightness(.72);
        transform: scale(1.02);
    }

    /* Degradado empieza más abajo y se prolonga hacia el carrusel */
    body.public-site .quien-soy-foto::after {
        content: "";
        position: absolute;
        inset: 0;
        background:
            linear-gradient(
                to bottom,
                rgba(0,0,0,.02) 35%,
                rgba(0,0,0,.08) 48%,
                rgba(0,0,0,.32) 64%,
                rgba(0,0,0,.72) 82%,
                #050505 100%
            );
        z-index: 1;
    }

    /* Texto abajo a la izquierda */
    body.public-site .quien-soy-texto {
        position: absolute;
        left: 0;
        bottom: 0;
        z-index: 3;
        width: 100%;
        margin: 0;
        padding: 70px 24px 24px;
        background:
            linear-gradient(
                to bottom,
                transparent 0%,
                rgba(5,5,5,.04) 20%,
                rgba(5,5,5,.70) 75%,
                rgba(5,5,5,.96) 100%
            );
        text-align: left;
    }

    body.public-site .quien-soy-texto::before {
        content: "";
        display: block;
        width: 38px;
        height: 2px;
        margin: 0 0 12px;
        background: #d4b58a;
    }

    body.public-site .quien-soy-texto::after {
        content: "KRYM TATTOO · SOBRE MÍ";
        position: absolute;
        top: 27px;
        left: 24px;
        color: #d4b58a;
        font-family: "Montserrat", sans-serif;
        font-size: .48rem;
        letter-spacing: 2.8px;
        opacity: .9;
    }

    body.public-site .quien-soy-texto h1 {
        margin: 0 0 8px;
        font-family: "Cinzel", serif;
        font-size: clamp(1.45rem, 7vw, 2rem);
        font-weight: 500;
        letter-spacing: 1px;
        line-height: 1.1;
        color: #fff;
    }

    body.public-site .quien-soy-texto p {
        max-width: 320px;
        margin: 0;
        color: #d0d0d0;
        font-size: .76rem;
        line-height: 1.6;
        text-shadow: 0 2px 12px rgba(0,0,0,.9);
    }

    /* El carrusel queda pegado visualmente a la sección */
    body.public-site .carousel-wrapper {
        margin-top: -2px;
        padding-top: 0;
        background: #050505;
    }

    body.public-site .carousel-container {
        padding-top: 10px;
    }
}


/* Móviles pequeños */
@media (max-width: 380px) {

    body.public-site .carousel-item {
        flex-basis: 70vw;
        width: 70vw;
        height: 94vw;
        min-height: 270px;

        transform: scale(.76);
    }

    body.public-site .carousel-item.active-center {
        transform: scale(1);
    }
}

/* ============================================================
   KRYM - CARRUSEL MÓVIL
   ÚNICA CONFIGURACIÓN RESPONSIVE
   ============================================================ */

@media (max-width: 768px) {
    body.public-site .carousel-wrapper {
        position: relative;
        width: 100%;
        margin: 0;
        overflow: hidden;
    }

    body.public-site .carousel-container {
        width: 100%;
        overflow: hidden;
        padding: 22px 0 42px;
        touch-action: pan-y;
        -webkit-user-select: none;
        user-select: none;
    }

    body.public-site .carousel-track {
        display: flex;
        align-items: center;
        gap: 0;
        width: max-content;
        will-change: transform;
    }

    body.public-site .carousel-item {
        flex: 0 0 70vw;
        width: 70vw;
        max-width: 280px;
        height: min(96vw, 390px);
        min-height: 275px;
        overflow: hidden;
        border-radius: 5px;
        transform: scale(.80);
        transform-origin: center center;
        opacity: .72;
        filter: grayscale(45%) brightness(.45) contrast(.95);
        transition:
            transform .4s cubic-bezier(.22,1,.36,1),
            filter .4s ease,
            opacity .4s ease;
    }

    body.public-site .carousel-item img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        pointer-events: none;
    }

    body.public-site .carousel-item.active-center {
        transform: scale(1);
        opacity: 1;
        filter: grayscale(0%) brightness(1) contrast(1);
        z-index: 5;
        box-shadow:
            0 15px 40px rgba(0,0,0,.65),
            0 0 0 1px rgba(212,181,138,.22);
    }

    body.public-site .carousel-btn {
        position: absolute;
        top: 48%;
        transform: translateY(-50%);
        width: 36px;
        height: 36px;
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        background: rgba(5,5,5,.80);
        border: 1px solid rgba(212,181,138,.35);
        color: #d4b58a;
        z-index: 10;
    }

    body.public-site .prev-btn { left: 7px; }
    body.public-site .next-btn { right: 7px; }

    body.public-site .carousel-wrapper::after {
        content: "DESLIZA PARA VER MÁS";
        position: absolute;
        bottom: 8px;
        left: 50%;
        transform: translateX(-50%);
        color: #666;
        font-family: "Montserrat", sans-serif;
        font-size: .48rem;
        letter-spacing: 2.5px;
        white-space: nowrap;
        pointer-events: none;
    }
}

@media (max-width: 380px) {
    body.public-site .carousel-item {
        flex-basis: 72vw;
        width: 72vw;
        height: 94vw;
        min-height: 265px;
    }
}

/* ============================================================
   CALENDARIO MÓVIL — FLECHAS
   ============================================================ */

@media (max-width: 768px) {

    body.public-site .calendar-header {
        display: grid;
        grid-template-columns: 38px 1fr 38px;
        align-items: center;
        gap: 8px;
        width: 100%;
        margin-bottom: 14px;
    }

    body.public-site .calendar-header h3 {
        text-align: center;
        margin: 0;
        white-space: nowrap;
        font-size: .9rem !important;
        letter-spacing: .5px !important;
    }

    body.public-site .calendar-header .btn-secundario {
        width: 38px !important;
        height: 38px;
        min-width: 38px;
        padding: 0 !important;
        margin: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        font-size: .75rem;
        line-height: 1;
        flex-shrink: 0;
    }

    body.public-site .calendar-header .btn-secundario:active {
        transform: scale(.92);
    }
}

@media (max-width: 380px) {

    body.public-site .calendar-header {
        grid-template-columns: 34px 1fr 34px;
        gap: 5px;
    }

    body.public-site .calendar-header .btn-secundario {
        width: 34px !important;
        height: 34px;
        min-width: 34px;
        font-size: .68rem;
    }

    body.public-site .calendar-header h3 {
        font-size: .82rem !important;
    }
}



/* ============================================================
   CARRUSEL MÓVIL — LATERALES MÁS JUNTAS
   ============================================================ */

@media (max-width: 768px) {
    body.public-site .carousel-track {
        gap: 0;
    }

    body.public-site .carousel-item {
        flex-basis: 69vw;
        width: 69vw;
        transform: scale(.84);
        margin-left: -3px;
        margin-right: -3px;
    }

    body.public-site .carousel-item.active-center {
        transform: scale(1);
    }
}

@media (max-width: 380px) {
    body.public-site .carousel-item {
        flex-basis: 71vw;
        width: 71vw;
        transform: scale(.82);
        margin-left: -2px;
        margin-right: -2px;
    }

    body.public-site .carousel-item.active-center {
        transform: scale(1);
    }
}