/* Landing pública — alineado a marketplace-modern + detalles-modern */

.landing-page {
  font-family: 'Inter', sans-serif;
}

.landing-main {
  padding-bottom: 2rem;
}

.landing-shell {
  max-width: 980px;
}

.landing-header-actions .landing-btn-outline {
  border-color: var(--mp-border);
  color: var(--mp-text);
  font-weight: 700;
  font-size: 0.88rem;
  padding: 0.45rem 1rem;
}

.landing-header-actions .landing-btn-outline:hover {
  border-color: rgba(123, 47, 190, 0.35);
  background: #f7efff;
  color: var(--mp-purple-dark);
}

.landing-hero {
  margin-bottom: 2rem;
}

.landing-hero-card {
  text-align: left;
}

.landing-hero-title {
  font-size: clamp(1.35rem, 3.5vw, 1.85rem);
  line-height: 1.2;
}

.landing-hero-lead {
  max-width: 36rem;
}

.landing-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1rem;
}

.landing-cta-primary {
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.landing-cta-secondary {
  font-weight: 700;
  font-size: 0.88rem;
  border-color: var(--mp-border) !important;
  color: var(--mp-text) !important;
}

.landing-cta-secondary:hover {
  background: #f7efff !important;
  border-color: rgba(123, 47, 190, 0.35) !important;
  color: var(--mp-purple-dark) !important;
}

.landing-section {
  margin-bottom: 2.25rem;
}

.landing-section-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--mp-text);
  margin: 0 0 0.35rem;
}

.landing-section-subtitle {
  font-size: 0.92rem;
  color: var(--mp-text-muted);
  margin: 0 0 1.1rem;
  max-width: 40rem;
}

.landing-rubro-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

@media (max-width: 991px) {
  .landing-rubro-grid {
    grid-template-columns: 1fr;
  }
}

.landing-rubro-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  text-decoration: none;
  background: #fff;
  border: 1px solid var(--mp-border);
  border-radius: var(--mp-radius-lg);
  padding: 1.1rem 1.15rem;
  box-shadow: var(--mp-shadow-soft);
  color: var(--mp-text);
  height: 100%;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.landing-rubro-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(100, 60, 150, 0.12);
  border-color: rgba(123, 47, 190, 0.28);
  color: var(--mp-text);
}

.landing-rubro-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: linear-gradient(135deg, #f7efff 0%, #efe1ff 100%);
  border: 1px solid var(--mp-border);
  color: var(--mp-purple-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 0.65rem;
}

.landing-rubro-name {
  font-size: 1.05rem;
  font-weight: 800;
  margin: 0 0 0.35rem;
  color: var(--mp-text);
}

.landing-rubro-desc {
  font-size: 0.88rem;
  color: var(--mp-text-muted);
  line-height: 1.45;
  margin: 0 0 0.75rem;
  flex: 1;
}

.landing-rubro-link {
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--mp-purple);
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
}

.landing-rubro-card:hover .landing-rubro-link {
  color: var(--mp-purple-dark);
}

.landing-features {
  padding: 1.35rem 1.25rem;
  margin-bottom: 1.5rem;
}

.landing-feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  padding: 0.45rem 0;
  font-size: 0.95rem;
  color: var(--mp-text);
  border-bottom: 1px solid rgba(123, 47, 190, 0.08);
}

.landing-feature-list li:last-child {
  border-bottom: 0;
}

.landing-features-img {
  border-radius: var(--mp-radius-lg);
  border: 1px solid var(--mp-border);
  box-shadow: var(--mp-shadow-soft);
}

.landing-cta {
  padding: 1.75rem 1.25rem;
  margin-bottom: 2rem;
  background: linear-gradient(180deg, #fff 0%, #faf7ff 100%);
}

.landing-cta-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--mp-text);
}

.landing-cta-text {
  color: var(--mp-text-muted);
  font-size: 0.92rem;
  max-width: 28rem;
  margin-left: auto;
  margin-right: auto;
}

.landing-cta .btn-purple {
  text-decoration: none !important;
}

.landing-legal a {
  color: var(--mp-purple);
  font-weight: 600;
  text-decoration: none;
}

.landing-legal a:hover {
  text-decoration: underline;
  color: var(--mp-purple-dark);
}

.landing-footer {
  margin-top: 1rem;
}

.landing-header-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.45rem;
}

.landing-header-actions .btn-purple,
.landing-header-actions .landing-btn-outline {
  text-decoration: none;
  white-space: nowrap;
}

.landing-stage {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(260px, 0.95fr);
  gap: 16px;
  margin-bottom: 2.25rem;
}

.landing-switch {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 1rem;
}

.landing-switch button {
  border: 1px solid var(--mp-border);
  background: #fff;
  color: var(--mp-text);
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.86rem;
  padding: 0.45rem 0.9rem;
}

.landing-switch button.is-active {
  background: #f7efff;
  border-color: rgba(123, 47, 190, 0.4);
  color: var(--mp-purple-dark);
}

.landing-mode-copy h2 {
  font-size: 1.2rem;
  font-weight: 800;
  margin: 0 0 0.4rem;
}

.landing-mode-copy p {
  color: var(--mp-text-muted);
  margin: 0 0 0.9rem;
}

.landing-mode-points {
  list-style: none;
  margin: 0;
  padding: 0;
}

.landing-mode-points li {
  display: flex;
  gap: 0.45rem;
  align-items: flex-start;
  padding: 0.35rem 0;
  font-size: 0.92rem;
}

.landing-mode-points i {
  color: var(--mp-purple);
  margin-top: 0.1rem;
}

.landing-preview {
  background: #fff;
  border: 1px solid var(--mp-border);
  border-radius: var(--mp-radius-lg);
  box-shadow: var(--mp-shadow-soft);
  padding: 0.9rem;
  min-height: 280px;
}

.landing-preview-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 0.75rem;
}

.landing-preview-kicker {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--mp-text-muted);
}

.landing-preview-badge {
  background: #f7efff;
  color: var(--mp-purple-dark);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.2rem 0.55rem;
}

.landing-preview-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 0.7rem 0.15rem;
  border-top: 1px solid rgba(123, 47, 190, 0.1);
  font-size: 0.92rem;
}

.landing-preview-row strong {
  font-weight: 700;
}

.landing-preview-row span {
  color: var(--mp-text-muted);
  font-size: 0.82rem;
}

.landing-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.landing-feature-btn {
  text-align: left;
  background: #fff;
  border: 1px solid var(--mp-border);
  border-radius: 16px;
  padding: 0.9rem 0.95rem;
  color: var(--mp-text);
  box-shadow: var(--mp-shadow-soft);
}

.landing-feature-btn i {
  display: block;
  color: var(--mp-purple-dark);
  font-size: 1.2rem;
  margin-bottom: 0.35rem;
}

.landing-feature-btn strong {
  display: block;
  font-size: 0.92rem;
}

.landing-feature-btn.is-active {
  border-color: rgba(123, 47, 190, 0.45);
  background: linear-gradient(180deg, #fff 0%, #faf7ff 100%);
}

.landing-feature-detail {
  margin-top: 12px;
  padding: 1rem 1.05rem;
  border-radius: var(--mp-radius-lg);
  border: 1px solid var(--mp-border);
  background: #fff;
  color: var(--mp-text);
  min-height: 4.5rem;
}

.landing-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 2rem;
}

.landing-step {
  background: #fff;
  border: 1px solid var(--mp-border);
  border-radius: 16px;
  padding: 0.95rem;
}

.landing-step b {
  display: inline-flex;
  width: 1.7rem;
  height: 1.7rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #f7efff;
  color: var(--mp-purple-dark);
  margin-bottom: 0.4rem;
}

.landing-client-link {
  display: inline-flex;
  margin-top: 0.85rem;
  color: var(--mp-purple-dark);
  font-weight: 700;
  text-decoration: none;
}

.landing-client-link:hover {
  text-decoration: underline;
}

@media (max-width: 991px) {
  .landing-stage,
  .landing-feature-grid,
  .landing-steps {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 991px) {
  .landing-page {
    overflow-x: clip;
  }

  .landing-page .header {
    height: auto;
  }

  .landing-page #header .container {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 0.55rem 0.75rem;
    padding-top: 0.65rem;
    padding-bottom: 0.7rem;
  }

  .landing-page .header .logo {
    margin-right: auto !important;
  }

  .landing-page .header .logo img {
    max-height: 46px;
    width: auto;
  }

  .landing-site-nav {
    margin-left: 0;
  }

  .landing-header-actions {
    width: 100%;
  }

  .landing-header-actions .btn-purple,
  .landing-header-actions .landing-btn-outline,
  .landing-hero-actions .landing-cta-primary,
  .landing-hero-actions .landing-cta-secondary,
  .landing-plan .landing-cta-primary,
  .landing-plan .landing-cta-secondary {
    min-width: 0;
    white-space: normal;
    line-height: 1.25;
  }
}

.landing-site-nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-left: 1rem;
}

.landing-site-nav a {
  color: var(--mp-text-muted);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
}

.landing-site-nav a.is-active,
.landing-site-nav a:hover {
  color: var(--mp-purple-dark);
  background: #f7efff;
}

.landing-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(240px, 0.85fr);
  gap: 16px;
  align-items: stretch;
}

.landing-promises {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.9rem;
  margin: 0.9rem 0 0;
  padding: 0;
}

.landing-promises li {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--mp-text);
}

.landing-promises i {
  color: var(--mp-purple);
}

.landing-live-card {
  background: #fff;
  border: 1px solid var(--mp-border);
  border-radius: var(--mp-radius-lg);
  box-shadow: var(--mp-shadow-soft);
  padding: 0.95rem 1rem;
  min-height: 220px;
}

.landing-preview-row.is-entering {
  animation: landingRowIn 0.35s ease;
}

@keyframes landingRowIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}

#producto,
#precios {
  scroll-margin-top: 96px;
}

.landing-type-grid,
.landing-plans {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.landing-type-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.landing-type-card {
  text-align: left;
  background: #fff;
  border: 1px solid var(--mp-border);
  border-radius: 16px;
  padding: 0.95rem;
  color: var(--mp-text);
  box-shadow: var(--mp-shadow-soft);
}

.landing-type-card i {
  display: block;
  color: var(--mp-purple-dark);
  font-size: 1.25rem;
  margin-bottom: 0.4rem;
}

.landing-type-card strong {
  display: block;
  margin-bottom: 0.2rem;
}

.landing-type-card span {
  display: block;
  color: var(--mp-text-muted);
  font-size: 0.86rem;
}

.landing-type-card.is-active {
  border-color: rgba(123, 47, 190, 0.45);
  background: linear-gradient(180deg, #fff 0%, #faf7ff 100%);
}

.landing-plan {
  background: #fff;
  border: 1px solid var(--mp-border);
  border-radius: var(--mp-radius-lg);
  box-shadow: var(--mp-shadow-soft);
  padding: 1.15rem 1.1rem 1.2rem;
  display: flex;
  flex-direction: column;
}

.landing-plan.is-featured {
  border-color: rgba(123, 47, 190, 0.45);
  background: linear-gradient(180deg, #fff 0%, #faf7ff 100%);
}

.landing-plan-tag {
  align-self: flex-start;
  background: #f7efff;
  color: var(--mp-purple-dark);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.2rem 0.55rem;
}

.landing-plan h3 {
  margin: 0.7rem 0 0.2rem;
  font-size: 1.15rem;
  font-weight: 800;
}

.landing-plan-price {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  margin: 0 0 0.8rem;
}

.landing-plan-price strong {
  font-size: 1.8rem;
  line-height: 1;
}

.landing-plan-price span {
  color: var(--mp-text-muted);
  font-size: 0.88rem;
}

.landing-plan ul {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  flex: 1;
}

.landing-plan li {
  display: flex;
  gap: 0.4rem;
  align-items: flex-start;
  padding: 0.32rem 0;
  font-size: 0.9rem;
}

.landing-plan li i {
  color: var(--mp-purple);
}

.landing-plan .landing-cta-primary,
.landing-plan .landing-cta-secondary {
  text-align: center;
  justify-content: center;
}

.landing-faq {
  margin-top: 1.25rem;
  background: #fff;
  border: 1px solid var(--mp-border);
  border-radius: var(--mp-radius-lg);
  padding: 0.4rem 1rem 0.2rem;
}

.landing-faq h3 {
  font-size: 1rem;
  font-weight: 800;
  margin: 0.7rem 0 0.35rem;
}

.landing-faq details {
  border-top: 1px solid rgba(123, 47, 190, 0.1);
  padding: 0.7rem 0;
}

.landing-faq summary {
  cursor: pointer;
  font-weight: 700;
}

.landing-faq p {
  margin: 0.45rem 0 0;
  color: var(--mp-text-muted);
  font-size: 0.9rem;
}

@media (max-width: 991px) {
  .landing-hero-grid,
  .landing-type-grid,
  .landing-plans {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .landing-page,
  .landing-page .header,
  .landing-page #header .container {
    max-width: 100%;
    overflow-x: hidden;
  }

  .landing-page #header .container {
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    row-gap: 0.45rem;
  }

  .landing-hero .landing-live-card {
    display: none;
  }

  .landing-page .header .logo {
    width: auto;
    margin-right: 0 !important;
    margin-left: 0 !important;
  }

  .landing-site-nav {
    order: 0;
    width: 100% !important;
    margin: 0 !important;
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 0.4rem;
  }

  .landing-site-nav a {
    text-align: center;
    padding: 0.45rem 0.4rem;
  }

  .landing-header-actions {
    order: 3;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.4rem;
  }

  .landing-header-actions .btn-purple,
  .landing-header-actions .landing-btn-outline {
    width: 100%;
    text-align: center;
    justify-content: center;
    font-size: 0.86rem;
    padding: 0.6rem 0.8rem;
  }

  .landing-hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .landing-hero-actions .landing-cta-primary,
  .landing-hero-actions .landing-cta-secondary {
    width: 100%;
  }

  .landing-promises {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
  }

  .landing-switch {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
  }

  .landing-switch button {
    padding: 0.45rem 0.3rem;
    font-size: 0.78rem;
  }

  .landing-preview-row {
    align-items: flex-start;
  }

  .landing-preview-row strong {
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .landing-plan .landing-cta-primary,
  .landing-plan .landing-cta-secondary {
    width: 100%;
  }

  #producto,
  #precios {
    scroll-margin-top: 168px;
  }
}

@media (max-width: 767px) {
  .landing-stage,
  .landing-feature-grid,
  .landing-steps,
  .landing-hero-grid,
  .landing-type-grid,
  .landing-plans {
    grid-template-columns: 1fr !important;
  }

  .landing-switch {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    width: 100% !important;
  }

  .landing-switch button {
    width: 100%;
    min-width: 0;
    padding: 0.5rem 0.2rem !important;
    font-size: 0.75rem !important;
    white-space: normal;
  }
}

@media (max-width: 767px) {
  body.landing-page #header > .container {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  body.landing-page nav.landing-site-nav {
    display: table !important;
    table-layout: fixed !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    border-spacing: 8px 0 !important;
  }

  body.landing-page nav.landing-site-nav > a {
    display: table-cell !important;
    width: 50% !important;
    text-align: center !important;
    vertical-align: middle !important;
    box-sizing: border-box !important;
  }

  body.landing-page .landing-switch {
    display: table !important;
    table-layout: fixed !important;
    width: 100% !important;
    max-width: 100% !important;
    border-spacing: 8px 0 !important;
  }

  body.landing-page .landing-switch > button {
    display: table-cell !important;
    width: 33.33% !important;
    box-sizing: border-box !important;
    padding: 8px 4px !important;
    font-size: 12px !important;
    white-space: normal !important;
  }
}
