/* Magene Sedes MX v1.3.0 - Mobile-first */

.magene-landing {
    --mg-black:  #09090b;
    --mg-soft:   #18181b;
    --mg-orange: #F25822;
    --mg-obr:    #ff8044;
    --mg-odk:    #c43a00;
    --mg-cream:  #f5f0e6;
    --mg-white:  #ffffff;
    --mg-text:   #ededed;
    --mg-muted:  #999999;
    --mg-dim:    #555555;

    font-family: 'Inter', 'Helvetica Neue', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--mg-black);
    color: var(--mg-text);
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    line-height: 1.5;
    font-size: 1.6rem !important;
    padding: 0 !important;
    margin: 0 !important;
}

.magene-landing *, .magene-landing *::before, .magene-landing *::after { box-sizing: border-box; }
.magene-landing img { max-width: 100%; height: auto; display: block; }
.magene-landing ul { list-style: none; padding: 0; margin: 0; }
.magene-landing a { text-decoration: none; }
.magene-landing h2, .magene-landing h3 { margin: 0; }

.mg-orange { color: var(--mg-orange); }

/* Overrides temas WP */
.entry-content .magene-landing,
.page-content  .magene-landing,
article .magene-landing {
    background: var(--mg-black) !important;
    color: var(--mg-text) !important;
    padding: 0 !important;
    max-width: 100% !important;
}
.entry-content .magene-landing p { color: inherit !important; }

/* ============================================================
   HERO
   ============================================================ */
.mg-hero {
    position: relative;
    overflow: hidden;
    min-height: 85vw;
    max-height: 100vh;
}

@media (min-width: 600px) {
    .mg-hero { min-height: 420px; max-height: 1000px; }
}

.mg-hero-bg {
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    background-size: cover;
    background-position: center top;
}

.mg-hero-content {
    position: absolute;
z-index: 2;
display: flex;
flex-direction: column;
align-items: center;
text-align: center;
padding: 2.8rem 2rem 6rem;
gap: 1.2rem;
line-height: 0;
left: 0;
right: 0;
bottom: -1rem;
}

.mg-hero-logo {
    width: 9rem;
    height: auto;
}

.mg-hero-title {
    width: 100%;
    max-width: 360px;
    height: auto;
    filter: drop-shadow(0 0.2rem 0.6rem rgba(0,0,0,0.3));
}

.mg-hero-sub {
    font-size: 1.6rem;
    font-weight: 700;
    color: #111;
    line-height: 1.4;
    margin: 0;
}

.mg-btn-cta {
    display: inline-block;
    background: var(--mg-orange);
    color: var(--mg-white);
    font-weight: 800;
    font-style: italic;
    font-size: 1.6rem;
    padding: 2rem 3.4rem;
    border: none;
    cursor: pointer;
    letter-spacing: 0.03rem;
    transition: background 0.15s;
    margin-top: 0.4rem;
}
.mg-btn-cta:hover { background: var(--mg-obr); color: var(--mg-white); }

.mg-hero-mtn {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 2.8rem;
    background: var(--mg-black);
    z-index: 3;
    clip-path: polygon(
        0 100%, 0 55%, 5% 20%, 12% 60%, 21% 15%, 29% 55%,
        38% 10%, 46% 50%, 55% 8%, 63% 45%, 72% 25%, 80% 60%,
        88% 18%, 94% 55%, 100% 35%, 100% 100%
    );
}

@media (min-width: 600px) {
    .mg-hero-logo  { width: 13rem; }
    .mg-hero-title { max-width: 560px; }
    .mg-hero-sub   { font-size: 1.7rem; }
}

/* ============================================================
   TIMELINE
   ============================================================ */
.mg-timeline {
    position: relative;
    background: var(--mg-cream);
    padding: 3rem 2rem 2.8rem;
}

.mg-tl-brush {
    position: absolute;
    left: 0; right: 0;
    height: 1.4rem;
    background: var(--mg-black);
}
.mg-tl-brush-top {
    top: 0;
    clip-path: polygon(
        0 0, 100% 0, 100% 100%,
        93% 50%, 85% 90%, 76% 40%, 67% 80%,
        58% 35%, 49% 75%, 40% 40%, 31% 85%,
        22% 45%, 13% 80%, 5% 50%, 0 80%
    );
}
.mg-tl-brush-bot {
    bottom: 0;
    clip-path: polygon(
        0 100%, 100% 100%, 100% 0,
        93% 55%, 85% 10%, 76% 60%, 67% 20%,
        58% 65%, 49% 25%, 40% 60%, 31% 15%,
        22% 55%, 13% 20%, 5% 50%, 0 30%
    );
}

.mg-tl-inner { position: relative; z-index: 2; }

.mg-tl-track {
    position: relative;
    display: flex;
    gap: 0;
    max-width: 680px;
    margin: 0 auto;
}

.mg-tl-line {
    position: absolute;
    top: 4.6rem;
    left: 16%;
    right: 16%;
    height: 0.2rem;
    background: rgba(242,88,34,0.35);
}

.mg-tl-item {
    flex: 1;
    text-align: center;
}

.mg-tl-date {
    font-size: 1.4rem;
    font-weight: 900;
    color: #111;
    line-height: 1.25;
    margin-bottom: 0.8rem;
}

.mg-tl-dot {
    width: 1.3rem;
    height: 1.3rem;
    border-radius: 50%;
    background: var(--mg-orange);
    margin: 0 auto 0.8rem;
    border: 0.25rem solid var(--mg-cream);
    box-shadow: 0 0 0 0.15rem var(--mg-orange);
}

.mg-tl-label {
    font-size: 1.3rem;
    color: #555;
    line-height: 1.3;
}

.mg-tl-note {
    text-align: center;
    font-size: 1.4rem;
    color: #666;
    margin: 1.8rem 0 0;
    line-height: 1.5;
    font-size: 1.6rem;
}
.mg-tl-note a { color: var(--mg-odk); font-weight: 700; }

@media (min-width: 600px) {
    .mg-tl-date  { font-size: 1.4rem; }
    .mg-tl-label { font-size: 1.2rem; }
    .mg-tl-note  { font-size: 1.3rem; }
}

/* ============================================================
   #01 HOSPITALIDAD
   ============================================================ */
.mg-hospitalidad {
    background: var(--mg-black);
}

.mg-hosp-img-wrap {
    line-height: 0;
}

.mg-hosp-img {
    width: 100%;
    height: auto;
    display: block;
}

/* Bloque de registro — opcion B, fondo background-tour-web.jpg */
.mg-hosp-reg-block {
    background-image: url('');
    background-size: cover;
    background-position: center;
    background-color: #f5f0e6;
    padding: 2rem;
    border-top: none;
}

/* Fila con divisor — card blanca */
.mg-hosp-reg-row {
    display: flex;
    background: var(--mg-white);
    border-radius: 0.6rem;
    overflow: hidden;
    margin-bottom: 1rem;
    border: 1px solid rgba(0,0,0,0.07);
}

.mg-hosp-reg-half {
    flex: 1;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.4rem 1.6rem;
}

.mg-hosp-reg-sep {
    width: 1px;
    background: rgba(0,0,0,0.08);
    flex-shrink: 0;
    margin: 1rem 0;
}

.mg-hosp-reg-icon {
    width: 3.2rem;
    height: 3.2rem;
    border-radius: 0.4rem;
    background: #fff3ef;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--mg-orange);
    flex-shrink: 0;
}

.mg-hosp-reg-txt h4 {
    font-size: 1.2rem;
    font-weight: 900;
    text-transform: uppercase;
    color: #111;
    letter-spacing: 0.03rem;
    line-height: 1.2;
    margin-bottom: 0.2rem;
    margin-top: 0;
}

.mg-hosp-reg-txt p {
    font-size: 1.1rem;
    color: #888;
    line-height: 1.4;
    margin: 0;
}

/* Botones en fila */
.mg-hosp-reg-btns {
    display: flex;
    gap: 0.8rem;
    margin-bottom: 1rem;
}

.mg-hosp-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 800;
    font-style: italic;
    text-transform: uppercase;
    letter-spacing: 0.04rem;
    padding: 1rem 1.4rem;
    border: none;
    cursor: pointer;
    transition: all 0.15s;
    text-decoration: none;
    text-align: center;
    border-radius: 0.2rem;
}

.mg-hosp-btn-primary {
    background: var(--mg-orange);
    color: var(--mg-white);
}
.mg-hosp-btn-primary:hover { background: var(--mg-obr); color: var(--mg-white); }

.mg-hosp-btn-outline {
    background: var(--mg-white);
    color: var(--mg-orange);
    border: 0.15rem solid var(--mg-orange);
}
.mg-hosp-btn-outline:hover {
    background: #fff3ef;
    color: var(--mg-orange);
}

/* Nota Dream Card */
.mg-hosp-dc-note {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    padding: 1rem 1.2rem;
    background: var(--mg-white);
    border: 1px solid rgba(242,88,34,0.2);
    border-radius: 0.4rem;
}

.mg-hosp-dc-note svg { flex-shrink: 0; margin-top: 0.1rem; }

.mg-hosp-dc-note span {
    font-size: 1.2rem;
    color: #444;
    line-height: 1.5;
}

.mg-hosp-dc-note strong {
    color: var(--mg-orange);
    font-weight: 700;
}

.mg-hosp-tc-link {
    text-align: center;
    margin-top: 1rem;
    line-height: 1.5;
}
.mg-hosp-tc-link a {
    font-size: 1rem;
    color: rgba(0,0,0,0.35);
    text-decoration: underline;
    transition: color 0.15s;
}
.mg-hosp-tc-link a:hover { color: rgba(0,0,0,0.6); }

/* Desktop */
@media (min-width: 700px) {
    .mg-hosp-reg-block { padding: 2.8rem 4.8rem; }
    .mg-hosp-reg-half  { padding: 1.8rem 2.4rem; gap: 1.4rem; }
    .mg-hosp-reg-icon  { width: 3.8rem; height: 3.8rem; }
    .mg-hosp-reg-txt h4 { font-size: 1.4rem; }
    .mg-hosp-reg-txt p  { font-size: 1.2rem; }
    .mg-hosp-btn        { font-size: 1.4rem; padding: 1.1rem 2rem; }
    .mg-hosp-dc-note span { font-size: 1.3rem; }
}


/* ============================================================
   #01 WT GEARS - imagen responsive
   ============================================================ */
.mg-wt-gears {
    background: var(--mg-black);
    line-height: 0;
}

.mg-wt-img {
    width: 100%;
    height: auto;
    display: block;
}

/* ============================================================
   BANDAS DE PREMIOS - header compartido
   ============================================================ */
.mg-band {
    padding: 2rem 2rem;
    position: relative;
    overflow: hidden;
}

.mg-band-orange {
    background: linear-gradient(135deg, var(--mg-orange) 0%, var(--mg-obr) 100%);
    color: var(--mg-white);
}

.mg-band-dark {
    background: var(--mg-soft);
    color: var(--mg-text);
    border-top: 1px solid rgba(242,88,34,0.15);
    border-bottom: 1px solid rgba(242,88,34,0.15);
}

.mg-band-top {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    flex-wrap: wrap;
    margin-bottom: 1.4rem;
    padding-bottom: 1.2rem;
    border-bottom: 1px solid rgba(255,255,255,0.15);
}
.mg-band-dark .mg-band-top { border-bottom-color: rgba(255,255,255,0.08); }

.mg-band-num {
    background: var(--mg-black);
    color: var(--mg-white);
    font-size: 1.3rem;
    font-weight: 900;
    letter-spacing: 1px;
    padding: 0.5rem 1rem;
    flex-shrink: 0;
}

.mg-band-top h3 {
    font-family: 'Inter', 'Arial Black', sans-serif;
    font-weight: 900;
    font-size: 2.2rem;
    text-transform: uppercase;
    letter-spacing: -0.03rem;
    line-height: 1.0;
    flex: 1;
}

.mg-band-win {
    font-size: 1.2rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.4rem 1rem;
    flex-shrink: 0;
}
.mg-win-dark { background: var(--mg-black); color: var(--mg-orange); }

/* ============================================================
   #02 DREAM CARD
   ============================================================ */
.mg-dream-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
    align-items: center;
    margin: 0 0 1.6rem;
    background: rgba(0,0,0,0.25);
    padding: 1.4rem;
    border-radius: 0.4rem;
}

.mg-dream-steps p {
    font-size: 1.4rem;
    color: #ccc;
    margin: 0 0 0.8rem;
    line-height: 1.4;
}
.mg-dream-steps p:last-child { margin-bottom: 0; }
.mg-dream-steps strong { color: var(--mg-orange); margin-right: 0.4rem; }

.mg-dream-card-img img {
    width: 100%;
    border-radius: 0.4rem;
    box-shadow: 0 0.4rem 1.6rem rgba(0,0,0,0.5);
}

.mg-prize-label {
    text-align: center;
    font-size: 1.4rem;
    color: #888;
    font-style: italic;
    margin: 0 0 1rem;
}

/* Cards premios con fondo claro para que productos negros no se pierdan */
.mg-prize-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.8rem;
}

.mg-prize-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.7rem;
    border-radius: 0.4rem;
    overflow: hidden;
    padding-bottom: 1rem;
    background: rgba(0,0,0,0.25);
    border: 0.05rem solid rgba(255,255,255,0.08);
}

.mg-prize-img-wrap {
    width: 100%;
    padding: 1.2rem 1rem 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Fondo blanco para que los productos negros sean visibles */
.mg-prize-light-bg {
    background: #f0f0f0;
}

.mg-prize-img-wrap img {
    width: 100%;
    max-width: 8rem;
    height: 7rem;
    object-fit: contain;
    object-position: center;
}

.mg-prize-card strong {
    font-size: 1.5rem;
    font-weight: 900;
    text-transform: uppercase;
    color: var(--mg-white);
    text-align: center;
    padding: 0 0.6rem;
    letter-spacing: 0.03rem;
}

.mg-prize-card span {
    font-size: 1.3rem;
    color: var(--mg-muted);
    text-align: center;
    padding: 0 0.6rem;
}

/* ============================================================
   #03 BONO - split izquierda texto / derecha imagen PNG
   ============================================================ */
.mg-bono-split-band {
    padding: 0 !important;
}

.mg-bono-split {
    display: flex;
    flex-direction: column;
}

.mg-bono-split-txt {
    padding: 2rem 2rem 1.6rem;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.mg-bono-sub {
    font-size: 1.4rem;
    color: rgba(255,255,255,0.9);
    margin: 0 0 1.4rem;
    line-height: 1.55;
}

.mg-bono-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin: 0 0 1.4rem;
}

.mg-bono-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--mg-white);
    line-height: 1.3;
}

.mg-bono-list li svg {
    flex-shrink: 0;
    color: rgba(255,255,255,0.8);
}

.mg-bono-dis {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.5);
    font-style: italic;
    line-height: 1.4;
    margin: 0;
}

/* Imagen PNG transparente — flota sobre el naranja */
.mg-bono-split-img {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 0 2rem;
    overflow: hidden;
}

.mg-bono-split-img img {
    width: 100%;
    max-width: 340px;
    height: auto;
    display: block;
    object-fit: contain;
    object-position: bottom center;
}

/* Desktop: lado a lado 50/50 */
@media (min-width: 700px) {
    .mg-bono-split {
        flex-direction: row;
        align-items: center;
        min-height: 28rem;
    }
    .mg-bono-split-txt {
        flex: 1;
        padding: 3.2rem 4rem 3.2rem 4.8rem;
    }
    .mg-bono-split-txt .mg-band-top {
        flex-wrap: nowrap;
    }
    .mg-bono-split-img {
        flex: 1;
        padding: 2rem 4rem 0;
        align-self: flex-end;
    }
    .mg-bono-split-img img {
        max-width: 100%;
    }
    .mg-bono-sub  { font-size: 1.5rem; }
    .mg-bono-list li { font-size: 1.6rem; }
    .mg-bono-dis  { font-size: 1.2rem; }
}

/* ============================================================
   MAPA
   ============================================================ */
.mg-mapa {
    background-color: var(--mg-black);
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    padding: 3.2rem 2rem 2.8rem;
}

.mg-mapa-header {
    text-align: center;
    margin-bottom: 2rem;
}

.mg-mapa-title {
    font-family: 'Inter', 'Arial Black', sans-serif;
    font-weight: 900;
    font-style: italic;
    text-transform: uppercase;
    letter-spacing: -1px;
    font-size: 4.4rem;
    color: var(--mg-white);
    line-height: 0.95;
    margin-bottom: 1rem;
}

.mg-mapa-sub {
    font-size: 1.6rem;
    color: var(--mg-dim);
}

#magene-map {
    width: 100%;
    border-radius: 0.8rem;
    border: 0.2rem solid rgba(242,88,34,0.4);
    box-shadow: 0 0.4rem 2rem rgba(0,0,0,0.3);
    overflow: hidden;
    background: #e8e4dc;
    z-index: 1;
    min-height: 280px;
    height: 400px;
}
@media(min-width: 768px) {
    #magene-map {
        height: 400px;
    }
}

/* Lista de sedes - cards blancas como en la captura */
.mg-sede-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 2rem;
}

.mg-no-sedes {
    text-align: center;
    color: var(--mg-dim);
    font-size: 1.3rem;
    padding: 2.4rem;
    grid-column: 1 / -1;
}

.mg-city-card {
    background: var(--mg-white);
    border-radius: 0.6rem;
    padding: 1.4rem 1.6rem;
    border: 1px solid rgba(0,0,0,0.08);
}

.mg-city-name {
    font-size: 1.3rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.15rem;
    color: var(--mg-orange);
    margin: 0 0 0.8rem;
    padding-bottom: 0.6rem;
    border-bottom: 0.15rem solid var(--mg-orange);
}

.mg-city-card ul {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.mg-sede-btn {
    background: none;
    border: none;
    font-family: inherit;
    font-size: 1.5rem;
    color: #222;
    text-align: left;
    padding: 0.3rem 0;
    cursor: pointer;
    width: 100%;
    transition: color 0.15s;
    line-height: 1.4;
}
.mg-sede-btn:hover { color: var(--mg-orange); }

@media (min-width: 700px) {
    .mg-sede-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ============================================================
   FOOTER
   ============================================================ */
.mg-footer {
    background: var(--mg-black);
    position: relative;
    padding-top: 2.2rem;
}

.mg-footer-strip {
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1.8rem;
    background: var(--mg-orange);
    clip-path: polygon(
        0 0, 100% 0, 100% 100%,
        94% 55%, 86% 100%, 77% 45%, 68% 90%,
        59% 50%, 50% 85%, 41% 50%, 32% 90%,
        23% 45%, 14% 95%, 6% 55%, 0 90%
    );
}

.mg-footer-inner {
    padding: 2rem 2rem 2.8rem;
    text-align: center;
}

.mg-footer-logo { width: 9rem; margin: 0 auto 1rem; }
.mg-footer-tag  { font-size: 1.1rem; color: var(--mg-orange); font-style: italic; font-weight: 700; margin: 0 0 1.2rem; }

.mg-footer-social {
    display: flex;
    justify-content: center;
    gap: 1.6rem;
    flex-wrap: wrap;
    margin-bottom: 1.2rem;
}
.mg-footer-social a {
    font-size: 1.1rem;
    color: var(--mg-dim);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05rem;
    transition: color 0.15s;
}
.mg-footer-social a:hover { color: var(--mg-orange); }
.mg-footer-copy { font-size: 1rem; color: #333; margin: 0; }

/* ============================================================
   MODALES
   ============================================================ */
.mg-modal {
    display: none;
    position: fixed;
    top: 0; right: 0; bottom: 0; left: 0;
    z-index: 99999;
    align-items: center;
    justify-content: center;
    padding: 1.6rem;
}
.mg-modal[aria-hidden="false"] { display: flex; }

.mg-modal-bg {
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    background: rgba(0,0,0,0.82);
}

.mg-modal-box {
    position: relative;
    background: #fff;
    border: 0.15rem solid var(--mg-orange);
    border-radius: 0.6rem;
    width: 100%;
    max-width: 420px;
    padding: 2.4rem 2rem;
    animation: mgSlideUp 0.22s ease;
    z-index: 1;
}

@keyframes mgSlideUp {
    from { transform: translateY(1.6rem); opacity: 0; }
    to   { transform: translateY(0);    opacity: 1; }
}

.mg-modal-close {
    position: absolute;
    top: 1rem; right: 1.2rem;
    background: none;
    border: none;
    font-size: 2.6rem;
    color: #666;
    cursor: pointer;
    line-height: 1;
    padding: 0.4rem 0.8rem;
    transition: color 0.15s;
}
.mg-modal-close:hover { color: var(--mg-orange); }

.mg-modal-box h3 {
    font-size: 1.7rem;
    font-weight: 900;
    color: var(--mg-white);
    text-transform: uppercase;
    letter-spacing: -0.03rem;
    margin: 0 0 0.4rem;
    padding-right: 2.8rem;
    line-height: 1.2;
}

.mg-modal-ciudad {
    font-size: 1rem;
    color: var(--mg-orange);
    text-transform: uppercase;
    letter-spacing: 0.2rem;
    font-weight: 700;
    margin: 0 0 1.4rem;
}

.mg-modal-body {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 1.2rem;
    margin-bottom: 1.4rem;
}
.mg-modal-body p { font-size: 1.3rem; color: var(--mg-text); margin: 0 0 0.7rem; line-height: 1.4; }
.mg-modal-body p:empty { display: none; }
.mg-modal-dir::before { content: 'Direccion: '; color: var(--mg-dim); font-size: 1.1rem; }
.mg-modal-tel::before { content: 'Tel: ';       color: var(--mg-dim); font-size: 1.1rem; }
.mg-modal-hrs::before { content: 'Horario: ';   color: var(--mg-dim); font-size: 1.1rem; }

.mg-modal-btns { display: flex; flex-direction: column; gap: 0.8rem; }

.mg-modal-nav {
    width: 100%;
    padding: 1.2rem;
    background: var(--mg-orange);
    color: var(--mg-white);
    font-size: 1.3rem;
    font-weight: 800;
    font-style: italic;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    box-shadow: 0 0.3rem 0 var(--mg-odk);
    transition: background 0.15s;
    font-family: inherit;
}
.mg-modal-nav:hover { background: var(--mg-obr); }

.mg-modal-wa {
    display: block;
    width: -webkit-fill-available;
    padding: 1.2rem;
    background: #22c55e;
    color: var(--mg-white);
    font-size: 1.3rem;
    font-weight: 800;
    font-style: italic;
    text-transform: uppercase;
    text-align: center;
    box-shadow: 0 0.3rem 0 #16a34a;
    transition: background 0.15s;
}
.mg-modal-wa:hover { background: #16a34a; color: var(--mg-white); }
.mg-modal-wa.mg-hidden { display: none; }

.mg-maps-box h3 { font-size: 1.5rem; font-weight: 700; color: var(--mg-white); margin: 0 0 1.2rem; padding-right: 2.8rem; }

.mg-maps-opt {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.3rem 1.4rem;
    margin-bottom: 0.6rem;
    background: rgba(255,255,255,0.04);
    border: 0.05rem solid rgba(255,255,255,0.08);
    border-radius: 0.3rem;
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--mg-text);
    transition: all 0.15s;
}
.mg-maps-opt::after { content: '\2192'; font-size: 1.6rem; color: var(--mg-orange); }
.mg-maps-opt:hover { background: rgba(242,88,34,0.08); border-color: rgba(242,88,34,0.3); color: var(--mg-orange); }

/* ============================================================
   LEAFLET - tiles claros con overrides
   ============================================================ */
.leaflet-popup-content-wrapper {
    background: var(--mg-white) !important;
    color: #111 !important;
    border: 0.15rem solid var(--mg-orange) !important;
    border-radius: 0.4rem !important;
    box-shadow: 0 0.4rem 1.6rem rgba(0,0,0,0.2) !important;
}
.leaflet-popup-content { margin: 1.2rem 1.6rem !important; }
.leaflet-popup-tip { background: var(--mg-white) !important; }
.leaflet-control-attribution { font-size: 0.9rem !important; }

.mg-leaflet-popup { text-align: center; font-family: inherit; }
.mg-leaflet-popup strong { display: block; font-size: 1.3rem; font-weight: 900; text-transform: uppercase; color: #111; margin-bottom: 0.3rem; }
.mg-leaflet-popup em { font-style: normal; display: block; font-size: 0.9rem; color: var(--mg-orange); letter-spacing: 0.15rem; text-transform: uppercase; font-weight: 700; margin-bottom: 0.8rem; }
.mg-leaflet-popup button { background: var(--mg-orange); color: var(--mg-white); border: none; padding: 0.7rem 1.4rem; font-size: 1.1rem; font-weight: 800; cursor: pointer; text-transform: uppercase; letter-spacing: 0.05rem; font-family: inherit; border-radius: 0.2rem; }
.mg-leaflet-popup button:hover { background: var(--mg-obr); }

/* ============================================================
   DESKTOP BREAKPOINTS
   ============================================================ */
@media (min-width: 700px) {
    .mg-band { padding: 2.8rem 4.8rem; }
    .mg-band-top h3 { font-size: 2.8rem; }
    .mg-band-num { font-size: 1.4rem; padding: 0.5rem 1.2rem; }
    .mg-band-win { font-size: 1.3rem; padding: 0.5rem 1.2rem; }
    .mg-tl-date { font-size: 1.6rem; }
    .mg-tl-label { font-size: 1.4rem; }
    .mg-tl-note { font-size: 1.6rem; }
    .mg-hero-sub { font-size: 2rem; }
    .mg-btn-cta { font-size: 1.8rem; padding: 2rem 4rem; }
    .mg-dream-grid { gap: 2.4rem; padding: 2rem; }
    .mg-dream-steps p { font-size: 1.6rem; }
    .mg-prize-label { font-size: 1.6rem; }
    .mg-prize-cards { gap: 1.6rem; }
    .mg-prize-img-wrap { padding: 1.6rem 1.2rem; }
    .mg-prize-img-wrap img { max-width: 12rem; height: 10rem; }
    .mg-prize-card strong { font-size: 1.7rem; }
    .mg-prize-card span { font-size: 1.4rem; }
    .mg-bono-sub { font-size: 1.6rem; }
    .mg-mapa { padding: 5.6rem 4.8rem; }
    .mg-mapa-title { font-size: 5.6rem; }
    .mg-mapa-sub { font-size: 1.8rem; }
    .mg-city-name { font-size: 1.4rem; }
    .mg-sede-btn { font-size: 1.6rem; }
    .mg-hosp-reg { font-size: 1.8rem; padding: 1.4rem 4rem; bottom: 3.2rem; }
}


.mg-hero-bg {
    background-image: url('/wp-content/plugins/magene-sedes-mx/assets/img/brand/home-magene-tour-mobile.jpg');
    background-size: cover;
    background-position: center;
    
    
}
.mg-hero, .mg-hero-bg  {
aspect-ratio: 1 / 1;
}

@media (min-width: 470px) {
    .mg-hero-bg {
        background-image: url('/wp-content/plugins/magene-sedes-mx/assets/img/brand/home-magene-tour.jpg');
       
    }
    .mg-hero, .mg-hero-bg  {
aspect-ratio: 16 / 9;
}
}
.entry-content .mg-hosp-reg-txt p {
    color: #000!important
}
.entry-content .mg-mapa-header p {
    color: #000!important;
}

.mg-mapa-title {
    max-width: unset!important;
}
.mg-modal-nav {
    background-color: #F25822;
}
.contain-f {
    display: none;
}