/* Operativo de Evaluaciones Escolares 2026 — Centro Alba */
.ope {
  --ope-ink: #0e3442;
  --ope-teal: #124354;
  --ope-teal-2: #1b5d72;
  --ope-sky: #7cc8e3;
  --ope-pink: #f06e9c;
  --ope-sun: #ffc94d;
  --ope-orange: #f08a4b;
  --ope-wa: #1fae5b;
  --ope-wa-hover: #17944c;
  font-family: "DM Sans", system-ui, sans-serif;
  color: var(--ope-ink);
  background: #fff;
  padding: 56px 20px 64px;
  position: relative;
  scroll-margin-top: 72px;
}
.ope__prices { scroll-margin-top: 88px; }
.ope *, .ope *::before, .ope *::after { box-sizing: border-box; }
.ope__wrap { max-width: 1180px; margin: 0 auto; }

/* ---------- Tarjeta principal ---------- */
.ope__card {
  position: relative;
  overflow: hidden;
  border-radius: 32px;
  background:
    radial-gradient(520px 320px at 100% 0%, rgba(240, 110, 156, .28), transparent 70%),
    radial-gradient(420px 300px at 0% 100%, rgba(124, 200, 227, .25), transparent 70%),
    linear-gradient(135deg, var(--ope-teal) 0%, #0d3140 100%);
  color: #fff;
  padding: 48px;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 48px;
  box-shadow: 0 30px 60px -30px rgba(18, 67, 84, .55);
}
.ope__card::after { /* sol de marca, sutil */
  content: "";
  position: absolute;
  right: -90px; top: -90px;
  width: 260px; height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 201, 77, .35), transparent 65%);
  pointer-events: none;
}

.ope__eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 999px;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .18);
  font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: rgba(255, 255, 255, .85);
}
.ope__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ope-sun); box-shadow: 0 0 0 0 rgba(255, 201, 77, .7); animation: ope-pulse 1.8s infinite; }
@keyframes ope-pulse { 70% { box-shadow: 0 0 0 10px rgba(255, 201, 77, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 201, 77, 0); } }

.ope__title {
  font-family: "Sora", system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(2rem, 3.6vw, 3.1rem);
  line-height: 1.04;
  letter-spacing: -.02em;
  margin: 18px 0 14px;
}
.ope__title span {
  background: linear-gradient(90deg, var(--ope-pink), var(--ope-sun));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.ope__lead { font-size: 1.05rem; line-height: 1.6; color: rgba(255, 255, 255, .82); max-width: 34rem; margin: 0; }

.ope__facts { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 0; padding: 0; list-style: none; }
.ope__fact {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 14px; border-radius: 14px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .14);
  font-size: .92rem; font-weight: 600;
}
.ope__fact svg { width: 18px; height: 18px; flex: none; }
.ope__fact--date { background: #fff; color: var(--ope-ink); border-color: #fff; }
.ope__fact--date strong { color: #d4477a; }
.ope__fact--hot { background: rgba(255, 201, 77, .16); border-color: rgba(255, 201, 77, .45); color: #ffe3a1; }

.ope__cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 30px; }
.ope__wa {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 26px; border-radius: 16px;
  background: var(--ope-wa); color: #fff; text-decoration: none;
  font-family: "Sora", system-ui, sans-serif; font-weight: 700; font-size: 1rem;
  box-shadow: 0 12px 24px -10px rgba(31, 174, 91, .7);
  transition: transform .2s, background .2s;
}
.ope__wa:hover { background: var(--ope-wa-hover); transform: translateY(-2px); }
.ope__wa:focus-visible, .ope__link:focus-visible, .ope__item:focus-visible, .ope__tab:focus-visible { outline: 3px solid var(--ope-sun); outline-offset: 3px; }
.ope__wa svg { width: 22px; height: 22px; }
.ope__link { color: #fff; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(255, 255, 255, .4); }
.ope__countdown { font-size: .85rem; color: rgba(255, 255, 255, .7); margin-top: 14px; }
.ope__countdown b { color: var(--ope-sun); }

/* ---------- Qué incluye: 3 pasos ---------- */
.ope__steps-title { font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .7); margin: 4px 0 14px; }
.ope__steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; position: relative; z-index: 1; }
.ope__step {
  display: grid; grid-template-columns: 52px 1fr; gap: 16px; align-items: start;
  padding: 18px 20px; border-radius: 20px;
  background: rgba(255, 255, 255, .96); color: var(--ope-ink);
}
.ope__num {
  width: 52px; height: 52px; border-radius: 16px;
  display: grid; place-items: center;
  font-family: "Sora", system-ui, sans-serif; font-weight: 800; font-size: 1.05rem; color: #fff;
}
.ope__step:nth-child(1) .ope__num { background: var(--ope-pink); }
.ope__step:nth-child(2) .ope__num { background: #3aa3cc; }
.ope__step:nth-child(3) .ope__num { background: var(--ope-orange); }
.ope__step h3 { font-family: "Sora", system-ui, sans-serif; font-size: 1.08rem; font-weight: 700; margin: 2px 0 4px; }
.ope__step p { margin: 0; font-size: .93rem; line-height: 1.5; color: #42606b; }
.ope__price-hint {
  margin-top: 14px; display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  padding: 14px 20px; border-radius: 18px;
  background: rgba(255, 255, 255, .08); border: 1px dashed rgba(255, 255, 255, .3);
}
.ope__price-hint small { color: rgba(255, 255, 255, .75); font-size: .85rem; }
.ope__price-hint strong { font-family: "Sora", system-ui, sans-serif; font-size: 1.6rem; color: var(--ope-sun); }

/* ---------- Aranceles ---------- */
.ope__prices { margin-top: 28px; }
.ope__prices-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.ope__prices-head h3 { font-family: "Sora", system-ui, sans-serif; font-size: 1.5rem; font-weight: 800; margin: 0; letter-spacing: -.01em; }
.ope__prices-head p { margin: 4px 0 0; color: #5b7580; font-size: .95rem; }
.ope__tabs { display: inline-flex; gap: 6px; padding: 5px; border-radius: 14px; background: #eef5f8; }
.ope__tab {
  border: 0; cursor: pointer; padding: 10px 14px; border-radius: 10px;
  background: transparent; color: #42606b; font: 600 .9rem "DM Sans", system-ui, sans-serif;
}
.ope__tab[aria-selected="true"] { background: #fff; color: var(--ope-ink); box-shadow: 0 2px 8px rgba(18, 67, 84, .12); }
.ope__panel { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.ope__panel[hidden] { display: none; }
.ope__item {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 16px 18px; border-radius: 16px; text-decoration: none; color: var(--ope-ink);
  background: #fff; border: 1px solid #e3eef2;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.ope__item:hover { border-color: var(--ope-wa); box-shadow: 0 10px 20px -14px rgba(18, 67, 84, .5); transform: translateY(-1px); }
.ope__item-name { font-weight: 700; font-size: .95rem; line-height: 1.3; }
.ope__item-name small { display: block; font-weight: 500; color: #6b8590; font-size: .8rem; margin-top: 2px; }
.ope__item-price { font-family: "Sora", system-ui, sans-serif; font-weight: 700; white-space: nowrap; color: var(--ope-teal); }
.ope__item-go { display: inline-flex; align-items: center; gap: 6px; }
.ope__item-go svg { width: 18px; height: 18px; color: var(--ope-wa); opacity: .55; transition: opacity .2s; }
.ope__item:hover .ope__item-go svg { opacity: 1; }
.ope__note { grid-column: 1 / -1; margin: 4px 0 0; font-size: .85rem; color: #5b7580; line-height: 1.5; }
.ope__legal { margin-top: 18px; font-size: .8rem; color: #7a919a; text-align: center; }

/* ---------- Pastilla en hero ---------- */
.ope-hero-pill {
  display: inline-flex !important; align-items: center; gap: 10px;
  padding: 8px 8px 8px 14px; border-radius: 999px; text-decoration: none;
  background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .25);
  backdrop-filter: blur(12px); color: #fff; font-size: 13px; font-weight: 600;
}
.ope-hero-pill b { color: #ffe08a; }
.ope-hero-pill em { font-style: normal; padding: 4px 10px; border-radius: 999px; background: #fff; color: var(--ope-teal, #124354); font-size: 12px; font-weight: 700; }

/* ---------- Botón flotante (móvil) ---------- */
.ope-float {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60;
  display: none; align-items: center; justify-content: space-between; gap: 10px;
  padding: 10px 10px 10px 16px; border-radius: 18px;
  background: #124354; color: #fff; text-decoration: none;
  font: 600 .88rem "DM Sans", system-ui, sans-serif;
  box-shadow: 0 16px 30px -10px rgba(0, 0, 0, .45);
  transform: translateY(140%); transition: transform .35s ease;
}
.ope-float.is-visible { transform: translateY(0); }
.ope-float span small { display: block; font-weight: 500; opacity: .75; font-size: .76rem; }
.ope-float em { font-style: normal; display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; border-radius: 12px; background: #1fae5b; font-weight: 700; white-space: nowrap; }
.ope-float em svg { width: 18px; height: 18px; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .ope__card { grid-template-columns: 1fr; padding: 36px 28px; gap: 32px; }
  .ope__panel { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .ope { padding: 32px 14px 48px; }
  .ope__card { border-radius: 24px; padding: 28px 20px; }
  .ope__wa { width: 100%; justify-content: center; }
  .ope__cta-row { flex-direction: column; align-items: stretch; text-align: center; }
  .ope__panel { grid-template-columns: 1fr; }
  .ope__tabs { width: 100%; overflow-x: auto; }
  .ope__tab { flex: 1; white-space: nowrap; }
  .ope-float { display: flex; }
}
@media (prefers-reduced-motion: reduce) {
  .ope__dot { animation: none; }
  .ope__wa, .ope__item, .ope-float { transition: none; }
}

/* ---------- Ajustes móviles ---------- */
.ope__tab-s, .ope__show-sm { display: none; }
@media (max-width: 640px) {
  .ope__hide-sm { display: none; }
  .ope__show-sm { display: inline; }
  .ope__tab-l { display: none; }
  .ope__tab-s { display: inline; }
  .ope__tabs { overflow: visible; }
  .ope__tab { padding: 10px 6px; }
  .ope__lead { font-size: .98rem; }
  .ope__facts { gap: 8px; }
  .ope__fact { padding: 8px 11px; font-size: .85rem; }
  .ope__wa { font-size: .95rem; padding: 15px 18px; }
  .ope__step { grid-template-columns: 42px 1fr; gap: 12px; padding: 14px 16px; }
  .ope__num { width: 42px; height: 42px; border-radius: 13px; font-size: .95rem; }
  .ope__step p { font-size: .88rem; }
  .ope__item { padding: 13px 15px; }
  .ope-hero-pill { font-size: 12.5px; white-space: nowrap; }
}
