/* Plan maestro en acción · CECOSF Villa Olímpica (Inicio) */
.cx { background: linear-gradient(180deg, #112E4D 0%, #0c2038 100%); color: #fff; padding: 80px 0 72px; }
.cx .eyebrow { color: #7ee3d4; }
.cx-head { text-align: center; max-width: 760px; margin: 0 auto 34px; }
.cx-head h2 { color: #fff; font-size: clamp(1.9rem, 4.2vw, 3rem); line-height: 1.1; margin: 10px 0 14px; }
.cx-head p { color: rgba(255,255,255,.82); font-size: 1.05rem; line-height: 1.65; margin: 0; }
.cx-head strong { color: #fff; }
.cx-tabs { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
.cx-tabs button { font: inherit; font-weight: 700; font-size: .92rem; padding: 10px 20px; border-radius: 100px; border: 1.5px solid rgba(255,255,255,.35); background: transparent; color: #fff; cursor: pointer; transition: all .2s; }
.cx-tabs button:hover { border-color: #fff; }
.cx-tabs button[aria-selected="true"] { background: #FF37D5; border-color: #FF37D5; box-shadow: 0 6px 22px rgba(255,55,213,.35); }
.cx-tabs button:focus-visible { outline: 3px solid #7ee3d4; outline-offset: 2px; }
.cx-panel { display: grid; grid-template-columns: 1fr auto 1.35fr; gap: 18px; align-items: center; max-width: 1040px; margin: 0 auto; }
.cx-panel[hidden] { display: none; }
.cx-panel figure { margin: 0; position: relative; }
.cx-panel img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 16px; }
.cx-antes img { filter: grayscale(.55) brightness(.9); opacity: .92; }
.cx-hoy img { box-shadow: 0 18px 50px rgba(0,0,0,.45), 0 0 0 3px rgba(255,255,255,.9); }
.cx-tag { position: absolute; left: 12px; top: 12px; z-index: 1; background: rgba(17,46,77,.85); color: #fff; font-weight: 800; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; padding: 5px 12px; border-radius: 100px; }
.cx-tag-hoy { background: #FF37D5; }
.cx-flecha { font-size: 2rem; color: #FF37D5; font-weight: 800; }
.cx-pie { grid-column: 1 / -1; text-align: center; margin: 6px 0 0; color: rgba(255,255,255,.88); font-size: 1.02rem; font-weight: 600; }
.cx-datos { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; max-width: 1040px; margin: 40px auto 0; padding: 0; }
.cx-datos li { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); border-radius: 16px; padding: 18px 16px; text-align: center; }
.cx-datos strong { display: block; font-size: 2rem; line-height: 1.1; color: #fff; }
.cx-datos span { display: block; margin-top: 6px; font-size: .86rem; color: rgba(255,255,255,.75); line-height: 1.35; }
.cx-cta { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.cx-btn { display: inline-block; font-weight: 800; padding: 15px 28px; border-radius: 100px; text-decoration: none; transition: transform .2s, box-shadow .2s; }
.cx-btn-1 { background: #FF37D5; color: #fff; box-shadow: 0 8px 26px rgba(255,55,213,.4); }
.cx-btn-2 { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.6); }
.cx-btn:hover { transform: translateY(-2px); color: #fff; }
.cx-mas { text-align: center; margin: 22px 0 0; font-size: .92rem; } .cx-mas a { color: #7ee3d4; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 820px) {
  .cx { padding: 60px 0 56px; }
  .cx-panel { grid-template-columns: 1fr; gap: 10px; }
  .cx-flecha { text-align: center; transform: rotate(90deg); font-size: 1.6rem; }
  .cx-datos { grid-template-columns: repeat(2, 1fr); }
}
@media (prefers-reduced-motion: reduce) { .cx-btn { transition: none; } }
