/* =========================================================
   TIENDAS VIRTUALES - VERSIÓN MÁS PREMIUM Y DINÁMICA
   Pegar al final del CSS actual
   ========================================================= */

:root{
  --tv-primary: #173a78;
  --tv-primary-2: #2e6bff;
  --tv-accent: #7c5cff;
  --tv-gold: #f2a100;
  --tv-text: #18253f;
  --tv-muted: #5f6f86;
  --tv-line: #dfe7f3;
  --tv-white: #ffffff;
  --tv-soft: #f7faff;
  --tv-soft-2: #eef4ff;
  --tv-shadow-sm: 0 10px 26px rgba(17, 24, 39, 0.08);
  --tv-shadow-md: 0 20px 48px rgba(17, 24, 39, 0.12);
  --tv-shadow-lg: 0 26px 70px rgba(17, 24, 39, 0.18);
  --tv-radius-xl: 24px;
  --tv-radius-lg: 18px;
  --tv-radius-md: 14px;
}

/* =============================
   CONTENIDO GENERAL
============================= */

.tv-contenido{
  max-width: 1260px;
  margin: 42px auto 0 auto;
  padding: 0 24px 60px 24px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  border-radius: 24px;
  box-shadow: 0 16px 44px rgba(0,0,0,0.08);
  border: 1px solid rgba(32, 74, 181, 0.08);
  overflow: hidden;
}

/* =============================
   INTRO
============================= */

.tv-info{
  padding: 34px 6px 10px 6px;
}

.tv-info h2,
.tv-beneficios h2,
.tv-planes-title{
  color: var(--tv-primary);
  font-size: clamp(2rem, 3vw, 2.8rem);
  margin-top: 0;
  margin-bottom: 1rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.tv-info h2::after,
.tv-beneficios h2::after,
.tv-planes-title::after{
  content: "";
  display: block;
  width: 54px;
  height: 3px;
  margin-top: 14px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--tv-primary-2), var(--tv-accent));
}

.tv-info p{
  color: var(--tv-text);
  font-size: 1.06rem;
  line-height: 1.9;
  margin-bottom: 1.5rem;
  max-width: 980px;
}

.tv-list{
  list-style: none;
  padding: 0;
  margin: 0 0 1.8rem 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(240px, 1fr));
  gap: 14px 18px;
}

.tv-list li{
  background: linear-gradient(135deg, #f3f7ff 0%, #eaf1ff 100%);
  color: var(--tv-primary);
  padding: 14px 18px;
  border-radius: 16px;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  border: 1px solid rgba(46,107,255,0.10);
  box-shadow: 0 6px 18px rgba(46,107,255,0.06);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.tv-list li:hover{
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(46,107,255,0.12);
  background: #ffffff;
}

/* =============================
   BENEFICIOS
============================= */

.tv-beneficios{
  margin-top: 2.5rem;
  padding-top: 10px;
}

.tv-beneficios-desc{
  font-size: 1.08rem;
  color: var(--tv-muted);
  margin-bottom: 2rem;
  text-align: center;
  line-height: 1.75;
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
}

/* Grid con mejor respiración */
.tv-beneficios-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-bottom: 2.8rem;
  align-items: stretch;
}

/* Tarjetas de beneficio premium */
.tv-beneficio{
  position: relative;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.96) 0%, rgba(248,251,255,0.98) 100%);
  border-radius: 20px;
  box-shadow: var(--tv-shadow-sm);
  padding: 28px 20px 22px 20px;
  text-align: center;
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
  border: 1px solid rgba(46,107,255,0.10);
}

.tv-beneficio::before{
  content:"";
  position:absolute;
  inset:0;
  background: radial-gradient(260px 120px at 18% 10%, rgba(46,107,255,0.10), transparent 60%);
  pointer-events:none;
}

.tv-beneficio:hover{
  box-shadow: var(--tv-shadow-md);
  transform: translateY(-8px);
  border-color: rgba(46,107,255,0.20);
}

/* Iconos más modernos */
.tv-icon{
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  font-size: 2.2rem;
  margin-bottom: 14px;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(46,107,255,0.14), rgba(124,92,255,0.12));
  border: 1px solid rgba(46,107,255,0.12);
  box-shadow: 0 10px 22px rgba(46,107,255,0.10);
}

.tv-title{
  font-size: 1.18rem;
  font-weight: 800;
  color: var(--tv-primary);
  margin-bottom: 10px;
  line-height: 1.35;
}

.tv-text{
  color: #44536a;
  font-size: 1rem;
  line-height: 1.78;
}

/* Tarjeta de imagen integrada */
.tv-beneficio-img{
  display:flex;
  align-items:center;
  justify-content:center;
  padding: 20px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.96) 0%, rgba(242,247,255,0.98) 100%);
}

.tv-beneficio-img img{
  width:100%;
  max-width:280px;
  height:auto;
  object-fit:contain;
  display:block;
  filter: drop-shadow(0 18px 36px rgba(23,58,120,0.12));
  transition: transform .3s ease;
}

.tv-beneficio-img:hover img{
  transform: scale(1.03);
}

/* =============================
   PLANES
============================= */

.tv-planes-title{
  margin-top: 2.8rem;
  margin-bottom: 1.8rem;
  text-align: center;
}

.tv-planes{
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: center;
  margin-bottom: 2.8rem;
  align-items: stretch;
}

.tv-plan{
  position: relative;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  border: 1px solid rgba(46,107,255,0.12);
  border-radius: 22px;
  box-shadow: var(--tv-shadow-sm);
  padding: 34px 24px 28px 24px;
  width: 360px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
  overflow: hidden;
}

.tv-plan::before{
  content:"";
  position:absolute;
  inset:0;
  background: radial-gradient(320px 160px at 15% 8%, rgba(46,107,255,0.08), transparent 60%);
  pointer-events:none;
}

.tv-plan:hover{
  box-shadow: var(--tv-shadow-lg);
  border-color: rgba(46,107,255,0.22);
  transform: translateY(-10px);
}

.tv-plan-title{
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--tv-primary);
  margin-bottom: 0.6rem;
  text-align: center;
  line-height: 1.3;
}

.tv-plan-desc{
  font-size: 0.97rem;
  color: var(--tv-muted);
  margin-bottom: 1.1rem;
  text-align: center;
  line-height: 1.7;
  min-height: 54px;
}

.tv-plan-precio{
  font-size: 2.6rem;
  font-weight: 900;
  color: var(--tv-primary-2);
  margin-bottom: 1.15rem;
  line-height: 1;
  letter-spacing: -0.03em;
}

.tv-plan-precio span{
  font-size: 1rem;
  color: #5c6d83;
  font-weight: 500;
}

.tv-plan-list{
  list-style: none;
  padding: 0;
  margin: 0 0 1.6rem 0;
  width: 100%;
}

.tv-plan-list li{
  color: #2a3444;
  font-size: 0.98rem;
  padding: 8px 0;
  border-bottom: 1px solid #edf2fb;
  line-height: 1.55;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.tv-plan-list li:last-child{
  border-bottom: none;
}

.tv-plan-list li::before{
  content: "\f058";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color: var(--tv-primary-2);
  margin-top: 1px;
}

.tv-cotizar-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(90deg, var(--tv-primary-2), var(--tv-accent));
  color: #fff;
  font-weight: 800;
  padding: 14px 34px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 1rem;
  margin-top: auto;
  transition: transform .22s ease, box-shadow .22s ease, filter .22s ease;
  box-shadow: 0 10px 24px rgba(46,107,255,0.22);
}

.tv-cotizar-btn:hover{
  transform: translateY(-3px);
  box-shadow: 0 18px 36px rgba(46,107,255,0.30);
  filter: brightness(1.03);
}

/* =============================
   FAQ
============================= */

.tv-faq-section{
  max-width: 1100px;
  margin: 0 auto 60px auto;
  display: flex;
  gap: 28px;
  align-items: flex-start;
  justify-content: center;
  flex-wrap: wrap;
}

.tv-faq-card{
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  border-radius: 20px;
  box-shadow: var(--tv-shadow-sm);
  padding: 28px 30px 24px 30px;
  flex: 1 1 420px;
  min-width: 320px;
  max-width: 540px;
  border: 1px solid rgba(46,107,255,0.08);
}

.tv-faq-card h3{
  font-size: 1.5rem;
  font-weight: 900;
  margin-bottom: 1.2rem;
  color: var(--tv-primary);
}

.tv-faq-list{
  list-style: none;
  padding: 0;
  margin: 0;
}

.tv-faq-list li{
  margin-bottom: 1rem;
  font-size: 1.03rem;
  color: #233146;
}

.tv-faq-list li .faq-q{
  color: var(--tv-primary-2);
  font-weight: 700;
  cursor: pointer;
  display: block;
}

.tv-faq-list li .faq-a{
  color: #415065;
  font-size: .98rem;
  margin-top: .35rem;
  line-height: 1.7;
  display: none;
}

.tv-faq-list li.open .faq-a{
  display: block;
}

.tv-faq-img{
  flex: 1 1 260px;
  min-width: 220px;
  max-width: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tv-faq-img img{
  width: 100%;
  max-width: 320px;
  border-radius: 16px;
  box-shadow: var(--tv-shadow-sm);
}

/* =============================
   RESPONSIVE
============================= */

@media (max-width: 1100px){
  .tv-beneficios-grid{
    grid-template-columns: repeat(2, 1fr);
  }

  .tv-planes{
    flex-direction: column;
    align-items: center;
  }

  .tv-plan{
    width: 100%;
    max-width: 420px;
  }
}

@media (max-width: 900px){
  .tv-contenido{
    padding: 0 10px 28px 10px;
  }

  .tv-faq-section{
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
}

@media (max-width: 600px){
  .page-banner{
    height: 140px;
  }

  .page-banner-overlay h1{
    font-size: 1.7rem;
  }

  .tv-info h2,
  .tv-beneficios h2,
  .tv-planes-title{
    font-size: 1.45rem;
  }

  .tv-beneficios-grid{
    grid-template-columns: 1fr;
  }

  .tv-list{
    grid-template-columns: 1fr;
  }

  .tv-plan{
    padding: 26px 18px 22px 18px;
  }

  .tv-cotizar-btn{
    width: 100%;
  }
}