/* ==========================================================================
   45 Masters de la Tecnología 2026 — capa de marca sobre la plantilla EvenTro
   (variante index-6). Paleta tomada del brochure: navy profundo + azul
   eléctrico + cian.
   ========================================================================== */

:root {
    /* Color de acento de la variante 6 (morado) → azul eléctrico de la marca */
    --main-five-hex: #1f7aff;
    --main-five-h: 215;
    --main-five-s: 100%;
    --main-five-l: 56%;
    /* Fondo de la barra del header */
    --main-seven-h: 222;
    --main-seven-s: 75%;
    --main-seven-l: 12%;

    --m45-navy: #050d24;
    --m45-navy-2: #0a1838;
    --m45-blue: #1f7aff;
    --m45-cyan: #29c4ff;
    --m45-line: rgba(120, 170, 255, 0.16);
}

html {
    scroll-behavior: smooth;
}

section[id] {
    scroll-margin-top: 110px;
}

.home-six-bg {
    background: var(--m45-navy) !important;
}

.preloader svg path {
    fill: var(--m45-navy-2);
}

.text-main-five-600 {
    color: var(--m45-cyan) !important;
}

/* Header ------------------------------------------------------------------ */
.header-six nav {
    background: rgba(8, 20, 50, 0.72);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-color: var(--m45-line);
}

.m45-header-logo {
    height: 66px;
    width: auto;
}

@media (max-width: 575px) {
    .m45-header-logo {
        height: 46px;
    }
}

.header-six .nav-menu__link:hover {
    color: var(--m45-cyan) !important;
}

.mobile-menu {
    background: var(--m45-navy-2);
}

/* Hero -------------------------------------------------------------------- */
.m45-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 170px 0 110px;
    background-size: cover;
    background-position: center;
}

.m45-hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 220px;
    background: linear-gradient(180deg, transparent, var(--m45-navy));
    z-index: 0;
}

.m45-hero-glow {
    position: absolute;
    width: 760px;
    height: 760px;
    right: -120px;
    top: 50%;
    transform: translateY(-50%);
    background: radial-gradient(circle, rgba(31, 122, 255, 0.38) 0%, rgba(41, 196, 255, 0.12) 40%, transparent 70%);
    filter: blur(10px);
    pointer-events: none;
}

.m45-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border-radius: 999px;
    border: 1px solid var(--m45-line);
    background: rgba(31, 122, 255, 0.12);
    color: #cfe3ff;
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 0.5px;
    margin-bottom: 26px;
}

.m45-pill i {
    color: var(--m45-cyan);
}

.m45-hero-title {
    font-family: var(--heading-font);
    font-weight: 700;
    font-size: clamp(2.4rem, 1.2rem + 4.2vw, 5rem);
    line-height: 1.05;
    letter-spacing: -1px;
    margin-bottom: 26px;
    text-transform: uppercase;
}

.m45-gradient-text {
    background: linear-gradient(90deg, var(--m45-cyan), var(--m45-blue));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.m45-hero-lead {
    font-size: clamp(1.05rem, 0.9rem + 0.5vw, 1.35rem);
    max-width: 620px;
    margin-bottom: 40px;
}

.m45-hero-logo {
    width: 100%;
    max-width: 460px;
    filter: drop-shadow(0 0 40px rgba(41, 150, 255, 0.45));
}

@media (max-width: 991px) {
    .m45-hero {
        padding-top: 130px;
        min-height: auto;
    }

    .m45-hero-logo {
        max-width: 260px;
    }
}

.m45-btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 26px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    font-weight: 600;
    transition: all 0.3s ease;
}

.m45-btn-ghost:hover {
    border-color: var(--m45-cyan);
    color: var(--m45-cyan);
}

/* Marquee: tipografía de la marca en vez de la manuscrita de la plantilla */
.maquee-six-area .maquee-title {
    font-family: var(--heading-font);
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: clamp(2rem, 1rem + 3vw, 4rem);
}

/* Secciones alternas ------------------------------------------------------ */
.m45-band {
    background: linear-gradient(180deg, var(--m45-navy-2) 0%, #071331 100%);
    border-top: 1px solid var(--m45-line);
    border-bottom: 1px solid var(--m45-line);
}

.m45-cover {
    aspect-ratio: 4 / 3.4;
    object-fit: cover;
}

/* El evento --------------------------------------------------------------- */
.m45-quote {
    margin: 32px 0 0;
    padding: 22px 26px;
    border-left: 4px solid var(--m45-blue);
    background: rgba(31, 122, 255, 0.08);
    border-radius: 0 12px 12px 0;
    color: #fff;
    font-family: var(--heading-font);
    font-weight: 700;
    font-size: clamp(1.1rem, 0.9rem + 0.6vw, 1.45rem);
    line-height: 1.35;
}

.m45-about-media {
    position: relative;
    padding: 0 0 70px 50px;
}

.m45-about-main {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 20px;
    border: 1px solid var(--m45-line);
}

.m45-about-sub {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 52%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-radius: 16px;
    border: 6px solid var(--m45-navy);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}

.m45-about-badge {
    position: absolute;
    right: 24px;
    bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 22px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--m45-blue), #0a4fd1);
    box-shadow: 0 16px 40px rgba(31, 122, 255, 0.4);
    color: #fff;
}

.m45-about-badge-num {
    font-family: var(--heading-font);
    font-size: 52px;
    font-weight: 700;
    line-height: 1;
}

.m45-about-badge-text {
    font-weight: 600;
    line-height: 1.2;
    font-size: 15px;
}

@media (max-width: 575px) {
    .m45-about-media {
        padding: 0 0 50px 20px;
    }

    .m45-about-badge {
        right: 10px;
        bottom: 10px;
        padding: 10px 14px;
    }

    .m45-about-badge-num {
        font-size: 38px;
    }
}

/* Audiencia --------------------------------------------------------------- */
.m45-check-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.m45-check-list li {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    color: #fff;
    font-size: 18px;
    line-height: 1.45;
}

.m45-check-list i {
    color: var(--m45-cyan);
    font-size: 24px;
    flex-shrink: 0;
    margin-top: 1px;
}

/* Paneles ----------------------------------------------------------------- */
.service-six-card-thumb {
    min-height: 260px;
}

.service-six-card-thumb img {
    min-height: 100%;
}

.service-six-card-content {
    background: rgba(31, 122, 255, 0.08);
    border: 1px solid var(--m45-line);
}

.service-six-card-content-title {
    font-size: clamp(1.25rem, 1rem + 0.7vw, 1.7rem);
    line-height: 1.25 !important;
}

.m45-panel-tag {
    display: inline-block;
    margin-bottom: 14px;
    padding: 5px 12px;
    border-radius: 999px;
    background: rgba(41, 196, 255, 0.14);
    color: var(--m45-cyan);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.4s ease;
}

.service-six-card:hover .m45-panel-tag {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.service-six-card:hover .service-six-card-content-description {
    color: #fff !important;
}

/* Categorías -------------------------------------------------------------- */
.m45-cat {
    position: relative;
    height: 100%;
    padding: 28px 24px 26px;
    border-radius: 16px;
    border: 1px solid var(--m45-line);
    background: rgba(255, 255, 255, 0.03);
    overflow: hidden;
    transition: transform 0.35s ease, border-color 0.35s ease, background 0.35s ease;
}

.m45-cat::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(31, 122, 255, 0.25), transparent 60%);
    opacity: 0;
    transition: opacity 0.35s ease;
}

.m45-cat:hover {
    transform: translateY(-4px);
    border-color: rgba(41, 196, 255, 0.55);
}

.m45-cat:hover::before {
    opacity: 1;
}

.m45-cat > * {
    position: relative;
}

.m45-cat-num {
    position: absolute;
    top: 18px;
    right: 20px;
    font-family: var(--heading-font);
    font-size: 40px;
    font-weight: 700;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 1px rgba(120, 170, 255, 0.35);
}

.m45-cat i {
    display: block;
    font-size: 38px;
    color: var(--m45-cyan);
    margin-bottom: 18px;
}

.m45-cat h3 {
    color: #fff;
    font-size: 19px;
    font-weight: 700;
    line-height: 1.3;
    margin: 0;
    padding-right: 30px;
}

/* Agenda ------------------------------------------------------------------ */
.m45-sticky {
    position: sticky;
    top: 130px;
}

.m45-agenda {
    list-style: none;
    margin: 0;
    padding: 0;
    position: relative;
}

.m45-agenda::before {
    content: "";
    position: absolute;
    left: 152px;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background: linear-gradient(180deg, var(--m45-cyan), var(--m45-blue) 60%, transparent);
    opacity: 0.5;
}

.m45-agenda li {
    position: relative;
    display: flex;
    gap: 58px;
    align-items: baseline;
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.m45-agenda li::before {
    content: "";
    position: absolute;
    left: 147px;
    top: 24px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--m45-navy);
    border: 2px solid var(--m45-blue);
}

.m45-agenda-time {
    flex: 0 0 120px;
    color: #9fb8e6;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    font-size: 15px;
}

.m45-agenda-title {
    color: #fff;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.4;
}

.m45-agenda-title em {
    font-style: normal;
    display: inline-block;
    margin-right: 8px;
    padding: 2px 10px;
    border-radius: 6px;
    background: rgba(41, 196, 255, 0.15);
    color: var(--m45-cyan);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    vertical-align: 2px;
}

.m45-agenda li.is-panel .m45-agenda-title {
    font-weight: 700;
    font-family: var(--heading-font);
    font-size: 20px;
}

.m45-agenda li.is-panel::before {
    background: var(--m45-blue);
}

.m45-agenda li.is-keynote .m45-agenda-title {
    color: #b9cdf0;
}

.m45-agenda li.is-award {
    margin: 10px 0;
    padding: 20px 20px 20px 0;
    border: 0;
    border-radius: 14px;
    background: linear-gradient(90deg, rgba(31, 122, 255, 0.28), rgba(31, 122, 255, 0.04));
}

.m45-agenda li.is-award::before {
    background: var(--m45-cyan);
    border-color: var(--m45-cyan);
    box-shadow: 0 0 0 6px rgba(41, 196, 255, 0.2);
    top: 28px;
}

.m45-agenda li.is-award .m45-agenda-title {
    font-family: var(--heading-font);
    font-weight: 700;
    font-size: 22px;
}

.m45-agenda li.is-award i {
    color: #ffcf4a;
}

@media (max-width: 575px) {
    .m45-agenda::before,
    .m45-agenda li::before {
        display: none;
    }

    .m45-agenda li {
        flex-direction: column;
        gap: 4px;
    }

    .m45-agenda-time {
        flex: none;
    }

    .m45-agenda li.is-award {
        padding: 16px;
    }
}

/* Ecosistema -------------------------------------------------------------- */
.m45-eco-card {
    background: #fff;
    border-radius: 24px;
    padding: clamp(10px, 2vw, 28px);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}

.m45-eco-card img {
    border-radius: 12px;
}

/* Alcance ----------------------------------------------------------------- */
.m45-stat {
    height: 100%;
    padding: 24px;
    border-radius: 16px;
    border: 1px solid var(--m45-line);
    background: rgba(255, 255, 255, 0.03);
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.m45-stat-hero {
    background: linear-gradient(135deg, var(--m45-blue), #0a4fd1);
    border-color: transparent;
}

.m45-stat-num {
    font-family: var(--heading-font);
    font-weight: 700;
    color: #fff;
    font-size: clamp(2rem, 1.4rem + 1.6vw, 2.9rem);
    line-height: 1.05;
    display: flex;
    align-items: center;
    gap: 8px;
}

.m45-stat-num.sm {
    font-size: clamp(1.4rem, 1.1rem + 0.8vw, 1.8rem);
}

.m45-stat-num i {
    color: var(--m45-cyan);
    font-size: 0.8em;
}

.m45-stat-label {
    color: #b9cdf0;
    font-size: 15px;
}

.m45-stat-hero .m45-stat-label {
    color: #e6efff;
}

.m45-stat .odometer {
    font-family: inherit;
    line-height: 1;
}

.m45-note {
    margin: 18px 0 0;
    color: #8aa3cf;
    font-size: 14px;
}

.m45-phone {
    max-width: 340px;
    width: 80%;
    filter: drop-shadow(0 30px 60px rgba(31, 122, 255, 0.35));
}

/* Beneficios -------------------------------------------------------------- */
.m45-benefit {
    height: 100%;
    padding: 28px 22px;
    border-radius: 16px;
    border: 1px solid var(--m45-line);
    background: rgba(255, 255, 255, 0.03);
    text-align: center;
    transition: all 0.35s ease;
}

.m45-benefit:hover {
    border-color: rgba(41, 196, 255, 0.55);
    background: rgba(31, 122, 255, 0.1);
}

.m45-benefit i {
    font-size: 42px;
    color: var(--m45-cyan);
    margin-bottom: 14px;
    display: inline-block;
}

.m45-benefit p {
    color: #fff;
    font-weight: 600;
    font-size: 17px;
    line-height: 1.35;
    margin: 0;
}

/* Paquetes ---------------------------------------------------------------- */
.m45-packages {
    background:
        radial-gradient(900px 500px at 15% 0%, rgba(31, 122, 255, 0.22), transparent 70%),
        radial-gradient(700px 500px at 90% 100%, rgba(41, 196, 255, 0.14), transparent 70%),
        var(--m45-navy);
}

.m45-pkg {
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 40px 32px !important;
    border-radius: 18px !important;
    border-color: var(--m45-line) !important;
}

.m45-pkg:hover {
    border-color: rgba(41, 196, 255, 0.7) !important;
}

.m45-pkg.is-featured {
    border: 1px solid var(--m45-blue) !important;
    background: linear-gradient(180deg, rgba(31, 122, 255, 0.22), rgba(31, 122, 255, 0.05)) !important;
    box-shadow: 0 30px 80px rgba(31, 122, 255, 0.25);
}

.m45-pkg-ribbon {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 16px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--m45-cyan), var(--m45-blue));
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    white-space: nowrap;
}

.m45-pkg .ticket-six-card-tag {
    font-family: var(--body-font);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0.7;
    margin-bottom: 12px;
}

.m45-pkg .ticket-six-card-name {
    color: var(--m45-cyan);
    font-size: 28px;
    margin-bottom: 18px;
}

.m45-pkg-price {
    text-align: center;
    padding-bottom: 24px;
    margin-bottom: 20px;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.25);
}

.m45-pkg-price span {
    display: block;
    font-family: var(--heading-font);
    font-weight: 700;
    color: #fff;
    font-size: clamp(2.2rem, 1.6rem + 1.4vw, 3rem);
    line-height: 1;
    letter-spacing: -1px;
}

.m45-pkg-price small {
    display: block;
    margin-top: 6px;
    color: #9fb8e6;
    font-weight: 600;
    letter-spacing: 1px;
}

.m45-pkg-group {
    margin: 14px 0 8px;
    color: var(--m45-cyan);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.m45-pkg ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.m45-pkg ul:last-of-type {
    margin-bottom: 32px;
}

.m45-pkg li {
    position: relative;
    padding-left: 26px;
    color: #e6efff;
    font-size: 15px;
    line-height: 1.4;
}

.m45-pkg li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 3px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: rgba(41, 196, 255, 0.18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%2329c4ff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat;
}

.m45-pkg-btn {
    margin-top: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 14px 20px;
    border-radius: 999px;
    border: 1px solid var(--m45-blue);
    color: #fff;
    font-weight: 600;
    transition: all 0.3s ease;
}

.m45-pkg-btn:hover,
.m45-pkg.is-featured .m45-pkg-btn {
    background: var(--m45-blue);
    color: #fff;
}

.m45-pkg.is-featured .m45-pkg-btn:hover {
    background: #fff;
    color: var(--m45-navy);
}

/* Contacto ---------------------------------------------------------------- */
.m45-contact {
    background: linear-gradient(180deg, var(--m45-navy) 0%, var(--m45-navy-2) 100%);
    border-top: 1px solid var(--m45-line);
}

.m45-form-card {
    padding: clamp(24px, 3vw, 44px);
    border-radius: 24px;
    border: 1px solid var(--m45-line);
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(10px);
}

.m45-label {
    display: block;
    margin-bottom: 6px;
    color: #b9cdf0;
    font-size: 14px;
    font-weight: 600;
}

.m45-input {
    width: 100%;
    padding: 14px 18px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(5, 13, 36, 0.6);
    color: #fff;
    font-size: 16px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.m45-input:focus {
    outline: none;
    border-color: var(--m45-blue);
    box-shadow: 0 0 0 3px rgba(31, 122, 255, 0.25);
}

select.m45-input option {
    background: var(--m45-navy-2);
    color: #fff;
}

.m45-status {
    min-height: 24px;
    margin-bottom: 12px;
    font-size: 15px;
    font-weight: 600;
}

/* Footer ------------------------------------------------------------------ */
.m45-footer {
    background: #030817;
    border-top: 1px solid var(--m45-line);
}

.m45-footer-divider {
    width: 1px;
    height: 56px;
    background: rgba(255, 255, 255, 0.2);
}

.m45-footer-nav a {
    color: #b9cdf0;
    font-weight: 500;
}

.m45-footer-nav a:hover {
    color: var(--m45-cyan);
}

/* Ajustes finos ----------------------------------------------------------- */
.section-sub-title {
    font-family: var(--heading-font) !important;
    font-style: normal !important;
    font-weight: 700 !important;
    font-size: 15px !important;
    letter-spacing: 3px !important;
    text-transform: uppercase;
    margin-block-end: 18px !important;
}

.theme-btn-main {
    text-transform: none !important;
}

.section-description + .section-description {
    margin-top: 16px;
}

/* Franja lateral de "Audiencia": degradado en vez de bloque plano */
.choose-six-area::before {
    width: 36%;
    background: linear-gradient(160deg, var(--m45-blue) 0%, #0a3fae 100%);
}

/* Botón "volver arriba" con el azul de la marca */
.progress-wrap::after {
    color: var(--m45-blue) !important;
}

.progress-wrap svg.progress-circle path {
    stroke: var(--m45-blue) !important;
}
