:root {
  --color-bg: #070707;
  --color-bg-soft: #111111;
  --color-card: #171717;
  --color-card-2: #202020;
  --color-text: #f8f8f8;
  --color-muted: #b9b9b9;
  --color-line: rgba(255,255,255,.13);
  --color-orange: #ff8a00;
  --color-orange-dark: #d96f00;
  --shadow-xl: 0 30px 80px rgba(0,0,0,.55);
  --radius-xl: 28px;
  --radius-lg: 18px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  width: 100%;
  max-width: 100%;
  margin: 0;
  overflow-x: hidden;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  padding-bottom: 0;
}

img,
video,
iframe,
svg {
  max-width: 100%;
}

#main,
.content,
section,
.hero,
.footer,
.checkout-page,
.final-cta,
.registration-section {
  max-width: 100%;
  overflow-x: clip;
}

/* .container,
.container-fluid {
  max-width: 100%;
} */

/* .row {
  min-width: 0;
} */

a { color: inherit; }

h1, h2, h3, .btn {
  font-weight: 900;
  letter-spacing: .03em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p,
a,
span,
strong,
small,
button,
input,
select,
textarea {
  min-width: 0;
}

h1,
h2,
h3,
.hero-title,
.hero h1,
.section-heading h2,
.section h2,
.final-cta h2,
.price-section h2 {
  overflow-wrap: break-word;
  word-break: normal;
}

p { color: var(--color-muted); }

.btn-orange {
  --bs-btn-bg: var(--color-orange);
  --bs-btn-border-color: var(--color-orange);
  --bs-btn-hover-bg: var(--color-orange-dark);
  --bs-btn-hover-border-color: var(--color-orange-dark);
  --bs-btn-color: #111;
  --bs-btn-hover-color: #111;
  font-weight: 900;
}

.btn-outline-light {
  --bs-btn-border-color: rgba(255,255,255,.45);
}

.pulse {
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255,138,0,.55); }
  70% { box-shadow: 0 0 0 16px rgba(255,138,0,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,138,0,0); }
}

.top-alert {
  background: var(--color-orange);
  color: #111;
  text-align: center;
  padding: .55rem 1rem;
  font-size: .92rem;
  font-weight: 700;
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1031;
}

.funnel-nav {
  position: fixed;
  top: 38px;
  inset-inline: 0;
  z-index: 1030;
  background: rgba(5,5,5,.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--color-line);
}

.brand-logo { width: 104px; }

.nav-mini-link {
  color: var(--color-muted);
  text-decoration: none;
  font-weight: 700;
}

.nav-mini-link:hover { color: var(--color-orange); }

.badge-event {
  display: inline-flex;
  gap: .5rem;
  align-items: center;
  background: rgba(255,138,0,.16);
  border: 1px solid rgba(255,138,0,.45);
  color: var(--color-orange);
  padding: .55rem .9rem;
  border-radius: 999px;
  font-weight: 900;
  text-transform: uppercase;
  font-size: .78rem;
}

.form-control,
.form-select {
  background: #0f0f0f;
  color: var(--color-text);
  border-color: rgba(255,255,255,.16);
}

.form-control:focus,
.form-select:focus {
  background: #101010;
  color: var(--color-text);
  border-color: var(--color-orange);
  box-shadow: 0 0 0 .25rem rgba(255,138,0,.18);
}

.form-label,
.form-check-label {
  color: #eee;
  font-weight: 700;
}

.secure-note {
  text-align: center;
  font-size: .88rem;
  margin-top: 1rem;
}

.mobile-sticky-cta {
  display: none;
}

.floating-whatsapp {
  position: fixed;
  right: 20px;
  bottom: 24px;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: grid;
  place-items: center;
  text-decoration: none;
  z-index: 1040;
  font-size: 1.75rem;
  box-shadow: var(--shadow-xl);
}

.footer {
  background: #050505;
  border-top: 1px solid var(--color-line);
  padding: 2rem 0;
}

.footer-logo { width: 110px; }

.whatsapp-link {
  color: #25d366;
  font-weight: 900;
  text-decoration: none;
}

@media (max-width: 767px) {
  body { padding-bottom: 78px; }

  .floating-whatsapp { bottom: 94px; }

  .mobile-sticky-cta {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    max-width: 100%;
    z-index: 1035;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    background: #080808;
    border-top: 1px solid var(--color-line);
    padding: .8rem max(1rem, env(safe-area-inset-left)) calc(.8rem + env(safe-area-inset-bottom)) max(1rem, env(safe-area-inset-right));
  }

  .mobile-sticky-cta strong,
  .mobile-sticky-cta small {
    display: block;
  }

  .mobile-sticky-cta small { color: var(--color-muted); }
}

.hero {
  position: relative;
  min-height: 100vh;
  padding-top: 110px;
  background:
    linear-gradient(90deg, rgba(0,0,0,.96) 0%, rgba(0,0,0,.72) 45%, rgba(0,0,0,.25) 100%),
    url("https://images.unsplash.com/photo-1517964603305-11c0f6f66012?auto=format&fit=crop&w=1800&q=85") center/cover no-repeat;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 25%, rgba(255,138,0,.18), transparent 28%),
    linear-gradient(to bottom, transparent 70%, var(--color-bg));
}

.hero__content {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: clamp(4rem, 10vw, 8.5rem);
  line-height: .82;
  margin: 1.2rem 0;
  text-shadow: 0 14px 44px rgba(0,0,0,.9);
}

.hero h1 span { color: var(--color-orange); }

.hero__subtitle {
  color: #eee;
  max-width: 720px;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
}

.hero__facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .9rem;
  margin-top: 2rem;
  max-width: 760px;
}

.hero__facts > div,
.conversion-card,
.benefit-card,
.form-box,
.sticky-summary,
.checkout-card {
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.035));
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
}

.hero__facts > div {
  padding: 1rem;
}

.hero__facts i {
  color: var(--color-orange);
  font-size: 1.35rem;
  margin-bottom: .65rem;
}

.hero__facts strong,
.hero__facts small {
  display: block;
}

.hero__facts small { color: var(--color-muted); }

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

.conversion-card {
  padding: 2rem;
  box-shadow: var(--shadow-xl);
}

.conversion-card__label {
  color: var(--color-orange);
  text-transform: uppercase;
  font-weight: 900;
}

.conversion-card h2 {
  font-size: clamp(3rem, 7vw, 5rem);
  color: var(--color-orange);
}

.progress {
  height: .75rem;
  background: rgba(255,255,255,.12);
}

.progress-bar {
  background: var(--color-orange);
}

.countdown {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .65rem;
  margin: 1.6rem 0;
}

.countdown div {
  text-align: center;
  background: rgba(0,0,0,.35);
  border: 1px solid var(--color-line);
  border-radius: 12px;
  padding: .8rem .4rem;
}

.countdown strong,
.countdown small { display: block; }

.countdown strong {
  color: var(--color-orange);
  font-size: 1.45rem;
}

.section {
  padding: 94px 0;
}

.compact-section { padding: 72px 0; }

.section-dark {
  background: linear-gradient(180deg, #0a0a0a, #121212);
  border-top: 1px solid var(--color-line);
  border-bottom: 1px solid var(--color-line);
}

.section-heading {
  max-width: 820px;
  margin-inline: auto;
  margin-bottom: 3rem;
}

.section-heading span,
.tag {
  color: var(--color-orange);
  text-transform: uppercase;
  font-weight: 900;
  letter-spacing: .12em;
  font-size: .82rem;
}

.section-heading h2,
.section h2,
.final-cta h2 {
  font-size: clamp(2.3rem, 5vw, 4.7rem);
  line-height: .92;
}

.benefit-card {
  height: 100%;
  padding: 1.6rem;
  transition: transform .2s ease, border-color .2s ease;
}

.benefit-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255,138,0,.55);
}

.benefit-card i {
  color: var(--color-orange);
  font-size: 2rem;
  margin-bottom: 1rem;
}

.benefit-card h3 {
  font-size: 1.1rem;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
}

.check-list li {
  color: var(--color-muted);
  margin-bottom: .75rem;
  display: flex;
  gap: .75rem;
}

.check-list i {
  color: var(--color-orange);
  margin-top: .2rem;
}

.photo-stack {
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--color-line);
  box-shadow: var(--shadow-xl);
}

.photo-stack img {
  width: 100%;
  min-height: 420px;
  object-fit: cover;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  counter-reset: steps;
}

.step {
  position: relative;
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  background: var(--color-card);
  border: 1px solid var(--color-line);
}

.step strong {
  width: 44px;
  height: 44px;
  background: var(--color-orange);
  color: #111;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
}

.registration-section {
  background:
    linear-gradient(rgba(0,0,0,.88), rgba(0,0,0,.94)),
    url("https://images.unsplash.com/photo-1534258936925-c58bed479fcb?auto=format&fit=crop&w=1800&q=85") center/cover fixed;
}

.form-box {
  padding: 2rem;
}

.sticky-summary {
  padding: 1.6rem;
  position: sticky;
  top: 130px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid var(--color-line);
  padding: 1rem 0;
}

.summary-row span { color: var(--color-muted); }

.guarantee {
  display: flex;
  gap: 1rem;
  background: rgba(255,138,0,.12);
  border: 1px solid rgba(255,138,0,.35);
  border-radius: 16px;
  padding: 1rem;
  margin: 1.4rem 0;
}

.guarantee i {
  color: var(--color-orange);
  font-size: 1.6rem;
}

.guarantee p { margin: 0; }

.small-list {
  display: grid;
  gap: .55rem;
  color: var(--color-muted);
}

.small-list i { color: var(--color-orange); }

.gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .9rem;
}

.gallery img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-line);
}

.funnel-accordion .accordion-item {
  background: transparent;
  border: 1px solid var(--color-line);
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: .8rem;
}

.funnel-accordion .accordion-button {
  background: #151515;
  color: var(--color-text);
  font-weight: 900;
}

.funnel-accordion .accordion-button:not(.collapsed) {
  color: var(--color-orange);
  background: #111;
  box-shadow: none;
}

.funnel-accordion .accordion-button:focus { box-shadow: none; }

.funnel-accordion .accordion-body {
  background: #0e0e0e;
  color: var(--color-muted);
}

.final-cta {
  padding: 100px 0;
  background:
    linear-gradient(rgba(0,0,0,.78), rgba(0,0,0,.82)),
    url("https://images.unsplash.com/photo-1598266663439-2056e6900339?auto=format&fit=crop&w=1800&q=85") center/cover no-repeat;
}

.checkout-page {
  background:
    linear-gradient(rgba(0,0,0,.88), rgba(0,0,0,.95)),
    url("https://images.unsplash.com/photo-1532029837206-abbe2b7620e3?auto=format&fit=crop&w=1800&q=85") center/cover fixed;
}

.checkout-layout {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 70px 0;
}

.checkout-card {
  padding: 2rem;
  box-shadow: var(--shadow-xl);
}

.checkout-logo {
  width: 130px;
  margin-bottom: 1.5rem;
}

.checkout-details {
  display: grid;
  gap: .8rem;
  margin-top: 1.5rem;
}

.checkout-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid var(--color-line);
  border-radius: 14px;
  background: rgba(0,0,0,.32);
}

.checkout-row span { color: var(--color-muted); }

@media (max-width: 991px) {
  .hero__facts,
  .steps,
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 575px) {
  .hero { padding-top: 126px; }
  .brand-logo { width: 86px; }
  .hero h1 { font-size: 3.8rem; }
  .hero__facts,
  .steps,
  .gallery { grid-template-columns: 1fr; }
  .section { padding: 70px 0; }
  .form-box { padding: 1.2rem; }
}


/* =========================================================
   HERO IMPROVEMENT - clearer title + conversion card
   ========================================================= */

.hero .row {
  row-gap: 2.5rem;
}

.hero-title,
.hero h1 {
  font-size: clamp(3.2rem, 6.2vw, 5.4rem);
  line-height: .95;
  margin: 1.2rem 0 1.3rem;
  max-width: 760px;
  letter-spacing: .015em;
}

.hero-title span,
.hero h1 span {
  display: block;
  color: var(--color-orange);
}

.hero__subtitle {
  max-width: 620px;
  font-size: clamp(1.05rem, 1.65vw, 1.25rem);
  line-height: 1.65;
  margin-bottom: 0;
}

.event-info {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
  max-width: 640px;
}

.event-info-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-width: 0;
  flex: 1 1 260px;
  padding: 1rem 1.1rem;
  border: 1px solid var(--color-line);
  border-radius: 16px;
  background: rgba(255,255,255,.055);
  backdrop-filter: blur(8px);
}

.event-info-item i {
  color: var(--color-orange);
  font-size: 1.45rem;
}

.event-info-item strong,
.event-info-item span {
  display: block;
}

.event-info-item span {
  color: var(--color-muted);
  font-size: .86rem;
}

.hero-card {
  background: rgba(10,10,10,.94);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 26px;
  padding: clamp(1.35rem, 2.4vw, 2.1rem);
  box-shadow: var(--shadow-xl);
  backdrop-filter: blur(14px);
}

.price-section {
  text-align: center;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--color-line);
  margin-bottom: 1.5rem;
}

.price-section small {
  display: block;
  color: var(--color-orange);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-weight: 900;
  font-size: .78rem;
}

.price-section h2 {
  color: var(--color-orange);
  font-size: clamp(3rem, 5.2vw, 4.4rem);
  line-height: 1;
  margin: .5rem 0 .7rem;
}

.price-section p {
  max-width: 360px;
  margin: 0 auto;
  font-size: .95rem;
}

.slots-section {
  margin-bottom: 1.6rem;
}

.slots-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: .85rem;
}

.slots-header span {
  color: var(--color-muted);
  font-weight: 700;
}

.slots-header strong {
  color: var(--color-text);
  font-size: 1.08rem;
}

.slots-section small {
  display: block;
  margin-top: .75rem;
  color: var(--color-orange);
  font-weight: 800;
}

.event-countdown {
  margin-bottom: 1.25rem;
}

.event-countdown h5 {
  text-align: center;
  margin-bottom: 1rem;
  color: var(--color-text);
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: .88rem;
  font-weight: 900;
}

.countdown {
  gap: .75rem;
  margin: 0;
}

.countdown div {
  background: rgba(255,255,255,.055);
  border: 1px solid var(--color-line);
  border-radius: 14px;
  padding: .95rem .45rem;
}

.countdown strong {
  font-size: clamp(1.45rem, 3vw, 2rem);
  line-height: 1;
}

.countdown small {
  margin-top: .3rem;
  text-transform: uppercase;
  font-size: .72rem;
  letter-spacing: .08em;
  color: var(--color-muted);
}

.urgency-box {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  background: rgba(255,138,0,.13);
  border: 1px solid rgba(255,138,0,.38);
  color: var(--color-orange);
  border-radius: 14px;
  padding: .9rem 1rem;
  margin: 1.35rem 0;
  text-align: center;
  font-weight: 800;
  font-size: .92rem;
}

@media (max-width: 991px) {
  .hero {
    padding-top: 135px;
    padding-bottom: 70px;
  }

  .hero .min-vh-100 {
    min-height: auto !important;
  }

  .hero-title,
  .hero h1 {
    max-width: 100%;
  }

  .hero-card {
    max-width: 560px;
  }
}

@media (max-width: 575px) {
  .hero-title,
  .hero h1 {
    font-size: clamp(2.5rem, 11vw, 3.5rem);
    line-height: 1;
  }

  .price-section h2 {
    font-size: clamp(2.4rem, 11vw, 3.2rem);
  }

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

  .countdown div {
    min-width: 0;
  }

  .event-info-item {
    min-width: 0;
    width: 100%;
  }
}

/* =========================================================
   MOBILE OVERFLOW FIXES
   Evita el scroll horizontal en celulares.
   ========================================================= */

.hero__facts,
.steps,
.gallery,
.countdown,
.event-info,
.summary-row,
.checkout-row,
.guarantee,
.mobile-sticky-cta {
  min-width: 0;
  max-width: 100%;
}

.hero__facts > *,
.steps > *,
.gallery > *,
.countdown > *,
.event-info > *,
.summary-row > *,
.checkout-row > *,
.guarantee > *,
.mobile-sticky-cta > * {
  min-width: 0;
}

.mobile-sticky-cta .btn {
  flex-shrink: 0;
  white-space: nowrap;
}

.mobile-sticky-cta strong,
.mobile-sticky-cta small {
  overflow-wrap: break-word;
}

.floating-whatsapp {
  max-width: calc(100vw - 32px);
}

/* FIX solo para móvil */
@media (max-width: 767px) {
  html,
  body {
    overflow-x: hidden !important;
  }

  #main,
  .content,
  .hero,
  .section,
  .footer,
  .mobile-sticky-cta,
  .funnel-nav,
  .top-alert {
    max-width: 100vw;
    overflow-x: clip;
  }

  .event-info-item,
  .hero-card,
  .conversion-card,
  .form-box,
  .sticky-summary,
  .checkout-card {
    max-width: 100%;
  }

  .mobile-sticky-cta {
    width: 100%;
    max-width: 100%;
  }
}

@media (max-width: 575px) {
  .badge-event {
    max-width: 100%;
    white-space: normal;
    text-align: left;
  }

  .hero-title,
  .hero h1 {
    max-width: 100%;
    font-size: clamp(2.35rem, 10.5vw, 3.35rem);
    line-height: 1;
  }

  .section-heading h2,
  .section h2,
  .final-cta h2 {
    font-size: clamp(2rem, 10vw, 3rem);
    line-height: 1;
  }

  .price-section h2 {
    max-width: 100%;
    font-size: clamp(2.25rem, 10vw, 3rem);
  }

  .event-info {
    width: 100%;
  }

  .event-info-item {
    width: 100%;
    flex-basis: 100%;
  }

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

  .countdown div {
    min-width: 0;
  }

  .checkout-row,
  .summary-row {
    flex-wrap: wrap;
  }
}