:root {
  --background: #10121a;
  --surface: #181c28;
  --border: #353b50;
  --text: #f5f5fc;
  --muted: #bfc5d7;
  --accent: #bbff7a;
  --lavender: #c9bdff;
  --radius: 1.25rem;
}

html {
  scroll-behavior: smooth;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: system-ui, sans-serif;
  line-height: 1.6;
}

body.has-open-plan-dialog {
  overflow: hidden;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 5px;
}

.container {
  width: min(70rem, calc(100% - 2.5rem));
  margin-inline: auto;
}

.site-header {
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  padding-block: 1.25rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  font-size: 1.2rem;
  font-weight: 850;
  letter-spacing: -.04em;
  text-decoration: none;
}

.header-brand {
  flex: 0 0 auto;
  max-width: 100%;
  padding: .45rem .65rem;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: .85rem;
  background: rgba(255, 255, 255, .04);
  line-height: 0;
  transition: background-color .2s ease, border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.header-brand:hover {
  background: rgba(255, 255, 255, .07);
  border-color: var(--lavender);
  box-shadow: 0 .65rem 1.8rem rgba(0, 0, 0, .25);
  transform: translateY(-2px);
}

.brand-logo {
  display: block;
  width: clamp(11rem, 20vw, 14.5rem);
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem 1.35rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

nav a {
  color: var(--muted);
  font-size: .95rem;
  text-decoration: none;
}

nav a:hover {
  color: var(--accent);
}

.hero {
  padding-block: clamp(4rem, 10vw, 8rem);
  background: radial-gradient(ellipse at 82% 30%, #342658, transparent 55%), linear-gradient(150deg, #171b28, var(--background) 65%);
}

.eyebrow {
  margin: 0 0 .8rem;
  color: var(--accent);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}

h1, h2, h3 {
  margin: 0;
  line-height: 1.12;
  letter-spacing: -.045em;
}

h1 {
  max-width: 15ch;
  font-size: clamp(2.6rem, 7vw, 5.6rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.3rem);
}

h3 {
  font-size: 1.55rem;
}

.hero p:not(.eyebrow), .section-intro {
  max-width: 60ch;
  color: var(--muted);
}

.hero p:not(.eyebrow) {
  font-size: 1.15rem;
}

.button {
  display: inline-block;
  margin-top: .75rem;
  padding: .75rem 1.2rem;
  border-radius: .65rem;
  background: var(--accent);
  color: #141d0b;
  font-weight: 800;
  text-decoration: none;
}

.button:hover {
  background: #d2ffa6;
}

.button-secondary {
  border: 1px solid rgba(187, 255, 122, .55);
  background: rgba(187, 255, 122, .08);
  color: var(--accent);
}

.button-secondary:hover {
  background: rgba(187, 255, 122, .16);
}

.section {
  padding-block: clamp(3rem, 7vw, 5rem);
  scroll-margin-top: 1rem;
}

.process-section {
  overflow: hidden;
  border-block: 1px solid var(--border);
  background:
    radial-gradient(circle at 8% 12%, rgba(187, 255, 122, .08), transparent 28rem),
    radial-gradient(circle at 92% 82%, rgba(201, 189, 255, .1), transparent 30rem),
    #131620;
}

.process-invite-layout {
  display: grid;
  gap: 2rem;
}

.process-invite-copy .section-intro {
  margin: 1rem 0 0;
}

.process-invite-button {
  margin-top: 1.25rem;
}

.process-invite-preview {
  padding: clamp(1.25rem, 4vw, 2rem);
  border: 1px solid rgba(201, 189, 255, .4);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at top right, rgba(201, 189, 255, .12), transparent 52%),
    rgba(24, 28, 40, .9);
  box-shadow: 0 1rem 2.5rem rgba(0, 0, 0, .2);
}

.process-invite-label {
  margin: 0 0 1rem;
  color: var(--lavender);
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.process-invite-list {
  display: grid;
  gap: .75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-invite-list li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: .9rem;
  padding: .85rem;
  border: 1px solid var(--border);
  border-radius: .85rem;
  background: rgba(16, 18, 26, .55);
}

.process-invite-list li > span {
  display: grid;
  width: 2.35rem;
  height: 2.35rem;
  place-items: center;
  border: 1px solid rgba(187, 255, 122, .35);
  border-radius: .65rem;
  color: var(--accent);
  font-size: .72rem;
  font-weight: 850;
}

.process-invite-list strong,
.process-invite-list small {
  display: block;
}

.process-invite-list strong {
  line-height: 1.35;
}

.process-invite-list small {
  margin-top: .15rem;
  color: var(--muted);
  font-size: .85rem;
  line-height: 1.45;
}

@media (min-width: 48rem) {
  .process-invite-layout {
    grid-template-columns: minmax(0, 1fr) minmax(22rem, .85fr);
    align-items: center;
    gap: clamp(2rem, 6vw, 5rem);
  }
}

.process-heading {
  display: grid;
  gap: 1rem;
}

.process-heading .section-intro {
  margin: 0;
}

.process-heading-side {
  display: grid;
  justify-items: start;
  gap: 1rem;
}

.process-page-link {
  margin-top: 0;
  text-align: center;
}

.process-tabs {
  margin-top: 2rem;
}

.process-tablist {
  display: flex;
  gap: .55rem;
  overflow-x: auto;
  padding: .35rem;
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: rgba(16, 18, 26, .7);
  scrollbar-width: thin;
}

.process-tab {
  flex: 1 0 max-content;
  min-height: 2.8rem;
  padding: .65rem 1rem;
  border: 1px solid transparent;
  border-radius: .7rem;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: .9rem;
  font-weight: 750;
  cursor: pointer;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}

.process-tab:hover {
  color: var(--text);
}

.process-tab.is-active {
  border-color: rgba(187, 255, 122, .4);
  background: rgba(187, 255, 122, .12);
  color: var(--accent);
}

.process-panel {
  margin-top: 1rem;
}

.process-panel[hidden] {
  display: none;
}

.process-grid {
  display: grid;
  gap: .85rem;
}

.process-card {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  align-content: start;
  min-width: 0;
  padding: 1.25rem;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: linear-gradient(150deg, rgba(255, 255, 255, .035), transparent 62%), var(--surface);
  box-shadow: 0 .8rem 2rem rgba(0, 0, 0, .13);
}

.process-card-visual {
  margin: -1.25rem -1.25rem 1rem;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  background: #10121a;
}

.process-card-visual img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.process-step {
  display: inline-grid;
  width: 2.35rem;
  height: 2.35rem;
  margin-bottom: 1rem;
  place-items: center;
  border: 1px solid rgba(201, 189, 255, .45);
  border-radius: .7rem;
  background: rgba(201, 189, 255, .09);
  color: var(--lavender);
  font-size: .75rem;
  font-weight: 850;
  letter-spacing: .08em;
}

.process-card h3 {
  font-size: 1.15rem;
  letter-spacing: -.025em;
}

.process-card p {
  margin: .55rem 0 0;
  color: var(--muted);
  font-size: .95rem;
  line-height: 1.55;
}

@media (min-width: 42rem) {
  .process-heading {
    grid-template-columns: minmax(0, 1fr) minmax(18rem, .8fr);
    align-items: end;
    gap: 2rem;
  }

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

  .process-card {
    grid-template-columns: minmax(7rem, .42fr) minmax(0, 1fr);
    column-gap: 1rem;
    align-items: center;
  }

  .process-card-visual {
    grid-column: 1;
    grid-row: 1 / span 3;
    margin: -1.25rem 0 -1.25rem -1.25rem;
    border-right: 1px solid var(--border);
    border-bottom: 0;
  }

  .process-card-visual img {
    height: 100%;
    min-height: 10.5rem;
    aspect-ratio: auto;
  }

  .process-step,
  .process-card h3,
  .process-card p {
    grid-column: 2;
  }
}

@media (min-width: 68rem) {
  .process-card {
    min-height: 12.5rem;
  }
}

.process-page-hero {
  padding-block: clamp(3.5rem, 9vw, 7rem);
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(ellipse at 78% 24%, rgba(201, 189, 255, .2), transparent 48%),
    linear-gradient(150deg, #171b28, var(--background) 68%);
}

.process-page-hero h1 {
  max-width: 13ch;
}

.process-page-hero .section-intro {
  margin: 1.25rem 0 0;
  font-size: 1.1rem;
}

.process-page-content {
  border-top: 0;
}

.process-page-footer {
  padding-block: 1.5rem;
  border-top: 1px solid var(--border);
  color: var(--muted);
}

.process-page-footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .75rem 1.5rem;
}

.process-page-footer a {
  color: var(--accent);
  font-weight: 750;
  text-decoration: none;
}

.process-page-footer a:hover {
  text-decoration: underline;
}

.plan-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.card {
  padding: clamp(1.25rem, 4vw, 2.25rem);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.plan-card {
  position: relative;
  border-color: var(--accent);
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.plan-card:hover,
.plan-card:focus-visible {
  border-color: var(--accent);
  box-shadow: 0 1.25rem 3rem rgba(187, 255, 122, .3);
  transform: translateY(-.35rem);
  cursor: pointer;
}

.card-pro {
  position: relative;
  border-color: var(--lavender);
}

.card-pro:hover,
.card-pro:focus-visible {
  border-color: var(--lavender);
  box-shadow: 0 1.25rem 3rem rgba(201, 189, 255, .3);
  transform: translateY(-.35rem);
  cursor: pointer;
}

.plan-card-action {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  margin-top: 1.25rem;
  padding: .55rem .85rem;
  border: 1px solid rgba(187, 255, 122, .45);
  border-radius: .65rem;
  color: var(--accent);
  font-size: .9rem;
  font-weight: 800;
}

.card-pro .plan-card-action {
  border-color: rgba(201, 189, 255, .55);
  color: var(--lavender);
}

.plan-dialog {
  width: min(50rem, calc(100% - 2rem));
  max-height: calc(100dvh - 2rem);
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(187, 255, 122, .55);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
  box-shadow: 0 2rem 6rem rgba(0, 0, 0, .65);
}

.plan-dialog-pro {
  border-color: rgba(201, 189, 255, .65);
}

.plan-dialog::backdrop {
  background: rgba(5, 7, 13, .84);
  backdrop-filter: blur(4px);
}

.plan-dialog-content {
  max-height: calc(100dvh - 2rem);
  padding: clamp(1.25rem, 4vw, 2rem);
  overflow-y: auto;
  overscroll-behavior: contain;
}

.plan-dialog-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.plan-dialog-header .eyebrow {
  margin-bottom: .45rem;
}

.plan-dialog-pro .eyebrow {
  color: var(--lavender);
}

.plan-dialog-header h2 {
  font-size: clamp(2rem, 5vw, 3rem);
}

.plan-dialog-header form,
.plan-dialog-actions form {
  margin: 0;
}

.plan-dialog-close {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: transparent;
  color: var(--text);
  font: 400 1.65rem/1 system-ui, sans-serif;
  cursor: pointer;
}

.plan-dialog-close:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.plan-dialog-pro .plan-dialog-close:hover {
  border-color: var(--lavender);
  color: var(--lavender);
}

.plan-dialog-price {
  margin-top: 1.5rem;
  padding: 1rem 1.25rem;
  border: 1px solid rgba(187, 255, 122, .28);
  border-radius: 1rem;
  background: rgba(187, 255, 122, .06);
}

.plan-dialog-pro .plan-dialog-price {
  border-color: rgba(201, 189, 255, .32);
  background: rgba(201, 189, 255, .07);
}

.plan-dialog-price .price {
  margin: 0;
}

.plan-dialog-price > p:last-child {
  margin: .55rem 0 0;
  color: var(--muted);
}

.plan-dialog-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.plan-dialog-grid section,
.plan-dialog-includes {
  padding: 1rem 1.15rem;
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: rgba(255, 255, 255, .025);
}

.plan-dialog-grid h3,
.plan-dialog-includes h3 {
  font-size: 1.05rem;
  letter-spacing: -.02em;
}

.plan-dialog-grid p {
  margin: .5rem 0 0;
  color: var(--muted);
}

.plan-dialog-includes {
  margin-top: 1rem;
}

.plan-dialog-includes ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .65rem 1.5rem;
  margin: .9rem 0 0;
  padding: 0;
  list-style: none;
}

.plan-dialog-includes li {
  position: relative;
  padding-left: 1.35rem;
  color: var(--muted);
}

.plan-dialog-includes li::before {
  position: absolute;
  top: 0;
  left: 0;
  color: var(--accent);
  content: "✓";
  font-weight: 900;
}

.plan-dialog-pro .plan-dialog-includes li::before {
  color: var(--lavender);
}

.plan-dialog-note {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: .9rem;
}

.plan-dialog-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1.5rem;
}

.plan-dialog-actions .button {
  min-height: 3rem;
  margin: 0;
  border: 0;
  font: 800 .95rem/1.3 system-ui, sans-serif;
  cursor: pointer;
}

.plan-dialog-actions .button-secondary {
  border: 1px solid rgba(187, 255, 122, .55);
}

.plan-dialog-pro .plan-dialog-actions > .button {
  background: var(--lavender);
  color: #181426;
}

.plan-dialog-pro .plan-dialog-actions > .button:hover {
  background: #ded6ff;
}

@media (max-width: 38rem) {
  .plan-dialog-grid,
  .plan-dialog-includes ul {
    grid-template-columns: 1fr;
  }

  .plan-dialog-actions,
  .plan-dialog-actions form,
  .plan-dialog-actions .button {
    width: 100%;
  }

  .plan-dialog-actions .button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
  }
}

.card-pro .eyebrow {
  color: var(--lavender);
}

.plan-recommendation {
  display: inline-block;
  margin-bottom: 1rem;
  padding: .3rem .65rem;
  border: 1px solid rgba(201, 189, 255, .55);
  border-radius: 999px;
  background: rgba(201, 189, 255, .12);
  color: var(--lavender);
  font-size: .72rem;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.price {
  margin: 1rem 0;
  color: var(--text);
  font-size: clamp(1.65rem, 4vw, 2.45rem);
  font-weight: 850;
  line-height: 1.2;
  letter-spacing: -.04em;
}

.price small {
  color: var(--muted);
  font-size: .9rem;
  font-weight: 500;
  letter-spacing: normal;
}


/* Ofertas — encabezado y distribución */
.offers-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(27rem, .85fr);
  align-items: center;
  gap: 2rem 3rem;
  width: 100%;
  margin-bottom: 2rem;
}

.offers-heading > div:first-child {
  max-width: 42rem;
}

.offers-heading .section-intro {
  margin-bottom: 0;
}

@media (max-width: 52rem) {
  .offers-heading {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .offers-heading > div:first-child {
    max-width: 48rem;
  }

  .offers-heading .offer-countdown {
    max-width: none;
    justify-self: stretch;
  }
}

.offers-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  align-items: stretch;
}

/* Tarjetas — acento propio para cada propuesta */
.offer-card {
  --offer-accent: var(--accent);
  display: flex;
  flex-direction: column;
  min-width: 0;
  border-top: 3px solid var(--offer-accent);
  background:
    radial-gradient(ellipse at top right, #bbff7a14, transparent 60%),
    var(--surface);
  box-shadow: 0 1rem 2.5rem #00000026;
}

.offer-card-launch {
  --offer-accent: var(--lavender);
  background:
    radial-gradient(ellipse at top right, #c9bdff24, transparent 60%),
    var(--surface);
}

.offer-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .75rem;
  margin-bottom: 1.25rem;
}

.offer-topline .eyebrow {
  margin: 0;
  color: var(--offer-accent);
}

.offer-badge {
  padding: .35rem .65rem;
  border: 1px solid var(--offer-accent);
  border-radius: 2rem;
  color: var(--offer-accent);
  font-size: .75rem;
  font-weight: 750;
}

.offer-card h3 {
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  line-height: 1.2;
  text-wrap: balance;
}

/* Precio y resumen */
.offer-pricing {
  margin-top: 1.5rem;
  padding-block: 1rem;
  border-block: 1px solid var(--border);
}

.offer-card .offer-reference {
  margin: 0;
  color: var(--muted);
  font-size: .85rem;
}

.offer-reference s {
  display: inline-block;
  margin-left: .25rem;
}

.offer-card .price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: .35rem .6rem;
  margin: .5rem 0 0;
  color: var(--offer-accent);
}

/* Cuenta regresiva de la oferta principal */
.offer-countdown {
  --offer-accent: var(--accent);
  width: 100%;
  max-width: 32rem;
  min-width: 0;
  margin: 0;
  padding: 1rem;
  border: 1px solid var(--border);
  border: 1px solid color-mix(in srgb, var(--offer-accent) 42%, var(--border));
  border-radius: 1rem;
  background: var(--surface);
  background: color-mix(in srgb, var(--offer-accent) 7%, var(--surface));
  justify-self: end;
}

.offer-countdown-heading {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: .5rem 1rem;
  margin-bottom: .8rem;
}

.offer-countdown .offer-countdown-kicker {
  margin: 0;
  color: var(--text);
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.offer-countdown time {
  color: var(--muted);
  font-size: .75rem;
  white-space: nowrap;
}

.offer-countdown-units {
  display: grid;
  grid-template-columns: minmax(2.7rem, 1fr) auto minmax(2.7rem, 1fr) auto minmax(2.7rem, 1fr) auto minmax(2.7rem, 1fr);
  align-items: start;
  gap: .3rem;
}

.offer-countdown-unit {
  display: grid;
  justify-items: center;
  gap: .2rem;
}

.offer-countdown-unit strong {
  font-size: clamp(1.4rem, 4vw, 2rem);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.offer-countdown-unit small {
  color: var(--muted);
  font-size: .67rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.offer-countdown-separator {
  color: var(--offer-accent);
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1;
}

.offer-countdown.is-expired .offer-countdown-heading {
  margin: 0;
}

.offer-countdown.is-expired .offer-countdown-kicker {
  color: var(--muted);
}

.offer-countdown.is-expired time,
.offer-countdown.is-expired .offer-countdown-units {
  display: none;
}

.offer-countdown + .offer-description {
  margin-top: 0;
}

.offer-description {
  margin: 1.25rem 0;
}

/* Beneficios — título y detalle por cada ítem */
.offer-features {
  display: grid;
  gap: 1rem;
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
}

.offer-features li {
  position: relative;
  padding-left: 2rem;
}

.offer-features li::before {
  content: "✓";
  position: absolute;
  top: .1rem;
  left: 0;
  display: grid;
  place-items: center;
  width: 1.35rem;
  height: 1.35rem;
  border: 1px solid var(--offer-accent);
  border-radius: 50%;
  color: var(--offer-accent);
  font-size: .75rem;
}

.offer-features strong,
.offer-features span {
  display: block;
}

.offer-features strong {
  color: var(--text);
  font-size: .95rem;
}

.offer-features span {
  margin-top: .15rem;
  font-size: .88rem;
  line-height: 1.5;
}

.offer-card .offer-note {
  margin: auto 0 0;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: .78rem;
}

@media (max-width: 50rem) {
  .offers-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 26rem) {
  .offer-countdown-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .offer-countdown-units {
    gap: .15rem;
  }
}

.card p:not(.eyebrow):not(.price), .card li, .faq p {
  color: var(--muted);
}

.features {
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
}

.features li {
  position: relative;
  padding: .5rem 0 .5rem 1.4rem;
  border-top: 1px solid var(--border);
}

.features li::before {
  position: absolute;
  left: 0;
  color: var(--accent);
  content: "✓";
}

.addon {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 1rem 2rem;
  margin-top: 1rem;
  border-color: #597444;
  background: linear-gradient(125deg, #202b22, var(--surface) 70%);
}

.addon .features {
  margin-top: 0;
}

.note {
  font-size: .9rem;
}

.plan-comparison {
  margin-top: 2rem;
}

.comparison-heading {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(18rem, 1.2fr);
  align-items: end;
  gap: 1rem 2rem;
  margin-bottom: 1rem;
}

.comparison-heading p:last-child {
  max-width: 58ch;
  margin: 0;
  color: var(--muted);
}

.comparison-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  scrollbar-color: var(--accent) var(--background);
  scrollbar-width: thin;
}

.comparison-table {
  width: 100%;
  min-width: 43rem;
  border-collapse: collapse;
}

.comparison-table th, .comparison-table td {
  padding: .9rem 1rem;
  border-bottom: 1px solid var(--border);
}

.comparison-table thead th {
  background: #202534;
  color: var(--text);
  font-size: .82rem;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.comparison-table thead th:first-child, .comparison-table tbody th {
  width: 54%;
  text-align: left;
}

.comparison-table thead th:not(:first-child), .comparison-table td {
  width: 23%;
  text-align: center;
}

.comparison-table tbody th {
  color: var(--muted);
  font-size: .94rem;
  font-weight: 600;
}

.comparison-table tbody tr:last-child th, .comparison-table tbody tr:last-child td {
  border-bottom: 0;
}

.comparison-table tbody tr:hover {
  background: rgba(255, 255, 255, .025);
}

.comparison-table .pro-column {
  background: rgba(201, 189, 255, .07);
}

.comparison-table thead .pro-column {
  color: var(--lavender);
}

.comparison-table thead .pro-column span {
  display: block;
  margin-top: .2rem;
  font-size: .64rem;
  letter-spacing: .08em;
}

.comparison-status {
  display: inline-grid;
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 50%;
  font-size: 1.05rem;
  font-weight: 900;
  line-height: 1;
  place-items: center;
}

.comparison-status.included {
  background: rgba(187, 255, 122, .12);
  color: var(--accent);
}

.comparison-status.excluded {
  background: rgba(255, 154, 154, .08);
  color: #ff9a9a;
}

.comparison-detail {
  color: var(--muted);
  font-size: .86rem;
  font-weight: 700;
}

.comparison-detail-pro {
  color: var(--lavender);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  clip-path: inset(50%);
}

.showcase {
  overflow: hidden;
  border-top: 1px solid var(--border);
  background:
    radial-gradient(circle at 85% 10%, rgba(201, 189, 255, .13), transparent 32rem),
    var(--background);
}

.showcase-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2rem;
}

.showcase-heading .section-intro {
  margin-bottom: 0;
}

.carousel-controls {
  display: flex;
  flex: 0 0 auto;
  gap: .65rem;
}

.carousel-button {
  display: grid;
  width: 3rem;
  height: 3rem;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--surface);
  color: var(--text);
  font: inherit;
  font-size: 1.25rem;
  cursor: pointer;
  place-items: center;
  transition: border-color .2s ease, background-color .2s ease, color .2s ease, transform .2s ease;
}

.carousel-button:hover:not(:disabled) {
  border-color: var(--accent);
  background: var(--accent);
  color: #141d0b;
  transform: translateY(-2px);
}

.carousel-button:disabled {
  opacity: .35;
  cursor: not-allowed;
}

.project-carousel {
  position: relative;
}

.project-track {
  display: grid;
  grid-auto-columns: clamp(18rem, 38vw, 25rem);
  grid-auto-flow: column;
  gap: 1rem;
  overflow-x: auto;
  padding: .25rem .25rem 1.25rem;
  scroll-behavior: smooth;
  scroll-padding-inline: .25rem;
  scroll-snap-type: x mandatory;
  scrollbar-color: var(--accent) var(--surface);
  scrollbar-width: thin;
}

.project-track::-webkit-scrollbar {
  height: .5rem;
}

.project-track::-webkit-scrollbar-track {
  border-radius: 999px;
  background: var(--surface);
}

.project-track::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: var(--accent);
}

.project-card {
  display: block;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
  text-decoration: none;
  scroll-snap-align: start;
  transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}

.project-card:hover, .project-card:focus-visible {
  border-color: var(--accent);
  box-shadow: 0 1.25rem 3rem rgba(0, 0, 0, .3);
  transform: translateY(-.35rem);
}

.project-preview {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  background: #292d3d;
}

.project-preview::before {
  position: absolute;
  z-index: 2;
  top: .7rem;
  left: .7rem;
  padding: .3rem .55rem;
  border: 1px solid rgba(255, 255, 255, .5);
  border-radius: 999px;
  background: rgba(16, 18, 26, .82);
  color: #fff;
  content: "Recorrido en vivo";
  font-size: .62rem;
  font-weight: 850;
  letter-spacing: .09em;
  opacity: 0;
  pointer-events: none;
  text-transform: uppercase;
  transform: translateY(-.35rem);
  transition: opacity .2s ease, transform .2s ease;
}

.project-preview::after {
  position: absolute;
  z-index: 3;
  top: 25%;
  left: 18%;
  width: 1.2rem;
  height: 1.55rem;
  background: #fff;
  clip-path: polygon(0 0, 0 86%, 27% 64%, 45% 100%, 61% 91%, 43% 59%, 78% 58%);
  content: "";
  filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .75));
  opacity: 0;
  pointer-events: none;
}

.project-preview iframe {
  position: absolute;
  inset: 0;
  width: 400%;
  height: 600%;
  border: 0;
  filter: saturate(.68) brightness(.7);
  pointer-events: none;
  transform: scale(.25);
  transform-origin: top left;
  transition: filter .25s ease;
}

.project-card:hover .project-preview::before, .project-card:focus-visible .project-preview::before {
  opacity: 1;
  transform: translateY(0);
}

.project-card:hover .project-preview::after, .project-card:focus-visible .project-preview::after {
  animation: preview-pointer-tour 7s ease-in-out infinite alternate;
}

.project-card:hover .project-preview iframe, .project-card:focus-visible .project-preview iframe {
  animation: preview-page-tour 7s ease-in-out infinite alternate;
  filter: saturate(1.08) brightness(1) contrast(1.02);
}

@keyframes preview-page-tour {
  0%, 16% {
    transform: scale(.25) translateY(0);
  }

  45%, 58% {
    transform: scale(.25) translateY(-15%);
  }

  85%, 100% {
    transform: scale(.25) translateY(-31%);
  }
}

@keyframes preview-pointer-tour {
  0%, 9% {
    top: 25%;
    left: 18%;
    opacity: 0;
  }

  15% {
    top: 25%;
    left: 18%;
    opacity: 1;
  }

  38% {
    top: 34%;
    left: 72%;
    opacity: 1;
  }

  57% {
    top: 62%;
    left: 54%;
    opacity: 1;
  }

  79% {
    top: 70%;
    left: 26%;
    opacity: 1;
  }

  100% {
    top: 76%;
    left: 73%;
    opacity: .9;
  }
}

.project-preview-clay {
  background: #dcad92;
}

.project-preview-plant {
  background: #dce8b9;
}

.project-preview-coffee {
  background: #332019;
}

.project-preview-arcade {
  background: #241838;
}

.project-preview-street {
  background: #f6e751;
}

.project-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.15rem 1.1rem;
}

.project-meta small, .project-meta strong {
  display: block;
}

.project-meta small {
  margin-bottom: .15rem;
  color: var(--muted);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.project-meta strong {
  font-size: 1.25rem;
  letter-spacing: -.025em;
}

.project-cta {
  flex: 0 0 auto;
  color: var(--accent);
  font-size: .85rem;
  font-weight: 800;
}

.about {
  border-block: 1px solid var(--border);
  background: var(--surface);
}

.faq {
  margin-top: 1.5rem;
}

details {
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
}

summary {
  color: var(--text);
  font-weight: 700;
  cursor: pointer;
}

summary::marker {
  color: var(--accent);
}

details p {
  max-width: 70ch;
  margin: .65rem 0 0;
}

footer {
  padding-block: 1.5rem;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: .9rem;
}

@media (max-width: 44rem) {
  .header-inner {
    align-items: flex-start;
  }

  .brand-logo {
    width: min(13rem, 68vw);
  }

  .site-header nav {
    width: 100%;
  }

  .plan-grid, .addon {
    grid-template-columns: 1fr;
  }

  .comparison-heading {
    grid-template-columns: 1fr;
  }

  .comparison-table-wrap {
    overflow-x: visible;
    border-radius: 1rem;
  }

  .comparison-table {
    min-width: 0;
    table-layout: fixed;
  }

  .comparison-table thead th:first-child,
  .comparison-table tbody th {
    width: 46%;
  }

  .comparison-table thead th:not(:first-child),
  .comparison-table td {
    width: 27%;
  }

  .comparison-table th,
  .comparison-table td {
    padding: .75rem .4rem;
  }

  .comparison-table thead th {
    font-size: .7rem;
    line-height: 1.35;
    overflow-wrap: anywhere;
  }

  .comparison-table tbody th {
    padding-left: .7rem;
    font-size: .78rem;
    line-height: 1.35;
    overflow-wrap: anywhere;
    hyphens: auto;
  }

  .comparison-table thead .pro-column span {
    font-size: .56rem;
    line-height: 1.25;
  }

  .comparison-status {
    width: 1.65rem;
    height: 1.65rem;
    font-size: .95rem;
  }

  .comparison-detail {
    font-size: .7rem;
    line-height: 1.3;
    overflow-wrap: anywhere;
  }

  .showcase-heading {
    display: block;
  }

  .carousel-controls {
    margin-top: 1.25rem;
  }

  .project-track {
    grid-auto-columns: min(84vw, 22rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .project-track {
    scroll-behavior: auto;
  }

  .carousel-button, .project-card, .project-preview iframe, .project-preview::before, .project-preview::after {
    transition: none;
  }

  .project-card:hover .project-preview iframe, .project-card:focus-visible .project-preview iframe,
  .project-card:hover .project-preview::after, .project-card:focus-visible .project-preview::after {
    animation: none;
  }
}

.nwb-footer {
  padding: 0;
  border-top: 1px solid var(--border);
  background:
    radial-gradient(ellipse at top left, #bbff7a09, transparent 50%),
    #0d0f16;
  color: var(--text);
  font-size: 1rem;
}

.nwb-footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(2rem, 6vw, 6rem);
  padding-block: clamp(2.5rem, 6vw, 5rem);
}

.nwb-footer-info .brand {
  margin-bottom: 2rem;
}

.nwb-footer-info h2 {
  max-width: 15ch;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  line-height: 1.15;
}

.nwb-footer-info > p {
  max-width: 42ch;
  margin: 1.25rem 0 1.75rem;
  color: var(--muted);
}

/* Botones de redes */
.nwb-socials {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
}

.nwb-social-button {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  min-height: 2.9rem;
  padding: .65rem .9rem;
  border: 1px solid var(--border);
  border-radius: .75rem;
  background: #181c28;
  color: var(--text);
  font-size: .9rem;
  font-weight: 650;
  text-decoration: none;
  transition: background .2s ease, border-color .2s ease;
}

.nwb-social-button svg {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
}

.nwb-social-button > span {
  margin-left: .35rem;
  color: var(--accent);
}

.nwb-social-button:hover {
  border-color: var(--accent);
  background: #222b22;
}

/* Formulario */
.nwb-contact {
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.nwb-contact-eyebrow {
  margin: 0 0 .5rem;
  color: var(--accent);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.nwb-contact h2 {
  margin-bottom: 1.5rem;
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
}

.nwb-contact-form {
  display: grid;
  gap: 1rem;
}

.nwb-field {
  display: grid;
  gap: .4rem;
  min-width: 0;
}

.nwb-field label {
  color: var(--text);
  font-size: .85rem;
  font-weight: 650;
}

.nwb-field input,
.nwb-field textarea {
  width: 100%;
  min-width: 0;
  padding: .8rem .9rem;
  border: 1px solid var(--border);
  border-radius: .65rem;
  background: #10131c;
  color: var(--text);
  font: inherit;
}

.nwb-field textarea {
  min-height: 7rem;
  resize: vertical;
}

.nwb-field input::placeholder,
.nwb-field textarea::placeholder {
  color: #939cb3;
  opacity: 1;
}

.nwb-field input:focus-visible,
.nwb-field textarea:focus-visible {
  border-color: var(--accent);
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.nwb-form-note {
  margin: 0;
  color: var(--muted);
  font-size: .75rem;
}

.nwb-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  min-height: 3rem;
  padding: .8rem 1.25rem;
  border: 0;
  border-radius: .65rem;
  background: var(--accent);
  color: #141d0b;
  font: 800 .95rem/1.3 system-ui, sans-serif;
  cursor: pointer;
}

.nwb-submit:hover {
  background: #d2ffa6;
}

/* Franja inferior */
.nwb-footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding-block: 1.3rem;
  border-top: 1px solid var(--border);
  color: var(--muted);
}

.nwb-footer-bottom a {
  font-size: .8rem;
  text-decoration: none;
}

.nwb-footer-bottom a:hover {
  color: var(--accent);
}

/* Popup */
.nwb-dialog {
  width: min(26rem, calc(100% - 2rem));
  max-height: calc(100dvh - 2rem);
  overflow-y: auto;
  padding: 2rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
  text-align: center;
  box-shadow: 0 2rem 5rem #00000066;
}

.nwb-dialog::backdrop {
  background: #05070dcc;
}

.nwb-dialog-icon {
  display: grid;
  place-items: center;
  width: 3.5rem;
  height: 3.5rem;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  background: #bbff7a19;
  color: var(--accent);
  font-size: 1.7rem;
}

.nwb-dialog h2 {
  font-size: 1.65rem;
}

.nwb-dialog p {
  margin: 1rem 0 1.5rem;
  color: var(--muted);
}

.nwb-dialog .nwb-submit {
  width: 100%;
}

@media (max-width: 48rem) {
  .nwb-footer-grid {
    grid-template-columns: 1fr;
  }

  .nwb-footer-info h2 {
    max-width: 22ch;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nwb-social-button {
    transition: none;
  }
}
