

/* =====================================================
   VARIABLES GLOBALES
===================================================== */
:root {
    --brand-blue: #1383e6;
    --premium-dark: #0a0a0c;
    --bezier: cubic-bezier(0.19, 1, 0.22, 1);
}

/* =====================================================
   HERO SECTION   
===================================================== */

/*Orden lógico: Hero → Botón → Iconos → Hotspots → Video → Utilidades → Agenda * /

/* ---------- Fondo Hero ---------- */
.hero-bg {
    background-image: url("../Imagenes/Banner_logicleaner.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.hero-content {
    position: relative;
    z-index: 1;
}

/* ---------- Título Responsivo ---------- */
.hero-title {
    font-weight: 600;
    letter-spacing: -1px;
    line-height: 1.2;
    color: #fff;
    font-size: clamp(1.8rem, 5vw, 3rem);
}

/* =====================================================
   BOTÓN DEMO
===================================================== */
.btn-demo {
    border-radius: 30px;
    background-color: rgba(52, 150, 241, 0.98) !important;
    box-shadow: 0 12px 30px rgba(35, 141, 247, 0.95);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: #fff;
    text-decoration: none;
}

.btn-demo:hover {
    transform: translateY(-3px);
    background-color: #065fb8 !important;
    box-shadow: 0 12px 25px rgba(8, 119, 230, 0.8);
    color: #fff !important;
}

/* =====================================================
   ICONOS FEATURES
===================================================== */
.icono-feature {
    width: clamp(22px, 4vw, 60px);
    margin-right: 10px;
    flex-shrink: 0;
}

.icon-hover {
    transition: filter 0.3s ease, transform 0.3s ease;
}

.icon-hover:hover {
    filter: grayscale(100%);
    transform: scale(1.05);
}

/* =====================================================
   HOTSPOTS
===================================================== */
.hotspot-container {
    position: relative;
    max-width: 480px;
    width: 100%;
    margin: 0 auto;
}

/* Punto */
.hotspot {
    position: absolute;
    width: 18px;
    height: 18px;
    background: #0080ff;
    border-radius: 50%;
    cursor: pointer;
    z-index: 5;
}

/* Animación circular */
.hotspot::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 36px;
    height: 36px;
    border: 3px solid rgba(73, 144, 214, 0.25);
    border-top: 3px solid #067bf0;
    border-radius: 50%;
    transform: translate(-50%, -50%) rotate(0deg);
    animation: spin-hotspot 1.2s linear infinite;
}

@keyframes spin-hotspot {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* Texto emergente */
.hotspot-text {
    position: absolute;
    top: 50%;
    left: 120%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.88);
    color: #fff;
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 10;
}

.hotspot:hover .hotspot-text {
    opacity: 1;
}

/* Ajuste móvil */
@media (max-width: 768px) {
    .hotspot {
        width: 14px;
        height: 14px;
    }

    .hotspot::before {
        width: 28px;
        height: 28px;
    }
}

/* =====================================================
   VIDEO
===================================================== */
.video-container-youtube {
    border-radius: 24px;
    overflow: hidden;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 68px;
    height: 68px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.play-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 55%;
    transform: translate(-50%, -50%);
    border-left: 18px solid #fff;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
}

/* =====================================================
   UTILIDADES
===================================================== */
.text-white {
    text-transform: uppercase;
}

img.img-fluid {
    max-width: 100%;
    height: auto;
}

/* =====================================================
   AGENDA LATERAL
===================================================== */

/* Botón lateral */
.agenda-trigger {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 9998;

    background: var(--premium-dark);
    color: var(--brand-blue);

    padding: 30px 12px;
    border: 1px solid var(--brand-blue);
    border-right: none;
    border-radius: 16px 0 0 16px;

    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;

    transition: all 0.4s var(--bezier);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.4);
}

.agenda-trigger:hover {
    padding-right: 20px;
    background: var(--brand-blue);
    color: #fff;
}

/* Texto vertical */
.agenda-trigger span {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    transform: rotate(180deg);

    font-family: 'Inter', sans-serif;
    font-size: 12px;
    letter-spacing: 4px;
    font-weight: 700;
    text-transform: uppercase;
    white-space: nowrap;
}

/* Overlay */
.agenda-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10, 10, 12, 0.95);
    backdrop-filter: blur(15px);

    display: none;
    justify-content: center;
    align-items: center;

    z-index: 9999;
    color: #fff;
    font-family: 'Inter', sans-serif;
}

/* Loader */
.premium-loader {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(19, 131, 230, 0.1);
    border-top: 3px solid var(--brand-blue);
    border-radius: 50%;
    margin-bottom: 20px;
    animation: spin 1s infinite linear;
}

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