/* LiveTVCR V17: visual premium para tarjetas de contenido y modal de tablas */
.price-v17-hint{margin:8px 0 14px;color:#bdcde1;font-size:14px;line-height:1.6}
.price-v17-hint strong{color:#9effdf}
.plan-card-v17{min-height:375px!important;padding:26px!important;border:1px solid rgba(148,177,217,.20)!important;border-radius:22px!important;background:linear-gradient(152deg,#152641 0%,#0d1830 85%)!important;box-shadow:0 16px 46px rgba(0,0,0,.22)!important;transition:transform .22s ease, box-shadow .22s ease, border-color .22s ease!important}
.plan-card-v17:hover{transform:translateY(-4px);border-color:rgba(124,245,219,.45)!important;box-shadow:0 25px 60px rgba(0,0,0,.27)!important}
.plan-card-v17 .plan-upper{min-height:26px}.plan-card-v17 h3{font-size:clamp(23px,2.2vw,30px)!important;line-height:1.15;margin:19px 0 9px!important;letter-spacing:-.035em}
.plan-v17-synopsis{margin:0!important;min-height:50px;color:#bdcde3;font-size:13px;line-height:1.7}
.plan-card-v17 .content-counts{margin:19px 0 18px!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.plan-card-v17 .content-counts>div{padding:13px 4px;min-height:76px;border-radius:12px;display:flex;flex-direction:column;justify-content:center;gap:4px}
.plan-card-v17 .content-counts strong{font-size:clamp(14px,1.65vw,21px)!important;font-weight:850;color:#a6ffe4}
.plan-card-v17 .content-counts span{font-size:11px;color:#d2e2ee}
.plan-v17-actions{display:grid;gap:12px;margin-top:auto;padding-top:8px}
.plan-card-v17 .plan-v17-actions>.button{width:100%;min-height:51px;padding:13px 18px;border:none;font-size:14px;font-weight:850;display:flex;justify-content:space-between}
.plan-quick-contact{display:flex;justify-content:center;align-items:center;padding:7px 0;min-height:31px;color:#bdd8ef;font-size:13px;font-weight:750;text-decoration:underline;text-underline-offset:4px}
.plan-quick-contact:hover{color:#a8ffe6}
.plan-card-v17:after{z-index:1}

/* Modal de precios: overlay, panel y tabla editorial */
#precio-modal[hidden]{display:none!important}
#precio-modal.price-modal-backdrop{position:fixed;inset:0;z-index:10000;display:flex;align-items:center;justify-content:center;padding:22px;background:rgba(2,7,24,.78);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}
#precio-modal .price-modal-dialog{display:flex;flex-direction:column;overflow:hidden;position:relative;width:min(920px,100%);max-height:min(880px,calc(100dvh - 44px));border-radius:24px;border:1px solid rgba(143,238,215,.28);background:#f8fbff;color:#10203b;box-shadow:0 35px 100px rgba(0,0,0,.52)}
.price-modal-top{flex:0 0 auto;position:relative;display:flex;justify-content:space-between;align-items:flex-start;gap:14px;padding:24px 28px 20px;background:radial-gradient(circle at 75% 0%,rgba(0,204,162,.15),transparent 48%),linear-gradient(125deg,#0a1740,#13345a);border-bottom:4px solid #24e1b9;color:white}
.price-modal-heading{min-width:0}.price-modal-eyebrow{display:block;color:#a3ffe5;letter-spacing:.2em;font-weight:900;font-size:10px;margin-bottom:7px}
.price-modal-heading h2{font-size:clamp(25px,3vw,35px);font-weight:850;letter-spacing:-.04em;margin:0 0 7px;line-height:1.18;color:#fff}
.price-modal-heading p{font-size:13px;line-height:1.5;color:#bdcee5;margin:0;max-width:520px}
#precio-modal-close.price-modal-close{position:relative;flex:0 0 auto;display:grid;place-items:center;cursor:pointer;width:43px;height:43px;padding:0;border-radius:13px;border:1px solid rgba(230,248,255,.20);background:rgba(255,255,255,.10);color:#fff;font-size:30px;line-height:1;transition:background .2s}
.price-modal-close:hover{background:rgba(255,255,255,.25)}
.price-modal-body{min-height:0;overflow-y:auto;padding:20px 28px 18px;background:linear-gradient(180deg,#f8fbff,#edf6fa)}
.price-modal-tools{display:flex;gap:14px;align-items:center;justify-content:space-between;flex-wrap:wrap;margin-bottom:16px}
.price-modal-currency{display:flex;gap:8px;flex-wrap:wrap}
#precio-modal .price-currency-btn{appearance:none;cursor:pointer;border:1px solid #c8d9e1;border-radius:12px;color:#193550;background:#fff;padding:11px 17px;font-size:14px;font-weight:850;line-height:1.2;min-height:44px;transition:background .16s,box-shadow .16s}
#precio-modal .price-currency-btn:hover{border-color:#0ebc9c}
#precio-modal .price-currency-btn.active{background:linear-gradient(115deg,#11bd9e,#03d2ad);border-color:transparent;color:#022e31;box-shadow:0 8px 24px rgba(9,191,156,.23)}
.price-modal-currency-label{font-size:12px;color:#516a7e;font-weight:800}
.price-modal-table-scroll{width:100%;overflow:auto;border:1px solid #c4d2dd;border-radius:16px;overscroll-behavior:contain;box-shadow:0 7px 25px rgba(15,40,78,.09)}
.price-modal-table{width:100%;border-spacing:0;border-collapse:separate;min-width:490px;font-variant-numeric:tabular-nums;background:#fff}
.price-modal-table.is-single-device{min-width:0}
.price-modal-table thead .price-table-overhead th{background:linear-gradient(90deg,#007a7a,#0ca18c);color:#e7fffa;border-radius:0;padding:11px 17px;font-weight:850;font-size:12px;letter-spacing:.11em}
.price-table-overhead th>span:first-child{float:left}.price-table-overhead th>span:last-child{float:right;font-size:12px;letter-spacing:0}
.price-modal-table thead tr:nth-child(2) th{padding:13px 12px;background:#143151;color:#fff;text-align:center;font-size:13px;font-weight:850;border-right:1px solid #38516a}
.price-modal-table thead tr:nth-child(2) th:last-child{border-right:0}
.price-modal-table .price-first-col{min-width:105px}
.table-col-count{display:block;font-size:19px;line-height:1.1;color:#baffea;font-weight:900}
.table-col-sub{display:block;font-size:10px;letter-spacing:.01em;color:#dceaf3;margin-top:3px;font-weight:700;text-transform:uppercase}
.price-modal-table tbody tr{background:#fff}
.price-modal-table tbody tr:nth-child(even){background:#dcfbeb}
.price-modal-table tbody tr:hover{background:#cbf3e4}
.price-modal-table tbody th,.price-modal-table tbody td{padding:8px 10px;text-align:center;border-right:1px solid #d1dedf;border-bottom:1px solid #d5e1e6;height:76px}
.price-modal-table tbody tr:last-child th,.price-modal-table tbody tr:last-child td{border-bottom:0}
.price-modal-table tbody td:last-child{border-right:0}
.price-modal-table tbody th{color:#0c2443;width:104px;min-width:96px}
.price-modal-table tbody th strong{display:block;font-size:24px;line-height:1;font-weight:900}
.price-modal-table tbody th small{display:block;font-size:11px;line-height:1.3;font-weight:800;margin-top:4px}
.price-cell-button{font:inherit;cursor:pointer;color:#142a46;background:transparent;border:2px solid transparent;border-radius:11px;min-height:52px;min-width:90px;width:100%;padding:9px 11px;font-size:clamp(15px,1.6vw,20px);font-weight:900;white-space:nowrap;transition:background .14s,border-color .14s,color .14s}
.price-cell-button:hover{background:#c1f4e6;color:#075044}
.price-cell-button.is-selected{border-color:#04ba97;background:#c1f5e5;color:#054f43}
.price-cell-button:focus-visible,#precio-modal button:focus-visible,#precio-modal a:focus-visible{outline:3px solid #0067b2;outline-offset:3px}
.table-no-price{font-size:11px;color:#556f83}
.price-modal-tip{font-size:12px;line-height:1.55;color:#617b8d;margin:12px 0 0;text-align:center}
.price-modal-bottom{flex:0 0 auto;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 28px;background:#edf5f8;border-top:1px solid #d0e1e6}
.price-modal-picked{font-size:13px;font-weight:850;color:#22435a;line-height:1.5}
#precio-modal .price-modal-whatsapp{display:flex;align-items:center;justify-content:center;gap:14px;padding:14px 18px;border-radius:12px;background:linear-gradient(120deg,#15d6a7,#09bfa0);color:#06342b;text-decoration:none;min-height:48px;font-size:13px;font-weight:900;white-space:nowrap;box-shadow:0 9px 22px rgba(0,170,128,.15)}
.price-modal-whatsapp:hover{filter:brightness(1.04)}
@media(max-width:760px){
  .plan-card-v17{min-height:0!important;padding:22px 19px!important}
  .plan-card-v17 .content-counts{margin:16px 0 17px!important}
  .plan-card-v17 .content-counts strong{font-size:clamp(15px,4.6vw,21px)!important}
  .plan-v17-synopsis{min-height:0!important;font-size:13px}
  #precio-modal.price-modal-backdrop{align-items:flex-end;padding:0;background:rgba(2,7,24,.82)}
  #precio-modal .price-modal-dialog{width:100%;max-height:92dvh;min-height:0;border-radius:24px 24px 0 0;border-bottom:0}
  .price-modal-top{padding:20px 20px 16px}
  .price-modal-heading h2{font-size:27px}
  .price-modal-heading p{font-size:12px}
  .price-modal-body{padding:16px 14px 14px}
  .price-modal-tools{gap:10px;align-items:flex-start}
  .price-modal-currency{width:100%;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}
  .price-modal-currency:has(button:nth-child(2):last-child){grid-template-columns:repeat(2,minmax(0,1fr))}
  #precio-modal .price-currency-btn{padding:10px 5px;font-size:13px}
  .price-modal-currency-label{display:none}
  .price-modal-table{min-width:475px}
  .price-modal-table.is-single-device{min-width:0}
  .price-modal-table tbody th,.price-modal-table tbody td{padding:6px 7px;height:68px}
  .price-modal-table tbody th strong{font-size:20px}
  .price-modal-table .price-first-col{min-width:84px}
  .price-cell-button{font-size:16px;min-height:48px;min-width:90px;padding:6px}
  .price-modal-bottom{padding:12px 14px max(14px,env(safe-area-inset-bottom));flex-direction:column;align-items:stretch;gap:10px}
  .price-modal-picked{text-align:center;font-size:12px}
  #precio-modal .price-modal-whatsapp{width:100%;min-height:50px;font-size:14px}
}
@media(max-width:390px){
  .plan-card-v17 .content-counts{gap:5px}
  .plan-card-v17 .content-counts>div{min-height:71px;padding:9px 3px}
  .plan-card-v17 .content-counts span{font-size:10px}
  .price-modal-table{min-width:435px}
  .price-modal-table.is-single-device{min-width:0}
  .price-modal-heading h2{font-size:24px}
  .price-modal-top{padding:17px 15px 14px}
}
@media(prefers-reduced-motion:reduce){.plan-card-v17,.price-cell-button,#precio-modal .price-currency-btn{transition:none!important}}

/* Mantener la vigencia visible al desplazar la tabla horizontalmente en móviles. */
@media(max-width:760px){
 #precio-modal .price-modal-table tbody th[scope="row"]{position:sticky;left:0;z-index:2;background:#fff;border-right:1px solid #c6d5d8;box-shadow:3px 0 8px rgba(15,45,72,.07)}
 #precio-modal .price-modal-table tbody tr:nth-child(even) th[scope="row"]{background:#dcfbeb}
 #precio-modal .price-modal-table thead th.price-first-col{position:sticky;left:0;z-index:3}
}

/* Mejor aprovechamiento del ancho: 3 columnas + vigencia caben en móviles medianos. */
@media (min-width:380px) and (max-width:760px){
 #precio-modal .price-modal-table:not(.is-single-device){min-width:100%}
 #precio-modal .price-modal-table .price-first-col{min-width:72px}
 #precio-modal .price-modal-table tbody th{min-width:72px;width:75px}
 #precio-modal .price-modal-table tbody th,#precio-modal .price-modal-table tbody td{padding:5px 2px}
 #precio-modal .price-cell-button{min-width:0;font-size:14px;padding:5px 2px}
}
