/* ================= PRICING (White) ================= */
.pricing-lite{
  background: #fff;
}

.pricing-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 1180px;
  margin: 0 auto;
}

.p-card{
  position: relative;
  background:#fff;
  border: 1px solid rgba(6,17,30,.10);
  border-radius: 20px;
  padding: 22px;
  box-shadow: 0 16px 50px rgba(6,17,30,.06);
  transition: .25s ease;
}

.p-card:hover{
  transform: translateY(-6px);
  box-shadow: 0 24px 80px rgba(6,17,30,.10);
  border-color: rgba(255,108,43,.28);
}

.p-card--featured{
  border-color: rgba(255,108,43,.45);
  box-shadow: 0 26px 90px rgba(255,108,43,.12);
}

.p-badge{
  position:absolute;
  top: 14px;
  right: 14px;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(255,108,43,.10);
  border: 1px solid rgba(255,108,43,.25);
  color: #FF6C2B;
  font-weight: 900;
  font-size: .75rem;
  letter-spacing: .10em;
}

.p-head{
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid rgba(6,17,30,.08);
}

.p-plan{
  font-weight: 950;
  font-size: 1.15rem;
  letter-spacing: -.02em;
  color: #06111E;
  margin-bottom: 10px;
}

.p-price{
  display:flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}

.p-from{
  font-size: .85rem;
  color: rgba(6,17,30,.55);
  font-weight: 800;
}

.p-amount{
  font-weight: 950;
  letter-spacing: -0.03em;
  font-size: clamp(2.0rem, 3.2vw, 2.6rem);
  color: #06111E;
}

.p-cad{
  font-weight: 900;
  color: rgba(6,17,30,.65);
}

.p-period{
  color: rgba(6,17,30,.55);
  font-weight: 700;
}

.p-note p{
  margin: 10px 0 0;
  color: rgba(2, 5, 9, 0.65);
  line-height: 1.55;
}

/* list */
.p-list{
  list-style:none;
  padding:0;
  margin:0;
  display:grid;
  gap: 10px;
}

.p-list li{
  display:flex;
  gap: 10px;
  align-items:flex-start;
  color: rgba(6,17,30,.72);
  line-height: 1.45;
}

.p-list i{
  color: #FF6C2B;
  margin-top: 2px;
}

/* CTA */
.p-cta{
  margin-top: 18px;
}

.p-cta .w-full{
  width: 100%;
  display:inline-flex;
  justify-content:center;
}

.p-micro{
  margin: 10px 0 0;
  color: rgba(6,17,30,.55);
  font-size: .92rem;
}

/* footnote */
.pricing-footnote{
  max-width: 1180px;
  margin: 16px auto 0;
}

.pf-card{
  border-radius: 18px;
  padding: 18px 18px 16px;
  background: #fff;
  border: 1px solid rgba(6,17,30,.10);
  box-shadow: 0 16px 50px rgba(6,17,30,.05);
}

.pf-title{
  font-weight: 950;
  color: #06111E;
  margin-bottom: 8px;
}

.pf-text{
  margin: 0 0 12px;
  color: rgba(6,17,30,.65);
  line-height: 1.6;
}

.pf-points{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
}

.pf-pill{
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(6,17,30,.04);
  border: 1px solid rgba(6,17,30,.08);
  color: rgba(6,17,30,.72);
  font-weight: 700;
  font-size: .92rem;
}

/* responsive */
@media (max-width: 980px){
  .pricing-grid{
    grid-template-columns: 1fr;
  }
}

/* ================= ESTIMATOR ================= */
.pricing-estimator{
  background:#fff;
  padding: 10px 0 90px; /* pégalo al pricing */
}

.est-card{
  max-width: 1180px;
  margin: 0 auto;
  border: 1px solid rgba(6,17,30,.10);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 18px 60px rgba(6,17,30,.06);
  overflow: hidden;
}

.est-head{
  padding: 22px 22px 0;
}

.est-kicker{
  margin:0 0 10px;
  font-weight: 900;
  letter-spacing: .16em;
  font-size: .78rem;
  color: rgba(6,17,30,.55);
}

.est-title{
  margin:0 0 10px;
  font-weight: 950;
  letter-spacing: -0.03em;
  color:#06111E;
  font-size: clamp(1.5rem, 2.2vw, 2rem);
}

.est-sub{
  margin:0 0 18px;
  color: rgba(6,17,30,.65);
  line-height: 1.6;
  max-width: 75ch;
}

.est-grid{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 18px;
  padding: 18px 22px 22px;
}

.est-options{
  display:grid;
  gap: 16px;
}

.est-group{
  border: 1px solid rgba(6,17,30,.08);
  border-radius: 18px;
  padding: 14px;
  background: rgba(6,17,30,.02);
}

.est-group__title{
  font-weight: 950;
  color:#06111E;
  margin-bottom: 10px;
  font-size: 1rem;
}

.est-opt{
  display:flex;
  align-items:flex-start;
  gap: 10px;
  padding: 10px 10px;
  border-radius: 14px;
  transition: .2s ease;
  cursor: pointer;
}

.est-opt:hover{
  background: rgba(255,108,43,.06);
}

.est-opt input{
  margin-top: 4px;
  transform: scale(1.05);
  accent-color: #FF6C2B;
}

.est-opt__label{
  flex:1;
  color: rgba(6,17,30,.78);
  line-height: 1.35;
  font-weight: 650;
}

.est-opt__meta{
  color: rgba(6,17,30,.55);
  font-weight: 800;
  font-size: .9rem;
  white-space: nowrap;
}

.est-result__box{
  position: sticky;
  top: 18px;
  border: 1px solid rgba(6,17,30,.10);
  border-radius: 18px;
  padding: 16px;
  background: #fff;
  box-shadow: 0 18px 60px rgba(6,17,30,.06);
}

.est-result__title{
  font-weight: 950;
  color:#06111E;
  margin-bottom: 10px;
}

.est-range{
  display:flex;
  align-items: baseline;
  gap: 10px;
  font-weight: 950;
  letter-spacing: -0.02em;
  color:#06111E;
  font-size: clamp(1.6rem, 2.2vw, 2.1rem);
}

.est-range__dash{
  color: rgba(6,17,30,.35);
  font-weight: 900;
}

.est-range__mxn{
  font-size: .95rem;
  color: rgba(6,17,30,.55);
  font-weight: 900;
  margin-left: 2px;
}

.est-breakdown{
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(6,17,30,.08);
  display:grid;
  gap: 8px;
}

.est-line{
  display:flex;
  justify-content: space-between;
  gap: 10px;
  color: rgba(6,17,30,.70);
  font-weight: 700;
}

.est-line span:last-child{
  color: rgba(6,17,30,.58);
  font-weight: 900;
}

.est-cta{
  margin-top: 14px;
}

.est-cta .w-full{
  width:100%;
  display:inline-flex;
  justify-content:center;
}

.est-micro{
  margin: 10px 0 0;
  font-size: .92rem;
  color: rgba(6,17,30,.55);
  line-height: 1.45;
}

/* responsive */
@media (max-width: 980px){
  .est-grid{ grid-template-columns: 1fr; }
  .est-result__box{ position: relative; top: auto; }
}

.p-tax{
  font-size: .9rem;
  font-weight: 900;
  color: rgba(6,17,30,.60);
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(6,17,30,.04);
  border: 1px solid rgba(6,17,30,.08);
  line-height: 1;
}

.est-range__tax{
  font-size: .92rem;
  color: rgba(6,17,30,.55);
  font-weight: 900;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(6,17,30,.04);
  border: 1px solid rgba(6,17,30,.08);
  margin-left: 2px;
}

.pf-legal{
  margin: 10px 0 0;
  color: rgba(6,17,30,.60);
  font-weight: 650;
  line-height: 1.55;
  font-size: .95rem;
}

/* --- Fix overflow general --- */
.est-card,
.est-group,
.est-result__box{
  min-width: 0;
}

.est-grid{
  min-width: 0;
}

.est-opt__label{
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.est-opt__meta{
  white-space: nowrap;
  flex: 0 0 auto;
}

/* --- Breakdown: en vez de flex space-between, usa grid que quiebra bonito --- */
.est-line{
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: start;
}

.est-line span:first-child{
  min-width: 0;
  overflow-wrap: anywhere;
}

.est-line span:last-child{
  white-space: nowrap;
}

/* --- Range: que se envuelva en mobile sin empujar --- */
.est-range{
  flex-wrap: wrap;
  row-gap: 8px;
}

/* ================= MOBILE TUNING ================= */
@media (max-width: 720px){
  .est-head{ padding: 18px 16px 0; }
  .est-grid{ padding: 14px 16px 16px; gap: 14px; }

  /* Quita sticky en mobile sí o sí */
  .est-result__box{
    position: relative !important;
    top: auto !important;
  }

  /* Meta a la siguiente línea para que no truene */
  .est-opt{
    flex-wrap: wrap;
  }
  .est-opt__meta{
    width: 100%;
    margin-left: 28px; /* alinear con texto, dejando espacio del checkbox */
    white-space: normal;
    color: rgba(6,17,30,.55);
  }

  /* Títulos y cards más compactos */
  .est-group{ padding: 12px; }
  .est-group__title{ margin-bottom: 8px; }
}

/* Estimador solo desktop */
.desktop-only { display: block; }
@media (max-width: 980px){
  .desktop-only { display: none !important; }
}