/* ==========================================================================
   StrixHack — kit
   Patrones heredados de vigia-site (hero 2-col, section head con eyebrow,
   un solo launcher flotante, animación sólo con prefers-reduced-motion:
   no-preference). Prefijo .sh- para no confundirlo con .vg-.
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--sh-bg);
  color: var(--sh-fg-2);
  font-family: var(--sh-font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p a, li a, .sh-link { color: var(--sh-accent); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(52,224,232,0.4); }
p a:hover, li a:hover, .sh-link:hover { text-decoration-color: var(--sh-accent); }
:focus-visible { outline: 2px solid var(--sh-gold-400); outline-offset: 3px; border-radius: 4px; }
.sh-skip { position: absolute; left: -9999px; top: 8px; background: var(--sh-gold-500); color: var(--sh-navy-950); padding: 8px 14px; border-radius: 6px; z-index: 100; font-weight: 600; }
.sh-skip:focus { left: 16px; }

/* Fondo: grilla tenue + halo dorado arriba. Sin imágenes. */
.sh-bg-grid {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    radial-gradient(50% 40% at 70% 0%, rgba(34,211,238,0.10) 0%, rgba(14,26,47,0) 70%),
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: auto, 48px 48px, 48px 48px;
  mask-image: linear-gradient(180deg, #000 0%, rgba(0,0,0,0.35) 60%, rgba(0,0,0,0) 100%);
}
main, .sh-nav, .sh-footer { position: relative; z-index: 1; }

/* ---------- Tipografía ---------- */
.sh-h1 { font-size: clamp(36px, 5.2vw, 60px); line-height: 1.05; letter-spacing: -0.03em; font-weight: 600; color: var(--sh-ink-0); margin: 0; }
.sh-h1 em { font-style: normal; color: var(--sh-accent); }
.sh-h2 { font-size: clamp(28px, 3.4vw, 40px); line-height: 1.12; letter-spacing: -0.025em; font-weight: 600; color: var(--sh-ink-0); margin: 0; }
.sh-h2 em, .sh-h3 em { font-style: normal; color: var(--sh-accent); }
.sh-h3 { font-size: 20px; line-height: 1.3; letter-spacing: -0.01em; font-weight: 600; color: var(--sh-ink-0); margin: 0; }
.sh-lead { font-size: clamp(17px, 1.6vw, 19px); line-height: 1.6; color: var(--sh-fg-3); margin: 0; }
.sh-body { font-size: 15px; line-height: 1.65; color: var(--sh-fg-3); margin: 0; }
.sh-small { font-size: 13px; color: var(--sh-fg-4); }
.sh-mono { font-family: var(--sh-font-mono); }

/* Eyebrow: número + etiqueta, como las secciones del PDF ("01 Contexto") */
.sh-eyebrow { font-family: var(--sh-font-mono); font-size: 12px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--sh-accent); display: inline-flex; gap: 10px; align-items: center; }
.sh-eyebrow b { font-weight: 500; color: var(--sh-gold-300); }
.sh-eyebrow::before { content: ''; width: 18px; height: 1px; background: currentColor; opacity: 0.7; }

/* ---------- Layout ---------- */
.sh-section { max-width: 1200px; margin: 0 auto; padding: 96px 32px; }
.sh-section-tight { padding-top: 48px; padding-bottom: 48px; }
.sh-section-head { display: flex; flex-direction: column; gap: 14px; max-width: 760px; margin: 0 0 48px; }
.sh-section-head.is-center { margin-left: auto; margin-right: auto; text-align: center; align-items: center; }
.sh-band { background: var(--sh-bg-sunken); border-top: 1px solid var(--sh-border); border-bottom: 1px solid var(--sh-border); position: relative; z-index: 1; }
.sh-grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.sh-grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.sh-grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 1024px) { .sh-grid-3, .sh-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) {
  .sh-section { padding: 64px 16px; }
  .sh-grid-2, .sh-grid-3, .sh-grid-4 { grid-template-columns: 1fr; }
}

/* ---------- Botones ---------- */
.sh-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 500 14px/1 var(--sh-font-sans); padding: 12px 20px; border-radius: var(--sh-radius); border: 1px solid transparent; cursor: pointer; transition: background 150ms var(--sh-ease-out), border-color 150ms, transform 150ms, box-shadow 150ms; white-space: nowrap; }
.sh-btn svg { width: 16px; height: 16px; }
.sh-btn-sm { font-size: 13px; padding: 9px 14px; }
.sh-btn-lg { font-size: 15px; padding: 15px 24px; }
.sh-btn-primary { background: var(--sh-gold-500); color: var(--sh-navy-950); font-weight: 600; }
.sh-btn-primary:hover { background: var(--sh-gold-400); box-shadow: var(--sh-glow); transform: translateY(-1px); }
.sh-btn-secondary { background: rgba(255,255,255,0.03); border-color: var(--sh-border-strong); color: var(--sh-ink-100); }
.sh-btn-secondary:hover { border-color: var(--sh-border-accent); background: rgba(52,224,232,0.06); }
.sh-btn[disabled] { opacity: 0.6; cursor: progress; transform: none; }
.sh-cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.sh-microcopy { font-size: 13px; color: var(--sh-fg-4); margin: 14px 0 0; }

/* ---------- Nav ---------- */
.sh-nav { position: sticky; top: 0; z-index: 50; background: rgba(8,17,31,0.82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--sh-border); }
.sh-nav-inner { max-width: 1320px; margin: 0 auto; padding: 14px 32px; display: flex; align-items: center; gap: 28px; }
.sh-brand { display: inline-flex; flex-direction: column; line-height: 1; gap: 5px; }
.sh-brand-mark { height: 30px; width: auto; flex: none; }
.sh-brand { display: inline-flex; align-items: center; gap: 10px; flex-direction: row; }
.sh-brand-text { display: inline-flex; flex-direction: column; line-height: 1; gap: 4px; }
.sh-brand-word { font-weight: 700; font-size: 16px; letter-spacing: 0.4em; margin-right: -0.4em; background: var(--sh-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sh-brand-by { font-family: var(--sh-font-mono); font-size: 9.5px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--sh-fg-4); }
.sh-nav-links { display: flex; gap: 22px; margin-left: auto; align-items: center; }
.sh-nav-links > a, .sh-nav-dd > button { font: 400 14px/1 var(--sh-font-sans); color: var(--sh-ink-300); white-space: nowrap; background: none; border: 0; cursor: pointer; padding: 6px 0; display: inline-flex; align-items: center; gap: 4px; }
.sh-nav-links > a:hover, .sh-nav-dd > button:hover, .sh-nav-links > a[aria-current="page"] { color: var(--sh-ink-0); }
.sh-nav-dd { position: relative; }
.sh-nav-dd > button svg { width: 14px; height: 14px; transition: transform 150ms; }
.sh-nav-dd.is-open > button svg { transform: rotate(180deg); }
.sh-nav-menu { position: absolute; top: calc(100% + 12px); left: -16px; min-width: 300px; background: var(--sh-navy-800); border: 1px solid var(--sh-border-strong); border-radius: var(--sh-radius-lg); box-shadow: var(--sh-shadow-lg); padding: 8px; display: none; }
.sh-nav-dd.is-open .sh-nav-menu { display: block; }
.sh-nav-menu a { display: flex; gap: 12px; padding: 10px 12px; border-radius: 8px; align-items: flex-start; }
.sh-nav-menu a:hover { background: rgba(255,255,255,0.04); }
.sh-nav-menu svg { width: 18px; height: 18px; stroke: var(--sh-accent); flex: none; margin-top: 2px; }
.sh-nav-menu strong { display: block; color: var(--sh-ink-0); font-weight: 500; font-size: 14px; }
.sh-nav-menu span { display: block; color: var(--sh-fg-4); font-size: 12.5px; line-height: 1.45; }
.sh-nav-cta { display: flex; gap: 8px; }
.sh-burger { display: none; margin-left: auto; background: none; border: 0; width: 42px; height: 42px; cursor: pointer; color: var(--sh-ink-100); align-items: center; justify-content: center; }
.sh-burger svg { width: 24px; height: 24px; }
@media (max-width: 960px) {
  .sh-nav-inner { padding: 12px 16px; }
  .sh-nav-links, .sh-nav-cta { display: none; }
  .sh-burger { display: inline-flex; }
  .sh-nav.is-open .sh-nav-links { display: flex; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--sh-navy-950); border-bottom: 1px solid var(--sh-border-strong); padding: 8px 16px 20px; max-height: calc(100vh - 66px); overflow-y: auto; }
  .sh-nav.is-open .sh-nav-links > a, .sh-nav.is-open .sh-nav-dd > button { padding: 14px 4px; font-size: 16px; width: 100%; justify-content: space-between; border-bottom: 1px solid var(--sh-border); }
  .sh-nav.is-open .sh-nav-menu { position: static; display: block; box-shadow: none; border: 0; background: transparent; padding: 4px 0 8px; min-width: 0; }
  .sh-nav.is-open .sh-nav-dd > button svg { display: none; }
  .sh-nav.is-open .sh-nav-links .sh-nav-mobile-cta { display: flex; margin-top: 16px; }
}
.sh-nav-mobile-cta { display: none; }

/* ---------- Hero ---------- */
.sh-hero { max-width: 1320px; margin: 0 auto; padding: 72px 32px 88px; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.sh-hero-inner { max-width: 640px; display: flex; flex-direction: column; gap: 24px; }
.sh-badge { display: inline-flex; align-self: flex-start; align-items: center; gap: 8px; font-family: var(--sh-font-mono); font-size: 12px; letter-spacing: 0.06em; color: var(--sh-gold-300); border: 1px solid var(--sh-border-accent); background: rgba(52,224,232,0.06); padding: 6px 12px; border-radius: 999px; }
.sh-badge svg { width: 14px; height: 14px; }
.sh-hero-frame { min-width: 0; }
.sh-crumbs { font-family: var(--sh-font-mono); font-size: 12px; color: var(--sh-fg-4); display: flex; gap: 8px; flex-wrap: wrap; }
.sh-crumbs a:hover { color: var(--sh-ink-100); }
@media (max-width: 1024px) {
  .sh-hero { grid-template-columns: 1fr; gap: 40px; padding-top: 48px; }
}
@media (max-width: 680px) { .sh-hero { padding: 36px 16px 56px; } }

/* Mockup de hallazgo (ejemplo ilustrativo del informe) */
.sh-report { background: linear-gradient(180deg, var(--sh-navy-800), var(--sh-navy-950)); border: 1px solid var(--sh-border-strong); border-radius: var(--sh-radius-lg); box-shadow: var(--sh-shadow-lg); overflow: hidden; }
.sh-report-chrome { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--sh-border); font-family: var(--sh-font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--sh-fg-4); }
.sh-report-chrome .sh-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--sh-gold-500); }
.sh-report-chrome .sh-tag-example { margin-left: auto; color: var(--sh-gold-300); border: 1px solid var(--sh-border-accent); border-radius: 4px; padding: 2px 6px; letter-spacing: 0.08em; }
.sh-report-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 16px; }
.sh-finding-id { font-family: var(--sh-font-mono); font-size: 12px; color: var(--sh-fg-4); }
.sh-finding-title { color: var(--sh-ink-0); font-weight: 600; font-size: 17px; line-height: 1.35; margin: 0; }
.sh-finding-meta { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.sh-finding-meta div { background: rgba(255,255,255,0.03); border: 1px solid var(--sh-border); border-radius: 8px; padding: 10px 12px; min-width: 0; }
.sh-finding-meta dt { font-family: var(--sh-font-mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--sh-fg-4); margin: 0 0 4px; }
.sh-finding-meta dd { margin: 0; font-size: 13.5px; color: var(--sh-ink-100); font-weight: 500; }
.sh-sev { display: inline-flex; align-items: center; gap: 6px; }
.sh-sev::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.sh-sev-high { color: var(--sh-high); }
.sh-sev-crit { color: var(--sh-crit); }
.sh-sev-med { color: var(--sh-med); }
.sh-code { font-family: var(--sh-font-mono); font-size: 12.5px; line-height: 1.6; color: var(--sh-ink-300); background: var(--sh-navy-950); border: 1px solid var(--sh-border); border-radius: 8px; padding: 12px 14px; overflow-x: auto; white-space: pre; margin: 0; }
.sh-code .k { color: var(--sh-gold-300); }
.sh-code .c { color: var(--sh-ink-500); }
.sh-timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.sh-timeline li { font-size: 12px; color: var(--sh-fg-4); border-top: 2px solid var(--sh-border-strong); padding-top: 8px; }
.sh-timeline li b { display: block; color: var(--sh-ink-100); font-weight: 500; font-size: 12.5px; }
.sh-timeline li.is-done { border-top-color: var(--sh-gold-500); }
.sh-timeline li.is-ok { border-top-color: var(--sh-ok); }
.sh-timeline li.is-ok b { color: var(--sh-ok); }
@media (max-width: 480px) {
  .sh-finding-meta { grid-template-columns: 1fr 1fr; }
  .sh-timeline { grid-template-columns: 1fr; }
}

/* ---------- Franja de confianza ---------- */
.sh-proof { max-width: 1200px; margin: 0 auto; padding: 28px 32px; display: flex; flex-wrap: wrap; gap: 14px 32px; align-items: center; justify-content: center; }
.sh-proof-item { display: inline-flex; gap: 8px; align-items: center; font-size: 14px; color: var(--sh-fg-3); }
.sh-proof-item svg { width: 18px; height: 18px; stroke: var(--sh-accent); }
@media (max-width: 680px) { .sh-proof { padding: 24px 16px; justify-content: flex-start; } }

/* ---------- Cards ---------- */
.sh-card { background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01)); border: 1px solid var(--sh-border); border-radius: var(--sh-radius-lg); padding: 26px; display: flex; flex-direction: column; gap: 12px; transition: border-color 200ms, transform 200ms var(--sh-ease-out); min-width: 0; }
a.sh-card:hover { border-color: var(--sh-border-accent); transform: translateY(-2px); }
.sh-card-ico { width: 40px; height: 40px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; background: rgba(52,224,232,0.08); border: 1px solid var(--sh-border-accent); }
.sh-card-ico svg { width: 20px; height: 20px; stroke: var(--sh-accent); stroke-width: 1.75; }
.sh-card-more { margin-top: auto; padding-top: 6px; font-size: 14px; color: var(--sh-accent); display: inline-flex; gap: 6px; align-items: center; }
.sh-card-more svg { width: 15px; height: 15px; }
.sh-tag { font-family: var(--sh-font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--sh-fg-4); }

/* Listas con check */
.sh-check { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.sh-check li { position: relative; padding-left: 28px; font-size: 15px; line-height: 1.55; color: var(--sh-fg-2); }
.sh-check li::before { content: ''; position: absolute; left: 0; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: rgba(52,224,232,0.12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2334E0E8' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/10px no-repeat; border: 1px solid var(--sh-border-accent); }
.sh-check.is-out li::before { background: rgba(248,113,113,0.1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F87171' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M18 6 6 18M6 6l12 12'/%3E%3C/svg%3E") center/9px no-repeat; border-color: rgba(248,113,113,0.35); }

/* ---------- Paquetes ---------- */
.sh-plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.sh-plan { position: relative; background: var(--sh-bg-surface); border: 1px solid var(--sh-border); border-radius: var(--sh-radius-lg); padding: 28px; display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.sh-plan.is-featured { border-color: var(--sh-gold-500); box-shadow: var(--sh-glow); }
.sh-plan-flag { position: absolute; top: -12px; left: 24px; background: var(--sh-gold-500); color: var(--sh-navy-950); font: 600 11px/1 var(--sh-font-mono); letter-spacing: 0.12em; text-transform: uppercase; padding: 6px 10px; border-radius: 999px; }
.sh-plan-k { font-family: var(--sh-font-mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--sh-accent); }
.sh-plan-for { font-size: 14px; color: var(--sh-fg-3); margin: 0; }
.sh-plan-dur { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--sh-border); display: flex; gap: 8px; align-items: center; font-size: 14px; color: var(--sh-ink-100); }
.sh-plan-dur svg { width: 16px; height: 16px; stroke: var(--sh-accent); }
@media (max-width: 1024px) { .sh-plans { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; } }

/* ---------- Tablas ---------- */
.sh-table-wrap { border: 1px solid var(--sh-border); border-radius: var(--sh-radius-lg); overflow: hidden; }
.sh-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.sh-table th { text-align: left; font: 500 11.5px/1.3 var(--sh-font-mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--sh-fg-4); background: var(--sh-navy-950); padding: 14px 18px; border-bottom: 1px solid var(--sh-border); }
.sh-table td { padding: 16px 18px; border-bottom: 1px solid var(--sh-border); vertical-align: top; color: var(--sh-fg-3); line-height: 1.55; }
.sh-table tr:last-child td { border-bottom: 0; }
.sh-table td:first-child { color: var(--sh-ink-0); font-weight: 500; width: 34%; }
.sh-table td:first-child .sh-mono { color: var(--sh-accent); font-weight: 500; }
@media (max-width: 680px) {
  .sh-table thead { display: none; }
  .sh-table tr { display: block; padding: 14px 16px; border-bottom: 1px solid var(--sh-border); }
  .sh-table tr:last-child { border-bottom: 0; }
  .sh-table td { display: block; padding: 0; border: 0; width: auto !important; }
  .sh-table td + td { margin-top: 6px; }
}

/* ---------- Pasos ---------- */
.sh-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; counter-reset: step; }
.sh-steps li { counter-increment: step; position: relative; padding: 24px; border: 1px solid var(--sh-border); border-radius: var(--sh-radius-lg); background: rgba(255,255,255,0.02); display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.sh-steps li::before { content: counter(step, decimal-leading-zero); font: 500 13px/1 var(--sh-font-mono); color: var(--sh-accent); letter-spacing: 0.1em; }
.sh-step-when { font-family: var(--sh-font-mono); font-size: 12px; color: var(--sh-fg-4); }
@media (max-width: 1024px) { .sh-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) { .sh-steps { grid-template-columns: 1fr; } }

/* Callout */
.sh-callout { border-left: 3px solid var(--sh-gold-500); background: rgba(52,224,232,0.05); border-radius: 0 var(--sh-radius) var(--sh-radius) 0; padding: 18px 22px; font-size: 15px; color: var(--sh-fg-2); line-height: 1.6; }
.sh-callout strong { color: var(--sh-ink-0); }

/* Split (texto + lista) */
.sh-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start; }
@media (max-width: 900px) { .sh-split { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- FAQ ---------- */
.sh-faq { display: flex; flex-direction: column; gap: 10px; max-width: 860px; }
.sh-faq details { border: 1px solid var(--sh-border); border-radius: var(--sh-radius); background: rgba(255,255,255,0.02); }
.sh-faq summary { cursor: pointer; list-style: none; padding: 18px 20px; font-weight: 500; color: var(--sh-ink-0); display: flex; justify-content: space-between; gap: 16px; }
.sh-faq summary::-webkit-details-marker { display: none; }
.sh-faq summary::after { content: '+'; font-family: var(--sh-font-mono); color: var(--sh-accent); font-size: 18px; line-height: 1; }
.sh-faq details[open] summary::after { content: '−'; }
.sh-faq details > div { padding: 0 20px 18px; color: var(--sh-fg-3); font-size: 15px; line-height: 1.65; }

/* ---------- CTA final ---------- */
.sh-final { max-width: 1200px; margin: 0 auto; padding: 0 32px 96px; }
.sh-final-box { border: 1px solid var(--sh-border-accent); border-radius: 20px; padding: 56px; background: radial-gradient(80% 120% at 100% 0%, rgba(34,211,238,0.14) 0%, rgba(14,26,47,0) 60%), var(--sh-navy-800); display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: 32px; align-items: center; }
.sh-final-box .sh-cta-row { justify-content: flex-end; }
@media (max-width: 900px) {
  .sh-final { padding: 0 16px 72px; }
  .sh-final-box { grid-template-columns: 1fr; padding: 32px 24px; }
  .sh-final-box .sh-cta-row { justify-content: flex-start; }
}

/* ---------- Relacionadas ---------- */
.sh-related { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.sh-related a { border: 1px solid var(--sh-border); border-radius: var(--sh-radius); padding: 18px 20px; display: flex; flex-direction: column; gap: 4px; transition: border-color 150ms; }
.sh-related a:hover { border-color: var(--sh-border-accent); }
.sh-related strong { color: var(--sh-ink-0); font-weight: 500; }
.sh-related span { font-size: 13.5px; color: var(--sh-fg-4); }
@media (max-width: 900px) { .sh-related { grid-template-columns: 1fr; } }

/* ---------- Formulario ---------- */
.sh-form { display: flex; flex-direction: column; gap: 28px; }
.sh-fieldset { border: 1px solid var(--sh-border); border-radius: var(--sh-radius-lg); padding: 24px; margin: 0; background: rgba(255,255,255,0.015); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; min-width: 0; }
.sh-fieldset legend { font: 500 12px/1 var(--sh-font-mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--sh-accent); padding: 0 8px; }
.sh-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.sh-field.is-wide { grid-column: 1 / -1; }
.sh-field label, .sh-field .sh-label { font-size: 14px; font-weight: 500; color: var(--sh-ink-100); }
.sh-field .sh-req { color: var(--sh-gold-400); }
.sh-field .sh-help { font-size: 12.5px; color: var(--sh-fg-4); line-height: 1.45; }
.sh-input, .sh-select, .sh-textarea { width: 100%; font: 400 15px/1.4 var(--sh-font-sans); color: var(--sh-ink-0); background: var(--sh-navy-950); border: 1px solid var(--sh-border-strong); border-radius: 8px; padding: 11px 12px; transition: border-color 150ms, box-shadow 150ms; }
.sh-textarea { min-height: 84px; resize: vertical; }
.sh-input::placeholder, .sh-textarea::placeholder { color: var(--sh-ink-500); }
.sh-input:focus, .sh-select:focus, .sh-textarea:focus { outline: none; border-color: var(--sh-gold-500); box-shadow: 0 0 0 3px rgba(34,211,238,0.18); }
.sh-input:user-invalid, .sh-textarea:user-invalid { border-color: var(--sh-crit); }
.sh-select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238A97AA' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 16px; padding-right: 36px; }
.sh-choices { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.sh-choices label { display: inline-flex; gap: 8px; align-items: center; font-size: 14px; font-weight: 400; color: var(--sh-fg-2); cursor: pointer; }
.sh-choices input, .sh-consent input { accent-color: var(--sh-gold-500); width: 16px; height: 16px; }
.sh-consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--sh-fg-3); line-height: 1.55; }
.sh-consent input { margin-top: 3px; flex: none; }
.sh-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.sh-form-status { border-radius: var(--sh-radius); padding: 18px 20px; font-size: 15px; line-height: 1.6; display: none; }
.sh-form-status.is-visible { display: block; }
.sh-form-status.is-ok { border: 1px solid rgba(74,222,128,0.4); background: rgba(74,222,128,0.07); color: var(--sh-ink-100); }
.sh-form-status.is-error { border: 1px solid rgba(248,113,113,0.5); background: rgba(248,113,113,0.08); color: var(--sh-ink-100); }
.sh-form-status strong { color: var(--sh-ink-0); }
.sh-form-status .sh-cta-row { margin-top: 14px; }
@media (max-width: 680px) {
  .sh-fieldset { grid-template-columns: 1fr; padding: 20px 16px; }
}

/* Contacto lateral */
.sh-contact-card { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 18px; }
.sh-contact-line { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; }
.sh-contact-line svg { width: 18px; height: 18px; stroke: var(--sh-accent); flex: none; margin-top: 3px; }
.sh-contact-line a { color: var(--sh-ink-0); }
.sh-contact-line a:hover { color: var(--sh-accent); }
.sh-layout-form { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 40px; align-items: start; }
@media (max-width: 1024px) { .sh-layout-form { grid-template-columns: 1fr; } .sh-contact-card { position: static; } }

/* ---------- Footer ---------- */
.sh-footer { border-top: 1px solid var(--sh-border); background: var(--sh-navy-950); }
.sh-footer-inner { max-width: 1200px; margin: 0 auto; padding: 56px 32px 32px; display: grid; grid-template-columns: 1.3fr repeat(3, 1fr); gap: 32px; }
.sh-footer p { font-size: 14px; color: var(--sh-fg-4); margin: 14px 0 0; max-width: 320px; }
.sh-footer-h { font: 500 11.5px/1 var(--sh-font-mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--sh-fg-3); margin-bottom: 14px; }
.sh-footer-col a { display: block; font-size: 14px; color: var(--sh-fg-4); padding: 4px 0; }
.sh-footer-col a:hover { color: var(--sh-ink-100); }
.sh-footer-legal { max-width: 1200px; margin: 0 auto; padding: 20px 32px 32px; border-top: 1px solid var(--sh-border); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--sh-fg-4); }
@media (max-width: 900px) { .sh-footer-inner { grid-template-columns: 1fr 1fr; } }
@media (max-width: 680px) {
  .sh-footer-inner { padding: 48px 16px 24px; }
  .sh-footer-legal { padding: 20px 16px 96px; }
}

/* ---------- Launchers flotantes (regla vigia-site: uno por breakpoint) ---------- */
.sh-wa-fab { position: fixed; right: 24px; bottom: 24px; z-index: 60; width: 54px; height: 54px; border-radius: 50%; background: #25D366; color: #fff; display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 10px 28px rgba(0,0,0,0.45); transition: transform 150ms; }
.sh-wa-fab:hover { transform: translateY(-2px); }
.sh-wa-fab svg { width: 28px; height: 28px; }
#sh-sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: none; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(8,17,31,0.95); backdrop-filter: blur(12px); border-top: 1px solid var(--sh-border-strong); }
#sh-sticky-cta.is-visible { display: flex; }
#sh-sticky-cta a { flex: 1; justify-content: center; padding: 13px 10px; font-size: 14px; }
#sh-sticky-cta .sh-sticky-x { flex: none; width: 40px; background: none; border: 0; color: var(--sh-fg-4); font-size: 22px; cursor: pointer; }
@media (min-width: 768px) { #sh-sticky-cta { display: none !important; } }
@media (max-width: 767px) { .sh-wa-fab { display: none !important; } }

/* ---------- Motion (sólo si el visitante no pidió reducirlo) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .sh-reveal { opacity: 0; transform: translateY(14px); transition: opacity 600ms var(--sh-ease-out), transform 600ms var(--sh-ease-out); }
  .sh-reveal.is-in { opacity: 1; transform: none; }
  .sh-pulse { position: relative; }
  .sh-pulse::after { content: ''; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid var(--sh-gold-500); animation: shPulse 2.4s var(--sh-ease-out) infinite; }
  @keyframes shPulse { 0% { opacity: 0.8; transform: scale(0.6); } 100% { opacity: 0; transform: scale(1.8); } }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Mobile: el CTA del menú conserva aspecto de botón (no de link de fila) */
@media (max-width: 960px) {
  .sh-nav.is-open .sh-nav-links > a.sh-nav-mobile-cta {
    border-bottom: 0 !important;
    justify-content: center;
    background: var(--sh-gold-500);
    color: var(--sh-navy-950);
    border-radius: var(--sh-radius);
    font-weight: 600;
  }
}
