/* Kiersys — home. Requiere site.css. */

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 140px 0 32px; overflow: hidden;
}
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; touch-action: pan-y; }
.hero::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 40%; z-index: 0; pointer-events: none;
  background: linear-gradient(to top, var(--bg), transparent);
}
.hero-inner { position: relative; z-index: 2; pointer-events: none; }
.hero-inner a, .hero-inner button { pointer-events: auto; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .65rem; margin: 0 0 1.8rem;
  font-size: .85rem; color: var(--muted); font-weight: 500;
  padding: .45rem .9rem .45rem .7rem; border: 1px solid var(--line); border-radius: 999px;
  background: color-mix(in srgb, var(--bg) 60%, transparent);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(16,185,129,.6); animation: ping 2.4s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(16,185,129,.55); } 70%, 100% { box-shadow: 0 0 0 10px rgba(16,185,129,0); } }
.hero-title {
  font-size: clamp(2.5rem, 8.2vw, 7.6rem);
  line-height: .94; letter-spacing: -.055em; font-weight: 700;
  margin: 0 0 2rem; max-width: 13ch;
}
.hero-title em { color: var(--electric); font-size: 1.06em; letter-spacing: -.03em; }
.hero-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 2rem 3rem; }
.hero-sub { font-size: clamp(1.05rem, 1.5vw, 1.3rem); color: #b7bfd0; max-width: 40ch; margin: 0; line-height: 1.5; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.hero-meta {
  position: relative; z-index: 2; margin-top: clamp(2.5rem, 7vh, 5rem);
  display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap;
  border-top: 1px solid var(--line); padding-top: 1rem; font-size: .85rem; color: var(--muted);
}
.hero-count { font-variant-numeric: tabular-nums; display: inline-flex; align-items: baseline; gap: .5rem; }
.hero-count b { font-size: 1.35rem; color: var(--fg); font-weight: 700; letter-spacing: -.02em; min-width: 2ch; text-align: right; }
.hint { display: inline-flex; align-items: center; gap: .5rem; }
.hint svg { width: 16px; height: 16px; }

/* ==========================================================================
   CLIENTES
   ========================================================================== */
.clients { padding: clamp(3rem, 7vw, 5rem) 0; }
.clients .label { padding: 0 var(--gutter); max-width: var(--maxw); margin: 0 auto 1.6rem; display: flex; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; width: max-content; gap: 1rem; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(calc(-50% - .5rem)); } }
.client {
  display: flex; align-items: center; gap: 1rem; padding: .7rem 1.4rem .7rem .7rem;
  border: 1px solid var(--line); border-radius: 999px; white-space: nowrap;
}
.client img { width: 52px; height: 52px; border-radius: 50%; object-fit: contain; background: #fff; padding: 4px; }
.client b { display: block; font-size: 1rem; font-weight: 600; letter-spacing: -.01em; }
.client small { color: var(--muted); font-size: .82rem; }

/* ==========================================================================
   PROBLEMA
   ========================================================================== */
.problem { padding: clamp(6rem, 14vw, 11rem) 0 clamp(5rem, 10vw, 8rem); }
.scrub {
  font-size: clamp(1.75rem, 4.1vw, 3.7rem); line-height: 1.12; letter-spacing: -.035em; font-weight: 600;
  margin: 0; max-width: 24ch;
}
.scrub .sw { opacity: .16; transition: opacity .25s linear; }
.scrub .sw.on { opacity: 1; }
.scrub strong { color: var(--accent); font-weight: 700; }
.no-js-scrub .scrub .sw { opacity: 1; }

.rubros { margin-top: clamp(4rem, 9vw, 7rem); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.rubros-copy h3 { font-size: clamp(1.4rem, 2.2vw, 1.9rem); letter-spacing: -.03em; line-height: 1.15; margin: 0 0 1rem; font-weight: 700; }
.rubros-copy p { color: var(--muted); margin: 0 0 1.75rem; max-width: 40ch; }
.tabs { display: inline-flex; padding: 4px; border-radius: 999px; border: 1px solid var(--line); gap: 2px; }
.tab {
  border: 0; background: transparent; cursor: pointer; padding: .65rem 1.15rem; border-radius: 999px;
  font-weight: 600; font-size: .95rem; color: var(--muted); transition: background-color .3s, color .3s;
}
.tab[aria-selected="true"] { background: var(--fg); color: var(--bg); }
.qlist { list-style: none; margin: 0; padding: 0; display: grid; gap: .65rem; }
.qlist li {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1rem 1.1rem 1rem 1.3rem; border-radius: var(--r); background: #fff;
  border: 1px solid var(--line); box-shadow: 0 1px 0 rgba(15,23,42,.04);
  font-weight: 500; font-size: 1.02rem;
}
.qlist .q { min-width: 0; }
.qlist .q small { display: block; font-size: .8rem; color: var(--muted); font-weight: 500; margin-top: .15rem; }
.qstate {
  flex: none; display: inline-flex; align-items: center; gap: .4rem; font-size: .78rem; font-weight: 600;
  padding: .35rem .7rem; border-radius: 999px; background: #f1f5f9; color: #64748b; white-space: nowrap;
  transition: background-color .4s, color .4s;
}
.qstate svg { width: 14px; height: 14px; }
.qstate .ok { display: none; }
.qlist li.done .qstate { background: #dcfce7; color: #047857; }
.qlist li.done .qstate .ok { display: block; }
.qlist li.done .qstate .wait { display: none; }
.js .qlist.play li { animation: qin .7s var(--ease-out) both; animation-delay: calc(var(--i) * 70ms); }
@keyframes qin { from { opacity: 0; transform: translateY(14px) scale(.98); } }
.qnote { margin-top: 1rem; font-size: .92rem; color: var(--muted); }

/* ==========================================================================
   PRODUCTO — Kiersys AI
   ========================================================================== */
.product { padding: clamp(4rem, 8vw, 7rem) 0; }
.product-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: clamp(2rem, 6vw, 6rem); }
.product-stage { position: relative; }
.product-sticky { position: sticky; top: 0; height: 100vh; display: grid; place-items: center; }

.product-intro { grid-column: 1; grid-row: 1; padding-top: clamp(2rem, 14vh, 9rem); }
.product-steps { grid-column: 1; grid-row: 2; }
.product-stage { grid-column: 2; grid-row: 1 / span 2; }
.steps { list-style: none; margin: clamp(3rem, 8vh, 5rem) 0 0; padding: 0; }
.step { min-height: 62vh; display: flex; flex-direction: column; justify-content: center; padding: 2rem 0; border-top: 1px solid var(--line); opacity: .28; transition: opacity .5s var(--ease); }
.step.is-active { opacity: 1; }
.step-n { font-variant-numeric: tabular-nums; font-size: .85rem; font-weight: 600; color: var(--accent); margin-bottom: 1rem; }
.step h3 { font-size: clamp(1.6rem, 2.8vw, 2.5rem); line-height: 1.08; letter-spacing: -.035em; margin: 0 0 .9rem; font-weight: 700; max-width: 18ch; }
.step p { color: var(--muted); margin: 0; max-width: 40ch; font-size: 1.08rem; }

.price {
  margin: 2rem 0 0; padding: clamp(1.6rem, 3vw, 2.2rem); border-radius: var(--r-lg);
  background: var(--ink); color: #eef1f7; display: grid; gap: 1.2rem;
}
.price-top { display: flex; align-items: baseline; flex-wrap: wrap; gap: .4rem .8rem; }
.price-top small { color: #8b93a7; font-size: .95rem; }
.price-top strong { font-size: clamp(2.6rem, 5vw, 3.8rem); letter-spacing: -.05em; line-height: 1; font-weight: 700; font-variant-numeric: tabular-nums; }
.price p { margin: 0; color: #a3abbd; font-size: .95rem; max-width: 46ch; }
.price .btn-ghost { border-color: rgba(255,255,255,.2); color: #fff; justify-self: start; }
.price .btn-ghost:hover { border-color: #fff; }

/* ==========================================================================
   AGENDAR
   ========================================================================== */
.agendar { padding: clamp(6rem, 12vw, 10rem) 0; --accent: var(--violet); }
.agendar .h2 em { color: var(--violet); }
.agendar-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.feat { list-style: none; padding: 0; margin: 2.2rem 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.feat li { background: var(--bg); padding: 1.1rem 1.2rem; font-size: .95rem; }
.feat li b { display: block; font-weight: 600; margin-bottom: .15rem; }
.feat li span { color: var(--muted); font-size: .88rem; }
.rubro-links { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 2rem; }
.rubro-links a { font-size: .85rem; text-decoration: none; padding: .45rem .9rem; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); transition: color .25s, border-color .25s; }
.rubro-links a:hover { color: var(--fg); border-color: var(--violet); }

.booking {
  position: relative; border-radius: 28px; padding: clamp(1.25rem, 2.5vw, 1.75rem);
  background: linear-gradient(180deg, #121a2a, #0b101b); border: 1px solid rgba(255,255,255,.09);
  box-shadow: 0 40px 80px -40px rgba(167,139,250,.35);
  min-height: 520px; display: flex; flex-direction: column;
}
.bk-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.2rem; }
.bk-head b { font-size: 1rem; }
.bk-head small { color: #8b93a7; font-size: .8rem; }
.bk-step { font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #8b93a7; margin: 1.1rem 0 .6rem; }
.svc { display: flex; flex-wrap: wrap; gap: .4rem; }
.chip-btn {
  border: 1px solid rgba(255,255,255,.12); background: transparent; color: #cdd3df; cursor: pointer;
  padding: .5rem .85rem; border-radius: 999px; font-size: .85rem; font-weight: 500; transition: background-color .25s, border-color .25s, color .25s;
}
.chip-btn:hover { border-color: var(--violet); }
.chip-btn[aria-pressed="true"] { background: var(--violet); border-color: var(--violet); color: #160c33; font-weight: 600; }
.days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: .35rem; }
.day {
  border: 1px solid rgba(255,255,255,.08); background: rgba(255,255,255,.02); border-radius: 12px; cursor: pointer;
  padding: .5rem 0; display: grid; gap: .1rem; justify-items: center; color: #cdd3df; transition: background-color .25s, border-color .25s, color .25s, transform .3s var(--ease-out);
}
.day small { font-size: .62rem; text-transform: uppercase; letter-spacing: .06em; color: #8b93a7; }
.day b { font-size: 1.05rem; font-variant-numeric: tabular-nums; }
.day:hover { border-color: var(--violet); transform: translateY(-2px); }
.day[aria-pressed="true"] { background: var(--violet); border-color: var(--violet); color: #160c33; }
.day[aria-pressed="true"] small { color: #2e1f63; }
.slots { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .35rem; }
.slot { border: 1px solid rgba(255,255,255,.12); background: transparent; color: #e5e7eb; border-radius: 10px; padding: .55rem 0; cursor: pointer; font-size: .85rem; font-variant-numeric: tabular-nums; transition: background-color .25s, border-color .25s; }
.slot:hover:not(:disabled) { border-color: var(--violet); background: rgba(167,139,250,.12); }
.slot:disabled { opacity: .3; text-decoration: line-through; cursor: not-allowed; }
.slots-empty { color: #8b93a7; font-size: .88rem; padding: .9rem 0; }
.bk-done { display: none; flex: 1; flex-direction: column; justify-content: center; gap: 1rem; text-align: left; }
.booking.is-done .bk-flow { display: none; }
.booking.is-done .bk-done { display: flex; animation: pop .6s var(--ease-out) both; }
.check-big { width: 64px; height: 64px; border-radius: 50%; background: var(--violet); display: grid; place-items: center; color: #160c33; }
.check-big svg { width: 30px; height: 30px; stroke-dasharray: 30; stroke-dashoffset: 30; }
.booking.is-done .check-big svg { animation: draw .7s .2s var(--ease-out) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.bk-done h4 { margin: 0; font-size: 1.6rem; letter-spacing: -.03em; }
.bk-done p { margin: 0; color: #a3abbd; }
.bk-recap { display: grid; gap: .5rem; padding: 1rem; border-radius: 14px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.07); font-size: .9rem; }
.bk-recap div { display: flex; justify-content: space-between; gap: 1rem; }
.bk-recap span { color: #8b93a7; }
.wa-preview { display: flex; gap: .6rem; align-items: flex-start; padding: .8rem; border-radius: 14px; background: #0b2a1f; border: 1px solid rgba(16,185,129,.25); font-size: .85rem; color: #c8f2df; }
.wa-preview svg { width: 18px; height: 18px; flex: none; color: #34d399; margin-top: 2px; }
.bk-reset { align-self: flex-start; border: 0; background: none; color: var(--violet); font-weight: 600; cursor: pointer; padding: .4rem 0; }

/* ==========================================================================
   CASOS — scroll horizontal fijado
   ========================================================================== */
.cases { position: relative; }
.cases-pin { position: relative; }
.cases-head { padding: clamp(5rem, 10vw, 8rem) 0 2.5rem; }
.cases-head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; flex-wrap: wrap; }
.cases-bar { width: 160px; height: 2px; background: var(--line); position: relative; overflow: hidden; }
.cases-bar i { position: absolute; inset: 0; background: var(--accent); transform-origin: 0 50%; transform: scaleX(0); }
.cases-track {
  display: flex; gap: clamp(1rem, 2vw, 1.5rem); padding: 0 var(--gutter) clamp(4rem, 8vw, 6rem);
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: none; will-change: transform;
}
.cases-track::-webkit-scrollbar { display: none; }
.case {
  --rx: 0deg; --ry: 0deg;
  flex: none; width: min(84vw, 440px); scroll-snap-align: start;
  display: flex; flex-direction: column; gap: 1.4rem; padding: clamp(1.5rem, 2.5vw, 2rem);
  border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line);
  transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out);
  position: relative; overflow: hidden;
}
.case::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(400px circle at var(--gx, 50%) var(--gy, 0%), rgba(37,99,235,.10), transparent 60%);
}
.case:hover { box-shadow: 0 30px 60px -30px rgba(15,23,42,.35); }
.case:hover::after { opacity: 1; }
.case-top { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.case-tag { font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); }
.case-client { display: flex; align-items: center; gap: .5rem; font-size: .82rem; color: var(--muted); font-weight: 500; }
.case-client img { width: 28px; height: 28px; border-radius: 50%; object-fit: contain; background: #fff; border: 1px solid var(--line); }
.metric { display: flex; align-items: baseline; gap: .6rem; flex-wrap: wrap; font-variant-numeric: tabular-nums; }
.metric .before { font-size: clamp(1.4rem, 2vw, 1.8rem); color: var(--muted); text-decoration: line-through; text-decoration-thickness: 2px; text-decoration-color: rgba(239,68,68,.6); font-weight: 600; letter-spacing: -.03em; }
.metric .to { color: var(--muted); }
.metric .after { font-size: clamp(3rem, 5.5vw, 4.6rem); line-height: .95; font-weight: 700; letter-spacing: -.055em; color: var(--fg); }
.metric .after em { color: var(--blue); }
.metric-cap { font-size: .9rem; color: var(--muted); margin-top: -.6rem; }
.case h3 { margin: 0; font-size: 1.2rem; letter-spacing: -.02em; }
.case blockquote { margin: 0; font-size: 1rem; line-height: 1.5; color: #334155; flex: 1; }
.case figcaption, .case cite { font-style: normal; font-size: .85rem; color: var(--muted); }
.case-end { background: var(--blue); color: #fff; justify-content: space-between; text-decoration: none; border-color: transparent; }
.case-end h3 { font-size: clamp(2rem, 3.4vw, 2.8rem); line-height: 1; letter-spacing: -.045em; }
.case-end p { margin: 0; color: rgba(255,255,255,.8); }
.case-end .big-arrow { font-size: 3rem; line-height: 1; transition: transform .5s var(--ease-out); }
.case-end:hover .big-arrow { transform: translateX(10px); }

@media (min-width: 900px) and (prefers-reduced-motion: no-preference) {
  .js .cases.is-pinned .cases-pin { position: sticky; top: 0; height: 100vh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; }
  .js .cases.is-pinned .cases-head { padding-top: 0; }
  .js .cases.is-pinned .cases-track { overflow: visible; scroll-snap-type: none; padding-bottom: 0; }
  .js .cases.is-pinned .case { width: 420px; }
}

/* ==========================================================================
   SERVICIOS — índice
   ========================================================================== */
.services { padding: clamp(6rem, 12vw, 10rem) 0; }
.svc-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; flex-wrap: wrap; margin-bottom: 3rem; }
.svc-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.svc-list li { border-bottom: 1px solid var(--line); }
.svc-list a {
  position: relative; display: grid; grid-template-columns: 4rem minmax(0, 1.2fr) minmax(0, 1fr) 2.5rem; align-items: center; gap: 1.5rem;
  padding: clamp(1.3rem, 2.4vw, 2rem) 0; text-decoration: none; isolation: isolate; overflow: hidden;
}
.svc-list a::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--blue);
  transform: scaleY(0); transform-origin: 50% 100%; transition: transform .55s var(--ease-out);
}
.svc-list a:hover::before, .svc-list a:focus-visible::before { transform: scaleY(1); }
.svc-n { font-variant-numeric: tabular-nums; color: var(--muted); font-size: .9rem; font-weight: 600; transition: color .3s, transform .5s var(--ease-out); }
.svc-t { font-size: clamp(1.35rem, 2.7vw, 2.3rem); font-weight: 600; letter-spacing: -.035em; line-height: 1.1; transition: transform .55s var(--ease-out); }
.svc-d { color: var(--muted); font-size: .98rem; transition: color .3s; }
.svc-a { justify-self: end; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: transform .5s var(--ease-out), background-color .3s, border-color .3s, color .3s; }
.svc-a svg { width: 16px; height: 16px; }
.svc-list a:hover .svc-n, .svc-list a:focus-visible .svc-n { color: rgba(255,255,255,.75); transform: translateX(12px); }
.svc-list a:hover .svc-t, .svc-list a:focus-visible .svc-t { transform: translateX(12px); color: #fff; }
.svc-list a:hover .svc-d, .svc-list a:focus-visible .svc-d { color: rgba(255,255,255,.85); }
.svc-list a:hover .svc-a, .svc-list a:focus-visible .svc-a { background: #fff; color: var(--blue); border-color: #fff; transform: rotate(-45deg); }

/* ==========================================================================
   PROCESO
   ========================================================================== */
.process { padding: clamp(6rem, 12vw, 10rem) 0; }
.proc { list-style: none; margin: clamp(3rem, 6vw, 5rem) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); position: relative; }
.proc::before { content: ""; position: absolute; top: 9px; left: 0; right: 0; height: 1px; background: var(--line); }
.proc::after { content: ""; position: absolute; top: 9px; left: 0; right: 0; height: 1px; background: var(--accent); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }
.proc li { position: relative; padding: 3rem 1.5rem 0 0; }
.proc li::before { content: ""; position: absolute; top: 3px; left: 0; width: 13px; height: 13px; border-radius: 50%; background: var(--bg); border: 1.5px solid var(--line); transition: background-color .4s, border-color .4s; z-index: 1; }
.proc li.on::before { background: var(--accent); border-color: var(--accent); }
.proc b { display: block; font-variant-numeric: tabular-nums; font-size: .85rem; color: var(--accent); margin-bottom: .8rem; }
.proc h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); letter-spacing: -.035em; margin: 0 0 .6rem; }
.proc p { color: var(--muted); margin: 0; max-width: 28ch; }

/* ==========================================================================
   CTA + FOOTER
   ========================================================================== */
.cta { padding: clamp(7rem, 16vw, 13rem) 0 clamp(5rem, 10vw, 8rem); text-align: left; position: relative; overflow: hidden; }
.cta-title { font-size: clamp(2.6rem, 8.5vw, 8rem); line-height: .94; letter-spacing: -.055em; font-weight: 700; margin: 0 0 2.5rem; max-width: 14ch; }
.cta-title em { color: var(--electric); }
.cta-row { display: flex; flex-wrap: wrap; gap: 2.5rem; align-items: center; }
.cta-orb {
  --h: auto; width: clamp(150px, 16vw, 200px); height: clamp(150px, 16vw, 200px); padding: 0; border-radius: 50%;
  flex-direction: column; gap: .35rem; font-size: 1rem; text-align: center; white-space: normal; line-height: 1.2;
}
.cta-orb svg { width: 26px; height: 26px; }
.cta-orb > span { max-width: 100%; padding: 0 1.6rem; font-size: .95rem; }
.cta-info { display: grid; gap: .5rem; color: var(--muted); font-size: 1rem; }
.cta-info a { color: var(--fg); text-decoration: none; border-bottom: 1px solid var(--line); }
.cta-info a:hover { border-color: var(--fg); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 900px) {
  .rubros, .agendar-grid { grid-template-columns: minmax(0, 1fr); }
  .proc { grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
  .proc::before, .proc::after { top: 0; bottom: 0; left: 6px; right: auto; width: 1px; height: auto; transform-origin: 50% 0; transform: scaleY(var(--p, 0)); }
  .proc li { padding: 0 0 0 2.5rem; }
  .proc li::before { top: 4px; }
  .svc-list a { grid-template-columns: 2.5rem minmax(0, 1fr) 2.5rem; gap: .5rem 1rem; }
  .svc-d { grid-column: 2 / 3; grid-row: 2; font-size: .92rem; }
  .svc-a { grid-row: 1 / 3; grid-column: 3; }

  /* Producto: teléfono fijo arriba, pasos pasan por debajo */
  .product-grid { grid-template-columns: minmax(0, 1fr); }
  .product-intro, .product-steps { grid-column: 1; grid-row: auto; padding-top: 0; }
  .product-intro { order: 0; } .product-sticky { order: 1; } .product-steps { order: 2; }
  .product-stage { display: contents; }
  .product-sticky { grid-column: 1; align-self: start; height: auto; top: 0; z-index: 2; padding: 76px 0 14px; margin-top: 1.5rem; background: var(--bg); box-shadow: 0 1px 0 var(--line); }
  .phone { height: 46vh; min-height: 330px; width: min(330px, 100%); border-radius: 36px; }
  .phone-screen { border-radius: 27px; }
  .phone-head { padding-top: 38px; }
  .steps { margin-top: 1rem; }
  .step { min-height: 44vh; justify-content: flex-start; }
  .step h3 { font-size: 1.45rem; }
}
@media (max-width: 560px) {
  .hero-actions { width: 100%; }
  .hero-actions .btn { flex: 1 1 100%; }
  .feat { grid-template-columns: minmax(0, 1fr); }
  .slots { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .qlist li { font-size: .95rem; }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
  .marquee { -webkit-mask-image: none; mask-image: none; }
}
.price-kicker { font-size: .78rem !important; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #8b93a7 !important; }

/* Marca AgendAR dentro de la home */
.ag-brand { display: inline-flex; align-items: center; gap: 1.1rem; margin-bottom: 2.2rem; text-decoration: none; color: #eef1f7; }
.ag-brand img {
  width: 76px; height: 76px; flex: none; filter: drop-shadow(0 18px 30px rgba(96,165,250,.35));
  transition: transform .6s var(--ease-out);
}
.ag-brand:hover img { transform: rotate(-6deg) scale(1.06); }
.ag-brand b { display: block; font-size: clamp(2.3rem, 4.2vw, 3.4rem); font-weight: 700; letter-spacing: -.045em; line-height: 1; }
.ag-brand b i { font-style: normal; color: #60a5fa; }
.ag-brand small { display: block; margin-top: .45rem; font-size: .88rem; color: #8b93a7; }
.ag-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.agendar .btn-primary { background: var(--violet); color: #160c33; }
.agendar .btn-primary:hover { background: #c4b5fd; }
.bk-by { display: inline-flex; align-items: center; gap: .4rem; }
.bk-by img { width: 18px; height: 18px; }

/* El H1 lleva primero la línea con las palabras clave y después el gancho */
.hero-h1 { margin: 0; font-weight: inherit; }
.hero-h1 .eyebrow { display: inline-flex; }
.hero-h1 .hero-title { display: block; }
