:root {
    --bg-deep: #1b3969;
    --bg-panel: #1b3969;
    --bg-panel-2: #1b396a;
    --qubit-0: #4af0a2;
    --qubit-1: #41f0dd;
    --text-light: #e8eaf6;
    --text-muted: #98a1c9;
    --font-display: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
}

* {
    scroll-behavior: smooth;
}

body {
    background: var(--bg-deep);
    color: var(--text-light);
    font-family: var(--font-body);
    overflow-x: hidden;
    padding-top: 78px;
}

h1,
h2,
h3,
h4,
.brand {
    font-family: var(--font-display);
}

.eyebrow {
    font-family: var(--font-mono);
    letter-spacing: .08em;
    font-size: 1.5rem;
    color: var(--qubit-0);
    text-transform: none;
}

/* ---------- ORBE ---------- */
.qubit-orb {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    display: inline-block;
    background: radial-gradient(circle at 35% 30%, var(--qubit-0), var(--qubit-1) 80%);
    box-shadow: 0 0 12px rgba(76, 224, 210, .7);
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        box-shadow: 0 0 8px rgba(76, 224, 210, .6);
        transform: scale(1);
    }

    50% {
        box-shadow: 0 0 18px rgba(139, 92, 246, .8);
        transform: scale(1.15);
    }
}

/* ---------- ESTILOS PARA HEADER ---------- */
.navbar-quantum {
    background: rgb(27, 57, 106);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.navbar-quantum .nav-link {
    color: var(--text-muted);
    font-weight: 500;
    margin: 0 .4rem;
}

.navbar-quantum .nav-link:hover {
    color: var(--qubit-0);
}

.navbar-quantum .btn-quantum {
    padding: .72rem 1.3rem;
    white-space: nowrap;
    font-size: .92rem;
    line-height: 1.2;
    border-radius: 18px;
    box-shadow: 0 8px 22px rgba(74, 240, 162, .20);
}

.navbar-quantum .btn-quantum:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(74, 240, 162, .30);
}

.brand {
    color: var(--text-light);
    font-weight: 700;
    font-size: 1.25rem;
}

.brand span {
    color: var(--qubit-0);
}

.btn-quantum {
    background: linear-gradient(135deg, var(--qubit-0), var(--qubit-1));
    border: none;
    color: #0b1026;
    font-weight: 700;
    padding: .9rem 2rem;
    border-radius: 999px;
    transition: all .25s ease;
    box-shadow: 0 10px 30px rgba(74, 240, 162, .25);
}

.btn-quantum:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 40px rgba(74, 240, 162, .35);
    color: #0b1026;
}

.btn-outline-quantum {
    border: 1px solid rgba(232, 234, 246, .35);
    color: var(--text-light);
    border-radius: 50px;
    padding: .55rem 1.3rem;
    font-weight: 500;
    background: transparent;
}

.btn-outline-quantum:hover {
    border-color: var(--qubit-0);
    color: var(--qubit-0);
}

.logoQ {
    width: 180px;
    height: auto;
    display: block;
}

.logoCeni {
    width: 125px;
    height: auto;
}

.logoTec {
    width: 90px;
    height: auto;
}

/* ---------- Carousel ---------- */
.banner-carousel {
    position: relative;
    width: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background: #1B396A;
}

.banner-carousel .carousel-item {
    position: relative;
}

.banner-carousel .carousel-item::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background: linear-gradient(
        to bottom,
        transparent 55%,
        rgba(27, 57, 105, .45) 75%,
        rgba(27, 57, 105, .9) 92%,
        #1b3969 100%
    );
}

.banner-carousel .carousel-control-prev,
.banner-carousel .carousel-control-next {
    width: 7%;
    opacity: 1;
    z-index: 5;
}

.banner-carousel .carousel-indicators {
    z-index: 5;
}

/* ---------- HERO PRINCIPAL ---------- */
.hero-quantum {
    position: relative;
    min-height: 680px;
    padding: 0;
    display: flex;
    align-items: center;
    overflow: hidden;
    background:
        radial-gradient(
            circle at 82% 22%,
            rgba(65, 240, 221, .16),
            transparent 30%
        ),
        radial-gradient(
            circle at 12% 85%,
            rgba(65, 88, 255, .14),
            transparent 32%
        ),
        var(--bg-deep);
}

.hero-quantum::before {
    content: "";
    position: absolute;
    width: 620px;
    height: 620px;
    right: -260px;
    top: -120px;
    border: 1px solid rgba(65,240,221,.08);
    border-radius: 50%;
}

.hero-quantum::after {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    right: -120px;
    top: 110px;
    border: 1px solid rgba(65,88,255,.08);
    border-radius: 50%;
}

.hero-quantum .container {
    position: relative;
    z-index: 2;
}

.hero-kicker {
    margin-bottom: 1rem;
    color: var(--qubit-0);
    font-family: var(--font-mono);
    font-size: .9rem;
    font-weight: 500;
    letter-spacing: .18em;
}

.hero-title {
    max-width: 860px;
    margin-bottom: 1.5rem;
    color: var(--text-light);
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 4.4vw, 4.2rem);
    font-weight: 700;
    line-height: 1.04;
    letter-spacing: -.04em;
}

.hero-title span {
    display: block;
    color: var(--qubit-0);
}

.hero-description {
    max-width: 680px;
    margin-bottom: 2rem;
    color: rgba(232, 234, 246, .78);
    font-size: 1.05rem;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.btn-hero-secondary {
    padding: .9rem 2rem;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.18);
    color: var(--text-light);
    text-decoration: none;
    font-weight: 600;
    transition: all .25s ease;
    background: rgba(255,255,255,.03);
}

.btn-hero-secondary:hover {
    color: var(--text-light);
    border-color: var(--qubit-0);
    background: rgba(74,240,162,.08);
    transform: translateY(-3px);
}

.hero-identity {
    width: 100%;
    margin-left: auto;
    padding: 1.8rem;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 24px;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 22px 55px rgba(0, 0, 0, .18);
}

.hero-logo {
    display: block;
    width: 205px;
    height: 205px;
    margin: 0 auto 1.6rem;
    object-fit: contain;
}

.hero-event-data {
    display: flex;
    flex-direction: column;
    gap: .75rem;
}

.event-data-item {
    padding: .9rem 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 255, 255, .035);
    border: 1px solid rgba(255, 255, 255, .07);
    border-radius: 14px;
}

.event-data-item i {
    width: 28px;
    flex-shrink: 0;
    color: var(--qubit-0);
    font-size: 1.15rem;
    text-align: center;
}

.event-data-label {
    display: block;
    margin-bottom: .2rem;
    color: var(--qubit-0);
    font-family: var(--font-mono);
    font-size: .68rem;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.event-data-item strong {
    color: var(--text-light);
    font-size: .95rem;
    line-height: 1.35;
}

/* ---------- ESTILOS SECTIONS ---------- */
section {
    padding: 2.5rem 0;
}

.section-panel {
    background: var(--bg-panel);
}

.section-title {
    font-size: clamp(1.7rem, 3vw, 2.4rem);
    font-weight: 700;
    margin-bottom: .4rem;
}

.section-sub {
    color: var(--text-muted);
    max-width: 640px;
}



/* ---------- ESTILO PARA CARDS DE PONENTES ---------- */
.speaker-card {
    background: var(--bg-panel-2);
    border: 1px solid rgba(255, 255, 255, .06);
    border-radius: 18px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform .25s ease, border-color .25s ease;
}

.speaker-card:hover {
    transform: translateY(-6px);
    border-color: rgba(76, 224, 210, .4);
}

.speaker-photo {
    width: 100%;
    height: 380px;
    object-fit: contain;
    background: #f6f4ef;
}

.speaker-body {
    padding: 1.25rem 1.4rem 1.5rem;

    display: flex;
    flex-direction: column;
    flex: 1;
}

.speaker-name {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: .75rem;
}

.speaker-role {
    color: var(--qubit-0);
    font-family: var(--font-mono);
    font-size: .95rem;
    line-height: 1.6;
    margin-bottom: 1.2rem;
}

.speaker-topic {
    color: var(--text-muted);
    font-size: .9rem;
}

.btn-link-quantum {
    color: var(--text-light);
    font-size: .95rem;
    text-decoration: none;
    border-bottom: 1px solid rgba(232, 234, 246, .3);

    margin-top: auto;
}

.btn-link-quantum:hover {
    color: var(--qubit-0);
    border-color: var(--qubit-0);
}

/* ---------- ESTILOS PARA REGISTRO ---------- */
.registro-card {
    background: linear-gradient(135deg, rgba(76, 224, 210, .08), rgba(139, 92, 246, .08));
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 24px;
    padding: 3rem;
}

.registro-location-card {
    height: auto;
    min-height: 0;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 22px;
    background: rgba(255, 255, 255, .04);
    display: flex;
    flex-direction: column;
}

.registro-map {
    position: relative;
    min-height: 190px;
    flex: 1;
    overflow: hidden;
}

.registro-map iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    filter: saturate(.85) contrast(1.05);
}

.registro-location-body {
    padding: 1.35rem 1.5rem 1.5rem;
}

.registro-location-label {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    color: var(--qubit-0);
    font-family: var(--font-mono);
    font-size: .8rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: .75rem;
}

.registro-location-body h3 {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: .45rem;
}

.registro-location-body p {
    color: var(--text-muted);
    font-size: .92rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.registro-map-link {
    color: var(--text-light);
    font-weight: 600;
    font-size: .9rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: .5rem;
}

.registro-map-link:hover {
    color: var(--qubit-0);
}

.ket-list li {
    font-family: var(--font-mono);
    color: var(--text-muted);
    font-size: .92rem;
    margin-bottom: .5rem;
}

.ket-list li i {
    color: var(--qubit-0);
    width: 20px;
}

/* ---------- MODAL ---------- */
.modal-content {
    background: var(--bg-panel-2);
    color: var(--text-light);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 16px;
}

.modal-header,
.modal-footer {
    border-color: rgba(255, 255, 255, .08);
}

.btn-close {
    filter: invert(1);
}

/* ---------- BOTONES DE REGISTRO ---------- */
#registro .btn {
    margin-bottom: .9rem;
}

#registro .btn-quantum {
    margin-right: .75rem;
}

/* ---------- FOOTER ---------- */
.footer-quantum {
    background: #152f59;
    color: var(--text-muted);
    padding: 3rem 0 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, .08);
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 1.4rem;
}

.footer-logo {
    width: 105px;
    height: auto;
    flex-shrink: 0;
}

.footer-brand h2 {
    color: var(--text-light);
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: .4rem;
}

.footer-brand p {
    max-width: 560px;
    margin: 0;
    font-size: .92rem;
    line-height: 1.6;
}

.footer-links {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer-links a {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    padding: .7rem 1.1rem;
    color: var(--text-muted);
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 999px;
    transition: all .25s ease;
}

.footer-links a:hover {
    color: var(--qubit-0);
    border-color: rgba(74, 240, 162, .45);
    background: rgba(74, 240, 162, .06);
    transform: translateY(-2px);
}

.footer-divider {
    height: 1px;
    background: rgba(255, 255, 255, .08);
    margin: 2rem 0 1.25rem;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    font-size: .82rem;
}

.footer-bottom p {
    margin: 0;
}

/* ==================================================
   AJUSTES GENERALES PARA TELÉFONOS
================================================== */

@media (max-width: 767px) {

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

    body {
        padding-top: 70px;
    }

    .container,
    .container-fluid {
        padding-left: 18px;
        padding-right: 18px;
    }

    h1 {
        font-size: 2.3rem;
        line-height: 1.1;
    }

    h2 {
        font-size: 1.9rem;
        line-height: 1.2;
    }

    h3 {
        font-size: 1.35rem;
    }

    p {
        font-size: 0.96rem;
        line-height: 1.65;
    }

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

    section {
        scroll-margin-top: 75px;
    }

}

@media (max-width: 767px) {

    .navbar-quantum {
        min-height: 72px;
        padding: 8px 10px !important;
    }

    .navbar-quantum .container-fluid {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    column-gap: 5px;
    row-gap: 0;
    padding-left: 10px !important;
    padding-right: 10px !important;
    }

    /* MENÚ A LA IZQUIERDA */

    .navbar-toggler {
        order: 1;

        width: 44px;
        height: 44px;

        margin-right: 6px;
        padding: 7px;

        border: 1px solid rgba(255, 255, 255, 0.35);
        border-radius: 10px;
    }

    .navbar-toggler-icon{
        background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='white' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.5' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
    }

    .navbar-toggler:focus {
        box-shadow: none;
    }

    /* LOGO Q-DAY */

    /* CONTENEDOR DEL LOGO Q-DAY */

    .navbar-brand {

        order: 2;

        display: flex;
        align-items: center;

        flex-shrink: 0;

        margin: 0;
        padding: 0;

    }

    .logoQ {
    width: 105px;
    max-width: 105px;
    height: auto;

    margin-right: 0;
    }

    /* LOGO CENIDET */

    .logoCeni {
    order: 3;
    flex-shrink: 0;

    display: block;
    width: 76px;
    max-width: 76px;
    height: auto;

    margin-left: auto;
    margin-right: 3px;
    }

    /* LOGO TECNM */

    .logoTec {
    order: 4;
    flex-shrink: 0;

    display: block;
    width: 58px;
    max-width: 58px;
    height: auto;

    margin: 0;
    }

    /* MENÚ DESPLEGABLE ABAJO */

    .navbar-collapse {
    order: 5;
    flex-basis: 100%;
    width: 100%;

    margin-top: 10px;
    padding: 15px;

    border-radius: 14px;
    background: #17396b;
    }

    .navbar-nav {
        width: 100%;
        align-items: stretch !important;
    }

    .navbar-nav .nav-item {
        width: 100%;
    }

    .navbar-nav .nav-link {
        width: 100%;
        padding: 11px 4px;
        text-align: left;
    }

    .navbar-nav .btn-quantum {
        width: 100%;
        margin-top: 10px;
        text-align: center;
    }

    /* HERO DERECHO EN MÓVIL */


    body {
        padding-top: 72px;
    }

        .info-hero-card{

        width:100%;
        max-width:420px;

        margin:40px auto 0;

    }

    .info-hero-logo{

        display:block;

        margin:0 auto 25px;

    }

    .info-card-info{

        width:100%;

    }

    .hero-identity{

            width:100%;
            max-width:420px;

            margin:0 auto;

    }

    /* ======FOOTER DEL INDEX EN MÓVIL================ */

    .footer-quantum {
        padding: 45px 18px 25px;
        text-align: center;
    }

    /* Logo y descripción */

    .footer-quantum .footer-brand {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 18px;
        width: 100%;
    }

    .footer-quantum .footer-logo {
        display: block;
        width: 150px;
        height: auto;
        margin: 0 auto;
    }

    .footer-quantum .footer-brand h2 {
        margin: 0 0 10px;
        color: #ffffff;
        font-size: 1.65rem;
        text-align: center;
    }

    .footer-quantum .footer-brand p {
        max-width: 340px;
        margin: 0 auto;
        color: #b8c4dc;
        font-size: 0.92rem;
        line-height: 1.65;
        text-align: center;
    }

    /* Botones */

    .footer-quantum .footer-links {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 14px;
        width: 100%;
    }

    .footer-quantum .footer-links a {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;

        width: 100%;
        max-width: 280px;
        min-height: 52px;

        padding: 12px 20px;

        border: 1px solid rgba(255, 255, 255, 0.18);
        border-radius: 16px;

        color: #d8e0f0;
        text-decoration: none;
    }

    /* Línea divisoria */

    .footer-quantum .footer-divider {
        width: 100%;
        height: 1px;
        margin: 34px 0 24px;
        background: rgba(255, 255, 255, 0.13);
    }

    /* Parte inferior */

    .footer-quantum .footer-bottom {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 8px;

        width: 100%;
        text-align: center;
    }

    .footer-quantum .footer-bottom p {
        max-width: 340px;
        margin: 0;
        color: #9eacc8;
        font-size: 0.82rem;
        line-height: 1.55;
        text-align: center;
    }

    /* =========PONENTES EN MÓVIL============ */

    #ponentes .col-md-6{
        display: flex;
        justify-content: center;
    }

    .speaker-card{

        max-width: 340px;
        width: 100%;

    }

    .speaker-photo{

        height: 300px;
        object-fit: cover;

    }

    .speaker-body{

        padding: 22px;

    }

    .speaker-name{

        font-size: 1.8rem;
        line-height: 1.2;

    }

    .speaker-role{

        font-size: .95rem;
        line-height: 1.6;

    }

    .btn-link-quantum{

        font-size: 1rem;

    }

    /* ======TEXTO DE PONENTES EN MÓVIL======== */

    .speaker-body{

        padding:18px;

    }

    .speaker-name{

        margin-bottom:12px;

        font-size:1rem;

        line-height:1.25;

    }

    .speaker-role{

        margin-bottom:18px;

        font-size:.95rem;

        line-height:1.5;

    }

    .btn-link-quantum{

        font-size:.95rem;

    }

}


/* ==================================================
   PANEL DE TALENTO EMERGENTE
================================================== */
.student-photo-andrea{
    object-fit: contain !important;
    object-position: center center !important;

    background: #ffffff;

    transform: scale(1.18);
}

.students-section{
    padding: 90px 0;
    background: #1b3969;
}

/* Encabezado de la sección */

.students-section .eyebrow{
    color: #4af0a2;
    margin-bottom: 12px;
}

.students-section .section-title{
    color: #ffffff;
    text-align: center;
    margin-bottom: 14px;
}

.students-section .section-sub{
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
    color: #b8c4dc;
    text-align: center;
    line-height: 1.7;
}

/* Tarjeta */

.student-card{
    height: 100%;

    display: flex;
    flex-direction: column;

    overflow: hidden;

    border: 1px solid rgba(255,255,255,.08);
    border-radius: 22px;

    background: #ffffff;

    box-shadow: 0 18px 45px rgba(6, 22, 48, .22);

    transition:
        transform .25s ease,
        box-shadow .25s ease,
        border-color .25s ease;
}

.student-card:hover{
    transform: translateY(-6px);

    border-color: rgba(74,240,162,.35);

    box-shadow: 0 25px 55px rgba(6, 22, 48, .28);
}

/* Fotografía */

.student-photo{
    width: 100%;
    height: 260px;

    display: block;

    object-fit: cover;
    object-position: center 20%;

    background: #eef3f8;
}

/* Retratos cuadrados: muestra la fotografía completa sin recortar el rostro. */
.student-photo-square{
    object-fit: contain;
    object-position: center;
    background: #ffffff;
}

/* Contenido */

.student-body{
    flex: 1;

    display: flex;
    flex-direction: column;

    padding: 24px 26px 26px;
}

/* Nombre */

.student-body h3{
    margin: 0 0 10px;

    color: #17396b;

    font-family: "Space Grotesk", sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1.3;
}

/* Institución */

.student-school{
    margin-bottom: 18px;

    color: #687084;

    font-size: .95rem;
    line-height: 1.5;
}

/* Botón */

.student-body .btn-link-quantum{
    margin-top: auto;

    color: #17396b;

    font-size: .95rem;
    font-weight: 600;

    text-decoration: none;

    border-bottom: 1px solid rgba(23,57,107,.25);
}

.student-body .btn-link-quantum:hover{
    color: #2cae7c;
    border-color: #2cae7c;
}


/* ==================================================
   PANEL DE TALENTO EMERGENTE - MÓVIL
================================================== */

@media (max-width: 767px){

    .students-section{
        padding: 65px 0;
    }

    .students-section .eyebrow{
        text-align: center;

        font-size: 1rem;
        line-height: 1.3;
    }

    .students-section .section-title{
        font-size: 2rem;
        line-height: 1.2;
    }

    .students-section .section-sub{
        max-width: 340px;

        margin-bottom: 35px !important;

        font-size: .95rem;
        line-height: 1.65;
    }

    .student-card{
        max-width: 340px;

        margin: 0 auto;

        border-radius: 20px;
    }

    .student-photo{
        height: 240px;
    }

    .student-body{
        padding: 20px 22px 22px;
    }

    .student-body h3{
        font-size: 1.2rem;
    }

    .student-school{
        font-size: .9rem;
    }

    .student-body .btn-link-quantum{
        font-size: .9rem;
    }

}
