/* ===================================================================
   LLAMATUWEB.com — planes.css
   Estilos exclusivos de la página interna /planes.html
   (usa las variables y componentes base definidos en style.css)
   =================================================================== */

/* ---------- Mini-hero de planes ---------- */
.plans-hero {
  position: relative; overflow: hidden;
  padding: 150px 0 64px; min-height: 420px;
  background: var(--color-black);
  display: flex; align-items: center;
}
.plans-hero-bg {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 4%;
}
.plans-hero-overlay {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, rgba(0,0,0,.74) 0%, rgba(0,0,0,.5) 42%, rgba(0,0,0,.2) 66%, rgba(0,0,0,.4) 100%);
}
.plans-hero-inner { position: relative; z-index: 2; width: 100%; }
.plans-hero-text { max-width: 620px; }
.plans-hero-text h1 {
  color: #fff; text-shadow: 0 2px 18px rgba(0,0,0,.45);
  font-size: clamp(2.1rem, 3.8vw, 3.1rem); margin-bottom: 12px;
}
.plans-hero-text p { color: #eee; font-size: 1.05rem; margin: 0; max-width: 520px; }

/* ---------- Grilla de planes ---------- */
.plans-grid-section { padding: 16px 0 90px; background: var(--color-gray-50); }
.plans-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }

.plan-card {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--color-gray-100); border-radius: var(--radius-lg);
  padding: 38px 28px 30px; box-shadow: var(--shadow-card);
  transition: transform var(--transition), box-shadow var(--transition);
}
.plan-card:hover { transform: translateY(-4px); }
.plan-card--featured { border: 2px solid var(--color-red); box-shadow: 0 18px 44px rgba(227,6,19,.18); }

.plan-badge {
  position: absolute; top: -15px; left: 50%; transform: translateX(-50%);
  background: var(--color-red); color: #fff;
  font-family: var(--font-display); font-weight: 800; font-size: .72rem;
  letter-spacing: .1em; text-transform: uppercase; text-align: center;
  padding: 7px 20px; border-radius: 999px; white-space: nowrap;
}

.plan-card-icon {
  width: 62px; height: 62px; border-radius: 50%; border: 2px solid var(--color-red);
  color: var(--color-red); display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px;
}
.plan-card-icon svg { width: 26px; height: 26px; }

.plan-card h3 { text-align: center; font-size: 1.42rem; margin-bottom: 8px; }
.plan-card-desc { text-align: center; color: var(--color-gray-600); font-size: .88rem; margin: 0 0 20px; min-height: 40px; }
.plan-card hr { border: none; border-top: 1px solid var(--color-gray-100); margin: 0 0 20px; }

.plan-features { display: grid; gap: 12px; margin: 0 0 26px; flex: 1; }
.plan-features li { display: flex; align-items: flex-start; gap: 10px; font-size: .89rem; color: var(--color-dark); }
.plan-check { flex-shrink: 0; width: 19px; height: 19px; margin-top: 1px; }

.plan-card .btn { width: 100%; justify-content: center; margin-bottom: 10px; }
.plan-card-alt { display: block; text-align: center; font-size: .84rem; font-weight: 700; color: var(--color-gray-600); transition: color var(--transition); }
.plan-card-alt:hover { color: var(--color-red); }

/* ---------- Franja de oferta ---------- */
.plans-offer-banner { background: linear-gradient(90deg, var(--color-red-dark) 0%, var(--color-red) 100%); padding: 30px 0; }
.plans-offer-inner { display: flex; align-items: center; justify-content: space-between; gap: 26px; flex-wrap: wrap; }
.plans-offer-left { display: flex; align-items: center; gap: 18px; }
.plans-offer-badge { flex-shrink: 0; width: 58px; height: 42px; color: #fff; }
.plans-offer-left h2 {
  color: #fff; margin: 0; line-height: 1.14;
  font-size: clamp(1.25rem, 2.4vw, 1.85rem);
}
.plans-offer-left h2 .promo-pct {
  font-family: var(--font-impact); font-weight: 400; font-size: 1.25em; vertical-align: -0.03em;
}
.plans-offer-right { display: flex; flex-direction: column; align-items: flex-end; gap: 9px; }
.plans-offer-right .btn { white-space: nowrap; }
.plans-offer-note { display: flex; align-items: center; gap: 6px; color: #ffe0de; font-size: .76rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.plans-offer-note svg { width: 14px; height: 14px; flex-shrink: 0; }

/* ---------- Foto de equipo ---------- */
.plans-team-section { line-height: 0; background: var(--color-black); }
.plans-team-img { display: block; width: 100%; height: auto; aspect-ratio: 1680 / 804; object-fit: cover; object-position: 50% 35%; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .plans-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .plan-card--featured { order: -1; }
}

@media (max-width: 900px) {
  .plans-hero { padding-top: 108px; min-height: 360px; }
}

@media (max-width: 640px) {
  .plans-hero { min-height: 320px; padding-bottom: 48px; }
  .plans-hero-inner { text-align: center; }
  .plans-hero-text { max-width: none; }
  .plans-hero-text p { margin: 0 auto; }
  .plans-offer-inner { justify-content: center; text-align: center; }
  .plans-offer-left { flex-direction: column; }
  .plans-offer-right { align-items: center; width: 100%; }
  .plans-offer-right .btn { width: 100%; justify-content: center; }
}
