/* ════════════════════════════════════════════════════
   STARK.LINK · /precios
   sl-precios.css — específico de la página de precios
   ════════════════════════════════════════════════════
   Tipografías:
     · Bebas Neue (titulares de plan, precios)
     · Outfit (body, descripciones, hero)
     · Space Mono (eyebrows, tags, micro-textos)
   ════════════════════════════════════════════════════ */

/* ── Variables ── */
:root {
  --orange:          #FF8C00;
  --orange-deep:     #E67A00;
  --orange-light:    #FFB347;
  --steel:           #6B7A90;
  --steel-light:     #9AAAC0;
  --carbon:          #0f1117;
  --carbon-mid:      #161b24;
  --carbon-surface:  #1e2433;
  --carbon-border:   rgba(255, 255, 255, 0.07);
  --white:           #fff;
  --white-muted:     rgba(255, 255, 255, 0.6);
}

/* ── Reset & body ── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  padding: 0;
  font-family: 'Outfit', system-ui, -apple-system, sans-serif;
  background: var(--carbon);
  color: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* ════════════════════════════════
   CURSOR personalizado
════════════════════════════════ */
* { cursor: none !important; }
#cursor-dot {
  position: fixed; top: 0; left: 0;
  width: 10px; height: 10px;
  background: var(--orange);
  border-radius: 50%;
  pointer-events: none;
  z-index: 2147483647;
  transition: width .2s, height .2s, opacity .3s;
  will-change: transform;
}
#cursor-ring {
  position: fixed; top: 0; left: 0;
  width: 34px; height: 34px;
  border: 1.5px solid rgba(255, 140, 0, .6);
  border-radius: 50%;
  pointer-events: none;
  z-index: 2147483646;
  transition: width .3s, height .3s, opacity .3s;
  will-change: transform;
}
#cursor-dot.is-hover  { width: 16px; height: 16px; background: var(--orange-light); }
#cursor-ring.is-hover { width: 52px; height: 52px; border-color: rgba(255, 140, 0, .9); }
#cursor-dot.is-hidden,
#cursor-ring.is-hidden { opacity: 0; }

@media (pointer: coarse) {
  * { cursor: auto !important; }
  #cursor-dot, #cursor-ring { display: none; }
}

/* ════════════════════════════════
   HERO de precios
════════════════════════════════ */
.sp-hero {
  position: relative;
  padding: 160px 24px 60px;
  text-align: center;
  background: var(--carbon);
  overflow: hidden;
}
.sp-hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(900px 500px at 50% 20%, rgba(255,140,0,0.12), transparent 60%),
    radial-gradient(600px 300px at 80% 80%, rgba(255,140,0,0.06), transparent 60%);
  pointer-events: none;
}
.sp-hero__inner { position: relative; z-index: 1; max-width: 880px; margin: 0 auto; }
.sp-hero__tag {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'Space Mono', monospace;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 22px;
  padding: 8px 16px;
  border: 1px solid rgba(255, 140, 0, 0.3);
  border-radius: 999px;
  background: rgba(255, 140, 0, 0.05);
}
.sp-hero__tag::before {
  content: "";
  width: 6px; height: 6px;
  background: var(--orange);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--orange);
}
.sp-hero__title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(48px, 7vw, 88px);
  line-height: 1;
  letter-spacing: 0.02em;
  margin: 0 0 18px;
}
.sp-hero__title em {
  font-style: normal;
  color: var(--orange);
}
.sp-hero__sub {
  font-size: clamp(15px, 1.7vw, 18px);
  color: var(--white-muted);
  line-height: 1.65;
  max-width: 600px;
  margin: 0 auto;
  font-weight: 300;
}

/* ════════════════════════════════
   SWITCHER VERTICAL (tabs grandes)
════════════════════════════════ */
.sp-switcher-wrap {
  padding: 0 24px;
  background: var(--carbon);
}
.sp-switcher {
  max-width: 720px;
  margin: 0 auto;
  background: var(--carbon-mid);
  border: 1px solid var(--carbon-border);
  border-radius: 22px;
  padding: 8px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  position: relative;
}
.sp-switcher__tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 18px 14px;
  border: 1.5px solid transparent;
  background: transparent;
  border-radius: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  color: var(--white-muted);
  font-family: 'Outfit', sans-serif;
  position: relative;
}
.sp-switcher__tab:hover {
  background: rgba(255, 140, 0, 0.04);
  color: var(--white);
}
.sp-switcher__tab.is-active {
  background: var(--carbon-surface);
  border-color: rgba(255, 140, 0, 0.4);
  color: var(--white);
  box-shadow: 0 8px 24px rgba(255, 140, 0, 0.12);
}
.sp-switcher__tab.is-active::before {
  content: "";
  position: absolute;
  top: 0; left: 24px; right: 24px;
  height: 2px;
  background: linear-gradient(90deg, var(--orange), var(--orange-light));
  border-radius: 0 0 2px 2px;
}
.sp-switcher__icon-row {
  display: flex; align-items: center; gap: 10px;
}
.sp-switcher__icon {
  width: 28px; height: 28px;
  display: flex; align-items: center; justify-content: center;
  color: var(--orange);
  transition: transform 0.3s ease;
}
.sp-switcher__tab.is-active .sp-switcher__icon {
  transform: scale(1.1);
}
.sp-switcher__icon svg { width: 22px; height: 22px; }
.sp-switcher__label {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 22px;
  letter-spacing: 0.04em;
  line-height: 1;
}
.sp-switcher__sub {
  font-size: 11px;
  font-family: 'Space Mono', monospace;
  letter-spacing: 0.06em;
  color: var(--steel-light);
  text-transform: uppercase;
  font-weight: 400;
}
.sp-switcher__tab.is-active .sp-switcher__sub {
  color: var(--orange-light);
}

/* ════════════════════════════════
   PANEL (contenedor del contenido por vertical)
════════════════════════════════ */
.sp-panel { display: none; animation: spFadeIn 0.4s ease forwards; }
.sp-panel.is-active { display: block; }
@keyframes spFadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ════════════════════════════════
   TOGGLE Mensual / Anual (solo Gastronomía)
════════════════════════════════ */
.sp-toggle-wrap {
  padding: 40px 24px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.sp-toggle {
  display: flex; align-items: center; justify-content: center;
  gap: 14px;
}
.sp-toggle__track {
  width: 56px; height: 28px; border-radius: 14px;
  background: #444; border: none; cursor: pointer;
  position: relative; transition: background .25s;
  padding: 0;
}
.sp-toggle__track.is-annual { background: var(--orange); }
.sp-toggle__thumb {
  position: absolute; top: 3px; left: 3px;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--white);
  transition: left .25s;
}
.sp-toggle__track.is-annual .sp-toggle__thumb { left: 31px; }
.sp-toggle__label {
  font-size: 14px;
  color: var(--steel-light);
  transition: color .2s;
  font-family: 'Outfit', sans-serif;
}
.sp-toggle__label.is-active {
  color: var(--white);
  font-weight: 500;
}
.sp-toggle__badge {
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
  background: var(--orange);
  color: var(--carbon);
}

/* Nota Pro: "Pago único + mantenimiento anual" */
.sp-pro-note {
  padding: 40px 24px 0;
  text-align: center;
}
.sp-pro-note__title {
  font-family: 'Space Mono', monospace;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange-light);
  margin-bottom: 6px;
}
.sp-pro-note__sub {
  font-size: 12px;
  color: var(--steel);
  font-family: 'Space Mono', monospace;
  letter-spacing: 0.04em;
}

/* ════════════════════════════════
   SECTION COMMONS
════════════════════════════════ */
.section-tag {
  font-family: 'Space Mono', monospace;
  font-size: 10px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--orange); margin-bottom: 16px;
  display: flex; align-items: center; gap: 12px;
}
.section-tag::before {
  content: ''; display: block;
  width: 28px; height: 1px; background: var(--orange);
}
.section-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(38px, 5vw, 64px); line-height: 1; margin-bottom: 16px;
}
.section-title span { color: var(--orange); }
.section-sub {
  font-size: 16px; color: var(--white-muted);
  line-height: 1.65; font-weight: 300; max-width: 560px;
}

/* ════════════════════════════════
   PRICING (planes)
════════════════════════════════ */
.sp-pricing {
  padding: 64px 5% 64px;
  background: var(--carbon);
}
.sp-pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
  align-items: stretch;
}
.plan-card {
  background: var(--carbon-mid);
  border: 1px solid var(--carbon-border);
  border-radius: 20px;
  padding: 40px 36px;
  position: relative;
  overflow: hidden;
  transition: transform .3s, border-color .3s, box-shadow .3s;
  display: flex;
  flex-direction: column;
}
.plan-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255,140,0,.3);
  box-shadow: 0 20px 60px rgba(0,0,0,.4);
}
.plan-card.featured {
  border-color: rgba(255,140,0,.4);
  border-width: 2px;
  background: var(--carbon-surface);
}
.plan-card.featured::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--orange), var(--orange-light));
}
.plan-badge {
  position: absolute; top: 20px; right: 20px;
  background: var(--orange);
  color: var(--carbon);
  font-size: 10px; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
  font-family: 'Outfit', sans-serif;
}
.plan-icon {
  width: 52px; height: 52px;
  background: rgba(255,140,0,.1);
  border: 1px solid rgba(255,140,0,.2);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px;
  transition: background .3s, border-color .3s;
}
.plan-card:hover .plan-icon {
  background: rgba(255,140,0,.18);
  border-color: rgba(255,140,0,.4);
}
.plan-icon svg { width: 24px; height: 24px; }
.plan-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 32px;
  letter-spacing: .04em;
  margin-bottom: 8px;
}
.plan-desc {
  font-size: 14px;
  color: var(--white-muted);
  line-height: 1.55;
  font-weight: 300;
  margin-bottom: 28px;
}

/* ── Precio ── */
.plan-price {
  margin-bottom: 16px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--carbon-border);
}
.plan-price__from {
  font-size: 12px;
  color: var(--steel-light);
  font-family: 'Space Mono', monospace;
  text-transform: uppercase;
  letter-spacing: .08em;
  display: block;
  margin-bottom: 4px;
}
.plan-price__row {
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.plan-price__amount {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 52px;
  color: var(--orange);
  line-height: 1;
  transition: all .2s;
}
.plan-price__period {
  font-size: 14px;
  color: var(--steel-light);
}
.plan-price__saving {
  font-size: 12px;
  color: var(--orange);
  font-weight: 600;
  opacity: 0;
  transition: opacity .25s;
  margin-top: 5px;
  min-height: 18px;
  font-family: 'Space Mono', monospace;
}
.plan-price__saving.is-visible { opacity: 1; }
.plan-price__setup {
  font-size: 12px;
  color: var(--steel);
  margin-top: 4px;
  display: block;
}
.plan-price__permanencia {
  font-size: 11px;
  color: var(--steel);
  margin-top: 6px;
  display: block;
  letter-spacing: .02em;
}
.plan-price__note {
  font-size: 12px;
  color: var(--steel);
  margin-top: 4px;
  display: block;
}

/* ── Módulo incluido highlight ── */
.plan-module-included {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,140,0,.1);
  border: 1px solid rgba(255,140,0,.3);
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--orange);
  margin-bottom: 24px;
}
.plan-module-included svg { flex-shrink: 0; color: var(--orange); }

/* ── Features ── */
.plan-features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
  margin-bottom: 32px;
}
.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--white-muted);
  line-height: 1.5;
}
.plan-features li::before {
  content: '';
  width: 16px; height: 16px;
  border-radius: 50%;
  background: rgba(255,140,0,.15);
  border: 1px solid rgba(255,140,0,.3);
  flex-shrink: 0;
  margin-top: 2px;
  background-image: url("data:image/svg+xml,%3Csvg width='8' height='8' viewBox='0 0 10 10' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 5l3 3 5-5' stroke='%23FF8C00' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}
.plan-features li.is-disabled { opacity: .35; }
.plan-features li.is-disabled::before {
  background-image: none;
  border-color: rgba(255,255,255,.15);
  background-color: transparent;
}
.plan-features li .flags { display: flex; gap: 6px; align-items: center; }
.plan-features li .flags .flag { font-size: 16px; line-height: 1; }
.plan-features li .flags .sep { font-size: 11px; color: var(--steel); margin: 0 2px; }

/* Tag inline addon */
.addon-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--orange);
  background: rgba(255,140,0,.12);
  border: 1px solid rgba(255,140,0,.25);
  border-radius: 6px;
  padding: 1px 7px;
  margin-left: 4px;
  font-family: 'Space Mono', monospace;
}

/* ── CTA plan ── */
.plan-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .02em;
  text-decoration: none;
  transition: background .2s, transform .15s, box-shadow .2s;
  text-align: center;
  margin-top: auto;
  align-self: stretch;
  font-family: 'Outfit', sans-serif;
  cursor: pointer;
  border: none;
}
.plan-cta--primary {
  background: var(--orange);
  color: var(--carbon);
}
.plan-cta--primary:hover {
  background: var(--orange-deep);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(255,140,0,.3);
}
.plan-cta--outline {
  background: transparent;
  color: var(--orange);
  border: 1.5px solid rgba(255,140,0,.4);
}
.plan-cta--outline:hover {
  background: rgba(255,140,0,.08);
  border-color: var(--orange);
}

/* ════════════════════════════════
   ADD-ONS
════════════════════════════════ */
.sp-addons {
  padding: 0 5% 120px;
  background: var(--carbon);
}
.sp-addons__intro { margin-top: 64px; }
.sp-addons-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.addon-card {
  background: var(--carbon-mid);
  border: 1px solid var(--carbon-border);
  border-radius: 20px;
  padding: 28px 24px;
  display: flex;
  flex-direction: row;
  gap: 20px;
  align-items: flex-start;
  position: relative;
  overflow: hidden;
  transition: transform .3s, border-color .3s, box-shadow .3s;
}
.addon-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255,140,0,.3);
  box-shadow: 0 20px 60px rgba(0,0,0,.4);
}
.addon-icon {
  width: 48px; height: 48px;
  flex-shrink: 0;
  background: rgba(255,140,0,.1);
  border: 1px solid rgba(255,140,0,.2);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  transition: background .3s, border-color .3s;
}
.addon-card:hover .addon-icon {
  background: rgba(255,140,0,.18);
  border-color: rgba(255,140,0,.4);
}
.addon-icon svg { width: 22px; height: 22px; }
.addon-icon--whatsapp {
  background: rgba(37,211,102,.1);
  border-color: rgba(37,211,102,.25);
}
.addon-icon--whatsapp svg { width: 24px; height: 24px; }

.addon-body {
  display: flex;
  flex-direction: column;
  flex: 1;
}
.addon-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 6px;
}
.addon-desc {
  font-size: 13px;
  color: var(--white-muted);
  line-height: 1.55;
  margin-bottom: 14px;
  font-weight: 300;
}
.addon-langs {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 14px;
}
.addon-lang-pill {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: var(--white-muted);
  background: var(--carbon-surface);
  border: 1px solid var(--carbon-border);
  border-radius: 20px;
  padding: 3px 10px;
}
.addon-lang-pill .flag { font-size: 13px; line-height: 1; }

.addon-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--carbon-border);
}
.addon-price {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 24px;
  color: var(--orange);
  line-height: 1;
}
.addon-price--small {
  font-family: 'Outfit', sans-serif;
  font-size: 17px;
  padding-top: 3px;
  font-weight: 600;
}
.addon-price-alt {
  font-size: 16px;
  color: var(--steel-light);
  font-family: 'Bebas Neue', sans-serif;
}
.addon-price-note {
  font-size: 11px;
  color: var(--steel);
  margin-top: 2px;
}

.addon-cta {
  white-space: nowrap;
  text-align: center;
  padding: 9px 18px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  flex-shrink: 0;
  transition: background .2s, border-color .2s, color .2s;
  background: transparent;
  color: var(--orange);
  border: 1.5px solid rgba(255,140,0,.4);
  font-family: 'Outfit', sans-serif;
  cursor: pointer;
}
.addon-cta:hover {
  background: rgba(255,140,0,.08);
  border-color: var(--orange);
}
.addon-cta--consult {
  color: var(--steel-light);
  border-color: var(--carbon-border);
}
.addon-cta--consult:hover {
  color: var(--orange);
  border-color: rgba(255,140,0,.4);
}

.addon-badge {
  position: absolute; top: 16px; right: 16px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 20px;
  background: rgba(255,140,0,.1);
  color: var(--orange);
  border: 1px solid rgba(255,140,0,.2);
  font-family: 'Space Mono', monospace;
}
.addon-badge--dual {
  background: rgba(107,122,144,.12);
  color: var(--steel-light);
  border-color: rgba(107,122,144,.2);
}
.addon-badge--all {
  background: rgba(255,255,255,.05);
  color: var(--white-muted);
  border-color: var(--carbon-border);
}

/* ── Footer global de pricing ── */
.sp-pricing-footer {
  margin-top: 56px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.sp-pricing-note {
  font-size: 13px;
  color: var(--steel);
  font-family: 'Space Mono', monospace;
}
.sp-pricing-note a {
  color: var(--orange);
  text-decoration: none;
}
.sp-pricing-note a:hover { text-decoration: underline; }
.sp-pricing-iva {
  font-size: 11px;
  color: var(--steel);
  letter-spacing: .04em;
  font-family: 'Space Mono', monospace;
  opacity: .7;
}

/* ════════════════════════════════
   REVEAL ANIMATION
════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .sp-panel { animation: none; }
}

/* ════════════════════════════════
   RESPONSIVE
════════════════════════════════ */
@media (max-width: 1100px) {
  .sp-pricing-grid { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; }
  .sp-addons-grid  { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .sp-addons-grid  { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; }
  .addon-card      { flex-direction: column; }
  .sp-hero         { padding: 130px 20px 40px; }
}
@media (max-width: 600px) {
  .sp-pricing { padding: 40px 5% 40px; }
  .sp-addons  { padding: 0 5% 80px; }
  .sp-toggle  { flex-wrap: wrap; gap: 10px; }
  .sp-switcher__tab { padding: 14px 10px; }
  .sp-switcher__label { font-size: 18px; }
  .sp-switcher__sub { font-size: 10px; }
}
