:root {
  --bg: #0b1220;
  --bg2: #0e1930;
  --card: rgba(255, 255, 255, .06);
  --card2: rgba(255, 255, 255, .09);
  --text: #eaf0ff;
  --muted: rgba(234, 240, 255, .72);
  --border: rgba(234, 240, 255, .16);
  --primary: #6ee7ff;
  --primary2: #f59e0b;
  --shadow: 0 20px 60px rgba(0, 0, 0, .45);
  --radius: 20px;
  --radius2: 26px;

  --header-h: 72px;
}

:root {
  color-scheme: dark;
}

[data-theme="light"] {
  color-scheme: light;
}

[data-theme="light"] {
  --bg: #f7f8fb;
  --bg2: #eef2ff;
  --card: rgba(10, 18, 32, .05);
  --card2: rgba(10, 18, 32, .08);
  --text: #0b1220;
  --muted: rgba(11, 18, 32, .72);
  --border: rgba(11, 18, 32, .14);
  --shadow: 0 18px 55px rgba(11, 18, 32, .18);
}

* {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth
}

html {
  scroll-padding-top: var(--header-h);
}

body {
  margin: 0;
  font-family: "Trebuchet MS", "Segoe UI", system-ui, -apple-system, sans-serif;
  background: radial-gradient(1200px 800px at 10% 0%, rgba(110, 231, 255, .20), transparent 55%),
    radial-gradient(900px 700px at 90% 10%, rgba(245, 158, 11, .14), transparent 60%),
    linear-gradient(180deg, var(--bg), var(--bg2));
  color: var(--text);
  line-height: 1.5;
}

[data-theme="light"] body {
  background:
    radial-gradient(1200px 800px at 10% 0%, rgba(14, 165, 233, .10), transparent 55%),
    radial-gradient(900px 700px at 90% 10%, rgba(245, 158, 11, .08), transparent 60%),
    linear-gradient(180deg, var(--bg), var(--bg2));
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--text);
}

img {
  max-width: 100%;
  height: auto
}

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

a:hover {
  opacity: .92
}

:where(a, button, input, textarea, select):focus-visible {
  outline: 3px solid rgba(110, 231, 255, .55);
  outline-offset: 3px;
  border-radius: 14px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 10px;
  background: var(--text);
  color: var(--bg);
  padding: 10px 14px;
  border-radius: 12px;
}

.skip-link:focus {
  left: 10px;
  z-index: 9999
}

.container {
  width: min(1120px, 92%);
  margin-inline: auto
}

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
  background: linear-gradient(180deg, rgba(10, 18, 32, .85), rgba(10, 18, 32, .55));
  border-bottom: 1px solid var(--border);
}

[data-theme="light"] .header {
  background: linear-gradient(180deg, rgba(247, 248, 251, .88), rgba(247, 248, 251, .65));
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: .3px
}

.brand__mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(110, 231, 255, .25), rgba(245, 158, 11, .22));
  border: 1px solid var(--border);
  padding: 5px;
}

.brand__text {
  white-space: nowrap
}

.nav {
  display: none;
  gap: 18px
}

.nav__link {
  color: var(--muted);
  font-weight: 600
}

.nav__link:hover {
  color: var(--text)
}

@media (min-width: 860px) {
  .nav {
    display: flex
  }
}

.header__actions {
  display: flex;
  gap: 10px;
  align-items: center
}

.main {
  padding-bottom: 40px
}

/* HERO premium sin peso */
.hero {
  position: relative;
  overflow: hidden;
  padding: 48px 0 26px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -30% -20% auto -20%;
  height: 520px;
  background:
    radial-gradient(600px 300px at 30% 30%, rgba(110, 231, 255, .18), transparent 60%),
    radial-gradient(520px 260px at 70% 20%, rgba(245, 158, 11, .12), transparent 60%);
  filter: blur(8px);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  display: grid;
  gap: 22px;
  align-items: start
}

@media(min-width: 980px) {
  .hero__inner {
    grid-template-columns: 1.1fr .9fr;
    gap: 34px
  }

  .hero {
    padding: 70px 0 34px
  }
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid var(--border);
  color: var(--muted);
  font-weight: 650;
}

h1 {
  margin: 14px 0 10px;
  font-size: clamp(34px, 4.2vw, 54px);
  line-height: 1.08;
  letter-spacing: -.02em;
}

.hero-title {
  color: var(--text);
  text-shadow: 0 10px 26px rgba(110, 231, 255, .08);
  animation: heroTitleReveal 1.6s ease-out .2s both;
}

@keyframes heroTitleReveal {
  0% {
    opacity: 0;
    transform: translateY(18px);
    letter-spacing: -.06em;
  }

  100% {
    opacity: 1;
    transform: translateY(0);
    letter-spacing: -.02em;
  }
}

[data-theme="light"] .hero-title {
  text-shadow: 0 10px 22px rgba(14, 165, 233, .08);
}

.lead {
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 56ch
}

.hero__cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px
}

/* Proof pills */
.hero-proof {
  margin-top: 14px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.proof {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, .05);
  color: var(--muted);
  font-weight: 700;
}

.proof strong {
  color: var(--text);
}

.proof__dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(110, 231, 255, .65);
  box-shadow: 0 0 0 4px rgba(110, 231, 255, .12);
}

.kpis {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.kpis__item {
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid var(--border);
}

.kpis__num {
  font-size: 1.25rem;
  font-weight: 850
}

.kpis__label {
  display: block;
  color: var(--muted);
  font-size: .92rem
}

.fineprint {
  color: var(--muted);
  font-size: .9rem;
  margin-top: 12px
}

.hero__card {
  display: grid;
  gap: 14px
}

.card {
  border-radius: var(--radius2);
  background: rgba(255, 255, 255, .05);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.glass {
  background: linear-gradient(180deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .04));
  backdrop-filter: blur(14px);
}

.card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
}

.dots {
  display: flex;
  gap: 6px
}

.dots span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(234, 240, 255, .16);
  border: 1px solid var(--border);
}

.card__tag {
  color: var(--muted);
  font-size: .9rem;
  font-weight: 700;
}

.card__content {
  padding: 16px 16px 18px
}

.card__title {
  margin: 2px 0 6px;
  font-size: 1.25rem
}

.card__text {
  margin: 0 0 14px;
  color: var(--muted)
}

.trust__title {
  margin: 14px 0 8px;
  font-weight: 900;
  color: var(--text);
}

.trust__list {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.trust__list li {
  margin: 6px 0;
}

.mini {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.mini__item {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  padding: 10px 12px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, .05);
  color: var(--muted);
  font-weight: 650;
}

.mini__icon {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(110, 231, 255, .18), rgba(245, 158, 11, .12));
  border: 1px solid var(--border);
  color: var(--text);
  flex-shrink: 0;
}

.mini__icon svg {
  width: 16px;
  height: 16px;
  display: block;
  fill: currentColor;
}

.section {
  padding: 54px 0
}

@supports (content-visibility: auto) {
  .section {
    content-visibility: auto;
    contain-intrinsic-size: 1px 760px;
  }
}

.section--alt {
  background: rgba(255, 255, 255, .03);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border)
}

.section__header {
  margin-bottom: 18px
}

.section__header h2 {
  margin: 0 0 6px;
  font-size: clamp(24px, 3vw, 34px)
}

.section__sub {
  margin: 0;
  color: var(--muted)
}

/* Steps */
.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
}

@media(min-width: 900px) {
  .steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.step {
  padding: 16px 16px 18px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, .05);
}

.step__num {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(110, 231, 255, .18), rgba(245, 158, 11, .12));
  border: 1px solid var(--border);
  font-weight: 900;
  margin-bottom: 10px;
}

.step h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}

.step p {
  margin: 0;
  color: var(--muted);
}

/* Demos */
.demos {
  position: relative;
}

.demo-shell {
  display: grid;
  gap: 18px;
}

.demo-slider {
  display: grid;
  gap: 16px;
}

.demo-slider__top {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.demo-picker {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.demo-slider__nav {
  display: flex;
  gap: 10px;
}

.demo-nav {
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, .05);
  color: var(--text);
  font-weight: 800;
  cursor: pointer;
  transition: transform .18s ease, border-color .22s ease, background .22s ease;
}

.demo-nav:hover {
  transform: translateY(-1px);
  border-color: rgba(110, 231, 255, .28);
  background: rgba(255, 255, 255, .08);
}

.demo-chip {
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, .05);
  color: var(--muted);
  font-weight: 800;
  cursor: pointer;
}

.demo-chip:hover {
  color: var(--text);
  border-color: rgba(110, 231, 255, .28);
}

.demo-chip.is-active {
  color: var(--text);
  background: linear-gradient(135deg, rgba(110, 231, 255, .16), rgba(245, 158, 11, .14));
  border-color: rgba(110, 231, 255, .28);
}

.demo-preview {
  padding: 18px;
  display: grid;
  gap: 18px;
}

@media(min-width: 980px) {
  .demo-preview {
    grid-template-columns: 1.05fr .95fr;
    align-items: center;
  }
}

.demo-preview__media {
  display: grid;
  gap: 10px;
}

.demo-preview__eyebrow {
  display: inline-flex;
  width: max-content;
  padding: 7px 11px;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: .86rem;
  font-weight: 800;
}

.demo-preview h3 {
  margin: 0;
  font-size: clamp(1.45rem, 3vw, 2.2rem);
  line-height: 1.08;
}

.demo-preview p {
  margin: 0;
  color: var(--muted);
}

.demo-preview__tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.demo-preview__tags span {
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: .88rem;
  font-weight: 700;
}

.demo-preview__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.demo-window {
  padding: 14px;
  border-radius: 24px;
  border: 1px solid var(--border);
  background: linear-gradient(160deg, rgba(12, 22, 42, .9), rgba(18, 40, 66, .82));
  min-height: clamp(220px, 58vw, 320px);
  transition: background .25s ease, transform .25s ease;
}

.demo-window__frame {
  display: grid;
  gap: 14px;
  height: 100%;
}

.demo-window__top {
  display: flex;
  gap: 6px;
}

.demo-window__top span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .18);
}

.demo-window__screen {
  min-height: clamp(180px, 48vw, 276px);
  aspect-ratio: 16 / 10;
  display: grid;
  place-items: center;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .08);
  background: rgba(255, 255, 255, .04);
}

.demo-window__screen img {
  display: block;
  width: min(100%, 290px);
  max-width: 100%;
  height: auto;
  max-height: 100%;
  object-fit: contain;
  object-position: center center;
  background: rgba(4, 8, 18, .18);
}

.demo-window[data-tone="salud"] {
  background: linear-gradient(160deg, rgba(9, 64, 74, .88), rgba(10, 112, 98, .72));
}

.demo-window[data-tone="gastronomia"] {
  background: linear-gradient(160deg, rgba(58, 28, 12, .92), rgba(123, 63, 21, .78));
}

.demo-window[data-tone="inmobiliaria"] {
  background: linear-gradient(160deg, rgba(30, 28, 70, .9), rgba(42, 90, 143, .78));
}

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

@media(min-width: 920px) {
  .demo-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media(min-width: 980px) {
  .demo-window__screen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
  }
}

.demo-card {
  padding: 16px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, .05);
}

.demo-card__kicker {
  margin: 0 0 6px;
  color: #9fe7f7;
  font-weight: 800;
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.demo-card h3 {
  margin: 0 0 6px;
  font-size: 1.05rem;
}

.demo-card p {
  margin: 0;
  color: var(--muted);
}

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

@media(min-width: 760px) {
  .grid {
    grid-template-columns: repeat(3, minmax(0, 1fr))
  }
}

.feature {
  padding: 16px 16px 18px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, .05);
}

.feature h3 {
  margin: 0 0 8px;
  font-size: 1.05rem
}

.feature p {
  margin: 0;
  color: var(--muted)
}

/* Pricing */
.pricing {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
}

@media(min-width: 920px) {
  .pricing {
    grid-template-columns: repeat(3, minmax(0, 1fr))
  }
}

.price {
  position: relative;
  padding: 18px 16px 16px;
  border-radius: var(--radius2);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, .05);
  box-shadow: var(--shadow);
}

.price h3 {
  margin: 0 0 6px
}

.price__desc {
  margin: 0 0 10px;
  color: var(--muted)
}

.price__value {
  margin: 0 0 12px;
  font-size: 1.9rem;
  font-weight: 900;
  letter-spacing: -.02em
}

.price__value span {
  font-size: 1rem;
  color: var(--muted);
  font-weight: 700
}

.price__list {
  margin: 0 0 14px;
  padding-left: 18px;
  color: var(--muted)
}

.price__list li {
  margin: 6px 0
}

.price--highlight {
  outline: 2px solid rgba(110, 231, 255, .35);
  background: linear-gradient(180deg, rgba(110, 231, 255, .10), rgba(255, 255, 255, .05));
}

.ribbon {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 6px 10px;
  border-radius: 999px;
  font-weight: 800;
  font-size: .85rem;
  border: 1px solid var(--border);
  background: rgba(110, 231, 255, .14);
}

.note {
  margin: 14px 0 0;
  color: var(--muted)
}

/* Quotes */
.quotes {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
}

@media(min-width: 900px) {
  .quotes {
    grid-template-columns: repeat(3, minmax(0, 1fr))
  }
}

.quote {
  padding: 16px 16px 18px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, .05);
  margin: 0;
}

.quote blockquote {
  margin: 0 0 10px;
  color: var(--text);
  font-weight: 650
}

.quote figcaption {
  color: var(--muted)
}

/* Contact */
.contact {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
  align-items: start;
}

@media(min-width: 920px) {
  .contact {
    grid-template-columns: 1.15fr .85fr
  }
}

.form {
  padding: 16px;
  border-radius: var(--radius2);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, .05);
  box-shadow: var(--shadow);
}

.field {
  display: grid;
  gap: 6px;
  margin-bottom: 12px
}

label {
  font-weight: 800
}

input,
textarea {
  width: 100%;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, .04);
  color: var(--text);
  outline: none;
}

input:focus,
textarea:focus {
  border-color: rgba(110, 231, 255, .55);
  box-shadow: 0 0 0 4px rgba(110, 231, 255, .12)
}

.error {
  min-height: 18px;
  color: rgba(255, 120, 120, .95);
  font-weight: 650
}

.contact__aside .card {
  padding: 16px;
  box-shadow: var(--shadow)
}

.check {
  margin: 10px 0 14px;
  padding-left: 18px;
  color: var(--muted)
}

.check li {
  margin: 6px 0
}

/* Buttons */
.btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 14px;
  margin-bottom: 2px;
  border-radius: 16px;
  border: 1px solid var(--border);
  color: var(--text);
  font-weight: 850;
  cursor: pointer;
  transition: transform .18s ease, opacity .18s ease, box-shadow .22s ease, border-color .22s ease, background .22s ease;
}

.btn::after {
  content: "";
  position: absolute;
  inset: -120% auto -120% -35%;
  width: 36%;
  transform: rotate(18deg) translateX(-180%);
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, .22), transparent);
  transition: transform .5s ease;
  pointer-events: none;
}

.btn:active {
  transform: translateY(1px)
}

.btn--full {
  width: 100%
}

.btn--primary {
  background: linear-gradient(135deg, rgba(110, 231, 255, .22), rgba(245, 158, 11, .18));
}

.btn--secondary {
  background: rgba(255, 255, 255, .06);
}

.btn--ghost {
  background: transparent;
  color: var(--muted);
}

/* Hover solo con mouse */
@media (hover: hover) and (pointer: fine) {
  .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, .18);
  }

  .btn:hover::after {
    transform: rotate(18deg) translateX(520%);
  }

  .btn--primary:hover {
    border-color: rgba(110, 231, 255, .35);
    box-shadow: 0 16px 34px rgba(110, 231, 255, .12);
  }

  .btn--secondary:hover {
    background: rgba(255, 255, 255, .1);
    border-color: rgba(245, 158, 11, .22);
  }

  .btn--ghost:hover {
    color: var(--text);
    background: rgba(255, 255, 255, .05);
    border-color: rgba(255, 255, 255, .18);
  }

  .feature,
  .demo-card,
  .price,
  .quote,
  .step {
    transition: transform .18s ease, border-color .2s ease, background .2s ease;
  }

  .feature:hover,
  .demo-card:hover,
  .price:hover,
  .quote:hover,
  .step:hover {
    transform: translateY(-2px);
    border-color: rgba(110, 231, 255, .26);
    background: rgba(255, 255, 255, .06);
  }
}

/* Footer */
.footer {
  padding: 28px 0 40px;
  border-top: 1px solid var(--border);
  color: var(--muted);
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap
}

.footer__links {
  display: flex;
  gap: 14px
}

.footer__links a {
  color: var(--muted)
}

.footer__links a:hover {
  color: var(--text)
}

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

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(10px);
}

.reveal--in {
  opacity: 1;
  transform: translateY(0);
  transition: opacity .38s ease, transform .38s ease;
}

/* Mobile sticky CTA */
.mobile-cta {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  display: flex;
  gap: 10px;
  z-index: 60;
  padding: 10px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: rgba(10, 18, 32, .65);
  backdrop-filter: blur(14px);
}

[data-theme="light"] .mobile-cta {
  background: rgba(247, 248, 251, .72);
}

.mobile-cta__btn {
  flex: 1;
}

@media(min-width: 860px) {
  .mobile-cta {
    display: none;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto;
    transition: none !important
  }

  .hero-title {
    animation: none
  }

  .hero::before {
    filter: none;
  }

  .reveal,
  .reveal--in {
    opacity: 1;
    transform: none;
    transition: none;
  }
}