/* ============================================================
   WIFICOR — Módulo Planes
   Rutas:
   /planes.php
   /modulos/planes/banner.php
   /modulos/planes/index.php
   /modulos/planes/planes.css
============================================================ */

/* Banner Planes */
.wfp-hero,
.wfp-hero *{box-sizing:border-box}

.wfp-hero{
  --wfp-blue:#0033A5;
  --wfp-blue-2:#006DFF;
  --wfp-cyan:#12B7FF;
  --wfp-dark:#061231;

  position:relative;
  isolation:isolate;
  overflow:hidden;
  background:linear-gradient(135deg,#061231 0%,#0033A5 48%,#006DFF 100%);
  color:#fff;
  padding:84px 0 76px;
  font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}

.wfp-hero__bg{
  position:absolute;
  inset:0;
  z-index:-1;
  opacity:.36;
  background:
    radial-gradient(circle at 78% 25%,rgba(18,183,255,.50),transparent 26%),
    linear-gradient(90deg,rgba(255,255,255,.055) 1px,transparent 1px),
    linear-gradient(180deg,rgba(255,255,255,.055) 1px,transparent 1px);
  background-size:auto,46px 46px,46px 46px;
}

.wfp-hero::after{
  content:"";
  position:absolute;
  left:-5%;
  right:-5%;
  bottom:-55px;
  height:110px;
  background:#F7FAFF;
  border-radius:50% 50% 0 0 / 64% 64% 0 0;
  z-index:0;
}

.wfp-hero__container{
  width:min(1120px,calc(100% - 30px));
  margin-inline:auto;
  position:relative;
  z-index:2;
  display:grid;
  grid-template-columns:minmax(0,1fr) 260px;
  align-items:center;
  gap:30px;
}

.wfp-hero__kicker{
  display:inline-flex;
  align-items:center;
  gap:8px;
  min-height:30px;
  padding:7px 11px;
  border:1px solid rgba(255,255,255,.28);
  background:rgba(255,255,255,.10);
  color:#fff;
  font-size:10px;
  font-weight:950;
  letter-spacing:.11em;
  text-transform:uppercase;
}

.wfp-hero__kicker::before{
  content:"";
  width:8px;
  height:8px;
  background:var(--wfp-cyan);
}

.wfp-hero h1{
  max-width:760px;
  margin:14px 0 0;
  color:#fff;
  font-size:clamp(2.2rem,4vw,4rem);
  line-height:.96;
  letter-spacing:-.075em;
  font-weight:950;
}

.wfp-hero h1 span{color:#84D8FF}

.wfp-hero p{
  max-width:610px;
  margin:16px 0 0;
  color:rgba(255,255,255,.82);
  font-size:15px;
  line-height:1.58;
  font-weight:650;
}

.wfp-hero__actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:24px;
}

.wfp-hero__btn{
  min-height:44px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:0 20px;
  border-radius:0;
  text-decoration:none;
  font-size:12px;
  font-weight:950;
}

.wfp-hero__btn--primary{
  background:#fff;
  color:var(--wfp-blue);
  border:1px solid #fff;
}

.wfp-hero__btn--ghost{
  background:rgba(255,255,255,.10);
  color:#fff;
  border:1px solid rgba(255,255,255,.28);
}

.wfp-hero__price{
  background:#fff;
  color:#061231;
  border:1px solid rgba(255,255,255,.55);
  box-shadow:0 22px 48px rgba(0,0,0,.20);
  padding:24px;
  min-height:170px;
  display:flex;
  flex-direction:column;
  justify-content:center;
}

.wfp-hero__price small{
  color:#64748B;
  font-size:11px;
  font-weight:950;
  text-transform:uppercase;
  letter-spacing:.09em;
}

.wfp-hero__price strong{
  margin-top:7px;
  color:var(--wfp-blue);
  font-size:46px;
  line-height:.92;
  letter-spacing:-.07em;
  font-weight:950;
}

.wfp-hero__price span{
  margin-top:9px;
  color:#52637E;
  font-size:12px;
  line-height:1.35;
  font-weight:800;
}

/* Listado Planes */
.wfp-section,
.wfp-section *{box-sizing:border-box}

.wfp-section{
  --wfp-blue:#0033A5;
  --wfp-blue-2:#006DFF;
  --wfp-blue-3:#00A8FF;
  --wfp-dark:#061231;
  --wfp-text:#15233D;
  --wfp-muted:#60708A;
  --wfp-line:#C9D8EF;
  --wfp-line-2:#E5ECF7;
  --wfp-green:#12A150;

  position:relative;
  isolation:isolate;
  width:100%;
  overflow:hidden;
  padding:38px 0 48px;
  color:var(--wfp-text);
  font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  background:#F7FAFF;
}

.wfp-section::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:-3;
  background:
    linear-gradient(90deg,#E9F0FA 1px,transparent 1px),
    linear-gradient(180deg,#E9F0FA 1px,transparent 1px),
    linear-gradient(180deg,#F8FBFF 0%,#FFFFFF 54%,#F5F9FF 100%);
  background-size:42px 42px,42px 42px,100% 100%;
}

.wfp-container{
  width:min(1120px,calc(100% - 30px));
  margin-inline:auto;
}

.wfp-head{
  display:grid;
  grid-template-columns:minmax(0,1fr) 190px;
  gap:22px;
  align-items:end;
  margin:0 0 16px;
}

.wfp-head-main{max-width:720px}

.wfp-kicker{
  display:inline-flex;
  align-items:center;
  gap:7px;
  min-height:28px;
  padding:6px 10px;
  border:1px solid var(--wfp-line);
  border-radius:0;
  background:#FFFFFF;
  color:var(--wfp-blue);
  box-shadow:0 6px 14px #DCE7F7;
  font-size:10px;
  font-weight:950;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.wfp-kicker::before{
  content:"";
  width:7px;
  height:7px;
  background:var(--wfp-blue-2);
}

.wfp-head h2{
  max-width:680px;
  margin:10px 0 0;
  color:var(--wfp-dark);
  font-size:clamp(1.8rem,3.4vw,3.15rem);
  line-height:.98;
  letter-spacing:-.07em;
  font-weight:950;
}

.wfp-head h2 span{color:var(--wfp-blue-2)}

.wfp-head p{
  max-width:660px;
  margin:10px 0 0;
  color:#52637E;
  font-size:14px;
  line-height:1.55;
  font-weight:650;
}

.wfp-mini-card{
  border:1px solid var(--wfp-line);
  background:#FFFFFF;
  box-shadow:0 14px 26px #DCE7F7;
  padding:14px;
  border-radius:0;
}

.wfp-mini-card small{
  display:block;
  color:var(--wfp-muted);
  font-size:10px;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.08em;
}

.wfp-mini-card strong{
  display:block;
  margin-top:4px;
  color:var(--wfp-blue);
  font-size:28px;
  line-height:1;
  font-weight:950;
  letter-spacing:-.055em;
}

.wfp-mini-card span{
  display:block;
  margin-top:6px;
  color:#52637E;
  font-size:11px;
  line-height:1.35;
  font-weight:700;
}

.wfp-tabs{
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
  margin:0 0 12px;
}

.wfp-tab{
  min-height:35px;
  padding:0 14px;
  border:1px solid #ADC2E5;
  border-radius:0;
  background:#FFFFFF;
  color:var(--wfp-blue);
  font-size:11px;
  font-weight:950;
  cursor:pointer;
  box-shadow:none;
}

.wfp-tab.is-active{
  border-color:var(--wfp-blue);
  background:var(--wfp-blue);
  color:#FFFFFF;
}

.wfp-shell{position:relative}

.wfp-track{
  position:relative;
  z-index:2;
  display:grid;
  grid-auto-flow:column;
  grid-auto-columns:calc((100% - 28px)/3);
  gap:14px;
  overflow-x:auto;
  overflow-y:hidden;
  scroll-snap-type:x mandatory;
  -webkit-overflow-scrolling:touch;
  scroll-behavior:smooth;
  scrollbar-width:none;
  overscroll-behavior-inline:contain;
  padding:5px 2px 12px;
}

.wfp-track::-webkit-scrollbar{display:none}

.wfp-card{
  scroll-snap-align:start;
  min-height:340px;
  display:flex;
  flex-direction:column;
  overflow:hidden;
  border:1px solid #BFD0EA;
  border-radius:0;
  background:#FFFFFF;
  box-shadow:0 10px 22px #DAE5F4;
  transition:border-color .18s ease,transform .18s ease,box-shadow .18s ease;
  -webkit-user-select:none;
  user-select:none;
}

.wfp-card:hover,
.wfp-card.is-focus{
  border-color:var(--wfp-blue-2);
  transform:translateY(-1px);
  box-shadow:0 14px 26px #D2E1F3;
}

.wfp-card.is-featured{border-color:var(--wfp-blue)}
.wfp-card.is-hidden{display:none}

.wfp-card-top{
  position:relative;
  min-height:82px;
  padding:14px 14px 12px;
  background:var(--wfp-blue);
  color:#FFFFFF;
  overflow:hidden;
}

.wfp-card-top::before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(90deg,var(--wfp-blue) 0%,#004FCD 56%,var(--wfp-blue-2) 100%);
  z-index:0;
}

.wfp-card-top::after{
  content:"";
  position:absolute;
  right:10px;
  bottom:6px;
  width:48px;
  height:48px;
  background-repeat:no-repeat;
  background-position:center;
  background-size:contain;
  background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 64 64' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23FFFFFF' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 38c12-12 32-12 44 0'/%3E%3Cpath d='M20 48c7-7 17-7 24 0'/%3E%3Cpath d='M30 56c1.3-1.3 2.7-1.3 4 0'/%3E%3C/g%3E%3C/svg%3E");
  opacity:.22;
  z-index:1;
}

.wfp-title-row{
  position:relative;
  z-index:2;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  margin-bottom:8px;
}

.wfp-type,
.wfp-badge{
  display:inline-flex;
  align-items:center;
  min-height:21px;
  padding:0 7px;
  border:1px solid #71B7FF;
  border-radius:0;
  color:#FFFFFF;
  background:#0057D9;
  font-size:8.5px;
  font-weight:950;
  letter-spacing:.06em;
  text-transform:uppercase;
  white-space:nowrap;
}

.wfp-badge{
  background:#0098FF;
  border-color:#77CFFF;
}

.wfp-card h3{
  position:relative;
  z-index:2;
  min-height:32px;
  margin:0;
  padding-right:48px;
  color:#FFFFFF;
  font-size:17px;
  line-height:1.08;
  letter-spacing:-.04em;
  font-weight:950;
}

.wfp-card-body{
  display:flex;
  flex:1;
  flex-direction:column;
  padding:14px;
}

.wfp-speed{
  display:flex;
  align-items:flex-end;
  gap:5px;
  margin:0 0 7px;
}

.wfp-speed strong{
  color:var(--wfp-blue-2);
  font-size:40px;
  line-height:.88;
  font-weight:950;
  letter-spacing:-.08em;
}

.wfp-speed span{
  color:#526173;
  font-size:12px;
  line-height:1;
  font-weight:900;
  padding-bottom:4px;
}

.wfp-detail{
  min-height:32px;
  margin:0 0 10px;
  padding:0 0 10px;
  color:var(--wfp-muted);
  border-bottom:1px solid var(--wfp-line-2);
  font-size:11.5px;
  line-height:1.42;
  font-weight:600;
}

.wfp-price{
  display:flex;
  align-items:flex-end;
  gap:4px;
  margin:0 0 10px;
}

.wfp-price span,
.wfp-price em{
  color:#64748B;
  font-size:12px;
  line-height:1;
  font-weight:850;
  font-style:normal;
  padding-bottom:5px;
}

.wfp-price strong{
  color:#07143B;
  font-size:31px;
  line-height:.93;
  font-weight:950;
  letter-spacing:-.06em;
}

.wfp-list{
  flex:1;
  display:flex;
  flex-direction:column;
  gap:6px;
  margin:0 0 12px;
  padding:0;
  list-style:none;
}

.wfp-list li{
  display:flex;
  align-items:center;
  gap:8px;
  color:#24324B;
  font-size:11.5px;
  line-height:1.28;
  font-weight:700;
}

.wfp-list i{
  width:16px;
  height:16px;
  min-width:16px;
  display:grid;
  place-items:center;
  color:var(--wfp-blue);
  font-style:normal;
}

.wfp-list i svg{
  width:16px;
  height:16px;
  display:block;
  fill:none;
  stroke:currentColor;
  stroke-width:2.2;
  stroke-linecap:round;
  stroke-linejoin:round;
}

.wfp-wa{
  width:100%;
  min-height:38px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  border-radius:0;
  text-decoration:none;
  font-size:12px;
  font-weight:950;
  transition:background .16s ease,color .16s ease,box-shadow .16s ease,transform .16s ease;
}

.wfp-wa.primary{
  color:#FFFFFF;
  background:var(--wfp-blue);
  border:1px solid var(--wfp-blue);
  box-shadow:0 10px 20px #D5E2F5;
}

.wfp-wa.outline{
  color:var(--wfp-blue);
  background:#FFFFFF;
  border:1px solid #BFD0EA;
  box-shadow:none;
}

.wfp-arrow{
  position:absolute;
  top:48%;
  z-index:5;
  width:34px;
  height:34px;
  display:grid;
  place-items:center;
  border:1px solid #ADC2E5;
  border-radius:0;
  background:#FFFFFF;
  color:var(--wfp-blue);
  box-shadow:0 10px 20px #D7E3F3;
  font-size:22px;
  line-height:1;
  cursor:pointer;
  transform:translateY(-50%);
}

.wfp-arrow.prev{left:-15px}
.wfp-arrow.next{right:-15px}

.wfp-arrow:disabled{
  opacity:.35;
  cursor:not-allowed;
}

.wfp-counter{
  display:flex;
  justify-content:center;
  gap:5px;
  margin-top:2px;
}

.wfp-dot{
  width:7px;
  height:7px;
  border:0;
  border-radius:0;
  background:#BFD0EA;
  cursor:pointer;
  padding:0;
}

.wfp-dot.is-active{
  width:24px;
  background:var(--wfp-blue);
}

.wfp-note{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px;
  margin-top:14px;
}

.wfp-note-item{
  display:flex;
  align-items:center;
  gap:9px;
  border-top:2px solid var(--wfp-blue);
  background:#FFFFFF;
  padding:10px;
  box-shadow:0 8px 18px #DFE8F5;
}

.wfp-note-icon{
  width:28px;
  height:28px;
  display:grid;
  place-items:center;
  color:var(--wfp-blue);
}

.wfp-note-icon svg{
  width:25px;
  height:25px;
  fill:none;
  stroke:currentColor;
  stroke-width:2;
  stroke-linecap:round;
  stroke-linejoin:round;
}

.wfp-note-item strong{
  display:block;
  color:var(--wfp-blue);
  font-size:11px;
  line-height:1.1;
  font-weight:950;
  text-transform:uppercase;
}

.wfp-note-item span{
  display:block;
  margin-top:2px;
  color:#59677C;
  font-size:10.5px;
  line-height:1.3;
  font-weight:650;
}

@media(max-width:1060px){
  .wfp-hero__container{grid-template-columns:1fr}
  .wfp-hero__price{max-width:260px}
  .wfp-head{grid-template-columns:1fr}
  .wfp-mini-card{display:none}
  .wfp-track{grid-auto-columns:calc((100% - 14px)/2)}
  .wfp-note{grid-template-columns:repeat(2,minmax(0,1fr))}
}

@media(max-width:760px){
  .wfp-hero{
    padding:58px 0 62px;
  }
  .wfp-hero__container{width:calc(100% - 22px)}
  .wfp-hero h1{font-size:2rem;letter-spacing:-.064em}
  .wfp-hero p{font-size:13px}
  .wfp-hero__actions{flex-direction:column}
  .wfp-hero__btn{width:100%}
  .wfp-hero__price{display:none}

  .wfp-section{padding:30px 0 40px}
  .wfp-container{width:calc(100% - 22px)}
  .wfp-head{margin:0 0 14px}
  .wfp-head h2{font-size:1.75rem;letter-spacing:-.062em}
  .wfp-head p{font-size:12.5px;line-height:1.48}
  .wfp-tabs{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;padding-bottom:3px;margin-bottom:10px}
  .wfp-tabs::-webkit-scrollbar{display:none}
  .wfp-tab{flex:0 0 auto;min-height:34px;padding:0 12px;font-size:10.5px}
  .wfp-track{grid-auto-columns:84%;gap:11px;padding:6px 1px 12px}
  .wfp-card{min-height:332px}
  .wfp-card:hover,
  .wfp-card.is-focus{transform:none;box-shadow:0 10px 22px #DAE5F4}
  .wfp-card-top{min-height:78px;padding:13px}
  .wfp-card h3{font-size:16px;min-height:30px;padding-right:44px}
  .wfp-card-body{padding:13px}
  .wfp-speed strong{font-size:38px}
  .wfp-detail,
  .wfp-list li{font-size:11px}
  .wfp-arrow{display:none}
  .wfp-note{grid-template-columns:1fr;gap:8px}
}

@media(max-width:460px){
  .wfp-track{grid-auto-columns:90%}
  .wfp-kicker{font-size:9.5px}
  .wfp-head h2{font-size:1.65rem}
  .wfp-type,
  .wfp-badge{font-size:8px;padding:0 6px}
  .wfp-price strong{font-size:30px}
}