/* ==========================================================================
   qc-chrome.css — Quality College México
   Encabezado (top bar + navegación + mega-menú), pie de página y
   banner de consentimiento de cookies. CSS autónomo (prefijo .qc-) para
   que funcione igual en las páginas Astro y en las páginas HTML estáticas
   (blog y landings) sin depender de Tailwind.
   ========================================================================== */

:root {
  --qc-dark: #0a0f1e;
  --qc-ink: #111a33;
  --qc-primary: #1a3470;
  --qc-primary-2: #23448f;
  --qc-accent: #0ea5e9;
  --qc-gold: #f59e0b;
  --qc-light: #f8fafc;
  --qc-line: #e6e9f0;
  --qc-muted: #5b6478;
  --qc-radius: 14px;
  --qc-font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --qc-font-head: 'Sora', 'Inter', system-ui, sans-serif;
  --qc-shadow: 0 24px 60px -20px rgba(10, 15, 30, .28), 0 8px 20px -12px rgba(10, 15, 30, .18);
  --qc-header-h: 76px;
}

.qc-chrome, .qc-chrome * { box-sizing: border-box; }
.qc-chrome { font-family: var(--qc-font); -webkit-font-smoothing: antialiased; }
.qc-chrome a { text-decoration: none; }
.qc-chrome svg { flex-shrink: 0; width: 1.15em; height: 1.15em; display: inline-block; }
.qc-wrap { max-width: 1280px; margin: 0 auto; padding: 0 20px; }
@media (min-width: 768px) { .qc-wrap { padding: 0 32px; } }

/* ---------- Top bar ---------- */
.qc-topbar { background: var(--qc-dark); color: #aeb6c8; font-size: 12.5px; letter-spacing: .01em; border-bottom: 1px solid rgba(255,255,255,.06); position: relative; z-index: 61; }
.qc-topbar .qc-wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.qc-topbar__group { display: flex; align-items: center; gap: 22px; }
.qc-topbar a, .qc-topbar span { color: #c3cadb; display: inline-flex; align-items: center; gap: 7px; transition: color .2s; white-space: nowrap; }
.qc-topbar a:hover { color: #fff; }
.qc-topbar svg { width: 14px; height: 14px; color: var(--qc-accent); }
.qc-topbar__sep { width: 1px; height: 14px; background: rgba(255,255,255,.14); }
.qc-topbar__flags { gap: 6px !important; }
.qc-flag { display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 10.5px; letter-spacing: .06em; padding: 3px 7px; border-radius: 5px; border: 1px solid rgba(255,255,255,.14); color: #dfe4ef !important; }
.qc-flag--on { background: rgba(14,165,233,.16); border-color: rgba(14,165,233,.45); color: #fff !important; }
.qc-topbar__client { font-weight: 600; }
.qc-hide-sm { display: none !important; }
@media (min-width: 640px) { .qc-hide-sm { display: inline-flex !important; } }
.qc-hide-md { display: none !important; }
@media (min-width: 1024px) { .qc-hide-md { display: inline-flex !important; } }
@media (max-width: 639px) { .qc-topbar__group--right { display: none; } .qc-topbar .qc-wrap { justify-content: center; } }

/* ---------- Header ---------- */
.qc-header { position: sticky; top: 0; z-index: 60; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--qc-line); transition: box-shadow .3s, background .3s; }
@supports (backdrop-filter: blur(10px)) { .qc-header { background: rgba(255,255,255,.97); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px); } }
.qc-header.is-scrolled { box-shadow: 0 10px 30px -18px rgba(10,15,30,.35); }
.qc-header__bar { display: flex; align-items: center; justify-content: space-between; height: var(--qc-header-h); gap: 20px; }
.qc-logo { display: inline-flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.qc-logo img { height: 46px; width: 73px; min-width: 73px; max-width: none; object-fit: contain; display: block; flex-shrink: 0; }
.qc-logo__tag { display: none; flex-direction: column; line-height: 1.15; padding-left: 12px; border-left: 1px solid var(--qc-line); }
.qc-logo__tag b { font-family: var(--qc-font-head); color: var(--qc-primary); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.qc-logo__tag small { color: var(--qc-muted); font-size: 11px; }
@media (min-width: 1600px) { .qc-logo__tag { display: inline-flex; } }

.qc-nav { display: none; align-items: center; gap: 2px; height: 100%; }
@media (min-width: 1120px) { .qc-nav { display: flex; } }
.qc-nav__item { position: static; height: 100%; display: flex; align-items: center; }
.qc-nav__link { display: inline-flex; align-items: center; gap: 6px; height: 42px; padding: 0 13px; border-radius: 10px; font-size: 14.5px; font-weight: 600; color: #1f2940; background: none; border: 0; cursor: pointer; font-family: var(--qc-font); transition: color .2s, background .2s; white-space: nowrap; }
@media (max-width: 1279px) { .qc-nav__link { padding: 0 10px; font-size: 14px; } }
.qc-nav__link svg { width: 15px; height: 15px; transition: transform .25s; color: #8a93a8; }
.qc-nav__link:hover, .qc-nav__item.is-open .qc-nav__link { color: var(--qc-primary); background: #f1f4fa; }
.qc-nav__item.is-open .qc-nav__link svg { transform: rotate(180deg); color: var(--qc-primary); }
.qc-nav__link--new::after { content: 'NUEVA'; font-size: 9px; font-weight: 800; letter-spacing: .08em; background: var(--qc-gold); color: var(--qc-dark); padding: 2px 5px; border-radius: 4px; margin-left: 2px; }

.qc-actions { display: flex; align-items: center; gap: 10px; }
.qc-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: var(--qc-font); font-weight: 700; font-size: 14px; border-radius: 11px; padding: 11px 18px; transition: transform .2s, box-shadow .2s, background .2s, color .2s; cursor: pointer; border: 0; white-space: nowrap; line-height: 1.2; }
.qc-btn svg { width: 16px; height: 16px; transition: transform .2s; }
.qc-btn:hover svg { transform: translateX(3px); }
.qc-btn--primary { background: var(--qc-primary); color: #fff !important; box-shadow: 0 10px 24px -10px rgba(26,52,112,.6); }
.qc-btn--primary:hover { background: var(--qc-primary-2); transform: translateY(-1px); }
.qc-btn--gold { background: linear-gradient(135deg, #fbbf24, var(--qc-gold)); color: var(--qc-dark) !important; box-shadow: 0 10px 24px -10px rgba(245,158,11,.7); }
.qc-btn--gold:hover { transform: translateY(-1px); filter: brightness(1.04); }
.qc-btn--ghost { background: transparent; color: var(--qc-primary) !important; border: 1px solid #cfd6e6; }
.qc-btn--ghost:hover { border-color: var(--qc-primary); background: #f5f7fc; }
.qc-btn--light { background: rgba(255,255,255,.08); color: #fff !important; border: 1px solid rgba(255,255,255,.22); }
.qc-btn--light:hover { background: rgba(255,255,255,.16); }
.qc-actions .qc-btn--ghost { display: none; }
@media (min-width: 1440px) { .qc-actions .qc-btn--ghost { display: inline-flex; } }
.qc-actions .qc-btn--primary { display: none; }
@media (min-width: 560px) { .qc-actions .qc-btn--primary { display: inline-flex; } }

.qc-burger { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 11px; border: 1px solid var(--qc-line); background: #fff; color: var(--qc-ink); cursor: pointer; }
.qc-burger svg { width: 22px; height: 22px; }
@media (min-width: 1120px) { .qc-burger { display: none; } }

/* ---------- Mega menu ---------- */
.qc-mega { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-top: 1px solid var(--qc-line); box-shadow: var(--qc-shadow); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .22s ease, transform .22s ease, visibility .22s; }
.qc-nav__item.is-open .qc-mega { opacity: 1; visibility: visible; transform: translateY(0); }
@media (hover: hover) and (pointer: fine) {
  .qc-nav__item:hover .qc-mega, .qc-nav__item:focus-within .qc-mega { opacity: 1; visibility: visible; transform: translateY(0); }
  .qc-nav__item:hover .qc-nav__link { color: var(--qc-primary); background: #f1f4fa; }
  .qc-nav__item:hover .qc-nav__link svg { transform: rotate(180deg); color: var(--qc-primary); }
}
.qc-mega__inner { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 32px; padding: 34px 0 38px; }
.qc-mega__col { grid-column: span 3; }
.qc-mega__col--wide { grid-column: span 6; }
.qc-mega__col--feature { grid-column: span 3; }
.qc-mega__title { font-family: var(--qc-font-head); font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #8a93a8; margin: 0 0 14px; padding-bottom: 10px; border-bottom: 1px solid var(--qc-line); }
.qc-mega__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.qc-mega__list--2 { grid-template-columns: 1fr 1fr; column-gap: 18px; }
.qc-mega__link { display: flex; align-items: flex-start; gap: 12px; padding: 9px 10px; margin: 0 -10px; border-radius: 10px; color: #1f2940; transition: background .2s; }
.qc-mega__link:hover { background: #f3f6fb; }
.qc-mega__link:hover .qc-mega__name { color: var(--qc-primary); }
.qc-mega__ico { width: 36px; height: 36px; border-radius: 10px; background: #eef2fa; color: var(--qc-primary); display: inline-flex; align-items: center; justify-content: center; }
.qc-mega__ico svg { width: 18px; height: 18px; }
.qc-mega__name { display: block; font-weight: 650; font-size: 14px; color: #111a33; transition: color .2s; }
.qc-mega__desc { display: block; font-size: 12.5px; color: var(--qc-muted); margin-top: 2px; line-height: 1.4; }
.qc-mega__feature { display: flex; flex-direction: column; justify-content: space-between; height: 100%; min-height: 220px; padding: 24px; border-radius: 16px; color: #fff; background: radial-gradient(120% 120% at 100% 0%, rgba(14,165,233,.35) 0%, transparent 55%), linear-gradient(150deg, var(--qc-primary) 0%, var(--qc-dark) 100%); position: relative; overflow: hidden; }
.qc-mega__feature::after { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 28px 28px; pointer-events: none; }
.qc-mega__feature > * { position: relative; z-index: 1; }
.qc-mega__eyebrow { font-size: 10.5px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--qc-gold); }
.qc-mega__feature h4 { font-family: var(--qc-font-head); font-size: 19px; line-height: 1.25; margin: 10px 0 8px; color: #fff; font-weight: 700; }
.qc-mega__feature p { font-size: 13px; color: #c9d2e6; margin: 0 0 18px; line-height: 1.5; }
.qc-mega__feature a { color: #fff; font-weight: 700; font-size: 13.5px; display: inline-flex; align-items: center; gap: 6px; }
.qc-mega__feature a svg { width: 15px; height: 15px; }
.qc-mega__foot { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 18px; border-top: 1px solid var(--qc-line); font-size: 13px; color: var(--qc-muted); }
.qc-mega__foot a { color: var(--qc-primary); font-weight: 700; display: inline-flex; align-items: center; gap: 6px; }
.qc-mega__foot svg { width: 15px; height: 15px; }

/* ---------- Mobile drawer ---------- */
.qc-drawer { position: fixed; inset: 0; z-index: 80; visibility: hidden; }
.qc-drawer.is-open { visibility: visible; }
.qc-drawer__overlay { position: absolute; inset: 0; background: rgba(10,15,30,.55); opacity: 0; transition: opacity .3s; backdrop-filter: blur(2px); }
.qc-drawer.is-open .qc-drawer__overlay { opacity: 1; }
.qc-drawer__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(420px, 100%); background: #fff; transform: translateX(100%); transition: transform .35s cubic-bezier(.2,.8,.2,1); display: flex; flex-direction: column; box-shadow: var(--qc-shadow); }
.qc-drawer.is-open .qc-drawer__panel { transform: translateX(0); }
.qc-drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; border-bottom: 1px solid var(--qc-line); }
.qc-drawer__head img { height: 40px; width: auto; }
.qc-drawer__body { flex: 1; overflow-y: auto; padding: 8px 20px 24px; -webkit-overflow-scrolling: touch; }
.qc-acc { border-bottom: 1px solid var(--qc-line); }
.qc-acc summary { list-style: none; display: flex; align-items: center; justify-content: space-between; padding: 16px 2px; font-weight: 700; font-size: 16px; color: #111a33; cursor: pointer; }
.qc-acc summary::-webkit-details-marker { display: none; }
.qc-acc summary svg { width: 18px; height: 18px; color: #8a93a8; transition: transform .25s; }
.qc-acc[open] summary svg { transform: rotate(180deg); color: var(--qc-primary); }
.qc-acc__list { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 2px; }
.qc-acc__list a { display: flex; align-items: center; justify-content: space-between; padding: 10px 12px; border-radius: 10px; color: #33405c; font-size: 14.5px; font-weight: 500; background: #f7f9fc; }
.qc-acc__list a:hover { color: var(--qc-primary); background: #eef2fa; }
.qc-acc__list svg, .qc-drawer__single svg { width: 16px; height: 16px; color: #8a93a8; }
.qc-acc__list small { display: none; }
@media (min-width: 400px) { .qc-acc__list small { display: inline; margin-left: auto; padding-left: 10px; text-align: right; } }
.qc-acc__group { font-size: 10.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #8a93a8; padding: 10px 2px 4px; }
.qc-drawer__single { display: flex; align-items: center; justify-content: space-between; padding: 16px 2px; font-weight: 700; font-size: 16px; color: #111a33 !important; border-bottom: 1px solid var(--qc-line); }
.qc-drawer__foot { padding: 16px 20px 22px; border-top: 1px solid var(--qc-line); display: grid; gap: 10px; background: var(--qc-light); }
.qc-drawer__foot .qc-btn { width: 100%; padding: 14px 18px; font-size: 15px; }
.qc-drawer__contact { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; font-size: 13px; color: var(--qc-muted); padding-top: 4px; }
.qc-drawer__contact a { color: var(--qc-primary); font-weight: 600; display: inline-flex; gap: 6px; align-items: center; }
.qc-drawer__contact svg { width: 14px; height: 14px; }
html.qc-lock, html.qc-lock body { overflow: hidden; }

/* ---------- Footer ---------- */
.qc-footer { background: var(--qc-dark); color: #9aa3b8; position: relative; overflow: hidden; }
.qc-footer::before { content: ''; position: absolute; inset: 0; background: radial-gradient(60% 50% at 85% 0%, rgba(26,52,112,.55) 0%, transparent 70%); pointer-events: none; }
.qc-footer > * { position: relative; }
.qc-footer__cta { border-bottom: 1px solid rgba(255,255,255,.07); }
.qc-footer__cta .qc-wrap { display: flex; flex-direction: column; gap: 22px; padding-top: 52px; padding-bottom: 52px; }
@media (min-width: 900px) { .qc-footer__cta .qc-wrap { flex-direction: row; align-items: center; justify-content: space-between; } }
.qc-footer__cta h2 { font-family: var(--qc-font-head); color: #fff; font-size: clamp(22px, 2.6vw, 30px); line-height: 1.2; margin: 0 0 8px; font-weight: 700; letter-spacing: -.01em; }
.qc-footer__cta p { margin: 0; color: #a9b2c7; font-size: 15px; }
.qc-footer__cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.qc-footer__grid { display: grid; gap: 40px; padding-top: 56px; padding-bottom: 44px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .qc-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .qc-footer__grid { grid-template-columns: 1.5fr 1fr 1fr 1fr 1.3fr; gap: 36px; } }
.qc-footer__brand img { height: 52px; width: auto; filter: brightness(0) invert(1); opacity: .95; }
.qc-footer__brand p { font-size: 14px; line-height: 1.65; margin: 18px 0 20px; color: #9aa3b8; max-width: 340px; }
.qc-footer__badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.qc-footer__badge { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 600; color: #d6dcea; padding: 6px 10px; border-radius: 8px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.09); }
.qc-footer__badge svg { width: 13px; height: 13px; color: var(--qc-gold); }
.qc-social { display: flex; gap: 10px; }
.qc-social a { width: 38px; height: 38px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); color: #c3cadb; transition: all .2s; }
.qc-social a:hover { background: var(--qc-accent); border-color: var(--qc-accent); color: #fff; transform: translateY(-2px); }
.qc-social svg { width: 17px; height: 17px; }
.qc-footer h3 { font-family: var(--qc-font-head); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; margin: 0 0 18px; }
.qc-footer__links { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.qc-footer__links a { color: #9aa3b8; font-size: 14px; transition: color .2s, padding .2s; }
.qc-footer__links a:hover { color: #fff; padding-left: 3px; }
.qc-footer__contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; font-size: 14px; }
.qc-footer__contact li { display: flex; gap: 11px; align-items: flex-start; line-height: 1.55; }
.qc-footer__contact svg { width: 17px; height: 17px; color: var(--qc-accent); margin-top: 2px; }
.qc-footer__contact a { color: #d6dcea; }
.qc-footer__contact a:hover { color: #fff; }
.qc-footer__contact small { display: block; color: #6f7a92; font-size: 12px; }
.qc-footer__legal { border-top: 1px solid rgba(255,255,255,.07); background: rgba(0,0,0,.18); }
.qc-footer__legal .qc-wrap { display: flex; flex-direction: column; gap: 14px; padding-top: 22px; padding-bottom: 26px; font-size: 12.5px; }
@media (min-width: 1024px) { .qc-footer__legal .qc-wrap { flex-direction: row; align-items: center; justify-content: space-between; } }
.qc-footer__legal p { margin: 0; color: #7a849b; line-height: 1.6; }
.qc-footer__legal nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.qc-footer__legal nav a, .qc-footer__legal nav button { color: #a9b2c7; font-size: 12.5px; background: none; border: 0; padding: 0; cursor: pointer; font-family: var(--qc-font); transition: color .2s; }
.qc-footer__legal nav a:hover, .qc-footer__legal nav button:hover { color: #fff; }
@media (max-width: 1023px) { .qc-footer { padding-bottom: 76px; } }

/* ---------- Cookie consent ---------- */
.qc-cc { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 90; max-width: 1080px; margin: 0 auto; background: #fff; color: #33405c; border: 1px solid var(--qc-line); border-radius: 18px; box-shadow: 0 30px 80px -20px rgba(10,15,30,.45); font-family: var(--qc-font); transform: translateY(140%); opacity: 0; transition: transform .45s cubic-bezier(.2,.8,.2,1), opacity .3s; }
.qc-cc.is-visible { transform: translateY(0); opacity: 1; }
.qc-cc__inner { display: flex; flex-direction: column; gap: 18px; padding: 22px; }
@media (min-width: 900px) { .qc-cc__inner { flex-direction: row; align-items: center; padding: 22px 26px; gap: 28px; } }
.qc-cc__text { display: flex; gap: 14px; align-items: flex-start; flex: 1; }
.qc-cc__ico { width: 42px; height: 42px; border-radius: 12px; background: #eef2fa; color: var(--qc-primary); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.qc-cc__ico svg { width: 22px; height: 22px; }
.qc-cc h2 { font-family: var(--qc-font-head); font-size: 15.5px; color: #111a33; margin: 0 0 4px; font-weight: 700; }
.qc-cc p { margin: 0; font-size: 13.5px; line-height: 1.55; color: #4b5570; }
.qc-cc p a { color: var(--qc-primary); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.qc-cc__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; flex-shrink: 0; }
.qc-cc__actions .qc-btn { font-size: 13.5px; padding: 11px 16px; }
.qc-cc__actions .qc-btn--primary { grid-column: 1 / -1; }
@media (min-width: 560px) { .qc-cc__actions { grid-template-columns: auto auto auto; } .qc-cc__actions .qc-btn--primary { grid-column: auto; } }

.qc-cm { position: fixed; inset: 0; z-index: 95; display: flex; align-items: flex-end; justify-content: center; padding: 0; visibility: hidden; font-family: var(--qc-font); }
@media (min-width: 640px) { .qc-cm { align-items: center; padding: 24px; } }
.qc-cm.is-open { visibility: visible; }
.qc-cm__overlay { position: absolute; inset: 0; background: rgba(10,15,30,.6); opacity: 0; transition: opacity .3s; backdrop-filter: blur(3px); }
.qc-cm.is-open .qc-cm__overlay { opacity: 1; }
.qc-cm__dialog { position: relative; width: 100%; max-width: 640px; max-height: 92vh; display: flex; flex-direction: column; background: #fff; border-radius: 20px 20px 0 0; box-shadow: var(--qc-shadow); transform: translateY(30px); opacity: 0; transition: transform .35s, opacity .3s; }
@media (min-width: 640px) { .qc-cm__dialog { border-radius: 20px; } }
.qc-cm.is-open .qc-cm__dialog { transform: translateY(0); opacity: 1; }
.qc-cm__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 24px 24px 16px; border-bottom: 1px solid var(--qc-line); }
.qc-cm__head h2 { font-family: var(--qc-font-head); font-size: 19px; color: #111a33; margin: 0 0 6px; font-weight: 700; }
.qc-cm__head p { margin: 0; font-size: 13.5px; color: #5b6478; line-height: 1.55; }
.qc-cm__head p a { color: var(--qc-primary); font-weight: 600; text-decoration: underline; }
.qc-cm__close { width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--qc-line); background: #fff; color: #33405c; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.qc-cm__close svg { width: 18px; height: 18px; }
.qc-cm__body { overflow-y: auto; padding: 8px 24px; }
.qc-cat { padding: 16px 0; border-bottom: 1px solid var(--qc-line); }
.qc-cat:last-child { border-bottom: 0; }
.qc-cat__row { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.qc-cat h3 { font-size: 14.5px; font-weight: 700; color: #111a33; margin: 0; }
.qc-cat p { font-size: 13px; color: #5b6478; margin: 6px 0 0; line-height: 1.55; }
.qc-cat__always { font-size: 11.5px; font-weight: 700; color: #0f8a4b; background: #e7f7ee; padding: 5px 9px; border-radius: 7px; white-space: nowrap; }
.qc-switch { position: relative; width: 46px; height: 26px; flex-shrink: 0; }
.qc-switch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; z-index: 1; }
.qc-switch span { position: absolute; inset: 0; border-radius: 999px; background: #cfd6e4; transition: background .2s; }
.qc-switch span::after { content: ''; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0,0,0,.2); transition: transform .2s; }
.qc-switch input:checked + span { background: var(--qc-primary); }
.qc-switch input:checked + span::after { transform: translateX(20px); }
.qc-switch input:focus-visible + span { outline: 3px solid rgba(14,165,233,.5); outline-offset: 2px; }
.qc-cm__foot { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; padding: 16px 24px 22px; border-top: 1px solid var(--qc-line); background: var(--qc-light); border-radius: 0 0 20px 20px; }
.qc-cm__foot .qc-btn { flex: 1 1 auto; font-size: 13.5px; }
@media (min-width: 640px) { .qc-cm__foot .qc-btn { flex: 0 0 auto; } }

/* Accesibilidad */
.qc-chrome a:focus-visible, .qc-chrome button:focus-visible, .qc-cc button:focus-visible, .qc-cm button:focus-visible { outline: 3px solid rgba(14,165,233,.6); outline-offset: 2px; border-radius: 8px; }
@media (prefers-reduced-motion: reduce) {
  .qc-mega, .qc-drawer__panel, .qc-cc, .qc-cm__dialog, .qc-btn { transition: none !important; }
}
@media print { .qc-topbar, .qc-header, .qc-footer, .qc-cc, .qc-cm, .qc-drawer { display: none !important; } }
