/* Full width section wrapper */
.full-bleed {
  width: 100%;
}
/* Hero */
.hero {
  margin: 0;
  padding: 0 0 1.5rem;
  background: var(--gradient-blue);
  color: var(--text-on-blue);
  min-height: auto;
}

/* ✅ HERO INNER ESTABLE: NO VW */
.hero-inner {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 clamp(16px, 3vw, 28px);
  display: grid;
  grid-template-columns: minmax(420px, 600px) minmax(360px, 520px);
  justify-content: center;
  gap: 3.25rem;
  align-items: center;
}

.hero-copy {
  max-width: 640px;
}

.hero h1 {
  font-size: clamp(2.25rem, 5vw, 5rem);
  margin: 1rem 0 1.75rem;
  line-height: 1.05;
  letter-spacing: -0.015em;
}

.hero-sub {
  margin: 0.25rem 0;
  color: rgba(255, 255, 255, 0.9);
}

.hero-cta {
  margin-top: 2.5rem;
  display: flex;
  gap: 1rem;
}

.hero-visual {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  margin-top: 34px;
}

.hero-media {
  position: center;
  margin: 0;
  padding: 0;
}

.hero-media img,
.hero-video {
  width: min(520px, 100%);
  display: block;
}

.hero-video.hero-video--placeholder {
  width: min(520px, 100%);
  margin: 0 auto;
}

.hero-video.hero-video--placeholder img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: inherit;
  object-fit: cover;
}

.hero-video {
  border-radius: 24px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 24px 60px rgba(4, 17, 27, 0.25);
}

.hero-video iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  border: none;
  display: block;
}

.hero-video img {
  width: 100%;
  display: block;
}

.hero-video--placeholder {
  background: rgba(255, 255, 255, 0.9);
}

.hero-visual .hero-cta {
  margin-top: 0.75rem;
  flex-direction: column;
  align-items: center;
  width: min(520px, 100%);
  gap: 0.5rem;
}

.section-intro {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.section-intro h2 {
  margin-top: 0;
  margin-bottom: 0.75rem;
  font-size: 2.2rem;
  color: var(--main-blue);
}

.section-intro p {
  margin: 0;
  color: rgba(31, 180, 230, 0.8);
}

.section-inner > .section-intro {
  text-align: center;
}

.section-alt {
  background: var(--surface-muted);
}

.section-pause {
  background: rgba(255, 255, 255, 0.6);
}

.section-pause.problem {
  background: linear-gradient(180deg, #fbfdff 0%, #eef6ff 100%);
}

.problem-layout {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  align-items: center;
}

.problem-visual {
  margin: 0;
  border-radius: 32px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.problem-visual img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.problem-copy {
  white-space: pre-line;
  line-height: 1.2;
}

/* structured keeps background, but inner stays stable */
.structured {
  background: var(--surface-muted);
}

.centered-intro {
  text-align: center;
}

.centered-intro h2 {
  font-size: 2.6rem;
}

.centered-intro p {
  font-size: 1.2rem;
  max-width: 640px;
  margin: 0 auto;
}

.section-pause h2 {
  font-size: 2.8rem;
}

.section-pause p {
  font-size: 1.2rem;
}

.manifesto {
  background: transparent;
  padding: 4rem 0 3rem;
  border: none;
  box-shadow: none;
}

.manifesto-intro {
  text-align: center;
}

.manifesto-intro h2 {
  font-size: 3rem;
}

.manifesto-intro p {
  font-size: 1.15rem;
  color: rgba(31, 180, 230, 0.85);
  white-space: pre-line;
}

.real-moments {
  background: linear-gradient(180deg, rgba(61, 212, 255, 0.2) 0%, rgba(61, 212, 255, 0.12) 55%, #e2f4ff 100%);
  padding: 100px 0 110px;
}

.real-moments-intro h2 {
  font-size: clamp(2.6rem, 5vw, 3.2rem);
  margin: 0 0 0.85rem;
  color: var(--main-blue);
}

.real-moments-title span {
  display: block;
}

.real-moments-subtitle {
  color: #6b7280;
  max-width: 640px;
  margin: 0 auto 48px;
  text-align: center;
  font-size: 1.05rem;
}

.moments-carousel {
  width: 100%;
  margin: 0 auto 3rem;
  overflow: hidden;
  touch-action: pan-y;
}

.moments-track {
  display: flex;
  gap: 32px;
  transition: transform 0.6s ease;
  will-change: transform;
  touch-action: pan-y;
  cursor: grab;
}

.moments-track.is-dragging {
  cursor: grabbing;
}

.moment-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  max-width: 340px;
  width: 100%;
  flex: 0 0 100%;
  border: 1px solid rgba(15, 23, 42, 0.06);
  text-align: left;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.moment-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 35px rgba(15, 23, 42, 0.08);
}

.stars {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 10px;
}

.star-icon {
  width: 18px;
  height: 18px;
  display: inline-block;
  background-color: rgba(245, 179, 1, 0.25);
  -webkit-mask-image: url('/assets/Star.svg');
  mask-image: url('/assets/Star.svg');
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
  transition: background-color 0.2s ease;
}

.star-icon.is-filled {
  background-color: #f5b301;
}

.moment-quote {
  font-size: 1rem;
  line-height: 1.6;
  color: #1f2937;
  margin: 0 0 18px;
}

.moment-author {
  font-size: 0.9rem;
  font-weight: 600;
  color: #6b7280;
  margin: 0;
}

.real-moments-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}

.real-moments-cta p {
  margin: 0;
  font-size: 1.05rem;
  color: #1f2937;
}

.real-moments-cta p.real-moments-note {
  color: var(--main-blue-strong);
  font-weight: 700;
}

@media (max-width: 639px) {
  .moments-carousel {
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
  }

  .moment-card {
    max-width: 320px;
  }
}

@media (min-width: 640px) {
  .moment-card {
    flex: 0 0 calc(50% - 16px);
  }

  .moments-carousel {
    max-width: calc((340px * 2) + 32px);
  }
}

@media (min-width: 1024px) {
  .moments-carousel {
    max-width: calc((340px * 3) + (32px * 2));
    margin-bottom: 3.5rem;
  }

  .moment-card {
    flex: 0 0 calc((100% - 64px) / 3);
  }
}
/* Modes */
.modes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.modes-section {
  background: #ffffff;
  padding: 3.75rem 0 3.25rem;
  border: none;
}

.modes-section .section-intro {
  text-align: center;
  margin-bottom: 2.25rem;
}

.modes-section .section-intro h2 {
  color: var(--main-blue);
  margin-bottom: 0.35rem;
}

.modes-section .section-intro p {
  color: rgba(31, 180, 230, 0.85);
}

.mode-card {
  background: #ffffff;
  color: var(--main-blue);
  border-radius: 26px;
  padding: 2rem;
  border: 1px solid rgba(31, 180, 230, 0.15);
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 18px 38px rgba(9, 78, 110, 0.12);
}

.mode-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 46px rgba(9, 78, 110, 0.18);
}

.mode-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.mode-card-title {
  display: flex;
  flex: 1 1 auto;
}

.mode-card-heading {
  margin: 0;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--main-blue);
  display: flex;
  align-items: baseline;
  gap: 0;
  flex-wrap: wrap;
  flex: 1 1 auto;
}

.mode-card-heading span + span::before {
  content: "-";
}


.mode-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: rgba(31, 180, 230, 0.08);
  border: 1px solid rgba(31, 180, 230, 0.2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.mode-icon img {
  width: 70%;
  height: auto;
  display: block;
}

.mode-card-body {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.mode-card-header h3 {
  margin: 0;
  font-size: 1.3rem;
  color: var(--main-blue);
  flex: 1 1 auto;
}


.mode-card-body p {
  margin: 0;
  color: rgba(31, 147, 205, 0.98);
  font-size: 0.98rem;
}

.mode-points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}


.mode-points li {
  position: relative;
  padding-left: 1.4rem;
  font-weight: 600;
  color: rgba(31, 147, 205, 0.95);
  font-size: 0.92rem;
}

.mode-points li::before {
  content: '';
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  border: 2px solid rgba(31, 180, 230, 0.6);
  position: absolute;
  left: 0;
  top: 0.35rem;
}


@media (max-width: 960px) {
  .mode-card {
    padding: 2rem;
  }

  .mode-card-header {
    width: 100%;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .mode-card-header h3 {
    font-size: 1.25rem;
  }
}

@media (max-width: 640px) {
  .modes-grid {
    grid-template-columns: 1fr;
  }

  .mode-card {
    padding: 1.75rem;
  }

  .mode-card-header {
    flex-direction: row;
    align-items: flex-start;
    gap: 0.75rem;
    width: 100%;
  }

  .mode-card-header .mode-icon {
    margin-left: auto;
    align-self: flex-start;
  }
}

.mode-card-header h3 {
  margin-top: 0;
}

.process .section-intro {
  text-align: center;
}

.process.full-bleed {
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
}

.process .section-intro h2 {
  font-size: 2.5rem;
}

.how-steps {
  list-style: none;
  padding: 0;
  margin: 2.5rem auto 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.how-steps li {
  position: relative;
  padding: 2rem 1.5rem 1.5rem;
  background: #ffffff;
  border-radius: 26px;
  border: 1px solid var(--line);
}

.how-steps h3 {
  margin: 0;
}

.how-steps p {
  margin: 0.75rem 0 0;
  white-space: pre-line;
}

.how-steps .how-step--metrics h3 {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.how-steps .how-step--metrics h3::before {
  content: '';
  width: 1em;
  height: 1.5em;
  background: url('/assets/estadisticas.svg') center/contain no-repeat;
  flex-shrink: 0;
  margin-left: -1.3rem;
}

.how-cta-title {
  margin: 3rem 0 1rem;
  font-size: 1.5rem;
  font-weight: 600;
}

/* CTA */
.cta {
  background: var(--gradient-blue);
  color: var(--text-on-blue);
  padding: clamp(4.5rem, 6vw, 6.5rem) 0;
}

.cta .section-inner {
  width: 100%;
  max-width: 820px;
}

.cta-minimal {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
}

.cta-logo {
  width: min(420px, 80%);
  height: auto;
}

.cta-hashtag {
  font-size: 0.95rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 0.4rem;
}

.cta h2 {
  font-size: clamp(2.4rem, 5vw, 3.5rem);
  line-height: 1.05;
  margin: 0.5rem 0 0;
}

.cta-title-line {
  display: block;
}

.cta-download {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.cta-download .app-store-link {
  width: auto;
  padding: 0;
  border: none;
  background: none;
}

.libfy-modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 4vw, 2.5rem);
  z-index: 60;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.libfy-modal[aria-hidden="false"] {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.libfy-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(7, 34, 52, 0.65);
  backdrop-filter: blur(4px);
}

.libfy-modal-dialog {
  position: relative;
  width: min(520px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  padding: 2.5rem;
  border-radius: var(--radius-card);
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  text-align: left;
  z-index: 1;
}

.libfy-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--main-blue-strong);
  font-size: 1.35rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease;
}

.libfy-modal-close:hover,
.libfy-modal-close:focus-visible {
  background: rgba(31, 180, 230, 0.1);
  outline: none;
}

#libfy-modal-title {
  margin: 0 0 0.25rem;
  font-size: clamp(1.5rem, 4vw, 1.85rem);
  color: var(--main-blue);
}

.libfy-modal-subtitle {
  margin: 0 0 1.5rem;
  color: rgba(31, 147, 205, 0.95);
  font-size: 1rem;
}

.libfy-modal-form {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  color: var(--main-blue-strong);
}

.libfy-modal-form label {
  font-weight: 600;
  font-size: 0.95rem;
}

.libfy-modal-form input,
.libfy-modal-form textarea,
.libfy-modal-form select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 0.85rem 1rem;
  font-family: inherit;
  font-size: 1rem;
  background: rgba(255, 255, 255, 0.95);
  color: var(--main-blue-strong);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.libfy-modal-form textarea {
  resize: vertical;
  min-height: 140px;
}

.libfy-modal-form input:focus,
.libfy-modal-form textarea:focus,
.libfy-modal-form select:focus {
  outline: none;
  border-color: var(--main-blue);
  box-shadow: 0 0 0 3px rgba(31, 180, 230, 0.15);
}

.libfy-modal-form select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, rgba(31, 180, 230, 0.5) 50%),
    linear-gradient(135deg, rgba(31, 180, 230, 0.5) 50%, transparent 50%);
  background-position: right 1rem center, right 0.9rem center;
  background-size: 8px 8px, 8px 8px;
  background-repeat: no-repeat;
}

.libfy-rating-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-top: 0.2rem;
}

.libfy-rating-label {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--main-blue-strong);
}

.libfy-rating-control {
  display: inline-flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
  gap: 0.4rem;
}

.libfy-rating-control input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.libfy-rating-control label {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.libfy-rating-control label .star-icon {
  width: 26px;
  height: 26px;
}

.libfy-rating-control label:hover .star-icon,
.libfy-rating-control label:hover ~ label .star-icon,
.libfy-rating-control input:checked ~ label .star-icon {
  background-color: #f5b301;
}

.libfy-rating-control input:focus-visible + label {
  outline: 2px solid rgba(31, 180, 230, 0.6);
  outline-offset: 4px;
  border-radius: 50%;
}

.libfy-modal-note {
  font-size: 0.85rem;
  color: rgba(31, 147, 205, 0.8);
  margin: 0.5rem 0 0.25rem;
}

.libfy-modal-submit {
  width: 100%;
  margin-top: 0.5rem;
}

.libfy-honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  left: -9999px;
}
@media (max-width: 640px) {
  .libfy-modal-dialog {
    padding: 2rem 1.5rem;
    max-height: 92vh;
  }
}
@media (max-width: 960px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .hero {
    min-height: auto;
  }
}

@media (max-width: 720px) {
  .hero {
    padding: 0 0 3rem;
  }

  .hero-cta {
    flex-direction: column;
    width: 100%;
  }

  .cta-logo {
    width: min(320px, 90%);
  }
}
