/* Anytime Labs — ficha de recurso, catálogo, cursos, precios y acceso. */

/* ---------- Ficha del recurso (modal) ---------- */
.rmodal { position: fixed; inset: 0; z-index: 80; display: none; overflow-y: auto; padding: 3vh 76px 4vh; background: #000000c7; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); overscroll-behavior: contain; }
.rmodal.is-open { display: block; animation: fade-in .25s var(--ease-out); }
.rmodal-box { max-width: 1240px; margin: 0 auto; padding: 14px; border-radius: var(--radius-frame); background: #0b0b0b; box-shadow: inset 0 0 0 1px #ffffff17, inset 0 1px 0 #ffffff1a, 0 50px 120px -30px #000; animation: pop .35s var(--ease-soft); }
.rmodal-main { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(300px, 1fr); gap: 14px; }
.rmodal-preview .thumb { border-radius: 14px; }
.rmodal-tools { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .75rem; }
.rmodal-side { display: flex; flex-direction: column; gap: 1.05rem; padding: 1.25rem; border-radius: 14px; background: var(--sheen), var(--aurora), #ffffff05; box-shadow: var(--rim), inset 0 0 0 1px #ffffff0d; }
.rm-author { display: flex; align-items: center; gap: .7rem; }
.rm-author .av { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; font-size: .78rem; font-weight: 600; background: radial-gradient(circle at 30% 30%, #5a5a5a, #121212); box-shadow: inset 0 0 0 1px #ffffff26; }
.rm-author b { display: block; font-size: .9rem; font-weight: 500; }
.rm-author span { font-size: .76rem; color: var(--text-muted); }
.rm-title { margin: 0; font-family: var(--font-display); font-weight: 300; font-size: clamp(1.8rem, 2.6vw, 2.4rem); letter-spacing: -0.03em; line-height: 1.05; background: linear-gradient(122deg, #f5f5f5 0%, #f5f5f5 30%, #a6a6a6 100%); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .1em; }
.rm-desc { margin: 0; color: var(--text-secondary); font-size: .92rem; line-height: 1.6; }
.rm-note { margin: -.4rem 0 0; font-size: .76rem; color: var(--text-muted); text-align: center; }
.rm-icons { display: flex; gap: .5rem; }
.rm-icons .icon-btn { width: 38px; height: 38px; background: #ffffff0a; }
.rm-info { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem 1rem; margin: 0; padding: 1rem 0; border-block: 1px solid var(--border-soft); }
.rm-info dt { font-size: .72rem; color: var(--text-muted); margin-bottom: .15rem; }
.rm-info dd { margin: 0; font-size: .88rem; }
.rm-info a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: #ffffff40; }
.rm-incl h4 { margin: 0 0 .7rem; font-size: .8rem; font-weight: 500; color: var(--text-muted); }
.rm-incl .checks li { font-size: .88rem; }
.rmodal-related { padding: 1.8rem .4rem .4rem; }
.rmodal-related .section-head { margin-bottom: 1rem; }
.rmodal-nav, .rmodal-close { position: fixed; z-index: 2; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; color: var(--text-primary); background: #161616d9; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: inset 0 0 0 1px #ffffff1f; transition: background .2s, transform .2s; }
.rmodal-nav:hover, .rmodal-close:hover { background: #262626; }
.rmodal-nav svg, .rmodal-close svg { width: 18px; height: 18px; }
.rmodal-nav.prev { left: 16px; top: 50%; transform: translateY(-50%); }
.rmodal-nav.next { right: 16px; top: 50%; transform: translateY(-50%); }
.rmodal-close { right: 16px; top: 16px; }

/* ---------- Catálogo (estructura tipo app) ---------- */
.app { display: grid; grid-template-columns: 252px minmax(0, 1fr); min-height: 100vh; }
.sidebar { position: sticky; top: 0; height: 100vh; overflow-y: auto; display: flex; flex-direction: column; gap: 1.1rem; padding: 18px 12px 14px; border-right: 1px solid var(--border-soft); background: #080808; scrollbar-width: thin; }
.sidebar .wordmark { padding: 4px 10px 6px; }
.side-group { display: flex; flex-direction: column; gap: 2px; }
.side-label { padding: .2rem .7rem .4rem; font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--text-faint); }
.side-link { display: flex; align-items: center; gap: .7rem; padding: .52rem .7rem; border-radius: 10px; color: var(--text-secondary); font-size: .9rem; text-align: left; width: 100%; transition: background .2s, color .2s; }
.side-link svg { width: 16px; height: 16px; flex: none; }
.side-link:hover { color: var(--text-primary); background: #ffffff08; }
.side-link.is-active { color: var(--text-primary); background: #ffffff0f; box-shadow: var(--rim), inset 0 0 0 1px #ffffff0d; }
.side-count { margin-left: auto; font-family: var(--font-mono); font-size: .7rem; color: var(--text-faint); }
.side-pro { position: relative; margin-top: auto; padding: 1rem; border-radius: 14px; background: var(--sheen), var(--aurora-strong), #ffffff08; box-shadow: var(--rim), inset 0 0 0 1px #ffffff12; overflow: hidden; isolation: isolate; }
.side-pro h4 { margin: 0 0 .3rem; font-family: var(--font-display); font-weight: 500; font-size: .98rem; }
.side-pro p { margin: 0 0 .9rem; font-size: .8rem; color: var(--text-muted); line-height: 1.45; }
.side-pro .orb { width: 90px; aspect-ratio: 1; right: -24px; top: -26px; opacity: .55; z-index: -1; }

.app-main { min-width: 0; display: flex; flex-direction: column; }
.app-top { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: .75rem; padding: 12px 22px; background: #060606bf; backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%); border-bottom: 1px solid var(--border-soft); }
.app-top .searchbar { flex: 1; max-width: 760px; height: 46px; padding-left: 1rem; background: #ffffff08; backdrop-filter: none; box-shadow: inset 0 0 0 1px #ffffff14; }
.app-top .searchbar .kbd { margin-right: .4rem; }
.app-top .spacer { flex: 1; }
.app-top .side-toggle { display: none; flex: none; }
.app-top .btn { flex: none; }
.app-body { padding: 20px 22px 60px; }

.results-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; flex-wrap: wrap; }
.results-head h1 { margin: 0; font-family: var(--font-display); font-weight: 300; letter-spacing: -0.03em; font-size: clamp(1.7rem, 2.6vw, 2.3rem); line-height: 1.1; background: linear-gradient(122deg, #f5f5f5 0%, #f5f5f5 30%, #a6a6a6 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.results-head .count { color: var(--text-muted); font-size: .9rem; margin-left: .5rem; font-family: var(--font-body); -webkit-text-fill-color: var(--text-muted); }
.results-tools { display: flex; align-items: center; gap: .5rem; }

.cat-tabs { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 2px; margin-bottom: .9rem; scrollbar-width: none; }
.cat-tabs::-webkit-scrollbar { display: none; }
.cat-tab { display: inline-flex; align-items: center; gap: .45rem; padding: .5rem .9rem; border-radius: var(--radius-pill); font-size: .86rem; color: var(--text-secondary); background: #ffffff06; box-shadow: inset 0 0 0 1px #ffffff10; white-space: nowrap; transition: color .25s var(--ease-out), background .25s var(--ease-out), box-shadow .25s var(--ease-out); }
.cat-tab svg { width: 14px; height: 14px; }
.cat-tab:hover { color: var(--text-primary); background: #ffffff0d; }
.cat-tab.is-on { color: #060606; background: #f5f5f5; box-shadow: 0 8px 24px -10px #ffffff70; }

.filters { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: .9rem; }
.fdrop { position: relative; }
.fpill { display: inline-flex; align-items: center; gap: .45rem; height: 36px; padding: 0 .8rem 0 .9rem; border-radius: var(--radius-pill); font-size: .84rem; color: var(--text-secondary); background: #ffffff08; box-shadow: inset 0 0 0 1px #ffffff14; transition: color .2s, background .2s, box-shadow .2s; white-space: nowrap; }
.fpill:hover, .fdrop.is-open .fpill { color: var(--text-primary); background: #ffffff10; }
.fpill.has-value { color: var(--text-primary); box-shadow: inset 0 0 0 1px #ffffff40; }
.fpill svg { width: 14px; height: 14px; }
.fpill .chev { width: 13px; height: 13px; transition: transform .25s; }
.fdrop.is-open .chev { transform: rotate(180deg); }
.fpill .n { display: grid; place-items: center; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9px; background: #f5f5f5; color: #060606; font-size: .68rem; font-weight: 700; }
.fmenu { position: absolute; z-index: 20; top: calc(100% + 6px); left: 0; min-width: 220px; max-height: 340px; overflow-y: auto; padding: 6px; border-radius: 14px; background: #121212f2; backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); box-shadow: inset 0 0 0 1px #ffffff1a, 0 30px 60px -20px #000; display: none; animation: pop .25s var(--ease-soft); }
.fdrop.is-open .fmenu { display: block; }
.fmenu.right { left: auto; right: 0; }
.fopt { display: flex; align-items: center; gap: .65rem; width: 100%; padding: .5rem .6rem; border-radius: 9px; font-size: .86rem; color: var(--text-secondary); text-align: left; }
.fopt:hover { background: #ffffff0d; color: var(--text-primary); }
.fopt .box { width: 16px; height: 16px; border-radius: 5px; box-shadow: inset 0 0 0 1px #ffffff40; display: grid; place-items: center; flex: none; }
.fopt .box svg { width: 11px; height: 11px; opacity: 0; color: #060606; }
.fopt.is-on { color: var(--text-primary); }
.fopt.is-on .box { background: #f5f5f5; box-shadow: none; }
.fopt.is-on .box svg { opacity: 1; }
.fopt.radio .box { border-radius: 50%; }
.fopt .c { margin-left: auto; font-family: var(--font-mono); font-size: .7rem; color: var(--text-faint); }
.fclear { font-size: .82rem; color: var(--text-muted); padding: 0 .4rem; text-decoration: underline; text-underline-offset: 3px; }
.fclear:hover { color: var(--text-primary); }
.active-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 1rem; }
.achip { display: inline-flex; align-items: center; gap: .35rem; height: 28px; padding: 0 .5rem 0 .75rem; border-radius: var(--radius-pill); font-size: .78rem; background: #f5f5f514; box-shadow: inset 0 0 0 1px #ffffff26; }
.achip svg { width: 12px; height: 12px; }
.achip:hover { background: #f5f5f522; }

.promo-strip { display: flex; align-items: center; gap: 1rem; padding: .7rem .8rem .7rem 1.1rem; margin-bottom: 1.2rem; border-radius: 14px; background: var(--sheen), var(--aurora), #ffffff06; box-shadow: var(--rim), inset 0 0 0 1px #ffffff0d; font-size: .86rem; color: var(--text-secondary); flex-wrap: wrap; }
.promo-strip b { color: var(--text-primary); font-weight: 500; }
.promo-strip .chips { display: flex; gap: 6px; margin-left: auto; flex-wrap: wrap; }

.card-grid.dense { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px 12px; }
.empty { display: flex; flex-direction: column; align-items: center; gap: 1rem; padding: 5rem 1rem; text-align: center; color: var(--text-secondary); }
.empty .orb { position: relative; width: 90px; aspect-ratio: 1; }
.empty h3 { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: 1.4rem; color: var(--text-primary); }
.load-more { display: flex; justify-content: center; padding-top: 2.5rem; }
.sort-select { position: relative; }

.side-scrim { display: none; }

/* ---------- Página de cursos ---------- */
.course-filters { display: flex; justify-content: center; margin-top: 2rem; }
.perks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.perk { padding: 1.2rem; border-radius: var(--radius-panel); background: var(--sheen), var(--aurora), var(--surface-1); box-shadow: var(--rim), inset 0 0 0 1px #ffffff0d; }
.perk .b-ico { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: #ffffff0d; box-shadow: var(--rim), inset 0 0 0 1px #ffffff12; margin-bottom: 1rem; }
.perk .b-ico svg { width: 16px; height: 16px; }
.perk h3 { margin: 0 0 .35rem; font-family: var(--font-display); font-weight: 500; font-size: 1rem; }
.perk p { margin: 0; font-size: .86rem; color: var(--text-secondary); line-height: 1.5; }

/* ---------- Detalle del curso ---------- */
.course-hero { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr); gap: 14px; align-items: start; }
.course-intro { display: flex; flex-direction: column; gap: 1.2rem; padding: clamp(1.4rem, 3vw, 2.4rem); border-radius: var(--radius-frame); background: var(--sheen), var(--aurora), var(--surface-1); box-shadow: var(--rim), inset 0 0 0 1px #ffffff0d; }
.crumbs { display: flex; gap: .5rem; font-size: .8rem; color: var(--text-muted); }
.crumbs a:hover { color: var(--text-primary); }
.course-stats { display: flex; flex-wrap: wrap; gap: .6rem; }
.stat-chip { display: inline-flex; align-items: center; gap: .45rem; height: 34px; padding: 0 .85rem; border-radius: var(--radius-pill); font-size: .84rem; color: var(--text-secondary); background: #ffffff08; box-shadow: inset 0 0 0 1px #ffffff12; }
.stat-chip svg { width: 14px; height: 14px; color: var(--text-primary); }
.course-cover { border-radius: 16px; overflow: hidden; }
.course-cover .thumb { aspect-ratio: 16 / 9; border-radius: 16px; }
.play-big { position: absolute; z-index: 5; left: 50%; top: 50%; transform: translate(-50%, -50%); display: grid; place-items: center; width: 74px; height: 74px; border-radius: 50%; background: #f5f5f5; color: #060606; box-shadow: 0 0 0 10px #ffffff14, 0 20px 50px -10px #000; transition: transform .35s var(--ease-soft); }
.play-big svg { width: 24px; height: 24px; fill: currentColor; margin-left: 3px; }
.play-big:hover { transform: translate(-50%, -50%) scale(1.06); }
.buy-card { position: sticky; top: calc(var(--header-h) + 12px); display: flex; flex-direction: column; gap: 1rem; padding: 1.4rem; border-radius: var(--radius-frame); background: var(--sheen), var(--aurora-strong), #0d0d0d; box-shadow: var(--rim), inset 0 0 0 1px #ffffff14; overflow: hidden; isolation: isolate; }
.buy-price { display: flex; align-items: baseline; gap: .6rem; }
.buy-price strong { font-family: var(--font-display); font-weight: 400; font-size: 2.6rem; letter-spacing: -0.03em; }
.buy-price s { color: var(--text-faint); }
.buy-card .or { display: flex; align-items: center; gap: .8rem; font-size: .76rem; color: var(--text-faint); }
.buy-card .or::before, .buy-card .or::after { content: ""; flex: 1; height: 1px; background: var(--border-soft); }
.course-columns { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr); gap: 14px; margin-top: 14px; align-items: start; }
.syllabus { display: flex; flex-direction: column; gap: .5rem; padding: .5rem; border-radius: calc(var(--radius-panel) + .5rem); background: var(--surface-1); border: 1px solid var(--border-soft); }
.mod { border-radius: var(--radius-panel); background: var(--aurora), var(--card-bg); box-shadow: var(--rim); }
.mod summary { list-style: none; display: flex; align-items: center; gap: 1rem; padding: 1rem 1.1rem; cursor: pointer; }
.mod summary::-webkit-details-marker { display: none; }
.mod .mod-n { font-family: var(--font-mono); font-size: .74rem; color: var(--text-muted); width: 2ch; }
.mod .mod-t { font-weight: 500; flex: 1; }
.mod .mod-m { font-size: .78rem; color: var(--text-muted); }
.mod[open] .faq-marker::after { transform: translate(-50%, -50%) rotate(0); }
.lessons { list-style: none; margin: 0; padding: 0 .6rem .6rem; }
.lesson { width: 100%; text-align: left; display: flex; align-items: center; gap: .8rem; padding: .62rem .6rem; border-radius: 10px; font-size: .9rem; color: var(--text-secondary); }
.lesson:hover { background: #ffffff08; color: var(--text-primary); }
.lesson .li-ico { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #ffffff0a; box-shadow: inset 0 0 0 1px #ffffff14; flex: none; }
.lesson .li-ico svg { width: 12px; height: 12px; }
.lesson .li-t { flex: 1; }
.lesson .li-d { font-family: var(--font-mono); font-size: .74rem; color: var(--text-faint); }
.side-stack { display: flex; flex-direction: column; gap: 14px; }

/* ---------- Precios ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; align-items: stretch; }
.plan { --lift: 0; position: relative; display: flex; flex-direction: column; gap: 1.2rem; padding: 1.6rem; border-radius: var(--radius-frame); background: var(--sheen), var(--aurora), var(--surface-1); box-shadow: var(--rim), inset 0 0 0 1px #ffffff0d; isolation: isolate; }
.plan.is-featured { background: var(--sheen), var(--aurora-strong), #121212; box-shadow: var(--rim), inset 0 0 0 1px #ffffff2e, 0 40px 100px -40px #ffffff30; }
.plan.is-featured .border-glow { opacity: calc(.45 + var(--lift) * .55); }
.plan-top { display: flex; justify-content: space-between; align-items: center; }
.plan-name { font-family: var(--font-display); font-weight: 500; font-size: 1.15rem; }
.plan-price { display: flex; align-items: baseline; gap: .4rem; }
.plan-price strong { font-family: var(--font-display); font-weight: 300; font-size: 3.2rem; letter-spacing: -0.04em; line-height: 1; }
.plan-price span { color: var(--text-muted); font-size: .88rem; }
.plan-desc { margin: 0; color: var(--text-secondary); font-size: .9rem; line-height: 1.55; min-height: 2.8em; }
.plan .checks { margin-top: .2rem; }
.plan .btn { margin-top: auto; }
.plan-save { font-size: .76rem; color: var(--text-muted); min-height: 1.2em; }
.ctable-wrap { overflow-x: auto; border-radius: var(--radius-frame); box-shadow: inset 0 0 0 1px #ffffff12; background: var(--surface-1); }
.ctable { width: 100%; border-collapse: collapse; font-size: .9rem; min-width: 640px; }
.ctable th, .ctable td { padding: .95rem 1.2rem; text-align: left; border-bottom: 1px solid var(--border-soft); }
.ctable thead th { font-family: var(--font-display); font-weight: 500; font-size: .95rem; position: sticky; top: 0; background: #0d0d0d; }
.ctable td:not(:first-child), .ctable th:not(:first-child) { text-align: center; }
.ctable td:first-child { color: var(--text-secondary); }
.ctable tr:last-child td { border-bottom: 0; }
.ctable svg { width: 16px; height: 16px; display: inline-block; }
.ctable .no { color: var(--text-faint); }
.ctable .grp td { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--text-faint); padding-top: 1.4rem; }
.logos-row { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; margin-top: 1.4rem; }

/* ---------- Acceso ---------- */
.auth { position: relative; min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; }
.auth-art { position: relative; margin: 14px; border-radius: var(--radius-frame); overflow: hidden; isolation: isolate; box-shadow: inset 0 0 0 1px #ffffff14; display: flex; flex-direction: column; justify-content: space-between; padding: 2rem; background: #080808; }
.auth-art .hero-canvas { opacity: 1; }
.auth-quote { max-width: 30ch; }
.auth-quote p { margin: 0 0 1rem; font-family: var(--font-display); font-weight: 300; font-size: clamp(1.4rem, 2.2vw, 2rem); letter-spacing: -0.02em; line-height: 1.2; }
.auth-quote span { font-size: .85rem; color: var(--text-secondary); }
.auth-side { display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 2rem var(--pad-x); }
.auth-card { width: min(420px, 100%); display: flex; flex-direction: column; gap: 1.1rem; }
.auth-card .h-section { font-size: clamp(2rem, 3vw, 2.6rem); }
.auth-social { display: grid; gap: .6rem; }
.auth-social .btn svg { width: 17px; height: 17px; }
.divider { display: flex; align-items: center; gap: .8rem; font-size: .76rem; color: var(--text-faint); }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--border-soft); }
.field { display: flex; flex-direction: column; gap: .4rem; }
.field label { font-size: .8rem; color: var(--text-secondary); }
.field input { height: 48px; padding: 0 1rem; border-radius: 12px; border: 0; outline: 0; background: #ffffff08; box-shadow: inset 0 0 0 1px #ffffff17; font-size: .95rem; transition: box-shadow .2s, background .2s; }
.field input:focus { background: #ffffff0d; box-shadow: inset 0 0 0 1px #ffffff4d, 0 0 0 4px #ffffff0d; }
.auth-legal { font-size: .76rem; color: var(--text-muted); text-align: center; line-height: 1.5; }
.auth-legal a { text-decoration: underline; text-underline-offset: 3px; }
.auth-top { position: absolute; top: 18px; right: var(--pad-x); left: calc(50% + var(--pad-x)); display: flex; justify-content: space-between; align-items: center; }

/* ---------- Responsive ---------- */
@media (max-width: 1280px) { .card-grid.dense { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 1100px) {
  .rmodal { padding: 2vh 64px; }
  .rmodal-main { grid-template-columns: 1fr; }
  .perks { grid-template-columns: 1fr 1fr; }
  .card-grid.dense { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .app { grid-template-columns: 1fr; }
  .sidebar { position: fixed; z-index: 60; left: 0; top: 0; width: 280px; transform: translateX(-100%); transition: transform .4s var(--ease-soft); }
  .sidebar.is-open { transform: none; box-shadow: 30px 0 80px #000; }
  .side-scrim.is-open { display: block; position: fixed; inset: 0; z-index: 55; background: #0009; }
  .app-top { padding: 10px var(--pad-x); }
  .app-top .side-toggle { display: inline-flex; }
  .app-top .hide-md { display: none; }
  .app-body { padding: 16px var(--pad-x) 60px; }
  .card-grid.dense { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .course-hero, .course-columns { grid-template-columns: 1fr; }
  .buy-card { position: relative; top: 0; }
  .plans { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
  .auth { grid-template-columns: 1fr; }
  .auth-art { display: none; }
  .auth-top { left: var(--pad-x); }
}
@media (max-width: 600px) {
  .rmodal { padding: 0; }
  .rmodal-box { border-radius: 0; min-height: 100%; padding: 10px; padding-top: 64px; }
  .rmodal-nav { display: none; }
  .rmodal-close { top: 10px; right: 10px; }
  .perks { grid-template-columns: 1fr; }
  .card-grid.dense { grid-template-columns: 1fr 1fr; gap: 14px 8px; }
  .card-grid.dense .card-sub { display: none; }
  .promo-strip .chips { margin-left: 0; }
  .results-head h1 { font-size: 1.6rem; }
}
