/* TeroVision landing. One family (Bricolage Grotesque), petrol as the brand, terracota only as the
   tero's red eye: the i dots, the live dot and the notification dot. */
:root {
  --paper: #fbfaf7;
  --mist: #eef2f1;
  --ink: #10262c;
  --petrol: #173f49;
  --petrol-2: #215564;
  --eye: #d9573d;
  --ivory: #f7f3ea;
  --mute: #55676c;
  --line: rgba(16, 38, 44, 0.13);
  --line-dark: rgba(247, 243, 234, 0.16);
  --wrap: 1200px;
  --gut: clamp(16px, 4vw, 40px);
  --r: 14px;
  --font: 'Bricolage Grotesque', ui-sans-serif, system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 76px;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.55 var(--font);
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: inherit;
}
h1,
h2,
h3,
p,
dl,
dd,
ol,
ul,
figure,
blockquote {
  margin: 0;
}
ul,
ol {
  padding: 0;
  list-style: none;
}
button {
  font: inherit;
  color: inherit;
}
:focus-visible {
  outline: 3px solid var(--eye);
  outline-offset: 3px;
  border-radius: 4px;
}
.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + 2 * var(--gut));
  margin: 0 auto;
  padding: 0 var(--gut);
}
.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--ink);
  color: var(--paper);
  border-radius: 8px;
}
.skip:focus {
  top: 12px;
}

/* Type scale: 17 / 20 / 26 / 40 / 64+ */
.h2 {
  font-size: clamp(2rem, 4.2vw, 3.5rem);
  font-weight: 760;
  font-stretch: 88%;
  line-height: 1;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.lead {
  font-size: clamp(1.125rem, 1.6vw, 1.25rem);
  line-height: 1.5;
  color: var(--mute);
  max-width: 58ch;
  text-wrap: pretty;
}
.head {
  display: grid;
  gap: 18px;
  margin-bottom: clamp(36px, 5vw, 64px);
  max-width: 760px;
}
.section {
  padding: clamp(72px, 10vw, 136px) 0;
}
.section--mist {
  background: var(--mist);
}

/* Buttons */
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 24px;
  border-radius: 999px;
  background: var(--petrol);
  color: var(--ivory);
  border: 1.5px solid var(--petrol);
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.btn:hover {
  background: var(--petrol-2);
  border-color: var(--petrol-2);
}
.btn--sm {
  min-height: 40px;
  padding: 0 18px;
  font-size: 0.95rem;
}
.btn--ghost {
  background: transparent;
  color: var(--petrol);
  border-color: var(--line);
}
.btn--ghost:hover {
  background: transparent;
  border-color: var(--petrol);
}
.btn--light {
  background: var(--ivory);
  border-color: var(--ivory);
  color: var(--petrol);
}
.btn--light:hover {
  background: #fff;
  border-color: #fff;
}
.btn--outline-light {
  background: transparent;
  border-color: var(--line-dark);
  color: var(--ivory);
}
.btn--outline-light:hover {
  background: transparent;
  border-color: var(--ivory);
}

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 250, 247, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}
.nav.is-scrolled {
  border-bottom-color: var(--line);
}
.nav__in {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 68px;
}
.nav__logo {
  display: block;
  color: var(--petrol);
  flex: none;
}
.nav__wm {
  display: block;
  height: 26px;
  width: auto;
}
.nav__links {
  display: flex;
  gap: 24px;
  margin-left: auto;
  font-size: 0.95rem;
}
.nav__links a {
  text-decoration: none;
  color: var(--mute);
}
.nav__links a:hover {
  color: var(--ink);
}
.nav__lang {
  padding-left: 24px;
  border-left: 1px solid var(--line);
}
.nav__cases {
  position: relative;
}
.nav__cases-top {
  display: inline-flex;
  align-items: center;
  gap: 2px;
}
.nav__caret {
  width: 22px;
  height: 22px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--mute);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.nav__caret::before {
  content: '';
  display: block;
  width: 7px;
  height: 7px;
  margin: 3px auto 0;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.15s;
}
.nav__cases.is-open .nav__caret::before {
  margin-top: 8px;
  transform: rotate(225deg);
}
.nav__panel {
  display: none;
  position: absolute;
  top: 100%;
  left: -20px;
  width: min(560px, 92vw);
  margin-top: 12px;
  padding: 14px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: 0 18px 50px rgba(16, 38, 44, 0.16);
}
/* Puente invisible para que el mouse no pierda el menú entre el título y el panel. */
.nav__panel::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: -14px;
  height: 14px;
}
.nav__cases.is-open .nav__panel {
  display: block;
}
@media (hover: hover) and (min-width: 1061px) {
  .nav__cases:hover .nav__panel,
  .nav__cases:focus-within .nav__panel {
    display: block;
  }
}
.nav__panel ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2px;
}
.nav__panel li a {
  display: grid;
  gap: 1px;
  padding: 9px 10px;
  border-radius: 8px;
}
.nav__panel li a:hover {
  background: var(--mist);
}
.nav__panel b {
  font-weight: 620;
  color: var(--ink);
}
.nav__panel li span {
  font-size: 0.85rem;
  color: var(--mute);
}
.nav__panel-note {
  padding: 2px 10px 8px;
  font-size: 0.85rem;
  color: var(--mute);
}
.nav__links .nav__panel-all {
  display: block;
  margin-top: 8px;
  padding: 11px 10px 3px;
  border-top: 1px solid var(--line);
  color: var(--petrol);
  font-weight: 620;
}
.casos-home__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 clamp(20px, 4vw, 56px);
}
.casos-home__list a {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
  font-size: 1.125rem;
}
.casos-home__list b {
  font-weight: 650;
}
.casos-home__list a:hover b {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.casos-home__all {
  margin-top: 28px;
}
.footer__casos {
  flex: 1 0 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line-dark);
}
.nav__end {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav__burger {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: none;
  cursor: pointer;
  position: relative;
}
.nav__burger span {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 2px;
  background: var(--ink);
  transition: transform 0.2s;
}
.nav__burger span:first-child {
  top: 17px;
}
.nav__burger span:last-child {
  top: 25px;
}
.nav.is-open .nav__burger span:first-child {
  transform: translateY(4px) rotate(45deg);
}
.nav.is-open .nav__burger span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

/* Hero: the intro video as a silent cover, the headline rotating through places over it. */
.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: min(calc(100svh - 72px), 880px);
  padding: clamp(56px, 8vw, 112px) 0 clamp(20px, 3vw, 32px);
  overflow: hidden;
  background: var(--ink);
  color: var(--ivory);
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.hero__media::after {
  content: '';
  position: absolute;
  inset: 0;
  /* Trama de puntos y velo: el video queda de fondo y se pierde el detalle fino. */
  background:
    radial-gradient(rgba(16, 38, 44, 0.42) 1px, transparent 1.3px) 0 0 / 4px 4px,
    linear-gradient(90deg, rgba(16, 38, 44, 0.9) 0%, rgba(16, 38, 44, 0.68) 40%, rgba(16, 38, 44, 0.3) 72%, rgba(16, 38, 44, 0.22) 100%),
    linear-gradient(0deg, rgba(16, 38, 44, 0.88) 0%, rgba(16, 38, 44, 0) 32%);
}
.hero.is-sound .hero__media::after {
  background:
    linear-gradient(90deg, rgba(16, 38, 44, 0.9) 0%, rgba(16, 38, 44, 0.66) 40%, rgba(16, 38, 44, 0.2) 72%, rgba(16, 38, 44, 0.1) 100%),
    linear-gradient(0deg, rgba(16, 38, 44, 0.88) 0%, rgba(16, 38, 44, 0) 32%);
}
.hero.is-sound .hero__video {
  filter: none;
  transform: none;
}
.hero__video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(1.4px) saturate(0.88);
  transform: scale(1.02);
}
.hero__in {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: end;
  flex: 1;
  align-content: center;
}
.hero__title {
  font-size: clamp(2.75rem, 5.5vw, 5.25rem);
  font-weight: 800;
  font-stretch: 86%;
  line-height: 0.94;
  letter-spacing: -0.032em;
  min-height: 1.88em;
}
.hero__prefix {
  display: block;
}
.hero__place {
  display: inline-block;
}
.hero__place.is-out {
  animation: place-out 0.28s ease-in forwards;
}
.hero__place.is-in {
  animation: place-in 0.42s cubic-bezier(0.2, 0.8, 0.2, 1);
}
@keyframes place-out {
  to {
    opacity: 0;
    transform: translateY(-0.18em);
  }
}
@keyframes place-in {
  from {
    opacity: 0;
    transform: translateY(0.22em);
  }
}
.hero__does {
  margin-top: 22px;
  font-size: clamp(1.25rem, 2vw, 1.625rem);
  font-weight: 560;
  line-height: 1.3;
  min-height: 2.6em;
  max-width: 34ch;
}
.hero__lead {
  margin: 18px 0 32px;
  color: rgba(247, 243, 234, 0.8);
  max-width: 52ch;
}

/* What the camera just reported, over its own footage. */
.hero__side {
  display: flex;
  justify-content: flex-end;
}
.hero__live {
  position: absolute;
  top: clamp(16px, 2.4vw, 28px);
  right: var(--gut);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(16, 38, 44, 0.66);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
}
.hero__live i,
.live i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--eye);
  animation: blink 1.6s infinite;
}
@keyframes blink {
  50% {
    opacity: 0.35;
  }
}
.hero__note .chip {
  animation: chip-in 0.5s 0.15s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
@keyframes chip-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
}

/* A notification as it reaches the phone. */
.chip {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: max-content;
  padding: 10px 14px 10px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  font-size: 0.9rem;
  line-height: 1.3;
  box-shadow: 0 6px 24px rgba(16, 38, 44, 0.18);
}
.chip__dot {
  flex: none;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--eye);
}
.chip time {
  flex: none;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.hero__places {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: clamp(28px, 4vw, 48px);
}
.picker {
  display: flex;
  gap: 6px;
  flex: 1;
  overflow-x: auto;
  scrollbar-width: none;
}
.picker::-webkit-scrollbar {
  display: none;
}
.picker__btn {
  position: relative;
  flex: 1 0 auto;
  min-height: 44px;
  padding: 10px 2px 14px;
  border: 0;
  background: none;
  text-align: left;
  color: rgba(247, 243, 234, 0.7);
  cursor: pointer;
  font-size: 0.95rem;
  white-space: nowrap;
}
.picker__btn::after,
.picker__btn i {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4px;
  height: 2px;
  background: var(--line-dark);
}
.picker__btn i {
  background: var(--ivory);
  transform: scaleX(0);
  transform-origin: left;
  z-index: 1;
}
.picker__btn[aria-pressed='true'] {
  color: var(--ivory);
  font-weight: 600;
}
.picker__btn[aria-pressed='true'] i {
  transform: scaleX(1);
}
.hero.is-auto .picker__btn[aria-pressed='true'] i {
  animation: progress var(--dwell, 4500ms) linear;
}
@keyframes progress {
  from {
    transform: scaleX(0);
  }
}
.picker__pause {
  flex: none;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line-dark);
  background: none;
  color: var(--ivory);
  cursor: pointer;
}
.hero__sound {
  flex: none;
  min-height: 44px;
  padding: 0 16px 0 12px;
  border-radius: 999px;
  border: 1px solid var(--line-dark);
  background: rgba(16, 38, 44, 0.4);
  color: var(--ivory);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
}
.hero__sound span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.hero__sound svg {
  width: 18px;
  height: 18px;
}
.hero__sound em {
  font-style: normal;
}
.hero__sound-off,
.hero.is-sound .hero__sound-on {
  display: none !important;
}
.hero.is-sound .hero__sound-off {
  display: inline-flex !important;
}
.picker__pause svg {
  width: 18px;
  height: 18px;
}
.picker__pause svg:last-child,
.hero.is-paused .picker__pause svg:first-child {
  display: none;
}
.hero.is-paused .picker__pause svg:last-child {
  display: block;
}

/* Mira, escucha, avisa */
.jobs {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.jobs__in {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.job {
  padding: 36px 32px 40px 0;
}
.job + .job {
  padding-left: 32px;
  border-left: 1px solid var(--line);
}
.job__icon svg {
  width: 26px;
  height: 26px;
  color: var(--petrol);
}
.job h3 {
  margin: 14px 0 8px;
  font-size: 1.625rem;
  font-weight: 760;
  font-stretch: 88%;
  letter-spacing: -0.02em;
}
.job p {
  color: var(--mute);
  max-width: 34ch;
}

/* Places: image-led, two widths alternating so the grid reads as a walk through places. */
.places__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(40px, 5vw, 64px) clamp(20px, 3vw, 40px);
}
.place {
  grid-column: span 5;
}
.place--wide {
  grid-column: span 7;
}
.place__img {
  position: relative;
  aspect-ratio: 3 / 2;
  border-radius: var(--r);
  overflow: hidden;
  background: var(--mist);
}
.place:not(.place--wide) .place__img {
  aspect-ratio: 4 / 3.4;
}
.place__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.place__img .chip {
  position: absolute;
  left: 12px;
  bottom: 12px;
  margin-right: 12px;
}
.place h3 {
  margin: 20px 0 6px;
  font-size: 1.5rem;
  font-weight: 720;
  font-stretch: 90%;
  letter-spacing: -0.02em;
}
.place p {
  color: var(--mute);
  max-width: 52ch;
}
.place p b {
  color: var(--ink);
  font-weight: 650;
}
.place--ask {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  align-items: center;
  gap: 10px 40px;
  padding: clamp(32px, 5vw, 56px);
  border-radius: var(--r);
  background: var(--petrol);
  color: var(--ivory);
}
.place--ask h3 {
  margin: 0;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 780;
}
.place--ask p {
  color: rgba(247, 243, 234, 0.78);
  grid-column: 1;
}
.place--ask .btn {
  grid-column: 2;
  grid-row: 1 / span 2;
}

/* Voice */
.voice {
  background: var(--mist);
}
.voice__in {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(36px, 6vw, 88px);
  align-items: center;
}
.voice__copy .lead {
  margin: 20px 0 28px;
}
.tabs {
  display: inline-flex;
  padding: 4px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
}
.tab {
  min-height: 42px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: none;
  cursor: pointer;
  font-weight: 560;
  color: var(--mute);
}
.tab[aria-selected='true'] {
  background: var(--petrol);
  color: var(--ivory);
}
.notes {
  display: grid;
  gap: 10px;
  margin-top: 28px;
}
.notes li {
  display: flex;
  gap: 10px;
  align-items: center;
}
.notes svg {
  width: 20px;
  height: 20px;
  color: var(--petrol);
  flex: none;
}
.voice__panel {
  position: relative;
}
.voice__photo {
  border-radius: var(--r);
  overflow: hidden;
  aspect-ratio: 3 / 2;
}
.voice__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.chat {
  position: absolute;
  right: -12px;
  bottom: -28px;
  display: grid;
  gap: 8px;
  width: min(330px, 78%);
}
.bubble {
  padding: 11px 15px;
  border-radius: 16px;
  font-size: 0.97rem;
  line-height: 1.35;
  box-shadow: 0 8px 26px rgba(16, 38, 44, 0.16);
  max-width: 88%;
}
.bubble--user {
  justify-self: start;
  background: #fff;
  border-bottom-left-radius: 4px;
}
.bubble--tero {
  justify-self: end;
  background: var(--petrol);
  color: var(--ivory);
  border-bottom-right-radius: 4px;
}
.chat.is-playing .bubble {
  animation: bubble 0.4s calc(var(--i) * 0.7s + 0.2s) both cubic-bezier(0.2, 0.8, 0.2, 1);
}
@keyframes bubble {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.97);
  }
}
.beep {
  display: inline-flex;
  gap: 4px;
  align-items: center;
  height: 1.35em;
}
.beep i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--eye);
}

/* Shops: the camera touring its positions, with the counts the system reads from each frame. */
.retail {
  background: var(--mist);
}
.retail__in {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.tour {
  border-radius: var(--r);
  background: var(--ink);
  color: var(--ivory);
  overflow: hidden;
  box-shadow: 0 30px 80px -30px rgba(16, 38, 44, 0.45);
}
.tour__screen {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
}
.tour__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.tour__cam {
  top: 10px;
  left: 10px;
  font-variant-numeric: tabular-nums;
}
.tour__audio {
  position: absolute;
  left: 10px;
  bottom: 10px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(16, 38, 44, 0.66);
  font-size: 0.75rem;
  font-weight: 600;
}
.tour__audio[hidden] {
  display: none;
}
.meter {
  display: inline-flex;
  align-items: flex-end;
  gap: 2px;
  height: 12px;
}
.meter i {
  width: 3px;
  height: 12px;
  border-radius: 1px;
  background: var(--ivory);
  transform-origin: bottom;
}
.tour__alert,
.tour__toast {
  position: absolute;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.3s, transform 0.3s;
  pointer-events: none;
}
.tour__alert {
  top: 44px;
  right: 10px;
  max-width: min(22rem, calc(100% - 20px));
}
.tour__alert .chip {
  max-width: none;
  font-size: 0.85rem;
}
.tour__toast {
  left: 50%;
  bottom: 12px;
  width: min(22rem, calc(100% - 20px));
  margin-left: max(-11rem, calc(-50% + 10px));
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--ink);
  font-size: 0.85rem;
  text-align: center;
}
.tour [data-on='true'] {
  opacity: 1;
  transform: none;
}
.tour__stats {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  border-top: 1px solid var(--line-dark);
}
.tour__stats > div {
  min-width: 0;
  padding: 12px 16px;
}
.tour__stats > div + div {
  border-left: 1px solid var(--line-dark);
}
.tour__stats dt {
  font-size: 0.75rem;
  color: rgba(247, 243, 234, 0.6);
}
.tour__pos,
.tour__zone {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.tour__pos {
  font-size: 1.05rem;
  font-weight: 680;
}
.tour__zone {
  font-size: 0.75rem;
  color: rgba(247, 243, 234, 0.6);
}
.tour__num {
  font-size: 1.6rem;
  font-weight: 760;
  font-stretch: 88%;
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
}
.tour__ctl {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 12px;
  border-top: 1px solid var(--line-dark);
}
.tour__group {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-right: auto;
}
.tbtn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--line-dark);
  background: transparent;
  color: var(--ivory);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
}
.tbtn svg {
  width: 16px;
  height: 16px;
}
.tbtn:hover {
  border-color: rgba(247, 243, 234, 0.5);
}
.tbtn[aria-pressed='true'] {
  background: var(--ivory);
  border-color: var(--ivory);
  color: var(--ink);
}
.tour__caption {
  padding: 0 16px 16px;
  font-size: 0.85rem;
  color: rgba(247, 243, 234, 0.6);
}
.kinds {
  display: grid;
  gap: 28px;
}
.kind {
  padding-top: 18px;
  border-top: 3px solid var(--petrol-2);
}
.kind--crowd {
  border-top-color: var(--eye);
}
.kind h3 {
  font-size: 1.5rem;
  font-weight: 720;
  font-stretch: 90%;
  letter-spacing: -0.01em;
}
.kind p {
  margin-top: 8px;
  color: var(--mute);
}
.kind ul {
  display: grid;
  gap: 6px;
  margin-top: 12px;
}
.kind li {
  position: relative;
  padding-left: 18px;
}
.kind li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 0.62em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--petrol-2);
}
.kind--crowd li::before {
  background: var(--eye);
}
.retail .notes {
  display: grid;
  gap: 10px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.retail .notes li {
  align-items: flex-start;
}

/* Savings: what a traditional install needs, struck out, next to what this one needs. */
.savings__in {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}
.savings__copy {
  display: grid;
  gap: 18px;
}
.savings__note {
  font-size: 0.9rem;
  color: var(--mute);
}
.compare {
  border-radius: var(--r);
  background: #fff;
  border: 1px solid var(--line);
  overflow: hidden;
}
.compare__head,
.compare li {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.compare__head {
  border-bottom: 1px solid var(--line);
  font-size: 0.9rem;
  font-weight: 650;
}
.compare__head span,
.compare li > * {
  padding: 14px 22px;
}
.compare__head span:first-child {
  color: var(--mute);
}
.compare li + li {
  border-top: 1px solid var(--line);
}
.compare s {
  color: var(--mute);
  text-decoration-color: var(--eye);
  text-decoration-thickness: 1.5px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* System: dark, sober. The ladder is a real escalation sequence. */
.system {
  background: var(--ink);
  color: var(--ivory);
}
.system .lead {
  color: rgba(247, 243, 234, 0.72);
}
.system__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 96px);
}
.system__h {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: rgba(247, 243, 234, 0.72);
}
.ladder {
  position: relative;
  display: grid;
  gap: 0;
}
.ladder li {
  display: grid;
  grid-template-columns: 6.5rem 1fr;
  gap: 20px;
  align-items: baseline;
  padding: 18px 0;
  border-top: 1px solid var(--line-dark);
}
.ladder li:last-child {
  border-bottom: 1px solid var(--line-dark);
}
.ladder b {
  font-size: 2rem;
  font-weight: 760;
  font-stretch: 86%;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px 32px;
  align-content: start;
}
.facts dt {
  font-size: 1.25rem;
  font-weight: 680;
  margin-bottom: 8px;
}
.facts dd {
  color: rgba(247, 243, 234, 0.72);
}

/* Dashboard */
.devices {
  position: relative;
  padding-right: clamp(0px, 14vw, 200px);
}
.dash {
  border-radius: var(--r);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 30px 80px -30px rgba(16, 38, 44, 0.35);
  overflow: hidden;
}
.dash__bar {
  padding: 12px 18px;
  border-bottom: 1px solid var(--line);
  font-weight: 650;
  font-size: 0.95rem;
}
.dash__body {
  display: grid;
  grid-template-columns: 1fr 260px;
}
.dash__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  padding: 6px;
}
.cam {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: 8px;
  background-size: cover;
  background-position: center;
}
.live {
  position: absolute;
  top: 8px;
  left: 8px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(16, 38, 44, 0.66);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
}
.cam__name {
  position: absolute;
  left: 8px;
  bottom: 8px;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.6);
}
.dash__side {
  padding: 18px;
  border-left: 1px solid var(--line);
  display: grid;
  gap: 14px;
  align-content: start;
}
.kpi span {
  display: block;
  font-size: 0.82rem;
  color: var(--mute);
}
.kpi b {
  font-size: 1.75rem;
  font-weight: 760;
  font-stretch: 88%;
  font-variant-numeric: tabular-nums;
}
.spark {
  width: 100%;
  height: 48px;
}
.spark path {
  fill: none;
  stroke: var(--petrol);
  stroke-width: 2;
  vector-effect: non-scaling-stroke;
}
.dash__h {
  font-size: 0.82rem;
  color: var(--mute);
}
.feed {
  display: grid;
  gap: 10px;
  font-size: 0.84rem;
  line-height: 1.3;
}
.feed time {
  display: block;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.phone {
  position: absolute;
  right: 0;
  bottom: -40px;
  width: clamp(160px, 16vw, 210px);
  padding: 9px;
  border-radius: 34px;
  background: var(--ink);
  box-shadow: 0 30px 60px -20px rgba(16, 38, 44, 0.5);
}
.phone__screen {
  border-radius: 26px;
  overflow: hidden;
  background: #fff;
  padding-bottom: 14px;
}
.phone__video {
  position: relative;
  aspect-ratio: 9 / 11;
  background-size: cover;
  background-position: center;
}
.phone__name {
  padding: 12px 14px 10px;
  font-weight: 650;
  font-size: 0.92rem;
}
.phone__btns {
  display: flex;
  gap: 6px;
  padding: 0 12px;
}
.pbtn {
  flex: 1;
  padding: 8px 0;
  text-align: center;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 0.78rem;
  font-weight: 600;
}
.pbtn--main {
  background: var(--petrol);
  border-color: var(--petrol);
  color: var(--ivory);
}
.points {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  margin-top: clamp(72px, 8vw, 96px);
}
.points li {
  border-top: 2px solid var(--petrol);
  padding-top: 16px;
}
.points h3 {
  font-size: 1.125rem;
  font-weight: 680;
  margin-bottom: 6px;
}
.points p {
  color: var(--mute);
  font-size: 0.97rem;
}
.soon {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--mute);
  vertical-align: middle;
}

/* Specs */
.specs {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.specs .lead {
  margin: 18px 0 32px;
}
.table div {
  display: grid;
  grid-template-columns: 11rem 1fr;
  gap: 16px;
  padding: 13px 0;
  border-top: 1px solid var(--line);
}
.table div:last-child {
  border-bottom: 1px solid var(--line);
}
.table dt {
  font-weight: 620;
}
.table dd {
  color: var(--mute);
}
.specs__side {
  position: sticky;
  top: 100px;
  display: grid;
  gap: 24px;
  justify-items: center;
}
.specs__product {
  width: 140px;
}
.calc {
  width: 100%;
  padding: 26px;
  border-radius: var(--r);
  background: #fff;
  border: 1px solid var(--line);
  display: grid;
  gap: 16px;
}
.calc h3 {
  font-size: 1.25rem;
  font-weight: 700;
}
.calc label {
  display: block;
}
.calc input[type='range'] {
  width: 100%;
  margin-top: 10px;
  accent-color: var(--petrol);
}
.calc fieldset {
  border: 0;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 6px;
}
.calc legend {
  margin-bottom: 6px;
}
.calc input[type='radio'] {
  accent-color: var(--petrol);
}
.calc__out b {
  font-size: 2.75rem;
  font-weight: 780;
  font-stretch: 86%;
  font-variant-numeric: tabular-nums;
  color: var(--petrol);
}
.calc__note {
  font-size: 0.88rem;
  color: var(--mute);
}

/* FAQ */
.faq {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}
details {
  border-top: 1px solid var(--line);
}
details:last-child {
  border-bottom: 1px solid var(--line);
}
summary {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  font-size: 1.125rem;
  font-weight: 620;
  cursor: pointer;
  list-style: none;
}
summary::-webkit-details-marker {
  display: none;
}
summary::after {
  content: '+';
  font-weight: 400;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--petrol);
  transition: transform 0.2s;
}
details[open] summary::after {
  transform: rotate(45deg);
}
details p {
  padding: 0 0 22px;
  color: var(--mute);
  max-width: 62ch;
}

/* CTA */
.cta {
  background: var(--petrol);
  color: var(--ivory);
  padding: clamp(80px, 11vw, 150px) 0;
}
.cta__in {
  display: grid;
  gap: 22px;
}
.cta__title {
  font-size: clamp(2.75rem, 7vw, 6rem);
  font-weight: 800;
  font-stretch: 86%;
  line-height: 0.98;
  letter-spacing: -0.028em;
  max-width: 14ch;
}
.cta .lead {
  color: rgba(247, 243, 234, 0.78);
  margin-bottom: 12px;
}

/* Footer */
.credits {
  background: var(--ink);
  color: var(--ivory);
  padding-bottom: clamp(64px, 8vw, 112px);
}
.credits__in {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
}
.credits__in::before {
  content: '';
  grid-column: 1 / -1;
  border-top: 1px solid var(--line-dark);
}
.credits .h2 {
  margin-bottom: 16px;
}
.credits .lead {
  color: rgba(247, 243, 234, 0.72);
}
.credits__links {
  display: grid;
  gap: 12px;
}
.credits__links a {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  padding: 20px 24px;
  border: 1px solid var(--line-dark);
  border-radius: var(--r);
  color: inherit;
  text-decoration: none;
  transition: border-color 0.2s, background-color 0.2s;
}
.credits__links a:hover {
  border-color: rgba(247, 243, 234, 0.4);
  background: rgba(247, 243, 234, 0.04);
}
.credits__links img {
  height: 40px;
  width: auto;
}
.credits__links span {
  font-size: 0.95rem;
  color: rgba(247, 243, 234, 0.72);
}
.credits__links b {
  display: block;
  font-weight: 600;
  color: var(--ivory);
}
.footer {
  background: var(--ink);
  color: rgba(247, 243, 234, 0.72);
  padding: 48px 0;
  font-size: 0.95rem;
}
.footer__in {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  flex-wrap: wrap;
}
.footer__wm {
  display: block;
  height: 30px;
  width: auto;
  color: var(--ivory);
  margin-bottom: 12px;
}
.footer__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}
.footer a {
  color: var(--ivory);
}
.footer__ig {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.footer__ig svg {
  width: 18px;
  height: 18px;
}
.footer__legal {
  flex: 1 0 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line-dark);
}
.footer__note {
  color: rgba(247, 243, 234, 0.55);
}

/* Páginas legales */
.legal__top {
  padding: clamp(40px, 6vw, 80px) 0 0;
}
.legal__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: clamp(28px, 4vw, 44px);
}
.legal__tabs a {
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--petrol);
  font-size: 0.95rem;
  font-weight: 560;
  text-decoration: none;
}
.legal__tabs a[aria-current='page'] {
  background: var(--petrol);
  border-color: var(--petrol);
  color: var(--ivory);
}
.legal__en {
  color: var(--mute);
  font-size: 0.95rem;
}
.legal__body {
  display: grid;
  gap: clamp(32px, 4vw, 48px);
  padding-bottom: clamp(72px, 10vw, 136px);
}
.legal__body section {
  display: grid;
  gap: 14px;
  max-width: 860px;
  min-width: 0;
}
.legal__body h2 {
  font-size: clamp(1.4rem, 2.2vw, 1.75rem);
  font-weight: 700;
  font-stretch: 92%;
  line-height: 1.15;
  letter-spacing: -0.015em;
}
.legal__body p,
.legal__body li {
  text-wrap: pretty;
}
.legal__body ul {
  display: grid;
  gap: 10px;
  padding-left: 1.2em;
  list-style: disc;
}
.legal__body li::marker {
  color: var(--eye);
}
.legal__body a {
  color: var(--petrol-2);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.legal__body blockquote {
  margin: 0;
  padding: 14px 18px;
  background: var(--mist);
  border-left: 3px solid var(--petrol);
  border-radius: 0 var(--r) var(--r) 0;
}
.legal__table {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--r);
}
.legal__table table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 0.975rem;
  line-height: 1.45;
}
.legal__table th,
.legal__table td {
  padding: 11px 14px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}
.legal__table th {
  background: var(--mist);
  font-weight: 650;
}
.legal__table td:first-child {
  font-weight: 560;
}
.legal__table tbody tr:last-child td {
  border-bottom: 0;
}
/* En el celular cada fila es una ficha: un plazo no puede quedar escondido a la derecha. */
@media (max-width: 640px) {
  .legal__table table {
    min-width: 0;
  }
  .legal__table thead {
    display: none;
  }
  .legal__table tr {
    display: block;
    padding: 12px 14px;
    border-bottom: 1px solid var(--line);
  }
  .legal__table tbody tr:last-child {
    border-bottom: 0;
  }
  .legal__table td {
    display: block;
    padding: 0;
    border: 0;
  }
  .legal__table td + td {
    margin-top: 8px;
  }
  .legal__table td + td::before {
    content: attr(data-label);
    display: block;
    color: var(--mute);
    font-size: 0.85rem;
    font-weight: 600;
  }
}
.legal__todo {
  padding: 1px 5px;
  background: rgba(217, 87, 61, 0.14);
  color: #a33a24;
  border-radius: 4px;
  font-weight: 650;
  font-size: 0.92em;
}

/* ---- Inicio: elegir el lugar, los tres paquetes, instalar, mirarla, confianza (plan del 9/11) ---- */
.hero__title {
  min-height: 0;
  max-width: 14ch;
  font-size: clamp(2.6rem, 5.4vw, 5rem);
}
.hero__lead {
  margin: 20px 0 28px;
}
.hero__ask {
  margin-bottom: 12px;
  font-size: 0.95rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(247, 243, 234, 0.75);
}
.paths {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 640px;
}
.path {
  position: relative;
  display: grid;
  gap: 2px;
  min-height: 84px;
  padding: 14px 40px 14px 16px;
  border-radius: var(--r);
  background: rgba(247, 243, 234, 0.96);
  color: var(--ink);
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22);
  transition: transform 0.15s, background-color 0.15s;
}
.path:hover {
  transform: translateY(-2px);
  background: #fff;
}
.path b {
  font-size: 1.375rem;
  font-weight: 760;
  font-stretch: 90%;
  letter-spacing: -0.015em;
  line-height: 1.1;
}
.path span {
  font-size: 0.875rem;
  line-height: 1.3;
  color: var(--mute);
}
.path i {
  position: absolute;
  right: 14px;
  top: 14px;
  font-style: normal;
  font-size: 1.25rem;
  color: var(--eye);
}
.hero__custom {
  display: inline-block;
  margin-top: 18px;
  color: rgba(247, 243, 234, 0.85);
  font-size: 0.95rem;
  text-underline-offset: 3px;
}
.hero__custom:hover {
  color: #fff;
}
.hero__side {
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}
.hero__examples {
  font-size: 0.8rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(247, 243, 234, 0.7);
}
.hero__notes {
  display: grid;
  gap: 10px;
  justify-items: end;
}
.hero__notes li {
  display: grid;
  justify-items: end;
  gap: 4px;
}
.hero__tag {
  font-size: 0.78rem;
  font-weight: 650;
  color: rgba(247, 243, 234, 0.8);
}
.hero__ctl {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: clamp(20px, 3vw, 32px);
}

/* Paquetes: pestañas, foto con su aviso y renglones con un interruptor dibujado. */
.pk__tabs {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  margin-bottom: 28px;
  border-radius: 999px;
  background: var(--mist);
  border: 1px solid var(--line);
}
.pk__tabs[hidden] {
  display: none;
}
.pk__tab {
  min-height: 44px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  background: none;
  color: var(--mute);
  font-size: 1.0625rem;
  font-weight: 650;
  cursor: pointer;
}
.pk__tab[aria-selected='true'] {
  background: var(--petrol);
  color: var(--ivory);
}
.pk__panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}
.pk__panel[hidden] {
  display: none;
}
.pk__panel + .pk__panel {
  margin-top: clamp(48px, 6vw, 80px);
}
.pk__tabs:not([hidden]) ~ .pk__panel + .pk__panel {
  margin-top: 0;
}
.pk__img {
  position: relative;
  border-radius: var(--r);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--mist);
}
.pk__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.pk__img .chip {
  position: absolute;
  left: 14px;
  bottom: 14px;
  right: 14px;
}
.pk__body {
  display: grid;
  gap: 16px;
  align-content: start;
}
.pk__title {
  font-size: clamp(1.6rem, 2.8vw, 2.25rem);
  font-weight: 760;
  font-stretch: 88%;
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.pk__lead {
  color: var(--mute);
  max-width: 52ch;
}
.pk__rows {
  display: grid;
  border-top: 1px solid var(--line);
}
.pk-row {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}
.pk-row__t {
  font-weight: 560;
  line-height: 1.35;
}
.sw {
  position: relative;
  width: 40px;
  height: 24px;
  border-radius: 999px;
  background: rgba(16, 38, 44, 0.16);
}
.sw::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(16, 38, 44, 0.3);
}
.sw--on {
  background: #2f8a5b;
}
.sw--on::after {
  left: 19px;
}
.pk__note {
  color: var(--mute);
  font-size: 0.97rem;
}
.pk__note a {
  color: var(--petrol-2);
  font-weight: 600;
  text-underline-offset: 3px;
}

/* Cómo se instala */
.inst__in {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}
.inst__steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 36px);
}
.inst__n {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--petrol);
  color: var(--ivory);
  font-weight: 760;
  font-size: 1.25rem;
}
.inst__steps h3 {
  margin: 14px 0 6px;
  font-size: 1.375rem;
  font-weight: 760;
  font-stretch: 88%;
}
.inst__steps p,
.inst__save p {
  color: var(--mute);
}
.inst__steps a,
.inst__save a {
  color: var(--petrol-2);
  font-weight: 600;
  text-underline-offset: 3px;
}
.inst__save {
  display: grid;
  gap: 10px;
  padding: 24px;
  border-radius: var(--r);
  background: var(--paper);
  border: 1px solid var(--line);
}
.inst__save h3 {
  font-size: 1.25rem;
  font-weight: 720;
}

/* Mirala desde donde estés */
.ver__jobs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: clamp(48px, 6vw, 80px);
}
.job__badge {
  margin-top: 12px;
}
.points li > p:last-child {
  margin-top: 10px;
}
.voice__badge {
  margin-bottom: 14px;
}
.voice__pilot {
  margin: -12px 0 24px;
  color: var(--mute);
  font-size: 0.95rem;
  max-width: 52ch;
}
.system .head .p-badge {
  justify-self: start;
}

/* Cierre y pie */
.cta__paths .btn {
  min-width: 180px;
}
.cta__mail {
  color: rgba(247, 243, 234, 0.8);
}
.cta__mail a {
  color: var(--ivory);
}
.footer__credits {
  flex: 1 0 100%;
  color: rgba(247, 243, 234, 0.72);
}

@media (max-width: 1060px) {
  .ver__jobs {
    grid-template-columns: 1fr;
  }
  .ver__jobs .job,
  .ver__jobs .job + .job {
    padding: 22px 0;
    border-left: 0;
  }
  .ver__jobs .job + .job {
    border-top: 1px solid var(--line);
  }
  .inst__in {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 900px) {
  .hero {
    min-height: 0;
    padding-top: 40px;
  }
  .hero__title {
    font-size: clamp(2.3rem, 10.5vw, 3.4rem);
  }
  .hero__lead {
    margin: 16px 0 22px;
  }
  .paths {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .path {
    min-height: 0;
    grid-template-columns: auto 1fr;
    align-items: baseline;
    column-gap: 12px;
    padding: 14px 40px 14px 16px;
  }
  .path i {
    top: 50%;
    transform: translateY(-50%);
  }
  .hero__side {
    display: none;
  }
  .hero__ctl {
    justify-content: flex-start;
    margin-top: 20px;
  }
  .pk__panel {
    grid-template-columns: 1fr;
  }
  .pk__img {
    aspect-ratio: 3 / 2;
  }
  .inst__steps {
    grid-template-columns: 1fr;
  }
  .inst__steps li {
    display: grid;
    grid-template-columns: 44px 1fr;
    column-gap: 16px;
  }
  .inst__steps h3 {
    margin: 8px 0 4px;
  }
  .inst__steps p {
    grid-column: 2;
  }
}
@media (max-width: 560px) {
  .pk__tabs {
    display: flex;
    width: 100%;
  }
  .pk__tab {
    flex: 1;
    padding: 0 8px;
  }
  .pk-row {
    grid-template-columns: 40px minmax(0, 1fr);
    row-gap: 6px;
  }
  .pk-row .p-badge {
    grid-column: 2;
    justify-self: start;
  }
  .path span {
    font-size: 0.85rem;
  }
}

/* Tablet */
@media (max-width: 1060px) {
  .nav__links {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    padding: 8px var(--gut) 20px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
  }
  .nav.is-open .nav__links {
    display: flex;
  }
  .nav__links a {
    padding: 13px 0;
    font-size: 1.125rem;
    color: var(--ink);
    border-bottom: 1px solid var(--line);
  }
  .nav__cases-top {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid var(--line);
  }
  .nav__cases-top a {
    flex: 1;
    border-bottom: 0;
  }
  .nav__caret {
    width: 48px;
    height: 48px;
  }
  .nav__panel {
    position: static;
    width: auto;
    margin: 0;
    padding: 4px 0 10px;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: none;
  }
  .nav__panel::before {
    display: none;
  }
  .nav__panel ul {
    grid-template-columns: minmax(0, 1fr);
  }
  .nav__panel li a {
    padding: 9px 12px;
    font-size: 1rem;
    border-bottom: 0;
  }
  .nav__links .nav__panel-all {
    margin-top: 4px;
    padding: 12px;
    font-size: 1rem;
    border-bottom: 0;
  }
  .casos-home__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .nav__lang {
    padding-left: 0;
    border-left: 0;
  }
  .nav__end {
    margin-left: auto;
  }
  .nav__burger {
    display: block;
  }
  .dash__body {
    grid-template-columns: 1fr;
  }
  .dash__side {
    border-left: 0;
    border-top: 1px solid var(--line);
    grid-template-columns: 1fr 1fr;
  }
  .dash__side .spark,
  .dash__side .dash__h,
  .dash__side .feed {
    grid-column: 1 / -1;
  }
  .points {
    grid-template-columns: 1fr 1fr;
  }
}

/* Phone */
@media (max-width: 900px) {
  .hero__in,
  .voice__in,
  .system__grid,
  .credits__in,
  .specs,
  .faq {
    grid-template-columns: 1fr;
  }
  .hero__media::after {
    background: linear-gradient(0deg, rgba(16, 38, 44, 0.92) 0%, rgba(16, 38, 44, 0.66) 55%, rgba(16, 38, 44, 0.5) 100%);
  }
  .hero__side {
    justify-content: flex-start;
  }
  .hero__live {
    display: none;
  }
  /* Icon only next to the places; the label stays for screen readers. */
  .hero__sound {
    width: 44px;
    padding: 0;
  }
  .hero__sound span {
    justify-content: center;
  }
  .hero__sound em {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
  .jobs__in {
    grid-template-columns: 1fr;
  }
  .job,
  .job + .job {
    display: grid;
    grid-template-columns: 26px 1fr;
    column-gap: 14px;
    padding: 22px 0;
    border-left: 0;
  }
  .job h3 {
    margin: 0 0 4px;
    font-size: 1.375rem;
  }
  .job p {
    grid-column: 2;
  }
  .job + .job {
    border-top: 1px solid var(--line);
  }
  .place,
  .place--wide {
    grid-column: 1 / -1;
  }
  .place:not(.place--wide) .place__img {
    aspect-ratio: 3 / 2;
  }
  .place--ask {
    grid-template-columns: 1fr;
  }
  .place--ask .btn {
    grid-column: 1;
    grid-row: auto;
    justify-self: start;
    margin-top: 10px;
  }
  .chat {
    position: relative;
    right: auto;
    bottom: auto;
    width: auto;
    margin: -36px 12px 0;
  }
  .devices {
    padding-right: 0;
  }
  .phone {
    display: none;
  }
  .specs__side {
    position: static;
  }
}
@media (max-width: 560px) {
  .btn--sm {
    display: none;
  }
  .actions .btn {
    flex: 1 1 100%;
  }
  .facts {
    grid-template-columns: 1fr;
  }
  .ladder li {
    grid-template-columns: 5rem 1fr;
  }
  .table div {
    grid-template-columns: 1fr;
    gap: 2px;
  }
  .points {
    grid-template-columns: 1fr;
  }
  .chip {
    font-size: 0.82rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Setup page: a form on the left, the QR it produces on the right (sticky on wide screens). */
/* The script hides groups, the QR and its placeholder with [hidden]; class display rules must not win. */
.setup [hidden] {
  display: none !important;
}
.setup__top {
  padding: clamp(48px, 7vw, 96px) 0 clamp(8px, 2vw, 16px);
}
.setup__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
  padding-bottom: clamp(72px, 10vw, 136px);
}
.setup__form,
.setup__full {
  display: grid;
  gap: 18px;
}
.setup__note {
  color: var(--mute);
  max-width: 58ch;
}
.grp {
  margin: 0;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: #fff;
  display: grid;
  gap: 14px;
  min-width: 0;
}
.grp legend {
  padding: 0 6px;
  margin-left: -6px;
  font-size: 1.125rem;
  font-weight: 700;
}
.grp__hint,
.fld__hint {
  color: var(--mute);
  font-size: 0.9rem;
}
.grp__sub {
  display: grid;
  gap: 14px;
  padding-top: 4px;
}
.grp__sub[hidden] {
  display: none;
}
details.grp,
details.grp:last-child {
  border: 1px solid var(--line);
}
details.grp summary {
  padding: 0;
  font-size: 1.125rem;
  font-weight: 700;
}
.fld {
  display: grid;
  gap: 6px;
}
.fld label {
  font-weight: 560;
}
.fld input,
.fld select,
.fld textarea {
  width: 100%;
  min-height: 46px;
  padding: 10px 14px;
  border: 1px solid rgba(16, 38, 44, 0.24);
  border-radius: 10px;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
}
.fld textarea {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.92rem;
  resize: vertical;
}
.fld--inline {
  grid-template-columns: auto 8rem auto;
  align-items: center;
  justify-content: start;
  gap: 10px;
}
.fld__unit {
  color: var(--mute);
}
.fld__pw {
  display: flex;
  gap: 8px;
}
.fld__reveal {
  flex: none;
  min-width: 88px;
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: none;
  cursor: pointer;
}
.chk {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 32px;
  cursor: pointer;
}
.chk input,
.seg input {
  width: 20px;
  height: 20px;
  margin: 0;
  accent-color: var(--petrol);
}
.seg {
  margin: 0;
  padding: 0;
  border: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.seg legend {
  width: 100%;
  margin-bottom: 8px;
  font-weight: 560;
}
.seg label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  cursor: pointer;
}
.seg label:has(input:checked) {
  border-color: var(--petrol);
  box-shadow: inset 0 0 0 1px var(--petrol);
}
.qrcard {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 16px;
  padding: 24px;
  border-radius: var(--r);
  background: var(--mist);
}
.qrcard__title {
  font-size: 1.25rem;
  font-weight: 700;
}
.qrcard__frame {
  display: grid;
  place-items: center;
  min-height: 300px;
  padding: 12px;
  border-radius: 12px;
  background: #fff;
}
.qrcard__frame canvas {
  display: block;
  max-width: 100%;
  height: auto;
  image-rendering: pixelated;
}
.qrcard__empty {
  max-width: 28ch;
  text-align: center;
  color: var(--mute);
}
.qrcard__size {
  font-size: 0.92rem;
  color: var(--mute);
  font-variant-numeric: tabular-nums;
}
.qrcard__size:empty,
.qrcard__errors:empty {
  display: none;
}
.qrcard__errors {
  display: grid;
  gap: 6px;
  color: #a2321f;
  font-weight: 560;
}
.qrcard .btn[disabled] {
  opacity: 0.45;
  cursor: not-allowed;
}
.qrcard__steps-title {
  font-size: 1.05rem;
  font-weight: 700;
}
.qrcard__steps {
  list-style: decimal;
  padding-left: 1.3em;
  display: grid;
  gap: 6px;
}
.qrcard__privacy {
  font-size: 0.92rem;
  color: var(--mute);
}
.qrcard__raw summary {
  padding: 14px 0;
  font-size: 1rem;
}
.qrcard__raw pre {
  margin: 0 0 14px;
  padding: 12px;
  border-radius: 10px;
  background: #fff;
  font-size: 0.85rem;
  white-space: pre-wrap;
  word-break: break-all;
}
@media (max-width: 900px) {
  .setup__grid {
    grid-template-columns: 1fr;
  }
  .qrcard {
    position: static;
  }
}
@media (max-width: 1060px) {
  .retail__in,
  .savings__in {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 560px) {
  .tour__stats > div {
    padding: 10px 12px;
  }
  .tour__pos {
    font-size: 0.95rem;
  }
  .tour__num {
    font-size: 1.3rem;
  }
  .tour__alert {
    top: auto;
    bottom: 10px;
  }
  .compare__head {
    display: none;
  }
  .compare li {
    grid-template-columns: 1fr;
  }
  .compare li > s {
    padding-bottom: 2px;
  }
  .compare li > span {
    padding-top: 0;
  }
}
@media print {
  .nav,
  .footer,
  .skip,
  .setup__form,
  .setup__top .lead,
  .qrcard__size,
  .qrcard__errors,
  .qrcard__actions,
  .qrcard__raw {
    display: none !important;
  }
  .setup__grid {
    display: block;
    padding: 0;
  }
  .qrcard {
    position: static;
    background: none;
    padding: 0;
  }
  .qrcard__frame {
    min-height: 0;
  }
}

/* Inicio en el celular: más corto (meta del plan: 12.000 px o menos a 390 px). */
.ver__app {
  margin-top: 28px;
  color: var(--mute);
  max-width: 80ch;
}
.ver__app b {
  color: var(--ink);
}
@media (max-width: 760px) {
  .section {
    padding: 56px 0;
  }
  .head {
    margin-bottom: 28px;
  }
  .ver__jobs {
    margin-bottom: 0;
  }
  .ver .devices {
    display: none;
  }
  .ladder li {
    padding: 12px 0;
  }
  .ladder b {
    font-size: 1.5rem;
  }
  .facts {
    gap: 18px;
  }
  .facts dt {
    font-size: 1.0625rem;
    margin-bottom: 2px;
  }
  .facts dd {
    font-size: 0.95rem;
  }
  .specs__product {
    display: none;
  }
  .table div,
  .table div:last-child {
    grid-template-columns: 7.5rem 1fr;
    gap: 10px;
    padding: 9px 0;
    font-size: 0.92rem;
  }
  .casos-home__list a {
    padding: 11px 0;
    font-size: 1rem;
  }
  .faq summary {
    font-size: 1.0625rem;
  }
}

/* En el celular "Pedí una demo" sigue arriba, al lado del menú. */
@media (max-width: 560px) {
  .nav .btn--sm {
    display: inline-flex;
    padding: 0 14px;
    font-size: 0.875rem;
  }
}

/* Próximos lanzamientos (src/proximos.mjs): la marca de estado al lado del nombre. */
.upcoming__status {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 10px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 500;
  vertical-align: middle;
  opacity: 0.75;
}
