/* =========================================================
   PÁGINA MARKETING
   Sección 1: Banner (60% alto) + cinta de reels (40% alto)
   ========================================================= */

.mkt-hero {
    display: flex;
    flex-direction: column;
    height: 100vh;            /* la sección ocupa la pantalla */
    min-height: 600px;
    background: #0b2447;
}

/* ---------- Banner (60%) ---------- */
.mkt-banner {
    flex: 0 0 60%;
    position: relative;
    overflow: hidden;
    background: #0b2447;
}
.mkt-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.mkt-banner-ph {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #14395f, #0b2447 60%, #071a30);
    color: rgba(255,255,255,.65);
    font-size: .95rem;
    text-align: center;
    padding: 20px;
}

/* ---------- Cinta de reels (40%) ---------- */
.mkt-cinta-zona {
    flex: 0 0 40%;
    background: linear-gradient(180deg, #071a30, #0b2447);
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 14px 0;
}
.mkt-cinta {
    width: 100%;
    height: 100%;
    /* fila fija que se puede deslizar manualmente si sobran reels */
    overflow-x: auto;
    overflow-y: hidden;
    position: relative;
    -webkit-overflow-scrolling: touch;   /* deslizamiento suave en móvil */
    scrollbar-width: thin;
    scrollbar-color: rgba(94,194,232,.5) transparent;
}
/* barra de scroll discreta */
.mkt-cinta::-webkit-scrollbar { height: 8px; }
.mkt-cinta::-webkit-scrollbar-track { background: rgba(255,255,255,.05); border-radius: 999px; }
.mkt-cinta::-webkit-scrollbar-thumb { background: rgba(94,194,232,.5); border-radius: 999px; }
.mkt-cinta::-webkit-scrollbar-thumb:hover { background: rgba(94,194,232,.8); }

.mkt-cinta-track {
    display: flex;
    gap: 28px;              /* más espacio entre reels */
    height: 100%;
    width: max-content;
    padding: 0 28px;        /* aire a los lados de la fila */
    /* ya no hay animación: los reels son estáticos */
}

/* cada reel de la cinta (vertical 9:16) */
.mkt-cinta-reel {
    position: relative;
    height: 100%;
    aspect-ratio: 9 / 16;
    flex: 0 0 auto;
    border-radius: 12px;
    overflow: hidden;
    background: #05101f;
    border: 1px solid rgba(255,255,255,.1);
    cursor: pointer;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.mkt-cinta-reel:hover {
    transform: scale(1.04);
    border-color: var(--sky-400);
    box-shadow: 0 10px 30px rgba(0,0,0,.5);
    z-index: 2;
}
.mkt-cinta-video {
    width: 100%;
    height: 100%;
    position: relative;
}
.mkt-cinta-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.mkt-reel-sinvideo {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,.5);
    font-size: .8rem;
    text-align: center;
    padding: 10px;
}
.mkt-cinta-titulo {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    margin: 0;
    padding: 20px 10px 8px;
    font-size: .78rem;
    color: #fff;
    background: linear-gradient(0deg, rgba(0,0,0,.8), transparent);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ---------- Lightbox (reel en grande) ---------- */
.mkt-lightbox {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(0,0,0,.9);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.mkt-lightbox.abierto { display: flex; }
.mkt-lightbox-cont {
    position: relative;
    height: 86vh;
    aspect-ratio: 9 / 16;
    max-width: 96vw;
    border-radius: 14px;
    overflow: hidden;
    background: #000;
    box-shadow: 0 20px 60px rgba(0,0,0,.6);
}
.mkt-lightbox-cont video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.mkt-lightbox-cerrar {
    position: absolute;
    top: 18px; right: 24px;
    width: 46px; height: 46px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.4);
    background: rgba(0,0,0,.5);
    color: #fff;
    font-size: 1.8rem;
    line-height: 1;
    cursor: pointer;
    z-index: 1001;
    transition: background .2s ease;
}
.mkt-lightbox-cerrar:hover { background: rgba(255,255,255,.2); }

/* En móvil el banner y la cinta se reparten distinto para que quepan */
@media (max-width: 760px) {
    .mkt-hero { height: auto; }
    .mkt-banner { flex: 0 0 auto; height: 46vh; }
    .mkt-cinta-zona { flex: 0 0 auto; height: 40vh; }
}

/* =========================================================
   ESTILOS DE NOTICIAS (guardados para reutilizar más adelante
   en otra sección de esta misma página)
   ========================================================= */
.mkt-titulo-grupo {
    font-size: 1.4rem;
    color: var(--navy-900);
    margin: 10px 0 20px;
}
.mkt-vacio { color: var(--muted); font-style: italic; }

.mkt-noticias {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 22px;
    margin-bottom: 40px;
}
.mkt-noticia {
    position: relative;
    min-height: 240px;
    border-radius: 16px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    box-shadow: 0 6px 20px rgba(11,36,71,.12);
}
.mkt-noticia::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(0deg, rgba(6,16,33,.92), rgba(6,16,33,.35) 60%, transparent);
}
.mkt-noticia-cont { position: relative; z-index: 1; padding: 20px; color: #fff; }
.mkt-noticia-meta { display: flex; gap: 10px; align-items: center; margin-bottom: 8px; }
.mkt-etiqueta {
    background: var(--gold-500);
    color: #1a1200;
    font-size: .72rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 999px;
    text-transform: uppercase;
}
.mkt-fecha { font-size: .8rem; color: #cbd8ec; }
.mkt-noticia-cont h4 { margin: 0 0 8px; font-size: 1.15rem; }
.mkt-noticia-cont p { margin: 0; font-size: .9rem; color: #d5e0f0; line-height: 1.5; }

/* =========================================================
   SECCIÓN 2: video grande + 4 tarjetas en las esquinas de la
   sección + ondas azul marino que van hacia el centro
   ========================================================= */
.mkt-productos {
    position: relative;
    padding: 40px 24px 70px;
    background: #eef4fb;
    overflow: hidden;
    min-height: 860px;
}
.mkt-productos-head { position: relative; z-index: 2; margin-bottom: 0; }

/* lienzo de ondas, cubre toda la sección, detrás de todo */
.mkt-ondas {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;              /* ancho completo de la ventana */
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* el "marco": contenedor a lo ancho, con el video al centro y las
   tarjetas posicionadas en las esquinas de la sección */
.mkt-marco {
    position: relative;
    z-index: 1;
    max-width: 1600px;
    margin: 0 auto;
    min-height: 720px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* video central, más grande */
.mkt-orbita-video {
    width: min(50%, 760px);
    aspect-ratio: 16 / 9;
    border-radius: 18px;
    overflow: hidden;
    background: #05101f;
    box-shadow: 0 18px 60px rgba(11,36,71,.35);
    position: relative;
    z-index: 1;
}
.mkt-orbita-video video {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    position: absolute; inset: 0;
}
.mkt-orbita-video-ph {
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, #14395f, #0b2447 60%, #071a30);
    color: rgba(255,255,255,.7);
    font-size: .95rem;
    padding: 20px;
}
.mkt-orbita-video-ph small { color: rgba(255,255,255,.5); font-size: .8rem; }

/* tarjetas: posición absoluta en las esquinas de la sección.
   Se pegan a los bordes y las de arriba suben hacia el título. */
.mkt-tarjeta {
    position: absolute;
    width: clamp(150px, 16vw, 230px);
    aspect-ratio: 3 / 4;
    perspective: 1000px;
    cursor: pointer;
    outline: none;
    z-index: 2;
}
.mkt-tarjeta.sup-izq { top: -20px; left: 0; }
.mkt-tarjeta.sup-der { top: -20px; right: 0; }
.mkt-tarjeta.inf-izq { bottom: 0; left: 0; }
.mkt-tarjeta.inf-der { bottom: 0; right: 0; }

.mkt-tarjeta-cara {
    position: absolute;
    inset: 0;
    border-radius: 14px;
    overflow: hidden;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transition: transform .6s;
    box-shadow: 0 10px 28px rgba(11,36,71,.28);
}
.mkt-tarjeta-frente {
    background-size: cover;
    background-position: center;
    background-color: #12385f;
    display: flex;
    align-items: flex-end;
    transform: rotateY(0deg);
}
.mkt-tarjeta-frente::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(0deg, rgba(6,16,33,.85), transparent 55%);
}
.mkt-tarjeta-nombre {
    position: relative; z-index: 1;
    width: 100%;
    padding: 12px;
    color: #fff;
    font-weight: 600;
    font-size: .9rem;
}
.mkt-tarjeta-ph {
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,.7);
    font-size: .85rem;
    text-align: center; padding: 10px;
}
.mkt-tarjeta-reverso {
    background-size: cover;
    background-position: center;
    background-color: #12385f;
    transform: rotateY(180deg);
}

.mkt-tarjeta.volteada .mkt-tarjeta-frente { transform: rotateY(180deg); }
.mkt-tarjeta.volteada .mkt-tarjeta-reverso { transform: rotateY(360deg); }

/* En pantallas medianas, el video crece un poco y las tarjetas encogen */
@media (max-width: 1100px) {
    .mkt-orbita-video { width: min(46%, 560px); }
    .mkt-tarjeta { width: clamp(120px, 15vw, 175px); }
}

/* En móvil/tablet: apilar. Video arriba y tarjetas en 2x2 debajo. */
@media (max-width: 780px) {
    .mkt-productos { padding: 40px 16px 50px; min-height: 0; }
    .mkt-marco {
        flex-direction: column;
        min-height: 0;
        gap: 20px;
    }
    .mkt-orbita-video { width: 100%; }
    .mkt-tarjeta {
        position: static;
        width: 100%;
        max-width: none;
    }
    /* rejilla 2x2 para las 4 tarjetas */
    .mkt-marco {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }
    .mkt-orbita-video { grid-column: 1 / 3; }
}

/* =========================================================
   SECCIÓN 3: Videos (sup-izq) + Noticias (sup-der) + Círculo (abajo)
   ========================================================= */
.mkt-s3 { background: transparent; padding-bottom: 0; }
/* el bloque del círculo (con su banner) pega con el footer: sin espacio
   sobrante debajo. */
.mkt-s3-circulo { margin-bottom: 0; }

/* contenedor amplio, pegado a los bordes (poco padding lateral) */
.mkt-s3-wrap {
    width:100%;
    padding: 0 20px;
}

.mkt-s3-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
        "videos noticias"
        "circulo circulo";
    gap: 10px;
    align-items: stretch;      /* ambas columnas al mismo alto */
}
.mkt-s3-videos {
    grid-area: videos;
    display: flex;
    flex-direction: column;
    min-height: 560px;
}
.mkt-s3-noticias { grid-area: noticias; display: flex; flex-direction: column; }
/* el título de noticias igual que el de videos, para emparejar alturas */
.mkt-s3-noticias .mkt-titulo-grupo {
    font-size: 1.2rem;
    margin: 0 0 14px;
    text-align: left;
}
.mkt-s3-circulo  {
    grid-area: circulo;
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
    justify-content: center;
    padding: 90px 30px;
    min-height: 620px;
    margin-top: 30px;
    position: relative;
    background-color: transparent;
}
/* fondo tipo banner que se extiende a TODO el ancho de la pantalla.
   Se dibuja con un pseudo-elemento que se sale del contenedor a ambos
   lados usando 50vw desde el centro, de forma confiable dentro del grid. */
.mkt-s3-circulo::before {
    content: '';
    position: absolute;
    top: 0; bottom: 0;
    left: calc(-50vw + 50%);
    right: calc(-50vw + 50%);
    background-image: url('../assets/img/marketing/circulo-fondo.avif');
    background-size: cover;      /* llena sin franjas */
    background-position: center; /* centrada: lo importante debe ir al centro */
    background-repeat: no-repeat;
    background-color: #0b2447;
    z-index: 0;
    pointer-events: none;
}
/* velo para legibilidad sobre el banner (también a todo el ancho) */
.mkt-s3-circulo::after {
    content: '';
    position: absolute;
    top: 0; bottom: 0;
    left: calc(-50vw + 50%);
    right: calc(-50vw + 50%);
    background: linear-gradient(135deg, rgba(6,16,33,.7), rgba(6,16,33,.5));
    z-index: 0;
    pointer-events: none;        /* no bloquea los clics del círculo */
}
.mkt-circulo { position: relative; z-index: 2; }

.mkt-s3-titulo {
    font-size: 1.2rem;
    color: var(--navy-900);
    margin: 0 0 14px;
    text-align: left;
}

/* ---- Videos directos (superior izquierda) ---- */
.mkt-videos-lista {
    display: flex;
    gap: 20px;
    flex: 1 1 auto;
    justify-content: flex-start;   /* videos alineados a la izquierda */
    align-items: stretch;
}
.mkt-video-item {
    flex: 1 1 0;
    max-width: 300px;
    aspect-ratio: 9 / 16;
    border-radius: 12px;
    overflow: hidden;
    background: #05101f;
    position: relative;
    cursor: pointer;
    border: 1px solid rgba(11,36,71,.12);
}
.mkt-video-item video {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
}
.mkt-video-ph {
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, #14395f, #0b2447 60%, #071a30);
    color: rgba(255,255,255,.6);
    font-size: .9rem;
}

/* ---- Noticias (superior derecha) ---- */
.mkt-s3-noticias .mkt-noticias {
    grid-template-columns: 1fr;   /* una sola noticia, cuadro grande */
    margin-bottom: 0;
    flex: 1 1 auto;               /* llena el alto restante */
    display: flex;
}
.mkt-s3-noticias .mkt-noticia { min-height: 100%; flex: 1 1 auto; }
.mkt-s3-noticias .mkt-noticia-cont h4 { font-size: 1.3rem; }
.mkt-s3-noticias .mkt-noticia-cont p { font-size: .95rem; }

.mkt-noticia-desenfoque {
    position: absolute;
    inset: -20px;
    background-size: cover;
    background-position: center;
    filter: blur(18px) brightness(.65);
}
.mkt-noticia-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center top;
}

/* ---- Círculo dividido en 4 (mitad inferior) ---- */
.mkt-circulo {
    position: relative;
    width: 500px;
    height: auto;
    aspect-ratio: 1 / 1;       /* siempre redondo, aunque se reduzca */
    max-width: 88vw;
    border-radius: 50%;
    overflow: hidden;
    flex: 0 0 auto;
    /* marco de cristal (vitrina): borde translúcido + varias sombras para
       dar profundidad, como si estuviera tras un vidrio. El aro exterior
       se logra con box-shadow (no se recorta por overflow). */
    border: 6px solid rgba(255, 255, 255, .35);
    box-shadow:
        0 10px 45px rgba(0, 0, 0, .45),             /* sombra proyectada */
        0 0 0 10px rgba(255, 255, 255, .08),        /* aro de cristal exterior */
        0 0 40px 12px rgba(120, 180, 255, .20),     /* halo azulado (vitrina) */
        inset 0 2px 14px rgba(255, 255, 255, .5),   /* luz interior arriba */
        inset 0 -8px 22px rgba(0, 0, 0, .4);        /* sombra interior abajo */
    -webkit-backdrop-filter: blur(2px);
            backdrop-filter: blur(2px);
}
/* brillo/reflejo del cristal: un destello diagonal encima del círculo */
.mkt-circulo::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    z-index: 4;                 /* encima de los cuadrantes */
    pointer-events: none;       /* deja pasar los clics a los cuadrantes */
    background:
        linear-gradient(135deg,
            rgba(255,255,255,.4) 0%,
            rgba(255,255,255,.12) 20%,
            rgba(255,255,255,0) 42%,
            rgba(255,255,255,0) 100%);
}
.mkt-cuadrante {
    position: absolute;
    width: 50%;
    height: 50%;
    border: none;
    cursor: pointer;
    background-size: cover;
    background-position: center;
    background-color: #14395f;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: filter .2s ease, transform .2s ease;
    overflow: hidden;
}
.mkt-cuadrante::after {
    content: '';
    position: absolute; inset: 0;
    background: rgba(11,36,71,0);   /* sin velo por defecto */
    transition: background .2s ease;
    pointer-events: none;          /* NO bloquea los clics del cuadrante */
}
.mkt-cuadrante:hover::after { background: rgba(11,36,71,.2); }  /* leve al pasar cursor */

/* posición de cada cuadrante */
.mkt-cuad-1 { top: 0; left: 0; align-items: center; justify-content: center; }
.mkt-cuad-2 { top: 0; right: 0; align-items: center; justify-content: center; }
.mkt-cuad-3 { bottom: 0; left: 0; align-items: center; justify-content: center; }
.mkt-cuad-4 { bottom: 0; right: 0; align-items: center; justify-content: center; }
/* desplazamos el texto hacia la zona ancha del cuarto (lejos del centro
   del círculo), pero centrado para que se vea completo. */
.mkt-cuad-1 .mkt-cuad-nombre { transform: translate(-14%, -14%); }
.mkt-cuad-2 .mkt-cuad-nombre { transform: translate(14%, -14%); }
.mkt-cuad-3 .mkt-cuad-nombre { transform: translate(-14%, 14%); }
.mkt-cuad-4 .mkt-cuad-nombre { transform: translate(14%, 14%); }

.mkt-cuad-nombre {
    position: relative;
    z-index: 1;
    color: #0b2447;
    font-weight: 700;
    font-size: .9rem;
    line-height: 1.3;
    text-align: center;
    /* halo claro alrededor para que el texto azul resalte sobre cualquier
       fondo, sea claro u oscuro */
    text-shadow:
        0 0 6px rgba(255,255,255,.9),
        0 0 10px rgba(255,255,255,.7),
        0 1px 2px rgba(255,255,255,.9);
    max-width: 62%;
}


/* En móvil: todo se apila en una columna */
@media (max-width: 820px) {
    .mkt-s3-grid {
        grid-template-columns: 1fr;
        grid-template-areas:
            "videos"
            "noticias"
            "circulo";
    }
    /* en móvil, videos y noticias ya no necesitan alto fijo */
    .mkt-s3-videos { min-height: 0; }
    .mkt-s3-circulo { flex-direction: column; }

    /* videos: se muestran lado a lado pero con tamaño adecuado al móvil */
    .mkt-videos-lista {
        justify-content: center;
        gap: 14px;
    }
    .mkt-video-item {
        flex: 1 1 0;
        max-width: 48%;        /* dos videos que caben en el ancho del móvil */
        min-width: 0;
    }
    /* en móvil la etiqueta "Ver en TikTok" siempre visible (no hay hover) */
    .mkt-video-tiktok { opacity: 1; }

    /* noticia: alto natural, no forzado */
    .mkt-s3-noticias .mkt-noticia { min-height: 220px; }
}

/* =========================================================
   Modal emergente de info del círculo (se sobrepone a todo)
   ========================================================= */
.mkt-modal {
    position: fixed;
    inset: 0;
    z-index: 1200;
    background: rgba(3, 10, 20, .78);
    -webkit-backdrop-filter: blur(4px);
            backdrop-filter: blur(4px);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
}
.mkt-modal.abierto { display: flex; }

.mkt-modal-caja {
    position: relative;
    display: flex;
    gap: 24px;
    width: min(860px, 94vw);
    max-height: 88vh;
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 24px 70px rgba(0,0,0,.5);
    animation: mkt-modal-surge .28s ease;
}
@keyframes mkt-modal-surge {
    from { opacity: 0; transform: translateY(16px) scale(.97); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* imagen a la izquierda */
.mkt-modal-img {
    flex: 0 0 44%;
    background-size: cover;
    background-position: center;
    background-color: #12385f;
    min-height: 280px;
}
/* texto a la derecha */
.mkt-modal-txt {
    flex: 1 1 auto;
    padding: 34px 34px 34px 10px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    overflow-y: auto;          /* si el texto es largo, scroll interno */
    max-height: 86vh;
}
.mkt-modal-txt h3 {
    margin: 0 0 14px;
    font-size: 1.4rem;
    color: var(--navy-900);
    line-height: 1.25;
}
.mkt-modal-txt h3::after {
    content: '';
    display: block;
    width: 46px; height: 3px;
    margin-top: 10px;
    background: linear-gradient(90deg, var(--gold-500), var(--sky-400));
}
.mkt-modal-txt #mktModalTexto p {
    margin: 0 0 12px;
    color: var(--muted);
    line-height: 1.65;
    font-size: .95rem;
    text-align: justify;
}
.mkt-modal-txt #mktModalTexto p:last-child { margin-bottom: 0; }

/* botón de cerrar */
.mkt-modal-cerrar {
    position: absolute;
    top: 12px; right: 14px;
    width: 40px; height: 40px;
    border: none;
    border-radius: 50%;
    background: rgba(0,0,0,.35);
    color: #fff;
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
    z-index: 2;
    transition: background .2s ease;
}
.mkt-modal-cerrar:hover { background: rgba(0,0,0,.6); }

/* en móvil se apila: imagen arriba, texto abajo */
@media (max-width: 620px) {
    .mkt-modal-caja { flex-direction: column; max-height: 90vh; overflow-y: auto; }
    .mkt-modal-img { flex: 0 0 auto; min-height: 200px; }
    .mkt-modal-txt { padding: 24px; }
}

/* =========================================================
   Etiquetas externas del círculo (2 izquierda, 2 derecha)
   conectadas con líneas y puntos
   ========================================================= */
.mkt-circulo-conjunto {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    width: 100%;
    max-width: 1000px;
    position: relative;
    z-index: 2;
}

.mkt-etiquetas {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 80px;              /* separación entre las 2 etiquetas del lado */
    flex: 1 1 0;
}
.mkt-etiquetas-izq { align-items: flex-end; }
.mkt-etiquetas-der { align-items: flex-start; }

/* botón de etiqueta: texto ARRIBA, línea ABAJO (en columna) */
.mkt-etiqueta-btn {
    display: flex;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    max-width: 300px;
}
.mkt-etiquetas-izq .mkt-etiqueta-btn { align-items: flex-start; }
.mkt-etiquetas-der .mkt-etiqueta-btn { align-items: flex-end; }

/* el texto de la etiqueta (arriba de la línea) */
.mkt-etiqueta-txt {
    color: #fff;
    font-weight: 700;
    font-size: 1.15rem;
    line-height: 1.3;
    text-shadow: 0 2px 6px rgba(0,0,0,.5);
    transition: color .2s ease;
    padding: 0 4px 4px;
    white-space: nowrap;       /* respeta los saltos que vienen del <br> */
}
.mkt-etiquetas-izq .mkt-etiqueta-txt { text-align: left; }
.mkt-etiquetas-der .mkt-etiqueta-txt { text-align: right; }
.mkt-etiqueta-btn:hover .mkt-etiqueta-txt { color: var(--sky-400); }

/* la línea conectora en "L" (SVG), texto arriba y círculo abajo */
.mkt-etiqueta-zig {
    width: 190px;              /* líneas más largas */
    height: 52px;
    overflow: visible;
}
.mkt-etiqueta-zig polyline {
    stroke: rgba(255,255,255,.8);
    stroke-width: 2;
    stroke-linejoin: round;
    stroke-linecap: round;
    transition: stroke .2s ease;
}
.mkt-etiqueta-zig circle {
    fill: #fff;
    filter: drop-shadow(0 0 4px rgba(255,255,255,.8));
    transition: fill .2s ease;
}
.mkt-etiqueta-btn:hover .mkt-etiqueta-zig polyline { stroke: var(--sky-400); }
.mkt-etiqueta-btn:hover .mkt-etiqueta-zig circle { fill: var(--sky-400); }

/* en móvil: etiquetas arriba y abajo, apiladas */
@media (max-width: 820px) {
    .mkt-circulo-conjunto { flex-direction: column; gap: 20px; }
    /* las etiquetas se apilan en columna, centradas, con buen espacio */
    .mkt-etiquetas {
        flex-direction: column;
        gap: 14px;
        width: 100%;
        align-items: center;
    }
    .mkt-etiquetas-izq, .mkt-etiquetas-der { align-items: center; }
    .mkt-etiqueta-zig { display: none; }   /* sin líneas en móvil */
    .mkt-etiqueta-btn {
        max-width: 90%;
        align-items: center;
    }
    .mkt-etiqueta-txt {
        text-align: center;
        font-size: 1rem;
        white-space: normal;   /* permite que el texto fluya en móvil */
    }
    /* el orden: etiquetas izquierda, círculo, etiquetas derecha */
    .mkt-etiquetas-izq { order: 1; }
    .mkt-circulo { order: 2; }
    .mkt-etiquetas-der { order: 3; }

    /* el círculo más chico en móvil, centrado */
    .mkt-circulo { width: 300px; max-width: 80vw; }
    /* el contenedor con menos padding y alto natural en móvil */
    .mkt-s3-circulo {
        padding: 40px 16px;
        min-height: 0;
        margin-top: 20px;
    }
    .mkt-circulo-conjunto { align-items: center; }
}

/* =========================================================
   FONDO DE PISO BLANCO CON RELIEVE (toda la página marketing)
   ========================================================= */
body.mkt-con-fondo {
    /* velo uniforme (mismo tono que tenía la sección 2) sobre el fondo de
       piso, para que TODA la página tenga el mismo filtro y no se
       desentone de una sección a otra */
    background-image:
        linear-gradient(rgba(238, 244, 251, .55), rgba(238, 244, 251, .55)),
        url('../assets/img/marketing/fondo-piso.avif');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
}
/* si prefieres que la textura se repita como mosaico en vez de estirarse,
   cambia las 2 líneas de arriba por:
   background-size: auto;  background-repeat: repeat;  */

/* la sección 2 (video + tarjetas) tenía un fondo sólido; lo hacemos
   semitransparente para que se vea el piso detrás */
body.mkt-con-fondo .mkt-productos {
    background: transparent;
}

/* =========================================================
   Botón de play sobre el video de la sección 2 (tipo YouTube)
   ========================================================= */
.mkt-orbita-video { position: relative; }
.mkt-video-play {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 84px; height: 84px;
    border-radius: 50%;
    border: none;
    background: rgba(11, 36, 71, .82);
    cursor: pointer;
    z-index: 3;
    transition: background .2s ease, transform .15s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}
.mkt-video-play::before {
    content: '';
    /* triángulo de "play" */
    width: 0; height: 0;
    border-style: solid;
    border-width: 16px 0 16px 26px;
    border-color: transparent transparent transparent #fff;
    margin-left: 6px;   /* centra ópticamente el triángulo */
}
.mkt-video-play:hover {
    background: var(--blue-500);
    transform: translate(-50%, -50%) scale(1.06);
}
/* cuando el video ya se está reproduciendo, ocultamos el botón */
.mkt-orbita-video.reproduciendo .mkt-video-play { display: none; }

/* indicador "Ver en TikTok" sobre los videos de la sección 3 */
.mkt-video-item { display: block; text-decoration: none; }
.mkt-video-tiktok {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    padding: 14px 10px 10px;
    text-align: center;
    color: #fff;
    font-size: .82rem;
    font-weight: 600;
    background: linear-gradient(0deg, rgba(0,0,0,.8), transparent);
    opacity: 0;
    transition: opacity .2s ease;
    z-index: 2;
}
.mkt-video-item:hover .mkt-video-tiktok { opacity: 1; }