/* =========================================================
   SmartHuaraz — "Cordillera Digital"
   Sistema visual compartido por el Home y las landings
   ========================================================= */

:root {
  --noche: #050A14;
  --noche-2: #0A1322;
  --noche-3: #0F1B30;
  --linea: rgba(140, 190, 255, 0.13);
  --linea-2: rgba(140, 190, 255, 0.26);
  --glaciar: #2BE4F0;
  --glaciar-2: #8FF5FA;
  --electrico: #2F6BFF;
  --nieve: #EAF4FF;
  --niebla: #A7B8CF;
  --tenue: #8293AD;
  --alba: #FFB547;
  --alba-2: #FFC976;
  --alba-ink: #1B1205;
  --display: "Big Shoulders Display", "Arial Narrow", "Roboto Condensed", sans-serif;
  --body: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --wrap: 1240px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-cine: cubic-bezier(.77, 0, .18, 1);
}

/* ---------- Base ---------- */
.sh-page {
  background: var(--noche);
  color: var(--nieve);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  position: relative;
}
.sh-page *,
.sh-page *::before,
.sh-page *::after { box-sizing: border-box; }
.sh-page img { max-width: 100%; display: block; }
.sh-page a { color: inherit; text-decoration: none; }
.sh-page p { margin: 0; }
.sh-page h1, .sh-page h2, .sh-page h3, .sh-page h4 { margin: 0; font-weight: inherit; }
.sh-page ::selection { background: var(--glaciar); color: var(--noche); }
.sh-page :focus-visible { outline: 2px solid var(--glaciar); outline-offset: 3px; border-radius: 4px; }

.sh-wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 48px);
  position: relative;
}
.sh-sec { padding: clamp(84px, 10vw, 150px) 0; position: relative; }
.sh-sec--tight { padding: clamp(56px, 7vw, 96px) 0; }
.sh-sec--line { border-top: 1px solid var(--linea); }

.sh-sr {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ---------- Tipografía ---------- */
.sh-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 12px; font-weight: 500;
  letter-spacing: .18em; text-transform: uppercase; color: var(--glaciar);
}
.sh-eyebrow::before {
  content: ""; width: 7px; height: 7px; border: 1.5px solid currentColor; flex: none;
}
.sh-h1 {
  font-family: var(--display); font-weight: 800; text-transform: uppercase;
  font-size: clamp(54px, 8.2vw, 128px); line-height: .88; letter-spacing: -.005em;
  text-wrap: balance;
}
.sh-h2 {
  font-family: var(--display); font-weight: 800; text-transform: uppercase;
  font-size: clamp(42px, 5.4vw, 84px); line-height: .92; letter-spacing: 0;
  text-wrap: balance;
}
.sh-h3 { font-family: var(--body); font-weight: 600; font-size: 21px; line-height: 1.25; letter-spacing: -.01em; }
.sh-lead { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.6; color: var(--niebla); max-width: 60ch; text-wrap: pretty; }
.sh-body { color: var(--niebla); text-wrap: pretty; }
.sh-mono { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--tenue); }
.sh-grad {
  background: linear-gradient(180deg, #7CF6FB 0%, #2BE4F0 35%, #2F6BFF 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-top: .16em; margin-top: -.16em; -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.sh-alba { color: var(--alba); }
.sh-outline { color: transparent; -webkit-text-stroke: 1.5px rgba(234, 244, 255, .55); }

/* ---------- Botones ---------- */
.sh-btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px; border-radius: 8px;
  font-family: var(--body); font-weight: 600; font-size: 15px; letter-spacing: -.005em;
  cursor: pointer; border: 1px solid transparent; overflow: hidden; isolation: isolate;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-color .35s, border-color .35s;
}
.sh-btn svg { width: 18px; height: 18px; flex: none; transition: transform .35s var(--ease); }
.sh-btn:hover svg { transform: translateX(3px); }
.sh-btn--alba { background: var(--alba); color: var(--alba-ink); box-shadow: 0 10px 40px -12px rgba(255, 181, 71, .65); }
.sh-btn--alba::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, .55) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .8s var(--ease);
}
.sh-btn--alba:hover { transform: translateY(-2px); box-shadow: 0 18px 50px -14px rgba(255, 181, 71, .8); }
.sh-btn--alba:hover::after { transform: translateX(120%); }
.sh-btn--ghost {
  background: rgba(10, 19, 34, .45); color: var(--nieve); border-color: var(--linea-2);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.sh-btn--ghost:hover { border-color: var(--glaciar); background: rgba(43, 228, 240, .08); }
.sh-btn--sm { min-height: 44px; padding: 0 18px; font-size: 14px; }
.sh-link {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--glaciar);
  min-height: 44px;
}
.sh-link svg { width: 16px; height: 16px; transition: transform .35s var(--ease); }
.sh-link:hover svg { transform: translateX(4px); }

/* ---------- Navegación ---------- */
.sh-nav { position: absolute; top: 0; left: 0; right: 0; z-index: 30; }
.sh-nav-in {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  height: 76px;
}
.sh-brand { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; }
.sh-brand img { height: 34px; width: auto; filter: drop-shadow(0 0 12px rgba(43, 228, 240, .35)); }
.sh-brand-word {
  font-family: var(--display); font-weight: 800; font-size: 25px; letter-spacing: .04em;
  text-transform: uppercase; line-height: 1;
}
.sh-brand-word b { font-weight: 800; color: var(--glaciar); }
.sh-nav-links { display: flex; align-items: center; gap: 4px; }
.sh-nav-links a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px;
  font-size: 14px; color: var(--niebla); border-radius: 6px; transition: color .25s, background-color .25s;
}
.sh-nav-links a:hover { color: var(--nieve); background: rgba(140, 190, 255, .07); }
.sh-nav-links a.is-here { color: var(--nieve); }
.sh-nav-cta { display: flex; align-items: center; gap: 10px; }
.sh-burger {
  display: none; width: 48px; height: 48px; border-radius: 8px; border: 1px solid var(--linea-2);
  background: rgba(10, 19, 34, .6); color: var(--nieve); cursor: pointer; align-items: center; justify-content: center;
}
.sh-burger svg { width: 22px; height: 22px; }
.sh-menu {
  display: flex; flex-direction: column; gap: 2px; padding: 12px; margin: 0 0 12px;
  background: rgba(8, 15, 28, .96); border: 1px solid var(--linea-2); border-radius: 14px;
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  animation: sh-drop .35s var(--ease) both;
}
.sh-menu a { display: flex; align-items: center; min-height: 48px; padding: 0 14px; border-radius: 8px; color: var(--nieve); font-weight: 500; }
.sh-menu a:hover { background: rgba(140, 190, 255, .08); }
.sh-menu .sh-btn { margin-top: 8px; }
@keyframes sh-drop { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* ---------- Hero cinematográfico ---------- */
.sh-hero {
  position: relative; min-height: 880px; display: flex; flex-direction: column; justify-content: flex-end;
  overflow: hidden; isolation: isolate; background: var(--noche);
}
.sh-hero--md { min-height: 800px; }
.sh-stage { position: absolute; inset: 0; z-index: -2; }
.sh-stage canvas { width: 100%; height: 100%; display: block; }
.sh-hero-shade {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(5, 10, 20, .7) 0%, rgba(5, 10, 20, .25) 45%, transparent 65%),
    linear-gradient(180deg, rgba(5, 10, 20, .7) 0%, transparent 18%, transparent 62%, rgba(5, 10, 20, .85) 92%, var(--noche) 100%);
}
.sh-hero-shade--left {
  background:
    linear-gradient(90deg, rgba(5, 10, 20, .92) 0%, rgba(5, 10, 20, .55) 42%, transparent 70%),
    linear-gradient(180deg, rgba(5, 10, 20, .6) 0%, transparent 20%, transparent 70%, var(--noche) 100%);
}
/* Barras de cine (letterbox) que se abren al cargar */
.sh-bars::before,
.sh-bars::after {
  content: ""; position: absolute; left: 0; right: 0; height: 50%; background: #000; z-index: 25; pointer-events: none;
  animation: sh-bars 2.4s var(--ease-cine) .15s both;
}
.sh-bars::before { top: 0; }
.sh-bars::after { bottom: 0; }
@keyframes sh-bars { from { height: 50.5%; } to { height: 0%; } }
.sh-hero-body { position: relative; z-index: 2; padding-bottom: 116px; padding-top: 140px; }
.sh-hero-foot {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 3;
  border-top: 1px solid var(--linea);
  background: linear-gradient(180deg, rgba(5, 10, 20, 0), rgba(5, 10, 20, .7));
}
.sh-hero-foot-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 72px; flex-wrap: wrap; }

/* Títulos que suben línea a línea */
.sh-line { display: block; overflow: hidden; padding: .14em 0 .04em; margin-top: -.14em; }
.sh-line > span { display: inline-block; animation: sh-rise 1.4s var(--ease-cine) both; }
.sh-d1 > span { animation-delay: 1.1s; }
.sh-d2 > span { animation-delay: 1.28s; }
.sh-d3 > span { animation-delay: 1.46s; }
.sh-d4 > span { animation-delay: 1.64s; }
@keyframes sh-rise { from { transform: translateY(105%); } to { transform: none; } }
.sh-fade-in { animation: sh-fade 1.4s var(--ease) both; }
.sh-fd1 { animation-delay: 1.8s; }
.sh-fd2 { animation-delay: 2.05s; }
.sh-fd3 { animation-delay: 2.3s; }
.sh-fd4 { animation-delay: 2.6s; }
@keyframes sh-fade { from { opacity: 0; transform: translateY(18px); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }

/* Carrete de subtítulos (16 s, 4 escenas) */
.sh-reel { position: relative; display: block; height: 1.3em; }
.sh-reel > span {
  position: absolute; left: 0; top: 0; white-space: nowrap; opacity: 0;
  animation: sh-reel 16s linear infinite both;
}
.sh-reel > span:nth-child(2) { animation-delay: 4s; }
.sh-reel > span:nth-child(3) { animation-delay: 8s; }
.sh-reel > span:nth-child(4) { animation-delay: 12s; }
@keyframes sh-reel {
  0% { opacity: 0; transform: translateY(14px); filter: blur(8px); }
  4% { opacity: 1; transform: none; filter: none; }
  21% { opacity: 1; transform: none; filter: none; }
  25% { opacity: 0; transform: translateY(-14px); filter: blur(8px); }
  100% { opacity: 0; }
}
.sh-scenes { display: flex; align-items: center; gap: 14px; }
.sh-scene-dots { display: flex; gap: 6px; }
.sh-scene-dots i {
  display: block; width: 28px; height: 3px; background: rgba(140, 190, 255, .2); position: relative; overflow: hidden;
}
.sh-scene-dots i::after {
  content: ""; position: absolute; inset: 0; background: var(--glaciar); transform-origin: left; transform: scaleX(0);
  animation: sh-scene 16s linear infinite both;
}
.sh-scene-dots i:nth-child(2)::after { animation-delay: 4s; }
.sh-scene-dots i:nth-child(3)::after { animation-delay: 8s; }
.sh-scene-dots i:nth-child(4)::after { animation-delay: 12s; }
@keyframes sh-scene { 0% { transform: scaleX(0); } 25% { transform: scaleX(1); } 26%, 100% { transform: scaleX(0); } }
.sh-scroll-cue { display: inline-flex; align-items: center; gap: 12px; }
.sh-scroll-cue i { display: block; width: 1px; height: 34px; background: var(--linea-2); position: relative; overflow: hidden; }
.sh-scroll-cue i::after {
  content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--glaciar);
  animation: sh-cue 2.2s var(--ease-cine) infinite;
}
@keyframes sh-cue { to { top: 110%; } }

/* ---------- Revelado al hacer scroll ---------- */
@supports (animation-timeline: view()) {
  .sh-rv { animation: sh-rv linear both; animation-timeline: view(); animation-range: entry 0% cover 26%; }
  .sh-rv-l { animation: sh-rv-l linear both; animation-timeline: view(); animation-range: entry 0% cover 30%; }
  .sh-rv-r { animation: sh-rv-r linear both; animation-timeline: view(); animation-range: entry 0% cover 30%; }
  .sh-rv-s { animation: sh-rv-s linear both; animation-timeline: view(); animation-range: entry 0% cover 34%; }
  .sh-par { animation: sh-par linear both; animation-timeline: view(); animation-range: cover 0% cover 100%; }
}
@keyframes sh-rv { from { opacity: 0; transform: translateY(56px); } to { opacity: 1; transform: none; } }
@keyframes sh-rv-l { from { opacity: 0; transform: translateX(-60px); } to { opacity: 1; transform: none; } }
@keyframes sh-rv-r { from { opacity: 0; transform: translateX(60px); } to { opacity: 1; transform: none; } }
@keyframes sh-rv-s { from { opacity: 0; transform: scale(.9) translateY(40px); } to { opacity: 1; transform: none; } }
@keyframes sh-par { from { transform: translateY(60px); } to { transform: translateY(-60px); } }

/* ---------- Encabezado de sección ---------- */
.sh-head { display: grid; gap: 22px; margin-bottom: clamp(44px, 6vw, 80px); max-width: 860px; }
.sh-head--split {
  max-width: none; grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr)); align-items: end; gap: 28px 64px;
}
.sh-index { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; color: var(--tenue); }

/* ---------- Tarjetas ---------- */
.sh-card {
  position: relative; border-radius: 16px; padding: 30px;
  background: linear-gradient(180deg, rgba(17, 30, 54, .62), rgba(9, 17, 31, .62));
  border: 1px solid var(--linea); overflow: hidden; isolation: isolate;
  transition: transform .5s var(--ease), border-color .5s;
}
.sh-card::before {
  content: ""; position: absolute; top: 18px; right: 18px; width: 8px; height: 8px;
  border: 1.5px solid var(--linea-2); transition: border-color .4s, transform .6s var(--ease);
}
.sh-card:hover { transform: translateY(-6px); border-color: var(--linea-2); }
.sh-card:hover::before { border-color: var(--glaciar); transform: rotate(45deg); }
.sh-card::after {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .6s;
  background: radial-gradient(70% 60% at 50% 0%, rgba(43, 228, 240, .12), transparent 70%);
}
.sh-card:hover::after { opacity: 1; }
.sh-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(270px, 100%), 1fr)); }
.sh-grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(480px, 100%), 1fr)); }
.sh-grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); }

/* Cifras de dolor */
.sh-pain-n {
  font-family: var(--display); font-weight: 800; font-size: clamp(46px, 4vw, 58px); line-height: .9;
  color: var(--nieve); margin: 26px 0 16px; letter-spacing: -.01em; white-space: nowrap;
}
.sh-pain-n small {
  display: block; margin-top: 10px; font-family: var(--mono); font-size: 11px; font-weight: 500;
  letter-spacing: .12em; text-transform: uppercase; color: var(--tenue);
}
.sh-tag {
  display: inline-flex; align-items: center; gap: 8px; min-height: 28px; padding: 0 10px; border-radius: 999px;
  font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase;
  border: 1px solid var(--linea-2); color: var(--niebla);
}
.sh-tag--warn { color: var(--alba); border-color: rgba(255, 181, 71, .4); }
.sh-tag--ok { color: var(--glaciar); border-color: rgba(43, 228, 240, .4); }

/* ---------- Bento de soluciones ---------- */
.sh-bento { display: grid; gap: 20px; grid-template-columns: repeat(12, minmax(0, 1fr)); }
.sh-b7 { grid-column: span 7; }
.sh-b5 { grid-column: span 5; }
.sh-tile { display: flex; flex-direction: column; min-height: 470px; padding: 0; }
.sh-tile-viz { position: relative; flex: 1; min-height: 250px; overflow: hidden; border-bottom: 1px solid var(--linea); }
.sh-tile-body { padding: 28px 30px 30px; display: grid; gap: 12px; }
.sh-tile-body .sh-link { margin-top: 4px; }

/* Viz: ticket que se imprime y llega a SUNAT */
.sh-viz-pos { display: flex; align-items: center; justify-content: center; gap: 34px; height: 100%; padding: 28px; }
.sh-receipt {
  width: 150px; background: var(--nieve); color: #0B1424; border-radius: 4px 4px 0 0; padding: 14px 14px 18px;
  font-family: var(--mono); font-size: 10px; line-height: 1.6; display: grid; gap: 4px;
  animation: sh-print 5s var(--ease-cine) infinite; transform-origin: top;
  -webkit-mask-image: linear-gradient(180deg, #000 85%, transparent);
  mask-image: linear-gradient(180deg, #000 85%, transparent);
}
.sh-receipt b { font-size: 11px; letter-spacing: .08em; }
.sh-receipt hr { border: 0; border-top: 1px dashed #8a97ab; margin: 4px 0; width: 100%; }
.sh-receipt .r { display: flex; justify-content: space-between; }
@keyframes sh-print {
  0% { clip-path: inset(0 0 100% 0); transform: translateY(-10px); }
  35%, 80% { clip-path: inset(0 0 0 0); transform: none; }
  92%, 100% { clip-path: inset(0 0 0 0); transform: translateX(160px) scale(.6); opacity: 0; }
}
.sh-node {
  width: 92px; height: 92px; border-radius: 50%; display: grid; place-items: center; position: relative;
  border: 1px solid rgba(43, 228, 240, .55); color: var(--glaciar);
  font-family: var(--mono); font-size: 11px; letter-spacing: .1em;
}
.sh-node::before, .sh-node::after {
  content: ""; position: absolute; inset: -1px; border-radius: 50%; border: 1px solid var(--glaciar);
  animation: sh-ping 5s ease-out infinite;
}
.sh-node::after { animation-delay: .25s; }
@keyframes sh-ping { 0%, 82% { transform: scale(1); opacity: 0; } 86% { opacity: .9; } 100% { transform: scale(1.9); opacity: 0; } }

/* Viz: barras de dashboard */
.sh-viz-dash { position: absolute; inset: 26px 28px 0; display: grid; grid-template-rows: auto 1fr; gap: 16px; }
.sh-viz-kpis { display: flex; gap: 12px; flex-wrap: wrap; }
.sh-viz-kpi { padding: 10px 14px; border: 1px solid var(--linea); border-radius: 10px; background: rgba(5, 10, 20, .5); }
.sh-viz-kpi b { display: block; font-family: var(--display); font-size: 26px; font-weight: 800; line-height: 1; }
.sh-viz-kpi span { font-family: var(--mono); font-size: 10px; color: var(--tenue); letter-spacing: .1em; text-transform: uppercase; }
.sh-bars-chart { display: flex; align-items: flex-end; gap: 10px; height: 100%; padding-bottom: 0; }
.sh-bars-chart i {
  display: block; flex: 1; border-radius: 4px 4px 0 0; transform-origin: bottom;
  background: linear-gradient(180deg, var(--glaciar), rgba(47, 107, 255, .35));
  animation: sh-bar 4.8s var(--ease-cine) infinite;
}
.sh-bars-chart i:nth-child(2n) { animation-delay: .12s; }
.sh-bars-chart i:nth-child(3n) { animation-delay: .24s; }
.sh-bars-chart i:nth-child(4n) { animation-delay: .36s; }
@keyframes sh-bar { 0% { transform: scaleY(.08); } 30%, 80% { transform: scaleY(1); } 100% { transform: scaleY(.08); } }

/* Viz: teléfono con notificaciones */
.sh-viz-app { display: flex; justify-content: center; align-items: flex-end; height: 100%; padding-top: 30px; }
.sh-phone {
  width: 190px; height: 250px; border: 1.5px solid var(--linea-2); border-bottom: 0; border-radius: 30px 30px 0 0;
  padding: 26px 12px 0; position: relative; background: linear-gradient(180deg, rgba(15, 27, 48, .8), rgba(5, 10, 20, .2));
  display: grid; align-content: start; gap: 8px; overflow: hidden;
}
.sh-phone::before { content: ""; position: absolute; top: 10px; left: 50%; width: 46px; height: 5px; border-radius: 9px; background: var(--linea-2); transform: translateX(-50%); }
.sh-notif {
  border-radius: 12px; padding: 9px 11px; background: rgba(234, 244, 255, .07); border: 1px solid var(--linea);
  font-size: 11px; line-height: 1.35; color: var(--nieve); animation: sh-notif 6s var(--ease) infinite both;
}
.sh-notif span { display: block; font-family: var(--mono); font-size: 9px; color: var(--glaciar); letter-spacing: .08em; }
.sh-notif:nth-child(2) { animation-delay: .6s; }
.sh-notif:nth-child(3) { animation-delay: 1.2s; }
@keyframes sh-notif { 0% { opacity: 0; transform: translateY(-14px) scale(.96); } 10%, 82% { opacity: 1; transform: none; } 92%, 100% { opacity: 0; transform: translateY(6px); } }

/* Viz: rejilla de habitaciones / mesas */
.sh-viz-rooms { position: absolute; inset: 28px; display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 8px; align-content: center; }
.sh-viz-rooms i {
  display: block; aspect-ratio: 1; border-radius: 6px; border: 1px solid var(--linea);
  animation: sh-room 7s linear infinite both;
}
@keyframes sh-room {
  0%, 100% { background: transparent; border-color: var(--linea); }
  20%, 70% { background: rgba(43, 228, 240, .22); border-color: rgba(43, 228, 240, .6); }
}

/* ---------- Portafolio ---------- */
.sh-port { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.sh-tabs { display: grid; gap: 6px; }
.sh-tab {
  position: relative; display: grid; gap: 4px; text-align: left; width: 100%; min-height: 76px; padding: 16px 18px;
  border-radius: 12px; border: 1px solid transparent; background: transparent; color: var(--niebla);
  font-family: var(--body); cursor: pointer; overflow: hidden; transition: background-color .4s, border-color .4s, color .4s;
}
.sh-tab:hover { background: rgba(140, 190, 255, .05); color: var(--nieve); }
.sh-tab b { font-family: var(--display); font-weight: 800; font-size: 28px; line-height: 1; text-transform: uppercase; letter-spacing: .01em; }
.sh-tab span { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--tenue); }
.sh-tab.is-on { background: rgba(15, 27, 48, .9); border-color: var(--linea-2); color: var(--nieve); }
.sh-tab.is-on b { color: var(--glaciar); }
.sh-tab-bar { position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--glaciar); transform-origin: left; transform: scaleX(0); }
.sh-tab.is-on .sh-tab-bar { animation: sh-tabbar 7s linear both; }
.sh-port:hover .sh-tab.is-on .sh-tab-bar { animation-play-state: paused; }
@keyframes sh-tabbar { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.sh-cases { display: grid; }
.sh-case {
  grid-area: 1 / 1; display: grid; gap: 22px; opacity: 0; visibility: hidden;
  transform: translateY(26px) scale(.985); filter: blur(10px);
  transition: opacity .7s var(--ease), transform .9s var(--ease), filter .7s var(--ease), visibility 0s .9s;
}
.sh-case.is-on { opacity: 1; visibility: visible; transform: none; filter: none; transition: opacity .9s var(--ease) .1s, transform 1.1s var(--ease) .1s, filter .9s var(--ease) .1s, visibility 0s; }
.sh-case-meta { display: flex; flex-wrap: wrap; gap: 10px 26px; align-items: baseline; justify-content: space-between; }
.sh-case-quote { font-size: 19px; line-height: 1.5; color: var(--nieve); max-width: 62ch; }
.sh-case-quote cite { display: block; margin-top: 8px; font-style: normal; font-family: var(--mono); font-size: 12px; letter-spacing: .08em; color: var(--tenue); text-transform: uppercase; }
.sh-facts { display: flex; flex-wrap: wrap; gap: 10px; }
.sh-fact { padding: 12px 16px; border-radius: 10px; border: 1px solid var(--linea); background: rgba(5, 10, 20, .5); min-width: 120px; }
.sh-fact b { display: block; font-family: var(--display); font-weight: 800; font-size: 30px; line-height: 1; color: var(--glaciar); }
.sh-fact span { font-family: var(--mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--tenue); }

/* ---------- Mock UI (pantallas recreadas) ---------- */
.sh-ui {
  background: #07101F; border: 1px solid var(--linea-2); border-radius: 16px; overflow: hidden;
  box-shadow: 0 50px 90px -40px rgba(0, 0, 0, .9), 0 0 0 1px rgba(43, 228, 240, .04), 0 0 80px -30px rgba(47, 107, 255, .35);
  font-size: 13px;
}
.sh-ui-top {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 18px;
  border-bottom: 1px solid var(--linea); font-family: var(--mono); font-size: 11px; color: var(--tenue); letter-spacing: .06em;
}
.sh-ui-top b { color: var(--nieve); font-weight: 500; }
.sh-ui-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--glaciar); box-shadow: 0 0 10px var(--glaciar); margin-right: 8px; animation: sh-blink 2s ease-in-out infinite; }
@keyframes sh-blink { 50% { opacity: .35; } }
.sh-ui-body { padding: 18px; display: grid; gap: 14px; }
.sh-ui-row { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(150px, 100%), 1fr)); }
.sh-ui-box { border: 1px solid var(--linea); border-radius: 12px; padding: 14px; background: rgba(15, 27, 48, .55); min-width: 0; }
.sh-ui-lbl { font-family: var(--mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--tenue); }
.sh-ui-val { font-family: var(--display); font-weight: 800; font-size: 30px; line-height: 1.05; margin-top: 6px; }
.sh-ui-cols { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(min(130px, 100%), 1fr)); }
.sh-ui-col { display: grid; gap: 8px; align-content: start; }
.sh-ui-card { border-radius: 9px; padding: 10px 11px; background: rgba(234, 244, 255, .05); border: 1px solid var(--linea); font-size: 12px; line-height: 1.35; }
.sh-ui-card small { display: block; font-family: var(--mono); font-size: 10px; color: var(--tenue); margin-top: 3px; }
.sh-ui-card.hot { border-color: rgba(255, 181, 71, .45); }
.sh-ui-card.ok { border-color: rgba(43, 228, 240, .45); }
.sh-ui-prog { height: 6px; border-radius: 9px; background: rgba(140, 190, 255, .12); overflow: hidden; margin-top: 8px; }
.sh-ui-prog i { display: block; height: 100%; border-radius: 9px; background: linear-gradient(90deg, var(--electrico), var(--glaciar)); }
.sh-ui-list { display: grid; gap: 8px; }
.sh-ui-li { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--linea); }
.sh-ui-li:last-child { border-bottom: 0; }
.sh-ui-matrix { display: grid; grid-template-columns: 92px repeat(11, minmax(0, 1fr)); gap: 4px; font-family: var(--mono); font-size: 10px; align-items: center; }
.sh-ui-matrix span { color: var(--tenue); }
.sh-ui-matrix i { display: block; height: 24px; border-radius: 4px; }
.l0 { background: rgba(140, 190, 255, .07); }
.l1 { background: rgba(47, 107, 255, .35); }
.l2 { background: rgba(47, 107, 255, .65); }
.l3 { background: rgba(43, 228, 240, .85); }
.lx { background: rgba(255, 181, 71, .75); }
.sh-ui-tables { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.sh-ui-table {
  aspect-ratio: 1; border-radius: 10px; display: grid; place-items: center; font-family: var(--display); font-weight: 800; font-size: 20px;
  border: 1px solid var(--linea); color: var(--tenue);
}
.sh-ui-table.busy { background: rgba(43, 228, 240, .14); border-color: rgba(43, 228, 240, .55); color: var(--nieve); }
.sh-ui-table.wait { background: rgba(255, 181, 71, .14); border-color: rgba(255, 181, 71, .55); color: var(--nieve); }
.sh-ui-spark { display: flex; align-items: flex-end; gap: 4px; height: 70px; }
.sh-ui-spark i { display: block; flex: 1; border-radius: 3px 3px 0 0; background: linear-gradient(180deg, var(--glaciar), rgba(47, 107, 255, .3)); }
.sh-ui-note { font-family: var(--mono); font-size: 10px; letter-spacing: .08em; color: var(--tenue); text-transform: uppercase; }

/* ---------- Cifras ---------- */
@property --n { syntax: "<integer>"; inherits: false; initial-value: 0; }
.sh-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); border-top: 1px solid var(--linea); border-bottom: 1px solid var(--linea); }
.sh-stat { padding: 40px 28px; border-right: 1px solid var(--linea); display: grid; gap: 12px; align-content: start; }
.sh-stat:last-child { border-right: 0; }
.sh-stat-n {
  font-family: var(--display); font-weight: 800; font-size: clamp(64px, 7vw, 108px); line-height: .85; letter-spacing: -.01em;
  display: flex; align-items: baseline; gap: 4px;
}
.sh-stat-n em { font-style: normal; font-size: .42em; color: var(--glaciar); }
.sh-count { counter-reset: n var(--n); }
.sh-count::after { content: counter(n); }
.n5 { --n: 5; --to: 5; }
.n7 { --n: 7; --to: 7; }
.n24 { --n: 24; --to: 24; }
.n21 { --n: 21; --to: 21; }
.n100 { --n: 100; --to: 100; }
.n48 { --n: 48; --to: 48; }
.n7 { --n: 7; --to: 7; }
.n90 { --n: 90; --to: 90; }
.n3 { --n: 3; --to: 3; }
@supports (animation-timeline: view()) {
  .sh-count { animation: sh-count linear both; animation-timeline: view(); animation-range: entry 10% cover 45%; }
}
@keyframes sh-count { from { --n: 0; } to { --n: var(--to); } }

/* ---------- Proceso ---------- */
.sh-steps { display: grid; gap: 0; position: relative; }
.sh-step {
  display: grid; grid-template-columns: 120px minmax(0, 1fr) minmax(0, 1fr); gap: 24px 48px; padding: 44px 0;
  border-top: 1px solid var(--linea); align-items: start; position: relative;
}
.sh-step:last-child { border-bottom: 1px solid var(--linea); }
.sh-step-n {
  font-family: var(--display); font-weight: 800; font-size: 76px; line-height: .8;
  color: transparent; -webkit-text-stroke: 1.5px var(--glaciar);
}
.sh-step-when { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--alba); margin-bottom: 10px; display: block; }
.sh-step h3 { font-family: var(--display); font-weight: 800; font-size: clamp(32px, 3.4vw, 46px); line-height: .95; text-transform: uppercase; }
.sh-checks { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; color: var(--niebla); }
.sh-checks li { display: flex; gap: 12px; align-items: flex-start; }
.sh-checks li::before { content: ""; flex: none; width: 8px; height: 8px; margin-top: 8px; border: 1.5px solid var(--glaciar); }
.sh-step::before {
  content: ""; position: absolute; left: 0; top: -1px; height: 1px; width: 100%; background: var(--glaciar);
  transform-origin: left; transform: scaleX(0); transition: transform 1.2s var(--ease-cine);
}
.sh-step:hover::before { transform: scaleX(1); }
@supports (animation-timeline: view()) {
  .sh-step::before { animation: sh-wipe linear both; animation-timeline: view(); animation-range: entry 20% cover 45%; }
}
@keyframes sh-wipe { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* ---------- Marquesina ---------- */
.sh-marquee {
  overflow: hidden; position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.sh-track { display: flex; gap: 14px; width: max-content; animation: sh-marq 60s linear infinite; padding: 7px 0; }
.sh-track--rev { animation-direction: reverse; animation-duration: 70s; }
.sh-marquee:hover .sh-track { animation-play-state: paused; }
@keyframes sh-marq { to { transform: translateX(-50%); } }
.sh-chip {
  display: inline-flex; align-items: center; gap: 12px; min-height: 64px; padding: 0 26px; border-radius: 999px;
  border: 1px solid var(--linea); background: rgba(15, 27, 48, .5); white-space: nowrap;
  font-family: var(--display); font-weight: 700; font-size: 26px; text-transform: uppercase; letter-spacing: .02em; color: var(--niebla);
  transition: color .3s, border-color .3s;
}
.sh-chip:hover { color: var(--nieve); border-color: var(--glaciar); }
.sh-chip::before { content: ""; width: 7px; height: 7px; border: 1.5px solid var(--glaciar); flex: none; }

/* ---------- Testimonios ---------- */
.sh-quote { display: flex; flex-direction: column; gap: 26px; min-height: 100%; padding: 34px; }
.sh-quote-mark { font-family: var(--display); font-weight: 900; font-size: 96px; line-height: .5; color: var(--glaciar); height: 40px; }
.sh-quote blockquote { margin: 0; font-size: 21px; line-height: 1.45; letter-spacing: -.01em; color: var(--nieve); text-wrap: pretty; flex: 1; }
.sh-quote figcaption { display: grid; gap: 4px; padding-top: 22px; border-top: 1px solid var(--linea); }
.sh-quote figcaption b { font-weight: 600; }
.sh-quote figcaption span { font-family: var(--mono); font-size: 11px; color: var(--tenue); letter-spacing: .08em; text-transform: uppercase; }

/* ---------- Cierre (CTA final) ---------- */
.sh-final { position: relative; overflow: hidden; isolation: isolate; padding: clamp(110px, 14vw, 200px) 0 clamp(90px, 10vw, 140px); text-align: center; }
.sh-floor {
  position: absolute; left: -50%; right: -50%; bottom: 0; height: 62%; z-index: -1;
  background-image: linear-gradient(rgba(43, 228, 240, .22) 1px, transparent 1px), linear-gradient(90deg, rgba(47, 107, 255, .25) 1px, transparent 1px);
  background-size: 64px 64px; transform: perspective(520px) rotateX(64deg); transform-origin: 50% 100%;
  animation: sh-floor 4s linear infinite;
  -webkit-mask-image: linear-gradient(0deg, #000 10%, transparent 85%);
  mask-image: linear-gradient(0deg, #000 10%, transparent 85%);
}
@keyframes sh-floor { to { background-position: 0 64px; } }
.sh-ridge { position: absolute; left: 50%; bottom: 20%; width: min(1100px, 120%); transform: translateX(-50%); z-index: -1; opacity: .9; }
.sh-ridge path, .sh-ridge polyline { stroke-dasharray: 3200; stroke-dashoffset: 0; }
@supports (animation-timeline: view()) {
  .sh-ridge path, .sh-ridge polyline { animation: sh-draw linear both; animation-timeline: view(); animation-range: entry 0% cover 55%; }
}
@keyframes sh-draw { from { stroke-dashoffset: 3200; } to { stroke-dashoffset: 0; } }
.sh-final .sh-h1 { font-size: clamp(56px, 9vw, 150px); }
.sh-final-ctas { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.sh-glow { position: absolute; left: 50%; top: 30%; width: 900px; height: 500px; transform: translate(-50%, -50%); z-index: -2; background: radial-gradient(closest-side, rgba(47, 107, 255, .3), transparent); filter: blur(20px); }

/* ---------- FAQ ---------- */
.sh-faq { display: grid; gap: 0; border-top: 1px solid var(--linea); }
.sh-faq details { border-bottom: 1px solid var(--linea); }
.sh-faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  min-height: 76px; padding: 18px 0; font-size: clamp(18px, 1.6vw, 22px); font-weight: 600; letter-spacing: -.01em;
}
.sh-faq summary::-webkit-details-marker { display: none; }
.sh-faq summary::after {
  content: "+"; flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--linea-2); font-family: var(--mono); font-size: 20px; color: var(--glaciar); transition: transform .4s var(--ease);
}
.sh-faq details[open] summary::after { transform: rotate(45deg); }
.sh-faq details > div { padding: 0 64px 28px 0; color: var(--niebla); max-width: 75ch; animation: sh-drop .45s var(--ease) both; }

/* ---------- Bloques de landing ---------- */
.sh-crumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--tenue); margin-bottom: 26px; }
.sh-crumbs a { color: var(--niebla); min-height: 24px; display: inline-flex; align-items: center; }
.sh-crumbs a:hover { color: var(--glaciar); }
.sh-vs { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr)); gap: 20px; }
.sh-vs-col { border-radius: 18px; padding: 34px; border: 1px solid var(--linea); }
.sh-vs-col--before { background: repeating-linear-gradient(135deg, rgba(140, 190, 255, .03) 0 10px, transparent 10px 20px); }
.sh-vs-col--after { border-color: rgba(43, 228, 240, .4); background: linear-gradient(180deg, rgba(43, 228, 240, .07), rgba(47, 107, 255, .03)); }
.sh-vs-col h3 { font-family: var(--display); font-weight: 800; font-size: 34px; text-transform: uppercase; margin-bottom: 22px; }
.sh-x { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.sh-x li { display: flex; gap: 14px; color: var(--niebla); }
.sh-x li svg { flex: none; width: 20px; height: 20px; margin-top: 2px; }
.sh-feat { display: grid; gap: 14px; align-content: start; }
.sh-feat-ico {
  width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center; color: var(--glaciar);
  border: 1px solid rgba(43, 228, 240, .35); background: rgba(43, 228, 240, .06);
}
.sh-feat-ico svg { width: 24px; height: 24px; }
.sh-split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(460px, 100%), 1fr)); gap: clamp(32px, 5vw, 80px); align-items: center; }
.sh-zones { display: flex; flex-wrap: wrap; gap: 10px; }
.sh-zone { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--linea-2); color: var(--niebla); font-size: 14px; }
.sh-zone--on { color: var(--noche); background: var(--glaciar); border-color: var(--glaciar); font-weight: 600; }
.sh-map {
  position: relative; border-radius: 18px; border: 1px solid var(--linea-2); min-height: 380px; overflow: hidden;
  background:
    radial-gradient(circle at 58% 46%, rgba(43, 228, 240, .22), transparent 30%),
    repeating-linear-gradient(0deg, rgba(140, 190, 255, .06) 0 1px, transparent 1px 40px),
    repeating-linear-gradient(90deg, rgba(140, 190, 255, .06) 0 1px, transparent 1px 40px),
    var(--noche-2);
}
.sh-pin { position: absolute; left: 58%; top: 46%; width: 18px; height: 18px; transform: translate(-50%, -50%); border-radius: 50%; background: var(--glaciar); box-shadow: 0 0 0 6px rgba(43, 228, 240, .2), 0 0 30px var(--glaciar); }
.sh-pin::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 1px solid var(--glaciar); animation: sh-pin 2.4s ease-out infinite; }
@keyframes sh-pin { to { transform: scale(4); opacity: 0; } }
.sh-map-card { position: absolute; left: 22px; bottom: 22px; right: 22px; max-width: 360px; padding: 20px; border-radius: 14px; background: rgba(5, 10, 20, .85); border: 1px solid var(--linea-2); display: grid; gap: 6px; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.sh-price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.sh-hl { color: var(--nieve); font-weight: 600; }
.sh-kicker-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.sh-proof { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; margin-top: 34px; }
.sh-proof-item { display: flex; align-items: center; gap: 10px; color: var(--niebla); font-size: 14px; }
.sh-proof-item b { font-family: var(--display); font-weight: 800; font-size: 28px; color: var(--nieve); line-height: 1; }
.sh-sep { width: 1px; height: 28px; background: var(--linea-2); }

/* ---------- Footer ---------- */
.sh-foot { position: relative; z-index: 2; border-top: 1px solid var(--linea); padding: 80px 0 36px; background: #03070F; }
.sh-foot-grid { display: grid; gap: 40px; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); }
.sh-foot h4 { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--tenue); margin-bottom: 16px; }
.sh-foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.sh-foot li a { display: inline-flex; align-items: center; min-height: 36px; color: var(--niebla); font-size: 14px; transition: color .25s; }
.sh-foot li a:hover { color: var(--glaciar); }
.sh-foot address { font-style: normal; color: var(--niebla); font-size: 14px; display: grid; gap: 6px; }
.sh-foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--linea); font-size: 13px; color: var(--tenue); }
.sh-foot-bottom nav { display: flex; gap: 6px 20px; flex-wrap: wrap; }
.sh-foot-bottom a { min-height: 32px; display: inline-flex; align-items: center; }
.sh-foot-bottom a:hover { color: var(--nieve); }
.sh-giant {
  font-family: var(--display); font-weight: 900; text-transform: uppercase; line-height: .8; letter-spacing: -.01em;
  font-size: clamp(56px, 12.6vw, 196px); margin-top: 80px; white-space: nowrap; overflow: hidden; text-align: center;
  background: linear-gradient(180deg, rgba(43, 228, 240, .35), rgba(47, 107, 255, 0) 85%);
  -webkit-background-clip: text; background-clip: text; color: transparent; user-select: none;
}

/* Botón flotante de WhatsApp */
.sh-wa {
  position: fixed; right: 20px; bottom: 20px; z-index: 40; display: inline-flex; align-items: center; gap: 10px;
  min-height: 54px; padding: 0 20px 0 16px; border-radius: 999px; background: rgba(8, 15, 28, .92);
  border: 1px solid rgba(43, 228, 240, .5); color: var(--nieve); font-weight: 600; font-size: 14px;
  box-shadow: 0 20px 40px -18px rgba(0, 0, 0, .9), 0 0 30px -10px rgba(43, 228, 240, .6);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); transition: transform .35s var(--ease), border-color .3s;
}
.sh-wa:hover { transform: translateY(-3px); border-color: var(--glaciar); }
.sh-wa svg { width: 22px; height: 22px; color: var(--glaciar); }
.sh-wa i { position: absolute; top: 10px; right: 12px; width: 8px; height: 8px; border-radius: 50%; background: var(--alba); box-shadow: 0 0 0 3px rgba(8, 15, 28, .92); }


/* ---------- Flujo animado (landings) ---------- */
.sh-flow { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; padding-top: 74px; }
.sh-flow-line { position: absolute; top: 28px; left: 12.5%; right: 12.5%; height: 2px; background: var(--linea-2); }
.sh-flow-line::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--electrico), var(--glaciar)); transform-origin: left; animation: sh-flowfill 6s linear infinite; }
.sh-flow-line::after {
  content: ""; position: absolute; top: -6px; left: 0; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%;
  background: #DFFBFF; box-shadow: 0 0 0 4px rgba(43, 228, 240, .25), 0 0 28px 6px rgba(43, 228, 240, .7);
  animation: sh-travel 6s linear infinite;
}
@keyframes sh-travel { 0% { left: 0%; opacity: 1; } 90% { left: 100%; opacity: 1; } 96%, 100% { left: 100%; opacity: 0; } }
@keyframes sh-flowfill { 0% { transform: scaleX(0); opacity: 1; } 90% { transform: scaleX(1); opacity: 1; } 100% { transform: scaleX(1); opacity: 0; } }
.sh-flow-step { position: relative; display: grid; gap: 10px; justify-items: center; text-align: center; }
.sh-flow-dot {
  position: absolute; top: -62px; left: 50%; width: 30px; height: 30px; margin-left: -15px; transform: rotate(45deg);
  border: 1.5px solid var(--linea-2); background: var(--noche); animation: sh-flowdot 6s linear infinite;
}
.sh-flow-step:nth-child(3) .sh-flow-dot { animation-delay: 1.8s; }
.sh-flow-step:nth-child(4) .sh-flow-dot { animation-delay: 3.6s; }
.sh-flow-step:nth-child(5) .sh-flow-dot { animation-delay: 5.4s; }
@keyframes sh-flowdot {
  0%, 12% { border-color: var(--glaciar); background: rgba(43, 228, 240, .3); box-shadow: 0 0 26px rgba(43, 228, 240, .7); }
  30%, 100% { border-color: var(--linea-2); background: var(--noche); box-shadow: none; }
}
.sh-flow-step b { font-family: var(--display); font-weight: 800; font-size: 34px; text-transform: uppercase; line-height: 1; }
.sh-flow-step .sh-mono { color: var(--alba); }

/* ---------- POS mock ---------- */
.sh-pos { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); }
.sh-pos-left { padding: 18px; display: grid; gap: 12px; align-content: start; border-right: 1px solid var(--linea); }
.sh-pos-cats { display: flex; gap: 8px; flex-wrap: wrap; }
.sh-pos-cats span { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--linea); font-size: 12px; color: var(--niebla); }
.sh-pos-cats span:first-child { background: var(--glaciar); color: var(--noche); border-color: var(--glaciar); font-weight: 600; }
.sh-pos-items { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.sh-pos-item { border-radius: 10px; border: 1px solid var(--linea); padding: 12px; display: grid; gap: 18px; font-size: 12px; background: rgba(15, 27, 48, .5); }
.sh-pos-item b { font-family: var(--mono); font-weight: 500; color: var(--glaciar); }
.sh-pos-item.tap { animation: sh-tap 4s var(--ease) infinite; }
@keyframes sh-tap { 0%, 18% { border-color: var(--linea); background: rgba(15, 27, 48, .5); } 22%, 40% { border-color: var(--glaciar); background: rgba(43, 228, 240, .12); } 60%, 100% { border-color: var(--linea); background: rgba(15, 27, 48, .5); } }
.sh-pos-right { padding: 18px; display: grid; gap: 10px; align-content: start; }
.sh-pos-line { display: flex; justify-content: space-between; gap: 10px; font-size: 12px; color: var(--niebla); padding: 6px 0; border-bottom: 1px dashed var(--linea-2); }
.sh-pos-total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 6px; }
.sh-pos-total b { font-family: var(--display); font-size: 36px; font-weight: 800; }
.sh-pos-pay { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.sh-pos-pay span { text-align: center; padding: 8px 4px; border-radius: 8px; border: 1px solid var(--linea); font-size: 11px; color: var(--niebla); }
.sh-pos-pay span:nth-child(2) { border-color: var(--glaciar); color: var(--nieve); }
.sh-pos-go { text-align: center; padding: 12px; border-radius: 9px; background: var(--alba); color: var(--alba-ink); font-weight: 700; font-size: 13px; }
.sh-pos-ok { display: flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 11px; color: var(--glaciar); letter-spacing: .06em; }
.sh-pos-ok::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--glaciar); box-shadow: 0 0 12px var(--glaciar); animation: sh-blink 1.6s infinite; }

@media (max-width: 760px) {
  .sh-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); padding-top: 0; row-gap: 40px; }
  .sh-flow-line { display: none; }
  .sh-flow-dot { position: relative; top: auto; left: auto; margin: 0 0 10px; }
  .sh-pos { grid-template-columns: minmax(0, 1fr); }
  .sh-pos-left { border-right: 0; border-bottom: 1px solid var(--linea); }
  .sh-pos-items { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}


/* ---------- Selector segmentado ---------- */
.sh-seg { display: inline-flex; gap: 4px; padding: 5px; border-radius: 999px; border: 1px solid var(--linea-2); background: rgba(10, 19, 34, .7); }
.sh-seg button {
  min-height: 46px; padding: 0 22px; border-radius: 999px; border: 0; background: transparent; color: var(--niebla);
  font-family: var(--body); font-weight: 600; font-size: 15px; cursor: pointer; transition: background-color .35s, color .35s;
}
.sh-seg button:hover { color: var(--nieve); }
.sh-seg button.is-on { background: var(--nieve); color: var(--noche); }
.sh-mods { display: grid; gap: 0; border-top: 1px solid var(--linea); }
.sh-mod { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--linea); align-items: start; }
.sh-mod span { font-family: var(--mono); font-size: 12px; color: var(--glaciar); padding-top: 3px; }
.sh-mod b { display: block; font-weight: 600; margin-bottom: 2px; }
.sh-mod p { color: var(--niebla); font-size: 15px; }

/* ---------- Calendario de habitaciones ---------- */
.sh-cal {
  display: grid; grid-template-columns: 54px repeat(7, minmax(0, 1fr)); gap: 8px 4px; align-items: center; font-size: 11px;
}
.sh-cal-h { font-family: var(--mono); font-size: 10px; color: var(--tenue); text-align: center; letter-spacing: .06em; }
.sh-cal-h.today { color: var(--alba); }
.sh-cal-r { font-family: var(--mono); font-size: 11px; color: var(--niebla); }
.sh-bk {
  height: 30px; border-radius: 7px; padding: 0 9px; display: flex; align-items: center; white-space: nowrap; overflow: hidden;
  background: rgba(43, 228, 240, .16); border: 1px solid rgba(43, 228, 240, .5); color: var(--nieve); font-size: 11px;
}
.sh-bk.alba { background: rgba(255, 181, 71, .18); border-color: rgba(255, 181, 71, .6); }
.sh-bk.dim { background: rgba(140, 190, 255, .07); border-color: var(--linea); color: var(--niebla); }

/* ---------- Tira de película ---------- */
.sh-strip {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(280px, 360px); gap: 18px;
  overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px max(clamp(16px, 4vw, 48px), calc((100% - 1240px) / 2 + 48px)) 20px; scroll-padding-inline: max(clamp(16px, 4vw, 48px), calc((100% - 1240px) / 2 + 48px)); scrollbar-width: thin; scrollbar-color: var(--linea-2) transparent;
}
.sh-frame {
  scroll-snap-align: start; position: relative; border-radius: 16px; border: 1px solid var(--linea); padding: 44px 28px;
  min-height: 380px; display: flex; flex-direction: column; justify-content: space-between; gap: 28px; overflow: hidden;
  background: linear-gradient(180deg, rgba(15, 27, 48, .7), rgba(5, 10, 20, .7));
  transition: border-color .4s, transform .5s var(--ease);
}
.sh-frame:hover { border-color: rgba(255, 181, 71, .5); transform: translateY(-6px); }
.sh-frame::before, .sh-frame::after {
  content: ""; position: absolute; left: 14px; right: 14px; height: 10px;
  background: repeating-linear-gradient(90deg, rgba(140, 190, 255, .18) 0 14px, transparent 14px 26px);
}
.sh-frame::before { top: 12px; }
.sh-frame::after { bottom: 12px; }
.sh-frame-t { font-family: var(--display); font-weight: 800; font-size: 78px; line-height: .8; color: var(--alba); }
.sh-frame h3 { font-family: var(--display); font-weight: 800; font-size: 32px; text-transform: uppercase; line-height: .95; margin-bottom: 10px; }
.sh-frame p { color: var(--niebla); }


/* ---------- Tabla comparativa ---------- */
.sh-table-box { overflow-x: auto; border-radius: 18px; border: 1px solid var(--linea); }
.sh-table { width: 100%; min-width: 620px; border-collapse: collapse; font-size: 16px; }
.sh-table th, .sh-table td { padding: 20px 24px; text-align: left; border-bottom: 1px solid var(--linea); }
.sh-table tr:last-child td { border-bottom: 0; }
.sh-table thead th { font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--tenue); background: rgba(10, 19, 34, .8); }
.sh-table thead th:last-child { color: var(--glaciar); }
.sh-table td:nth-child(2) { color: var(--tenue); }
.sh-table td:last-child { color: var(--nieve); background: rgba(43, 228, 240, .05); font-weight: 500; }
.sh-table tbody tr { transition: background-color .3s; }
.sh-table tbody tr:hover { background: rgba(140, 190, 255, .04); }
.sh-table svg { width: 18px; height: 18px; vertical-align: -3px; margin-right: 10px; }

/* ---------- Módulos ---------- */
.sh-modgrid { display: grid; gap: 1px; background: var(--linea); border: 1px solid var(--linea); border-radius: 18px; overflow: hidden; grid-template-columns: repeat(auto-fit, minmax(min(270px, 100%), 1fr)); }
.sh-modtile { background: var(--noche); padding: 30px 28px; display: grid; gap: 14px; align-content: start; min-height: 220px; position: relative; overflow: hidden; transition: background-color .4s; }
.sh-modtile:hover { background: var(--noche-2); }
.sh-modtile::after { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: linear-gradient(90deg, var(--electrico), var(--glaciar)); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.sh-modtile:hover::after { transform: scaleX(1); }
.sh-modtile .sh-feat-ico { width: 46px; height: 46px; }
.sh-modtile b { font-size: 19px; font-weight: 600; letter-spacing: -.01em; }
.sh-modtile p { color: var(--niebla); font-size: 15px; }
.sh-mini-case { display: grid; gap: 16px; align-content: start; }
.sh-mini-case .sh-fact b { font-size: 40px; }
.sh-mini-case > .sh-tag { justify-self: start; }


/* ---------- Teléfono grande (mock) ---------- */
.sh-device-wrap { display: grid; place-items: center; position: relative; }
.sh-device-wrap::before {
  content: ""; position: absolute; width: 440px; height: 440px; max-width: 100%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(47, 107, 255, .35), transparent); filter: blur(10px);
}
.sh-device {
  position: relative; width: 300px; max-width: 100%; height: 600px; border-radius: 46px; padding: 12px;
  background: linear-gradient(160deg, #13223d, #050a14 60%); border: 1px solid var(--linea-2);
  box-shadow: 0 60px 100px -40px rgba(0, 0, 0, .9), inset 0 0 0 1px rgba(255, 255, 255, .03);
}
.sh-device-screen { position: relative; height: 100%; border-radius: 35px; overflow: hidden; background: #07101F; display: grid; }
.sh-device-screen::before { content: ""; position: absolute; top: 10px; left: 50%; width: 84px; height: 24px; border-radius: 20px; background: #000; transform: translateX(-50%); z-index: 2; }
.sh-app { grid-area: 1 / 1; padding: 48px 16px 16px; display: grid; gap: 10px; align-content: start; font-size: 12px; }
.sh-app-h { display: flex; justify-content: space-between; align-items: center; }
.sh-app-h b { font-family: var(--display); font-weight: 800; font-size: 24px; text-transform: uppercase; }
.sh-app-av { width: 30px; height: 30px; border-radius: 50%; background: linear-gradient(180deg, var(--glaciar), var(--electrico)); }
.sh-app-big { border-radius: 16px; padding: 14px; background: linear-gradient(180deg, rgba(43, 228, 240, .16), rgba(47, 107, 255, .08)); border: 1px solid rgba(43, 228, 240, .3); display: grid; gap: 4px; }
.sh-app-big b { font-family: var(--display); font-weight: 800; font-size: 34px; line-height: 1; }
.sh-app-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 11px 12px; border-radius: 12px; background: rgba(234, 244, 255, .05); border: 1px solid var(--linea); }
.sh-app-row small { display: block; font-family: var(--mono); font-size: 10px; color: var(--tenue); margin-top: 2px; }
.sh-app-pill { font-family: var(--mono); font-size: 10px; padding: 4px 8px; border-radius: 999px; border: 1px solid rgba(43, 228, 240, .5); color: var(--glaciar); white-space: nowrap; }
.sh-app-pill.alba { border-color: rgba(255, 181, 71, .55); color: var(--alba); }
.sh-app-btn { margin-top: 4px; text-align: center; padding: 13px; border-radius: 14px; background: var(--alba); color: var(--alba-ink); font-weight: 700; font-size: 13px; }
.sh-app-loc { border-radius: 16px; padding: 18px 14px; background: rgba(15, 27, 48, .8); border: 1px solid var(--linea-2); display: grid; gap: 6px; text-align: center; }
.sh-app-loc b { font-family: var(--display); font-weight: 800; font-size: 46px; line-height: 1; color: var(--glaciar); }
.sh-plat { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); border-top: 1px solid var(--linea); border-bottom: 1px solid var(--linea); }
.sh-plat > div { padding: 40px 28px; display: grid; gap: 12px; border-right: 1px solid var(--linea); align-content: start; }
.sh-plat > div:last-child { border-right: 0; }
.sh-plat b { font-family: var(--display); font-weight: 900; font-size: clamp(64px, 7vw, 110px); line-height: .8; text-transform: uppercase; color: transparent; -webkit-text-stroke: 1.5px var(--glaciar); transition: color .5s; }
.sh-plat > div:hover b { color: var(--glaciar); }
@media (max-width: 760px) {
  .sh-plat > div { border-right: 0; border-bottom: 1px solid var(--linea); }
  .sh-device { height: 560px; }
}


/* ---------- Home v2: escenario 3D persistente ---------- */
.sh-cine { position: relative; isolation: isolate; }
.sh-cine-stage {
  position: sticky; top: 0; z-index: 0; overflow: hidden;
  height: 100vh; height: 100lvh; max-height: 1400px;
  margin-bottom: calc(-1 * min(100vh, 1400px)); margin-bottom: calc(-1 * min(100lvh, 1400px));
}
.sh-cine-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.sh-cine-scrim {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(120% 90% at 72% 42%, transparent 35%, rgba(5, 10, 20, .55) 100%),
    linear-gradient(90deg, rgba(5, 10, 20, .74) 0%, rgba(5, 10, 20, .4) 42%, rgba(5, 10, 20, 0) 70%),
    linear-gradient(180deg, rgba(5, 10, 20, .45) 0%, transparent 16%, transparent 80%, rgba(5, 10, 20, .5) 100%);
  transition: opacity .8s var(--ease);
}
.sh-cine-content { position: relative; z-index: 1; }
.sh-hero--cine { background: transparent; }
.sh-sec--cine { padding: clamp(120px, 13vw, 210px) 0; }
.sh-cine .sh-lead, .sh-cine .sh-h2, .sh-cine .sh-h1 { text-shadow: 0 2px 24px rgba(5, 10, 20, .65); }
.sh-cine .sh-grad { text-shadow: none; }
.sh-cine .sh-hero .sh-lead { color: #CAD7E8; text-shadow: 0 1px 2px rgba(5, 10, 20, .9), 0 2px 24px rgba(5, 10, 20, .8); }
.sh-cine .sh-card { background: linear-gradient(180deg, rgba(14, 26, 47, .84), rgba(7, 14, 27, .86)); }
.sh-cine .sh-ui { background: rgba(7, 16, 31, .94); }
.sh-cine .sh-stats { background: rgba(5, 10, 20, .55); }
.sh-cine .sh-step { background: linear-gradient(90deg, rgba(5, 10, 20, .7), rgba(5, 10, 20, .25)); padding-left: 20px; padding-right: 20px; }
.sh-cine .sh-chip { background: rgba(10, 19, 34, .8); }

/* HUD: altímetro de la ascensión */
.sh-hud {
  position: absolute; right: 28px; top: 50%; transform: translateY(-50%); z-index: 2; pointer-events: none;
  display: grid; grid-template-columns: auto 2px; gap: 14px; align-items: stretch;
}
.sh-hud-txt { display: grid; align-content: space-between; justify-items: end; text-align: right; gap: 8px; }
.sh-hud-alt { font-family: var(--display); font-weight: 800; font-size: 30px; line-height: 1; color: var(--nieve); font-variant-numeric: tabular-nums; }
.sh-hud-alt small { font-family: var(--mono); font-size: 10px; font-weight: 500; letter-spacing: .1em; color: var(--tenue); margin-left: 4px; }
.sh-hud-scene { font-family: var(--mono); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--glaciar); }
.sh-hud-bar { position: relative; width: 2px; height: 240px; background: var(--linea-2); }
.sh-hud-bar i { position: absolute; left: -4px; bottom: 0; width: 10px; height: 10px; border: 1.5px solid var(--glaciar); background: var(--noche); transform: translateY(50%) rotate(45deg); box-shadow: 0 0 14px rgba(43, 228, 240, .7); }
.sh-hud-bar b { position: absolute; left: 0; bottom: 0; width: 2px; height: 0; background: linear-gradient(0deg, var(--electrico), var(--glaciar)); }

/* Botón de movimiento (WCAG 2.3.3) */
.sh-motion {
  position: fixed; left: 20px; bottom: 20px; z-index: 40; display: inline-flex; align-items: center; gap: 10px;
  min-height: 48px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--linea-2);
  background: rgba(8, 15, 28, .88); color: var(--niebla); font-family: var(--body); font-size: 13px; font-weight: 500; cursor: pointer;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: color .3s, border-color .3s;
}
.sh-motion:hover { color: var(--nieve); border-color: var(--glaciar); }
.sh-motion svg { width: 18px; height: 18px; color: var(--glaciar); }
@media (max-width: 1280px) { .sh-hud { display: none; } }
@media (max-width: 760px) {
  .sh-motion span { display: none; }
  .sh-motion { padding: 0 14px; }
  .sh-cine-scrim { background: linear-gradient(180deg, rgba(5, 10, 20, .5) 0%, rgba(5, 10, 20, .62) 30%, rgba(5, 10, 20, .72) 62%, rgba(5, 10, 20, .55) 100%); }
}


/* ---------- Home v3: escena + contenido ---------- */
.sh-cine-veil { position: absolute; inset: 0; background: #050A14; opacity: 0; pointer-events: none; }
.sh-sec--story { padding: 0 0 clamp(110px, 11vw, 170px); }
.sh-intro { min-height: 700px; display: flex; align-items: center; padding: 60px 0; }
.sh-intro .sh-head { margin-bottom: 0; max-width: 540px; }
.sh-intro .sh-h2 { font-size: clamp(42px, 4.6vw, 72px); }
.sh-b6 { grid-column: span 6; }
.sh-cine .sh-card { background: linear-gradient(180deg, rgba(14, 26, 47, .94), rgba(7, 14, 27, .95)); }
.sh-cine .sh-outline { -webkit-text-stroke: 1.5px rgba(234, 244, 255, .8); }

/* viz: caja con medios de pago */
.sh-viz-till { position: absolute; inset: 24px 28px; display: grid; grid-template-columns: minmax(0, 1fr) 150px; gap: 18px; align-items: center; }
.sh-till-list { display: grid; gap: 8px; }
.sh-till-row { display: flex; justify-content: space-between; gap: 10px; padding: 9px 12px; border-radius: 10px; border: 1px solid var(--linea); background: rgba(5, 10, 20, .55); font-size: 12px; animation: sh-notif 6s var(--ease) infinite both; }
.sh-till-row:nth-child(2) { animation-delay: .4s; }
.sh-till-row:nth-child(3) { animation-delay: .8s; }
.sh-till-row b { font-family: var(--mono); font-weight: 500; color: var(--glaciar); }
.sh-till-pay { display: grid; gap: 8px; }
.sh-till-pay span { text-align: center; padding: 10px 6px; border-radius: 10px; border: 1px solid var(--linea-2); font-size: 12px; color: var(--niebla); animation: sh-pay 6s linear infinite both; }
.sh-till-pay span:nth-child(2) { animation-delay: 2s; }
.sh-till-pay span:nth-child(3) { animation-delay: 4s; }
.sh-till-total { font-family: var(--display); font-weight: 800; font-size: 34px; text-align: center; line-height: 1; }
@keyframes sh-pay { 0%, 30% { border-color: var(--glaciar); color: var(--noche); background: var(--glaciar); } 34%, 100% { border-color: var(--linea-2); color: var(--niebla); background: transparent; } }

/* viz: almacén por niveles */
.sh-viz-stock { position: absolute; inset: 30px 30px 26px; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); grid-template-rows: repeat(3, minmax(0, 1fr)); gap: 10px 8px; padding-bottom: 8px; border-bottom: 2px solid var(--linea-2); }
.sh-viz-stock i { position: relative; border: 1px solid var(--linea-2); border-radius: 6px; overflow: hidden; }
.sh-viz-stock i::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; background: linear-gradient(180deg, rgba(43, 228, 240, .6), rgba(47, 107, 255, .25)); transform-origin: bottom; animation: sh-lvl 7s var(--ease-cine) infinite; }
.sh-viz-stock i.v1::after { height: 85%; }
.sh-viz-stock i.v2::after { height: 62%; animation-delay: -2s; }
.sh-viz-stock i.v3::after { height: 40%; animation-delay: -4s; }
.sh-viz-stock i.low { border-color: rgba(255, 181, 71, .7); }
.sh-viz-stock i.low::after { height: 14%; background: rgba(255, 181, 71, .8); animation: sh-lowb 1.6s ease-in-out infinite; }
@keyframes sh-lvl { 0%, 100% { transform: scaleY(1); } 50% { transform: scaleY(.6); } }
@keyframes sh-lowb { 50% { opacity: .35; } }

/* viz: clientes que vuelven */
.sh-viz-crm { position: absolute; inset: 26px 28px; display: grid; gap: 10px; align-content: center; }
.sh-crm-row { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--linea); background: rgba(5, 10, 20, .6); animation: sh-notif 6.5s var(--ease) infinite both; }
.sh-crm-row:nth-child(2) { animation-delay: .5s; }
.sh-crm-row:nth-child(3) { animation-delay: 1s; }
.sh-crm-av { width: 30px; height: 30px; border-radius: 50%; flex: none; background: linear-gradient(180deg, var(--glaciar), var(--electrico)); }
.sh-crm-row b { display: block; font-size: 13px; font-weight: 600; }
.sh-crm-row small { font-family: var(--mono); font-size: 10px; color: var(--tenue); letter-spacing: .04em; }
.sh-crm-row .sh-app-pill { margin-left: auto; }
@media (max-width: 1060px) { .sh-b6 { grid-column: span 12; } .sh-tab-group { display: none; } .sh-logo-note { display: none; } }
@media (max-width: 760px) {
  .sh-intro { min-height: 620px; align-items: flex-start; padding: 40px 0 0; }
  .sh-viz-till { grid-template-columns: minmax(0, 1fr) 110px; inset: 20px; }
}


/* ---------- Portafolio con logos ---------- */
.sh-tab-group { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--glaciar); padding: 14px 18px 6px; }
.sh-tab.has-logo { grid-template-columns: 44px minmax(0, 1fr); align-items: center; column-gap: 14px; }
.sh-tab .sh-tab-txt { display: grid; gap: 4px; font-family: var(--body); letter-spacing: 0; text-transform: none; color: inherit; font-size: inherit; }
.sh-tab .sh-tab-txt span { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--tenue); }
.sh-logo-ph {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; flex: none;
  border: 1px dashed var(--linea-2); background: rgba(10, 19, 34, .6);
  font-family: var(--display); font-weight: 800; font-size: 17px; letter-spacing: .04em; color: var(--niebla); text-transform: uppercase;
}
.sh-tab.is-on .sh-logo-ph { border-color: rgba(43, 228, 240, .6); color: var(--glaciar); }
.sh-logo-ph--lg { width: 56px; height: 56px; font-size: 20px; }
.sh-case-brand { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.sh-case-brand b { display: block; font-size: 20px; font-weight: 600; }
.sh-case-brand small { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--tenue); }
.sh-logo-note { margin-left: auto; font-family: var(--mono); font-size: 10px; letter-spacing: .08em; color: var(--tenue); }
.sh-clients-wrap { display: grid; gap: 12px; padding-top: 6px; }
.sh-clients { display: flex; flex-wrap: wrap; gap: 10px; }
.sh-client { display: inline-flex; align-items: center; justify-content: center; min-width: 120px; min-height: 56px; padding: 0 18px; border-radius: 12px; border: 1px dashed var(--linea-2); background: rgba(10, 19, 34, .6); color: var(--niebla); font-size: 13px; }


/* ---------- Colores de enlaces con clase (ganan a .sh-page a) ---------- */
.sh-page a.sh-btn--alba, .sh-page .sh-btn--alba { color: var(--alba-ink); }
.sh-page a.sh-btn--ghost { color: var(--nieve); }
.sh-page a.sh-link { color: var(--glaciar); }
.sh-page a.sh-link:hover { color: var(--glaciar-2); }
.sh-page a.sh-wa { color: var(--nieve); }
.sh-page a.sh-scroll-cue { color: var(--niebla); }
.sh-page a.sh-zone { color: var(--niebla); }


.sh-mark { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; overflow: hidden; flex: none; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); }
.sh-mark img { width: 80%; height: 80%; object-fit: contain; }
.sh-tab.is-on .sh-mark { box-shadow: 0 0 0 2px var(--glaciar); }
.sh-logo-tile { display: inline-flex; align-items: center; justify-content: center; height: 64px; min-width: 64px; padding: 8px; border-radius: 14px; flex: none; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); }
.sh-logo-tile img { height: 100%; width: auto; max-width: 200px; object-fit: contain; }
.sh-logo-tile--wide { padding: 8px 16px; }
.sh-client { gap: 10px; }
.sh-client img { height: 32px; width: auto; }


.sh-social { display: flex; gap: 8px; margin-top: 4px; }
.sh-page .sh-social a { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--linea-2); color: var(--niebla); transition: color .25s, border-color .25s; }
.sh-page .sh-social a:hover { color: var(--glaciar); border-color: var(--glaciar); }
.sh-social svg { width: 20px; height: 20px; }

/* ---------- Responsive ---------- */
@media (max-width: 1060px) {
  .sh-nav-links, .sh-nav-cta .sh-btn { display: none; }
  .sh-burger { display: inline-flex; }
  .sh-b7, .sh-b5 { grid-column: span 12; }
  .sh-port { grid-template-columns: minmax(0, 1fr); }
  .sh-tabs { grid-auto-flow: column; grid-auto-columns: minmax(200px, 1fr); overflow-x: auto; padding-bottom: 6px; scroll-snap-type: x mandatory; }
  .sh-tab { scroll-snap-align: start; }
}
@media (max-width: 760px) {
  .sh-hero { min-height: 760px; }
  .sh-hero-body { padding-bottom: 140px; }
  .sh-hero-foot-in { justify-content: flex-start; gap: 10px 20px; padding: 14px 0; }
  .sh-hide-sm { display: none !important; }
  .sh-step { grid-template-columns: minmax(0, 1fr); gap: 16px; padding: 34px 0; }
  .sh-step-n { font-size: 56px; }
  .sh-stat { border-right: 0; border-bottom: 1px solid var(--linea); padding: 30px 4px; }
  .sh-stat:last-child { border-bottom: 0; }
  .sh-card { padding: 24px; }
  .sh-quote { padding: 26px; }
  .sh-faq details > div { padding-right: 0; }
  .sh-ui-matrix { grid-template-columns: 64px repeat(11, minmax(0, 1fr)); }
  .sh-ui-tables { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .sh-wa span { display: none; }
  .sh-wa { padding: 0 16px; }
  .sh-viz-pos { gap: 18px; }
  .sh-receipt { width: 128px; }
  .sh-chip { font-size: 21px; min-height: 54px; }
}

@media (prefers-reduced-motion: reduce) {
  .sh-page *, .sh-page *::before, .sh-page *::after {
    animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important;
  }
  .sh-reel > span { animation: none !important; }
  .sh-reel > span:first-child { opacity: 1; }
  /* sin avance automático del portafolio: se cambia de caso solo con clic */
  .sh-page .sh-tab.is-on .sh-tab-bar { animation: none !important; transform: scaleX(1); }
}
@media (max-width: 640px) {
  .sh-foot ul { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 16px; }
  .sh-foot li a { font-size: 13px; line-height: 1.3; }
}
.sh-foot-grid--5 { grid-template-columns: minmax(0, 1.3fr) repeat(4, minmax(0, 1fr)); gap: 32px; }
@media (max-width: 1060px) { .sh-foot-grid--5 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .sh-foot-grid--5 > div:first-child { grid-column: 1 / -1; } }
@media (max-width: 640px) { .sh-foot-grid--5 { grid-template-columns: minmax(0, 1fr); } }
.sh-page a.sh-chip { color: var(--niebla); transition: color .25s, border-color .25s; }
.sh-page a.sh-chip:hover { color: var(--nieve); border-color: var(--glaciar); }
