/* =====================================================================
   CONO — estilos
   Mobile first: primero el celu, después pantallas más grandes.
   ===================================================================== */

:root {
  /* Identidad */
  --negro: #121212;
  --naranja: #FF6A13;
  --hueso: #F5F5F0;
  --gris: #A3A3A3;       /* texto secundario sobre negro */
  --gris-osc: #5A5A5A;   /* texto secundario sobre claro */

  /* Derivados (mezclas suaves de los colores de marca) */
  --card-claro: #EAEAE3;
  --card-oscuro: #1B1B1B;
  --linea-claro: rgba(18, 18, 18, .12);
  --linea-oscuro: rgba(245, 245, 240, .10);

  --f-titulo: "Bricolage Grotesque", system-ui, sans-serif;
  --f-texto: "DM Sans", system-ui, sans-serif;

  --radio-card: 32px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --nav-h: 64px;
  --nav-top: max(12px, env(safe-area-inset-top)); /* distancia de la barra al borde de arriba */
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--hueso);
  color: var(--negro);
  font-family: var(--f-texto);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p { margin: 0; }
em { font-style: normal; color: var(--naranja); }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
::selection { background: var(--naranja); color: var(--negro); }

/* Íconos de línea */
svg:not(.iso):not(.fill) {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
svg.fill { fill: currentColor; }

:focus-visible { outline: 2px solid var(--naranja); outline-offset: 3px; border-radius: 8px; }

.skip {
  position: fixed; left: 16px; top: -60px; z-index: 300;
  background: var(--negro); color: var(--hueso);
  padding: 10px 16px; border-radius: 999px; font-weight: 600;
  transition: top .2s;
}
.skip:focus { top: 16px; }

.container { width: min(100% - 40px, 1240px); margin-inline: auto; }

.section { position: relative; padding: 72px 0; }
.section--light { background: var(--hueso); color: var(--negro); }
.section--dark { background: var(--negro); color: var(--hueso); }
.section.servicios { padding-bottom: 56px; }

/* Animaciones de entrada: se ocultan solo si hay JS (y aparecen con GSAP) */
.js:not(.js-ready) [data-hero],
.js:not(.js-ready) [data-split],
.js:not(.js-ready) [data-reveal],
.js:not(.js-ready) [data-reveal-group] > * { visibility: hidden; }

/* Palabras separadas para animar títulos */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding: .12em .02em .16em; margin: -.12em -.02em -.16em; }
.wi { display: inline-block; will-change: transform; }

/* ---------- Tipografía común ---------- */
.eyebrow,
.tag {
  font-family: var(--f-titulo);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.eyebrow { color: var(--gris-osc); }

.tag { display: inline-flex; align-items: center; gap: 10px; color: var(--gris-osc); }
.section--dark .tag { color: var(--gris); }
.tag__dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--naranja);
  box-shadow: 0 0 0 0 rgba(255, 106, 19, .5);
  animation: blink 2.2s ease-in-out infinite;
}
@keyframes blink {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(255, 106, 19, .45); }
  50% { opacity: .45; box-shadow: 0 0 0 6px rgba(255, 106, 19, 0); }
}

.h2 {
  font-family: var(--f-titulo);
  font-weight: 700;
  font-size: clamp(2rem, 8.2vw, 4.6rem);
  line-height: 1.04;
  letter-spacing: -.035em;
  margin: 18px 0 18px;
  max-width: 17ch;
  text-wrap: balance;
}
.lead { font-size: 18px; color: var(--gris-osc); max-width: 44ch; }
.section--dark .lead { color: var(--gris); }

/* ---------- Botones (pill con flecha en círculo) ---------- */
.btn {
  --btn-bg: var(--negro); --btn-fg: var(--hueso);
  --ico-bg: var(--naranja); --ico-fg: var(--negro);
  display: inline-flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 60px;
  padding: 7px 7px 7px 26px;
  border-radius: 999px;
  background: var(--btn-bg); color: var(--btn-fg);
  font-weight: 600; font-size: 17px; line-height: 1.2;
  border: 1.5px solid transparent;
  transition: scale .35s var(--ease), background-color .25s, color .25s; /* "scale" y no "transform": así no choca con las animaciones de entrada */
  -webkit-tap-highlight-color: transparent;
  cursor: pointer;
}
.btn__icon {
  flex: none; display: grid; place-items: center;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--ico-bg); color: var(--ico-fg);
  transition: transform .4s var(--ease);
}
.btn__icon svg { width: 20px; height: 20px; transition: transform .4s var(--ease); }
.btn:hover .btn__icon { transform: rotate(-45deg); }
.btn:active { scale: .97; }

.btn--orange { --btn-bg: var(--naranja); --btn-fg: var(--negro); --ico-bg: var(--negro); --ico-fg: var(--hueso); }
.btn--dark { --btn-bg: var(--negro); --btn-fg: var(--hueso); --ico-bg: var(--naranja); --ico-fg: var(--negro); }
.btn--outline { --btn-bg: transparent; --btn-fg: var(--negro); --ico-bg: var(--negro); --ico-fg: var(--hueso); border-color: var(--negro); }
.btn--outline:hover { --btn-bg: var(--negro); --btn-fg: var(--hueso); --ico-bg: var(--naranja); --ico-fg: var(--negro); }
.btn--block { width: 100%; }
.btn--lg { min-height: 72px; font-size: 19px; padding-left: 32px; }
.btn--lg .btn__icon { width: 56px; height: 56px; }

/* ---------- Barra de progreso ---------- */
.progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 200; pointer-events: none; }
.progress__bar {
  display: block; height: 100%;
  background: var(--naranja);
  transform-origin: left; transform: scaleX(0);
  box-shadow: 0 0 12px rgba(255, 106, 19, .6);
}

/* ---------- Navbar ---------- */
.nav {
  position: fixed; z-index: 100;
  top: var(--nav-top); left: 0; right: 0;
  padding: 0 12px;
  pointer-events: none;
}
.nav__pill {
  pointer-events: auto;
  width: min(100%, 1240px); margin: 0 auto;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 8px 0 24px;
  border-radius: 999px;
  background: rgba(245, 245, 240, .72);
  -webkit-backdrop-filter: blur(18px) saturate(1.5);
  backdrop-filter: blur(18px) saturate(1.5);
  border: 1px solid rgba(255, 255, 255, .55);
  box-shadow: 0 10px 30px rgba(18, 18, 18, .08), inset 0 1px 0 rgba(255, 255, 255, .6);
}
.nav__right { display: flex; align-items: center; gap: 10px; }
.nav__cta {
  display: none;
  font-weight: 600; font-size: 15px;
  padding: 12px 20px; border-radius: 999px;
  border: 1.5px solid var(--negro);
  transition: background-color .25s, color .25s;
}
.nav__cta:hover { background: var(--negro); color: var(--hueso); }
.nav__toggle {
  position: relative;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--negro);
  display: grid; place-items: center;
  transition: transform .3s var(--ease);
}
.nav__toggle:active { transform: scale(.94); }
.nav__toggle span {
  position: absolute; left: 50%; top: 50%;
  width: 18px; height: 2px; border-radius: 2px;
  background: var(--hueso);
  transition: transform .45s var(--ease);
}
.nav__toggle span:nth-child(1) { transform: translate(-50%, -4px); }
.nav__toggle span:nth-child(2) { transform: translate(-50%, 3px); }
.menu-open .nav__toggle span:nth-child(1) { transform: translate(-50%, 0) rotate(45deg); }
.menu-open .nav__toggle span:nth-child(2) { transform: translate(-50%, 0) rotate(-45deg); }

/* Logo recortado (el SVG trae aire alrededor) */
.logo { --h: 24px; display: block; flex: none; height: var(--h); width: calc(var(--h) * 5.76); overflow: hidden; }
.logo img {
  max-width: none; width: auto;
  height: calc(var(--h) * 2.345);
  margin: calc(var(--h) * -.655) 0 0 calc(var(--h) * -.877);
}
.logo--lg { --h: 40px; }

/* ---------- Menú a pantalla completa ---------- */
.menu {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(245, 245, 240, .9);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
  opacity: 0; visibility: hidden;
  transition: opacity .45s var(--ease), visibility 0s linear .45s;
}
.menu-open .menu { opacity: 1; visibility: visible; transition: opacity .45s var(--ease), visibility 0s; }
/* La zona que scrollea empieza justo debajo de la barra: nada queda tapado */
.menu__inner {
  position: absolute; left: 0; right: 0; bottom: 0;
  top: calc(var(--nav-top) + var(--nav-h));
  overflow-y: auto; overscroll-behavior: contain;
  padding: 32px max(20px, calc((100% - 1240px) / 2)) calc(40px + env(safe-area-inset-bottom));
  display: flex; flex-direction: column; justify-content: space-between; gap: 40px;
}
.menu__inner > * { flex-shrink: 0; }
.menu__row { display: flex; align-items: center; gap: 16px; }
.menu__link {
  display: block; overflow: hidden;
  font-family: var(--f-titulo); font-weight: 700;
  font-size: clamp(2.1rem, 9.6vw, 5.6rem);
  line-height: 1.12; letter-spacing: -.04em;
  padding-bottom: .04em;
}
.menu__link span {
  display: inline-block;
  transform: translateY(110%);
  transition: transform .7s var(--ease), color .25s;
  transition-delay: calc(var(--i, 0) * 60ms);
}
.menu__link:hover span { color: var(--naranja); }
.menu-open .menu__link span { transform: none; transition-delay: calc(120ms + var(--i, 0) * 70ms), 0s; }

.menu__expand {
  flex: none; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--negro); color: var(--hueso);
  opacity: 0; transform: scale(.6);
  transition: transform .5s var(--ease), opacity .4s, background-color .25s;
}
.menu-open .menu__expand { opacity: 1; transform: none; transition-delay: .3s, .3s, 0s; }
.menu__expand svg { width: 20px; height: 20px; transition: transform .4s var(--ease); }
.menu__expand[aria-expanded="true"] { background: var(--naranja); color: var(--negro); }
.menu__expand[aria-expanded="true"] svg { transform: rotate(180deg); }

.menu__sub { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); }
.menu__sub.is-open { grid-template-rows: 1fr; }
.menu__sub-inner { overflow: hidden; }
.menu__services { display: grid; gap: 10px; padding: 14px 0 18px; }
.menu__services a {
  display: flex; align-items: center; gap: 16px;
  padding: 10px 18px 10px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .55);
  border: 1px solid rgba(18, 18, 18, .06);
  box-shadow: 0 6px 20px rgba(18, 18, 18, .05);
  transition: background-color .25s;
}
.menu__services a:hover { background: rgba(255, 255, 255, .9); }
.menu__num {
  flex: none; width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--negro); color: var(--hueso);
  font-family: var(--f-titulo); font-weight: 700; font-size: 14px;
}
.menu__sname { display: block; font-family: var(--f-titulo); font-weight: 700; font-size: 16px; letter-spacing: -.02em; line-height: 1.25; }
.menu__sprice { display: block; color: var(--gris-osc); font-size: 15px; }

.menu__cta { opacity: 0; transform: translateY(20px); transition: opacity .5s, transform .6s var(--ease); }
.menu-open .menu__cta { opacity: 1; transform: none; transition-delay: .45s; }

/* ---------- 2. Inicio ---------- */
.hero { padding-top: calc(var(--nav-h) + 64px); padding-bottom: 40px; overflow: hidden; }
.hero__grid { position: relative; z-index: 1; display: grid; gap: 40px; }
.hero__title {
  font-family: var(--f-titulo); font-weight: 700;
  font-size: clamp(2.55rem, 11.4vw, 6.9rem);
  line-height: 1; letter-spacing: -.045em;
  margin: 20px 0 22px;
  text-wrap: balance;
}
.hero__lead { font-size: clamp(18px, 4.8vw, 21px); color: var(--gris-osc); max-width: 32ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero__pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.hero__pills li {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 16px; border-radius: 999px;
  border: 1px solid var(--linea-claro);
  background: rgba(255, 255, 255, .45);
  font-weight: 600; font-size: 14px;
}
.hero__pills li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--naranja); }

/* Calculadora */
.calc {
  position: relative;
  background: var(--negro); color: var(--hueso);
  border-radius: var(--radio-card);
  padding: 30px 26px 34px;
  box-shadow: 0 30px 60px -20px rgba(18, 18, 18, .35);
}
/* Borde fino naranja por dentro del cartel */
.calc::after {
  content: ""; position: absolute; inset: 8px; pointer-events: none;
  border: 2px solid var(--naranja);
  border-radius: calc(var(--radio-card) - 8px);
}

/* ---- Cartel de obra: franja, luces y patas ---- */
.sign { position: relative; align-self: end; }
.sign__stripe {
  position: relative; height: 28px; margin-bottom: 6px;
  border-radius: 10px;
  background: repeating-linear-gradient(45deg, var(--naranja) 0 14px, var(--hueso) 14px 28px);
  box-shadow: inset 0 0 0 1px rgba(18, 18, 18, .1);
}
.sign__light {
  position: absolute; z-index: 2;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--naranja);
  box-shadow: 0 0 0 2px var(--negro), 0 0 10px 3px rgba(255, 106, 19, .75), 0 0 24px 8px rgba(255, 106, 19, .3);
  animation: signBlink 1.2s linear infinite;
}
.sign__stripe .sign__light { top: 50%; margin-top: -6px; }
.sign__stripe .sign__light--a { left: 10px; }
.sign__stripe .sign__light--b { right: 10px; }
.sign__light--bl { left: 22px; bottom: -6px; }
.sign__light--br { right: 22px; bottom: -6px; }
/* Titilan alternadas: las "b" van a contratiempo de las "a" */
.sign__light--b { animation-delay: -.6s; }
@keyframes signBlink {
  0%, 48% { background: var(--naranja); box-shadow: 0 0 0 2px var(--negro), 0 0 10px 3px rgba(255, 106, 19, .75), 0 0 24px 8px rgba(255, 106, 19, .3); }
  50%, 100% { background: #5C2A0E; box-shadow: 0 0 0 2px var(--negro); }
}
/* Mientras se mueve el slider, titilan más rápido */
.sign.is-busy .sign__light { animation-duration: .3s; }
.sign.is-busy .sign__light--b { animation-delay: -.15s; }
.sign__legs { display: flex; justify-content: space-between; padding: 0 22%; }
.sign__legs i { display: block; width: 6px; height: 24px; background: var(--gris-osc); border-radius: 0 0 3px 3px; }

.calc__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.calc__q { font-weight: 600; font-size: 17px; line-height: 1.35; max-width: 20ch; }
.calc__value {
  flex: none; min-width: 2.4ch; text-align: right;
  font-family: var(--f-titulo); font-weight: 700; font-size: 40px; line-height: 1;
  letter-spacing: -.04em; color: var(--naranja);
  font-variant-numeric: tabular-nums;
}
.calc__range {
  --p: 14%;
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 32px; margin: 22px 0 4px;
  background: transparent; cursor: pointer;
}
.calc__range::-webkit-slider-runnable-track {
  height: 8px; border-radius: 99px;
  background: linear-gradient(to right, var(--naranja) var(--p), rgba(245, 245, 240, .14) var(--p));
}
.calc__range::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 30px; height: 30px; margin-top: -11px; border-radius: 50%;
  background: var(--hueso); border: 6px solid var(--naranja);
  box-shadow: 0 0 0 6px rgba(255, 106, 19, .18);
  transition: box-shadow .25s;
}
.calc__range:active::-webkit-slider-thumb { box-shadow: 0 0 0 12px rgba(255, 106, 19, .22); }
.calc__range::-moz-range-track { height: 8px; border-radius: 99px; background: rgba(245, 245, 240, .14); }
.calc__range::-moz-range-progress { height: 8px; border-radius: 99px; background: var(--naranja); }
.calc__range::-moz-range-thumb {
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--hueso); border: 6px solid var(--naranja);
  box-shadow: 0 0 0 6px rgba(255, 106, 19, .18);
}
.calc__range:focus-visible { outline-offset: 6px; }
.calc__scale { display: flex; justify-content: space-between; color: var(--gris); font-size: 13px; }
.calc__result {
  margin-top: 22px; padding-top: 22px;
  border-top: 1px solid var(--linea-oscuro);
  font-family: var(--f-titulo); font-weight: 700;
  font-size: clamp(1.45rem, 6.2vw, 2.15rem);
  line-height: 1.18; letter-spacing: -.035em;
  position: relative; z-index: 1;
}
.calc__result strong { color: var(--naranja); font-weight: 700; white-space: nowrap; }
#calc-hours { font-variant-numeric: tabular-nums; }

/* ---------- 3. Cinta de herramientas ---------- */
.tools { padding: 36px 0 64px; }
.tools__title {
  text-align: center; color: var(--gris-osc); margin: 0 0 26px;
  font-family: var(--f-titulo); font-weight: 500; font-size: 12px;
  letter-spacing: .16em; text-transform: uppercase;
}
.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
}
.marquee__track { display: flex; width: max-content; animation: marquee 30s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group { display: flex; align-items: center; gap: 44px; padding-right: 44px; }
.marquee__item { display: inline-flex; align-items: center; gap: 10px; flex: none; padding: 6px 0; }
.marquee__logo {
  width: 32px; height: 32px; flex: none;
  /* gris #A3A3A3 de base; al pasar el mouse vuelve a su color original */
  filter: brightness(0) invert(64%);
  transition: filter .35s, transform .35s var(--ease);
}
.marquee__item:hover .marquee__logo { filter: none; transform: scale(1.06); }
.marquee__name { font-family: var(--f-texto); font-weight: 600; font-size: 14px; color: var(--gris-osc); white-space: nowrap; transition: color .3s; }
.marquee__item:hover .marquee__name { color: var(--negro); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- 4. Antes y después ---------- */
.compare__grid { display: grid; gap: 14px; margin-top: 40px; align-items: stretch; }
.compare__card {
  background: var(--card-oscuro);
  border: 1px solid var(--linea-oscuro);
  border-radius: var(--radio-card);
  padding: 22px 20px 26px;
}
.compare__card--after {
  border-color: rgba(255, 106, 19, .28);
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(255, 106, 19, .10), transparent 60%),
    var(--card-oscuro);
}
.compare__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.compare__label {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-titulo); font-weight: 500; font-size: 12px;
  letter-spacing: .16em; text-transform: uppercase;
}
.compare__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gris-osc); }
.compare__dot--on { background: var(--naranja); }
.compare__meta { color: var(--gris); font-size: 13px; }
.compare__arrow {
  justify-self: center;
  width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid var(--linea-oscuro); color: var(--naranja);
  transform: rotate(90deg);
}
.compare__arrow svg { width: 22px; height: 22px; }

.chaos { display: flex; flex-direction: column; gap: 14px; padding: 6px 2px; }
.bubble { max-width: 84%; padding: 12px 16px; border-radius: 20px; font-size: 16px; line-height: 1.35; }
.bubble p { margin: 0; }
.bubble--in { align-self: flex-start; background: #262626; border-bottom-left-radius: 6px; }
.bubble--out { align-self: flex-end; background: #303030; color: #D9D9D4; border-bottom-right-radius: 6px; }
.chaos .bubble:nth-child(1) { transform: rotate(-2.2deg); }
.chaos .bubble:nth-child(2) { transform: rotate(1.8deg) translateX(-10px); }
.chaos .bubble:nth-child(3) { transform: rotate(1.2deg) translateX(14px); }
.chaos .bubble:nth-child(4) { transform: rotate(-1.6deg); }
.bubble__meta { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; color: var(--gris); font-size: 13px; }
.bubble__meta svg { width: 14px; height: 14px; }

.notis { display: grid; gap: 10px; }
.noti {
  display: flex; align-items: center; gap: 12px;
  padding: 13px 14px; border-radius: 18px;
  background: rgba(245, 245, 240, .045);
  border: 1px solid var(--linea-oscuro);
}
.noti__check {
  flex: none; width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--naranja); color: var(--negro);
}
.noti__check svg { width: 16px; height: 16px; stroke-width: 3; }
.noti__text { font-weight: 600; font-size: 15px; line-height: 1.3; }
.noti__time { margin-left: auto; color: var(--gris); font-size: 12px; flex: none; }

/* ---------- 5. Frase grande ---------- */
.statement { padding: 88px 0 96px; min-height: 80vh; min-height: 80svh; display: flex; align-items: center; }
.statement__title {
  font-family: var(--f-titulo); font-weight: 700;
  font-size: clamp(2.7rem, 12vw, 8.4rem);
  line-height: 1; letter-spacing: -.045em;
  max-width: 11ch;
}
.statement__text {
  margin-top: 36px;
  font-weight: 600;
  font-size: clamp(1.45rem, 5.6vw, 2.75rem);
  line-height: 1.25; letter-spacing: -.02em;
  max-width: 30ch;
}
.lw em { color: inherit; }
.statement__chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 44px; }
.statement__chips li {
  padding: 13px 22px; border-radius: 999px;
  border: 1px solid rgba(245, 245, 240, .22);
  font-family: var(--f-titulo); font-weight: 500; font-size: 12px;
  letter-spacing: .18em; text-transform: uppercase;
}

/* ---------- 6. Rubros ---------- */
.rubros__tabs {
  display: flex; gap: 8px;
  margin: 36px -20px 18px; padding: 2px 20px 6px;
  overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none;
  -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 56px), transparent);
  mask-image: linear-gradient(90deg, #000 calc(100% - 56px), transparent);
}
.rubros__tabs::-webkit-scrollbar { display: none; }
/* Al llegar al final de la fila, se saca el desvanecido del borde */
.rubros__tabs.is-end { -webkit-mask-image: none; mask-image: none; }
.rubros__tabs .tab { flex: none; scroll-snap-align: start; white-space: nowrap; }
.rubros__hint { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; color: var(--gris-osc); font-size: 14px; }
.rubros__hint svg { width: 16px; height: 16px; color: var(--naranja); }
.tab {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 18px 7px 7px; border-radius: 999px;
  border: 1px solid var(--linea-claro);
  font-weight: 600; font-size: 15px; line-height: 1.2; text-align: left;
  transition: background-color .3s, color .3s, border-color .3s, transform .3s var(--ease);
}
.tab:hover { border-color: var(--negro); }
.tab:active { transform: scale(.97); }
.tab__icon {
  flex: none; width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(18, 18, 18, .06);
  transition: background-color .3s, color .3s;
}
.tab__icon svg { width: 18px; height: 18px; }
.tab[aria-selected="true"] { background: var(--negro); color: var(--hueso); border-color: var(--negro); }
.tab[aria-selected="true"] .tab__icon { background: var(--naranja); color: var(--negro); }

.rubro-card {
  position: relative; overflow: hidden;
  background: var(--negro); color: var(--hueso);
  border-radius: var(--radio-card);
  padding: 28px 24px 26px;
}
.rubro-card:focus-visible { outline-offset: 4px; border-radius: var(--radio-card); }
.rubro-card__mark {
  position: absolute; right: -40px; bottom: -40px;
  width: 240px; height: 240px; color: rgba(245, 245, 240, .05);
  pointer-events: none;
}
.rubro-card__mark svg { width: 100%; height: 100%; stroke-width: 1.2; }
.rubro-card__name {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-titulo); font-weight: 500; font-size: 12px;
  letter-spacing: .16em; text-transform: uppercase; color: var(--gris);
}
.rubro-card__name::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--naranja); }
.rubro-card__frase {
  font-family: var(--f-titulo); font-weight: 700;
  font-size: clamp(1.55rem, 6.4vw, 2.9rem);
  line-height: 1.1; letter-spacing: -.035em;
  margin: 16px 0 26px; max-width: 20ch;
}
.rubro-card__list { display: grid; gap: 0 28px; position: relative; }
.rubro-card__list li {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 0; border-top: 1px solid var(--linea-oscuro);
  font-weight: 600;
}
.rubro-card__list svg { flex: none; width: 18px; height: 18px; color: var(--naranja); }
.rubro-card__dot { flex: none; width: 10px; height: 10px; border-radius: 2px; background: var(--naranja); }
.rubro-card .btn { margin-top: 24px; position: relative; }
/* Cuando cambia el rubro, el contenido entra subiendo */
.rubro-card [data-anim] { animation: fadeUp .6s var(--ease) both; animation-delay: calc(var(--d, 0) * 60ms); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* ---------- 7. Servicios ---------- */
.services { display: grid; gap: 18px; margin-top: 44px; }
.service {
  position: relative; overflow: hidden;
  border-radius: 36px;
  padding: 26px 24px 26px;
  background: var(--card-claro); color: var(--negro);
  transform-origin: center top;
}
.service--dark { background: var(--negro); color: var(--hueso); }
.service__bignum {
  position: absolute; right: -12px; bottom: -48px;
  font-family: var(--f-titulo); font-weight: 700;
  font-size: 220px; line-height: 1; letter-spacing: -.06em;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(18, 18, 18, .10);
  pointer-events: none; user-select: none;
}
.service--dark .service__bignum { -webkit-text-stroke-color: rgba(245, 245, 240, .10); }
.service__inner { position: relative; display: grid; gap: 22px; }
.service__top { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; }
.service__n { font-family: var(--f-titulo); font-weight: 500; }
.service__tag { color: var(--gris-osc); font-weight: 600; }
.service--dark .service__tag { color: var(--gris); }
.service__name {
  font-family: var(--f-titulo); font-weight: 700;
  font-size: clamp(1.75rem, 7vw, 2.6rem);
  line-height: 1.05; letter-spacing: -.04em;
}
.service__desc { color: var(--gris-osc); margin-top: 12px; max-width: 40ch; }
.service--dark .service__desc { color: var(--gris); }
.service__points { display: grid; gap: 10px; }
.service__points li { display: flex; align-items: flex-start; gap: 10px; font-weight: 600; font-size: 16px; line-height: 1.35; }
.service__points svg {
  flex: none; width: 22px; height: 22px; padding: 4px;
  border-radius: 50%; background: var(--naranja); color: var(--negro); stroke-width: 3.2;
}
.service__foot { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; }
.service__from { display: block; font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .12em; color: var(--gris-osc); }
.service--dark .service__from { color: var(--gris); }
.service__price { display: block; font-family: var(--f-titulo); font-weight: 700; font-size: clamp(1.7rem, 7vw, 2.3rem); letter-spacing: -.04em; line-height: 1.1; }

/* "Sumale lo que necesites" + presupuesto especial (una sola tarjeta negra) */
.addons {
  margin-top: 24px;
  display: grid; gap: 20px;             /* lista → línea separadora: 20px */
  padding: 22px 20px; border-radius: var(--radio-card);
  background: var(--negro); color: var(--hueso);
}
.addons__title { font-family: var(--f-titulo); font-weight: 700; font-size: clamp(1.25rem, 5vw, 1.7rem); line-height: 1.15; letter-spacing: -.03em; margin-bottom: 14px; }
/* Etiquetas chicas que fluyen: entran 2 o 3 por fila según el largo */
.addons__list { display: flex; flex-wrap: wrap; gap: 8px; }
.addons__list li {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px; border-radius: 999px;
  border: 1px solid rgba(245, 245, 240, .14);
  background: rgba(245, 245, 240, .04);
  font-family: var(--f-texto); font-weight: 600; font-size: 14px; line-height: 1.2;
  white-space: nowrap;
}
.addons__list svg { flex: none; width: 12px; height: 12px; color: var(--naranja); stroke-width: 3.4; }
/* En celu las etiquetas se estiran para llenar cada fila: los bordes quedan parejos, sin huecos */
@media (max-width: 639px) {
  .addons__list li { flex: 0 0 auto; }
}
/* línea → texto: 20px · texto → botón: 14px */
.addons__foot { display: grid; gap: 14px; padding-top: 20px; border-top: 1px solid var(--linea-oscuro); }
.addons__foot .btn { width: 100%; }
.addons__text { font-family: var(--f-titulo); font-weight: 700; font-size: clamp(1.1rem, 4.6vw, 1.5rem); line-height: 1.2; letter-spacing: -.03em; }

/* ---------- 8. Por qué Cono ---------- */
.why__grid { display: grid; gap: 10px; margin-top: 32px; }
/* En celu: ícono a la izquierda, título y texto a la derecha */
.why__card {
  display: grid; grid-template-columns: 44px 1fr; column-gap: 14px; align-items: start;
  background: var(--card-oscuro);
  border: 1px solid var(--linea-oscuro);
  border-radius: 22px; padding: 18px;
  transition: border-color .3s, translate .4s var(--ease);
}
.why__card .why__icon { grid-row: span 2; }
.why__card h3, .why__card p { grid-column: 2; }
.why__card:hover { border-color: rgba(255, 106, 19, .4); translate: 0 -4px; }
.why__icon {
  width: 44px; height: 44px; border-radius: 14px;
  display: grid; place-items: center;
  color: var(--naranja);
  background: rgba(255, 106, 19, .08);
  border: 1px solid rgba(255, 106, 19, .35);
}
.why__icon svg { width: 22px; height: 22px; }
.why__card h3 { font-family: var(--f-titulo); font-weight: 700; font-size: 16px; line-height: 1.25; letter-spacing: -.02em; margin: 2px 0 6px; }
.why__card p { color: var(--gris); font-size: 15px; line-height: 1.45; }

.layers { margin-top: 72px; display: grid; justify-items: center; gap: 28px; }
.layers__stack { width: min(100%, 620px); display: grid; justify-items: center; gap: clamp(12px, 3vw, 22px); }
.layer {
  height: clamp(58px, 14vw, 88px);
  border-radius: clamp(10px, 2.6vw, 15px);
  background: var(--naranja); color: var(--negro);
  display: grid; place-items: center;
  font-family: var(--f-titulo); font-weight: 700;
  font-size: clamp(17px, 4.6vw, 26px); letter-spacing: -.02em;
  box-shadow: 0 18px 40px -18px rgba(255, 106, 19, .6);
}
.layer--ia { width: 26%; min-width: 84px; }
.layer--sistema { width: 63%; }
.layer--web { width: 100%; }
.layers__caption { color: var(--gris); text-align: center; }

/* ---------- 9. Cómo trabajamos ---------- */
.steps { position: relative; display: grid; gap: 34px; margin-top: 48px; }
.steps__track {
  position: absolute; left: 27px; top: 28px; bottom: 28px; width: 2px;
  background: var(--linea-claro); border-radius: 2px; overflow: hidden;
}
.steps__fill { position: absolute; inset: 0; background: var(--naranja); transform-origin: top; }
.step { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 20px; align-items: start; align-content: start; }
.step__num {
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--hueso);
  border: 1.5px solid var(--linea-claro);
  font-family: var(--f-titulo); font-weight: 700; font-size: 15px;
  transition: background-color .4s, border-color .4s, color .4s, transform .5s var(--ease);
}
.step.is-active .step__num { background: var(--naranja); border-color: var(--naranja); transform: scale(1.06); }
.step__body { padding-top: 6px; }
.step__label { font-family: var(--f-titulo); font-weight: 500; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--gris-osc); }
.step h3 { font-family: var(--f-titulo); font-weight: 700; font-size: clamp(1.15rem, 5vw, 1.45rem); line-height: 1.2; letter-spacing: -.03em; margin: 8px 0 8px; }
.step p { color: var(--gris-osc); }

/* ---------- 10. Proyectos ---------- */
.projects__grid { display: grid; gap: 16px; margin-top: 44px; }
.project {
  display: block;
  background: var(--card-oscuro);
  border: 1px solid var(--linea-oscuro);
  border-radius: 24px; overflow: hidden;
  transition: translate .5s var(--ease), border-color .3s;
}
a.project:hover { translate: 0 -6px; border-color: rgba(255, 106, 19, .4); }
.project__bar { display: flex; align-items: center; gap: 7px; height: 42px; padding: 0 16px; border-bottom: 1px solid var(--linea-oscuro); }
.project__bar i { width: 10px; height: 10px; border-radius: 50%; background: #3A3A3A; }
.project__bar i:first-child { background: var(--naranja); }
.project__url { margin-left: 10px; flex: 1; height: 22px; border-radius: 99px; background: rgba(245, 245, 240, .06); color: var(--gris); font-size: 11px; display: flex; align-items: center; padding: 0 12px; overflow: hidden; white-space: nowrap; }
.project__screen {
  position: relative; aspect-ratio: 16 / 10;
  display: grid; place-items: center; text-align: center; gap: 14px;
  background:
    repeating-linear-gradient(-45deg, rgba(255, 106, 19, .07) 0 18px, transparent 18px 36px),
    #161616;
}
.project__screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.project__soon { display: grid; justify-items: center; gap: 14px; padding: 20px; }
.project__soon .iso { width: 54px; height: 54px; }
.project__soon strong { font-family: var(--f-titulo); font-weight: 700; font-size: 22px; letter-spacing: -.03em; }
.project__info { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 20px 20px; }
.project__rubro { display: block; color: var(--gris); font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .12em; }
.project__title { display: block; font-family: var(--f-titulo); font-weight: 700; font-size: 17px; letter-spacing: -.02em; margin-top: 4px; }
.project__go { flex: none; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--naranja); color: var(--negro); }
.project__go svg { width: 18px; height: 18px; }
.project__badge { flex: none; padding: 7px 12px; border-radius: 99px; border: 1px solid var(--linea-oscuro); color: var(--gris); font-size: 12px; font-weight: 600; }

/* Proyecto destacado (Lumen): tarjeta grande con la web del paciente y el panel de la secretaria */
.projects__feature { margin-top: 44px; }
.projects__feature:empty { display: none; }
.projects__feature + .projects__grid { margin-top: 16px; }
.feature {
  background: var(--card-oscuro);
  border: 1px solid var(--linea-oscuro);
  border-radius: var(--radio-card);
  padding: 26px 16px 20px;
}
.feature__tag {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-titulo); font-weight: 500; font-size: 12px;
  letter-spacing: .16em; text-transform: uppercase; color: var(--naranja);
}
.feature__title {
  font-family: var(--f-titulo); font-weight: 700;
  font-size: clamp(1.9rem, 7vw, 3.2rem); line-height: 1.05; letter-spacing: -.035em;
  margin: 14px 0 12px;
}
.feature__lead { font-size: 19px; line-height: 1.45; color: var(--hueso); max-width: 46ch; }

.feature__duo { display: grid; gap: 40px; margin-top: 32px; }
.feature__view { display: flex; flex-direction: column; }
.feature__vtitle {
  font-family: var(--f-titulo); font-weight: 700; font-size: 20px; letter-spacing: -.02em;
  margin: 0 0 14px;
}
.feature__shot {
  display: block; overflow: hidden;
  border-radius: 18px;
  background: #161616;
  border: 1px solid var(--linea-oscuro);
  box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .7);
  transition: translate .5s var(--ease), box-shadow .5s var(--ease), border-color .3s;
}
.feature__shot:hover {
  translate: 0 -6px;
  border-color: rgba(255, 106, 19, .4);
  box-shadow: 0 28px 56px -20px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 106, 19, .12);
}
.feature__shot .project__bar { height: 34px; padding: 0 12px; gap: 6px; }
.feature__shot .project__bar i { width: 8px; height: 8px; }
.feature__shot img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.feature__vtext { font-size: 18px; line-height: 1.5; color: var(--hueso); margin: 18px 0 20px; flex: 1; }
.feature__btn { width: 100%; font-size: 17px; gap: 10px; padding-left: 22px; text-align: left; }
.feature__btn .btn__icon { width: 50px; height: 50px; }
/* El botón negro sobre fondo oscuro necesita borde para que se vea como botón */
.feature .btn--dark { border-color: rgba(245, 245, 240, .35); }
.feature .btn--dark:hover { border-color: var(--naranja); }

.feature__steps {
  list-style: none; display: grid; gap: 14px;
  margin-top: 40px; padding-top: 32px;
  border-top: 1px solid var(--linea-oscuro);
}
.feature__steps li {
  display: flex; align-items: center; gap: 16px;
  font-size: 18px; font-weight: 600; line-height: 1.35;
}
.feature__sicon {
  position: relative; flex: none;
  width: 64px; height: 64px; border-radius: 20px;
  display: grid; place-items: center;
  background: rgba(255, 106, 19, .1); color: var(--naranja);
  border: 1px solid rgba(255, 106, 19, .25);
}
.feature__sicon svg { width: 30px; height: 30px; stroke-width: 1.8; }
.feature__snum {
  position: absolute; top: -8px; left: -8px;
  width: 26px; height: 26px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--naranja); color: var(--negro);
  font-family: var(--f-titulo); font-weight: 700; font-size: 13px;
}
.feature__tip {
  margin-top: 28px; padding: 16px 20px;
  border-radius: 18px; background: rgba(245, 245, 240, .05);
  font-size: 17px; line-height: 1.45; color: var(--hueso);
}

/* Tarjetas compactas que se despliegan */
.projects__feature { display: grid; gap: 16px; }
.feature.pcard { padding: 14px 14px 18px; }
.pcard__top { display: grid; gap: 18px; }
.pcard__thumb {
  display: block; overflow: hidden; border-radius: 16px;
  background: #161616; border: 1px solid var(--linea-oscuro);
  transition: translate .5s var(--ease), border-color .3s;
}
.pcard__thumb:hover { translate: 0 -4px; border-color: rgba(255, 106, 19, .4); }
.pcard__thumb .project__bar { height: 30px; padding: 0 10px; gap: 5px; }
.pcard__thumb .project__bar i { width: 7px; height: 7px; }
.pcard__thumb .project__url { font-size: 10px; height: 18px; }
.pcard__thumb img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 8; object-fit: cover; object-position: top; }
.pcard__body { padding: 0 4px; }
.pcard__title { font-family: var(--f-titulo); font-weight: 700; font-size: clamp(1.45rem, 5.6vw, 2.1rem); line-height: 1.08; letter-spacing: -.035em; margin: 10px 0 8px; }
.pcard__lead { font-size: 16px; line-height: 1.45; color: var(--gris); max-width: 52ch; }
.pcard__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-top: 16px; }
.pcard__toggle {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 8px 8px 8px 18px; border-radius: 99px;
  background: var(--naranja); color: var(--negro); border: 0; cursor: pointer;
  font: inherit; font-weight: 700; font-size: 15px;
  transition: background .3s;
}
.pcard__toggle:hover { background: #ff7d33; }
.pcard__toggle:focus-visible { outline: 2px solid var(--hueso); outline-offset: 3px; }
.pcard__chev { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: rgba(18, 18, 18, .14); }
.pcard__chev svg { width: 16px; height: 16px; transition: rotate .4s var(--ease); }
.pcard.is-open .pcard__chev svg { rotate: 45deg; }
.pcard__try { display: inline-flex; align-items: center; gap: 6px; color: var(--hueso); font-weight: 600; font-size: 15px; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(245, 245, 240, .3); }
.pcard__try:hover { color: var(--naranja); text-decoration-color: currentColor; }
.pcard__try svg { width: 15px; height: 15px; }
.pcard__more { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--ease); }
.pcard.is-open .pcard__more { grid-template-rows: 1fr; }
.pcard__inner { overflow: hidden; min-height: 0; }
.pcard__inner > .feature__duo { margin-top: 28px; padding-top: 28px; border-top: 1px solid var(--linea-oscuro); }
.pcard .feature__inner, .pcard__inner { opacity: 0; transition: opacity .4s; }
.pcard.is-open .pcard__inner { opacity: 1; transition-delay: .12s; }
@media (min-width: 640px) {
  .feature.pcard { padding: 18px; }
}
@media (min-width: 800px) {
  .feature.pcard { padding: 20px 28px 20px 20px; }
  .projects__feature + .projects__grid .project__screen { aspect-ratio: 16 / 5; }
  .pcard__top { grid-template-columns: minmax(0, 340px) 1fr; align-items: center; gap: 32px; }
  .pcard__thumb img { aspect-ratio: 16 / 10; }
  .pcard__body { padding: 0; }
  .pcard__inner > .feature__duo { margin-top: 32px; }
}
.projects__feature + .projects__grid .project__screen { aspect-ratio: 16 / 6; }
.projects__feature + .projects__grid:has(> :only-child) { grid-template-columns: 1fr !important; }
.projects__feature + .projects__grid .project__soon .iso { width: 40px; height: 40px; }
@media (prefers-reduced-motion: reduce) {
  .pcard__more, .pcard__inner, .pcard__chev svg { transition: none; }
}

/* ---------- 11. Formulario ---------- */
.contact__grid { display: grid; gap: 36px; }
.form {
  background: var(--negro); color: var(--hueso);
  border-radius: var(--radio-card);
  padding: 26px 20px 24px;
  display: grid; gap: 20px;
  box-shadow: 0 30px 60px -24px rgba(18, 18, 18, .35);
}
.field { display: grid; gap: 8px; }
.field label, .field legend { font-weight: 600; font-size: 16px; padding: 0; }
.field legend { margin-bottom: 8px; }
.field__opt { color: var(--gris); font-weight: 400; }
.field input[type="text"] {
  width: 100%; height: 56px; padding: 0 18px;
  border-radius: 16px;
  background: rgba(245, 245, 240, .06);
  border: 1.5px solid rgba(245, 245, 240, .14);
  color: var(--hueso); font: inherit; font-size: 16px;
  transition: border-color .25s, box-shadow .25s, background-color .25s;
}
.field input[type="text"]::placeholder { color: #7A7A7A; }
.field input[type="text"]:focus { outline: none; border-color: var(--naranja); box-shadow: 0 0 0 4px rgba(255, 106, 19, .18); background: rgba(245, 245, 240, .09); }
.field.has-error input[type="text"] { border-color: var(--naranja); }
.field__error { color: var(--naranja); font-size: 14px; font-weight: 600; min-height: 0; }
.field__error:empty { display: none; }
.field__error::before { content: "● "; font-size: 10px; vertical-align: 2px; }

.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choice span {
  display: inline-flex; align-items: center; min-height: 46px;
  padding: 10px 18px; border-radius: 999px;
  border: 1.5px solid rgba(245, 245, 240, .18);
  font-weight: 600; font-size: 15px; line-height: 1.2;
  transition: background-color .25s, color .25s, border-color .25s;
}
.choice:hover span { border-color: rgba(245, 245, 240, .5); }
.choice input:checked + span { background: var(--naranja); border-color: var(--naranja); color: var(--negro); }
.choice input:focus-visible + span { outline: 2px solid var(--naranja); outline-offset: 3px; }
.form .btn { margin-top: 4px; }
.form__note { color: var(--gris); font-size: 14px; text-align: center; }

/* ---------- 12. Preguntas frecuentes ---------- */
.faq { padding-top: 24px; }
.faq__grid { display: grid; gap: 28px; border-top: 1px solid var(--linea-claro); padding-top: 56px; }
.acc { border-bottom: 1px solid var(--linea-claro); }
.acc:first-child { border-top: 1px solid var(--linea-claro); }
.acc__btn {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 22px 0; text-align: left;
  font-family: var(--f-titulo); font-weight: 700;
  font-size: clamp(1rem, 4.4vw, 1.25rem); letter-spacing: -.025em; line-height: 1.3;
}
.acc__icon {
  flex: none; width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1.5px solid var(--linea-claro);
  transition: transform .45s var(--ease), background-color .3s, border-color .3s;
}
.acc__icon svg { width: 18px; height: 18px; }
.acc__btn:hover .acc__icon { border-color: var(--negro); }
.acc.is-open .acc__icon { transform: rotate(45deg); background: var(--naranja); border-color: var(--naranja); color: var(--negro); }
.acc__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.acc.is-open .acc__panel { grid-template-rows: 1fr; }
.acc__inner { overflow: hidden; }
.acc__inner p { padding: 0 52px 24px 0; color: var(--gris-osc); font-size: 17px; max-width: 60ch; }

/* ---------- 13. Cierre + footer ---------- */
.closing { padding: 104px 0 88px; overflow: hidden; }
.closing .container { position: relative; z-index: 1; }
.closing__title {
  font-family: var(--f-titulo); font-weight: 700;
  font-size: clamp(2.3rem, 9.4vw, 8.6rem);
  line-height: 1; letter-spacing: -.045em;
  margin-bottom: 44px; max-width: 12ch;
}

.footer { background: var(--negro); color: var(--hueso); padding: 52px 0 calc(150px + env(safe-area-inset-bottom)); border-top: 1px solid var(--linea-oscuro); }
.footer__top { display: grid; gap: 44px; }
.footer__brand p { color: var(--gris); margin-top: 18px; }
.footer__head { color: var(--gris); font-size: 14px; margin-bottom: 14px; }
.footer__col ul { display: grid; gap: 10px; }
.footer__col a { font-weight: 600; font-size: 18px; transition: color .25s; }
.footer__col a:hover { color: var(--naranja); }
.footer__social { display: inline-flex; align-items: center; gap: 14px; }
.footer__social-icon { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--card-oscuro); border: 1px solid var(--linea-oscuro); }
.footer__social-icon svg { width: 20px; height: 20px; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--linea-oscuro); color: var(--gris); font-size: 14px; }

/* ---------- Botones flotantes ---------- */
.floating {
  position: fixed; z-index: 80;
  right: 16px; bottom: calc(16px + env(safe-area-inset-bottom));
  display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.float-btn { display: grid; place-items: center; border-radius: 50%; }
.float-btn--wa {
  position: relative; width: 60px; height: 60px;
  background: var(--naranja); color: var(--negro);
  box-shadow: 0 12px 30px -8px rgba(255, 106, 19, .65);
  transition: transform .35s var(--ease);
}
.float-btn--wa:hover { transform: scale(1.07); }
.float-btn--wa svg { width: 28px; height: 28px; position: relative; z-index: 1; }
.float-btn--wa::before,
.float-btn--wa::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: var(--naranja); opacity: .45;
  animation: pulse 2.6s ease-out infinite;
}
.float-btn--wa::after { animation-delay: 1.3s; }
@keyframes pulse { from { transform: scale(1); opacity: .45; } to { transform: scale(1.7); opacity: 0; } }
.float-btn--top {
  width: 48px; height: 48px;
  background: var(--hueso); color: var(--negro);
  border: 1px solid var(--linea-claro);
  box-shadow: 0 10px 24px -8px rgba(18, 18, 18, .4);
  opacity: 0; transform: translateY(14px) scale(.8); pointer-events: none;
  transition: opacity .35s, transform .45s var(--ease);
}
.float-btn--top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.float-btn--top svg { width: 20px; height: 20px; }
.menu-open .floating { opacity: 0; pointer-events: none; }

/* ---------- Índice de secciones a la derecha (solo compu) ----------
   La media query tiene que ser la misma que en main.js (7c). */
.toc { display: none; }
.section[tabindex="-1"]:focus { outline: none; }

@media (min-width: 1024px) and (hover: hover) and (pointer: fine) {
  .toc {
    /* Colores sobre fondo claro; .is-dark los cambia sobre fondo negro */
    --toc-bg: rgba(245, 245, 240, .5);
    --toc-borde: rgba(18, 18, 18, .08);
    --toc-num: var(--gris-osc);
    --toc-nombre: var(--negro);

    display: block;
    position: fixed; z-index: 85;
    right: 16px; top: 50%;
    transform: translate(12px, -50%);
    opacity: 0; visibility: hidden;
    transition: opacity .45s var(--ease), transform .55s var(--ease), visibility 0s linear .55s;
  }
  .toc.is-visible {
    opacity: 1; visibility: visible;
    transform: translate(0, -50%);
    transition-delay: 0s;
  }
  .toc.is-dark {
    --toc-bg: rgba(18, 18, 18, .45);
    --toc-borde: rgba(245, 245, 240, .1);
    --toc-num: var(--gris);
    --toc-nombre: var(--hueso);
  }
  .menu-open .toc { opacity: 0; visibility: hidden; }

  .toc__list {
    padding: 10px 14px;
    border-radius: 28px;
    background: var(--toc-bg);
    -webkit-backdrop-filter: blur(14px) saturate(1.4);
    backdrop-filter: blur(14px) saturate(1.4);
    border: 1px solid var(--toc-borde);
    transition: background-color .35s, border-color .35s;
  }
  .toc__link {
    display: flex; align-items: center; justify-content: flex-end;
    padding: 6px 0;
    color: var(--toc-num);
    transition: color .3s;
  }
  .toc__link:hover { color: var(--toc-nombre); }
  .toc__link[aria-current] { color: var(--naranja); }

  .toc__num {
    font-family: var(--f-titulo); font-weight: 500; font-size: 11px;
    line-height: 1; letter-spacing: .04em;
    font-variant-numeric: tabular-nums;
  }
  /* Rayita: 16px, y 32px en la sección activa (crece hacia la izquierda) */
  .toc__line { position: relative; width: 32px; height: 1.5px; margin-right: 10px; flex: none; }
  .toc__line::after {
    content: ""; position: absolute; right: 0; top: 0;
    width: 16px; height: 100%; border-radius: 2px;
    background: currentColor;
    transition: width .45s var(--ease);
  }
  .toc__link[aria-current] .toc__line::after { width: 32px; }

  /* Nombre: escondido; al pasar el mouse (o navegar con teclado) la pastilla se abre hacia la izquierda */
  .toc__name {
    max-width: 0; overflow: hidden; white-space: nowrap;
    opacity: 0; margin-right: 0;
    font-family: var(--f-texto); font-weight: 600; font-size: 14px; line-height: 1.2;
    color: var(--toc-nombre);
    transition: max-width .5s var(--ease), margin-right .5s var(--ease), opacity .25s, color .3s;
  }
  .toc__link[aria-current] .toc__name { color: var(--naranja); }
  .toc:hover .toc__name,
  .toc:has(:focus-visible) .toc__name {
    max-width: 200px; margin-right: 14px; opacity: 1;
    transition: max-width .5s var(--ease), margin-right .5s var(--ease), opacity .35s .1s, color .3s;
  }
}

/* ---------- Cursor naranja (solo compu con mouse) ----------
   Es el cursor del sistema con otra imagen: se mueve igual, sin retraso. */
@media (hover: hover) and (pointer: fine) {
  html { cursor: url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20width%3D'22'%20height%3D'28'%20viewBox%3D'0%200%2022%2028'%3E%3Cpath%20d%3D'M3%202.5V21l4.7-4.3%203.1%207%203.2-1.4-3-6.9h6.4z'%20fill%3D'%23FF6A13'%20stroke%3D'%23121212'%20stroke-width%3D'1.3'%20stroke-linejoin%3D'round'%2F%3E%3C%2Fsvg%3E") 3 2, auto; }
  a, button, label, select, summary, [role="tab"],
  input[type="checkbox"], input[type="radio"], input[type="range"],
  .btn, .tab, .choice { cursor: url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20width%3D'24'%20height%3D'28'%20viewBox%3D'0%200%2024%2028'%3E%3Cpath%20d%3D'M7.75%203.25a1.75%201.75%200%200%201%203.5%200V10.5a1.6%201.6%200%200%201%203.2.3V11a1.6%201.6%200%200%201%203.2.3V12a1.6%201.6%200%200%201%203.1.4v6.1c0%203.6-2.6%206.5-6.2%206.5h-2.6c-2%200-3.5-.9-4.6-2.5L2.6%2016.8a1.6%201.6%200%200%201%202.4-2.1l2.75%202.4z'%20fill%3D'%23FF6A13'%20stroke%3D'%23121212'%20stroke-width%3D'1.2'%20stroke-linejoin%3D'round'%2F%3E%3Cpath%20d%3D'M11.25%2010.5v3.6M14.45%2011v3.2M17.65%2012v2.6'%20fill%3D'none'%20stroke%3D'%23121212'%20stroke-width%3D'1'%20stroke-linecap%3D'round'%2F%3E%3C%2Fsvg%3E") 9 2, pointer !important; }
  input[type="text"], textarea { cursor: text !important; }
}

/* =====================================================================
   FONDOS "OBRA EN CONSTRUCCIÓN"
   Todo con CSS / SVG inline. Van detrás del contenido (z-index: -1).
   ===================================================================== */
.section--light, .section--dark, .footer { position: relative; isolation: isolate; }

/* Grilla tipo plano, solo en el inicio y en las secciones oscuras (la agrega main.js):
   - una capa base casi invisible, que se desvanece hacia los bordes
   - una "linterna" encima que la revela alrededor del cursor (solo compu) */
.grid-fx {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  --line: rgba(18, 18, 18, .025);
  --lamp: rgba(18, 18, 18, .15);
}
.section--dark .grid-fx { --line: rgba(245, 245, 240, .025); --lamp: rgba(245, 245, 240, .12); }
.grid-fx__base, .grid-fx__lamp {
  position: absolute; inset: 0;
  background-size: 48px 48px;
  background-position: center top;
}
.grid-fx__base {
  background-image:
    linear-gradient(to right, var(--line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--line) 1px, transparent 1px);
  -webkit-mask-image: radial-gradient(ellipse 72% 62% at 50% 45%, #000 20%, transparent 100%);
  mask-image: radial-gradient(ellipse 72% 62% at 50% 45%, #000 20%, transparent 100%);
}
.grid-fx__lamp {
  background-image:
    linear-gradient(to right, var(--lamp) 1px, transparent 1px),
    linear-gradient(to bottom, var(--lamp) 1px, transparent 1px);
  -webkit-mask-image: radial-gradient(circle 175px at var(--x, -999px) var(--y, -999px), #000 0%, transparent 100%);
  mask-image: radial-gradient(circle 175px at var(--x, -999px) var(--y, -999px), #000 0%, transparent 100%);
  opacity: 0;
  transition: opacity .45s var(--ease);
}
.is-lit > .grid-fx .grid-fx__lamp { opacity: 1; }

/* Inicio: las 3 capas del logo gigantes, en contorno muy suave, cortadas por el borde */
.hero__layers {
  position: absolute; z-index: -1; pointer-events: none;
  width: 125vw; height: auto; aspect-ratio: 268 / 276;
  right: -62vw; top: 70px;
  color: rgba(18, 18, 18, .05);
}
.hero__layers rect { vector-effect: non-scaling-stroke; stroke-width: 2px; }

/* Secciones oscuras: grano muy suave + un brillo naranja difuminado en una esquina */
.section--dark { overflow: hidden; overflow: clip; }
.section--dark::before,
.footer::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20width%3D'180'%20height%3D'180'%3E%3Cfilter%20id%3D'n'%3E%3CfeTurbulence%20type%3D'fractalNoise'%20baseFrequency%3D'.9'%20numOctaves%3D'3'%20stitchTiles%3D'stitch'%2F%3E%3CfeColorMatrix%20type%3D'saturate'%20values%3D'0'%2F%3E%3C%2Ffilter%3E%3Crect%20width%3D'100%25'%20height%3D'100%25'%20filter%3D'url(%23n)'%2F%3E%3C%2Fsvg%3E");
  background-size: 180px 180px;
  opacity: .045;
}
.section--dark::after {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  width: var(--glow-size, 620px); height: var(--glow-size, 620px);
  top: var(--glow-top, auto); right: var(--glow-right, auto);
  bottom: var(--glow-bottom, auto); left: var(--glow-left, auto);
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 106, 19, .14), rgba(255, 106, 19, .05) 55%, transparent 100%);
  animation: glowDrift 24s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes glowDrift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(-70px, 50px, 0) scale(1.12); }
}
/* Cada sección oscura con su brillo en una esquina distinta, lejos del título */
.compare { --glow-top: -260px; --glow-right: -260px; }
.statement { --glow-bottom: -280px; --glow-right: -240px; }
.why { --glow-bottom: -300px; --glow-left: -280px; }
.projects { --glow-top: -260px; --glow-right: -280px; }
.closing { --glow-bottom: -300px; --glow-right: -220px; --glow-size: 700px; }

@media (min-width: 900px) {
  .hero__layers { width: min(68vw, 980px); right: -14vw; top: 40px; }
  .hero__layers rect { stroke-width: 2.5px; }
}

/* =====================================================================
   PANTALLAS MÁS GRANDES
   ===================================================================== */
@media (min-width: 640px) {
  .container { width: min(100% - 64px, 1240px); }
  .rubros__tabs { flex-wrap: wrap; overflow: visible; margin-inline: 0; padding-inline: 0; -webkit-mask-image: none; mask-image: none; }
  .rubros__hint { display: none; }
  .rubro-card { padding: 40px 40px 36px; }
  .rubro-card__list { grid-template-columns: 1fr 1fr; }
  .rubro-card__mark { width: 320px; height: 320px; }
  .why__grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .why__card { display: block; padding: 26px 24px; border-radius: 28px; }
  .why__icon { width: 54px; height: 54px; border-radius: 18px; }
  .why__icon svg { width: 24px; height: 24px; }
  .why__card h3 { font-size: 18px; margin: 22px 0 10px; }
  .why__card p { font-size: 16px; }
  .form { padding: 36px 32px 30px; }
}

@media (min-width: 640px) {
  .feature { padding: 36px 32px 30px; }
  .feature__btn { width: auto; align-self: flex-start; font-size: 18px; gap: 16px; padding-left: 28px; }
  .feature__btn .btn__icon { width: 56px; height: 56px; }
}

@media (min-width: 800px) {
  .projects__grid { grid-template-columns: repeat(3, 1fr); }
  .projects__feature + .projects__grid { grid-template-columns: repeat(2, 1fr); }
  .feature__steps { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .project__screen { aspect-ratio: 4 / 3; }
  .footer__top { grid-template-columns: 1.6fr 1fr 1fr; }
  .nav__cta { display: inline-flex; }
}

@media (min-width: 900px) {
  .section { padding: 104px 0; }
  .feature { padding: 48px 44px 40px; }
  .feature__duo { gap: 40px; margin-top: 40px; }
  .section.servicios { padding-bottom: 80px; }
  :root { --nav-top: max(18px, env(safe-area-inset-top)); }
  .nav { padding: 0 20px; }
  .logo { --h: 26px; }
  .logo--lg { --h: 48px; }

  .compare__grid { grid-template-columns: 1fr auto 1fr; gap: 20px; margin-top: 56px; }
  .compare__arrow { align-self: center; transform: none; }
  .compare__card { padding: 28px 28px 32px; }

  .services { margin-top: 56px; }
  .service { padding: 40px 44px 40px; }
  .service__inner { grid-template-columns: 1.1fr 1fr; grid-template-areas: "top top" "head points" "foot points"; column-gap: 56px; row-gap: 26px; }
  .service__top { grid-area: top; }
  .service__head { grid-area: head; }
  .service__points { grid-area: points; align-self: center; }
  .service__foot { grid-area: foot; align-self: end; }
  .service__bignum { font-size: 300px; bottom: -70px; right: -10px; }

  /* En compu: lista a la izquierda, presupuesto a la derecha, con línea vertical */
  .addons {
    margin-top: 32px;
    grid-template-columns: 1fr minmax(300px, 380px); column-gap: 40px; row-gap: 0;
    align-items: center; padding: 36px 40px;
  }
  .addons__foot { border-top: 0; padding: 0 0 0 40px; border-left: 1px solid var(--linea-oscuro); align-content: center; gap: 14px; }
  .addons__foot .btn { width: auto; justify-self: start; }

  .marquee__logo { width: 40px; height: 40px; }
  .marquee__name { font-size: 15px; }

  .why__grid { grid-template-columns: repeat(4, 1fr); }
  .why__card { padding: 30px 26px; }

  .steps { grid-template-columns: repeat(4, 1fr); gap: 28px; }
  .steps__track { left: 28px; right: calc((100% - 3 * 28px) / 4 - 28px); top: 27px; bottom: auto; width: auto; height: 2px; }
  .steps__fill { transform-origin: left; }
  .step { grid-template-columns: 1fr; gap: 26px; }
  .step__body { padding-top: 0; }

  .contact__grid { grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
  .contact__intro { position: sticky; top: 130px; }

  .faq__grid { grid-template-columns: .85fr 1.15fr; gap: 64px; }
  .acc__btn { padding: 26px 0; }

  .closing { padding: 136px 0 120px; }
  .footer { padding-bottom: 64px; }
  .floating { right: 24px; bottom: 24px; }
}

@media (min-width: 1000px) {
  .feature__duo { grid-template-columns: 1fr 1fr; }
  .feature__btn { width: 100%; }
  .hero { padding-top: calc(var(--nav-h) + 96px); padding-bottom: 56px; }
  /* En compu el título va a lo ancho y la calculadora a la derecha */
  .hero__grid {
    grid-template-columns: 1fr minmax(380px, 460px);
    grid-template-areas: "eyebrow eyebrow" "title title" "lead calc" "actions calc" "quick calc" "pills calc";
    grid-template-rows: auto auto auto auto auto 1fr;
    column-gap: 72px; row-gap: 0;
  }
  .hero__text { display: contents; }
  .hero__text .eyebrow { grid-area: eyebrow; }
  .hero__title { grid-area: title; font-size: clamp(4rem, 7.6vw, 7.2rem); max-width: none; margin-bottom: 40px; }
  .hero__lead { grid-area: lead; }
  .hero__actions { grid-area: actions; }
  .hero__pills { grid-area: pills; align-self: start; }
  .quick { grid-area: quick; max-width: 560px; }
  .sign { grid-area: calc; align-self: start; }
  .calc { padding: 36px 34px 40px; }
  .sign__legs i { height: 40px; }
  .contact .h2 { font-size: clamp(2.4rem, 4.4vw, 4rem); }
}

/* Tarjetas de servicios que se apilan al scrollear (solo si la pantalla es alta) */
@media (min-width: 900px) and (min-height: 760px) {
  .service { position: sticky; top: calc(var(--nav-h) + 34px + var(--i, 0) * 14px); }
}

/* =====================================================================
   MOVIMIENTO REDUCIDO
   ===================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    transition-delay: 0s !important;
  }
  .marquee__track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
  .marquee__group[aria-hidden="true"] { display: none; }
  .marquee__group { flex-wrap: wrap; justify-content: center; row-gap: 12px; padding: 0 20px; }
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .float-btn--wa::before, .float-btn--wa::after { display: none; }
  .section--dark::after { animation: none; }
  .sign__light { animation: none !important; }
  .grid-fx__lamp { transition: none !important; }
}


/* ---------- Inicio: accesos rápidos "Ver proyectos" / "Ver precios" ---------- */
.quick { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.quick__card {
  display: flex; align-items: center; gap: 10px; min-height: 76px;
  padding: 12px 12px 12px 14px; border-radius: 22px;
  background: rgba(255, 255, 255, .55); border: 1.5px solid var(--linea-claro);
  transition: border-color .25s, background-color .25s, transform .3s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.quick__card:hover { border-color: var(--negro); background: #fff; transform: translateY(-2px); }
.quick__card:active { transform: scale(.98); }
.quick__icon { flex: none; width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--negro); color: var(--naranja); }
.quick__icon svg { width: 20px; height: 20px; }
.quick__txt { flex: 1; min-width: 0; display: grid; gap: 2px; }
.quick__txt b { font-family: var(--f-titulo); font-weight: 700; font-size: 14px; line-height: 1.2; letter-spacing: -.02em; }
.quick__txt small { font-size: 12.5px; line-height: 1.25; color: var(--gris-osc); }
.quick__arrow { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--naranja); color: var(--negro); }
.quick__arrow svg { width: 14px; height: 14px; }
.quick__card { min-width: 0; }
@media (max-width: 639px) { .quick__icon { display: none; } .quick__card { padding-left: 16px; } }
@media (min-width: 640px) { .quick__txt b { font-size: 16px; } .quick__txt small { font-size: 13.5px; } .quick__icon { width: 44px; height: 44px; } }

/* Proyectos: grupos Clientes / Demos */
.pgrupo { display: grid; gap: 16px; }
.pgrupo + .pgrupo { margin-top: 48px; }
.pgrupo__head { margin-bottom: 4px; }
.pgrupo__titulo { font-family: var(--f-titulo); font-weight: 700; font-size: clamp(1.3rem, 4.5vw, 1.7rem); letter-spacing: -.03em; }
.pgrupo__bajada { color: var(--gris); margin-top: 6px; max-width: 60ch; }
.pcard__badge { margin-left: 10px; padding: 3px 9px; border-radius: 99px; border: 1px solid var(--linea-oscuro); color: var(--gris); font-size: 10px; letter-spacing: .12em; }
.pcard__badge--real { border-color: rgba(255,106,19,.5); color: var(--naranja); background: rgba(255,106,19,.08); }
.pcard__quote { margin: 14px 0 0; padding: 12px 16px; border-left: 3px solid var(--naranja); background: rgba(245,245,240,.04); border-radius: 0 12px 12px 0; }
.pcard__quote p { color: var(--hueso); font-size: 15px; line-height: 1.5; }
.pcard__quote cite { display: block; margin-top: 6px; font-style: normal; font-size: 13px; color: var(--gris); }

/* ---------- Testimonios (carrusel de celulares) ---------- */
.testi__top { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; }
.testi__flechas { display: flex; gap: 10px; }
.testi__flechas button {
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  background: transparent; color: var(--hueso); border: 1px solid rgba(245, 245, 240, .35); transition: background .3s, color .3s, border-color .3s;
}
.testi__flechas .testi__next { background: var(--naranja); border-color: var(--naranja); color: var(--negro); }
.testi__flechas button:hover { border-color: var(--naranja); }
.testi__flechas svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.testi__flechas button:focus-visible, .testi__dots button:focus-visible, .tcard__sonido:focus-visible { outline: 2px solid var(--naranja); outline-offset: 3px; }
.testi__pista {
  list-style: none; margin: 40px 0 0; padding: 4px max(20px, calc((100vw - 1200px) / 2 + 20px)) 8px;
  display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 max(20px, calc((100vw - 1200px) / 2 + 20px));
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.testi__pista::-webkit-scrollbar { display: none; }
.tcard { flex: 0 0 min(68vw, 250px); scroll-snap-align: start; padding: 7px; border-radius: 34px; background: #2a2a2a; border: 1px solid var(--linea-oscuro); }
.tcard__pantalla {
  position: relative; aspect-ratio: 9 / 18; border-radius: 28px; overflow: hidden;
  background: var(--hueso); color: var(--negro); display: flex; flex-direction: column; align-items: center; padding: 18px 14px 16px; text-align: center;
}
.tcard__dur { position: absolute; top: 12px; left: 12px; padding: 2px 9px; border-radius: 99px; background: rgba(18, 18, 18, .35); color: #fff; font-size: 11px; font-weight: 600; }
.tcard__head { margin: 6px 0 12px; font-family: var(--f-titulo); font-size: 13px; line-height: 1.15; text-transform: uppercase; letter-spacing: .02em; }
.tcard__head b { font-weight: 700; color: var(--naranja); }
.tcard__media { position: relative; width: 100%; flex: 1; min-height: 0; border-radius: 14px; overflow: hidden; background: #ddd9cf; display: grid; place-items: center; }
.tcard__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tcard__vacio { font-size: 13px; font-weight: 600; color: var(--gris-osc); padding: 10px; }
.tcard__nombre { margin: 12px 0 0; font-family: var(--f-titulo); font-weight: 700; font-size: 16px; text-transform: uppercase; letter-spacing: -.01em; }
.tcard__negocio { margin: 2px 0 0; font-size: 12px; color: var(--gris-osc); }
.tcard__frase { margin: 6px 0 0; font-size: 11.5px; line-height: 1.35; text-transform: uppercase; letter-spacing: .02em; max-width: 26ch; }
.tcard__sonido {
  position: absolute; right: 12px; bottom: 12px; width: 38px; height: 38px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--naranja); color: var(--negro); display: grid; place-items: center;
}
.tcard__sonido svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tcard__sonido .t-on { display: none; }
.tcard__sonido[aria-pressed="true"] .t-on { display: inline; }
.tcard__sonido[aria-pressed="true"] .t-off { display: none; }
.tcard--captura .tcard__pantalla { padding: 0; justify-content: center; background: #e9e6df; }
.tcard--captura img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.testi__control { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 24px; }
.testi__dots { display: flex; gap: 6px; }
.testi__dots button { width: 7px; height: 7px; padding: 0; border: 0; border-radius: 99px; background: rgba(245, 245, 240, .25); cursor: pointer; transition: width .3s var(--ease), background .3s; }
.testi__dots button.is-on { width: 22px; background: var(--naranja); }
@media (min-width: 900px) { .tcard { flex-basis: 236px; } }

/* Planes: qué no incluye y ejemplos */
.service__limite { margin: 12px 0 0; font-size: 14px; font-weight: 600; color: var(--gris-osc); }
.service--dark .service__limite { color: var(--gris); }
.service__ejemplo { margin: 6px 0 0; font-size: 14px; color: var(--naranja); font-weight: 600; }
.pcard__badge--plan { border-color: rgba(245, 245, 240, .25); color: var(--hueso); }
button.pcard__thumb { width: 100%; padding: 0; font: inherit; color: inherit; text-align: left; cursor: pointer; }

/* Arreglo celu: etiqueta + badges bajan de línea y los números de los pasos no se cortan */
.pcard__top, .pcard__body { min-width: 0; }
.pcard .feature__tag { display: flex; flex-wrap: wrap; gap: 8px 10px; max-width: 100%; line-height: 1.4; }
.pcard .feature__tag .pcard__badge { margin-left: 0; }
.pcard__inner .feature__steps { padding-left: 9px; }
