/* Innectia · estilos propios de webs (complementan /site.css) */

/* Hero: titular dolor → solución */
#inicio h1.h1-dolor {
  font-size: clamp(30px, min(3.5vw, 6.2vh), 54px) !important;
}

/* ── Webs a medida: solo lo propio de esta página ── */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.w-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.w-hero .txt {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}
.w-hero h1 {
  font-size: clamp(36px, min(4.52vw, 7.8vh), 72px);
}
.w-hero .lead strong {
  color: var(--ink);
  font-weight: 600;
}
.proof {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 13.5px;
  color: var(--ink-3);
}
.proof > span {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
}
.proof b {
  font-family: var(--sans);
  font-weight: 600;
  letter-spacing: -0.03em;
  font-size: 23px;
  line-height: 1;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

/* Navegador con web real + Anfitrión FULL encima */
.hv {
  position: relative;
  padding: 0 0 64px;
  min-width: 0;
}
.bw {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 40px 90px -44px rgba(19, 19, 19, 0.5);
}
.bw-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  background: #f6f3ec;
}
.bw-dots {
  display: flex;
  gap: 5px;
  flex: none;
}
.bw-dots i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--line-2);
}
.bw-url {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 12px;
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--ink-2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.bw-url svg {
  flex: none;
  width: 11px;
  height: 11px;
}
.bw-shot {
  position: relative;
  aspect-ratio: 900/442;
  background: var(--line);
}
.bw-shot img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  opacity: 0;
  transition: opacity 0.8s var(--ease);
}
.bw-shot img.in {
  opacity: 1;
}
.hv-cap {
  display: block;
  margin-bottom: 12px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.hchat {
  position: absolute;
  right: -8px;
  bottom: 0;
  width: min(300px, 78%);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 30px 70px -30px rgba(19, 19, 19, 0.5);
  overflow: hidden;
}
.hc-head {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 12px;
  border-bottom: 1px solid var(--line);
  font-size: 12.5px;
}
.hc-av {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--green);
  display: grid;
  place-items: center;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 14px;
  flex: none;
  color: #ffffff;
}
.hc-head b {
  display: block;
  font-weight: 600;
  font-size: 12.5px;
  line-height: 1.2;
}
.hc-head .live {
  font-size: 11px;
  color: var(--ink-3);
}
.hc-body {
  height: 208px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 7px;
  overflow: hidden;
}
.hc-body .msg {
  font-size: 12.5px;
  padding: 8px 11px;
  max-width: 90%;
  animation: rise 0.35s var(--ease) both;
}
.hc-body .msg.lead {
  font-size: 12px;
}
.hc-body .typing {
  flex: none;
  padding: 9px 11px;
}

/* Opciones animadas del chat del inicio: aquí son spans, no botones */
.opciones span {
  display: inline-block;
  font-size: 12.5px;
  line-height: 1.3;
  padding: 6px 11px;
  border-radius: 999px;
  border: 1px solid var(--green-ink);
  color: var(--green-ink);
  background: var(--card);
  animation: rise 0.35s var(--ease) both;
  animation-delay: calc(var(--i) * 90ms);
  transition:
    background 0.2s,
    color 0.2s,
    transform 0.15s,
    opacity 0.3s;
}
.opciones span.pick {
  background: var(--green);
  border-color: var(--green);
  color: #ffffff;
  font-weight: 600;
  transform: scale(0.96);
}
.opciones.done span:not(.pick) {
  opacity: 0.3;
}
.hc-body .opciones span {
  font-size: 11.5px;
  padding: 5px 9px;
}

/* Dolores → solución */
.pains {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.pain {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.pain .n {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--ink-3);
}
.pain .bad {
  font-family: var(--sans);
  font-weight: 600;
  letter-spacing: -0.025em;
  font-size: clamp(19px, 1.72vw, 23px);
  line-height: 1.12;
}
.pain .fix {
  margin-top: auto;
  display: flex;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 14.5px;
  color: var(--ink-2);
  line-height: 1.45;
}
.pain .fix::before {
  content: '→';
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--green);
  color: var(--on-green);
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 700;
  margin-top: 1px;
}
.pain .fix strong {
  color: var(--ink);
  font-weight: 600;
}

/* Qué recibes: visita → anfitrión → WhatsApp */
.get {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
.get .txt {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.get .txt ul {
  list-style: none;
  margin: 4px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 15px;
}
.get .txt li {
  display: flex;
  gap: 10px;
  line-height: 1.45;
}
.get .txt li::before {
  content: '';
  flex: none;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--green);
  margin-top: 8px;
  color: var(--on-green);
}
.flow {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}
.flow .st {
  position: relative;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 16px;
  padding-bottom: 22px;
}
.flow .st:last-child {
  padding-bottom: 0;
}
.flow .st::after {
  content: '';
  position: absolute;
  left: 23px;
  top: 48px;
  bottom: 0;
  width: 1px;
  background: var(--line-2);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.9s var(--ease);
}
.flow .st:last-child::after {
  display: none;
}
.sec.on .flow .st::after {
  transform: scaleY(1);
}
.sec.on .flow .st:nth-child(2)::after {
  transition-delay: 0.5s;
}
.flow .ic {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--mono);
  font-size: 13px;
  background: var(--card);
  border: 1px solid var(--line-2);
}
.flow .st.full .ic {
  background: var(--ink);
  color: var(--green);
  border-color: var(--ink);
  --green: #7fd1a8;
  --green-ink: #9addb9;
  --on-green: #0b1f17;
  --green-soft: rgba(127, 209, 168, 0.14);
}
.flow .st.wa .ic {
  background: var(--green);
  border-color: var(--green);
  color: var(--on-green);
}
.flow .box {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.flow .st.full .box {
  border-color: rgba(14, 107, 74, 0.4);
}
.flow .box b {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--ink-3);
}
.flow .st.full .box b {
  color: var(--green-ink);
}
.flow .box strong {
  font-size: 16.5px;
  font-weight: 600;
  line-height: 1.3;
}
.flow .box span {
  font-size: 14px;
  color: var(--ink-2);
}
.flow .wa-card {
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.55;
  background: var(--green-soft);
  border: 1px solid rgba(14, 107, 74, 0.25);
  border-radius: 12px;
  padding: 9px 11px;
  color: var(--ink);
  margin-top: 4px;
}

/* Planes */
.plan .full-tag {
  align-self: flex-start;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  padding: 4px 9px;
  border-radius: 999px;
  border: 1px solid rgba(14, 107, 74, 0.35);
  color: var(--green-ink);
  background: var(--green-soft);
}
.plan .cta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: auto;
}
.plan .cta .btn {
  margin-top: 0;
}
.plan .lnk {
  font-size: 13px;
  font-weight: 600;
  color: var(--green-ink);
  text-align: center;
}
.plan .pr {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0 2px;
}
.once {
  font-size: 12.5px;
  color: var(--ink-3);
  margin-top: -6px;
}
.cmp-wrap {
  margin-top: 0;
}
.cmp-wrap h3 {
  font-size: clamp(22px, 2.03vw, 28px);
  margin-bottom: 14px;
}
.cmp {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 14px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
}
.cmp th,
.cmp td {
  text-align: left;
  vertical-align: top;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  line-height: 1.4;
}
.cmp tr:last-child th,
.cmp tr:last-child td {
  border-bottom: 0;
}
.cmp thead th {
  font-family: var(--sans);
  font-weight: 600;
  letter-spacing: -0.03em;
  font-size: 24px;
  line-height: 1;
  padding-top: 16px;
}
.cmp thead th small {
  display: block;
  font-family: var(--sans);
  font-weight: 400;
  letter-spacing: 0;
  font-size: 12.5px;
  color: var(--ink-3);
  margin-top: 4px;
}
.cmp tbody th {
  width: 20%;
  font-family: var(--mono);
  font-weight: 500;
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
  padding-top: 14px;
}
.cmp .hi {
  background: rgba(14, 107, 74, 0.07);
}
.cmp thead .hi {
  box-shadow: inset 0 3px 0 var(--green);
}
.cmp .no {
  color: var(--ink-3);
}
.cmp .cmp-bd {
  display: inline-block;
  vertical-align: middle;
  margin-left: 6px;
  font-family: var(--mono);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--green);
  color: var(--on-green);
}
.price-note {
  display: block;
  margin-top: 12px;
}

/* Proceso: línea que se dibuja */
.proc {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  padding-top: 30px;
}
.proc-line {
  position: absolute;
  left: 8px;
  right: calc((100% - 60px) / 4 - 8px);
  top: 7px;
  height: 2px;
  background: var(--line);
}
.proc-line i {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--ink) 0%, var(--ink) 72%, var(--green) 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.6s var(--ease) 0.25s;
}
.sec.on .proc-line i {
  transform: scaleX(1);
}
.ph4 {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ph4::before {
  content: '';
  position: absolute;
  top: -30px;
  left: 0;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--paper);
  border: 2px solid var(--ink);
}
.ph4.go::before {
  background: var(--green);
  border-color: var(--green);
  box-shadow: 0 0 0 5px rgba(14, 107, 74, 0.22);
  color: var(--on-green);
}
.ph4 .d {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--ink-3);
}
.ph4.go .d {
  color: var(--green-ink);
}
.ph4 strong {
  font-family: var(--sans);
  font-weight: 600;
  letter-spacing: -0.03em;
  font-size: clamp(22px, 2.03vw, 28px);
  line-height: 1;
}
.ph4 p {
  font-size: 14.5px;
  color: var(--ink-2);
}
.proc-foot {
  margin-top: clamp(24px, 4vh, 40px);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  align-items: center;
}

/* Casos */
.cases-foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-top: 8px;
}
.case .small {
  color: var(--ink-3);
}
.carrusel-clientes .case b {
  font-size: 15px;
}

/* Garantías */
.guar {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.g4 {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.g4 .ic {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--ink);
  color: var(--green);
  display: grid;
  place-items: center;
  --green: #7fd1a8;
  --green-ink: #9addb9;
  --on-green: #0b1f17;
  --green-soft: rgba(127, 209, 168, 0.14);
}
.g4 .ic svg {
  width: 22px;
  height: 22px;
}
.g4 strong {
  font-family: var(--sans);
  font-weight: 600;
  letter-spacing: -0.025em;
  font-size: clamp(19px, 1.72vw, 23px);
  line-height: 1.05;
}
.g4 p {
  font-size: 14.5px;
  color: var(--ink-2);
}

/* Mantenimiento: línea opcional en cada plan */
.plan .addon {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 2px 0 0;
  padding: 10px 12px;
  border: 1px dashed var(--line-2);
  border-radius: 14px;
  font-size: 13px;
  line-height: 1.4;
  color: var(--ink-2);
}
.plan .addon b {
  color: var(--ink);
  font-weight: 600;
}
.plan .addon a {
  color: var(--green-ink);
  font-weight: 600;
}

/* Después de publicar (sección oscura) */
.after .head p {
  color: var(--on-night-2);
}
.after .k {
  color: var(--green);
}
.aft {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.aft > div {
  background: var(--night-2);
  border: 1px solid #2e2e2e;
  border-radius: 22px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.aft .lb {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
}
.aft strong {
  font-family: var(--sans);
  font-weight: 600;
  letter-spacing: -0.03em;
  font-size: clamp(26px, 2.4vw, 34px);
  line-height: 1;
  color: var(--on-night);
}
.aft strong small {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--on-night-2);
  margin-left: 4px;
}
.aft p {
  font-size: 14.5px;
  color: var(--on-night-2);
}
.after-foot {
  margin-top: clamp(22px, 4vh, 36px);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  align-items: center;
}
.after-foot .small {
  color: var(--on-night-2);
}
.after .btn-go:hover {
  background: #9addb9;
  color: #0b1f17;
}
@media (max-width: 860px) {
  .aft {
    grid-template-columns: 1fr;
  }
}

/* FAQ + CTA */
.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}
.faq-grid .head {
  position: sticky;
  top: calc(var(--head) + 24px);
}
.faq details p a {
  color: var(--green-ink);
  font-weight: 600;
}
.incexc a {
  color: var(--green-ink);
  font-weight: 600;
}
.lp-hero .hv-cap {
  width: fit-content;
  background: rgba(250, 248, 244, 0.9);
  padding: 3px 8px;
  border-radius: 7px;
} /* legible sobre el vídeo del hero */
.hv-cap .anim {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 6px;
  border: 1px solid var(--line-2);
  border-radius: 5px;
  color: var(--ink-2);
}

@media (max-width: 960px) {
  .w-hero,
  .get,
  .faq-grid {
    grid-template-columns: 1fr;
  }
  .faq-grid .head {
    position: static;
  }
  .hv {
    max-width: 620px;
  }
  .guar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 860px) {
  .pains {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 760px) {
  .proc {
    grid-template-columns: 1fr;
    padding: 0 0 0 34px;
    gap: 26px;
  }
  .proc-line {
    left: 7px;
    right: auto !important;
    top: 6px;
    bottom: 6px;
    width: 2px;
    height: auto;
  }
  .proc-line i {
    background: linear-gradient(180deg, var(--ink) 0%, var(--ink) 72%, var(--green) 100%);
    transform: scaleY(0);
    transform-origin: top;
  }
  .sec.on .proc-line i {
    transform: scaleY(1);
  }
  .ph4::before {
    top: 2px;
    left: -34px;
  }
}
@media (max-width: 640px) {
  .hv {
    padding-bottom: 0;
  }
  .hc-body {
    height: 170px;
  }
  .hchat {
    position: relative;
    right: auto;
    bottom: auto;
    width: auto;
    margin: -36px 10px 0 18%;
  }
  .guar {
    grid-template-columns: 1fr;
  }
  .cmp,
  .cmp tbody,
  .cmp tr,
  .cmp th,
  .cmp td {
    display: block;
    width: auto;
  }
  .cmp thead {
    display: none;
  }
  .cmp tr {
    padding: 12px 14px;
    border-bottom: 1px solid var(--line);
  }
  .cmp tr:last-child {
    border-bottom: 0;
  }
  .cmp th,
  .cmp td {
    padding: 4px 0;
    border: 0;
  }
  .cmp tbody th {
    width: auto;
    padding: 0 0 6px;
  }
  .cmp td::before {
    content: attr(data-l) ' · ';
    font-weight: 600;
    color: var(--ink);
  }
  .cmp .hi {
    background: transparent;
  }
}
@media (prefers-reduced-motion: reduce) {
  .flow .st::after,
  .proc-line i {
    transform: none !important;
  }
  .bw-shot img {
    transition: none;
  }
}

/* Por pantallas en ventanas bajas: los planes se compactan para caber enteros */
@media (max-height: 860px) {
  html.snap #planes .plan {
    gap: 8px;
    padding: 20px 22px;
  }
  html.snap #planes .plan ul {
    gap: 5px;
  }
  html.snap #planes .head {
    gap: 10px;
  }
}
@media (max-width: 1100px) and (max-height: 800px) {
  html.snap #planes .plan ul {
    font-size: 13.5px;
    gap: 3px;
  }
  html.snap #planes .plan .addon {
    display: none;
  }
  html.snap #planes .head .muted {
    display: none;
  }
}
