:root {
  --bg: #F5F5F2;
  --bg-2: #ECECE7;
  --surface: #FFFFFF;
  --ink: #17181C;
  --ink-2: #3B3E45;
  --muted: #5E626B;
  --line: #DDDDD6;
  --accent: #C2410C;
  --accent-hover: #A8380A;
  --accent-soft: #FDEBDD;
  --accent-bright: #F97316;
  --on-accent: #FFFFFF;
  --ok: #15803D;
  --ok-soft: #DCF3E3;
  --late: #B91C1C;
  --late-soft: #FDE4E2;
  --soon: #92400E;
  --soon-soft: #FEF0C7;
  --wa: #25D366;
  --shadow: 0 1px 2px rgb(23 24 28 / 0.06), 0 12px 32px -12px rgb(23 24 28 / 0.18);
  --shadow-lg: 0 2px 4px rgb(23 24 28 / 0.06), 0 30px 60px -20px rgb(23 24 28 / 0.35);
  --radius: 16px;
  --radius-sm: 10px;
  --font-display: "Bricolage Grotesque", system-ui, sans-serif;
  --font-body: "Onest", system-ui, sans-serif;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --nav-h: 68px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111214;
    --bg-2: #17191C;
    --surface: #1C1E22;
    --ink: #F2F2EF;
    --ink-2: #D2D3D0;
    --muted: #A2A6AD;
    --line: #2C2F34;
    --accent: #FB8A3C;
    --accent-hover: #FDA15F;
    --accent-soft: #3A2415;
    --accent-bright: #FB8A3C;
    --on-accent: #1A1109;
    --ok: #4ADE80;
    --ok-soft: #163322;
    --late: #F87171;
    --late-soft: #3A1A1A;
    --soon: #FBBF24;
    --soon-soft: #372A12;
    --shadow: 0 1px 2px rgb(0 0 0 / 0.4), 0 12px 32px -12px rgb(0 0 0 / 0.6);
    --shadow-lg: 0 2px 4px rgb(0 0 0 / 0.4), 0 30px 60px -20px rgb(0 0 0 / 0.8);
    color-scheme: dark;
  }
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: inherit;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0;
  text-wrap: balance;
}

p {
  margin: 0;
}

:focus-visible {
  outline: 3px solid var(--accent-bright);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  background: var(--ink);
  color: var(--bg);
  padding: 10px 16px;
  border-radius: 999px;
  text-decoration: none;
}

.skip:focus {
  top: 12px;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font: 600 1rem/1 var(--font-body);
  text-decoration: none;
  white-space: nowrap;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: scale 0.2s var(--ease-out), background-color 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.btn i {
  font-size: 1.3em;
}

.btn:active {
  scale: 0.97;
}

.btn--primary {
  background: var(--accent);
  color: var(--on-accent);
  box-shadow: 0 8px 20px -8px rgb(194 65 12 / 0.55);
}

.btn--primary:hover {
  background: var(--accent-hover);
}

.btn--ghost {
  border-color: var(--line);
  color: var(--ink);
  background: var(--surface);
}

.btn--ghost:hover {
  border-color: var(--ink);
}

.btn--light {
  background: #FFFFFF;
  color: #17181C;
}

.btn--light:hover {
  background: #F2F2EF;
}

.btn--sm {
  min-height: 42px;
  padding: 0 16px;
  font-size: 0.9375rem;
}

.btn--lg {
  min-height: 56px;
  padding: 0 28px;
  font-size: 1.0625rem;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}

.nav.is-scrolled {
  border-bottom-color: var(--line);
}

.nav__inner {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: 24px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: -0.02em;
}

.logo__mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--accent);
  color: var(--on-accent);
  font-size: 1.15rem;
}

.nav__links {
  display: none;
  gap: 28px;
  margin-left: auto;
}

.nav__links a {
  text-decoration: none;
  color: var(--ink-2);
  font-weight: 500;
  font-size: 0.975rem;
}

.nav__links a:hover {
  color: var(--accent);
}

.nav__cta {
  display: none;
}

.nav__burger {
  margin-left: auto;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  color: var(--ink);
  font-size: 1.4rem;
  cursor: pointer;
}

.nav__mobile {
  display: grid;
  padding: 8px 20px 20px;
  border-bottom: 1px solid var(--line);
}

.nav__mobile[hidden] {
  display: none;
}

.nav__mobile a {
  padding: 14px 0;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  border-bottom: 1px solid var(--line);
}

@media (min-width: 1024px) {
  .nav__links,
  .nav__cta {
    display: flex;
  }
  .nav__burger,
  .nav__mobile {
    display: none !important;
  }
}

.hero {
  padding: 40px 0 64px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto auto;
  width: 70vw;
  height: 70vw;
  max-width: 820px;
  max-height: 820px;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--accent-bright) 22%, transparent), transparent);
  pointer-events: none;
}

.hero__grid {
  position: relative;
  display: grid;
  gap: 48px;
  align-items: center;
}

.hero__pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-2);
  margin-bottom: 22px;
}

.hero__pill i {
  color: var(--accent);
}

.hero__title {
  font-size: clamp(2.4rem, 5.8vw, 4rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.035em;
}

.hero__accent {
  display: block;
  color: var(--accent);
}

.hero__sub {
  margin-top: 22px;
  font-size: clamp(1.1rem, 2vw, 1.25rem);
  color: var(--ink-2);
  max-width: 36ch;
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.phone {
  position: relative;
  width: min(340px, 88vw);
  border-radius: 44px;
  padding: 12px;
  background: #0E0F11;
  box-shadow: var(--shadow-lg), inset 0 0 0 1.5px #2A2C31;
}

.phone__notch {
  position: absolute;
  top: 20px;
  left: 50%;
  translate: -50% 0;
  width: 92px;
  height: 24px;
  border-radius: 999px;
  background: #0E0F11;
  z-index: 3;
}

.app {
  border-radius: 34px;
  background: #F7F7F4;
  color: #17181C;
  padding: 52px 16px 18px;
  min-height: 560px;
  overflow: hidden;
}

.app__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.app__hello {
  font-weight: 700;
  font-size: 1.05rem;
}

.app__biz {
  font-size: 0.82rem;
  color: #5E626B;
}

.app__avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #FDEBDD;
  color: #C2410C;
  font-weight: 700;
}

.app__total {
  margin-top: 16px;
  padding: 16px;
  border-radius: 18px;
  background: #17181C;
  color: #F2F2EF;
}

.app__label {
  font-size: 0.8rem;
  color: #A2A6AD;
}

.app__amount {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.1rem;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.app__meta {
  font-size: 0.8rem;
  color: #FDBA74;
}

.app__list {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.row {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas: "who amount" "btn btn";
  gap: 8px 10px;
  padding: 12px;
  border-radius: 14px;
  background: #FFFFFF;
  border: 1px solid #E6E6E0;
  transition: background-color 0.4s, border-color 0.4s;
}

.row__who {
  grid-area: who;
  min-width: 0;
}

.row__name {
  font-weight: 600;
  font-size: 0.92rem;
}

.row__state {
  font-size: 0.78rem;
  color: #92400E;
}

.row__state--late {
  color: #B91C1C;
}

.row__amount {
  grid-area: amount;
  font-weight: 700;
  font-size: 0.95rem;
  font-variant-numeric: tabular-nums;
}

.row__btn {
  grid-area: btn;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 34px;
  border: 0;
  border-radius: 999px;
  background: #E7F8EE;
  color: #0F6B33;
  font: 600 0.82rem/1 var(--font-body);
  cursor: pointer;
  transition: transform 0.15s var(--ease-out), background-color 0.2s;
}

.row__btn:hover {
  background: #D2F2DE;
}

.row__btn:active,
.row__btn.is-press {
  transform: scale(0.95);
}

.row.is-sent .row__btn {
  background: #EDEDE8;
  color: #5E626B;
  pointer-events: none;
}

.row.is-paid {
  background: #EFFAF3;
  border-color: #BFE8CD;
}

.row.is-paid .row__state {
  color: #15803D;
  font-weight: 600;
}

.row.is-paid .row__amount {
  color: #15803D;
  text-decoration: line-through;
  text-decoration-thickness: 1.5px;
}

.row.is-paid .row__btn {
  display: none;
}

.toast {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 26px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 16px;
  background: #17181C;
  color: #F2F2EF;
  font-size: 0.86rem;
  font-weight: 500;
  box-shadow: 0 12px 30px -10px rgb(0 0 0 / 0.5);
  opacity: 0;
  translate: 0 12px;
  transition: opacity 0.35s var(--ease-out), translate 0.35s var(--ease-out);
  pointer-events: none;
}

.toast i {
  color: #4ADE80;
  font-size: 1.3rem;
}

.toast.is-on {
  opacity: 1;
  translate: 0 0;
}

.chip-float {
  position: absolute;
  left: 0;
  bottom: 70px;
  display: none;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.chip-float i {
  font-size: 1.6rem;
  color: var(--ok);
}

.chip-float__title {
  font-weight: 700;
  font-size: 0.9rem;
}

.chip-float__sub {
  font-size: 0.8rem;
  color: var(--muted);
}

@media (min-width: 960px) {
  .hero {
    padding: 56px 0 96px;
  }
  .hero__grid {
    grid-template-columns: 1.15fr 1fr;
    gap: 40px;
  }
  .chip-float {
    display: flex;
  }
}

.band {
  padding: 26px 0;
  border-block: 1px solid var(--line);
  background: var(--bg-2);
}

.band__label {
  text-align: center;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 14px;
}

.marquee {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.marquee__track {
  display: flex;
  gap: 44px;
  width: max-content;
  animation: marquee 38s linear infinite;
}

.marquee__track span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--ink-2);
  white-space: nowrap;
}

.marquee__track i {
  font-size: 1.5rem;
  color: var(--accent);
}

@keyframes marquee {
  to {
    transform: translateX(calc(-50% - 22px));
  }
}

.section {
  padding: 88px 0;
}

.section__title {
  font-size: clamp(2rem, 4.6vw, 3.1rem);
  font-weight: 800;
  max-width: 20ch;
}

.section__sub {
  margin-top: 14px;
  color: var(--muted);
  font-size: 1.125rem;
  max-width: 56ch;
}

.pains {
  margin-top: 40px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.pain {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  text-align: left;
  padding: 20px 52px 20px 20px;
  min-height: 92px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1.5px solid var(--line);
  color: var(--ink);
  font: 600 1.075rem/1.35 var(--font-body);
  cursor: pointer;
  transition: border-color 0.2s, background-color 0.2s, translate 0.2s var(--ease-out), scale 0.2s var(--ease-out), box-shadow 0.2s;
}

.pain:hover {
  border-color: color-mix(in srgb, var(--accent) 50%, var(--line));
  translate: 0 -2px;
  box-shadow: var(--shadow);
}

.pain:active {
  scale: 0.98;
}

.pain__icon {
  font-size: 1.8rem;
  color: var(--accent);
  flex-shrink: 0;
}

.pain__check {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 1.5rem;
  color: var(--accent);
  opacity: 0;
  scale: 0.4;
  transition: opacity 0.2s, scale 0.3s var(--ease-out);
}

.pain[aria-pressed="true"] {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.pain[aria-pressed="true"] .pain__check {
  opacity: 1;
  scale: 1;
}

@media (max-width: 639px) {
  .section {
    padding: 64px 0;
  }
  .pains {
    margin-top: 28px;
    gap: 8px;
  }
  .pain {
    min-height: 0;
    padding: 14px 44px 14px 14px;
    font-size: 1rem;
    align-items: center;
  }
  .pain__icon {
    font-size: 1.5rem;
  }
  .pain__check {
    top: 50%;
    translate: 0 -50%;
  }
  .app {
    min-height: 0;
  }
  .row:nth-child(n + 4) {
    display: none;
  }
  .about__grid {
    gap: 28px;
  }
  .steps__list {
    margin-top: 28px;
    gap: 20px;
  }
  .step {
    display: grid;
    grid-template-columns: 48px 1fr;
    column-gap: 14px;
  }
  .step__icon {
    width: 48px;
    height: 48px;
    font-size: 1.4rem;
    border-radius: 14px;
    margin: 0;
    grid-row: span 2;
  }
  .step h3 {
    font-size: 1.15rem;
    align-self: center;
  }
  .step p {
    margin-top: 4px;
  }
  .price {
    margin-top: 36px;
    padding: 22px;
  }
}

@media (min-width: 640px) {
  .pains {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .pains {
    grid-template-columns: repeat(4, 1fr);
  }
  .pain--wide {
    grid-column: span 2;
    font-size: 1.3rem;
    padding: 26px 56px 26px 26px;
  }
  .pain--wide .pain__icon {
    font-size: 2.2rem;
  }
}

.pick {
  position: sticky;
  bottom: 16px;
  z-index: 10;
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 20px;
  background: var(--ink);
  color: var(--bg);
  box-shadow: var(--shadow-lg);
}

.pick__count {
  font-weight: 600;
}

.pick__fixes {
  list-style: none;
  padding: 0;
  margin: 6px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.pick__fixes li {
  font-size: 0.82rem;
  padding: 4px 10px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--bg) 14%, transparent);
}

.pick__btn.is-disabled {
  opacity: 0.45;
  pointer-events: none;
  box-shadow: none;
}

.compare__frame {
  --pos: 50%;
  position: relative;
  margin-top: 40px;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  min-height: 440px;
  user-select: none;
  touch-action: pan-y;
}

.compare__layer {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 56px 16px 24px;
}

.compare__before {
  background: #E9EAE4;
  color: #17181C;
}

.compare__after {
  background: #FFFFFF;
  color: #17181C;
  clip-path: inset(0 0 0 var(--pos));
}

.xl {
  width: min(880px, 100%);
  background: #FFFFFF;
  border: 1px solid #C9CBC3;
  font-family: "Calibri", "Carlito", system-ui, sans-serif;
  font-size: 0.9rem;
}

.xl__bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: #1D6F42;
  color: #FFFFFF;
  font-size: 0.82rem;
}

.xl__grid {
  width: 100%;
  border-collapse: collapse;
}

.xl__grid th,
.xl__grid td {
  border: 1px solid #D4D5CF;
  padding: 6px 8px;
  text-align: left;
  white-space: nowrap;
}

.xl__grid th {
  background: #F1F2EE;
  color: #6B6F68;
  font-weight: 400;
  font-size: 0.78rem;
  width: 28px;
}

.xl__grid .b {
  font-weight: 700;
}

.xl__grid .y {
  background: #FFF59D;
}

.xl__grid .r {
  color: #D00000;
  font-weight: 700;
}

.xl__grid .err {
  color: #D00000;
}

.xl__note {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  font-size: 0.82rem;
  color: #6B6F68;
  font-style: italic;
}

.sys {
  width: min(880px, 100%);
  font-family: var(--font-body);
}

.sys__head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 14px;
}

.sys__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.4rem;
}

.sys__sum {
  color: #5E626B;
  font-size: 0.9rem;
}

.sys__sum strong {
  color: #15803D;
}

.sys__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}

.sys__list li {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #F7F7F4;
  border: 1px solid #E6E6E0;
}

.sys__name {
  font-weight: 600;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
}

.tag--ok {
  background: #DCF3E3;
  color: #116132;
}

.tag--late {
  background: #FDE4E2;
  color: #9B1818;
}

.tag--soon {
  background: #FEF0C7;
  color: #7A3509;
}

.sys__foot {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  font-size: 0.88rem;
  color: #5E626B;
}

.compare__handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos);
  width: 3px;
  translate: -50% 0;
  background: var(--accent-bright);
  pointer-events: none;
  z-index: 2;
}

.compare__handle span {
  position: absolute;
  top: 50%;
  left: 50%;
  translate: -50% -50%;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--accent-bright);
  color: #1A1109;
  font-size: 1.4rem;
  box-shadow: 0 6px 18px -4px rgb(0 0 0 / 0.4);
}

.compare__range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
  z-index: 3;
}

.compare__range:focus-visible ~ .compare__handle span {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
}

.compare__tag {
  position: absolute;
  top: 14px;
  z-index: 2;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  pointer-events: none;
}

.compare__tag--l {
  left: 14px;
  background: #17181C;
  color: #F2F2EF;
}

.compare__tag--r {
  right: 14px;
  background: #15803D;
  color: #FFFFFF;
}

@media (max-width: 639px) {
  .compare__frame {
    min-height: 520px;
  }
  .xl {
    font-size: 0.78rem;
  }
  .xl__grid th,
  .xl__grid td {
    padding: 5px 5px;
  }
}

.calc {
  background: var(--bg-2);
  border-block: 1px solid var(--line);
}

.calc__grid {
  display: grid;
  gap: 36px;
  align-items: center;
}

.calc__box {
  padding: 26px;
  border-radius: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.calc__field {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  font-weight: 500;
  color: var(--ink-2);
}

.calc__field output {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.calc input[type="range"] {
  width: 100%;
  margin: 12px 0 26px;
  accent-color: var(--accent);
  height: 28px;
}

.calc__result {
  padding: 20px;
  border-radius: 16px;
  background: var(--ink);
  color: var(--bg);
}

.calc__big {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.6rem, 6vw, 3.6rem);
  line-height: 1.05;
  color: var(--accent-bright);
  font-variant-numeric: tabular-nums;
}

.calc__year {
  margin-top: 6px;
  opacity: 0.85;
}

@media (min-width: 960px) {
  .calc__grid {
    grid-template-columns: 1fr 1fr;
    gap: 64px;
  }
}

.rubro-grid {
  margin-top: 32px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.rubro-chip {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1.5px solid var(--line);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.02rem;
  line-height: 1.3;
  transition: border-color 0.2s, translate 0.2s var(--ease-out), box-shadow 0.2s, background-color 0.2s;
}

.rubro-chip i:first-child {
  font-size: 1.7rem;
  color: var(--accent);
  flex-shrink: 0;
}

.rubro-chip__go {
  margin-left: auto;
  color: var(--muted);
  transition: translate 0.2s var(--ease-out), color 0.2s;
}

.rubro-chip:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
  translate: 0 -2px;
  box-shadow: var(--shadow);
}

.rubro-chip:hover .rubro-chip__go {
  translate: 4px 0;
  color: var(--accent);
}

@media (min-width: 640px) {
  .rubro-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .rubro-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }
}

.hero__title--rubro {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
}

.app__avatar i {
  font-size: 1.2rem;
}

.row--tag {
  grid-template-columns: 1fr auto;
  grid-template-areas: "who tag";
  align-items: center;
}

.row--tag .tag {
  grid-area: tag;
  white-space: nowrap;
  font-size: 0.74rem;
}

.row__detail {
  font-size: 0.78rem;
  color: #5E626B;
}

.fixes__list {
  list-style: none;
  padding: 0;
  margin: 40px 0 0;
  display: grid;
  gap: 16px;
}

.fix {
  display: grid;
  gap: 16px;
  padding: 24px;
  border-radius: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
}

.fix__pain {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.3rem, 2.6vw, 1.7rem);
  line-height: 1.2;
  letter-spacing: -0.015em;
}

.fix__answer {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  color: var(--ink-2);
  font-size: 1.05rem;
}

.fix__icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 1.4rem;
}

.fix__answer p {
  padding-top: 8px;
}

@media (min-width: 900px) {
  .fix {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 40px;
    padding: 32px 36px;
  }
}

.extras {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
}

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

.extras__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.extras__list li {
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--bg-2);
  font-size: 0.93rem;
  font-weight: 500;
}

.others {
  padding: 56px 0;
}

.others__label {
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 14px;
}

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

.other {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  text-decoration: none;
  font-size: 0.93rem;
  font-weight: 500;
  transition: border-color 0.2s, color 0.2s;
}

.other i {
  color: var(--accent);
  font-size: 1.1rem;
}

.other:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.page-rubro .hero__grid {
  align-items: start;
}

.hero__visual--devices {
  display: block;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}

.devices {
  --stage-h: 650px;
  --ph-s: 1;
  --ph-top: 64px;
  --tab-s: 1;
  position: relative;
  height: var(--stage-h);
}

.devices__stage {
  position: relative;
  width: 100%;
  height: 100%;
}

.devices .phone--tall {
  position: absolute;
  left: 0;
  top: var(--ph-top);
  width: 300px;
  scale: var(--ph-s);
  transform-origin: top left;
  z-index: 2;
}

.app--scenes {
  height: 560px;
  min-height: 0;
  display: flex;
  flex-direction: column;
  padding: 50px 14px 12px;
}

.scenes {
  position: relative;
  flex: 1;
  margin-top: 12px;
}

.scene {
  position: absolute;
  inset: 0;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.45s var(--ease-out), transform 0.45s var(--ease-out);
}

.scene.is-on {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

.scene__title {
  font-size: 0.78rem;
  font-weight: 700;
  color: #5E626B;
  margin-bottom: 8px;
}

.scene .app__total {
  margin-top: 0;
  padding: 14px;
}

.scene .app__amount {
  font-size: 1.8rem;
}

.scene .app__list {
  margin-top: 10px;
  gap: 6px;
}

.scene .row {
  padding: 10px 12px;
}

.scene-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  padding-top: 10px;
}

.scene-dot {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #D4D5CF;
  cursor: pointer;
  transition: width 0.3s var(--ease-out), background-color 0.3s;
}

.scene-dot.is-on {
  width: 20px;
  background: #C2410C;
}

.devices .toast {
  bottom: 44px;
}

.tablet {
  position: absolute;
  right: 0;
  top: 0;
  width: 540px;
  height: 372px;
  padding: 11px;
  border-radius: 26px;
  background: #0E0F11;
  box-shadow: var(--shadow-lg), inset 0 0 0 1.5px #2A2C31;
  scale: var(--tab-s);
  transform-origin: top right;
  z-index: 1;
}

.tablet__screen {
  height: 100%;
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  overflow: hidden;
  background: #F7F7F4;
  color: #17181C;
}

.tablet__bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: #FFFFFF;
  border-bottom: 1px solid #E6E6E0;
  font-size: 0.76rem;
}

.tablet__brand {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
}

.tablet__brand i {
  color: #C2410C;
  font-size: 1rem;
}

.tablet__title {
  color: #5E626B;
  font-weight: 600;
}

.tablet__body {
  flex: 1;
  min-height: 0;
  padding: 12px 14px;
  font-size: 0.76rem;
}

.problems {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
}

.problem {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  font: 600 0.92rem/1.2 var(--font-body);
  cursor: pointer;
  transition: border-color 0.2s, background-color 0.2s, scale 0.15s var(--ease-out);
}

.problem i {
  font-size: 1.15rem;
  color: var(--accent);
}

.problem:hover {
  border-color: var(--accent);
}

.problem:active {
  scale: 0.97;
}

.problem.is-on {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.problems__quote {
  margin-top: 12px;
  min-height: 3.2em;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  line-height: 1.35;
  color: var(--ink-2);
  text-wrap: balance;
}

.chat {
  display: flex;
  flex-direction: column;
  height: calc(100% - 26px);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #E1DDD6;
}

.chat__head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: #FFFFFF;
}

.chat__avatar {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #DCF3E3;
  color: #0F6B33;
  font-weight: 700;
  font-size: 0.85rem;
}

.chat__name {
  font-weight: 600;
  font-size: 0.86rem;
}

.chat__status {
  font-size: 0.7rem;
  color: #5E626B;
}

.chat__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px 10px;
  background: #ECE5DD;
}

.chat__msg {
  max-width: 86%;
  padding: 8px 10px 6px;
  border-radius: 10px;
  font-size: 0.8rem;
  line-height: 1.4;
  box-shadow: 0 1px 1px rgb(0 0 0 / 0.08);
}

.chat__msg span {
  display: block;
  text-align: right;
  font-size: 0.64rem;
  color: #6B6F68;
  margin-top: 2px;
}

.chat__msg span i {
  color: #34B7F1;
}

.chat__msg--yo {
  align-self: flex-end;
  background: #D9FDD3;
  border-top-right-radius: 3px;
}

.chat__msg--ellos {
  align-self: flex-start;
  background: #FFFFFF;
  border-top-left-radius: 3px;
}

.chat__system {
  align-self: center;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  border-radius: 999px;
  background: #DCF3E3;
  color: #116132;
  font-size: 0.72rem;
  font-weight: 700;
}

.scene.is-on .chat__msg,
.scene.is-on .chat__system {
  animation: msg-in 0.4s var(--ease-out) both;
  animation-delay: calc(var(--i) * 0.8s + 0.2s);
}

@keyframes msg-in {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.96);
  }
}

.cal__days {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 4px;
  margin-bottom: 10px;
}

.cal__day {
  display: grid;
  justify-items: center;
  padding: 5px 0;
  border-radius: 10px;
  background: #FFFFFF;
  border: 1px solid #E6E6E0;
  font-weight: 700;
  font-size: 0.84rem;
}

.cal__day small {
  font-size: 0.6rem;
  font-weight: 500;
  color: #5E626B;
}

.cal__day.is-on {
  background: #17181C;
  border-color: #17181C;
  color: #F2F2EF;
}

.cal__day.is-on small {
  color: #A2A6AD;
}

.cal__title {
  margin: 12px 0 6px;
  font-size: 0.74rem;
  font-weight: 600;
  color: #5E626B;
}

.cal__slots {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 6px;
}

.slot {
  display: grid;
  grid-template-columns: 40px 1fr auto;
  align-items: center;
  gap: 8px;
  padding: 9px 10px;
  border-radius: 12px;
  background: #FFFFFF;
  border: 1px solid #E6E6E0;
}

.slot .tag {
  font-size: 0.7rem;
  white-space: nowrap;
}

.slot__time {
  font-weight: 700;
  font-size: 0.76rem;
  font-variant-numeric: tabular-nums;
}

.slot__name {
  font-weight: 600;
  font-size: 0.82rem;
}

.slot__detail {
  font-size: 0.7rem;
  color: #5E626B;
}

.slot--soon {
  background: #FFF8E6;
  border-color: #F6E3B0;
}

.scene.is-on .slot--soon {
  animation: slot-in 0.5s var(--ease-out) 0.7s both;
}

@keyframes slot-in {
  from {
    opacity: 0;
    transform: translateX(16px);
  }
}

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

.map__svg {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
  background: #EEF1EA;
  border: 1px solid #E1E4DC;
}

.map__streets path {
  fill: none;
  stroke: #FFFFFF;
  stroke-width: 6;
}

.map__streets .map__avenue {
  stroke: #FBF1E4;
  stroke-width: 11;
}

.map__park {
  fill: #D5EACB;
}

.map__hills path {
  fill: none;
  stroke: #D8E0CE;
  stroke-width: 1.5;
}

.map__river {
  fill: none;
  stroke: #C9DDF0;
  stroke-width: 8;
  stroke-linecap: round;
}

.map__route {
  fill: none;
  stroke: #C2410C;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.map__route--soft {
  stroke: #F4A06B;
}

.map__stop circle {
  fill: #FFFFFF;
  stroke: #17181C;
  stroke-width: 2.5;
}

.map__stop text {
  font: 700 11px var(--font-body);
  fill: #17181C;
  paint-order: stroke;
  stroke: #FFFFFF;
  stroke-width: 3px;
}

.map__vehicle circle {
  fill: #C2410C;
  stroke: #FFFFFF;
  stroke-width: 3;
}

.map__vehicle .map__vehicle-core {
  fill: #FFFFFF;
  stroke: none;
}

.map__vehicle--soft circle {
  fill: #F4A06B;
}

.map__card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #FFFFFF;
  border: 1px solid #E6E6E0;
}

.map__card .tag {
  white-space: nowrap;
}

.pet__head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 14px;
  background: #FFFFFF;
  border: 1px solid #E6E6E0;
}

.pet__avatar {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #FDEBDD;
  color: #C2410C;
  font-size: 1.5rem;
}

.pet__name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  line-height: 1.1;
}

.pet__label {
  margin: 12px 0 6px;
  font-size: 0.74rem;
  font-weight: 600;
  color: #5E626B;
}

.pet__items {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 6px;
}

.pet__item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #FFFFFF;
  border: 1px solid #E6E6E0;
}

.pet__item > i {
  font-size: 1.25rem;
}

.pet__item--ok > i {
  color: #15803D;
}

.pet__item--late > i {
  color: #B91C1C;
}

.pet__item--soon {
  background: #FFF8E6;
  border-color: #F6E3B0;
}

.pet__item--soon > i {
  color: #B45309;
}

.scene.is-on .pet__item--soon {
  animation: slot-in 0.5s var(--ease-out) 0.6s both;
}

.plan__grid {
  display: grid;
  grid-template-columns: repeat(var(--cols), 1fr);
  gap: 5px;
  padding: 10px;
  border-radius: 14px;
  background: #FFFFFF;
  border: 1px solid #E6E6E0;
}

.lot {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  border-radius: 5px;
  font-size: 0.58rem;
  font-weight: 800;
  color: transparent;
}

.lot--libre {
  background: #DCF3E3;
  box-shadow: inset 0 0 0 1px #A7DDB9;
}

.lot--separado {
  background: #FDE68A;
}

.lot--vendido {
  background: #D4D5CF;
}

.plan__legend {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 10px;
  font-size: 0.72rem;
  color: #3B3E45;
}

.plan__legend span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.plan__legend .lot {
  width: 11px;
  height: 11px;
}

.scene.is-on .lot--cambia {
  animation: lot-once 1.2s var(--ease-out) 0.8s both;
}

.tablet .lot--cambia {
  animation: lot-loop 7s var(--ease-out) infinite;
}

@keyframes lot-once {
  0%,
  30% {
    background: #DCF3E3;
    color: transparent;
    transform: scale(1);
  }
  55% {
    background: #FDE68A;
    color: #7A3509;
    transform: scale(1.35);
  }
  100% {
    background: #FDE68A;
    color: #7A3509;
    transform: scale(1.12);
    box-shadow: 0 0 0 2px #C2410C;
  }
}

@keyframes lot-loop {
  0%,
  25% {
    background: #DCF3E3;
    color: transparent;
    transform: scale(1);
  }
  35% {
    background: #FDE68A;
    color: #7A3509;
    transform: scale(1.3);
  }
  45%,
  90% {
    background: #FDE68A;
    color: #7A3509;
    transform: scale(1.1);
    box-shadow: 0 0 0 2px #C2410C;
  }
  100% {
    background: #DCF3E3;
    color: transparent;
    transform: scale(1);
  }
}

.doc {
  padding: 14px;
  border-radius: 14px;
  background: #FFFFFF;
  border: 1px solid #E6E6E0;
}

.doc__head {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 0.88rem;
}

.doc__head i {
  color: #C2410C;
  font-size: 1.1rem;
}

.doc__code {
  font-size: 0.76rem;
  color: #5E626B;
  margin: 2px 0 10px;
}

.doc__lines {
  display: grid;
  gap: 5px;
  padding-top: 10px;
  border-top: 1px dashed #C9CBC3;
}

.doc__line {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.8rem;
  color: #3B3E45;
}

.doc__line span:last-child {
  font-weight: 600;
  text-align: right;
}

.doc__total {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid #E6E6E0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
}

.doc__photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 12px;
}

.doc__photo {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 4px;
  aspect-ratio: 4 / 3;
  border-radius: 10px;
  background: #EDEDE8;
  color: #5E626B;
  font-size: 0.72rem;
  font-weight: 600;
}

.doc__photo i {
  font-size: 1.4rem;
}

.doc__photo:last-child {
  background: #DCF3E3;
  color: #116132;
}

.doc__seal {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
}

.doc__seal--ok {
  background: #DCF3E3;
  color: #116132;
}

.scene.is-on .doc__seal {
  animation: stamp 0.5s var(--ease-out) 0.9s both;
}

@keyframes stamp {
  from {
    opacity: 0;
    transform: scale(1.5) rotate(-6deg);
  }
}

.trip__steps {
  list-style: none;
  padding: 14px 12px 4px;
  margin: 10px 0 0;
  border-radius: 14px;
  background: #FFFFFF;
  border: 1px solid #E6E6E0;
}

.trip__step {
  position: relative;
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 10px;
  padding-bottom: 14px;
}

.trip__step:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 26px;
  bottom: 0;
  width: 2px;
  background: #E6E6E0;
}

.trip__step.is-done:not(:last-child)::before {
  background: #15803D;
}

.trip__dot {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #EDEDE8;
  color: transparent;
  font-size: 0.8rem;
}

.trip__step.is-done .trip__dot {
  background: #15803D;
  color: #FFFFFF;
}

.scene.is-on .trip__step.is-done .trip__dot {
  animation: dot-fill 0.4s var(--ease-out) both;
}

.scene.is-on .trip__step:nth-child(1) .trip__dot {
  animation-delay: 0.3s;
}

.scene.is-on .trip__step:nth-child(2) .trip__dot {
  animation-delay: 1s;
}

@keyframes dot-fill {
  from {
    background: #EDEDE8;
    color: transparent;
    transform: scale(0.6);
  }
}

.trip__note {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  padding: 8px 10px;
  border-radius: 10px;
  background: #DCF3E3;
  color: #116132;
  font-size: 0.76rem;
  font-weight: 600;
}

.scene.is-on .trip__note {
  animation: msg-in 0.4s var(--ease-out) 1.4s both;
}

.pass__card {
  padding: 14px;
  border-radius: 16px;
  background: #17181C;
  color: #F2F2EF;
}

.pass__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.pass__brand {
  font-size: 0.72rem;
  opacity: 0.75;
}

.pass__state {
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
}

.pass__card--ok .pass__state {
  background: #4ADE80;
  color: #0B3D1E;
}

.pass__card--late .pass__state {
  background: #F87171;
  color: #3F0B0B;
}

.pass__who {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 16px 0;
}

.pass__avatar {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #FB8A3C;
  color: #1A1109;
  font-weight: 800;
}

.pass__name {
  font-weight: 700;
  font-size: 1rem;
}

.pass__plan {
  font-size: 0.74rem;
  opacity: 0.7;
}

.pass__bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.pass__small {
  font-size: 0.66rem;
  opacity: 0.6;
}

.pass__date {
  font-weight: 700;
  font-size: 0.86rem;
}

.pass__qr {
  display: grid;
  grid-template-columns: repeat(5, 7px);
  gap: 2px;
  padding: 5px;
  border-radius: 6px;
  background: rgb(255 255 255 / 0.08);
}

.pass__qr i {
  width: 7px;
  height: 7px;
  border-radius: 1px;
  background: rgb(255 255 255 / 0.14);
}

.pass__qr i.on {
  background: #F2F2EF;
}

.scene.is-on .pass__card {
  animation: pass-in 0.5s var(--ease-out) both;
}

.scene.is-on .pass__state {
  animation: stamp 0.45s var(--ease-out) 0.6s both;
}

@keyframes pass-in {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.97);
  }
}

.split {
  list-style: none;
  padding: 12px;
  margin: 10px 0 0;
  display: grid;
  gap: 12px;
  border-radius: 14px;
  background: #FFFFFF;
  border: 1px solid #E6E6E0;
}

.split__top {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: #3B3E45;
}

.split__top strong {
  color: #17181C;
  font-variant-numeric: tabular-nums;
}

.split__bar {
  display: block;
  height: 8px;
  width: var(--p);
  margin-top: 5px;
  border-radius: 999px;
  background: #C2410C;
  transform-origin: left;
}

.split__row:not(:first-child) .split__bar {
  background: #F4A06B;
}

.scene.is-on .split__bar {
  animation: bar-grow 0.7s var(--ease-out) both;
}

.scene.is-on .split__row:nth-child(2) .split__bar {
  animation-delay: 0.15s;
}

.scene.is-on .split__row:nth-child(3) .split__bar {
  animation-delay: 0.3s;
}

.scene.is-on .split__row:nth-child(4) .split__bar {
  animation-delay: 0.45s;
}

@keyframes bar-grow {
  from {
    transform: scaleX(0);
  }
}

.split__note {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  padding: 8px 10px;
  border-radius: 10px;
  background: #DCF3E3;
  color: #116132;
  font-size: 0.74rem;
  font-weight: 600;
}

.tt {
  width: 100%;
  border-collapse: collapse;
}

.tt th {
  text-align: left;
  padding: 0 8px 8px;
  color: #5E626B;
  font-weight: 600;
  border-bottom: 1px solid #E6E6E0;
  white-space: nowrap;
}

.tt td {
  padding: 9px 8px;
  border-bottom: 1px solid #EEEEE9;
  white-space: nowrap;
}

.tt .tag {
  font-size: 0.68rem;
}

.swap {
  display: inline-grid;
}

.swap > span {
  grid-area: 1 / 1;
}

.swap__a {
  animation: swap-out 7s var(--ease-out) infinite;
}

.swap__b {
  opacity: 0;
  animation: swap-in 7s var(--ease-out) infinite;
}

@keyframes swap-out {
  0%,
  35% {
    opacity: 1;
  }
  42%,
  90% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes swap-in {
  0%,
  38% {
    opacity: 0;
    transform: scale(0.8);
  }
  46%,
  88% {
    opacity: 1;
    transform: scale(1);
  }
  96%,
  100% {
    opacity: 0;
  }
}

.tt tr.is-live td {
  animation: row-flash 7s ease infinite;
}

@keyframes row-flash {
  0%,
  38% {
    background: transparent;
  }
  46%,
  70% {
    background: #EFFAF3;
  }
  90%,
  100% {
    background: transparent;
  }
}

.ag {
  --row: 42px;
}

.ag__head {
  display: grid;
  grid-template-columns: 40px repeat(var(--cols), 1fr);
  padding-bottom: 6px;
  font-weight: 700;
  color: #3B3E45;
}

.ag__body {
  display: grid;
  grid-template-columns: 40px 1fr;
}

.ag__hours {
  display: grid;
  grid-template-rows: repeat(var(--rows), var(--row));
  font-size: 0.66rem;
  color: #5E626B;
}

.ag__grid {
  position: relative;
  height: calc(var(--rows) * var(--row));
  background: repeating-linear-gradient(to bottom, #E6E6E0 0 1px, transparent 1px var(--row));
}

.ag__block {
  position: absolute;
  left: calc(var(--c) * 100% / var(--cols) + 3px);
  width: calc(100% / var(--cols) - 6px);
  top: calc(var(--s) * var(--row) + 2px);
  height: calc(var(--d) * var(--row) - 4px);
  padding: 5px 7px;
  border-radius: 8px;
  font-size: 0.68rem;
  font-weight: 600;
  line-height: 1.25;
  overflow: hidden;
  background: #DCF3E3;
  color: #0F5A2C;
}

.ag__block--late {
  background: #FDE4E2;
  color: #8E1616;
}

.ag__block--soon {
  background: #FEF0C7;
  color: #7A3509;
}

.ag__block--nuevo {
  box-shadow: 0 0 0 2px #C2410C;
  animation: ag-new 7s var(--ease-out) infinite;
}

@keyframes ag-new {
  0%,
  20% {
    opacity: 0;
    transform: scale(0.85);
  }
  30%,
  90% {
    opacity: 1;
    transform: scale(1);
  }
  100% {
    opacity: 0;
  }
}

.tmap {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 10px;
  height: 100%;
}

.tmap__svg {
  order: -1;
  height: 100%;
  min-height: 0;
}

.tmap__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  align-content: start;
  gap: 6px;
}

.tmap__list li {
  padding: 8px 10px;
  border-radius: 10px;
  background: #FFFFFF;
  border: 1px solid #E6E6E0;
}

.tmap__list .tag {
  margin-top: 5px;
  font-size: 0.66rem;
}

.kb {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  height: 100%;
}

.kb__col {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 8px;
  border-radius: 12px;
  background: #EDEDE8;
}

.kb__title {
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  color: #3B3E45;
}

.kb__title span {
  padding: 0 7px;
  border-radius: 999px;
  background: #FFFFFF;
  font-size: 0.66rem;
}

.kb__card {
  padding: 9px 10px;
  border-radius: 9px;
  background: #FFFFFF;
  border: 1px solid #E1E2DC;
  font-weight: 600;
  font-size: 0.72rem;
}

.kb__card--sale {
  animation: kb-out 7s var(--ease-out) infinite;
}

.kb__card--entra {
  display: flex;
  align-items: center;
  gap: 6px;
  border-color: #A7DDB9;
  background: #EFFAF3;
  animation: kb-in 7s var(--ease-out) infinite;
}

.kb__card--entra i {
  color: #15803D;
}

@keyframes kb-out {
  0%,
  30% {
    opacity: 1;
    transform: none;
  }
  42%,
  92% {
    opacity: 0;
    transform: translateX(40px);
  }
  100% {
    opacity: 1;
    transform: none;
  }
}

@keyframes kb-in {
  0%,
  38% {
    opacity: 0;
    transform: translateX(-40px);
  }
  50%,
  90% {
    opacity: 1;
    transform: none;
  }
  98%,
  100% {
    opacity: 0;
  }
}

.pn__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.pn__stat {
  padding: 8px 10px;
  border-radius: 10px;
  background: #FFFFFF;
  border: 1px solid #E6E6E0;
}

.pn__value {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  font-variant-numeric: tabular-nums;
}

.pn__label {
  margin: 12px 0 6px;
  font-weight: 600;
  color: #5E626B;
}

.pn__bars {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 150px;
}

.pn__bars span {
  flex: 1;
  height: var(--h);
  border-radius: 6px 6px 2px 2px;
  background: #F4A06B;
  transform-origin: bottom;
  animation: bar-up 0.8s var(--ease-out) both;
  animation-delay: calc(var(--i) * 0.06s + 0.6s);
}

.pn__bars span.is-now {
  background: #C2410C;
}

@keyframes bar-up {
  from {
    transform: scaleY(0);
  }
}

.pn__axis {
  display: flex;
  justify-content: space-between;
  margin-top: 6px;
  font-size: 0.64rem;
  color: #5E626B;
}

.tplan {
  display: grid;
  grid-template-columns: 1.5fr 0.6fr;
  gap: 12px;
  align-items: center;
}

.plan--lg .plan__grid {
  gap: 4px;
  padding: 8px;
}

.plan--lg .plan__legend {
  display: none;
}

.tplan__side {
  display: grid;
  gap: 8px;
}

.tplan__stat {
  padding: 8px 10px;
  border-radius: 10px;
  background: #FFFFFF;
  border: 1px solid #E6E6E0;
}

.tplan__stat .lot {
  display: block;
  width: 12px;
  height: 12px;
}

@media (min-width: 960px) and (max-width: 1199px) {
  .devices {
    --stage-h: 590px;
    --ph-s: 0.9;
    --ph-top: 56px;
    --tab-s: 0.86;
  }
}

@media (max-width: 639px) {
  .devices {
    --stage-h: 560px;
    --ph-s: 0.94;
    --ph-top: 0px;
  }
  .devices .tablet {
    display: none;
  }
  .devices .phone--tall {
    left: calc(50% - 141px);
  }
  .problem {
    font-size: 0.86rem;
    padding: 0 12px;
  }
  .problems__quote {
    font-size: 1.02rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .devices *,
  .devices *::before,
  .devices *::after {
    animation: none !important;
  }
}

.about__grid {
  display: grid;
  gap: 40px;
  align-items: center;
}

.about__card {
  width: 100%;
  max-width: 420px;
  display: grid;
  gap: 22px;
  padding: 20px 20px 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow-lg);
  rotate: -2deg;
}

.about__brand {
  position: relative;
  overflow: hidden;
  padding: 28px 26px 30px;
  border-radius: 20px;
  background: var(--accent);
  color: var(--on-accent);
}

.about__brand::after {
  content: "";
  position: absolute;
  right: -70px;
  bottom: -80px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  border: 30px solid color-mix(in srgb, var(--on-accent) 12%, transparent);
}

.about__mark {
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: color-mix(in srgb, var(--on-accent) 16%, transparent);
  font: 800 1.9rem/1 var(--font-display);
}

.about__name {
  margin: 22px 0 0;
  font: 800 clamp(2.4rem, 7vw, 3.1rem)/1 var(--font-display);
  letter-spacing: -0.03em;
}

.about__word {
  margin: 8px 0 0;
  font-size: 1.05rem;
  opacity: 0.88;
}

.about__contact {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 6px;
}

.about__contact p {
  margin: 0;
  display: grid;
  gap: 3px;
}

.about__avatar {
  position: relative;
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font: 800 1.1rem/1 var(--font-display);
}

.about__avatar::after {
  content: "";
  position: absolute;
  right: 1px;
  bottom: 1px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--wa);
  border: 2px solid var(--surface);
}

.about__who {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.about__contact strong {
  font: 700 1.2rem/1.15 var(--font-display);
}

.about__role {
  font-size: 0.92rem;
  color: var(--muted);
}

.about__wa {
  width: 100%;
}

.about__lead {
  margin-top: 20px;
  font-size: 1.15rem;
  color: var(--ink-2);
  max-width: 54ch;
}

.about__promises {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: grid;
  gap: 16px;
}

.about__promises li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.about__promises i {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 1.35rem;
}

.about__promises span {
  padding-top: 8px;
}

@media (max-width: 899px) {
  .about__card {
    order: 1;
    justify-self: center;
    rotate: 0deg;
  }
}

@media (min-width: 900px) {
  .about__grid {
    grid-template-columns: 420px 1fr;
    gap: 80px;
  }
}

.steps {
  background: var(--bg-2);
  border-block: 1px solid var(--line);
}

.steps__list {
  list-style: none;
  padding: 0;
  margin: 44px 0 0;
  display: grid;
  gap: 32px;
  position: relative;
}

.step {
  position: relative;
}

.step__icon {
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: var(--accent);
  color: var(--on-accent);
  font-size: 1.7rem;
  margin-bottom: 18px;
  position: relative;
  z-index: 1;
}

.step h3 {
  font-size: 1.35rem;
  font-weight: 700;
}

.step p {
  margin-top: 8px;
  color: var(--muted);
  max-width: 34ch;
}

@media (min-width: 900px) {
  .steps__list {
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
  }
  .steps__list::before {
    content: "";
    position: absolute;
    top: 30px;
    left: 60px;
    right: 18%;
    height: 2px;
    background: repeating-linear-gradient(90deg, var(--accent) 0 8px, transparent 8px 16px);
    transform-origin: left;
    transform: scaleX(var(--line-progress, 1));
  }
}

.price {
  margin-top: 56px;
  display: grid;
  gap: 28px;
  padding: 28px;
  border-radius: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

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

.price__value {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(3rem, 8vw, 4.4rem);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--accent);
  margin-top: 6px;
}

.price__value span {
  font-size: 0.34em;
  font-weight: 700;
  letter-spacing: 0;
  color: var(--ink-2);
}

.price__note {
  margin-top: 14px;
  color: var(--muted);
  max-width: 46ch;
}

.price__side {
  display: grid;
  gap: 20px;
  align-content: center;
  justify-items: start;
}

.price__sunat {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 16px;
  border-radius: 14px;
  background: var(--soon-soft);
  color: var(--ink);
  font-size: 0.97rem;
}

.price__sunat i {
  font-size: 1.5rem;
  color: var(--soon);
  flex-shrink: 0;
}

.price__sunat--ok {
  background: var(--ok-soft);
}

.price__sunat--ok i {
  color: var(--ok);
}

@media (min-width: 900px) {
  .price {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    padding: 40px;
  }
}

.faq__grid {
  display: grid;
  gap: 36px;
}

.faq__list details {
  border-bottom: 1px solid var(--line);
}

.faq__list summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 22px 0;
  font-weight: 600;
  font-size: 1.15rem;
  cursor: pointer;
}

.faq__list summary::-webkit-details-marker {
  display: none;
}

.faq__list summary i {
  flex-shrink: 0;
  font-size: 1.3rem;
  color: var(--accent);
  transition: rotate 0.3s var(--ease-out);
}

.faq__list details[open] summary i {
  rotate: 45deg;
}

.faq__list details p {
  padding: 0 0 22px;
  color: var(--muted);
  max-width: 60ch;
}

@media (min-width: 960px) {
  .faq__grid {
    grid-template-columns: 0.8fr 1.2fr;
    gap: 64px;
  }
}

.final {
  padding: 96px 0;
  background: var(--accent);
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
}

.final::after {
  content: "";
  position: absolute;
  right: -120px;
  bottom: -160px;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  border: 70px solid rgb(255 255 255 / 0.08);
  pointer-events: none;
}

@media (prefers-color-scheme: dark) {
  .final {
    background: #9A3412;
  }
}

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

.final__title {
  font-size: clamp(2.2rem, 5.4vw, 3.8rem);
  font-weight: 800;
  max-width: 18ch;
}

.final__sub {
  margin-top: 18px;
  font-size: 1.2rem;
  max-width: 44ch;
  opacity: 0.92;
}

.final .btn {
  display: flex;
  width: fit-content;
  margin-top: 32px;
}

.footer {
  padding: 48px 0 110px;
}

.footer__inner {
  display: grid;
  gap: 28px;
}

.footer__tag {
  margin-top: 10px;
  color: var(--muted);
}

.footer__links,
.footer__contact {
  display: grid;
  gap: 8px;
}

.footer__links a,
.footer__contact a {
  text-decoration: none;
  color: var(--ink-2);
}

.footer__links a:hover,
.footer__contact a:hover {
  color: var(--accent);
}

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

.footer__legal {
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
  color: var(--muted);
}

@media (min-width: 768px) {
  .footer__inner {
    grid-template-columns: 2fr 1fr 1fr;
  }
  .footer {
    padding-bottom: 48px;
  }
}

.fab {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 40;
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--wa);
  color: #FFFFFF;
  font-size: 2rem;
  text-decoration: none;
  box-shadow: 0 12px 28px -8px rgb(37 211 102 / 0.6);
  opacity: 0;
  scale: 0.6;
  pointer-events: none;
  transition: opacity 0.3s var(--ease-out), scale 0.35s var(--ease-out);
}

.fab.is-on {
  opacity: 1;
  scale: 1;
  pointer-events: auto;
}

.fab:hover {
  scale: 1.06;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .marquee__track {
    animation: none;
    flex-wrap: wrap;
    justify-content: center;
    width: auto;
  }
  .marquee__track span[aria-hidden="true"] {
    display: none;
  }
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
