/* Quetzalitos Entretenimiento: tema morado y dorado sobre la base de styles.css */
body.ent {
  --ent-1: #2A1650; --ent-2: #3B2366; --ent-3: #4B2E83; --ent-4: #6B3FA0;
  background: var(--ent-1); color: var(--cream); padding-bottom: 0;
}
.ent .eyebrow { color: var(--gold-soft); }
.ent .eyebrow::before, .ent .eyebrow::after { background: var(--gold-soft); }
.ent h1, .ent h2, .ent h3 { font-family: var(--font-display); color: var(--cream); }
.ent .btn--primary {
  background-color: var(--gold-soft); color: #2A1650;
  background-image: linear-gradient(100deg, transparent 0%, transparent 42%, rgba(255, 255, 255, .85) 50%, transparent 58%, transparent 100%);
  box-shadow: 0 10px 28px -10px rgba(0, 0, 0, .5), inset 0 0 0 1px rgba(255, 255, 255, .4);
}
.ent em { font-style: italic; font-weight: 500; color: var(--gold-soft); }
.ent strong { color: var(--gold-soft); font-weight: 800; }
.ent :focus-visible { outline-color: var(--gold-soft); }

/* Barra superior con el cambio de rama */
.ent-bar {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px var(--gutter);
  background: rgba(42, 22, 80, .96);
  border-bottom: 1px solid rgba(232, 205, 134, .35);
}
.ent-bar__brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; color: var(--cream); }
.ramas { display: inline-flex; padding: 4px; gap: 4px; border-radius: 999px; background: rgba(246, 241, 231, .08); border: 1px solid rgba(232, 205, 134, .4); }
.ramas__op {
  padding: 8px 16px; border-radius: 999px; min-height: 40px; display: inline-flex; align-items: center;
  font-weight: 800; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; color: var(--cream);
  transition: background .3s, color .3s, transform .3s var(--ease-spring);
}
.ramas__op:hover { background: rgba(232, 205, 134, .16); }
.ramas__op.is-active { background: linear-gradient(180deg, #F1DE9E, var(--gold-soft)); color: #2A1650; }
html.js-ramas .ramas__op.is-active { background: none; }

/* Hero */
.ent-hero {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); align-items: center; gap: 40px;
  padding: 88px var(--gutter) 110px;
  background:
    radial-gradient(ellipse at 15% 0%, rgba(155, 114, 207, .45) 0%, transparent 55%),
    radial-gradient(ellipse at 90% 100%, rgba(232, 205, 134, .12) 0%, transparent 50%),
    linear-gradient(180deg, var(--ent-3) 0%, var(--ent-2) 100%);
}
.ent-hero__stars i {
  position: absolute; width: 6px; height: 6px; background: var(--gold-soft); opacity: .6;
  clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%);
  animation: entTitila 3.4s ease-in-out infinite;
}
.ent-hero__stars i:nth-child(1) { top: 12%; left: 8%; }
.ent-hero__stars i:nth-child(2) { top: 22%; left: 48%; animation-delay: .6s; width: 9px; height: 9px; }
.ent-hero__stars i:nth-child(3) { top: 70%; left: 14%; animation-delay: 1.1s; }
.ent-hero__stars i:nth-child(4) { top: 82%; left: 52%; animation-delay: 1.7s; width: 8px; height: 8px; }
.ent-hero__stars i:nth-child(5) { top: 14%; left: 90%; animation-delay: .3s; }
.ent-hero__stars i:nth-child(6) { top: 58%; left: 94%; animation-delay: 2s; width: 9px; height: 9px; }
.ent-hero__stars i:nth-child(7) { top: 40%; left: 3%; animation-delay: 1.4s; }
.ent-hero__stars i:nth-child(8) { top: 90%; left: 80%; animation-delay: .9s; }
@keyframes entTitila { 0%, 100% { opacity: .25; transform: scale(.8); } 50% { opacity: .95; transform: scale(1.2); } }
.ent-hero__text .eyebrow { margin-bottom: 16px; }
.ent-title { font-size: clamp(2.8rem, 7vw + .4rem, 5rem); font-weight: 600; line-height: 1.02; letter-spacing: -.02em; }
.ent-badge {
  display: inline-flex; align-items: center; gap: 12px; margin-top: 16px; padding: 9px 20px 9px 16px; border-radius: 999px;
  font-family: var(--font-body); font-size: .28em; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; line-height: 1.2;
  color: #2A1650; background: linear-gradient(180deg, #F1DE9E, var(--gold-soft));
  box-shadow: 0 8px 22px -10px rgba(0, 0, 0, .6), inset 0 0 0 1px rgba(184, 150, 75, .6);
}
.ent-badge i { width: 10px; height: 10px; border-radius: 50% 0 50% 0; background: var(--ent-3); transform: rotate(-20deg); }
.ent-lead { margin-top: 20px; max-width: 48ch; font-size: 1.15rem; color: rgba(246, 241, 231, .94); }
.ent-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* Secciones y transiciones curvas */
.ent-sec { position: relative; padding: 96px var(--gutter); background: linear-gradient(180deg, var(--ent-2), var(--ent-1)); }
.ent-sec--claro { background: linear-gradient(180deg, var(--ent-3), var(--ent-2)); }
.ent-hero + .ent-sec { margin-top: 0; }
.ent-sec::before, .ent-foot::before {
  content: ""; position: absolute; left: 0; right: 0; top: -47px; height: 48px; pointer-events: none;
  background: no-repeat center bottom / 100% 100%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 48' preserveAspectRatio='none'%3E%3Cpath fill='%233B2366' d='M0 30C300 2 540 8 780 28S1220 44 1440 12V48H0Z'/%3E%3Cpath fill='none' stroke='%23E8CD86' stroke-opacity='.7' stroke-width='1.2' d='M0 30C300 2 540 8 780 28S1220 44 1440 12'/%3E%3C/svg%3E");
}
.ent-sec--claro::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 48' preserveAspectRatio='none'%3E%3Cpath fill='%234B2E83' d='M0 22C240 46 480 46 720 24S1200 2 1440 30V48H0Z'/%3E%3Cpath fill='none' stroke='%23E8CD86' stroke-opacity='.7' stroke-width='1.2' d='M0 22C240 46 480 46 720 24S1200 2 1440 30'/%3E%3C/svg%3E");
}
.ent-foot::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 48' preserveAspectRatio='none'%3E%3Cpath fill='%232A1650' d='M0 14C240 46 480 46 720 24S1200 2 1440 34V48H0Z'/%3E%3Cpath fill='none' stroke='%23E8CD86' stroke-opacity='.7' stroke-width='1.2' d='M0 14C240 46 480 46 720 24S1200 2 1440 34'/%3E%3C/svg%3E");
}
.ent-head { max-width: 760px; margin: 0 auto 48px; text-align: center; }
.ent-head > * + * { margin-top: 14px; }
.ent-head h2, .tt h2, .c11 h2 { font-size: clamp(1.9rem, 3.6vw + .5rem, 2.9rem); font-weight: 600; letter-spacing: -.015em; line-height: 1.1; text-wrap: balance; }
.ent-head p:not(.eyebrow) { color: rgba(246, 241, 231, .85); font-size: 1.1rem; }

/* Meta + historiador */
.meta { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 48px; align-items: center; max-width: 1000px; margin: 0 auto; }
.meta__texto p { font-size: 1.15rem; color: rgba(246, 241, 231, .94); }
.meta__texto p + p { margin-top: 16px; }
.sergio { margin: 0; justify-self: center; width: min(100%, 320px); text-align: center; }
.sergio__foto {
  position: relative; aspect-ratio: 5 / 6; overflow: hidden; border-radius: 28px;
  border: 1px solid rgba(232, 205, 134, .6); box-shadow: var(--shadow-deep), 0 0 0 7px rgba(232, 205, 134, .12);
  background: radial-gradient(circle at 35% 30%, #9B72CF 0%, #6B3FA0 55%, #4B2E83 100%);
}
.sergio__foto img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sergio__inicial { position: absolute; inset: 0; display: none; place-items: center; font-family: var(--font-display); font-size: 4rem; font-weight: 700; color: var(--gold-soft); letter-spacing: .04em; }
.sergio__foto.is-vacia .sergio__inicial { display: grid; }
.sergio figcaption { display: grid; gap: 2px; margin-top: 18px; }
.sergio__rol { font-size: .74rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-soft); }
.sergio figcaption strong { font-family: var(--font-display); font-size: 1.4rem; color: var(--cream); font-weight: 600; }

/* Avance de diseño */
.chars { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; max-width: 1160px; margin: 0 auto; align-items: start; }
.char { display: grid; gap: 12px; padding: 14px; border-radius: 24px; background: rgba(246, 241, 231, .07); border: 1px solid rgba(232, 205, 134, .35); transition: transform .35s var(--ease-spring), border-color .3s; }
.char:hover { transform: translateY(-4px); border-color: rgba(232, 205, 134, .8); }
.char h3 { font-size: 1.3rem; font-weight: 600; text-align: center; color: var(--gold-soft); }
.shot { position: relative; display: block; width: 100%; padding: 0; border: 0; border-radius: 16px; overflow: hidden; cursor: zoom-in; background: #F6F1E7; }
.shot img { display: block; width: 100%; height: auto; transition: transform .5s var(--ease-out); }
.shot:hover img { transform: scale(1.04); }
.shot span {
  position: absolute; left: 8px; bottom: 8px; padding: 4px 10px; border-radius: 999px; font-size: .68rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  color: #2A1650; background: rgba(241, 222, 158, .95);
}
.ent-sub { margin: 56px auto 22px; text-align: center; font-size: 1.6rem; font-weight: 600; color: var(--cream); }
.proceso { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 16px; max-width: 1000px; margin: 0 auto; align-items: stretch; }
.proceso .shot { border: 1px solid rgba(232, 205, 134, .4); }
.proceso .shot img { height: 100%; object-fit: cover; }
.ent-nota { margin-top: 26px; text-align: center; color: rgba(246, 241, 231, .75); font-style: italic; }

/* TikTok */
.tt {
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 32px; align-items: center; max-width: 900px; margin: 0 auto; padding: 38px;
  border-radius: 32px; background: linear-gradient(180deg, rgba(107, 63, 160, .38), rgba(59, 35, 102, .38));
  border: 1px solid rgba(232, 205, 134, .5); box-shadow: var(--shadow-deep);
}
.tt__icono { width: 110px; height: 110px; display: grid; place-items: center; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #9B72CF, #4B2E83); box-shadow: inset 0 0 0 1px rgba(232, 205, 134, .6); }
.tt__icono svg { width: 56px; height: 56px; fill: none; stroke: var(--gold-soft); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.tt__texto > * + * { margin-top: 12px; }
.tt__texto p:not(.eyebrow) { color: rgba(246, 241, 231, .92); font-size: 1.08rem; }
.redes--ent { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px !important; }

/* Canal 11 */
.c11 { display: grid; justify-items: center; gap: 16px; text-align: center; max-width: 680px; margin: 0 auto; }
.c11 p { color: rgba(246, 241, 231, .92); font-size: 1.1rem; max-width: 52ch; }
.c11__sello { display: inline-flex; align-items: center; gap: 9px; padding: 7px 16px 7px 14px; border-radius: 999px; font-weight: 800; font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-soft); border: 1px solid rgba(232, 205, 134, .55); background: rgba(232, 205, 134, .1); }
.c11__sello i { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--gold-soft); }

/* Pie */
.ent-foot { position: relative; display: grid; justify-items: center; gap: 14px; padding: 72px var(--gutter) 48px; background: var(--ent-1); text-align: center; }
.ent-foot img { width: 150px; height: auto; border-radius: 22px; border: 1px solid var(--gold); }
.ent-foot p { font-weight: 700; letter-spacing: .02em; }

/* Visor */
.zoom { width: min(94vw, 900px); max-height: 92vh; padding: 0; border: 1px solid rgba(232, 205, 134, .6); border-radius: 20px; background: var(--ent-1); color: var(--cream); overflow: auto; }
.zoom::backdrop { background: rgba(15, 8, 35, .85); }
.zoom figure { margin: 0; }
.zoom img { display: block; width: 100%; height: auto; max-height: 80vh; object-fit: contain; background: #F6F1E7; }
.zoom figcaption { padding: 12px 18px 16px; font-weight: 700; }
.zoom__x { position: absolute; top: 10px; right: 10px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--gold); background: rgba(42, 22, 80, .9); color: var(--cream); font-size: 1.1rem; cursor: pointer; }

@media (max-width: 960px) {
  .chars { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767.98px) {
  .ent-bar { padding-block: 8px; }
  .ent-bar__brand span { display: none; }
  .ramas { width: 100%; }
  .ramas__op { flex: 1; justify-content: center; padding-inline: 8px; font-size: .74rem; letter-spacing: .05em; }
  .ent-hero { grid-template-columns: minmax(0, 1fr); gap: 28px; padding: 44px var(--gutter) 84px; }
  .ent-title { font-size: 2.9rem; }
  .ent-badge { margin-top: 12px; letter-spacing: .16em; }
  .ent-lead { font-size: 1.02rem; }
  .ent-sec { padding-block: 60px; }
  .ent-head { margin-bottom: 30px; }
  .ent-sec::before, .ent-foot::before { height: 30px; top: -29px; }
  .meta { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .chars { gap: 12px; }
  .char { padding: 10px; border-radius: 18px; }
  .char h3 { font-size: 1.1rem; }
  .proceso { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .proceso .shot:first-child { grid-column: 1 / -1; }
  .tt { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; padding: 28px 20px; gap: 20px; }
  .tt__icono { width: 84px; height: 84px; }
  .tt__icono svg { width: 44px; height: 44px; }
  .redes--ent { justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  .ent-hero__stars i, .c11__sello i { animation: none !important; }
}
.ent-bar a, .ent .btn { text-decoration: none; }
.ent-sec { scroll-margin-top: 76px; }
.lineas { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; max-width: 1160px; margin: 0 auto; }
.lineas .shot { border: 1px solid rgba(232, 205, 134, .4); }
@media (max-width: 767.98px) { .lineas { grid-template-columns: minmax(0, 1fr); } }
.chars .shot img { aspect-ratio: 3 / 4; height: auto; object-fit: cover; object-position: top; }
@media (max-width: 380px) {
  .ent-bar__brand { display: none; }
  .ramas__op { min-width: 0; padding: 8px 6px; font-size: .64rem; letter-spacing: .02em; }
}
.sergio__foto img:not(.sergio__2) { object-position: 50% 30%; }
.sergio__foto { overflow: visible; }
.sergio__foto img:first-child { border-radius: 28px; }
.sergio__2 {
  position: absolute; right: -14px; bottom: -22px; width: 46%; height: auto !important; aspect-ratio: 4 / 3;
  object-fit: cover; border-radius: 16px; border: 2px solid var(--gold-soft); box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .7);
}
.sergio figcaption { margin-top: 34px; }
.sergio__foto .sergio__2 { width: 44%; height: auto !important; right: -12px; bottom: -20px; }
.sergio__foto img:first-child { object-position: 50% 20%; }
.ent-bar__brand img { width: 40px; height: auto; border-radius: 10px; border: 1px solid var(--gold); }
.eq {
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 32px; align-items: center; max-width: 900px; margin: 0 auto; padding: 38px;
  border-radius: 32px; background: linear-gradient(180deg, rgba(107, 63, 160, .38), rgba(59, 35, 102, .38));
  border: 1px solid rgba(232, 205, 134, .5); box-shadow: var(--shadow-deep);
}
.eq h2 { font-size: clamp(1.8rem, 3.2vw + .5rem, 2.6rem); font-weight: 600; letter-spacing: -.015em; line-height: 1.1; text-wrap: balance; }
.eq__texto > * + * { margin-top: 12px; }
.eq__texto p:not(.eyebrow) { color: rgba(246, 241, 231, .94); font-size: 1.08rem; }
.eq__chips { display: grid; justify-items: center; gap: 6px; }
.eq__chips span {
  display: grid; place-items: center; width: 88px; height: 88px; border-radius: 50%;
  font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; color: var(--gold-soft);
  background: radial-gradient(circle at 35% 30%, #9B72CF, #4B2E83); box-shadow: inset 0 0 0 1px rgba(232, 205, 134, .6);
}
.eq__chips b { color: var(--gold-soft); font-size: 1.4rem; line-height: 1; }
@media (max-width: 767.98px) {
  .eq { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; padding: 28px 20px; gap: 20px; }
  .eq__chips { grid-auto-flow: column; align-items: center; gap: 12px; }
  .eq__chips span { width: 72px; height: 72px; font-size: 1.15rem; }
}
.ent-hero__stars { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.ent-hero__text, .ent-hero .hero__art { position: relative; z-index: 1; }
@media (min-width: 768px) { .ent-bar { justify-content: center; height: 60px; } .ent-bar__brand { display: none; } }

/* Fondos con textura (las plumas de Alimenticio, teñidas de morado) y adornos */
.ent-hero {
  background:
    radial-gradient(ellipse at 15% 0%, rgba(155, 114, 207, .5) 0%, transparent 55%),
    radial-gradient(ellipse at 90% 100%, rgba(232, 205, 134, .16) 0%, transparent 50%),
    linear-gradient(100deg, rgba(59, 35, 102, .72) 0%, rgba(75, 46, 131, .5) 55%, rgba(75, 46, 131, .3) 100%),
    url("img/ent-plumas-a.jpg") center top / 100% auto repeat-y,
    var(--ent-2);
}
.ent-sec {
  background:
    radial-gradient(ellipse at 85% 0%, rgba(155, 114, 207, .3) 0%, transparent 55%),
    linear-gradient(180deg, rgba(42, 22, 80, .62), rgba(42, 22, 80, .78)),
    url("img/ent-plumas-a.jpg") center top / 100% auto repeat-y,
    var(--ent-2);
}
.ent-sec--claro {
  background:
    radial-gradient(ellipse at 10% 100%, rgba(232, 205, 134, .16) 0%, transparent 55%),
    linear-gradient(180deg, rgba(75, 46, 131, .5), rgba(59, 35, 102, .68)),
    url("img/ent-plumas-b.jpg") center top / 100% auto repeat-y,
    var(--ent-3);
}
.ent-foot {
  background:
    linear-gradient(180deg, rgba(42, 22, 80, .9), rgba(32, 16, 64, .95)),
    url("img/ent-plumas-b.jpg") center bottom / 100% auto repeat-y,
    var(--ent-1);
}
.ent-head::after, .eq::before {
  content: ""; display: block; width: 190px; height: 14px; margin: 22px auto 0; opacity: .7;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='14' viewBox='0 0 28 14'%3E%3Cpath d='M0 12H7V7H14V2H21V7H28' fill='none' stroke='%23E8CD86' stroke-width='1.6'/%3E%3C/svg%3E") repeat-x center;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 25%, #000 75%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 25%, #000 75%, transparent);
}
.eq::before { display: none; }
.tt::before, .eq::after { /* esquina dorada */
  content: ""; position: absolute; top: 14px; right: 14px; width: 26px; height: 26px; opacity: .8; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 21C5 13 9 6 21 3C18 10 14 17 3 21Z' fill='%23E8CD86'/%3E%3C/svg%3E") no-repeat center / contain;
  transform: rotate(40deg);
}
.tt, .eq { position: relative; }
.ent-sec::after { /* destello suave que flota */
  content: ""; position: absolute; width: 220px; height: 220px; right: 6%; top: 14%; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(232, 205, 134, .16), transparent 65%); animation: entHalo 7s ease-in-out infinite;
}
@keyframes entHalo { 0%, 100% { transform: translate(0, 0) scale(1); opacity: .6; } 50% { transform: translate(-30px, 24px) scale(1.2); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .ent-sec::after { animation: none; } }

@media (min-width: 768px) { .ent-bar { background: rgba(42, 22, 80, .78); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3); } }
