:root {
  color-scheme: light;
  --ink: #1a1917;
  --muted: #686660;
  --line: #e9e6df;
  --surface: #ffffff;
  --surface-soft: #f8f7f3;
  --yellow: #e8bd45;
  --yellow-soft: #fff6d8;
  --green: #176b45;
  --green-hover: #105537;
  --green-soft: #f1f8f4;
  --black: #171715;
  --radius-small: 10px;
  --radius-medium: 16px;
  --radius-large: 22px;
  --shadow-soft: 0 10px 28px rgb(26 25 23 / 6%);
  --shadow-card: 0 5px 16px rgb(26 25 23 / 5%);
  --focus: #075fcc;
}

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

html {
  background: #f0efec;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background: #f0efec;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  -webkit-tap-highlight-color: transparent;
}

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

h1,
h2,
h3,
p,
figure,
blockquote {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1.14;
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

mark {
  padding: 0 0.04em;
  color: inherit;
  background: linear-gradient(transparent 66%, #ffe88f 66%, #ffe88f 91%, transparent 91%);
}

[hidden] {
  display: none !important;
}

.app-shell {
  width: 100%;
  max-width: 480px;
  min-height: 100vh;
  margin: 0 auto;
  overflow: clip;
  background: var(--surface);
  box-shadow: 0 0 46px rgb(26 25 23 / 8%);
}

.experience-header {
  position: sticky;
  z-index: 20;
  top: 0;
  display: grid;
  gap: 7px;
  min-height: 62px;
  padding: 9px 20px 9px;
  border-bottom: 1px solid rgb(233 230 223 / 82%);
  background: rgb(255 255 255 / 96%);
  backdrop-filter: blur(12px);
}

.back-button {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  min-height: 38px;
  margin: -5px 0 -6px;
  padding: 4px 2px;
  border: 0;
  color: var(--muted);
  background: transparent;
  font-size: 0.74rem;
  font-weight: 650;
  cursor: pointer;
}

.back-button span:first-child {
  margin-right: 6px;
  font-size: 1rem;
}

.progress-group {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
}

.progress-track {
  height: 5px;
  overflow: hidden;
  border-radius: 999px;
  background: #ebe9e4;
}

.progress-value {
  display: block;
  width: 8%;
  height: 100%;
  border-radius: inherit;
  background: var(--yellow);
  transition: width 260ms ease;
}

.progress-label {
  min-width: 3ch;
  color: var(--muted);
  font-size: 0.7rem;
  font-variant-numeric: tabular-nums;
  font-weight: 750;
  text-align: right;
}

.main-content {
  min-height: calc(100vh - 62px);
}

.step {
  padding: 30px 20px 48px;
}

.step.is-entering {
  animation: step-in 240ms ease both;
}

.step.is-leaving {
  animation: step-out 200ms ease both;
}

@keyframes step-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes step-out {
  from {
    opacity: 1;
    transform: translateY(0);
  }

  to {
    opacity: 0;
    transform: translateY(-10px);
  }
}

.eyebrow {
  margin-bottom: 9px;
  color: #705600;
  font-size: 0.69rem;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.step-title {
  margin-bottom: 14px;
  font-size: clamp(1.95rem, 8vw, 2.4rem);
  letter-spacing: -0.042em;
  line-height: 1.08;
}

.step--promise .step-title {
  font-size: clamp(2.08rem, 8.8vw, 2.58rem);
}

.step-title:focus {
  outline: none;
}

.step-subtitle {
  margin-bottom: 26px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.58;
}

.section-title {
  margin-bottom: 13px;
  font-size: 1.36rem;
  letter-spacing: -0.025em;
}

.content-card,
.transition-card,
.offer-summary,
.authority-card,
.guarantee-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-large);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.asset-visual {
  position: relative;
  width: 100%;
  margin: 0;
  overflow: hidden;
  border: 1px solid #e4e1da;
  border-radius: var(--radius-medium);
  background: var(--surface-soft);
}

.asset-visual--landscape {
  aspect-ratio: 4 / 3;
}

.asset-visual--portrait {
  aspect-ratio: 0.72;
}

.asset-visual--square {
  aspect-ratio: 1;
}

.asset-visual--testimonial {
  aspect-ratio: 928 / 782;
  background: #ffffff;
}

.asset-visual img,
.asset-visual picture,
.asset-placeholder {
  width: 100%;
  height: 100%;
}

.asset-visual picture {
  display: block;
}

.asset-visual img {
  object-fit: contain;
}

.asset-placeholder {
  display: grid;
  place-content: center;
  gap: 8px;
  min-height: 140px;
  padding: 16px;
  color: #777770;
  background:
    linear-gradient(135deg, rgb(255 255 255 / 45%), transparent 50%),
    repeating-linear-gradient(135deg, #f4f4f1 0, #f4f4f1 12px, #efefeb 12px, #efefeb 24px);
  text-align: center;
}

.asset-placeholder__id {
  justify-self: center;
  padding: 3px 8px;
  border: 1px solid #cfcfca;
  border-radius: 999px;
  color: #4a4a46;
  background: rgb(255 255 255 / 74%);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.asset-placeholder__label {
  color: #444440;
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.3;
}

.asset-placeholder__status {
  font-size: 0.69rem;
}

.viewer-trigger {
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: var(--radius-medium);
  background: transparent;
  cursor: zoom-in;
}

.hero-visual {
  margin-bottom: 30px;
  border: 0;
  border-radius: 18px;
  box-shadow: 0 8px 24px rgb(26 25 23 / 6%);
}

.mechanism-card {
  margin-bottom: 36px;
  padding: 20px;
  border-color: #f0dfaa;
  border-radius: 18px;
  background: var(--yellow-soft);
  box-shadow: none;
}

.mechanism-card p:last-child {
  margin-bottom: 0;
}

.comparison-section {
  margin-bottom: 34px;
}

.comparison-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.comparison-card {
  min-width: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.comparison-card h3 {
  min-height: 2.35em;
  margin: 0 2px 8px;
  font-size: 0.82rem;
  line-height: 1.2;
}

.comparison-card .asset-visual,
.comparison-card .viewer-trigger {
  border-radius: 14px;
}

.transition-card {
  margin-top: 34px;
  padding: 22px;
  border-radius: 20px;
  box-shadow: var(--shadow-card);
  text-align: center;
}

.transition-card p:last-of-type {
  margin-bottom: 20px;
}

.transition-question {
  font-size: 1.06rem;
  font-weight: 800;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 50px;
  padding: 13px 18px;
  border: 2px solid transparent;
  border-radius: 14px;
  color: #ffffff;
  font-weight: 900;
  line-height: 1.15;
  text-align: center;
  cursor: pointer;
  transition: transform 140ms ease, background-color 140ms ease, box-shadow 140ms ease;
}

.button--primary {
  background: var(--black);
  box-shadow: 0 6px 14px rgb(23 23 21 / 17%);
}

.button--commercial {
  background: var(--green);
  box-shadow: 0 6px 14px rgb(23 107 69 / 17%);
}

.button:hover:not(:disabled) {
  transform: translateY(-1px);
}

.button--primary:hover:not(:disabled) {
  background: #292929;
}

.button--commercial:hover:not(:disabled) {
  background: var(--green-hover);
}

.button:active:not(:disabled) {
  transform: translateY(1px);
  box-shadow: none;
}

.button:disabled,
.back-button:disabled {
  cursor: wait;
  opacity: 0.55;
}

.button:focus-visible,
.back-button:focus-visible,
.icon-button:focus-visible,
.carousel-indicator:focus-visible,
.viewer-trigger:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.demo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 14px;
}

.demo-card {
  min-width: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.demo-card h2 {
  margin: 9px 2px 0;
  font-size: 0.86rem;
  line-height: 1.2;
}

.demo-card .asset-visual,
.demo-card .viewer-trigger {
  border-radius: 14px;
}

.demo-card .asset-placeholder {
  min-height: 168px;
  padding: 9px;
}

.demo-card .asset-placeholder__label {
  font-size: 0.72rem;
}

.microcopy,
.checkout-microcopy {
  color: var(--muted);
  font-size: 0.86rem;
}

.microcopy {
  margin: 24px 6px 0;
  text-align: center;
}

.testimonial-carousel {
  margin: 28px 0 18px;
}

.testimonial-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
  box-shadow: var(--shadow-card);
}

.testimonial-card > .asset-visual {
  border: 0;
  border-radius: 0;
}

.testimonial-card__content {
  padding: 18px;
}

.testimonial-card blockquote {
  margin-bottom: 16px;
  color: #30302e;
  font-size: 0.95rem;
  font-style: italic;
  overflow-wrap: anywhere;
}

.development-label {
  display: inline-block;
  margin-bottom: 12px;
  padding: 4px 8px;
  border-radius: 6px;
  color: #654e00;
  background: var(--yellow-soft);
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
}

.testimonial-name {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 12px;
}

.icon-button {
  display: inline-grid;
  width: 38px;
  height: 38px;
  padding: 0;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  background: var(--surface);
  font-size: 1rem;
  cursor: pointer;
}

.carousel-indicators {
  display: flex;
  align-items: center;
  gap: 8px;
}

.carousel-indicator {
  width: 34px;
  height: 38px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.carousel-indicator::before {
  display: block;
  width: 9px;
  height: 9px;
  margin: auto;
  border-radius: 999px;
  background: #c8c8c3;
  content: "";
}

.carousel-indicator[aria-current="true"]::before {
  width: 20px;
  background: var(--black);
}

.featured-testimonial {
  margin: 20px 0 36px;
}

.featured-testimonial::before {
  display: block;
  margin: 0 0 10px 4px;
  color: var(--muted);
  content: "Testimonio destacado";
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.application-list {
  display: grid;
  gap: 10px;
}

.application-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--surface-soft);
}

.application-card__number {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 50%;
  color: var(--ink);
  background: var(--yellow);
  font-size: 0.72rem;
  font-weight: 900;
}

.application-card h3 {
  margin-bottom: 5px;
  font-size: 0.95rem;
}

.application-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.summary-copy {
  margin: 20px 4px 0;
  font-weight: 700;
}

.bonus-list {
  display: grid;
  gap: 16px;
}

.bonus-card {
  display: grid;
  grid-template-columns: minmax(112px, 0.85fr) minmax(0, 1.15fr);
  align-items: center;
  gap: 16px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
  box-shadow: var(--shadow-card);
}

.bonus-card__content {
  padding: 8px 8px 8px 0;
}

.bonus-card h2 {
  margin-bottom: 8px;
  font-size: 1.03rem;
}

.bonus-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.guarantee-card {
  display: grid;
  gap: 18px;
  margin-bottom: 28px;
  padding: 22px;
  border-color: #d7e9dd;
  background: var(--green-soft);
  box-shadow: none;
}

.guarantee-card .step-title {
  font-size: 1.86rem;
}

.guarantee-card p:last-child {
  margin-bottom: 0;
}

.guarantee-seal {
  display: grid;
  width: 66px;
  height: 66px;
  place-items: center;
  border: 2px solid var(--green);
  border-radius: 50%;
  color: #ffffff;
  background: var(--green);
  box-shadow: 0 0 0 5px #dcefe4;
}

.guarantee-seal span {
  font-size: 1.7rem;
  font-weight: 900;
}

.offer-summary,
.authority-card {
  margin-bottom: 28px;
  padding: 22px;
  box-shadow: var(--shadow-card);
}

.offer-mockup {
  margin: 22px 0;
  border: 0;
  border-radius: 18px;
}

.deliverables-list,
.commercial-details {
  display: grid;
  gap: 10px;
  margin: 20px 0;
  padding: 0;
  list-style: none;
}

.deliverables-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 10px;
  font-weight: 700;
}

.checkmark {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 50%;
  color: #ffffff;
  background: var(--green);
  font-size: 0.75rem;
}

.commercial-details {
  padding: 14px;
  border: 1px solid #d7e9dd;
  border-radius: var(--radius-small);
  background: var(--green-soft);
}

.commercial-details li {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 9px;
  font-weight: 700;
}

.checkmark--small {
  width: 20px;
  height: 20px;
  font-size: 0.68rem;
}

.checkout-block {
  margin-top: 24px;
  padding: 18px;
  border-radius: 16px;
  background: var(--green-soft);
  text-align: center;
}

.checkout-microcopy {
  margin-bottom: 14px;
}

.authority-card .asset-visual {
  margin: 18px 0;
  border-style: solid;
}

.authority-copy p {
  color: #3d3c38;
}

.authority-copy p:last-child {
  margin-bottom: 0;
}

.authority-closing {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--ink) !important;
  font-weight: 750;
}

.closing-copy {
  margin: 32px 18px 0;
  color: var(--muted);
  font-style: italic;
  text-align: center;
}

.image-viewer {
  width: min(92vw, 680px);
  max-height: 90vh;
  padding: 0;
  border: 0;
  border-radius: var(--radius-large);
  box-shadow: 0 30px 90px rgb(0 0 0 / 35%);
}

.image-viewer::backdrop {
  background: rgb(0 0 0 / 72%);
}

.image-viewer__panel {
  padding: 20px;
}

.image-viewer .asset-visual {
  max-height: calc(90vh - 100px);
  border: 0;
  background: #ffffff;
}

.image-viewer .asset-visual picture,
.image-viewer .asset-visual img {
  max-height: calc(90vh - 100px);
}

.image-viewer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.image-viewer__header h2 {
  margin: 0;
  font-size: 1.2rem;
}

.noscript-message {
  margin: 20px;
  padding: 18px;
  border: 1px solid #c58b00;
  border-radius: var(--radius-small);
  background: var(--yellow-soft);
  font-weight: 700;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

@media (min-width: 430px) {
  .step {
    padding-right: 24px;
    padding-left: 24px;
  }

  .guarantee-card {
    grid-template-columns: auto 1fr;
    align-items: start;
  }
}

@media (min-width: 760px) {
  body {
    padding: 24px 0;
  }

  .app-shell {
    min-height: calc(100vh - 48px);
    border-radius: 24px;
  }

  .experience-header {
    border-radius: 24px 24px 0 0;
  }
}

@media (max-width: 359px) {
  .experience-header,
  .step {
    padding-right: 16px;
    padding-left: 16px;
  }

  .step-title {
    font-size: 1.82rem;
  }

  .transition-card,
  .offer-summary,
  .authority-card,
  .guarantee-card {
    padding: 20px;
  }

  .bonus-card {
    grid-template-columns: minmax(88px, 0.76fr) minmax(0, 1.24fr);
    gap: 12px;
  }

  .bonus-card__content {
    padding: 4px 4px 4px 0;
  }

  .bonus-card h2 {
    font-size: 0.94rem;
  }

  .bonus-card p {
    font-size: 0.76rem;
  }

  .checkout-block .button--commercial {
    padding-right: 10px;
    padding-left: 10px;
    font-size: 0.8rem;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
