/* ==========================================================================
   Base
   ========================================================================== */

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

html {
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--color-text);
  background-color: var(--color-white);
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

/* ==========================================================================
   Layout
   ========================================================================== */

.container {
  width: 100%;
  max-width: var(--content-max-width);
  margin: 0 auto;
}

.section {
  padding: var(--section-padding-y) var(--section-padding-x);
  background-color: var(--color-white);
}

#how-it-works,
#features,
#calculator {
  scroll-margin-top: 92px;
}

.section__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.section__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  width: 584px;
  flex-shrink: 0;
}

.section__desc {
  color: var(--color-text-3);
}

/* ==========================================================================
   Componentes: botones y badge
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 100px;
  white-space: nowrap;
}

.btn--dark {
  background-color: var(--color-blue-dark);
  color: var(--color-white);
}

.btn--purple {
  background-color: var(--color-purple-medium);
  color: var(--color-purple-dark);
}

.btn--white {
  background-color: var(--color-white);
  color: var(--color-blue-dark);
  border: 4px solid var(--color-blue-medium);
}

.btn--sm {
  height: 40px;
  padding: 0 16px;
  font-family: var(--font-body);
  font-weight: 350;
  font-size: 14px;
  line-height: 1.5;
}

.btn--md {
  height: 44px;
  padding: 0 16px;
  font-family: var(--font-body);
  font-weight: 350;
  font-size: 16px;
  line-height: 1.5;
}

.btn--lg {
  height: 48px;
  padding: 0 20px;
  font-family: var(--font-body);
  font-weight: 350;
  font-size: 18px;
  line-height: 1.5;
}

.badge {
  display: inline-block;
  padding: 8px 10px 0px 10px;
  margin-top: -4px;
  transform: rotate(1deg);
  background-color: var(--color-purple-medium);
  color: var(--color-purple-dark);
  border-radius: 12px;
  white-space: nowrap;
}

/* ==========================================================================
   Navbar (Frame 92)
   ========================================================================== */

.navbar {
  position: fixed;
  top: 24px;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  justify-content: center;
  padding: 0 16px;
  pointer-events: none;
}

.navbar__inner {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: var(--content-max-width);
  height: 68px;
  padding: 12px;
  background-color: var(--color-white);
  border: 2px solid var(--color-text-7);
  border-radius: 100px;
  pointer-events: auto;
}

.navbar__logo {
  flex: 1;
  padding-left: 12px;
}

.navbar__menu {
  display: flex;
  align-items: center;
  gap: 20px;
}

.navbar__link {
  font-size: 14px;
  line-height: 1.5;
  color: var(--color-text-3);
}

.navbar__link--active {
  color: var(--color-text);
}

.navbar__actions {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.navbar__logo-mark,
.navbar__cta,
.navbar__burger,
.navbar__dropdown {
  display: none;
}

/* ==========================================================================
   Hero (hero / Frame 209)
   ========================================================================== */

.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  max-height: 1300px;
  padding: 60px;
  overflow: hidden;
}

.hero__bg-wrap {
  position: absolute;
  inset: 0;
  display: block;
}

.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
}

.hero__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.hero__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  width: 584px;
  flex-shrink: 0;
}

.hero__desc {
  color: var(--color-text-3);
}

.hero__cards {
  position: relative;
  width: 588px;
  height: 613px;
  flex-shrink: 0;
}

.hero__fade {
  position: absolute;
  z-index: 4;
  opacity: 0.65;
  pointer-events: none;
  background-image: linear-gradient(90deg, #000000, rgba(0, 0, 0, 0));
}

.hero__fade--1 {
  top: 24px;
  left: 345px;
  width: 96px;
  height: 564px;
}

.hero__fade--2 {
  top: 48px;
  left: 466px;
  width: 96px;
  height: 516px;
}

/* Tarjetas tipo Short */

.short-card {
  position: absolute;
  overflow: hidden;
  border-radius: 12px;
  color: var(--color-white);
}

.short-card--back {
  top: 47px;
  left: 296px;
  z-index: 1;
  width: 292px;
  height: 519px;
}

.short-card--mid {
  top: 23px;
  left: 147px;
  z-index: 2;
  width: 319px;
  height: 567px;
}

.short-card--front {
  top: 0;
  left: 0;
  z-index: 3;
  width: 345px;
  height: 613px;
}

.short-card__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.short-card__overlay {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(
    180deg,
    rgba(30, 38, 42, 0) 55.4%,
    rgba(0, 0, 0, 0.72) 100%
  );
}

.short-card__yt {
  position: absolute;
  top: 12px;
  left: 12px;
  width: 16px;
  height: 21px;
  opacity: 0.84;
}

.short-card__sponsor {
  position: absolute;
  left: 12px;
  bottom: 80px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 8px 6px 6px;
  background-color: var(--color-purple-light);
  border-radius: 8px;
  box-shadow: 0 0 0 2px var(--color-purple-medium);
}

.short-card__sponsor-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background-color: var(--color-purple-dark);
  border-radius: 8px;
}

.short-card__sponsor-text {
  display: flex;
  flex-direction: column;
  color: var(--color-purple-dark);
}

.short-card__sponsor-title {
  font-size: 12px;
  line-height: 18px;
}

.short-card__sponsor-url {
  margin-top: -2px;
  font-size: 10px;
  line-height: 15px;
  opacity: 0.8;
}

.short-card__creator {
  position: absolute;
  left: 12px;
  bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.short-card__creator-row {
  display: flex;
  align-items: center;
  gap: 4px;
}

.short-card__avatar {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  object-fit: cover;
}

.short-card__handle {
  font-size: 12px;
  line-height: 18px;
  opacity: 0.86;
}

.short-card__caption {
  font-size: 12px;
  line-height: 18px;
}

.short-card__actions {
  position: absolute;
  right: 12px;
  bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.short-card__action {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.short-card__action img {
  width: 16px;
  height: 16px;
}

.short-card__action span {
  font-size: 10px;
  line-height: 15px;
}

/* ==========================================================================
   Pasos (Frame 162)
   ========================================================================== */

.steps {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 52px;
  padding: var(--section-padding-y) var(--section-padding-x);
  background-color: var(--color-white);
}

.step-card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  width: 100%;
  max-width: var(--content-max-width);
  min-height: 660px;
  padding: 0 68px;
  background-color: var(--color-blue-dark);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  border-radius: 12px;
  overflow: hidden;
  color: var(--color-white);
}

.step-card--1 {
  background-image: url('../assets/icons/step-1-curve.svg');
}

.step-card--2 {
  background-image: url('../assets/icons/step-2-curve.svg');
}

.step-card--3 {
  background-image: url('../assets/icons/step-3-curve.svg');
}

.step-card__info {
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1 1 50%;
  max-width: 581px;
  min-width: 0;
}

.step-card__number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 68px;
  height: 68px;
  background-color: var(--color-purple-medium);
  color: var(--color-purple-dark);
  border-radius: 50%;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 60px;
  line-height: 0.84;
}

.step-card__title {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.step-card__desc {
  max-width: 446px;
  opacity: 0.78;
}

/* Tarjeta decorativa con campos */

.step-card__panel {
  flex: 1 1 50%;
  max-width: 530px;
  min-width: 0;
  padding: 32px 28px 40px;
  background-color: var(--color-white);
  border: 1.5px solid var(--color-purple-light);
  border-radius: 12px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.02);
  color: var(--color-text-3);
}

.mock-fields {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mock-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.mock-field__label {
  color: var(--color-text-2);
}

.mock-field__control {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mock-select {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 48px;
  padding: 0 12px;
  border: 1.5px solid var(--color-text-6);
  border-radius: 12px;
  font-size: 16px;
  line-height: 24px;
}

.mock-input {
  display: flex;
  align-items: center;
  height: 48px;
  padding: 0 12px;
  border: 1.5px solid var(--color-text-6);
  border-radius: 12px;
  font-size: 16px;
  line-height: 24px;
}

.mock-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 5px;
}

.mock-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 28px;
  padding: 0 8px;
  background-color: var(--color-text-8);
  border: 1.5px solid var(--color-text-6);
  border-radius: 4px;
}

.mock-chip__flag {
  width: 20px;
  height: 10px;
  border-radius: 1px;
  overflow: hidden;
}

.mock-chip__flag img {
  width: 20px;
}

.mock-cpm {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  height: 49px;
  padding: 8px;
  background-color: var(--color-text-8);
  border: 1.5px solid var(--color-text-6);
  border-radius: 12px;
  color: var(--color-text-2);
}

.mock-logo-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mock-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background-color: var(--color-blue-dark);
  border-radius: 12px;
}

.mock-upload {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  height: 48px;
  padding: 0 12px;
  background-color: var(--color-text-8);
  border: 1.5px solid var(--color-text-6);
  border-radius: 12px;
  font-size: 16px;
  line-height: 24px;
}

.mock-upload img {
  width: 20px;
  height: 20px;
}

.mock-swatches {
  display: flex;
  gap: 8px;
}

.mock-swatch {
  width: 32px;
  height: 32px;
  border-radius: 50%;
}

.mock-swatch--selected {
  background-color: #F9F9F9;
  border: 2px solid #EBEBEB;
  box-shadow: 0 0 0 2px var(--color-text-2);
}

.mock-swatch--purple {
  background-color: var(--color-purple-light);
  border: 2px solid #F1D0ED;
}

.mock-swatch--green {
  background-color: var(--color-green-light);
  border: 2px solid #C8EBB3;
}

.mock-swatch--yellow {
  background-color: var(--color-yellow-light);
  border: 2px solid #F8ECAA;
}

.mock-swatch--blue {
  background-color: var(--color-blue-light);
  border: 2px solid #D6E4F0;
}

/* Teléfono del paso 3 */

.step-card__phone-wrap {
  display: flex;
  justify-content: center;
  flex: 1 1 50%;
  max-width: 530px;
  min-width: 0;
}

.step-card__phone {
  position: relative;
  width: 345px;
  height: 579px;
  overflow: hidden;
  border-radius: 12px;
  color: var(--color-white);
}

/* ==========================================================================
   Creators (Frame 152)
   ========================================================================== */

.creators__visual {
  position: relative;
  width: 588px;
  height: 612px;
  flex-shrink: 0;
}

.creators__lines {
  position: absolute;
  top: 7.07%;
  left: 7.36%;
  width: 83.67%;
  height: 83.66%;
}

.creators__avatar {
  position: absolute;
  width: auto;
  height: auto;
  aspect-ratio: 1;
  border-radius: 50%;
  object-fit: cover;
}

.creators__avatar--1 {
  top: 0;
  left: 0;
  width: 15.65%;
}

.creators__avatar--2 {
  top: 80.39%;
  left: 79.59%;
  width: 20.41%;
}

.creators__avatar--3 {
  top: 77.12%;
  left: 17.18%;
  width: 20.41%;
}

.creators__avatar--4 {
  top: 24.35%;
  left: 79.59%;
  width: 20.41%;
}

.creators__avatar--5 {
  top: 56.86%;
  left: 2.04%;
  width: 20.41%;
}

.creators__avatar--6 {
  top: 7.52%;
  left: 76.19%;
  width: 13.61%;
}

.creators__avatar--7 {
  top: 73.86%;
  left: 50%;
  width: 13.61%;
}

.creators__avatar--8 {
  top: 1.96%;
  left: 50%;
  width: 13.61%;
}

.creators__avatar--9 {
  top: 17.65%;
  left: 37.07%;
  width: 15.65%;
}

.creators__avatar--10 {
  top: 57.52%;
  left: 76.19%;
  width: 15.65%;
}

.creators__avatar--11 {
  top: 28.1%;
  left: 4.42%;
  width: 15.65%;
}

.creators__card {
  position: absolute;
  top: 50%;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 16px;
  width: max-content;
  max-width: 100%;
  padding: 16px;
  transform: translate(-50%, -50%);
  background-color: var(--color-blue-dark);
  border-radius: 8px;
  box-shadow: 0 0 0 4px var(--color-text-4);
  color: var(--color-white);
}

.creators__card-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  background-color: var(--color-white);
  border-radius: 8px;
}

.creators__card-text {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.creators__card-title {
  font-size: 18px;
  line-height: 27px;
}

.creators__card-url {
  margin-top: -8px;
  font-size: 16px;
  line-height: 24px;
  opacity: 0.8;
}

/* ==========================================================================
   Analytics (Frame 153)
   ========================================================================== */

.analytics__card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 32px;
  width: 588px;
  height: 612px;
  flex-shrink: 0;
  padding: 40px 32px;
  border: 1.5px solid var(--color-text-6);
  border-radius: 12px;
}

.analytics__group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.analytics__label {
  color: var(--color-text-3);
}

.analytics__stats {
  display: flex;
  gap: 12px;
}

.analytics__stat {
  display: flex;
  flex-direction: column;
  width: 166px;
  padding: 8px 12px;
  border: 1.5px solid var(--color-text-6);
  border-radius: 8px;
}

.analytics__stat-label {
  color: var(--color-text-3);
}

.analytics__stat-value {
  color: var(--color-text-2);
}

.analytics__breakdowns {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.analytics__breakdown {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.analytics__rows {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.analytics__row {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.analytics__row-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: var(--color-text-3);
}

.analytics__row-name {
  display: flex;
  align-items: center;
  gap: 8px;
}

.analytics__flag {
  width: 20px;
  height: 10px;
  border-radius: 1px;
  overflow: hidden;
}

.analytics__flag img {
  width: 20px;
}

.analytics__bar {
  height: 20px;
  background-color: var(--color-text-6);
  border-radius: 4px;
}

.analytics__bar-fill {
  height: 100%;
  background-color: var(--color-purple-medium);
  border-radius: 4px;
}

/* ==========================================================================
   Calculadora (Frame 154)
   ========================================================================== */

.calculator__card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 28px;
  width: 588px;
  height: 612px;
  flex-shrink: 0;
  padding: 40px 32px;
  border: 1.5px solid var(--color-text-6);
  border-radius: 12px;
}

.calculator__controls {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.slider {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.slider__head {
  display: flex;
  flex-direction: column;
}

.slider__label {
  color: var(--color-text-3);
}

.slider__value {
  color: var(--color-text-2);
}

.slider__track {
  position: relative;
  height: 20px;
  cursor: pointer;
  touch-action: none;
}

.slider__bar {
  position: absolute;
  top: 8px;
  left: 1px;
  right: 1px;
  height: 4px;
  background-color: var(--color-purple-medium);
  border-radius: 4px;
}

.slider__dot {
  position: absolute;
  top: 50%;
  width: 13px;
  height: 13px;
  transform: translate(-50%, -50%);
  background-color: var(--color-purple-medium);
  border: 0;
  border-radius: 50%;
  padding: 0;
}

.slider__dot--1 {
  left: 1.25%;
}

.slider__dot--2 {
  left: 33.3%;
}

.slider__dot--3 {
  left: 66%;
}

.slider__dot--4 {
  left: 98.75%;
}

.slider__dot.is-active {
  width: 20px;
  height: 20px;
  border: 7px solid var(--color-purple-dark);
}

.calculator__inputs {
  display: flex;
  gap: 36px;
}

.calculator__input-block {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.calculator__input-label {
  color: var(--color-text-3);
}

.calculator__label-short {
  display: none;
}

.calculator__input {
  display: flex;
  align-items: center;
  width: 119px;
  height: 48px;
  border: 1.5px solid var(--color-text-6);
  border-radius: 12px;
  overflow: hidden;
}

.calculator__input-prefix {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 48px;
  flex-shrink: 0;
  margin-left: 1px;
  background-color: var(--color-text-8);
  color: var(--color-text-3);
}

.calculator__input-field {
  width: 100%;
  min-width: 0;
  padding: 0 8px;
  border: 0;
  outline: none;
  background: none;
  color: var(--color-text-2);
}

.calculator__input-field::-webkit-outer-spin-button,
.calculator__input-field::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.calculator__input-field[type='number'] {
  -moz-appearance: textfield;
  appearance: textfield;
}

.calculator__roas {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.calculator__roas-value {
  display: flex;
  align-items: center;
  height: 48px;
  color: var(--color-text-2);
}

.calculator__divider {
  height: 1.5px;
  background-color: var(--color-text-6);
}

.calculator__summary {
  display: flex;
  flex-direction: column;
}

.calculator__summary-title {
  color: var(--color-text-2);
}

.calculator__summary-row {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--color-text-2);
}

.calculator__pill {
  display: inline-flex;
  align-items: center;
  padding: 3px;
  border-radius: 4px;
}

.calculator__pill--dark {
  background-color: var(--color-purple-dark);
  color: var(--color-purple-medium);
}

.calculator__pill--purple {
  background-color: var(--color-purple-medium);
  color: var(--color-purple-dark);
}

/* ==========================================================================
   CTA (Frame 155)
   ========================================================================== */

.cta {
  padding: var(--section-padding-y) var(--section-padding-x) 128px;
  background-color: var(--color-white);
}

.cta__card {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 660px;
  padding: 40px;
  background-color: var(--color-blue-dark);
  background-image: url('../assets/icons/cta-curve.svg');
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  border-radius: 12px;
  overflow: hidden;
}

.cta__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  max-width: 812px;
  text-align: center;
  color: var(--color-white);
}

.cta__title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.cta__subtitle {
  opacity: 0.78;
}

/* ==========================================================================
   Footer (Frame 196)
   ========================================================================== */

.footer {
  position: relative;
  padding: 128px var(--section-padding-x) 428px;
  background-color: var(--color-blue-dark);
  border-radius: 16px 16px 0 0;
  overflow: hidden;
}

.footer__graphic {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: auto;
  max-width: none;
}

.footer__inner {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 423px;
}

.footer__desc {
  color: var(--color-text-5);
}

.footer__columns {
  display: flex;
  gap: 192px;
}

.footer__column {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer__column-title {
  color: var(--color-text-5);
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer__link {
  color: var(--color-white);
  font-weight: 350;
}

/* ==========================================================================
   Tablet (≤1331px): layouts en columna
   El diseno de escritorio necesita 1332px (1440 de contenido + 60px a cada lado)
   ========================================================================== */

@media (max-width: 1331px) {
  .navbar__menu {
    gap: 16px;
  }

  .hero {
    padding: 128px var(--section-padding-x) var(--section-padding-y);
  }

  .hero__inner,
  .section__inner {
    flex-direction: column;
  }

  .hero__content,
  .section__text {
    width: 100%;
    max-width: 584px;
    align-items: center;
    text-align: center;
  }

  .section__inner > .section__visual,
  .section__inner > .analytics__card,
  .section__inner > .calculator__card {
    order: -1;
  }

  .step-card {
    flex-direction: column;
    gap: 40px;
    padding: 48px 40px;
  }

  .step-card__info {
    width: 100%;
    max-width: none;
    align-items: center;
    text-align: center;
  }

  .step-card__title {
    justify-content: center;
    flex-wrap: wrap;
  }

  .step-card__panel,
  .step-card__phone-wrap {
    width: 100%;
    max-width: 530px;
  }

  .step-card__phone-wrap {
    display: flex;
    justify-content: center;
  }

  .footer__inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer__brand {
    align-items: center;
  }

  .footer__columns {
    justify-content: center;
    gap: 96px;
  }

  .footer__column {
    align-items: center;
  }
}

/* ==========================================================================
   Movil (<=767px)
   ========================================================================== */

@media (max-width: 767px) {
  /* --- Navbar --- */
  .navbar {
    top: 16px;
    padding: 0 16px;
  }

  .navbar__inner {
    height: 56px;
    padding: 10px 20px;
    border-width: 1.5px;
  }

  .navbar__logo-full {
    width: 100px;
    height: auto;
  }

  .navbar__menu,
  .navbar__button {
    display: none;
  }

  .navbar__cta {
    display: inline-flex;
    height: 36px;
    padding: 0 12px;
  }

  .navbar__burger {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 29px;
    height: 36px;
    padding: 0;
  }

  .navbar__burger-bar {
    display: block;
    width: 29px;
    height: 2px;
    background-color: var(--color-text);
    border-radius: 12px;
  }

  .navbar__burger.is-open .navbar__burger-bar {
    width: 16px;
  }

  .navbar__burger.is-open .navbar__burger-bar:nth-child(1) {
    transform: translateY(3.5px) rotate(45deg);
  }

  .navbar__burger.is-open .navbar__burger-bar:nth-child(2) {
    transform: translateY(-3.5px) rotate(-45deg);
  }

  .navbar__dropdown {
    position: absolute;
    top: 60px;
    right: 16px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 20px;
    background-color: var(--color-text-8);
    border: 1px solid var(--color-text-6);
    border-radius: 12px;
    pointer-events: auto;
  }

  .navbar__dropdown[hidden] {
    display: none;
  }

  .navbar__dropdown-link {
    font-size: 16px;
    line-height: 24px;
    color: var(--color-text-2);
    white-space: nowrap;
  }

  /* --- Hero --- */
  .hero {
    min-height: auto;
    padding: 152px 16px 56px;
  }

  .hero__inner {
    gap: 36px;
  }

  .hero__content {
    max-width: none;
    align-items: flex-start;
    text-align: left;
  }

  .hero__cards {
    width: 100%;
    height: auto;
    aspect-ratio: 400 / 493;
  }

  .short-card--front {
    top: 0;
    left: 0;
    width: 74.75%;
    height: 100%;
  }

  .short-card--mid {
    top: 2.43%;
    left: 16.25%;
    width: 71.25%;
    height: 95.13%;
  }

  .short-card--back {
    top: 4.87%;
    left: 32.25%;
    width: 67.75%;
    height: 90.26%;
  }

  .hero__fade--1 {
    top: 2.43%;
    left: 74.75%;
    width: 8%;
    height: 95.13%;
  }

  .hero__fade--2 {
    top: 4.87%;
    left: 87.5%;
    width: 8%;
    height: 90.26%;
  }

  /* --- Secciones --- */
  .section {
    padding: 56px 16px;
  }

  .section__inner {
    gap: 40px;
  }

  .section__text {
    max-width: none;
    align-items: flex-start;
    text-align: left;
  }

  .analytics,
  .calculator {
    padding-top: 24px;
  }

  #how-it-works,
  #features,
  #calculator {
    scroll-margin-top: 76px;
  }

  /* --- Pasos --- */
  .steps {
    padding: 56px 16px;
    gap: 24px;
  }

  .step-card {
    gap: 32px;
    padding: 48px 24px 32px;
    background-size: 100% auto;
    background-position: bottom center;
  }

  .step-card--1 {
    background-image: url('../assets/icons/step-1-curve-mobile.svg');
  }

  .step-card--2 {
    background-image: url('../assets/icons/step-2-curve-mobile.svg');
  }

  .step-card--3 {
    background-image: url('../assets/icons/step-3-curve-mobile.svg');
  }

  .step-card__info {
    align-items: flex-start;
    text-align: left;
    gap: 16px;
  }

  .step-card__title {
    justify-content: flex-start;
  }

  .step-card__number {
    width: 44px;
    height: 44px;
    font-size: 36px;
  }

  .step-card__desc {
    max-width: none;
  }

  .step-card__panel {
    max-width: none;
    padding: 20px 12px;
  }

  .mock-fields {
    gap: 16px;
  }

  .mock-select,
  .mock-input {
    height: 44px;
    padding: 0 10px;
    font-size: 15px;
    line-height: 22.5px;
  }

  .mock-cpm {
    height: 42px;
    padding: 6px 8px;
    font-size: 18px;
    line-height: 27px;
  }

  .step-card__phone {
    width: 100%;
    max-width: 299px;
    height: auto;
    aspect-ratio: 299 / 493;
  }

  /* --- Creators --- */
  .creators__visual {
    width: 100%;
    max-width: 400px;
    height: auto;
    aspect-ratio: 588 / 612;
  }

  .creators__card {
    gap: 12px;
    padding: 12px;
  }

  .creators__card-logo {
    width: 44px;
    height: 44px;
  }

  .creators__card-logo img {
    width: 34px;
    height: 29px;
  }

  .creators__card-title {
    font-size: 16px;
    line-height: 24px;
  }

  .creators__card-url {
    margin-top: -4px;
    font-size: 15px;
    line-height: 22.5px;
  }

  /* --- Analytics --- */
  .analytics__card {
    width: 100%;
    max-width: 400px;
    height: auto;
    padding: 20px;
    gap: 20px;
  }

  .analytics__stat {
    width: auto;
    flex: 1;
    padding: 6px 12px;
  }

  /* --- Calculadora --- */
  .calculator__card {
    width: 100%;
    max-width: 400px;
    height: auto;
    padding: 20px;
    gap: 24px;
  }

  .calculator__controls {
    gap: 12px;
  }

  .slider {
    flex-direction: row;
    align-items: flex-end;
    gap: 0;
  }

  .slider__head {
    flex: 0 0 145px;
  }

  .slider__track {
    flex: 1;
  }

  .slider__dot {
    width: 11px;
    height: 11px;
  }

  .slider__dot.is-active {
    width: 16px;
    height: 16px;
    border-width: 6px;
  }

  .slider__dot--1 {
    left: 2.6%;
  }

  .slider__dot--2 {
    left: 33.4%;
  }

  .slider__dot--3 {
    left: 65.4%;
  }

  .slider__dot--4 {
    left: 97.4%;
  }

  .calculator__inputs {
    gap: 16px;
  }

  .calculator__input-block {
    flex: 0 0 auto;
  }

  .calculator__input {
    width: 100px;
    height: 44px;
  }

  .calculator__input-prefix {
    width: 32px;
    height: 44px;
  }

  .calculator__input-field,
  .calculator__input-prefix {
    font-size: 16px;
    line-height: 24px;
  }

  .calculator__label-full {
    display: none;
  }

  .calculator__label-short {
    display: inline;
  }

  /* --- CTA --- */
  .cta {
    padding: 56px 16px;
  }

  .cta__card {
    min-height: auto;
    padding: 92px 24px 76px;
  }

  /* --- Footer --- */
  .footer {
    padding: 56px 16px 144px;
    border-radius: 12px 12px 0 0;
  }

  .footer__inner {
    align-items: flex-start;
    text-align: left;
    gap: 40px;
  }

  .footer__brand {
    align-items: flex-start;
  }

  .footer__columns {
    flex-direction: column;
    align-items: flex-start;
    gap: 36px;
  }

  .footer__column {
    align-items: flex-start;
  }
}

/* ==========================================================================
   Movil pequeno (<=384px)
   ========================================================================== */

@media (max-width: 403px) {
  .navbar__logo-full {
    display: none;
  }

  .navbar__logo-mark {
    display: block;
  }

  .hero {
    padding: 128px 16px 40px;
  }

  .hero__cards {
    aspect-ratio: 288 / 406;
  }

  .short-card--front {
    width: 85.4%;
    height: 100%;
  }

  .short-card--mid {
    top: 2.46%;
    left: 18.4%;
    width: 81.6%;
    height: 95.1%;
  }

  .short-card--back {
    display: none;
  }

  .hero__fade--1 {
    top: 2.46%;
    left: 85.4%;
    width: 9.4%;
    height: 95.1%;
  }

  .hero__fade--2 {
    display: none;
  }

  .section {
    padding: 40px 16px;
  }

  .steps {
    padding: 40px 16px;
  }

  .step-card {
    gap: 28px;
    padding: 32px 16px 16px;
  }

  .step-card__number {
    width: 40px;
    height: 40px;
    font-size: 28px;
  }

  .step-card__panel {
    padding: 20px 12px;
  }

  .mock-select,
  .mock-input {
    height: 40px;
    padding: 0 10px;
    font-size: 13.5px;
    line-height: 20.25px;
  }

  .mock-chip {
    height: 27px;
  }

  .mock-cpm {
    height: 39px;
    padding: 6px 8px;
    font-size: 16px;
    line-height: 24px;
  }

  .step-card__phone {
    max-width: 256px;
    aspect-ratio: 256 / 421;
  }

  .creators__card-logo img {
    width: 30px;
    height: 26px;
  }

  .creators__card-title {
    font-size: 14px;
    line-height: 21px;
  }

  .creators__card-url {
    font-size: 13.5px;
    line-height: 20.25px;
  }

  .analytics__card,
  .calculator__card {
    padding: 20px 12px;
  }

  .slider__head {
    flex: 0 0 132px;
  }

  .calculator__inputs {
    gap: 12px;
  }

  .calculator__input {
    width: 88px;
    height: 40px;
  }

  .calculator__input-prefix {
    width: 28px;
    height: 40px;
  }

  .calculator__input-field,
  .calculator__input-prefix {
    font-size: 14px;
    line-height: 21px;
  }

  .cta {
    padding: 40px 16px;
  }

  .cta__card {
    padding: 72px 24px 56px;
  }

  .footer {
    padding: 44px 16px 116px;
  }

  .footer__columns {
    gap: 28px;
  }

  .badge{
    margin-top:0;
  }
}

/* ==========================================================================
   Legales y FAQ
   ========================================================================== */

.legal,
.faq {
  padding: 160px var(--section-padding-x) 96px;
  background-color: var(--color-white);
}

.legal__inner,
.faq__inner {
  display: flex;
  flex-direction: column;
  gap: 40px;
  max-width: 860px;
  margin: 0 auto;
}

.legal__header {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-bottom: 32px;
  border-bottom: 2px solid var(--color-text-7);
}

.legal__title {
  color: var(--color-text);
}

.legal__updated {
  color: var(--color-text-3);
}

.legal__body {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.legal__section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.legal__heading {
  font-family: var(--font-body);
  font-weight: 350;
  font-size: 20px;
  line-height: 1.5;
  color: var(--color-text);
}

.legal__section p,
.legal__section li {
  color: var(--color-text-2);
}

.legal__section ul,
.legal__section ol {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-left: 24px;
}

.legal__section a,
.faq__answer a {
  color: var(--color-purple-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.faq__list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq__item {
  background-color: var(--color-white);
  border: 2px solid var(--color-text-7);
  border-radius: 16px;
  transition: border-color 0.2s ease;
}

.faq__item[open] {
  border-color: var(--color-purple-medium);
}

.faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  cursor: pointer;
  list-style: none;
}

.faq__question::-webkit-details-marker {
  display: none;
}

.faq__question-text {
  color: var(--color-text);
}

.faq__icon {
  display: inline-flex;
  flex-shrink: 0;
  color: var(--color-text-3);
  transition: transform 0.2s ease;
}

.faq__item[open] .faq__icon {
  transform: rotate(180deg);
}

.faq__answer {
  padding: 0 24px 20px;
  color: var(--color-text-2);
}

@media (max-width: 767px) {
  .legal,
  .faq {
    padding: 120px 16px 56px;
  }

  .legal__inner,
  .faq__inner {
    gap: 32px;
  }

  .legal__body {
    gap: 32px;
  }
}
