/* =========================================================
   SPORTIAN - PLANES TIPO PRICING
   Archivo exclusivo para planes.html
   No mezclar este CSS dentro de index.html.
   ========================================================= */

:root {
  --dark-950: #02060b;
  --dark-900: #050a12;
  --dark-850: #07111f;
  --dark-800: #0b1420;
  --card: #17191f;
  --card-2: #202229;
  --light: #f5f7fb;
  --muted: rgba(245, 247, 251, 0.68);
  --muted-2: rgba(245, 247, 251, 0.48);
  --blue: #1769ff;
  --blue-soft: #009dff;
  --orange: #ff7a1a;
  --orange-2: #ff9a22;
  --line: rgba(255, 255, 255, 0.12);
  --container: min(1480px, calc(100% - 80px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--light);
  background:
    radial-gradient(circle at 70% 0%, rgba(23, 105, 255, 0.14), transparent 28%),
    radial-gradient(circle at 22% 12%, rgba(255, 122, 26, 0.08), transparent 24%),
    var(--dark-950);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

/* ================= HEADER ================= */

.plans-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 72px;
  background: rgba(2, 6, 11, 0.97);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  min-width: 0;
}

.brand-figure {
  width: 34px;
  height: auto;
  flex-shrink: 0;
}

.brand-text {
  width: 170px;
  height: auto;
}

.plans-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.plans-nav a {
  position: relative;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.22s ease;
}

.plans-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 0;
  height: 3px;
  background: var(--orange);
  transition: width 0.22s ease;
}

.plans-nav a:hover,
.plans-nav a.active {
  color: #ffffff;
}

.plans-nav a:hover::after,
.plans-nav a.active::after {
  width: 100%;
}

.login-link {
  min-height: 46px;
  padding: 0 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-soft) !important;
  border: 1px solid rgba(23, 105, 255, 0.8);
  margin-left: 8px;
}

.login-link::after {
  display: none;
}

.login-link:hover {
  color: #ffffff !important;
  border-color: var(--orange);
  background: rgba(255, 122, 26, 0.08);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: #ffffff;
}

/* ================= HERO ================= */

.pricing-hero {
  width: var(--container);
  min-height: 360px;
  margin: 0 auto;
  padding: 96px 0 56px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 64px;
  align-items: end;
}

.eyebrow {
  margin: 0 0 20px;
  color: var(--orange);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.36em;
  text-transform: uppercase;
}

.pricing-hero h1 {
  max-width: 980px;
  margin: 0;
  color: #ffffff;
  font-size: clamp(58px, 6.4vw, 112px);
  line-height: 0.88;
  letter-spacing: -0.065em;
  text-transform: uppercase;
}

.pricing-hero p {
  max-width: 710px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.75;
}

.pricing-hero__note {
  padding: 28px;
  border: 1px solid rgba(23, 105, 255, 0.42);
  background:
    linear-gradient(145deg, rgba(23, 105, 255, 0.14), rgba(255, 122, 26, 0.06)),
    rgba(255, 255, 255, 0.035);
}

.pricing-hero__note span {
  display: inline-flex;
  color: #ffffff;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.pricing-hero__note p {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

/* ================= PRICING ================= */

.pricing-section {
  width: var(--container);
  margin: 0 auto;
  padding: 48px 0 90px;
}

.pricing-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 460px;
  gap: 56px;
  align-items: end;
  margin-bottom: 34px;
}

.pricing-head h2 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(36px, 3.6vw, 64px);
  line-height: 0.95;
  letter-spacing: -0.045em;
  text-transform: uppercase;
}

.pricing-head > p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.plan-card {
  position: relative;
  min-height: 680px;
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent 36%),
    var(--card);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 20px;
  overflow: hidden;
  transition: transform 0.28s ease, border-color 0.28s ease, background 0.28s ease;
}

.plan-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 90% 0%, rgba(255, 122, 26, 0.12), transparent 28%),
    radial-gradient(circle at 12% 18%, rgba(23, 105, 255, 0.12), transparent 28%);
  opacity: 0;
  transition: opacity 0.28s ease;
}

.plan-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 255, 255, 0.28);
}

.plan-card:hover::before {
  opacity: 1;
}

.plan-card.is-featured {
  background:
    linear-gradient(155deg, rgba(23, 105, 255, 0.42), rgba(255, 122, 26, 0.12)),
    #1b1f34;
  border-color: rgba(23, 105, 255, 0.65);
}

.plan-badge {
  width: fit-content;
  min-height: 28px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(255, 122, 26, 0.16);
  border: 1px solid rgba(255, 122, 26, 0.45);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.plan-name {
  position: relative;
  margin: 22px 0 0;
  color: #ffffff;
  font-size: 29px;
  line-height: 1;
  letter-spacing: -0.035em;
  text-transform: uppercase;
}

.plan-price {
  position: relative;
  margin: 28px 0 0;
}

.plan-price small {
  color: var(--muted-2);
  font-size: 18px;
  vertical-align: top;
}

.plan-price strong {
  color: #ffffff;
  font-size: 48px;
  line-height: 1;
  letter-spacing: -0.05em;
}

.plan-price span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.plan-description {
  position: relative;
  min-height: 78px;
  margin: 20px 0 0;
  color: #ffffff;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.55;
}

.plan-button {
  position: relative;
  min-height: 50px;
  margin-top: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-radius: 999px;
  color: #05101d;
  background: #ffffff;
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
  transition: transform 0.22s ease, background 0.22s ease, color 0.22s ease;
}

.plan-button:hover {
  transform: translateY(-2px);
  background: var(--orange);
  color: #ffffff;
}

.plan-card.is-featured .plan-button {
  color: #ffffff;
  background: linear-gradient(90deg, var(--blue), var(--orange));
}

.plan-meta {
  position: relative;
  margin: 16px 0 0;
  color: var(--muted-2);
  font-size: 12px;
  line-height: 1.55;
}

.plan-includes-title {
  position: relative;
  margin: 28px 0 0;
  color: #ffffff;
  font-size: 13px;
  font-weight: 900;
}

.plan-features {
  position: relative;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 16px;
}

.plan-features li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 12px;
  align-items: start;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.plan-features li::before {
  content: "✓";
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--orange);
  border: 1px solid rgba(255, 122, 26, 0.45);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.plan-card.is-featured .plan-features li::before {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.36);
  background: rgba(255, 255, 255, 0.1);
}

.plan-whatsapp {
  position: relative;
  margin-top: auto;
  padding-top: 22px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  transition: color 0.22s ease;
}

.plan-whatsapp:hover {
  color: var(--orange);
}

/* ================= INFO ================= */

.pricing-info {
  width: var(--container);
  margin: 0 auto 88px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.pricing-info article {
  padding: 32px 30px;
  border-right: 1px solid var(--line);
}

.pricing-info article:last-child {
  border-right: 0;
}

.pricing-info span {
  color: var(--orange);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.2em;
}

.pricing-info h3 {
  margin: 18px 0 0;
  color: #ffffff;
  font-size: 24px;
  text-transform: uppercase;
}

.pricing-info p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

/* ================= CONTACT ================= */

.pricing-contact {
  width: var(--container);
  min-height: 280px;
  margin: 0 auto 78px;
  padding: 44px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 40px;
  align-items: center;
  background:
    linear-gradient(135deg, rgba(23, 105, 255, 0.16), rgba(255, 122, 26, 0.08)),
    rgba(255, 255, 255, 0.035);
  border: 1px solid var(--line);
}

.pricing-contact h2 {
  max-width: 760px;
  margin: 0;
  color: #ffffff;
  font-size: clamp(38px, 4vw, 68px);
  line-height: 0.92;
  letter-spacing: -0.05em;
  text-transform: uppercase;
}

.pricing-contact p {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.pricing-contact a {
  min-height: 56px;
  padding: 0 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: transparent;
  border: 1px solid rgba(255, 122, 26, 0.8);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  transition: 0.22s ease;
}

.pricing-contact a:hover {
  background: var(--orange);
}

/* ================= FOOTER ================= */

.plans-footer {
  min-height: 92px;
  padding: 0 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: var(--dark-950);
  border-top: 1px solid var(--line);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 13px;
  color: #ffffff;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.footer-brand img {
  width: 32px;
}

.plans-footer p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 1220px) {
  :root {
    --container: min(100% - 48px, 1480px);
  }

  .plans-header {
    padding: 0 36px;
  }

  .pricing-hero,
  .pricing-head {
    grid-template-columns: 1fr;
  }

  .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  :root {
    --container: min(100% - 32px, 1480px);
  }

  .plans-header {
    height: 72px;
    padding: 0 18px;
  }

  .brand-figure {
    width: 30px;
  }

  .brand-text {
    width: 142px;
  }

  .nav-toggle {
    display: block;
  }

  .plans-nav {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    padding: 26px 18px 30px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
    background: rgba(2, 6, 11, 0.98);
    border-bottom: 1px solid var(--line);
  }

  .plans-nav.is-open {
    display: flex;
  }

  .plans-nav a {
    width: 100%;
    padding: 10px 0;
  }

  .login-link {
    margin-left: 0;
  }

  .pricing-hero {
    min-height: auto;
    padding: 70px 0 40px;
  }

  .pricing-hero h1 {
    font-size: 3.7rem;
  }

  .pricing-grid,
  .pricing-info,
  .pricing-contact {
    grid-template-columns: 1fr;
  }

  .plan-card {
    min-height: auto;
  }

  .pricing-info article {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .pricing-info article:last-child {
    border-bottom: 0;
  }

  .pricing-contact {
    padding: 32px 24px;
  }

  .plans-footer {
    padding: 28px 20px;
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 520px) {
  .pricing-hero h1 {
    font-size: 2.8rem;
  }

  .pricing-head h2,
  .pricing-contact h2 {
    font-size: 2.4rem;
  }

  .plan-price strong {
    font-size: 40px;
  }
}
