/* ==========================================================================
   1. PALETA DE COLORES OFICIAL DEL LOGOTIPO - RBK ESTÉTICA & BIENESTAR
   Extraída directamente de la imagen: Negro Obsidiana, Verde Oliva Botánico y Oro Metálico
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
    -webkit-tap-highlight-color: transparent;
}

:root {
    --color-principal: #63674e;             /* Verde Oliva Botánico (Relleno del monograma RBK) */
    --color-secundario: #3b3e2e;            /* Verde Musgo Oscuro (Sombras y degradados) */
    --color-acento: #e8cfa0;                /* Champán Dorado Claro (Brillos y líneas finas) */
    --color-dorado: #cfa855;                /* Oro Metálico Antiguo (Bordes y destellos del logo) */
    --color-oscuro: #090908;                /* Negro Obsidiana Profundo (Fondo oficial del logo) */
    --color-tarjeta: rgba(18, 19, 15, 0.90);/* Cristal Ahumado Negro-Oliva */
    --color-blanco: #ffffff;
    --color-gris-texto: #e5e1d5;            /* Crema Marfil Suave para lectura cómoda */
    --color-whatsapp: #25d366;
    --font-elegante: 'Cormorant Garamond', serif;
}

html, body {
    width: 100%;
    max-width: 100vw;
    min-height: 100vh;
    background-color: var(--color-oscuro);
    color: var(--color-blanco);
    overflow-x: hidden !important;
    scroll-behavior: smooth;
}

.container {
    width: 92%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 0;
}

/* ==========================================================================
   2. REPRODUCTOR DE VIDEO DE FONDO DINÁMICO
   ========================================================================== */
.video-background-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    opacity: 0;
    transition: opacity 0.9s ease-in-out;
    will-change: opacity;
    filter: brightness(88%) contrast(106%);
    transform: scale(1.02);
}

.bg-video.active-video {
    opacity: 1 !important; 
}

.video-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: linear-gradient(180deg, rgba(9, 9, 8, 0.52) 0%, rgba(9, 9, 8, 0.72) 100%);
    z-index: 1;
    pointer-events: none;
}

/* ==========================================================================
   3. BARRA DE NAVEGACIÓN SUPERIOR CON EFECTO CRISTAL Y BORDE DORADO
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 68px;
    background-color: rgba(9, 9, 8, 0.94);
    backdrop-filter: blur(14px);
    padding: 0 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    border-bottom: 1px solid rgba(207, 168, 85, 0.45);
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.8);
}

.logo {
    font-size: clamp(1.15rem, 2.3vw, 1.55rem);
    font-family: var(--font-elegante);
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--color-acento);
    display: flex;
    align-items: center;
    gap: 10px;
    text-shadow: 0 0 14px rgba(207, 168, 85, 0.5);
}

.logo i { color: var(--color-dorado); }

.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    color: var(--color-dorado);
    font-size: 1.8rem;
    cursor: pointer;
}

.nav-menu {
    display: flex;
    gap: 12px;
    align-items: center;
}

.nav-menu .nav-link {
    color: var(--color-gris-texto);
    text-decoration: none;
    padding: 8px 15px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.78rem;
    letter-spacing: 1.3px;
    border-radius: 20px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.nav-menu .nav-link:hover,
.nav-menu .nav-link.active {
    color: #ffffff;
    background: linear-gradient(135deg, rgba(99, 103, 78, 0.45), rgba(59, 62, 46, 0.65));
    border-color: var(--color-dorado);
    box-shadow: 0 0 15px rgba(207, 168, 85, 0.35);
}

.btn-developer-link {
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid rgba(207, 168, 85, 0.35) !important;
    color: var(--color-dorado) !important;
    font-size: 0.72rem !important;
    text-transform: none !important;
}

.btn-developer-link:hover {
    background: rgba(207, 168, 85, 0.18) !important;
    color: #ffffff !important;
}

/* ==========================================================================
   4. ESTRUCTURA DE SECCIONES Y ENCABEZADOS
   ========================================================================== */
.sections-wrapper {
    position: relative;
    width: 100%;
    padding-top: 68px;
    overflow-x: hidden;
    z-index: 2;
}

.section-panel {
    display: flex;
    width: 100%;
    min-height: calc(100vh - 68px);
    padding: 45px 20px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.section-title {
    font-size: clamp(2.1rem, 5vw, 3rem);
    font-family: var(--font-elegante);
    font-weight: 700;
    text-align: center;
    text-transform: uppercase;
    margin-bottom: 10px;
    letter-spacing: 3.5px;
    color: var(--color-acento);
    text-shadow: 0 0 18px rgba(207, 168, 85, 0.55), 0 3px 6px rgba(0, 0, 0, 0.9);
}

.section-title::after {
    content: '';
    display: block;
    width: 120px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--color-dorado), var(--color-acento), var(--color-dorado), transparent);
    margin: 12px auto 0 auto;
}

.section-subtitle {
    text-align: center;
    color: var(--color-gris-texto);
    margin-bottom: 35px;
    font-size: 1.05rem;
    font-style: italic;
    font-weight: 400;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.95);
}

/* ==========================================================================
   5. SECCIÓN 1: INICIO (HERO CON ESTÉTICA DE LUJO DORADO Y OLIVA)
   ========================================================================== */
#inicio { text-align: center; }

.hero-badge {
    display: inline-block;
    padding: 8px 22px;
    background: rgba(18, 19, 15, 0.88);
    border: 1px solid var(--color-dorado);
    color: var(--color-dorado);
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 18px;
    box-shadow: 0 0 18px rgba(207, 168, 85, 0.25);
}

.tech-title {
    font-family: var(--font-elegante);
    font-size: clamp(2.8rem, 8vw, 5.2rem);
    font-weight: 700;
    letter-spacing: 4px;
    background: linear-gradient(180deg, #fff6dc 0%, #cfa855 65%, #9e7b32 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.95));
    margin-bottom: 10px;
}

.hero-tagline {
    font-family: var(--font-elegante);
    font-size: clamp(1.35rem, 3.5vw, 2.05rem);
    font-style: italic;
    color: var(--color-acento);
    margin-bottom: 20px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.95);
}

.subtitle {
    font-size: clamp(0.98rem, 2.2vw, 1.15rem);
    color: var(--color-gris-texto);
    margin: 0 auto 32px auto;
    max-width: 820px;
    font-weight: 400;
    line-height: 1.75;
    background: rgba(18, 19, 15, 0.78);
    padding: 22px 28px;
    border-radius: 16px;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(207, 168, 85, 0.35);
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 30px;
    letter-spacing: 1.5px;
    font-size: 0.84rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-principal), var(--color-secundario));
    color: #fff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.7);
    border: 1px solid var(--color-dorado);
}

.btn-secondary {
    background: rgba(18, 19, 15, 0.85);
    border: 1px solid var(--color-dorado);
    color: var(--color-acento);
    backdrop-filter: blur(6px);
}

.btn-primary:hover, .btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(207, 168, 85, 0.45);
    color: #ffffff;
}

/* ==========================================================================
   6. SECCIÓN 2: NOSOTROS (DISEÑO EDITORIAL DE 2 COLUMNAS)
   ========================================================================== */
.about-grid {
    width: 100%;
    max-width: 1120px;
    margin-top: 15px;
    display: flex;
    flex-direction: row;
    align-items: stretch;
    justify-content: center;
    gap: 28px;
}

.about-left-col {
    flex: 0 0 38%;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.about-card {
    background-color: var(--color-tarjeta);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(207, 168, 85, 0.35);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.75);
}

.about-card-img {
    position: relative;
    width: 100%;
}

.about-img-box img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.philosophy-card {
    padding: 24px;
    border-left: 4px solid var(--color-dorado);
}

.philosophy-card h3 {
    font-family: var(--font-elegante);
    font-size: 1.45rem;
    color: var(--color-dorado);
    margin-bottom: 10px;
}

.philosophy-card p {
    font-size: 0.92rem;
    line-height: 1.65;
    color: var(--color-gris-texto);
}

.about-card-text {
    flex: 1;
    display: flex;
    align-items: center;
}

.about-info {
    padding: 32px;
    text-align: left;
}

.about-info h3 {
    font-family: var(--font-elegante);
    font-size: 1.75rem;
    color: var(--color-acento);
    margin-bottom: 16px;
    border-bottom: 1px solid rgba(207, 168, 85, 0.28);
    padding-bottom: 8px;
}

.about-paragraph {
    font-size: 0.94rem;
    line-height: 1.7;
    color: var(--color-gris-texto);
    margin-bottom: 14px;
}

.about-subheading {
    font-family: var(--font-elegante);
    font-size: 1.35rem;
    color: var(--color-dorado);
    margin: 18px 0 10px 0;
}

.services-list {
    list-style: none;
    padding: 0;
    line-height: 1.85;
    font-size: 0.92rem;
    color: #ffffff;
    margin-bottom: 20px;
}

.services-list i {
    color: var(--color-dorado);
    margin-right: 8px;
}

.coverage-box {
    background: rgba(99, 103, 78, 0.22);
    border: 1px solid rgba(207, 168, 85, 0.4);
    border-radius: 12px;
    padding: 18px;
}

.coverage-box h4 {
    color: var(--color-dorado);
    font-size: 1rem;
    margin-bottom: 8px;
}

.coverage-box p {
    font-size: 0.88rem;
    line-height: 1.6;
    color: var(--color-gris-texto);
}

.locations-highlight {
    margin-top: 8px;
    color: #ffffff !important;
}

/* ==========================================================================
   7. CONTROLES ADMINISTRATIVOS EN TARJETAS Y PORTADAS
   ========================================================================== */
.nosotros-admin-controls,
.card-admin-bar {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 100;
    display: flex;
    gap: 6px;
    background: rgba(9, 9, 8, 0.9);
    padding: 5px 8px;
    border-radius: 20px;
    border: 1px solid var(--color-dorado);
}

.btn-admin-action {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: none;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.82rem;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.btn-admin-action:hover { transform: scale(1.12); }
.btn-admin-action.btn-edit { background-color: var(--color-principal); border: 1px solid var(--color-dorado); }
.btn-admin-action.btn-delete { background-color: #b83232; }

/* ==========================================================================
   8. SECCIÓN 3: GALERÍAS Y TARJETAS GIRATORIAS 3D
   ========================================================================== */
.gallery-input-hidden { display: none !important; }

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    width: 100%;
}

.gallery-item {
    width: 100%;
    height: 340px;
    perspective: 1000px;
    cursor: pointer;
}

.neon-border-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 16px;
    background: #000;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.75);
    border: 1px solid rgba(207, 168, 85, 0.45);
}

.card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.gallery-item:hover .card-inner { transform: rotateY(180deg); }

.card-front, .card-back {
    position: absolute;
    inset: 0;
    backface-visibility: hidden;
    border-radius: 16px;
    overflow: hidden;
}

.card-video-content {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(transparent, rgba(9, 9, 8, 0.96));
    padding: 22px 15px 16px 15px;
    text-align: center;
}

.gallery-info h3 {
    font-family: var(--font-elegante);
    font-size: 1.25rem;
    color: var(--color-acento);
}

.card-back {
    transform: rotateY(180deg);
    background: rgba(18, 19, 15, 0.97);
    backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 25px;
    text-align: center;
    border: 2px solid var(--color-dorado);
}

.card-back-content h3 {
    font-family: var(--font-elegante);
    font-size: 1.45rem;
    color: var(--color-dorado);
    margin-bottom: 10px;
}

.card-back-content p {
    font-size: 0.88rem;
    color: var(--color-gris-texto);
    line-height: 1.5;
}

.btn-gallery-trigger {
    display: inline-block;
    margin-top: 18px;
    padding: 10px 22px;
    border: 1px solid var(--color-dorado);
    background: linear-gradient(135deg, var(--color-principal), var(--color-secundario));
    color: #fff;
    cursor: pointer;
    text-transform: uppercase;
    font-size: 0.78rem;
    font-weight: 700;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.btn-gallery-trigger:hover {
    box-shadow: 0 0 16px rgba(207, 168, 85, 0.6);
}

/* Conmutación CSS pura entre vista principal y las 4 subgalerías */
.sub-gallery-wrapper { display: none; width: 100%; }

#tab-home:checked ~ .main-view { display: grid; }
#tab-masajes:checked ~ .main-view,
#tab-faciales:checked ~ .main-view,
#tab-rejuvenecimiento:checked ~ .main-view,
#tab-gluteos:checked ~ .main-view { display: none; }

#tab-masajes:checked ~ .view-masajes { display: block; }
#tab-faciales:checked ~ .view-faciales { display: block; }
#tab-rejuvenecimiento:checked ~ .view-rejuvenecimiento { display: block; }
#tab-gluteos:checked ~ .view-gluteos { display: block; }

.sub-gallery-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--color-dorado);
    padding-bottom: 15px;
    flex-wrap: wrap;
    gap: 10px;
}

.sub-gallery-header h3 {
    font-family: var(--font-elegante);
    font-size: 1.6rem;
    color: var(--color-acento);
}

.expanded-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 22px;
    width: 100%;
    margin-top: 22px;
}

.product-card {
    background-color: var(--color-tarjeta);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(207, 168, 85, 0.35);
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
}

.product-code-badge {
    position: absolute;
    bottom: 8px;
    left: 8px;
    background: rgba(9, 9, 8, 0.92);
    color: var(--color-dorado);
    border: 1px solid var(--color-dorado);
    padding: 3px 9px;
    border-radius: 12px;
    font-size: 0.72rem;
    font-weight: 700;
}

.product-info-box {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.product-title {
    font-size: 1rem;
    color: #ffffff;
    font-weight: 700;
}

.product-description {
    font-size: 0.82rem;
    color: var(--color-gris-texto);
    line-height: 1.45;
    flex: 1;
}

.product-price-box {
    font-family: var(--font-elegante);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-dorado);
    margin-top: 4px;
}

.btn-buy-whatsapp {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--color-whatsapp);
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.8rem;
    padding: 10px;
    border-radius: 25px;
    text-transform: uppercase;
}

/* Modal Lightbox Ampliador */
.image-zoom-modal {
    display: none;
    position: fixed;
    inset: 0;
    background-color: rgba(9, 9, 8, 0.96);
    backdrop-filter: blur(10px);
    z-index: 3000;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 20px;
}

.image-zoom-modal.active { display: flex; }

.zoom-modal-content {
    max-width: 90vw;
    max-height: 80vh;
    object-fit: contain;
    border: 2px solid var(--color-dorado);
    border-radius: 12px;
}

.zoom-modal-caption {
    margin-top: 15px;
    color: var(--color-acento);
    font-family: var(--font-elegante);
    font-size: 1.35rem;
    text-align: center;
}

.zoom-modal-close {
    position: absolute;
    top: 25px;
    right: 35px;
    background: transparent;
    border: none;
    color: var(--color-dorado);
    font-size: 2.5rem;
    cursor: pointer;
}

/* ==========================================================================
   9. SECCIÓN 4: VIDEOS Y AUDIOS (MÁXIMO 10 ARCHIVOS)
   ========================================================================== */
.media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 22px;
    width: 100%;
}

.media-card {
    background-color: var(--color-tarjeta);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(207, 168, 85, 0.35);
    border-radius: 14px;
    overflow: hidden;
    position: relative;
}

.media-frame-box {
    width: 100%;
    aspect-ratio: 16 / 9;
    background-color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.media-frame-box video,
.media-frame-box audio {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.media-frame-box audio {
    height: 54px;
    padding: 0 12px;
}

.media-details {
    padding: 14px 16px;
}

.media-details h4 {
    font-size: 0.9rem;
    color: var(--color-acento);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ==========================================================================
   10. SECCIÓN 5: CONTACTO Y SUSCRIPCIÓN VIP
   ========================================================================== */
.contact-box {
    background: var(--color-tarjeta);
    border: 1px solid rgba(207, 168, 85, 0.45);
    border-radius: 20px;
    padding: 36px 28px;
    max-width: 860px;
    margin: 0 auto;
    text-align: center;
    backdrop-filter: blur(12px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.8);
}

.contact-icon {
    font-size: 2.8rem;
    color: var(--color-dorado);
    margin-bottom: 12px;
}

.contact-info h3 {
    font-family: var(--font-elegante);
    font-size: 1.9rem;
    color: var(--color-acento);
    margin-bottom: 14px;
}

.promo-commercial-text {
    font-size: 0.96rem;
    line-height: 1.7;
    color: var(--color-gris-texto);
    max-width: 720px;
    margin: 0 auto 18px auto;
}

.contact-detail-line {
    font-size: 1.1rem;
    color: var(--color-dorado);
    margin-bottom: 24px;
}

.social-contact-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-whatsapp-section {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: var(--color-whatsapp);
    color: #fff;
    padding: 13px 26px;
    text-decoration: none;
    font-weight: 700;
    border-radius: 30px;
    font-size: 0.85rem;
    text-transform: uppercase;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.btn-whatsapp-section:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6);
}

.btn-youtube-section { background-color: #e62117; }
.btn-facebook-section { background-color: #1877f2; }

.whatsapp-subscribe-box {
    margin: 30px auto 0 auto;
    padding: 22px;
    background: rgba(9, 9, 8, 0.82);
    border: 1px solid rgba(207, 168, 85, 0.4);
    border-radius: 14px;
    max-width: 480px;
}

.whatsapp-subscribe-box h4 {
    color: var(--color-dorado);
    font-family: var(--font-elegante);
    font-size: 1.35rem;
    margin-bottom: 6px;
}

.whatsapp-subscribe-box p {
    color: var(--color-gris-texto);
    font-size: 0.84rem;
    margin-bottom: 14px;
}

.whatsapp-subscribe-box form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.whatsapp-subscribe-box input {
    padding: 11px 14px;
    background: #171812;
    border: 1px solid rgba(207, 168, 85, 0.4);
    border-radius: 8px;
    color: #fff;
    font-size: 0.88rem;
    outline: none;
}

.btn-ws-submit {
    background: linear-gradient(135deg, var(--color-principal), var(--color-secundario)) !important;
    border-color: var(--color-dorado) !important;
}

.web-promo-box {
    margin-top: 26px;
    padding: 15px 20px;
    background: rgba(9, 9, 8, 0.65);
    border: 1px dashed rgba(207, 168, 85, 0.35);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.web-promo-text { font-size: 0.86rem; color: var(--color-gris-texto); }
.web-promo-text strong { color: var(--color-dorado); }

.btn-mcwebstudio-discrete {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border: 1px solid var(--color-dorado);
    color: var(--color-acento);
    text-decoration: none;
    font-size: 0.78rem;
    font-weight: 700;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.btn-mcwebstudio-discrete:hover {
    background: var(--color-principal);
    color: #ffffff;
    transform: translateY(-2px);
}

/* ==========================================================================
   11. CHAT FLOTANTE PÚBLICO Y BOTÓN FLOTANTE DE COMPARTIR
   ========================================================================== */
.floating-chat-widget {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 1500;
}

.chat-trigger-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-principal), var(--color-secundario));
    border: 2px solid var(--color-dorado);
    color: var(--color-acento);
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 0 22px rgba(207, 168, 85, 0.45);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chat-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: var(--color-dorado);
    color: #090908;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 3px 7px;
    border-radius: 12px;
}

.chat-window {
    display: flex;
    position: absolute;
    bottom: 74px;
    right: 0;
    width: 350px;
    max-width: calc(100vw - 30px);
    height: 450px;
    max-height: calc(100dvh - 105px);
    background-color: rgba(14, 15, 11, 0.97);
    backdrop-filter: blur(14px);
    border: 1px solid var(--color-dorado);
    border-radius: 16px;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.95);
}

.chat-window.hidden { display: none !important; }

.chat-header {
    background: linear-gradient(90deg, var(--color-secundario), var(--color-principal));
    padding: 12px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--color-dorado);
    font-weight: 700;
    font-size: 0.92rem;
    color: var(--color-acento);
}

.chat-close-btn {
    background: transparent;
    border: none;
    color: var(--color-acento);
    font-size: 1.4rem;
    cursor: pointer;
}

.chat-body {
    flex: 1;
    padding: 12px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.chat-msg {
    background: rgba(255, 255, 255, 0.06);
    padding: 10px 14px;
    border-radius: 12px;
    border-left: 4px solid var(--color-principal);
    font-size: 0.84rem;
    max-width: 88%;
    align-self: flex-start;
    word-break: break-word;
}

/* Destacado dorado y oliva cuando el mensaje es de RBK */
.chat-msg.admin-msg {
    border-left-color: var(--color-dorado);
    background: rgba(99, 103, 78, 0.28);
    align-self: flex-end;
}

.chat-msg-author {
    font-weight: 700;
    color: var(--color-acento);
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
}

.chat-msg.admin-msg .chat-msg-author { color: var(--color-dorado); }

.chat-footer {
    padding: 10px;
    background-color: #090908;
    border-top: 1px solid rgba(207, 168, 85, 0.25);
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.chat-footer input {
    background: #171812;
    border: 1px solid rgba(207, 168, 85, 0.35);
    color: #fff;
    padding: 8px 10px;
    border-radius: 6px;
    font-size: 0.82rem;
    outline: none;
}

.chat-input-row {
    display: flex;
    gap: 6px;
    align-items: flex-end;
}

.chat-input-row textarea {
    flex: 1;
    background: #171812;
    border: 1px solid rgba(207, 168, 85, 0.35);
    color: #fff;
    padding: 8px 10px;
    border-radius: 6px;
    font-size: 0.82rem;
    resize: none;
    outline: none;
    height: 38px;
}

.chat-input-row button {
    background: var(--color-principal);
    border: 1px solid var(--color-dorado);
    color: #fff;
    padding: 0 14px;
    border-radius: 6px;
    cursor: pointer;
    height: 38px;
}

/* Widget flotante inferior izquierdo para compartir URL */
.share-floating-widget {
    position: fixed;
    bottom: 24px;
    left: 24px;
    z-index: 1400;
    background-color: rgba(18, 19, 15, 0.96);
    backdrop-filter: blur(12px);
    border: 1px solid var(--color-dorado);
    border-radius: 14px;
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 270px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.85);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.share-floating-widget.hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px);
}

.share-close-btn {
    position: absolute;
    top: 4px;
    right: 9px;
    background: transparent;
    border: none;
    color: var(--color-gris-texto);
    font-size: 1.2rem;
    cursor: pointer;
}

.share-widget-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.share-icon { font-size: 1.6rem; color: var(--color-dorado); }
.share-text strong { display: block; font-size: 0.85rem; color: var(--color-acento); }
.share-text p { font-size: 0.75rem; color: var(--color-gris-texto); }

.share-action-btn {
    background: linear-gradient(135deg, var(--color-principal), var(--color-secundario));
    border: 1px solid var(--color-dorado);
    color: #fff;
    padding: 8px 12px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.78rem;
    text-transform: uppercase;
    cursor: pointer;
}

/* ==========================================================================
   12. PANEL ADMINISTRADOR FLOTANTE Y MODALES
   ========================================================================== */
.admin-panel-floating {
    position: fixed;
    bottom: 96px;
    right: 28px;
    z-index: 1001;
}

.btn-gear-floating {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: #090908;
    border: 1px solid var(--color-dorado);
    color: var(--color-dorado);
    font-size: 1.25rem;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.85);
}

.gear-icon-rotating { animation: spinGear 8s linear infinite; }
@keyframes spinGear { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

.admin-modal {
    display: none;
    position: fixed;
    inset: 0;
    background-color: rgba(5, 5, 4, 0.92);
    backdrop-filter: blur(8px);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    padding: 15px;
}

.admin-modal.active { display: flex; }

.admin-modal-content {
    background-color: #141510;
    border: 1px solid var(--color-dorado);
    padding: 26px;
    border-radius: 16px;
    width: 100%;
    max-width: 480px;
    max-height: 90vh;
    overflow-y: auto;
}

.admin-modal-content h3 {
    font-family: var(--font-elegante);
    font-size: 1.65rem;
    color: var(--color-dorado);
    margin-bottom: 8px;
}

.modal-desc {
    color: var(--color-gris-texto);
    font-size: 0.85rem;
    margin-bottom: 16px;
}

.form-group { margin-bottom: 14px; }

.file-label {
    font-size: 0.82rem;
    color: var(--color-acento);
    display: block;
    margin-bottom: 5px;
}

.form-group input, 
.form-group select, 
.form-group textarea {
    width: 100%;
    padding: 11px 12px;
    background: #1d1f17;
    border: 1px solid rgba(207, 168, 85, 0.4);
    border-radius: 8px;
    color: #ffffff;
    font-size: 0.88rem;
    outline: none;
}

.modal-btn-row { display: flex; gap: 10px; margin-top: 18px; }

.btn-primary-form {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, var(--color-principal), var(--color-secundario));
    border: 1px solid var(--color-dorado);
    color: #fff;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 8px;
    cursor: pointer;
}

.btn-back {
    padding: 12px;
    background: #1d1f17;
    border: 1px solid var(--color-acento);
    color: #ffffff;
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    text-transform: uppercase;
}

.btn-choice-option {
    width: 100%;
    padding: 12px;
    margin-bottom: 10px;
    background: linear-gradient(135deg, var(--color-principal), var(--color-secundario));
    border: 1px solid var(--color-dorado);
    color: #fff;
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.82rem;
}

.btn-choice-secondary { background: transparent; border: 1px solid var(--color-acento); color: var(--color-acento); }
.btn-choice-danger { background: transparent; border: 1px solid #e05252; color: #e05252; }

.admin-comments-container {
    max-height: 280px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.admin-comment-item {
    background: #1d1f17;
    border: 1px solid rgba(207, 168, 85, 0.3);
    border-radius: 8px;
    padding: 10px 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

/* ==========================================================================
   13. PIE DE PÁGINA Y ADAPTACIÓN RESPONSIVA MÓVIL
   ========================================================================== */
.horizontal-footer {
    width: 100%;
    text-align: center;
    padding-top: 28px;
    margin-top: 40px;
    border-top: 1px solid rgba(207, 168, 85, 0.25);
}

.motivation-phrase {
    font-family: var(--font-elegante);
    font-size: 1.3rem;
    font-style: italic;
    color: var(--color-dorado);
    letter-spacing: 1.5px;
    margin-bottom: 6px;
}

.copyright {
    font-size: 0.82rem;
    color: var(--color-gris-texto);
}

@media (max-width: 850px) {
    .about-grid { flex-direction: column; }
    .about-left-col { flex: 1 1 100%; max-width: 100%; }
}

@media (max-width: 768px) {
    .navbar { padding: 0 15px; height: 60px; }
    .menu-toggle { display: block !important; }

    .nav-menu {
        position: fixed;
        top: 60px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 60px);
        background-color: rgba(9, 9, 8, 0.98);
        backdrop-filter: blur(15px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 18px;
        transition: left 0.35s ease-in-out;
    }

    .nav-menu.active { left: 0; }
    .share-floating-widget { bottom: 92px; left: 15px; max-width: 220px; padding: 10px; }
    .floating-chat-widget { bottom: 15px; right: 15px; }
}