/* ====================================================================
   Página de evento (/eventos/{slug})
   Usa las variables y componentes de professional.css.
   ==================================================================== */

/* ---- Hero ---- */
.ev-hero {
    position: relative; overflow: hidden; color: #fff; padding: 44px 0 60px;
    background:
        radial-gradient(60% 90% at 90% 0%, rgba(245, 179, 1, .22), transparent 60%),
        radial-gradient(50% 80% at 5% 100%, rgba(0, 87, 168, .5), transparent 60%),
        linear-gradient(135deg, #04162b 0%, #0b2a52 60%, #04162b 100%);
}
.ev-hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 48px; align-items: center; }
.ev-hero-text { min-width: 0; }
.ev-breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: .85rem; color: #b9cdea; margin-bottom: 22px; }
.ev-breadcrumb a { color: #fce286; text-decoration: none; font-weight: 600; }
.ev-breadcrumb a:hover { text-decoration: underline; }
.ev-breadcrumb [aria-current] { color: #fff; font-weight: 600; }
.ev-badge {
    display: inline-flex; align-items: center; gap: 8px; margin-bottom: 16px;
    background: rgba(245, 179, 1, .14); border: 1px solid rgba(245, 179, 1, .55); color: #fce286;
    font-family: var(--font-head); font-weight: 700; font-size: .84rem;
    padding: 7px 16px; border-radius: var(--radius-pill);
}
.ev-badge-end { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .35); color: #dbe7f8; }
.ev-badge-live { background: rgba(220, 38, 38, .18); border-color: rgba(248, 113, 113, .7); color: #fecaca; }
.ev-dot { width: 9px; height: 9px; border-radius: 50%; background: #ef4444; display: inline-block; animation: evPulse 1.4s ease-in-out infinite; }
@keyframes evPulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, .6); } 50% { box-shadow: 0 0 0 7px rgba(239, 68, 68, 0); } }
.ev-hero h1 {
    font-family: var(--font-head); font-weight: 800; color: #fff;
    font-size: clamp(2rem, 4.6vw, 3.2rem); line-height: 1.1; margin-bottom: 10px;
}
.ev-sub { font-family: var(--font-head); font-weight: 600; color: #fce286; font-size: clamp(1.05rem, 2.1vw, 1.4rem); margin-bottom: 22px; }
.ev-facts { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 10px; }
.ev-facts li { display: flex; align-items: flex-start; gap: 12px; color: #e6eefb; font-size: 1.02rem; }
.ev-facts i { color: var(--accent-color); width: 22px; text-align: center; margin-top: 3px; }

/* Cuenta regresiva */
.ev-countdown { display: flex; gap: 10px; margin-bottom: 24px; flex-wrap: wrap; }
.ev-countdown > div {
    min-width: 72px; text-align: center; padding: 10px 8px;
    background: rgba(255, 255, 255, .08); border: 1px solid rgba(245, 179, 1, .4); border-radius: 12px;
}
.ev-countdown b { display: block; font-family: var(--font-head); font-size: 1.7rem; color: #fff; line-height: 1.1; }
.ev-countdown small { color: #b9cdea; font-size: .72rem; text-transform: uppercase; letter-spacing: .6px; }
.ev-countdown .ev-live-msg { min-width: 0; padding: 12px 18px; color: #fecaca; font-weight: 700; display: flex; align-items: center; gap: 10px; }

/* Botones */
.ev-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 22px; }
.ev-cta-center { justify-content: center; margin: 34px 0 0; }
.ev-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px; text-decoration: none; border: 0; cursor: pointer;
    padding: 14px 26px; border-radius: var(--radius-pill); font-family: var(--font-head); font-weight: 700; font-size: .98rem;
    transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.ev-btn:hover { transform: translateY(-3px); }
.ev-btn-lg { padding: 16px 32px; font-size: 1.02rem; }
.ev-btn-gold { background: linear-gradient(135deg, #fce286, var(--accent-color)); color: #1d1500; box-shadow: 0 10px 24px rgba(245, 179, 1, .4); }
.ev-btn-gold:hover { box-shadow: 0 14px 30px rgba(245, 179, 1, .55); color: #1d1500; }
.ev-btn-wa { background: #1fae54; color: #fff; }
.ev-btn-wa:hover { color: #fff; box-shadow: 0 12px 26px rgba(31, 174, 84, .4); }
.ev-btn-blue { background: var(--primary-color); color: #fff; }
.ev-btn-blue:hover { color: #fff; box-shadow: 0 12px 26px rgba(0, 87, 168, .35); }

/* Compartir */
.ev-share { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.ev-share-lbl { color: #b9cdea; font-size: .85rem; font-weight: 600; margin-right: 4px; display: inline-flex; align-items: center; gap: 6px; }
.ev-share .share-btn { width: 40px; height: 40px; color: #fff; border-color: transparent; font-size: 1rem; }
.ev-share .sh-wa { background: #25d366; } .ev-share .sh-fb { background: #1877f2; } .ev-share .sh-x { background: #111; }
.ev-share .sh-in { background: #0a66c2; } .ev-share .sh-tg { background: #229ed9; } .ev-share .sh-mail { background: #ea4335; }
.ev-share .sh-copy { background: var(--primary-color); } .ev-share .sh-native { background: #7c3aed; }
.ev-share .share-btn:hover { color: #fff; filter: brightness(1.1); }
.ev-share-light { justify-content: center; margin-top: 22px; }
.ev-share-light .ev-share-lbl { color: var(--muted); }

/* Afiche */
.ev-hero-img { margin: 0; justify-self: center; width: 100%; max-width: 400px; }
.ev-hero-img img {
    width: 100%; height: auto; border-radius: 18px; display: block;
    border: 2px solid rgba(245, 179, 1, .65); box-shadow: 0 24px 60px rgba(0, 0, 0, .5);
}

/* ---- Secciones ---- */
.ev-section { padding: 68px 0; }
.ev-alt { background: var(--bg-light); }
.ev-narrow { max-width: 860px; }
.ev-head { text-align: center; max-width: 760px; margin: 0 auto 38px; }
.ev-head h2, .ev-two h2 { font-family: var(--font-head); color: var(--ink); font-size: clamp(1.5rem, 2.8vw, 2.1rem); margin-bottom: 10px; }
.ev-head p { color: var(--text-light); font-size: 1.04rem; }

.ev-ejes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.ev-eje {
    background: #fff; border: 1px solid var(--border-color); border-radius: var(--radius); padding: 30px 26px; text-align: center;
    box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.ev-eje:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--accent-color); }
.ev-eje-ico {
    width: 62px; height: 62px; margin: 0 auto 16px; border-radius: 18px; display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; color: #fff; background: linear-gradient(135deg, var(--primary-color), var(--primary-deep)); box-shadow: 0 10px 22px rgba(0, 87, 168, .28);
}
.ev-eje h3 { font-family: var(--font-head); color: var(--ink); font-size: 1.2rem; margin-bottom: 8px; }
.ev-eje p { color: var(--text-light); font-size: .95rem; line-height: 1.65; }

.ev-speakers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.ev-speaker {
    background: #fff; border: 1px solid var(--border-color); border-radius: var(--radius); padding: 30px 22px; text-align: center; box-shadow: var(--shadow-sm);
}
.ev-avatar {
    width: 84px; height: 84px; margin: 0 auto 14px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-family: var(--font-head); font-weight: 800; font-size: 1.7rem; color: #1d1500;
    background: linear-gradient(135deg, #fce286, var(--accent-color)); box-shadow: 0 10px 24px rgba(245, 179, 1, .35);
}
.ev-role { display: inline-block; font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .6px; color: var(--primary-color); margin-bottom: 8px; }
.ev-speaker h3 { font-family: var(--font-head); color: var(--ink); font-size: 1.12rem; margin-bottom: 6px; }
.ev-speaker p { color: var(--text-light); font-size: .92rem; line-height: 1.55; }

.ev-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px; align-items: start; }
.ev-two .section-eyebrow { display: inline-block; margin-bottom: 8px; }
.ev-check { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 12px; }
.ev-check li { display: flex; align-items: center; gap: 12px; font-size: 1.04rem; color: var(--text-dark); }
.ev-check i { color: #1d9d4f; }
.ev-reg-txt { color: var(--text-light); margin-bottom: 18px; }
.ev-regiones { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ev-regiones li {
    background: rgba(0, 87, 168, .08); color: var(--primary-dark, #00427f); font-family: var(--font-head);
    font-weight: 600; font-size: .82rem; padding: 6px 13px; border-radius: var(--radius-pill);
}

.ev-steps { list-style: none; padding: 0; margin: 0 auto; max-width: 980px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.ev-steps li { background: #fff; border: 1px solid var(--border-color); border-radius: var(--radius); padding: 30px 24px 26px; text-align: center; box-shadow: var(--shadow-sm); }
.ev-step-n {
    width: 46px; height: 46px; margin: 0 auto 14px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-family: var(--font-head); font-weight: 800; font-size: 1.15rem; color: #fff;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-deep)); box-shadow: 0 8px 18px rgba(0, 87, 168, .28);
}
.ev-steps h3 { font-family: var(--font-head); font-size: 1.1rem; color: var(--ink); margin-bottom: 6px; }
.ev-steps p { font-size: .93rem; color: var(--text-light); line-height: 1.6; }

.ev-kit { display: flex; flex-direction: column; gap: 14px; align-items: center; }
.ev-kit textarea {
    width: 100%; resize: none; padding: 18px 20px; border: 1px solid var(--border-color); border-radius: var(--radius);
    background: #fff; color: var(--text-dark); font: inherit; font-size: .96rem; line-height: 1.6; box-shadow: var(--shadow-sm);
}

.ev-faq { display: grid; gap: 12px; }
.ev-faq details { background: #fff; border: 1px solid var(--border-color); border-radius: 14px; padding: 0 22px; box-shadow: var(--shadow-sm); }
.ev-faq details[open] { border-color: var(--accent-color); }
.ev-faq summary { cursor: pointer; padding: 18px 0; font-family: var(--font-head); font-weight: 700; color: var(--ink); list-style: none; display: flex; justify-content: space-between; gap: 14px; }
.ev-faq summary::-webkit-details-marker { display: none; }
.ev-faq summary::after { content: '+'; color: var(--primary-color); font-size: 1.4rem; line-height: 1; }
.ev-faq details[open] summary::after { content: '–'; }
.ev-faq details p { padding: 0 0 18px; color: var(--text-light); line-height: 1.7; }

.ev-diploma { padding: 36px 0; }
.ev-diploma-box {
    display: flex; flex-direction: column; gap: 6px; text-decoration: none; color: #cfe0f7;
    background: linear-gradient(135deg, #04162b, #0b2a52); border: 1px solid rgba(245, 179, 1, .5);
    border-radius: 18px; padding: 24px 28px; box-shadow: var(--shadow-md); transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.ev-diploma-box:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.ev-diploma-box strong { font-family: var(--font-head); font-size: 1.25rem; color: #fff; }
.ev-diploma-box i { color: #fce286; }
.ev-diploma-tag { align-self: flex-start; background: var(--accent-color); color: #1d1500; font-family: var(--font-head); font-weight: 800; font-size: .72rem; letter-spacing: .5px; text-transform: uppercase; padding: 4px 11px; border-radius: var(--radius-pill); }

.ev-related { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
.ev-related a {
    display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; text-decoration: none;
    background: #fff; border: 1px solid var(--border-color); border-radius: var(--radius); padding: 22px 14px; box-shadow: var(--shadow-sm);
    transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.ev-related a:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--accent-color); }
.ev-related i { font-size: 1.5rem; color: var(--primary-color); }
.ev-related span { font-family: var(--font-head); font-weight: 700; color: var(--ink); }
.ev-related small { color: var(--text-light); }
.ev-fb { text-align: center; margin-top: 26px; }
.ev-fb a { color: #1877f2; font-weight: 700; text-decoration: none; }
.ev-fb a:hover { text-decoration: underline; }

/* ---- Responsive ---- */
@media (max-width: 960px) {
    .ev-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 34px; }
    .ev-hero-img { max-width: 360px; order: -1; }
    .ev-two { grid-template-columns: minmax(0, 1fr); gap: 38px; }
}
@media (max-width: 860px) {
    .ev-ejes, .ev-speakers, .ev-steps { grid-template-columns: minmax(0, 1fr); max-width: 520px; margin-left: auto; margin-right: auto; }
}
@media (max-width: 640px) {
    .ev-hero { padding: 30px 0 42px; }
    .ev-section { padding: 48px 0; }
    .ev-cta .ev-btn { flex: 1 1 100%; }
    .ev-countdown > div { min-width: 0; flex: 1 1 0; }
    .ev-countdown b { font-size: 1.4rem; }
    .ev-diploma-box { padding: 18px; }
}
