/* ==========================================================================
   StarPlast v3 — tema visual moderno (línea de diseño SysHotel / ARSEC)
   Blanco y negro, Inter con tracking negativo, degradados pastel, bordes finos.
   Cargar AL FINAL (después de bootstrap, styles.css, subpage-layout.css, starplast-v2.css).
   Prefijo sh- para componentes nuevos; el resto re-tematiza clases existentes.
   ARSEC PE SAC · 2026-11
   ========================================================================== */

:root {
  --sh-ink: #15171C;
  --sh-ink-2: #2A2D35;
  --sh-muted: #6B7382;
  --sh-faint: #A2A8B3;
  --sh-blue: #2B59FF;
  --sh-green: #16A34A;
  --sh-soft: #F4F5F7;
  --sh-line: #E3E6EB;
  --sh-red: #E5484D;
  --sh-w: 1280px;
  --sh-radius: 18px;
  /* re-mapeo de tokens del sitio anterior */
  --primary: #2B59FF;
  --primary-dark: #15171C;
  --primary-light: #2B59FF;
  --gradient-primary: linear-gradient(#15171C, #15171C);
  --font-primary: 'Inter', system-ui, sans-serif;
  --font-display: 'Inter', system-ui, sans-serif;
  --sp2-ink: #15171C;
  --sp2-muted: #6B7382;
  --sp2-line: #E3E6EB;
  --sp2-soft: #F4F5F7;
}

/* ---------- base ---------- */
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, sans-serif !important;
  font-optical-sizing: auto;
  font-weight: 500;
  color: var(--sh-ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6, .section-title, .hero-title {
  font-family: 'Inter', system-ui, sans-serif !important;
  color: var(--sh-ink);
  font-weight: 600;
  letter-spacing: -0.02em;
}
a { color: inherit; }
::selection { background: #DCE4FF; }
.gradient-text { background: none !important; -webkit-text-fill-color: currentColor !important; color: var(--sh-muted) !important; }

/* ---------- navegación (site-nav.php) ---------- */
#header.sp-navbar, #header.navbar {
  background: rgba(255, 255, 255, .85) !important;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--sh-line);
  box-shadow: none !important;
  min-height: 64px;
  padding: 0;
}
#header .container { max-width: var(--sh-w); }
#header .navbar-brand { font-size: 20px; font-weight: 600; letter-spacing: -.4px; color: var(--sh-ink) !important; }
#header .navbar-brand img { width: 28px; height: 28px; border-radius: 7px; }
#header .nav-link { font-size: 14px; font-weight: 500; color: var(--sh-ink) !important; padding: 20px 12px !important; }
#header .nav-link:hover { color: var(--sh-muted) !important; }
#header .dropdown-menu {
  border: 1px solid var(--sh-line); border-radius: 14px; padding: 8px;
  box-shadow: 0 20px 50px -18px rgba(21, 23, 28, .25); margin-top: 0 !important;
}
#header .dropdown-item { border-radius: 8px; font-size: 14px; padding: 8px 12px; color: var(--sh-ink); }
#header .dropdown-item:hover { background: var(--sh-soft); }
#header .dropdown-item i { color: var(--sh-muted); }
#header .sp-nav-cta, #header .btn-primary {
  background: var(--sh-ink) !important; border: 0 !important; color: #fff !important;
  height: 40px; padding: 0 16px; border-radius: 8px; font-size: 14px; font-weight: 500;
  display: inline-flex; align-items: center; box-shadow: none !important;
}
#header .sp-nav-cta:hover { background: var(--sh-ink-2) !important; }
body.seo-subpage { padding-top: 64px !important; }
@media (max-width: 991px) {
  #header .navbar-collapse { padding: 8px 0 16px; }
  #header .nav-link { padding: 10px 4px !important; }
}

/* ---------- botones ---------- */
.sh-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 18px; border-radius: 8px; font-size: 15px; font-weight: 500;
  text-decoration: none; border: 0; transition: transform .15s, background .15s; cursor: pointer;
}
.sh-btn:active { transform: scale(.97); }
.sh-dark { background: var(--sh-ink); color: #fff !important; }
.sh-dark:hover { background: var(--sh-ink-2); color: #fff; }
.sh-ghost { background: #fff; color: var(--sh-ink) !important; border: 1px solid var(--sh-line); }
.sh-ghost:hover { background: var(--sh-soft); }
/* botones heredados → mismo lenguaje */
body.seo-subpage .btn-primary, .sp2-btn--dark, .sp2-btn--scale, .btn-submit, .seo-cta-final .btn {
  background: var(--sh-ink) !important; border: 0 !important; color: #fff !important;
  border-radius: 8px !important; box-shadow: none !important; font-weight: 500 !important;
}
body.seo-subpage .btn-primary:hover, .sp2-btn--dark:hover, .sp2-btn--scale:hover, .btn-submit:hover { background: var(--sh-ink-2) !important; }
.sp2-btn { border-radius: 8px; font-weight: 500; height: 44px; padding: 0 18px; }
.sp2-btn--ghost { box-shadow: none; border: 1px solid var(--sh-line); }

/* ---------- layout de la home ---------- */
.sh-frame { max-width: var(--sh-w); margin: 0 auto; border-left: 1px solid var(--sh-line); border-right: 1px solid var(--sh-line); }
.sh-rule { border-top: 1px solid var(--sh-line); }
.sh-pad { padding: 120px 64px; }
.sh-center { text-align: center; }
.sh-center .sh-lead, .sh-center .sh-h2 { margin-left: auto; margin-right: auto; }

.sh-hero { text-align: center; padding: 96px 24px 64px; }
.sh-pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 4px 12px 4px 4px;
  border: 1px solid var(--sh-line); border-radius: 99px; font-size: 13px; color: var(--sh-ink); text-decoration: none; background: #fff;
}
.sh-pill:hover { background: var(--sh-soft); color: var(--sh-ink); }
.sh-pill b { background: var(--sh-blue); color: #fff; font-size: 12px; font-weight: 500; padding: 3px 8px; border-radius: 99px; }
.sh-h1 { font-size: clamp(44px, 7vw, 76px) !important; font-weight: 600; letter-spacing: -.035em !important; line-height: 1.02; margin: 40px auto 24px; max-width: 940px; }
.sh-lead { font-size: 19px; color: var(--sh-muted); line-height: 1.5; max-width: 640px; margin: 0 auto; letter-spacing: -.01em; }
.sh-ctas { display: flex; gap: 10px; justify-content: center; margin-top: 32px; flex-wrap: wrap; }
.sh-fine { font-size: 13px; color: var(--sh-muted); margin-top: 22px; }

/* escenario con degradado + ventana de navegador */
.sh-stage {
  border-radius: 28px; padding: 80px 9%; position: relative; overflow: hidden;
  background:
    radial-gradient(60% 80% at 15% 20%, #F6C6CF 0%, transparent 60%),
    radial-gradient(70% 90% at 85% 30%, #A9C3EA 0%, transparent 65%),
    linear-gradient(#C9D6EE, #E9CDD8);
}
.sh-stage--green {
  background:
    radial-gradient(55% 70% at 20% 25%, #C2F0DC 0%, transparent 60%),
    radial-gradient(60% 80% at 85% 30%, #C9D8FF 0%, transparent 65%),
    linear-gradient(#DCEBF7, #E7E3F6);
}
.sh-window { background: #fff; border-radius: 14px; box-shadow: 0 30px 80px -20px rgba(21, 23, 28, .35); overflow: hidden; }
.sh-bar { height: 36px; background: var(--sh-soft); display: flex; align-items: center; padding: 0 14px; gap: 6px; font-size: 12px; color: var(--sh-muted); border-bottom: 1px solid var(--sh-line); }
.sh-bar i { width: 9px; height: 9px; border-radius: 50%; background: #D6D9DF; display: inline-block; }
.sh-bar span { flex: 1; text-align: center; margin-right: 40px; }
.sh-window img { display: block; width: 100%; height: auto; }
.sh-window iframe { display: block; width: 100%; height: 640px; border: 0; }
.sh-float {
  position: absolute; right: 5%; bottom: 7%; width: 290px; background: #fff; border-radius: 16px;
  padding: 16px 18px; box-shadow: 0 20px 50px -10px rgba(21, 23, 28, .3); text-align: left;
}
.sh-float h4 { font-size: 14px !important; font-weight: 500; display: flex; justify-content: space-between; margin: 0; letter-spacing: 0; }
.sh-float h4 small { color: var(--sh-green); font-weight: 600; }
.sh-float .kg { font-size: 34px; font-weight: 600; letter-spacing: -.03em; margin-top: 6px; font-variant-numeric: tabular-nums; }
.sh-float p { font-size: 13px; color: var(--sh-muted); line-height: 1.45; margin: 4px 0 0; }

/* franja de confianza con carrusel continuo */
.sh-trust { text-align: center; padding: 56px 0 64px; }
.sh-trust p { font-size: 13px; color: var(--sh-muted); margin: 0; }
.sh-marq { overflow: hidden; margin-top: 28px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent); mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent); }
.sh-track { display: flex; gap: 64px; width: max-content; animation: sh-m 36s linear infinite; font-size: 20px; color: #3A3E48; }
.sh-track span { display: flex; align-items: center; gap: 10px; white-space: nowrap; }
.sh-track i { color: var(--sh-muted); font-size: 16px; }
@keyframes sh-m { 100% { transform: translateX(-50%); } }

/* tipografía de sección */
.sh-eyebrow { font-size: 13px; color: var(--sh-blue); margin-bottom: 18px; display: block; font-weight: 500; }
.sh-h2 { font-size: clamp(34px, 4.6vw, 54px) !important; font-weight: 600; letter-spacing: -.03em !important; line-height: 1.06; max-width: 1000px; margin: 0; }
.sh-h2 em, .sh-h3 em { font-style: normal; color: #B9BEC8; font-weight: 500; transition: color .6s; }
.sh-h2.lit em, .sh-h3.lit em { color: #8A919E; }
.sh-h3 { font-size: clamp(26px, 2.8vw, 36px) !important; font-weight: 600; letter-spacing: -.02em !important; line-height: 1.15; max-width: 720px; margin: 0; }
.sh-p { color: var(--sh-muted); font-size: 17px; line-height: 1.6; max-width: 720px; margin-top: 18px; }

/* recorrido con índice lateral fijo */
.sh-steps { display: grid; grid-template-columns: 300px 1fr; }
.sh-toc { border-right: 1px solid var(--sh-line); padding: 56px 40px; }
.sh-toc ul { list-style: none; position: sticky; top: 120px; padding: 0; margin: 0; }
.sh-toc li { padding: 0; }
.sh-toc a { display: block; font-size: 19px; color: #A2A8B3; padding: 8px 0 8px 16px; border-left: 1px solid var(--sh-line); text-decoration: none; transition: color .25s, border-color .25s; }
.sh-toc a.on, .sh-toc a:hover { color: var(--sh-ink); border-color: var(--sh-blue); }
.sh-step { padding: 72px 64px; }
.sh-step + .sh-step { border-top: 1px solid var(--sh-line); }
.sh-panel { margin-top: 40px; border-radius: 22px; padding: 44px; background: var(--sh-soft); }
.sh-panel.sand { background: linear-gradient(135deg, #E9E4DA, #D8D2C5); }
.sh-panel.sky { background: radial-gradient(60% 70% at 30% 30%, #fff 0%, transparent 60%), linear-gradient(160deg, #A8CBE8, #DBE9F5); }
.sh-panel.aura { background: radial-gradient(40% 50% at 20% 30%, #FFD9C2, transparent), radial-gradient(40% 50% at 70% 40%, #C2F0DC, transparent), radial-gradient(50% 50% at 50% 90%, #C9D8FF, transparent), #F3F1FB; }
.sh-panel.mint { background: radial-gradient(50% 60% at 25% 30%, #D7F5E6, transparent), linear-gradient(160deg, #CDE8DB, #E6EEF8); }
.sh-panel > img { border-radius: 14px; margin: 0 auto; box-shadow: 0 20px 50px -18px rgba(21, 23, 28, .3); display: block; max-width: 100%; height: auto; }

/* lista de flujo con estado */
.sh-flow { display: grid; gap: 10px; }
.sh-fl { background: #fff; border-radius: 12px; padding: 16px 18px; display: flex; align-items: center; gap: 14px; font-size: 15px; border: 1px solid var(--sh-line); }
.sh-fl .n { width: 28px; height: 28px; border-radius: 8px; background: var(--sh-ink); color: #fff; font-size: 12px; display: grid; place-items: center; flex: 0 0 auto; font-weight: 600; letter-spacing: .02em; }
.sh-fl .n.wide { width: auto; padding: 0 8px; }
.sh-fl small { display: block; color: var(--sh-muted); font-size: 13px; margin-top: 2px; }
.sh-tag { margin-left: auto; font-size: 12px; display: flex; align-items: center; gap: 6px; white-space: nowrap; color: var(--sh-ink); }
.sh-tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--sh-blue); }
.sh-tag.ok::before { background: var(--sh-green); }

/* bloque dividido texto / arte */
.sh-split { display: grid; grid-template-columns: 1fr 1fr; }
.sh-split .txt { padding: 96px 64px; }
.sh-split .art { background: radial-gradient(45% 45% at 25% 25%, #FFD2BD, transparent), radial-gradient(45% 45% at 75% 35%, #BFF0DD, transparent), radial-gradient(55% 55% at 55% 85%, #C4D4FF, transparent), #F6F3FB; display: grid; place-items: center; padding: 56px; }
.sh-feat { margin-top: 36px; display: grid; gap: 22px; }
.sh-feat > div { display: grid; grid-template-columns: 32px 1fr; gap: 14px; align-items: start; }
.sh-ic { width: 32px; height: 32px; border-radius: 8px; border: 1px solid var(--sh-line); display: grid; place-items: center; background: #fff; color: var(--sh-ink); font-size: 14px; }
.sh-feat h5 { font-size: 15px !important; font-weight: 500; margin: 0; letter-spacing: 0; }
.sh-feat p { font-size: 15px; color: var(--sh-muted); line-height: 1.5; margin: 3px 0 0; }

/* cajas y tarjetas */
.sh-grid2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 48px; }
.sh-grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 48px; }
.sh-grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 48px; }
.sh-box { border: 1px solid var(--sh-line); border-radius: 18px; padding: 28px; background: #fff; display: block; color: inherit; text-decoration: none; transition: transform .25s, border-color .25s; }
a.sh-box:hover { transform: translateY(-3px); border-color: #CDD2DA; color: inherit; }
.sh-box .sh-ic { margin-bottom: 18px; }
.sh-box h4 { font-size: 19px !important; font-weight: 500; letter-spacing: -.01em; margin: 0; }
.sh-box p { color: var(--sh-muted); font-size: 15px; line-height: 1.55; margin: 8px 0 0; }
.sh-box .go { display: inline-block; font-size: 13px; color: var(--sh-blue); margin-top: 14px; }
.sh-box .chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.sh-box .chips span { font-size: 12px; color: var(--sh-muted); border: 1px solid var(--sh-line); border-radius: 99px; padding: 2px 9px; }
.sh-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 56px; }
.sh-card { border: 1px solid var(--sh-line); border-radius: 18px; padding: 12px; transition: transform .25s; display: block; color: inherit; text-decoration: none; background: #fff; }
.sh-card:hover { transform: translateY(-3px); color: inherit; }
.sh-ph { height: 190px; border-radius: 12px; display: flex; align-items: flex-end; justify-content: space-between; padding: 18px; color: #fff; font-size: 13px; }
.sh-ph i { font-size: 34px; opacity: .9; }
.sh-p1 { background: linear-gradient(160deg, #9DB8E4, #E8C1CF); }
.sh-p2 { background: linear-gradient(160deg, #8FD3B4, #9DB8E4); }
.sh-p3 { background: linear-gradient(160deg, #D8D2C5, #9AA6B6); }
.sh-p4 { background: linear-gradient(160deg, #2B3550, #7A8FC0); }
.sh-card .meta { display: flex; justify-content: space-between; font-size: 13px; color: var(--sh-muted); padding: 16px 8px 0; }
.sh-card .meta b { color: var(--sh-ink); font-weight: 500; }
.sh-card h4 { font-size: 19px !important; font-weight: 500; letter-spacing: -.01em; line-height: 1.3; padding: 8px 8px 16px; border-bottom: 1px solid var(--sh-line); margin: 0; }
.sh-card .go { display: block; font-size: 13px; padding: 14px 8px 6px; color: var(--sh-blue); }

/* cadena de procesos */
.sh-chain { display: grid; grid-template-columns: repeat(7, 1fr); gap: 10px; margin-top: 48px; }
.sh-chain.c8 { grid-template-columns: repeat(8, 1fr); margin-top: 16px; }
.sh-proc { background: #fff; border: 1px solid var(--sh-line); border-radius: 14px; padding: 18px 10px 16px; text-align: center; position: relative; }
.sh-proc .cod { display: inline-block; font-size: 11px; font-weight: 600; letter-spacing: .06em; background: var(--sh-ink); color: #fff; border-radius: 6px; padding: 2px 7px; }
.sh-chain.c8 .sh-proc .cod { background: var(--sh-green); }
.sh-proc b { display: block; font-weight: 500; margin: 10px 0 2px; font-size: 15px; }
.sh-proc small { color: var(--sh-muted); font-size: 12px; }
.sh-proc i { display: block; color: var(--sh-muted); font-size: 18px; margin-bottom: 10px; }
.sh-proc::after { content: "→"; position: absolute; right: -9px; top: 50%; transform: translateY(-50%); color: var(--sh-faint); font-size: 13px; z-index: 1; }
.sh-proc:last-child::after { content: none; }

/* tabla */
.sh-tbl-wrap { border: 1px solid var(--sh-line); border-radius: 14px; overflow-x: auto; margin-top: 32px; }
.sh-tbl { width: 100%; border-collapse: collapse; background: #fff; font-size: 15px; }
.sh-tbl th, .sh-tbl td { text-align: left; padding: 16px 20px; border-bottom: 1px solid var(--sh-line); vertical-align: top; }
.sh-tbl th { font-size: 13px; color: var(--sh-muted); font-weight: 500; background: var(--sh-soft); }
.sh-tbl tr:last-child td { border-bottom: 0; }

/* precios */
.sh-price { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 56px; }
.sh-pc { border: 1px solid var(--sh-line); border-radius: 18px; padding: 28px; background: #fff; display: flex; flex-direction: column; }
.sh-pc.best { border-color: var(--sh-ink); }
.sh-pc .t { display: flex; justify-content: space-between; align-items: center; font-size: 20px; }
.sh-badge { background: var(--sh-blue); color: #fff; font-size: 12px; padding: 4px 10px; border-radius: 99px; }
.sh-pc .s { color: var(--sh-muted); font-size: 16px; margin-top: 14px; line-height: 1.4; }
.sh-amt { display: flex; align-items: baseline; gap: 8px; margin: 26px 0 22px; }
.sh-amt b { font-size: 40px; font-weight: 600; letter-spacing: -.04em; }
.sh-amt small { font-size: 13px; color: var(--sh-muted); }
.sh-pc .sh-btn { width: 100%; }
.sh-pc ul { list-style: none; margin: 22px 0 0; padding: 20px 0 0; border-top: 1px solid var(--sh-line); display: grid; gap: 11px; font-size: 14px; }
.sh-pc li::before { content: "✓"; color: var(--sh-blue); margin-right: 10px; font-size: 12px; }

/* FAQ */
.sh-faq { display: grid; grid-template-columns: 400px 1fr; gap: 64px; }
.sh-faq h2 { font-size: 48px !important; font-weight: 600; letter-spacing: -.03em !important; line-height: 1.05; margin: 0; }
.sh-faq aside p { color: var(--sh-muted); font-size: 16px; line-height: 1.5; margin: 20px 0 24px; }
.sh-faq details, .sp2-faq details { border-bottom: 1px solid var(--sh-line); padding: 0; }
.sh-faq summary, .sp2-faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 24px 0; font-size: 19px; letter-spacing: -.01em; font-weight: 500; color: var(--sh-ink);
}
.sh-faq summary::-webkit-details-marker, .sp2-faq summary::-webkit-details-marker { display: none; }
.sh-faq summary::after, .sp2-faq summary::after {
  content: "+"; width: 28px; height: 28px; border: 1px solid var(--sh-line); border-radius: 50%;
  display: grid; place-items: center; font-size: 16px; color: var(--sh-muted); transition: transform .2s; flex: 0 0 auto;
}
.sh-faq details[open] summary::after, .sp2-faq details[open] summary::after { transform: rotate(45deg); content: "+"; }
.sh-faq details p, .sp2-faq details p { color: var(--sh-muted); font-size: 16px; line-height: 1.55; padding: 0 40px 24px 0; margin: 0; }

/* CTA final con degradado */
.sh-final { margin: 24px; border-radius: 24px; padding: 110px 24px; text-align: center; background: linear-gradient(160deg, #4F7FB4 0%, #A7B5E0 45%, #E2B6CF 100%); }
.sh-final h2 { font-size: clamp(40px, 6vw, 76px) !important; font-weight: 600; letter-spacing: -.04em !important; line-height: 1; margin: 0; }
.sh-final p { font-size: 19px; margin: 22px auto 30px; max-width: 560px; line-height: 1.45; color: var(--sh-ink); }

/* contacto (formulario existente) */
.sh-contact { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.sh-contact .txt { padding: 96px 64px; border-right: 1px solid var(--sh-line); }
.sh-contact .frm { padding: 96px 64px; background: var(--sh-soft); }
.sh-contact .item { display: flex; gap: 14px; align-items: center; margin-top: 18px; font-size: 16px; }
.sh-contact .item a { text-decoration: none; }
.sh-form .form-group { position: relative; margin-bottom: 12px; }
.sh-form .form-group i { position: absolute; left: 14px; top: 15px; color: var(--sh-muted); font-size: 14px; }
.sh-form input, .sh-form textarea {
  width: 100%; border: 1px solid var(--sh-line); background: #fff; border-radius: 10px;
  padding: 12px 14px 12px 40px; font: inherit; font-size: 15px; color: var(--sh-ink); outline: none; transition: border-color .15s, box-shadow .15s;
}
.sh-form input:focus, .sh-form textarea:focus { border-color: var(--sh-ink); box-shadow: 0 0 0 3px rgba(21, 23, 28, .08); }
.sh-form .form-group.error input, .sh-form .form-group.error textarea { border-color: var(--sh-red); }
.sh-form .sh-btn { width: 100%; height: 48px; }
.sh-form .note { font-size: 13px; color: var(--sh-muted); text-align: center; margin-top: 14px; }

/* ---------- pie de página (sh-footer.php) ---------- */
.sh-footer { border-top: 1px solid var(--sh-line); background: #fff; }
.sh-footer .top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; padding: 72px 64px 0; }
.sh-footer .brand { display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 600; letter-spacing: -.4px; color: var(--sh-ink); text-decoration: none; }
.sh-footer .brand img { width: 28px; height: 28px; border-radius: 7px; }
.sh-footer p { color: var(--sh-muted); font-size: 16px; line-height: 1.5; margin-top: 18px; max-width: 320px; }
.sh-footer h6 { font-size: 14px !important; font-weight: 500; margin: 0 0 18px; letter-spacing: 0; }
.sh-footer .col a { display: block; color: var(--sh-muted); font-size: 15px; margin-bottom: 11px; text-decoration: none; }
.sh-footer .col a:hover, .sh-footer .sh-ft-contact a:hover { color: var(--sh-ink); }
.sh-footer .sh-ft-contact { display: grid; gap: 8px; margin-top: 20px; font-size: 15px; }
.sh-footer .sh-ft-contact a { color: var(--sh-muted); text-decoration: none; }
.sh-status { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--sh-line); border-radius: 99px; padding: 6px 12px; font-size: 13px; margin-top: 22px; }
.sh-status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--sh-green); }
.sh-seo { margin: 56px 64px 0; padding-top: 24px; border-top: 1px solid var(--sh-line); display: grid; gap: 10px; font-size: 13px; color: var(--sh-faint); line-height: 1.7; }
.sh-seo p { margin: 0; max-width: none; font-size: 13px; color: var(--sh-faint); }
.sh-seo span { color: var(--sh-muted); margin-right: 12px; }
.sh-seo a { color: var(--sh-faint); text-decoration: none; }
.sh-seo a:hover { color: var(--sh-ink); }
.sh-giant {
  font-size: min(22vw, 300px); font-weight: 600; letter-spacing: -.06em; line-height: .8; text-align: center; padding: 60px 0 0;
  background: linear-gradient(#ECEEF2, #FAFBFC); -webkit-background-clip: text; background-clip: text; color: transparent; user-select: none; overflow: hidden;
}
.sh-legal { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 20px 64px; border-top: 1px solid var(--sh-line); font-size: 13px; color: var(--sh-muted); }
.sh-legal a { color: var(--sh-muted); text-decoration: none; }

/* WhatsApp flotante */
.sp2-wa { background: #25D366 !important; box-shadow: 0 10px 30px -6px rgba(37, 211, 102, .6) !important; width: 56px !important; height: 56px !important; right: 20px !important; bottom: 20px !important; }

/* aparición al hacer scroll */
.rv { opacity: 0; transform: translateY(16px); transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1); }
.rv.in { opacity: 1; transform: none; }
.no-js .rv { opacity: 1; transform: none; }

/* ==========================================================================
   SUBPÁGINAS: re-tematizar componentes existentes con el mismo lenguaje
   ========================================================================== */
body.seo-subpage .sp-hero-subpage {
  background: #fff !important; padding: 72px 0 48px !important; border-bottom: 1px solid var(--sh-line);
}
body.seo-subpage .sp-hero-subpage h1 { font-size: clamp(36px, 5vw, 60px) !important; letter-spacing: -.035em !important; line-height: 1.04; font-weight: 600; max-width: 980px; }
body.seo-subpage .sp-hero-subpage .lead { font-size: 19px; color: var(--sh-muted); max-width: 720px; line-height: 1.5; }
body.seo-subpage .seo-section { padding: 88px 0 !important; background: #fff !important; border-top: 1px solid var(--sh-line); }
body.seo-subpage .seo-section:first-of-type { border-top: 0; }
body.seo-subpage .seo-section-alt { background: #FAFBFC !important; }
body.seo-subpage .seo-section h2, body.seo-subpage .seo-main h2 { font-size: clamp(28px, 3.4vw, 40px); letter-spacing: -.03em; line-height: 1.1; margin-bottom: 18px; }
body.seo-subpage .seo-section h3 { font-size: 20px; font-weight: 500; letter-spacing: -.01em; }
body.seo-subpage .seo-section p, body.seo-subpage .seo-section li { color: #4A505C; font-size: 17px; line-height: 1.65; }
body.seo-subpage .seo-section a:not(.btn):not(.sp2-btn):not(.sp2-card):not(.sh-btn) { color: var(--sh-blue); text-decoration: none; }
body.seo-subpage .seo-section a:not(.btn):not(.sp2-btn):not(.sp2-card):not(.sh-btn):hover { text-decoration: underline; }
body.seo-subpage .seo-identity-box { background: var(--sh-soft) !important; border: 0 !important; border-radius: 18px !important; padding: 28px 32px !important; }
body.seo-subpage .seo-faq-item { border: 0 !important; border-bottom: 1px solid var(--sh-line) !important; border-radius: 0 !important; padding: 22px 0 !important; background: transparent !important; box-shadow: none !important; }
body.seo-subpage .seo-faq-item h3 { font-size: 19px !important; font-weight: 500; }
body.seo-subpage .seo-cta-final {
  border-radius: 24px !important; padding: 96px 24px !important; text-align: center; border: 0 !important;
  background: linear-gradient(160deg, #4F7FB4 0%, #A7B5E0 45%, #E2B6CF 100%) !important; color: var(--sh-ink) !important;
}
body.seo-subpage .seo-cta-final h2 { font-size: clamp(34px, 5vw, 60px) !important; letter-spacing: -.04em; color: var(--sh-ink) !important; }
body.seo-subpage .comparison-table, body.seo-subpage .comparison-table-wrapper { border-radius: 14px; border-color: var(--sh-line) !important; box-shadow: none !important; }
body.seo-subpage .comparison-table thead th { background: var(--sh-soft) !important; color: var(--sh-muted) !important; font-weight: 500; font-size: 13px; }
body.seo-subpage .seo-benefit-card, body.seo-subpage .sp-blog-card, body.seo-subpage .sp-price-card {
  border: 1px solid var(--sh-line) !important; border-radius: 18px !important; box-shadow: none !important;
}
body.seo-subpage .sp-price-card--featured { border-color: var(--sh-ink) !important; }
body.seo-subpage .sp-blog-card:hover, body.seo-subpage .sp-price-card:hover { transform: translateY(-3px); }
body.seo-subpage .article-prose { font-size: 18px; line-height: 1.75; color: #3A3F4A; }
body.seo-subpage .article-prose h2 { letter-spacing: -.03em; }
body.seo-subpage .badge.bg-primary { background: var(--sh-ink) !important; }

/* componentes v2 → lenguaje v3 */
.sp2-section { padding: 96px 0; border-top: 1px solid var(--sh-line); }
.sp2-section--soft { background: #FAFBFC; }
.sp2-section--dark {
  background: linear-gradient(160deg, #4F7FB4 0%, #A7B5E0 45%, #E2B6CF 100%) !important; color: var(--sh-ink) !important;
  margin: 24px; border-radius: 24px; border-top: 0;
}
.sp2-section--dark h2, .sp2-section--dark h3 { color: var(--sh-ink) !important; }
.sp2-final h2 { font-size: clamp(36px, 5.5vw, 68px); letter-spacing: -.04em; line-height: 1; }
.sp2-final p { color: var(--sh-ink) !important; }
.sp2-eyebrow, .sp2-eyebrow--scale { font-size: 13px; letter-spacing: 0; text-transform: none; color: var(--sh-blue); font-weight: 500; }
.sp2-h2 { font-size: clamp(32px, 4.4vw, 52px); letter-spacing: -.03em; font-weight: 600; }
.sp2-lead { font-size: 18px; color: var(--sh-muted); }
.sp2-answer { border: 0; border-left: 0; border-radius: 18px; background: var(--sh-soft); box-shadow: none; font-size: 18px; padding: 28px 32px; }
.sp2-card { border: 1px solid var(--sh-line); border-radius: 18px; box-shadow: none; }
a.sp2-card:hover { box-shadow: none; border-color: #CDD2DA; }
.sp2-card h3 { font-weight: 500; font-size: 19px; letter-spacing: -.01em; }
.sp2-ic, .sp2-ic--scale, .sp2-ic--amber, .sp2-ic--violet { width: 32px; height: 32px; border-radius: 8px; border: 1px solid var(--sh-line); background: #fff; color: var(--sh-ink); font-size: 14px; }
.sp2-level { border-top: 1px solid var(--sh-line); }
.sp2-level h3::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--sh-green); margin-right: 8px; vertical-align: middle; }
.sp2-level--cfg h3::before { background: #F59E0B; }
.sp2-level--dev h3::before { background: var(--sh-blue); }
.sp2-device { background: transparent; padding: 56px 7%; border-radius: 28px; box-shadow: none;
  background: radial-gradient(60% 80% at 15% 20%, #F6C6CF 0%, transparent 60%), radial-gradient(70% 90% at 85% 30%, #A9C3EA 0%, transparent 65%), linear-gradient(#C9D6EE, #E9CDD8); }
.sp2-device iframe { border-radius: 14px; box-shadow: 0 30px 80px -20px rgba(21, 23, 28, .35); }
.sp2-frame { border-radius: 22px; padding: 32px;
  background: radial-gradient(40% 50% at 20% 30%, #FFD9C2, transparent), radial-gradient(40% 50% at 70% 40%, #C2F0DC, transparent), radial-gradient(50% 50% at 50% 90%, #C9D8FF, transparent), #F3F1FB; }
.sp2-frame img, .sp2-frame iframe { border-radius: 14px; box-shadow: 0 20px 50px -18px rgba(21, 23, 28, .3); }
.sp2-table-wrap { border-radius: 14px; border-color: var(--sh-line); }
.sp2-table thead th { background: var(--sh-soft); color: var(--sh-muted); font-weight: 500; font-size: 13px; }
.sp2-table .y { color: var(--sh-ink); }
.sp2-table .y::before { content: "✓ "; color: var(--sh-blue); }
.sp2-steps li::before { background: var(--sh-ink); border-radius: 8px; width: 28px; height: 28px; font-size: 13px; }
.sp2-steps li { padding-left: 2.8rem; }
.sp2-checks li::before { background-color: var(--sh-ink); }
.sp2-badge100 { background: #fff; border: 1px solid var(--sh-line); color: var(--sh-ink); font-weight: 500; }
.sp2-badge100 i { color: var(--sh-green); }
.sp2-proc { border-radius: 14px; }
.sp2-proc .cod { background: var(--sh-ink) !important; }
.sp2-chain--env .sp2-proc .cod { background: var(--sh-green) !important; }
.sp2-proc i { color: var(--sh-muted); }
.sp2-proc::after { content: "→"; color: var(--sh-faint); font-size: .9rem; right: -.55rem; }
.sp2-chip { font-weight: 500; }
.sp2-chip--on { background: var(--sh-ink); border-color: var(--sh-ink); }
.sp2-crumbs { font-size: 13px; }
.sp2-crumbs a { color: var(--sh-muted); text-decoration: none; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  .sh-cards, .sh-grid4 { grid-template-columns: repeat(2, 1fr); }
  .sh-chain, .sh-chain.c8 { grid-template-columns: repeat(4, 1fr); }
  .sh-proc::after { content: none; }
}
@media (max-width: 900px) {
  .sh-frame { border: 0; }
  .sh-pad { padding: 80px 16px; }
  .sh-hero { padding: 72px 16px 48px; }
  .sh-ctas { flex-direction: column; align-items: stretch; max-width: 320px; margin-left: auto; margin-right: auto; }
  .sh-stage { padding: 28px 10px 170px; border-radius: 20px; }
  .sh-float { left: 16px; right: 16px; width: auto; bottom: 16px; }
  .sh-steps, .sh-split, .sh-faq, .sh-price, .sh-contact, .sh-grid2, .sh-grid3 { grid-template-columns: 1fr; }
  .sh-toc { display: none; }
  .sh-step { padding: 64px 16px; }
  .sh-panel { padding: 16px; }
  .sh-window iframe { height: 760px; }
  .sh-split .txt, .sh-contact .txt, .sh-contact .frm { padding: 72px 16px; }
  .sh-contact .txt { border-right: 0; }
  .sh-split .art { padding: 40px 16px; }
  .sh-faq { gap: 20px; }
  .sh-faq h2 { font-size: 38px !important; }
  .sh-final { margin: 12px; padding: 80px 16px; }
  .sh-footer .top { grid-template-columns: 1fr 1fr; padding: 56px 16px 0; }
  .sh-footer .top > div:first-child { grid-column: 1 / -1; }
  .sh-seo { margin: 40px 16px 0; }
  .sh-legal { padding: 20px 16px; flex-direction: column; gap: 6px; }
  .sp2-section--dark { margin: 12px; }
  .sp2-device { padding: 16px 8px; }
}
@media (max-width: 560px) {
  .sh-cards, .sh-grid4 { grid-template-columns: 1fr; }
  .sh-chain, .sh-chain.c8 { grid-template-columns: repeat(2, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .rv { opacity: 1; transform: none; transition: none; }
  .sh-track { animation: none; }
  .sh-h2 em, .sh-h3 em { color: var(--sh-muted); }
}

/* home: espacio bajo el menú fijo */
body.sh-home { padding-top: 64px; }

/* pestañas de los 16 procesos (segmentado estilo iOS) */
.sh-tabs { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; background: var(--sh-soft); border-radius: 12px; border: 0; }
.sh-tabs .nav-link { border: 0 !important; border-radius: 9px !important; color: var(--sh-muted) !important; font-size: 14px; font-weight: 500; padding: 8px 16px; background: transparent; }
.sh-tabs .nav-link.active { background: #fff !important; color: var(--sh-ink) !important; box-shadow: 0 1px 3px rgba(21, 23, 28, .12); }
.tab-pane.fade:not(.show) { display: none; }

/* sin flechas en cuadrículas de 2 columnas */
.sh-split .art .sh-proc::after { content: none; }

/* precios: cinta "Más elegido" → pastilla azul */
body.seo-subpage .sp-price-card__ribbon {
  transform: none !important; position: absolute; top: 16px; right: 16px; left: auto !important;
  width: auto !important; background: var(--sh-blue) !important; color: #fff !important; border-radius: 99px !important;
  padding: 4px 10px !important; font-size: 12px !important; font-weight: 500 !important; text-transform: none !important; letter-spacing: 0 !important; box-shadow: none !important;
}
body.seo-subpage .sp-badge-hot { background: var(--sh-blue); font-weight: 500; text-transform: none; }
body.seo-subpage .sp-price-card__amount, body.seo-subpage .sp-price-card__amount--quote { color: var(--sh-ink) !important; letter-spacing: -.03em; }
