:root {
  --sand: #efe3d4;
  --sand-soft: #f7efe6;
  --ink: #161616;
  --ink-soft: #3c3c3c;
  --white: #ffffff;
  --teal: #21aec5;
  --pink: #df1f71;
  --purple: #74389c;
  --mustard: #f3ab25;
  --line: rgba(22, 22, 22, 0.12);
  --shadow: 0 16px 40px rgba(53, 37, 29, 0.12);
  --radius: 24px;
  --radius-sm: 16px;
  --radius-xs: 12px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: linear-gradient(180deg, var(--sand-soft) 0%, #fbf7f1 100%);
  line-height: 1.55;
}

a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; }

.skip-link {
  position: absolute;
  left: -9999px;
}
.skip-link:focus {
  left: 20px;
  top: 20px;
  background: var(--ink);
  color: var(--white);
  padding: 10px 14px;
  z-index: 1000;
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(14px);
  background: rgba(247, 239, 230, 0.88);
  border-bottom: 1px solid rgba(22, 22, 22, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 0;
}

.brand-block {
  display: flex;
  align-items: center;
  gap: 18px;
}

.brand-mark {
  width: 72px;
  flex: 0 0 72px;
}

.brand-text h1 {
  margin: 0;
  font-size: clamp(1.4rem, 2vw, 1.85rem);
  line-height: 1.05;
}

.eyebrow,
.footer-eyebrow,
.section-heading .eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--ink-soft);
  margin: 0 0 8px;
}

.subbrand {
  margin: 4px 0 0;
  font-weight: 700;
  color: var(--ink-soft);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 42px 0 50px;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  filter: blur(10px);
  opacity: 0.12;
  pointer-events: none;
}
.hero::before {
  width: 360px;
  height: 360px;
  background: var(--pink);
  left: -110px;
  top: 80px;
}
.hero::after {
  width: 280px;
  height: 280px;
  background: var(--teal);
  right: -80px;
  bottom: 60px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
}

.hero-copy h2 {
  font-size: clamp(2.2rem, 5vw, 4.5rem);
  line-height: 0.95;
  margin: 0 0 20px;
  max-width: 11ch;
}

.hero-copy p {
  font-size: 1.04rem;
  max-width: 62ch;
  color: var(--ink-soft);
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.pill {
  border: 1px solid rgba(22,22,22,0.12);
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.55);
  font-weight: 700;
  font-size: 0.9rem;
}
.pill-accent {
  background: var(--pink);
  color: var(--white);
  border-color: var(--pink);
}

.event-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 30px 0;
}

.meta-card,
.step-card,
.stage-card,
.profile-card,
.price-card,
.info-grid article,
.support-card,
.faq-list details {
  background: rgba(255,255,255,0.72);
  border: 1px solid rgba(22,22,22,0.08);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
}

.meta-card {
  padding: 18px;
}
.meta-label {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-soft);
  margin-bottom: 6px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform .18s ease, background-color .18s ease, border-color .18s ease, color .18s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary {
  background: var(--ink);
  color: var(--white);
}
.button-dark {
  background: var(--ink);
  color: var(--white);
}
.button-ghost {
  background: rgba(255,255,255,0.5);
  border-color: rgba(22,22,22,0.12);
}
.button-outline {
  background: transparent;
  border-color: rgba(22,22,22,0.18);
}
.button-block {
  width: 100%;
}

.poster-frame {
  background: linear-gradient(180deg, rgba(255,255,255,0.55), rgba(255,255,255,0.72));
  padding: 22px;
  border: 1px solid rgba(22,22,22,0.08);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.poster-graphic {
  border-radius: 18px;
  overflow: hidden;
}

.steps-section,
.selection-section,
.profiles-section,
.pricing-section,
.info-band,
.faq-section {
  padding: 28px 0 78px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 30px;
}
.section-heading.center {
  margin-inline: auto;
  text-align: center;
}
.section-heading h2 {
  margin: 0 0 12px;
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1;
}
.section-heading p:last-child {
  margin: 0;
  color: var(--ink-soft);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.step-card {
  padding: 24px;
  position: relative;
  overflow: hidden;
}
.step-card.active::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 2px solid var(--pink);
  border-radius: inherit;
  pointer-events: none;
}
.step-number {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  background: var(--mustard);
  font-weight: 800;
  margin-bottom: 12px;
}

.stage-grid,
.profile-grid,
.pricing-grid,
.info-grid {
  display: grid;
  gap: 20px;
}
.stage-grid,
.profile-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pricing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.info-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.stage-card,
.profile-card {
  text-align: left;
  padding: 26px;
  transition: transform .18s ease, border-color .18s ease, background-color .18s ease;
}
.stage-card strong,
.profile-card strong {
  display: block;
  font-size: 1.2rem;
  margin-bottom: 6px;
}
.stage-card small,
.profile-card span:last-child {
  color: var(--ink-soft);
}
.stage-card:hover,
.profile-card:hover { transform: translateY(-3px); }
.stage-card.is-active,
.profile-card.is-active {
  border-color: rgba(223,31,113,0.45);
  background:
    linear-gradient(180deg, rgba(223,31,113,0.08), rgba(33,174,197,0.06)),
    rgba(255,255,255,0.78);
}
.stage-tag {
  display: inline-block;
  margin-bottom: 14px;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--mustard);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.profile-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--pink), var(--teal));
  color: var(--white);
  font-weight: 800;
  font-size: 1.25rem;
  margin-bottom: 14px;
}

.pricing-toolbar {
  margin-bottom: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  align-items: center;
  padding: 18px 22px;
  background: rgba(255,255,255,0.72);
  border: 1px solid rgba(22,22,22,0.08);
  border-radius: var(--radius-sm);
}
.toolbar-label {
  font-weight: 700;
  color: var(--ink-soft);
}
.toolbar-value { font-weight: 800; }

.price-card {
  padding: 28px;
  display: none;
}
.price-card.is-visible { display: block; }
.price-badge {
  display: inline-block;
  padding: 8px 12px;
  background: rgba(243,171,37,0.18);
  color: var(--ink);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 800;
  margin-bottom: 18px;
}
.price-card h3 {
  font-size: 1.6rem;
  margin: 0 0 8px;
}
.price-value {
  font-size: 2rem;
  font-weight: 800;
  margin: 0 0 18px;
}
.price-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
}
.price-card li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 10px;
  color: var(--ink-soft);
}
.price-card li::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--teal);
  position: absolute;
  left: 0;
  top: 0.45em;
}
.helper-note {
  margin-top: 18px;
  color: var(--ink-soft);
}
.helper-note code {
  background: rgba(255,255,255,0.8);
  padding: 2px 8px;
  border-radius: 999px;
}

.info-band {
  background:
    radial-gradient(circle at top left, rgba(33,174,197,0.16), transparent 28%),
    radial-gradient(circle at bottom right, rgba(223,31,113,0.12), transparent 24%),
    transparent;
}
.info-grid article {
  padding: 26px;
}
.info-grid h3 {
  margin-top: 0;
}

.faq-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 24px;
  align-items: start;
}
.sticky-head {
  position: sticky;
  top: 100px;
}
.support-card {
  padding: 20px;
  margin-top: 22px;
}
.faq-list {
  display: grid;
  gap: 14px;
}
.faq-list details {
  padding: 18px 20px;
}
.faq-list summary {
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list p {
  color: var(--ink-soft);
  margin: 12px 0 0;
}

.site-footer {
  border-top: 1px solid rgba(22,22,22,0.08);
  background: rgba(255,255,255,0.55);
}
.footer-inner {
  padding: 26px 0 34px;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  align-items: center;
}
.footer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-weight: 700;
}

@media (max-width: 980px) {
  .hero-grid,
  .faq-layout,
  .steps-grid,
  .event-meta,
  .stage-grid,
  .profile-grid,
  .pricing-grid,
  .info-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy h2 { max-width: none; }
  .sticky-head { position: static; }
}

@media (max-width: 720px) {
  .header-inner,
  .footer-inner,
  .brand-block {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-header {
    position: static;
  }

  .button {
    width: 100%;
  }

  .cta-row {
    width: 100%;
  }

  .cta-row .button {
    justify-content: center;
  }

  .container {
    width: min(calc(100% - 24px), var(--container));
  }

  .hero,
  .steps-section,
  .selection-section,
  .profiles-section,
  .pricing-section,
  .info-band,
  .faq-section {
    padding: 22px 0 56px;
  }

  .price-value {
    font-size: 1.8rem;
  }
}

/* Seguridad / pago Niubiz */
.pill-secure {
  background: rgba(33, 174, 197, 0.12);
  border-color: rgba(33, 174, 197, 0.28);
}

.security-strip {
  padding: 0 0 54px;
}

.security-strip-inner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: start;
  padding: 22px 24px;
  border: 1px solid rgba(33, 174, 197, 0.25);
  background: rgba(255,255,255,0.72);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
}

.security-strip-inner p {
  margin: 6px 0 0;
  color: var(--ink-soft);
}

.security-icon,
.modal-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--teal);
  color: var(--white);
  font-weight: 900;
}

.payment-warning {
  margin-top: 22px;
  padding: 18px 20px;
  border: 1px dashed rgba(223,31,113,0.35);
  border-radius: var(--radius-sm);
  background: rgba(223,31,113,0.05);
}

.payment-warning p { margin: 6px 0 0; }

.pay-button[disabled] {
  opacity: 0.48;
  cursor: not-allowed;
  transform: none;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(16,16,16,0.66);
  backdrop-filter: blur(8px);
}

.modal-backdrop[hidden] { display: none; }

.payment-modal {
  position: relative;
  width: min(100%, 560px);
  max-height: min(88vh, 780px);
  overflow: auto;
  padding: 30px;
  background: var(--sand-soft);
  border-radius: 24px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.28);
}

.payment-modal h2 {
  margin: 12px 0 8px;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 1;
}

.payment-modal > p:not(.eyebrow):not(.modal-note) {
  color: var(--ink-soft);
}

.modal-close {
  position: absolute;
  right: 16px;
  top: 14px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: rgba(22,22,22,0.08);
  font-size: 1.7rem;
  line-height: 1;
}

.purchase-summary {
  margin: 22px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.purchase-summary > div {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

.purchase-summary > div:last-child { border-bottom: 0; }
.purchase-summary dt { color: var(--ink-soft); }
.purchase-summary dd { margin: 0; font-weight: 800; text-align: right; }
.purchase-summary .summary-total dd { font-size: 1.4rem; color: var(--pink); }

.domain-check {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: center;
  margin: 18px 0 22px;
  padding: 15px 16px;
  border-radius: var(--radius-xs);
  background: rgba(33,174,197,0.09);
  border: 1px solid rgba(33,174,197,0.2);
}

.domain-check strong,
.domain-check span:last-child { display: block; }
.domain-check span:last-child { color: var(--ink-soft); font-size: 0.9rem; margin-top: 2px; word-break: break-word; }
.domain-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--teal); }

.modal-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.modal-note {
  margin: 16px 0 0;
  color: var(--ink-soft);
  font-size: 0.84rem;
}

body.modal-open { overflow: hidden; }

@media (max-width: 620px) {
  .security-strip-inner,
  .modal-actions {
    grid-template-columns: 1fr;
  }
  .payment-modal { padding: 24px 18px; }
}
