/* =========================================
   ESTILOS GENERALES Y NAVEGACIÓN
   ========================================= */
html { scroll-behavior: smooth; }
body {
    font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: #ffffff;
}

body.landing-page-body {
    padding-top: 82px;
}

.landing-site-nav {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    width: 100%;
    z-index: 1030;
    background-color: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

@media (max-width: 991.98px) {
    body.landing-page-body {
        padding-top: 76px;
    }
}

/* Logo del menú público: mismo tamaño en todas las páginas. */
.landing-nav-logo {
    height: 50px;
    object-fit: contain;
    transform: scale(1.6);
    transform-origin: left center;
}

/* Enlaces del menú público: mayúsculas, negrita y separados. */
.landing-nav-principal .nav-link { text-transform: uppercase; font-weight: 700 !important; }

@media (min-width: 992px) {
    .landing-nav-principal { gap: 1.75rem; }
    /* Logo y acciones ocupan el mismo ancho para que el menú quede centrado en la página. */
    .navbar:has(.landing-nav-principal) .navbar-brand,
    .landing-nav-acciones { flex: 1 1 0; }
    .navbar:has(.landing-nav-principal) .navbar-collapse { flex-grow: 0; }
    .landing-nav-acciones { justify-content: flex-end; }
}

/* Hasta 1399px el contenedor es angosto: Portal Cliente queda solo con ícono para que el menú centrado respire. */
@media (min-width: 992px) and (max-width: 1399.98px) {
    .landing-nav-portal-texto { display: none; }
    .landing-nav-portal .bi { font-size: 1.9rem; }
}
@media (min-width: 992px) and (max-width: 1199.98px) {
    .landing-nav-principal { gap: 1rem; }
}
.navbar-nav .nav-link { transition: color 0.3s ease; }
.navbar-nav .nav-link:hover { color: #6CE5CC !important; }

/* =========================================
   BOTONES ADTECH
   ========================================= */
.btn-mint {
    background-color: #6CE5CC !important;
    background-image: linear-gradient(120deg, #6CE5CC 0%, #58D8C8 45%, #5CB8F2 100%);
    background-size: 200% 100%;
    background-position: 0% 0%;
    color: #0F0B24 !important;
    transition: background-position 0.4s ease, transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    box-shadow: 0 4px 14px rgba(55, 26, 121, 0.18);
}
.btn-mint:hover,
.btn-mint:focus-visible {
    background-position: 100% 0%;
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(55, 26, 121, 0.28), 0 4px 12px rgba(108, 229, 204, 0.45) !important;
}
.btn-mint:active { transform: translateY(0); }
.btn-outline-light:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
    transform: translateY(-2px);
}
.btn-whatsapp {
    position: fixed;
    right: 24px;
    bottom: 24px;
    left: auto;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    z-index: 9999;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.btn-whatsapp:hover {
    color: white;
    transform: scale(1.1);
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.5) !important;
}

.btn-whatsapp i {
    font-size: 35px;
    font-weight: normal !important;
    -webkit-text-stroke: 0;
}

/* Pie compartido de las vistas públicas. El panel de cliente no emplea esta clase. */
body.landing-public-shell {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

body.landing-public-shell > main {
    flex: 1 0 auto;
}

body.landing-public-shell .landing-public-footer {
    flex-shrink: 0;
    margin-top: auto;
    border-top: 4px solid #2D68C4;
    background: #4B4D52;
    color: rgba(255, 255, 255, 0.72);
}

body.landing-public-shell .landing-full-footer {
    padding: 3rem 0;
}

body.landing-public-shell .landing-public-footer small {
    font-size: 0.85rem;
}

body.landing-public-shell .landing-public-footer .footer-legal-link {
    color: rgba(255, 255, 255, 0.88);
}

body.landing-public-shell .landing-public-footer .footer-legal-link:hover,
body.landing-public-shell .landing-public-footer .footer-legal-link:focus-visible {
    color: #FFFFFF;
}

.landing-full-footer .landing-footer-separator {
    width: 1px;
    height: 40px;
    margin-right: 1.5rem;
    background-color: rgba(255, 255, 255, 0.3);
}

.landing-full-footer .landing-footer-tagline {
    color: #FFFFFF;
    font-size: 1.05rem;
    line-height: 1.3;
    opacity: 0.9;
}

.landing-full-footer .landing-footer-column {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.95rem;
}

.landing-full-footer .landing-footer-column h6 {
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.landing-full-footer .landing-footer-column a:not(.footer-legal-link) {
    color: #2D68C4;
}

.landing-full-footer .landing-footer-redes { display: flex; gap: 0.6rem; }
.landing-full-footer .landing-footer-column .landing-footer-redes a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    color: #FFFFFF;
    font-size: 1.1rem;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease;
}
.landing-full-footer .landing-footer-column .landing-footer-redes a:hover,
.landing-full-footer .landing-footer-column .landing-footer-redes a:focus-visible { background: #6CE5CC; color: #27214A; }

.landing-full-footer .landing-footer-logo {
    width: 200px;
    margin-bottom: 1.2rem;
    object-fit: contain;
}

.landing-full-footer .landing-footer-site-link {
    display: inline-flex;
    justify-content: center;
    width: 170px;
    padding: 0.4rem 0;
    border-radius: 999px;
    background: #2D68C4;
    color: #FFFFFF;
    font-size: 1.05rem;
    font-weight: 700;
    text-decoration: none;
}

.landing-full-footer .landing-footer-copyright {
    color: #FFFFFF;
    font-size: 0.85rem;
    opacity: 0.45;
}

.landing-events { background: #ffffff; }
.landing-events-eyebrow { color: #2d68c4; letter-spacing: .08em; font-size: .78rem; }
.landing-event-card { overflow: hidden; border: 1px solid #e5e7eb; border-radius: 10px; background: #fff; box-shadow: 0 4px 12px rgba(31, 53, 84, .05); transition: transform .2s ease, box-shadow .2s ease; }
.landing-event-card:hover { transform: translateY(-3px); box-shadow: 0 8px 18px rgba(31, 53, 84, .08); }
.landing-event-media { width: 100%; aspect-ratio: 2.35 / 1; overflow: hidden; background: #e7edf5; }
.landing-event-media img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; transform: scale(1.01); }
.landing-event-card-body { display: flex; flex-direction: column; align-items: flex-start; height: auto; padding: 24px; }
.landing-event-card h2, .landing-event-card h3 { color: #17243b; font-size: 1.3rem; font-weight: 700; }
.landing-event-card-body > p:not(.landing-event-date):not(.landing-event-place) { color: #627087; flex: 1; }
.landing-event-date { color: #51449b; font-weight: 700; font-size: .9rem; }
.landing-event-place { color: #3c4e69; font-size: .9rem; }
.landing-events-empty { padding: 36px; border: 1px dashed #b8c8d9; border-radius: 10px; color: #65758b; text-align: center; background: #fff; }
.landing-events-page { min-height: calc(100vh - 80px); padding: 1.5rem 0 3rem; background: #ffffff; }
.landing-events-submenu { display: flex; justify-content: flex-start; }
.landing-events-submenu-list { display: inline-flex; flex-wrap: nowrap; gap: 6px; padding: 6px; border: 1px solid #dde7f0; border-radius: 10px; background: #fff; box-shadow: 0 4px 12px rgba(31,53,84,.05); }
.landing-events-submenu-link { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 22px; border: 0; border-radius: 10px; background: transparent; color: #53647b; font-weight: 700; white-space: nowrap; transition: background-color .2s ease, color .2s ease, box-shadow .2s ease; }
.landing-events-submenu-link:hover { color: #51449b; }
.landing-events-submenu-link.active { background: #51449b; color: #fff; box-shadow: 0 7px 15px rgba(81,68,155,.22); }
.landing-events-submenu-link:focus-visible { outline: 3px solid rgba(81,68,155,.22); outline-offset: 2px; }
.landing-event-detail-body { background: #ffffff; }
.landing-event-detail { min-height: calc(100vh - 80px); background: #ffffff; }
.landing-event-detail > .container { display: flex; flex-direction: column; }
.landing-event-detail > .container > .landing-event-registration { order: 10; }
.landing-event-banner { width: 100%; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 10px; background: #e7edf5; box-shadow: 0 4px 12px rgba(31, 53, 84, .06); }
.landing-event-banner img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; transform: scale(1.01); }
.landing-event-information { display: grid; gap: 12px; }
.landing-event-information > div { display: grid; grid-template-columns: 28px 1fr; column-gap: 10px; padding: 14px; border: 1px solid #e5e7eb; border-radius: 10px; background: #ffffff; }
.landing-event-information i { grid-row: span 3; color: #51449b; font-size: 1.15rem; }
.landing-event-information span, .landing-event-information small { color: #67768b; font-size: .85rem; }
.landing-event-information strong { color: #17243b; }
.landing-event-description { width: 100%; max-width: none; padding: 32px; border: 1px solid #e5e7eb; border-radius: 10px; background: #fff; box-shadow: 0 4px 12px rgba(31,53,84,.04); color: #40516a; line-height: 1.75; }
.landing-event-section { padding: 32px; border: 1px solid #e5e7eb; border-radius: 10px; background: #fff; box-shadow: 0 4px 12px rgba(31,53,84,.04); color: #40516a; }
.landing-event-results { border-left: 4px solid #51449b; }
.landing-event-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.landing-event-gallery-item { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 10px; background: #e7edf5; color: #fff; }
.landing-event-gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .2s ease; }
.landing-event-gallery-item:hover img { transform: scale(1.035); }
.landing-event-gallery-item span { position: absolute; right: 0; bottom: 0; left: 0; padding: 28px 12px 10px; background: linear-gradient(transparent, rgba(18,32,54,.82)); font-size: .85rem; }
.landing-event-videos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.landing-event-video { overflow: hidden; border: 1px solid #e5e7eb; border-radius: 10px; background: #ffffff; }
.landing-event-video iframe { border: 0; }
.landing-event-video h3 { margin: 0; padding: 14px 16px; color: #17243b; font-size: 1rem; }
.landing-event-video-link { display: flex; min-height: 180px; align-items: center; justify-content: center; gap: 10px; color: #51449b; font-weight: 700; text-decoration: none; }
.landing-event-video-link .bi-play-circle { font-size: 1.8rem; }
.landing-event-cta-links { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.landing-events-page .btn, .landing-event-detail .btn, .landing-event-detail button { border-radius: 10px !important; }
@media (max-width: 575.98px) { .landing-event-banner { border-radius: 10px; } .landing-event-card-body { padding: 20px; } .landing-event-description { padding: 24px; } }
@media (max-width: 767.98px) { .landing-event-section { padding: 24px; } .landing-event-gallery, .landing-event-videos { grid-template-columns: 1fr; } }
@media (max-width: 575.98px) { .landing-events-submenu { justify-content: flex-start; overflow-x: auto; padding-bottom: 4px; } .landing-events-submenu-list { width: max-content; } .landing-events-submenu-link { padding: 10px 16px; font-size: .9rem; } }
@media (min-width: 992px) { .landing-events-page { padding-top: 2.25rem; } }

.landing-event-registration { padding: 32px; border: 1px solid #b9dcf7; border-radius: 10px; background: #eff8ff; box-shadow: 0 10px 24px rgba(30, 90, 156, .12); scroll-margin-top: 100px; }
.landing-event-registration h2 { margin-bottom: 8px; color: #1E5A9C; font-size: 1.5rem; }
.landing-event-registration > p { color: #6b7280; }
.landing-event-registration-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 24px; }
.landing-event-registration-field { display: grid; gap: 7px; }
.landing-event-registration-field-wide, .landing-event-registration-actions { grid-column: 1 / -1; }
.landing-event-registration-field label { color: #1f2937; font-size: .86rem; font-weight: 700; }
.landing-event-registration-field label span { color: #b42318; }
.landing-event-registration-field input, .landing-event-registration-field textarea, .landing-event-registration-field select { width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid #e5e7eb; border-radius: 10px; background: #ffffff; color: #1f2937; }
.landing-event-registration-field textarea { min-height: 108px; resize: vertical; }
.landing-event-registration-field input:focus, .landing-event-registration-field textarea:focus, .landing-event-registration-field select:focus { border-color: #1E5A9C; outline: 3px solid rgba(30, 90, 156, .16); }
.landing-event-registration-actions { display: flex; justify-content: flex-end; }
.landing-event-registration-actions button { min-height: 44px; padding: 10px 22px; border: 0; border-radius: 10px; background: #1E5A9C; color: #ffffff; font-weight: 700; }
.landing-event-registration-actions button:hover { background: #184A80; }
.landing-event-registration-success, .landing-event-registration-error { margin-top: 18px; padding: 14px 16px; border-radius: 10px; }
.landing-event-registration-success { border: 1px solid #a7f3d0; background: #ecfdf5; color: #166534; }
.landing-event-registration-error, .landing-event-registration-field-error { color: #b42318; }
.landing-event-registration-error { border: 1px solid #fecaca; background: #fef2f2; }
.landing-event-registration-field-error { font-size: .8rem; }
.landing-event-honeypot { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.landing-event-registration-link { border: 1px solid #1E5A9C; background: #ffffff; color: #1E5A9C; }
.landing-event-registration-link:hover, .landing-event-registration-link:focus-visible { border-color: #184A80; background: #e8f3fd; color: #184A80; }
@media (max-width: 767.98px) { .landing-event-registration { padding: 24px; } .landing-event-registration-form { grid-template-columns: 1fr; } }

/* Galería de eventos: carrusel horizontal y visor ampliado. */
.landing-event-gallery-carousel { position: relative; }
.landing-event-gallery { display: flex; gap: 14px; overflow-x: auto; padding: 2px; scroll-behavior: smooth; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: #cbd5e1 transparent; }
.landing-event-gallery::-webkit-scrollbar { height: 8px; }
.landing-event-gallery::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 999px; }
.landing-event-gallery-item { flex: 0 0 clamp(250px, 31%, 390px); border: 0; padding: 0; cursor: zoom-in; text-align: left; scroll-snap-align: start; }
.landing-event-gallery-item:focus-visible { outline: 3px solid #1E5A9C; outline-offset: 3px; }
.landing-gallery-scroll, .landing-gallery-lightbox-close, .landing-gallery-lightbox-nav { display: inline-flex; align-items: center; justify-content: center; border: 0; cursor: pointer; }
.landing-gallery-scroll { position: absolute; top: calc(50% - 22px); z-index: 2; width: 44px; height: 44px; border-radius: 50%; background: #ffffff; color: #1E5A9C; box-shadow: 0 4px 14px rgba(15, 23, 42, .16); }
.landing-gallery-scroll-prev { left: -18px; }
.landing-gallery-scroll-next { right: -18px; }
.landing-gallery-lightbox { position: fixed; inset: 0; z-index: 2000; display: grid; place-items: center; padding: 32px 82px; background: rgba(15, 23, 42, .9); }
.landing-gallery-lightbox[hidden] { display: none; }
.landing-gallery-open { overflow: hidden; }
.landing-gallery-lightbox-figure { display: grid; gap: 12px; max-width: min(1100px, 100%); max-height: 100%; margin: 0; }
.landing-gallery-lightbox-figure img { display: block; max-width: 100%; max-height: calc(100vh - 120px); margin: auto; border-radius: 10px; object-fit: contain; }
.landing-gallery-lightbox-figure figcaption { min-height: 1.3em; color: #ffffff; text-align: center; }
.landing-gallery-lightbox-close, .landing-gallery-lightbox-nav { position: absolute; width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, .14); color: #ffffff; font-size: 1.35rem; }
.landing-gallery-lightbox-close { top: 22px; right: 24px; }
.landing-gallery-lightbox-prev { top: 50%; left: 22px; transform: translateY(-50%); }
.landing-gallery-lightbox-next { top: 50%; right: 22px; transform: translateY(-50%); }
.landing-gallery-scroll:hover, .landing-gallery-scroll:focus-visible, .landing-gallery-lightbox-close:hover, .landing-gallery-lightbox-close:focus-visible, .landing-gallery-lightbox-nav:hover, .landing-gallery-lightbox-nav:focus-visible { background: #1E5A9C; outline: 3px solid rgba(255, 255, 255, .36); outline-offset: 2px; }
@media (max-width: 767.98px) { .landing-event-gallery-item { flex-basis: min(82vw, 340px); } .landing-gallery-scroll { display: none; } .landing-gallery-lightbox { padding: 24px 12px; } .landing-gallery-lightbox-close { top: 12px; right: 12px; } .landing-gallery-lightbox-prev { left: 8px; } .landing-gallery-lightbox-next { right: 8px; } .landing-gallery-lightbox-nav { width: 38px; height: 38px; } }

/* =========================================
   ANIMACIONES
   ========================================= */
.hero-text, .hero-image { animation: fadeInUp 0.8s ease-out forwards; }
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* =========================================
   TARJETAS DE SERVICIOS
   ========================================= */
.service-card { position: relative; overflow: hidden; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.service-card::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 4px;
    background: linear-gradient(90deg, #6CE5CC, #5CB8F2);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease;
}
.service-card:hover,
.service-card:focus-within {
    transform: translateY(-8px);
    box-shadow: 0 18px 36px rgba(39, 33, 74, 0.28) !important;
}
.service-card:hover::after,
.service-card:focus-within::after { transform: scaleX(1); }
/* Fondo decorativo: brillo en la esquina y sombra inferior sobre el color sólido de cada tarjeta. */
.service-card {
    background-image:
        radial-gradient(circle at 100% 0%, rgba(255, 255, 255, 0.24) 0%, rgba(255, 255, 255, 0) 45%),
        radial-gradient(circle at 0% 100%, rgba(108, 229, 204, 0.22) 0%, rgba(108, 229, 204, 0) 40%),
        linear-gradient(160deg, rgba(255, 255, 255, 0.06) 0%, rgba(0, 0, 0, 0.2) 100%);
}
/* Trama de puntos que se desvanece hacia la izquierda. */
.service-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.22) 1.2px, transparent 1.4px);
    background-size: 18px 18px;
    -webkit-mask-image: linear-gradient(115deg, transparent 35%, #000 100%);
    mask-image: linear-gradient(115deg, transparent 35%, #000 100%);
    transition: background-position 0.6s ease;
    pointer-events: none;
}
.service-card:hover::before,
.service-card:focus-within::before { background-position: 9px 9px; }
.service-card .card-body { position: relative; z-index: 1; }
/* Ícono del servicio en grande como marca de agua. */
.service-card .landing-servicio-marca {
    position: absolute;
    right: -18px;
    bottom: -34px;
    font-size: 11rem;
    line-height: 1;
    color: #ffffff;
    opacity: 0.1;
    pointer-events: none;
    transition: transform 0.5s ease, opacity 0.5s ease;
}
.service-card .card-body i { transition: transform 0.3s ease; }
.service-card:hover .card-body i,
.service-card:focus-within .card-body i { transform: scale(1.15) rotate(-6deg); }
.service-card:hover .landing-servicio-marca,
.service-card:focus-within .landing-servicio-marca { opacity: 0.18; transform: translate(-10px, -10px) rotate(-10deg) scale(1.05); }
.service-card .landing-servicio-vermas span[aria-hidden] { display: inline-block; transition: transform 0.3s ease; }
.service-card:hover .landing-servicio-vermas span[aria-hidden],
.service-card:focus-within .landing-servicio-vermas span[aria-hidden] { transform: translateX(5px); }

/* =========================================
   METODOLOGÍA Y TESTIMONIOS
   ========================================= */
.step-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    position: relative;
}
@media (min-width: 768px) {
    .step-item:not(:last-child)::after {
        content: '\F138';
        font-family: "bootstrap-icons";
        position: absolute;
        top: 25px;
        right: -25px;
        font-size: 1.5rem;
        color: #6031A6;
        opacity: 0.6;
        z-index: 1;
    }
}
.testimonial-card {
    border: 1px solid #f8f9fa;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
    transition: box-shadow 0.3s ease;
    background-color: #fcfcfc;
}
.testimonial-card:hover { box-shadow: 0 8px 25px rgba(0,0,0,0.08); }
.avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1.1rem;
}

/* =========================================
   FORMULARIO DE DIAGNÓSTICO FINAL
   ========================================= */
.form-floating-card {
    box-shadow: 0 20px 50px rgba(0,0,0,0.15); /* Sombra súper profunda */
    border: 1px solid rgba(0,0,0,0.05);
}

.custom-input-light {
    background-color: #f2f4f8 !important;
    padding: 0.85rem 1.25rem;
    border-radius: 10px;
    transition: all 0.3s ease;
}
.custom-input-light:focus {
    background-color: #ffffff !important;
    border: 1px solid #6CE5CC !important;
    box-shadow: 0 0 0 0.25rem rgba(108, 229, 204, 0.25) !important;
    outline: none;
}

/* Calendario UI */
.cal-day {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.2s;
}
.cal-day:hover:not(.cal-active):not(.invisible) {
    background-color: #f2f4f8;
}
.cal-active {
    background-color: #6CE5CC !important;
}

/* Botones de Hora */
.time-pill {
    background-color: #f2f4f8;
    color: #495057;
    border: none;
    border-radius: 50px;
    padding: 8px 15px;
    font-weight: 500;
    transition: all 0.2s;
    width: 30%;
}
.time-pill:hover {
    background-color: #e2e6eb;
}

/* =========================================
   FOOTER
   ========================================= */
.footer-link {
    transition: opacity 0.3s ease, padding-left 0.3s ease;
}
.footer-link:hover {
    opacity: 1 !important;
    padding-left: 5px; /* Pequeño salto a la derecha al pasar el mouse */
}
.cursor-pointer {
    cursor: pointer;
}
/* =========================================
   RESPONSIVE GENERAL LANDING
   ========================================= */

* {
    box-sizing: border-box;
}

html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

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

/* NAVBAR */
@media (max-width: 991.98px) {
    .navbar {
        padding-top: 0.8rem !important;
        padding-bottom: 0.8rem !important;
    }

    .navbar-brand img {
        height: 42px !important;
        transform: scale(1.25) !important;
        transform-origin: left center !important;
    }

    .navbar-collapse {
        padding-top: 1rem;
        text-align: center;
    }

    .navbar-nav {
        gap: 0.4rem;
    }

    .navbar-nav .nav-link {
        padding: 0.7rem 0;
    }

    .landing-mobile-tools {
        gap: 0.6rem;
    }

    .landing-mobile-portal {
        width: 42px;
        height: 42px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        color: #371A79;
        border: 1px solid #d8dce5;
        border-radius: 0.5rem;
        background: #fff;
        text-decoration: none;
    }

    .landing-mobile-portal:hover,
    .landing-mobile-portal:focus-visible {
        color: #fff;
        background: #371A79;
        border-color: #371A79;
    }

    .landing-mobile-portal .bi {
        font-size: 1.45rem;
        line-height: 1;
    }

    .landing-mobile-tools .navbar-toggler {
        margin: 0;
    }

    .mobile-nav-actions {
        display: grid;
        gap: 0.75rem;
        margin-top: 1rem;
    }

    .mobile-nav-actions .btn {
        width: 100%;
    }
}

@media (max-width: 575.98px) {
    .navbar-brand img {
        height: 38px !important;
        transform: scale(1.15) !important;
    }
}

/* HERO */
#inicio {
    overflow: hidden;
}

#inicio h1 {
    font-size: clamp(2.4rem, 7vw, 4.5rem) !important;
}

#inicio p {
    max-width: 100% !important;
    font-size: clamp(1rem, 2vw, 1.25rem) !important;
}

#inicio .hero-image img {
    max-height: 500px !important;
    width: 100%;
    object-fit: contain;
}

@media (max-width: 991.98px) {
    #inicio {
        min-height: auto !important;
        padding-top: 4rem !important;
        padding-bottom: 4rem !important;
        text-align: center;
    }

    #inicio .hero-text {
        margin-bottom: 2rem;
    }

    #inicio .hero-text .d-flex {
        justify-content: center;
    }

    #inicio .hero-image img {
        max-height: 380px !important;
    }

    .btn-whatsapp {
        right: 18px;
        bottom: 18px;
        width: 58px;
        height: 58px;
    }

    .btn-whatsapp i {
        font-size: 28px !important;
    }
}

@media (max-width: 575.98px) {
    #inicio {
        padding-top: 3rem !important;
        padding-bottom: 3rem !important;
    }

    #inicio h1 {
        font-size: 2.25rem !important;
        line-height: 1.15 !important;
    }

    #inicio p {
        font-size: 0.98rem !important;
        margin-bottom: 2rem !important;
    }

    #inicio .btn {
        width: 100%;
        padding: 0.85rem 1rem !important;
    }

    #inicio .hero-image img {
        max-height: 300px !important;
    }
}

/* SECCIONES */
section {
    scroll-margin-top: 90px;
}

#nosotros h2,
#servicios h2,
#metodologia h2,
#resultados h2,
#testimonios h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem) !important;
}

@media (max-width: 767.98px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    section.py-5 {
        padding-top: 3rem !important;
        padding-bottom: 3rem !important;
    }

    .container.py-5 {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }

    #nosotros {
        text-align: center;
    }

    #nosotros ul {
        text-align: left;
        max-width: 320px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* SERVICIOS */
@media (max-width: 575.98px) {
    .service-card .card-body {
        padding: 1.5rem !important;
    }

    .service-card h4 {
        font-size: 1.2rem;
    }
}

/* METODOLOGÍA */
@media (max-width: 767.98px) {
    .step-icon {
        width: 60px;
        height: 60px;
    }

    .step-item h6 {
        font-size: 0.9rem;
    }
}

/* RESULTADOS */
@media (max-width: 575.98px) {
    #resultados h2.fw-bold {
        font-size: 2rem !important;
    }

    #resultados p {
        font-size: 0.85rem !important;
    }
}

/* TESTIMONIOS */
@media (max-width: 767.98px) {
    .testimonial-card {
        text-align: left;
    }
}

/* FORMULARIO DIAGNÓSTICO */
/* Evita que el navbar fijo tape el mensaje al volver con #diagnostico */
#diagnostico {
    scroll-margin-top: 90px;
}
#diagnostico h2 {
    font-size: clamp(2rem, 5vw, 2.8rem) !important;
}

@media (max-width: 991.98px) {
    #diagnostico {
        text-align: center;
    }

    #diagnostico ul {
        text-align: left;
        max-width: 360px;
        margin-left: auto;
        margin-right: auto;
    }

    #diagnostico .d-inline-flex {
        width: 100%;
        justify-content: center;
        text-align: center;
    }
}

@media (max-width: 575.98px) {
    #diagnostico .rounded-5 {
        border-radius: 1.4rem !important;
        padding: 1.25rem !important;
    }

    .form-floating-card {
        padding: 1.25rem !important;
        box-shadow: 0 10px 30px rgba(0,0,0,0.12);
    }

    .custom-input-light {
        padding: 0.8rem 1rem;
        font-size: 0.95rem;
    }

    #diagnostico button[type="submit"] {
        font-size: 1rem !important;
    }
}

/* FOOTER */
.landing-footer-columns {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.5rem;
}

.landing-footer-column {
    min-width: 0;
    padding-right: 1.5rem;
}

.footer-legal-link,
.footer-legal-link:visited,
.footer-legal-link:hover,
.footer-legal-link:focus {
    color: #ffffff !important;
    text-decoration: none !important;
}

.footer-legal-link {
    opacity: 0.82;
    transition: opacity 0.2s ease;
}

.footer-legal-link:hover,
.footer-legal-link:focus-visible {
    opacity: 1;
}

@media (max-width: 991.98px) {
    footer {
        text-align: center;
    }

    footer .col-lg-9 > .d-flex {
        justify-content: center;
        flex-wrap: wrap;
        gap: 1rem;
    }

    footer .col-lg-9 > .d-flex > div[style*="width: 1px"] {
        display: none !important;
    }

    footer .d-flex.flex-wrap {
        justify-content: center;
    }

    .landing-footer-columns {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        max-width: 650px;
        margin: 0 auto;
        text-align: left;
    }

    footer ul {
        padding-left: 0;
    }
}

@media (max-width: 575.98px) {
    footer .col-lg-9 > .d-flex {
        flex-direction: column;
        margin-bottom: 2.5rem !important;
    }

    footer h4 {
        margin-right: 0 !important;
    }

    footer img {
        width: 160px !important;
    }

    footer .btn {
        width: 150px !important;
    }

    .landing-footer-columns {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .landing-footer-column {
        padding-right: 0;
    }

    .landing-full-footer .landing-footer-redes {
        justify-content: center;
    }
}

/* PÁGINAS LEGALES */
.landing-legal-page {
    background: #f5f7fa;
    color: #172033;
}


.landing-legal-back {
    color: #173f7a;
    font-weight: 700;
    text-decoration: none;
}

.landing-legal-back:hover,
.landing-legal-back:focus {
    color: #2d68c4;
}

.landing-legal-main {
    min-height: calc(100vh - 190px);
}

.landing-legal-hero {
    padding: 4rem 0 7rem;
    background: linear-gradient(135deg, #102d57 0%, #2d68c4 100%);
    color: #ffffff;
}

.landing-legal-hero span {
    display: block;
    margin-bottom: 0.75rem;
    color: #6ce5cc;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.16em;
}

.landing-legal-hero h1 {
    margin: 0 0 0.75rem;
    font-size: clamp(2.2rem, 5vw, 3.7rem);
    font-weight: 800;
}

.landing-legal-hero p {
    margin: 0;
    color: rgba(255, 255, 255, 0.76);
}

.landing-legal-content {
    position: relative;
    max-width: 960px;
    margin: -4rem auto 4rem;
    padding: clamp(1.5rem, 4vw, 3.5rem);
    border: 1px solid #e3e9f2;
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 20px 55px rgba(16, 45, 87, 0.1);
}

.landing-legal-intro {
    margin-bottom: 2.5rem;
    color: #364866;
    font-size: 1.15rem;
    line-height: 1.75;
}

.landing-legal-content section + section {
    margin-top: 2.25rem;
    padding-top: 2.25rem;
    border-top: 1px solid #e7ecf3;
}

.landing-legal-content h2 {
    margin-bottom: 0.9rem;
    color: #102d57;
    font-size: 1.25rem;
    font-weight: 800;
}

.landing-legal-content p,
.landing-legal-content li {
    color: #526078;
    line-height: 1.75;
}

.landing-legal-content a {
    color: #2d68c4;
    font-weight: 700;
}

.landing-legal-footer {
    padding: 2rem 0;
    border-top: 4px solid #2d68c4;
    background: #4b4d52;
    color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 575.98px) {
    .landing-legal-hero {
        padding: 3rem 0 6rem;
    }

    .landing-legal-content {
        border-radius: 18px;
    }

    .landing-legal-back {
        font-size: 0.9rem;
    }
}

/* ========================================= */
/* ESTILOS DEL SISTEMA DE SOPORTE            */
/* ========================================= */
.soporte-container {
    background-color: #f4f7f6; /* Fondo gris claro y limpio */
    min-height: 80vh;
}

/* Tarjetas modernas con bordes redondeados y sombras suaves */
.card-modern {
    background-color: #ffffff;
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    max-width: 100%;
}

#vista-login, #vista-registro {
    max-width: 450px; /* Centrado y delgado para login */
}

/* Color del botón principal AdTech */
.btn-soporte {
    background-color: #6CE5CC;
    color: #111;
    padding: 12px;
    border-radius: 8px;
    transition: all 0.3s ease;
}
.btn-soporte:hover {
    background-color: #58cbb4;
}

/* Clase para ocultar pantallas con JS */
.oculto {
    display: none !important;
}

/* Diseño de la tarjeta de cada ticket individual */
.ticket-item {
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 1.5rem;
    background-color: #fafafa;
}
.estado-pendiente {
    background-color: #fff3cd;
    color: #856404;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
}

/* =========================================
   MENÚ PÚBLICO: PORTAL CLIENTE
   ========================================= */
.landing-nav-portal {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: #212529;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}
.landing-nav-portal .bi { font-size: 1.6rem; }
.landing-nav-portal:hover,
.landing-nav-portal:focus { color: #371A79; }

/* Teaser de servicios en Inicio */
.landing-servicio-vermas {
    display: inline-block;
    margin-top: 1rem;
    color: #ffffff;
    font-weight: 700;
    text-decoration: none;
}
.landing-servicio-vermas:hover,
.landing-servicio-vermas:focus { color: #6CE5CC; }

/* =========================================
   PÁGINA SERVICIOS
   ========================================= */
.landing-servicios-hero {
    background: linear-gradient(135deg, #371A79 0%, #0081FA 100%);
    padding: 4rem 0 3.5rem;
}
.landing-servicios-hero h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
.landing-servicios-lead { max-width: 680px; opacity: 0.92; }

.landing-servicio { scroll-margin-top: 90px; background: #ffffff; }
.landing-servicio-alt { background: #f4f6f9; }
.landing-servicio-icono {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 14px;
    color: #ffffff;
    font-size: 1.6rem;
}
.landing-servicio-panel {
    position: relative;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 1.75rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.landing-servicio-panel::before {
    content: "";
    position: absolute;
    left: 0;
    top: 1.5rem;
    bottom: 1.5rem;
    width: 4px;
    border-radius: 0 4px 4px 0;
    background: linear-gradient(180deg, #371A79, #6CE5CC);
    opacity: 0;
    transition: opacity 0.3s ease;
}
.landing-servicio:hover .landing-servicio-panel {
    transform: translateY(-4px);
    border-color: #d8d2ee;
    box-shadow: 0 18px 40px rgba(55, 26, 121, 0.12);
}
.landing-servicio:hover .landing-servicio-panel::before { opacity: 1; }
.landing-servicio-icono { transition: transform 0.3s ease; }
.landing-servicio:hover .landing-servicio-icono { transform: translateY(-3px) rotate(-6deg); }
.landing-servicio-lista { padding-left: 1.2rem; margin-bottom: 0; }
.landing-servicio-lista li { margin-bottom: 0.45rem; }
.landing-servicio-lista li::marker { color: #319477; }

.landing-servicios-cta { background-color: #27214A; }

.landing-proximamente { min-height: calc(100vh - 380px); display: flex; align-items: center; }

/* =========================================
   PORTAFOLIO Y RADAR (LANDING)
   ========================================= */
.landing-seccion-hero {
    background: linear-gradient(135deg, #371A79 0%, #0081FA 100%);
    padding: 3.5rem 0 3rem;
}
.landing-seccion-hero h1 { font-size: clamp(1.9rem, 4.5vw, 2.8rem); }
.landing-volver { display: inline-flex; align-items: center; gap: .4rem; color: #2d68c4; font-weight: 600; text-decoration: none; }
.landing-volver:hover, .landing-volver:focus { color: #371A79; }

.landing-card-orgs-principal { font-weight: 600; color: #17243b; margin-bottom: .35rem; }
.landing-card-orgs-principal span { display: block; font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; color: #2d68c4; }
.landing-card-orgs-apoyo { font-size: .9rem; color: #5b6475; margin-bottom: .75rem; }

.landing-orgs-bloque { margin-bottom: 2rem; }
.landing-orgs-titulo { font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; color: #2d68c4; font-weight: 700; margin-bottom: 1rem; }
.landing-orgs-lista { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 1rem; }
.landing-org { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .4rem; text-align: center; border: 1px solid #e5e7eb; border-radius: 12px; padding: 1rem; background: #fff; }
.landing-org-link { display: flex; flex-direction: column; align-items: center; gap: .4rem; color: inherit; text-decoration: none; }
.landing-org-logo { max-width: 120px; max-height: 60px; object-fit: contain; }
.landing-org-nombre { font-weight: 700; color: #17243b; }
.landing-org-rol { font-size: .8rem; color: #5b6475; }
/* Primer nivel más visible; expositores y participantes más compactos. */
.landing-orgs-principal .landing-orgs-lista { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.landing-orgs-principal .landing-org { padding: 1.5rem; border-color: #c9d6f2; }
.landing-orgs-principal .landing-org-logo { max-width: 160px; max-height: 80px; }
.landing-orgs-expositores .landing-orgs-lista,
.landing-orgs-participantes .landing-orgs-lista { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: .6rem; }
.landing-orgs-expositores .landing-org,
.landing-orgs-participantes .landing-org { padding: .6rem; }

.landing-radar-estado { display: inline-flex; align-items: center; font-size: .78rem; font-weight: 700; padding: .25rem .65rem; border-radius: 999px; background: #e9ecef; color: #343a40; }
.landing-radar-estado-convocatoria_abierta { background: #d1f3ea; color: #0f5132; }
.landing-radar-estado-participacion_en_gestion { background: #fff3cd; color: #664d03; }
.landing-radar-estado-participacion_confirmada { background: #cfe2ff; color: #084298; }
.landing-radar-estado-realizado { background: #e2e8f0; color: #475569; }
.landing-radar-registro { background: #27214A; color: #6CE5CC; }
.landing-sectores { list-style: none; padding: 0; margin: 0 0 1rem; display: flex; flex-wrap: wrap; gap: .35rem; }
.landing-sectores li { font-size: .78rem; padding: .2rem .6rem; border-radius: 999px; border: 1px solid #d0d7e2; color: #3b4658; }


/* =========================================
   INICIO: NOSOTROS, CAPACIDADES Y DIFERENCIADORES
   ========================================= */
.landing-nosotros-imagen {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 24px;
    box-shadow: 0 24px 50px rgba(55, 26, 121, 0.25);
}

.landing-capacidades li { display: flex; align-items: flex-start; gap: 0.6rem; margin-bottom: 0.75rem; line-height: 1.4; }
.landing-capacidades i { color: #319477; margin-top: 0.1rem; }

.landing-diferenciador {
    position: relative;
    padding: 1.75rem;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    background: #ffffff;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.landing-diferenciador:hover {
    transform: translateY(-6px);
    border-color: #d8d2ee;
    box-shadow: 0 18px 40px rgba(55, 26, 121, 0.12);
}
.landing-diferenciador-icono {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    margin-bottom: 1rem;
    border-radius: 14px;
    background: linear-gradient(135deg, #371A79, #2D68C4);
    color: #6CE5CC;
    font-size: 1.5rem;
}
.landing-diferenciador h3 { font-size: 1.1rem; font-weight: 700; color: #17243b; margin-bottom: 0.6rem; }
.landing-diferenciador p { font-size: 0.95rem; color: #5b6475; margin-bottom: 0; line-height: 1.55; }

/* Respeta a quienes piden menos movimiento. */
@media (prefers-reduced-motion: reduce) {
    .btn-mint, .service-card, .service-card::before, .service-card::after, .service-card i, .landing-servicio-panel,
    .landing-servicio-icono, .landing-diferenciador, .landing-servicio-vermas span {
        transition: none !important;
    }
    .btn-mint:hover, .service-card:hover, .service-card:focus-within, .landing-servicio:hover .landing-servicio-panel,
    .landing-diferenciador:hover, .landing-servicio:hover .landing-servicio-icono { transform: none !important; }
}

/* Eventos relacionados (detalle de Portafolio y Radar) */
.landing-event-detail > .container > .landing-relacionados { order: 20; }
.landing-relacionado-tipo { align-self: flex-start; margin-bottom: .6rem; padding: .2rem .6rem; border-radius: 999px; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.landing-relacionado-portafolio { background: #ece7f8; color: #371A79; }
.landing-relacionado-radar { background: #d1f3ea; color: #0f5132; }

/* Comentarios públicos (detalle de Portafolio y Radar) */
.landing-event-detail > .container > .landing-comentarios { order: 30; scroll-margin-top: 100px; }
.landing-comentarios-lista { display: grid; gap: 1rem; margin: 0; }
.landing-comentario { padding: 1.1rem 1.25rem; border: 1px solid #e5e7eb; border-radius: 12px; background: #ffffff; color: #374151; }
.landing-comentario-cabecera { display: flex; align-items: center; gap: .75rem; margin-bottom: .6rem; }
.landing-comentario-cabecera strong { display: block; color: #17243b; }
.landing-comentario-cabecera time { font-size: .8rem; color: #6b7280; }
.landing-comentario-avatar { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 36px; width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(135deg, #371A79, #2D68C4); color: #6CE5CC; font-weight: 700; }
.landing-comentarios-form { padding: 1.5rem; border-radius: 12px; background: #f7f5fc; border: 1px solid #e6e0f5; }

/* =========================================
   FICHA DE EVENTO (detalle de Portafolio y Radar)
   ========================================= */
.landing-ficha { background: #f3f5fa; padding: 1.5rem 0 3.5rem; min-height: calc(100vh - 80px); }
.landing-ficha-card { background: #ffffff; border: 1px solid #e6e9f2; border-radius: 18px; box-shadow: 0 6px 18px rgba(31, 53, 84, .05); }

/* Tarjeta principal */
.landing-ficha-principal { overflow: hidden; }
.landing-ficha-portada { position: relative; aspect-ratio: 16 / 9; background: #e7edf5; }
.landing-ficha-portada::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: linear-gradient(90deg, #371A79, #2D68C4 55%, #6CE5CC); }
.landing-ficha-portada img { width: 100%; height: 100%; object-fit: cover; display: block; }
.landing-ficha-portada-vacia { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; background: linear-gradient(135deg, #371A79 0%, #2D68C4 60%, #0081FA 100%); color: rgba(108, 229, 204, .85); font-size: 4rem; }
.landing-ficha-cuerpo { padding: 1.75rem 2rem 2rem; }
.landing-ficha-encabezado { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; margin-bottom: 1rem; }
.landing-ficha-chips { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; margin: 0; padding: 0; }
.landing-ficha-chip { display: inline-flex; align-items: center; gap: .3rem; padding: .35rem .85rem; border-radius: 999px; background: #eef1f7; color: #3b4658; font-size: .82rem; font-weight: 600; }
.landing-ficha-chip-marca { background: #ece7f8; color: #371A79; }
.landing-ficha-compartir { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border: 1px solid #e6e9f2; border-radius: 50%; background: #ffffff; color: #371A79; box-shadow: 0 4px 12px rgba(31, 53, 84, .1); transition: transform .2s ease, background-color .2s ease; }
.landing-ficha-compartir:hover, .landing-ficha-compartir:focus-visible { background: #6CE5CC; color: #0F0B24; transform: translateY(-2px); }
.landing-ficha-titulo { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; color: #17243b; text-transform: uppercase; letter-spacing: .01em; margin-bottom: 1rem; }

/* Descripción con "Leer más" */
.landing-ficha-descripcion-texto { color: #40516a; line-height: 1.75; max-height: 11.5rem; overflow: hidden; position: relative; }
.landing-ficha-descripcion-texto::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3.5rem; background: linear-gradient(rgba(255, 255, 255, 0), #ffffff); }
.landing-ficha-descripcion.is-abierta .landing-ficha-descripcion-texto,
.landing-ficha-descripcion.is-completa .landing-ficha-descripcion-texto { max-height: none; }
.landing-ficha-descripcion.is-abierta .landing-ficha-descripcion-texto::after,
.landing-ficha-descripcion.is-completa .landing-ficha-descripcion-texto::after { display: none; }
.landing-ficha-descripcion-texto p:last-child { margin-bottom: 0; }
.landing-ficha-leer-mas { display: flex; align-items: center; gap: .35rem; margin: .75rem auto 0; border: 0; background: none; color: #2D68C4; font-weight: 700; }
.landing-ficha-leer-mas i { transition: transform .2s ease; }
.landing-ficha-descripcion.is-abierta .landing-ficha-leer-mas i { transform: rotate(180deg); }

/* Tarjeta de detalles */
.landing-ficha-detalles { padding: .5rem 2rem; }
.landing-ficha-seccion { padding: 1.5rem 0; color: #40516a; }
.landing-ficha-seccion + .landing-ficha-seccion { border-top: 1px solid #eef1f7; }
.landing-ficha-seccion h2 { font-size: 1.2rem; font-weight: 800; color: #17243b; margin-bottom: 1rem; }
.landing-ficha-seccion p:last-child { margin-bottom: 0; }
.landing-ficha-resultados { border-left: 4px solid #6CE5CC; padding-left: 1rem; }
.landing-ficha-como-llegar { display: inline-flex; align-items: center; gap: .4rem; padding: .4rem 1rem; border: 1.5px solid #17243b; border-radius: 999px; color: #17243b; font-weight: 700; font-size: .9rem; text-decoration: none; }
.landing-ficha-como-llegar:hover, .landing-ficha-como-llegar:focus-visible { background: #17243b; color: #ffffff; }
.landing-ficha-enlaces { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.landing-ficha-enlaces a { display: inline-flex; align-items: center; gap: .35rem; padding: .45rem 1rem; border-radius: 999px; background: #ece7f8; color: #371A79; font-weight: 600; text-decoration: none; }
.landing-ficha-enlaces a:hover, .landing-ficha-enlaces a:focus-visible { background: #371A79; color: #ffffff; }

/* Tarjetas reutilizadas (galería, registro, comentarios, relacionados) dentro de la ficha */
.landing-ficha .landing-event-section { border-radius: 18px; border-color: #e6e9f2; }
.landing-ficha .landing-event-section.mt-5 { margin-top: 1.5rem !important; }
.landing-ficha .landing-event-registration { border-radius: 18px; scroll-margin-top: 100px; }

/* Columna lateral */
.landing-ficha-lateral { display: grid; gap: 1.25rem; }
@media (min-width: 992px) { .landing-ficha-lateral { position: sticky; top: 100px; } }
.landing-ficha-dato, .landing-ficha-accion { padding: 1.5rem; }
.landing-ficha-dato h2, .landing-ficha-accion h2 { font-size: 1.15rem; font-weight: 800; color: #17243b; margin-bottom: 1rem; }
.landing-ficha-dato-caja { display: flex; gap: .6rem; align-items: flex-start; padding: .75rem 1rem; border: 1.5px solid #17243b; border-radius: 12px; color: #17243b; font-size: .9rem; font-weight: 600; }
.landing-ficha-dato-caja i { color: #371A79; margin-top: .1rem; }
.landing-ficha-accion p { color: #40516a; font-size: .95rem; }

/* Barra inferior fija (solo cuando el evento tiene registro habilitado) */
.landing-ficha-barra { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1020; padding: .9rem 0; background: #ffffff; border-radius: 22px 22px 0 0; box-shadow: 0 -8px 24px rgba(31, 53, 84, .14); transition: transform .3s ease; }
.landing-ficha-barra.is-oculta { transform: translateY(110%); }
.landing-ficha-barra .container { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.landing-ficha-barra-info { min-width: 0; }
.landing-ficha-barra-info strong { display: block; color: #17243b; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.landing-ficha-barra-info span { color: #5b6475; font-size: .85rem; }
.landing-ficha-barra-boton { flex: 0 0 auto; min-width: 260px; padding: .85rem 2rem; font-size: 1.05rem; text-align: center; }
.landing-ficha-barra-cerrado { border-radius: 999px; background: #eef1f7; color: #6b7280; font-weight: 700; }
body.landing-con-barra-fija { padding-bottom: 96px; }
body.landing-con-barra-fija .btn-whatsapp { bottom: 110px; }
@media (max-width: 767.98px) {
    .landing-ficha-barra-info { display: none; }
    .landing-ficha-barra-boton { width: 100%; min-width: 0; }
}

/* Aviso "Enlace copiado" */
.landing-ficha-aviso { position: fixed; left: 50%; bottom: 120px; z-index: 1030; padding: .6rem 1.1rem; border-radius: 999px; background: #17243b; color: #ffffff; font-size: .9rem; font-weight: 600; opacity: 0; pointer-events: none; transform: translate(-50%, 10px); transition: opacity .2s ease, transform .2s ease; }
.landing-ficha-aviso.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* Portafolio: subtítulo, video destacado, cifras, bloques y piezas oficiales */
.landing-ficha-subtitulo { font-size: 1.05rem; font-weight: 600; color: #2D68C4; margin: -.5rem 0 1rem; }
.landing-ficha-video-destacado { padding: 1rem; }
.landing-ficha-video-destacado .ratio { border-radius: 12px; overflow: hidden; }
.landing-ficha-video-titulo { font-size: 1rem; font-weight: 700; color: #17243b; margin: .75rem 0 0; }
.landing-cifras { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: .75rem; }
.landing-cifra { display: flex; flex-direction: column; gap: .25rem; padding: 1rem; border-radius: 12px; background: #f4f6fb; }
.landing-cifra strong { font-size: 1.6rem; font-weight: 800; line-height: 1.1; color: #371A79; overflow-wrap: anywhere; }
.landing-cifra span { font-size: .88rem; color: #40516a; }
.landing-bloques { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: .75rem; }
.landing-bloque { padding: 1rem; border: 1px solid #eef1f7; border-radius: 12px; }
.landing-bloque h3, .landing-momentos h3 { font-size: 1rem; font-weight: 700; color: #17243b; margin-bottom: .4rem; }
.landing-bloque p:last-child, .landing-momentos p:last-child { margin-bottom: 0; }
.landing-momentos { list-style: none; padding: 0 0 0 1.1rem; margin: 0; border-left: 3px solid #6CE5CC; display: grid; gap: 1rem; }
.landing-piezas { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: .75rem; }
.landing-pieza { display: flex; flex-direction: column; gap: .4rem; text-decoration: none; color: #17243b; }
.landing-pieza img, .landing-pieza-pdf { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 10px; background: #f4f6fb; border: 1px solid #eef1f7; }
.landing-pieza-pdf { display: flex; align-items: center; justify-content: center; font-size: 2.5rem; color: #2D68C4; }
.landing-pieza-titulo { font-size: .85rem; font-weight: 600; }
.landing-pieza:hover .landing-pieza-titulo, .landing-pieza:focus-visible .landing-pieza-titulo { text-decoration: underline; }

@media (max-width: 575.98px) {
    .landing-ficha-cuerpo { padding: 1.25rem 1.25rem 1.5rem; }
    .landing-ficha-detalles { padding: .25rem 1.25rem; }
}
@media (prefers-reduced-motion: reduce) {
    .landing-ficha-barra, .landing-ficha-compartir, .landing-ficha-aviso { transition: none; }
}

/* =========================================
   EFECTOS DEL INICIO (hero con partículas, aparición al hacer scroll, contadores)
   ========================================= */
.landing-hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 80vh;
    overflow: hidden;
    color: #ffffff;
    background: linear-gradient(135deg, #371A79 0%, #0081FA 100%);
}
/* Halos de color que se desplazan lentamente detrás de las partículas. */
.landing-hero::before,
.landing-hero::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.45;
    pointer-events: none;
    animation: landingHalo 16s ease-in-out infinite alternate;
}
.landing-hero::before { width: 420px; height: 420px; top: -120px; left: -80px; background: #6CE5CC; }
.landing-hero::after { width: 520px; height: 520px; bottom: -200px; right: -120px; background: #6031A6; animation-delay: -8s; }
@keyframes landingHalo {
    from { transform: translate(0, 0) scale(1); }
    to { transform: translate(60px, 40px) scale(1.15); }
}
.landing-hero-particulas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; }
.landing-hero-contenido { position: relative; z-index: 2; pointer-events: none; }
.landing-hero-contenido a, .landing-hero-contenido img { pointer-events: auto; }
.landing-hero-resaltado {
    background: linear-gradient(90deg, #6CE5CC, #9FF3E2, #5CB8F2, #6CE5CC);
    background-size: 300% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: landingBrillo 6s linear infinite;
}
@keyframes landingBrillo { to { background-position: 300% 0; } }
.landing-hero-flotante { animation: landingFlotar 6s ease-in-out infinite; }
@keyframes landingFlotar {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-14px); }
}

/* Al bajar solo se refuerza la sombra: el alto del menú y el logo no cambian. */
.landing-site-nav.is-scrolled { box-shadow: 0 6px 24px rgba(39, 33, 74, 0.12) !important; }

/* Aparición al hacer scroll: solo se oculta el contenido si el JS está activo. */
.js-revelar [data-revelar],
.js-revelar [data-revelar-grupo] > * {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1);
    transition-delay: var(--revelar-retraso, 0s);
}
.js-revelar [data-revelar="izquierda"] { transform: translateX(-40px); }
.js-revelar .is-revelado[data-revelar],
.js-revelar [data-revelar-grupo].is-revelado > * { opacity: 1; transform: none; }

/* Metodología: los íconos "laten" al aparecer. */
.js-revelar .step-container.is-revelado .step-icon { animation: landingPulso .6s ease-out both; animation-delay: calc(var(--revelar-retraso, 0s) + .35s); }
@keyframes landingPulso {
    0% { transform: scale(.6); }
    60% { transform: scale(1.12); }
    100% { transform: scale(1); }
}
.step-icon { transition: transform .3s ease, box-shadow .3s ease; }
.step-item:hover .step-icon { transform: translateY(-4px) scale(1.06); box-shadow: 0 12px 24px rgba(55, 26, 121, 0.25) !important; }

.landing-contador { font-variant-numeric: tabular-nums; }

@media (max-width: 767.98px) {
    .landing-hero::before, .landing-hero::after { width: 260px; height: 260px; }
}
@media (prefers-reduced-motion: reduce) {
    .landing-hero::before, .landing-hero::after, .landing-hero-resaltado, .landing-hero-flotante,
    .js-revelar .step-container.is-revelado .step-icon { animation: none; }
    .js-revelar [data-revelar], .js-revelar [data-revelar-grupo] > * { opacity: 1; transform: none; transition: none; }
}
