/* ==========================================================================
   SMARTFIX AI — Hoja de estilos principal
   Estructura:
   01. Tokens y base
   02. Utilidades y botones
   03. Formularios
   04. Navegación
   05. Hero
   06. Secciones y encabezados
   07. Servicios
   08. Diagnóstico (asistente, resultados, informe)
   09. Cómo funciona
   10. Por qué elegirnos
   11. Nosotros
   12. Preguntas frecuentes
   13. Contacto
   14. Footer y acciones flotantes
   15. SweetAlert2
   16. Responsive
   17. Modo oscuro
   18. Impresión
   ========================================================================== */

/* ==========================================================================
   01. Tokens y base
   ========================================================================== */
:root {
  --sf-navy-950: #060c19;
  --sf-navy-900: #081022;
  --sf-navy-800: #0b142b;
  --sf-navy-700: #101b35;
  --sf-blue: #2563eb;
  --sf-blue-dark: #1d4ed8;
  --sf-blue-soft: #eff6ff;
  --sf-sky: #38bdf8;
  --sf-violet: #7c3aed;
  --sf-green: #1fa855;
  --sf-green-dark: #128c4b;
  --sf-amber: #e79a18;
  --sf-red: #dc2626;

  --sf-bg: #ffffff;
  --sf-bg-soft: #f4f7fd;
  --sf-bg-tint: #eef4ff;
  --sf-surface: #ffffff;
  --sf-card: #ffffff;
  --sf-card-2: #f8faff;
  --sf-field: #f8fafc;
  --sf-ink: #0b152b;
  --sf-ink-soft: #1e293b;
  --sf-muted: #52627a;
  --sf-muted-2: #718198;
  --sf-line: rgba(15, 23, 42, 0.09);
  --sf-line-strong: rgba(15, 23, 42, 0.14);

  --sf-shadow-sm: 0 2px 10px rgba(8, 16, 34, 0.04);
  --sf-shadow: 0 18px 50px rgba(8, 16, 34, 0.08);
  --sf-shadow-lg: 0 30px 80px rgba(8, 16, 34, 0.12);

  --sf-radius: 24px;
  --sf-radius-md: 16px;
  --sf-radius-sm: 11px;

  --sf-font-display: "Sora", "Segoe UI", system-ui, -apple-system, sans-serif;
  --sf-font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --sf-nav-h: 78px;

  --bs-body-font-family: var(--sf-font-body);
  --bs-body-color: var(--sf-ink);
  --bs-body-bg: var(--sf-bg);
  --bs-border-color: var(--sf-line);
  --bs-link-color: var(--sf-blue);
  --bs-link-hover-color: var(--sf-blue-dark);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

/* La regla del navegador para [hidden] puede ser anulada por display:flex/grid. */
[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--sf-nav-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background-color: var(--sf-bg);
  color: var(--sf-ink);
  font-family: var(--sf-font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  transition: background-color 0.25s ease, color 0.25s ease;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  color: var(--sf-ink);
  font-family: var(--sf-font-display);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.03em;
}

p {
  margin: 0;
}

a {
  color: var(--sf-blue);
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

img, svg {
  max-width: 100%;
}

img {
  height: auto;
}

ul, ol {
  margin: 0;
  padding: 0;
}

button {
  font-family: inherit;
}

::selection {
  color: #ffffff;
  background: rgba(37, 99, 235, 0.85);
}

:focus-visible {
  outline: 3px solid rgba(56, 189, 248, 0.65);
  outline-offset: 3px;
}

main:focus {
  outline: none;
}

section[id] {
  scroll-margin-top: calc(var(--sf-nav-h) + 14px);
}

.container {
  max-width: 1180px;
  padding-right: clamp(1rem, 3vw, 1.5rem);
  padding-left: clamp(1rem, 3vw, 1.5rem);
}

.visually-hidden-focusable:focus,
.skip-link:focus {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 2000;
  width: auto;
  height: auto;
  padding: 0.65rem 1rem;
  color: var(--sf-navy-950);
  background: #ffffff;
  border-radius: 8px;
  overflow: visible;
  clip: auto;
  white-space: normal;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 2000;
  padding: 0.65rem 1rem;
  color: var(--sf-navy-950);
  background: #ffffff;
  border-radius: 8px;
  font-weight: 600;
}

/* Accesibilidad: contenido visible si no se inicializa JS */
html.reveal-ready .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

html.reveal-ready .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  html.reveal-ready .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ==========================================================================
   02. Utilidades y botones
   ========================================================================== */
.btn-sf {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.78rem 1.2rem;
  border: 1px solid transparent;
  border-radius: var(--sf-radius-sm);
  font-family: var(--sf-font-body);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.btn-sf:disabled,
.btn-sf[aria-disabled="true"] {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none !important;
}

.btn-sf-primary {
  color: #ffffff;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  border-color: rgba(147, 197, 253, 0.28);
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.btn-sf-primary:hover {
  color: #ffffff;
  background: linear-gradient(135deg, #2f6ff5, #1e40af);
  transform: translateY(-1px);
  box-shadow: 0 16px 32px rgba(37, 99, 235, 0.36), inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.btn-sf-primary:active {
  transform: translateY(0);
}

.btn-sf-ghost {
  color: #eef6ff;
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.17);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.btn-sf-ghost:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-1px);
}

.btn-sf-outline {
  color: var(--sf-ink);
  background: var(--sf-surface);
  border-color: var(--sf-line-strong);
}

.btn-sf-outline:hover {
  color: var(--sf-blue);
  background: var(--sf-bg-tint);
  border-color: rgba(37, 99, 235, 0.36);
  transform: translateY(-1px);
}

.btn-sf-outline-light {
  color: #f2f8ff;
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.22);
}

.btn-sf-outline-light:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.4);
}

.btn-sf-wa {
  color: #ffffff;
  background: linear-gradient(135deg, #22b95e, #128c4b);
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: 0 10px 24px rgba(18, 140, 75, 0.22);
}

.btn-sf-wa:hover {
  color: #ffffff;
  background: linear-gradient(135deg, #25c968, #0f7c42);
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(18, 140, 75, 0.3);
}

.btn-sf-link {
  color: var(--sf-muted);
  background: transparent;
  border-color: transparent;
  padding-right: 0.25rem;
  padding-left: 0.25rem;
  font-weight: 500;
}

.btn-sf-link:hover {
  color: var(--sf-blue);
  background: transparent;
}

.btn-lg-sf {
  padding: 0.92rem 1.35rem;
  font-size: 0.94rem;
}

.btn-nav-cta {
  padding: 0.62rem 0.95rem;
  font-size: 0.82rem;
  border-radius: 10px;
  white-space: nowrap;
}

.hero-wa-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #b8c9df;
  font-size: 0.86rem;
  font-weight: 500;
}

.hero-wa-link i {
  color: #4ade80;
  font-size: 1rem;
}

.hero-wa-link:hover {
  color: #ffffff;
}

.text-gradient {
  color: transparent;
  background: linear-gradient(100deg, #7dd3fc 0%, #38bdf8 36%, #60a5fa 68%, #a78bfa 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

/* ==========================================================================
   03. Formularios
   ========================================================================== */
.form-label {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--sf-ink);
  font-family: var(--sf-font-body);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0;
}

.form-group-block {
  min-width: 0;
  margin: 1.75rem 0 0;
  padding: 0;
  border: 0;
}

.form-group-block legend {
  float: none;
  width: auto;
  padding: 0;
}

.req {
  color: var(--sf-red);
  font-weight: 700;
}

.optional-tag {
  display: inline-block;
  margin-left: 0.3rem;
  padding: 0.08rem 0.4rem;
  color: var(--sf-muted-2);
  background: var(--sf-card-2);
  border: 1px solid var(--sf-line);
  border-radius: 5px;
  font-size: 0.66rem;
  font-weight: 500;
  line-height: 1.5;
  vertical-align: 1px;
}

.sf-field {
  min-height: 48px;
  padding: 0.78rem 0.95rem;
  color: var(--sf-ink);
  background-color: var(--sf-field);
  border: 1px solid var(--sf-line-strong);
  border-radius: 12px;
  font-family: var(--sf-font-body);
  font-size: 0.9rem;
  line-height: 1.5;
  box-shadow: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

textarea.sf-field {
  min-height: 132px;
  resize: vertical;
}

.sf-field::placeholder {
  color: var(--sf-muted-2);
  opacity: 0.85;
}

.sf-field:hover {
  border-color: rgba(37, 99, 235, 0.28);
}

.sf-field:focus {
  color: var(--sf-ink);
  background-color: var(--sf-surface);
  border-color: var(--sf-blue);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.sf-field.is-invalid {
  border-color: rgba(220, 38, 38, 0.7);
  box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.08);
}

.sf-field.is-invalid:focus {
  border-color: var(--sf-red);
  box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.11);
}

.field-help {
  margin: 0.4rem 0 0;
  color: var(--sf-muted-2);
  font-size: 0.76rem;
  line-height: 1.5;
}

.field-error {
  margin: 0.4rem 0 0;
  color: #c92525;
  font-size: 0.77rem;
  font-weight: 500;
  line-height: 1.45;
}

.field-error:empty {
  display: none;
}

.textarea-block {
  position: relative;
}

.textarea-meta {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.42rem;
  color: var(--sf-muted-2);
  font-size: 0.73rem;
  line-height: 1.5;
}

.textarea-meta > span:last-child {
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
}

.other-help {
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
  color: #a16207;
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.18);
  border-radius: 8px;
  padding: 0.55rem 0.7rem;
}

.info-inline {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  margin-top: 1.35rem;
  padding: 0.72rem 0.85rem;
  color: var(--sf-muted);
  background: var(--sf-bg-tint);
  border: 1px solid rgba(37, 99, 235, 0.12);
  border-radius: 10px;
  font-size: 0.77rem;
  line-height: 1.55;
}

.info-inline i {
  margin-top: 0.1rem;
  color: var(--sf-blue);
}

/* ==========================================================================
   04. Navegación
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1040;
}

.site-nav {
  padding: 1rem 0;
  background: linear-gradient(180deg, rgba(6, 12, 25, 0.82), rgba(6, 12, 25, 0));
  border-bottom: 1px solid transparent;
  transition: background-color 0.3s ease, padding 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
}

.site-nav.scrolled {
  padding: 0.62rem 0;
  background: rgba(7, 13, 28, 0.88);
  border-bottom-color: rgba(255, 255, 255, 0.07);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.26);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  backdrop-filter: blur(20px) saturate(140%);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: #f5f9ff;
  text-decoration: none;
  flex-shrink: 0;
}

.brand:hover {
  color: #ffffff;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.28);
}

.brand-type {
  font-family: var(--sf-font-display);
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1;
  white-space: nowrap;
}

.brand-ai {
  display: inline-flex;
  align-items: baseline;
  margin-left: 0.32rem;
  padding: 0.18em 0.38em 0.22em;
  color: #7dd3fc;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.28);
  border-radius: 5px;
  font-size: 0.58em;
  font-weight: 700;
  letter-spacing: 0.1em;
  vertical-align: 0.14em;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 0.08rem;
  list-style: none;
}

.nav-link {
  position: relative;
  display: block;
  padding: 0.46rem 0.58rem;
  color: rgba(235, 245, 255, 0.7);
  border-radius: 7px;
  font-size: 0.82rem;
  font-weight: 500;
  line-height: 1.4;
  white-space: nowrap;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 1px;
  left: 50%;
  width: 4px;
  height: 4px;
  background: linear-gradient(135deg, #38bdf8, #2563eb);
  border-radius: 50%;
  opacity: 0;
  transform: translateX(-50%) scale(0.4);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.nav-link:hover,
.nav-link:focus-visible {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.05);
}

.nav-link.active {
  color: #ffffff;
}

.nav-link.active::after {
  opacity: 1;
  transform: translateX(-50%) scale(1);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-shrink: 0;
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  color: #d9e9ff;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 10px;
  font-size: 1.05rem;
  cursor: pointer;
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.theme-toggle:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.25);
  transform: rotate(-8deg);
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  cursor: pointer;
}

.nav-toggle:hover {
  background: rgba(255, 255, 255, 0.1);
}

.nav-toggle-lines {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 20px;
}

.nav-toggle-lines span {
  display: block;
  height: 1.5px;
  background: currentColor;
  border-radius: 2px;
}

.nav-toggle-lines span:nth-child(2) {
  width: 14px;
  margin-left: auto;
}

/* Menú móvil */
.mobile-nav {
  width: min(92vw, 400px) !important;
  color: #e9f3ff;
  background: #080f20;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-nav .offcanvas-header {
  padding: 1.1rem 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.mobile-nav .offcanvas-body {
  display: flex;
  flex-direction: column;
  padding: 1.35rem 1.25rem;
}

.mobile-nav .brand-type {
  font-size: 1.05rem;
}

.mobile-nav .brand-mark {
  width: 38px;
  height: 38px;
}

.mobile-nav-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  padding: 0;
  color: rgba(255, 255, 255, 0.75);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 9px;
  font-size: 0.95rem;
  cursor: pointer;
}

.mobile-nav-close:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}

.mobile-nav-kicker {
  margin-bottom: 0.65rem;
  color: rgba(125, 211, 252, 0.7);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.mobile-nav-links {
  list-style: none;
}

.mobile-nav-links a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.78rem 0.15rem;
  color: rgba(235, 245, 255, 0.82);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-family: var(--sf-font-display);
  font-size: 1rem;
  font-weight: 500;
}

.mobile-nav-links a span {
  color: rgba(125, 211, 252, 0.55);
  font-family: var(--sf-font-body);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.mobile-nav-links a i {
  margin-left: auto;
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.9rem;
  transition: transform 0.2s ease, color 0.2s ease;
}

.mobile-nav-links a:hover {
  color: #ffffff;
}

.mobile-nav-links a:hover i {
  color: var(--sf-sky);
  transform: translateX(3px);
}

.mobile-nav-cta {
  display: grid;
  gap: 0.6rem;
  margin-top: 1.5rem;
}

.mobile-nav-meta {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-top: auto;
  padding-top: 2rem;
  color: rgba(218, 233, 255, 0.46);
  font-size: 0.72rem;
}

.mobile-nav-meta i {
  margin-right: 0.25rem;
  color: var(--sf-sky);
}

/* ==========================================================================
   05. Hero
   ========================================================================== */
.hero {
  position: relative;
  padding-top: calc(var(--sf-nav-h) + 4.5rem);
  padding-bottom: 0;
  color: #eef6ff;
  background: #060c19;
  overflow: hidden;
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 46% 55% at 12% 8%, rgba(37, 99, 235, 0.32), transparent 65%),
    radial-gradient(ellipse 40% 45% at 88% 20%, rgba(56, 189, 248, 0.16), transparent 70%),
    radial-gradient(ellipse 55% 50% at 55% 108%, rgba(124, 58, 237, 0.13), transparent 70%);
}

.hero-orb {
  position: absolute;
  display: block;
  border-radius: 50%;
  filter: blur(10px);
  opacity: 0.45;
}

.hero-orb-1 {
  top: -180px;
  right: -80px;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.14), transparent 66%);
}

.hero-orb-2 {
  bottom: 40px;
  left: -220px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.16), transparent 66%);
}

.hero-orb-3 {
  top: 35%;
  left: 48%;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.1), transparent 68%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(125, 211, 252, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(125, 211, 252, 0.055) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(ellipse 75% 75% at 55% 35%, #000 10%, transparent 78%);
  mask-image: radial-gradient(ellipse 75% 75% at 55% 35%, #000 10%, transparent 78%);
}

.hero-trace {
  position: absolute;
  top: 0;
  right: 0;
  width: min(70%, 860px);
  height: 100%;
  opacity: 0.8;
  pointer-events: none;
}

.hero-container {
  position: relative;
  z-index: 2;
}

.hero-copy {
  padding: 1.5rem 0 2.5rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.42rem 0.8rem;
  color: #c7e8ff;
  background: rgba(56, 189, 248, 0.07);
  border: 1px solid rgba(56, 189, 248, 0.22);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.4;
}

.badge-pulse {
  position: relative;
  width: 7px;
  height: 7px;
  background: #38bdf8;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.12);
}

.badge-pulse::after {
  content: "";
  position: absolute;
  inset: -3px;
  border: 1px solid rgba(56, 189, 248, 0.4);
  border-radius: 50%;
  animation: badgePulse 2.8s ease-out infinite;
}

.hero-title {
  max-width: 620px;
  margin-top: 1.2rem;
  color: #f4f9ff;
  font-size: clamp(2.55rem, 4.8vw, 3.9rem);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.hero-title .text-gradient {
  display: inline;
}

.hero-lead {
  max-width: 555px;
  margin-top: 1.4rem;
  color: rgba(221, 235, 255, 0.72);
  font-size: clamp(0.97rem, 1.25vw, 1.06rem);
  line-height: 1.72;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.9rem;
}

.hero-actions .hero-wa-link {
  flex-basis: 100%;
  margin-top: 0.3rem;
  font-size: 0.82rem;
}

.hero-trust {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.55rem 1.15rem;
  margin-top: 1.5rem;
  list-style: none;
  color: rgba(216, 232, 252, 0.68);
  font-size: 0.76rem;
}

.hero-trust li {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.hero-trust i {
  color: #38bdf8;
  font-size: 0.9rem;
}

.hero-note {
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
  max-width: 520px;
  margin-top: 1.25rem;
  color: rgba(203, 222, 245, 0.42);
  font-size: 0.71rem;
  line-height: 1.55;
}

.hero-note i {
  margin-top: 0.12rem;
  font-size: 0.8rem;
}

/* Visual del hero */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 480px;
  min-height: 620px;
  margin-left: auto;
  padding: 0.5rem 0 2rem;
  isolation: isolate;
}

.hero-visual::before,
.hero-visual::after {
  content: "";
  position: absolute;
  z-index: -1;
  border: 1px solid rgba(125, 211, 252, 0.08);
  border-radius: 50%;
  pointer-events: none;
}

.hero-visual::before {
  width: 540px;
  height: 540px;
}

.hero-visual::after {
  width: 410px;
  height: 410px;
  border-color: rgba(125, 211, 252, 0.06);
}

.hero-visual-glow {
  position: absolute;
  z-index: -1;
  width: 380px;
  height: 480px;
  background: radial-gradient(ellipse, rgba(37, 99, 235, 0.42), rgba(56, 189, 248, 0.08) 45%, transparent 70%);
  filter: blur(42px);
}

.visual-sample {
  position: absolute;
  top: 0.35rem;
  right: 1.4rem;
  z-index: 6;
  padding: 0.28rem 0.58rem;
  color: rgba(214, 233, 255, 0.55);
  background: rgba(8, 16, 34, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  font-size: 0.61rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.phone-shell {
  position: relative;
  z-index: 3;
  width: 292px;
  height: 590px;
  padding: 9px;
  background: linear-gradient(160deg, #26344f 0%, #0d172b 40%, #050a14 100%);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 47px;
  box-shadow:
    0 50px 110px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(56, 189, 248, 0.09),
    inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  animation: phoneFloat 7s ease-in-out infinite;
}

.phone-button {
  position: absolute;
  width: 3px;
  background: linear-gradient(180deg, #31415e, #121d32);
  border-radius: 2px;
}

.phone-button-volume {
  top: 128px;
  left: -3px;
  height: 58px;
}

.phone-button-power {
  top: 150px;
  right: -3px;
  height: 74px;
}

.phone-screen {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  padding: 0 15px 14px;
  color: #0b152b;
  background:
    radial-gradient(ellipse at 88% 4%, rgba(56, 189, 248, 0.2), transparent 38%),
    linear-gradient(180deg, #f9fcff 0%, #edf4ff 100%);
  border-radius: 39px;
  overflow: hidden;
}

.phone-screen::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.5) 45%, transparent 60%);
  transform: translateX(-120%);
  animation: phoneSheen 9s ease-in-out infinite;
}

.phone-notch {
  position: absolute;
  top: 8px;
  left: 50%;
  z-index: 2;
  width: 88px;
  height: 22px;
  background: #070c17;
  border-radius: 999px;
  transform: translateX(-50%);
}

.phone-notch::after {
  content: "";
  position: absolute;
  top: 8px;
  right: 19px;
  width: 5px;
  height: 5px;
  background: #1c2c48;
  border: 1px solid #0b1424;
  border-radius: 50%;
}

.phone-status {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 0.3rem 0;
  color: #26364e;
  font-size: 0.59rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.phone-status-icons {
  display: inline-flex;
  align-items: center;
  gap: 0.22rem;
  font-size: 0.7rem;
}

.app-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem;
  margin-top: 0.65rem;
}

.app-brand {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.app-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 29px;
  height: 29px;
  background: #0a1224;
  border-radius: 8px;
}

.app-brand strong {
  display: block;
  color: #0b152b;
  font-family: var(--sf-font-display);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.2;
}

.app-brand small {
  display: block;
  margin-top: 0.1rem;
  color: #7c8ca3;
  font-size: 0.52rem;
  line-height: 1.3;
}

.app-demo-dot {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.2rem 0.4rem;
  color: #2563eb;
  background: rgba(37, 99, 235, 0.07);
  border: 1px solid rgba(37, 99, 235, 0.12);
  border-radius: 999px;
  font-size: 0.48rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.app-demo-dot span {
  width: 4px;
  height: 4px;
  background: #22b95e;
  border-radius: 50%;
}

.phone-result-card {
  position: relative;
  margin-top: 0.8rem;
  padding: 0.85rem 0.75rem 0.9rem;
  text-align: center;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(37, 99, 235, 0.12);
  border-radius: 18px;
  box-shadow: 0 10px 24px rgba(36, 75, 137, 0.07);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.phone-result-kicker {
  display: block;
  color: #7c8ca3;
  font-size: 0.5rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.phone-gauge {
  position: relative;
  display: grid;
  place-items: center;
  width: 112px;
  height: 112px;
  margin: 0.45rem auto 0.35rem;
  background: conic-gradient(#2563eb 0 62%, #dce9ff 62% 100%);
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(37, 99, 235, 0.06);
}

.phone-gauge::before {
  content: "";
  position: absolute;
  inset: 8px;
  background: #fdfefe;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(37, 99, 235, 0.07);
}

.phone-gauge-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: baseline;
  gap: 1px;
  color: #0b152b;
}

.phone-gauge-inner strong {
  font-family: var(--sf-font-display);
  font-size: 1.9rem;
  font-weight: 700;
  letter-spacing: -0.06em;
  line-height: 1;
}

.phone-gauge-inner span {
  color: #8191a8;
  font-size: 0.58rem;
  font-weight: 600;
}

.priority-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.24rem 0.52rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.4;
}

.priority-pill::before {
  content: "";
  width: 4px;
  height: 4px;
  background: currentColor;
  border-radius: 50%;
}

.priority-pill-medium {
  color: #a16207;
  background: #fffbeb;
  border-color: rgba(217, 119, 6, 0.16);
}

.phone-result-card p {
  max-width: 190px;
  margin: 0.45rem auto 0;
  color: #6b7c92;
  font-size: 0.54rem;
  line-height: 1.5;
}

.phone-block {
  margin-top: 0.75rem;
}

.phone-block-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  color: #8191a8;
  font-size: 0.48rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.phone-block-head span:last-child {
  color: #2563eb;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}

.phone-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.28rem;
  margin-top: 0.4rem;
}

.phone-chips span {
  display: inline-flex;
  align-items: center;
  gap: 0.24rem;
  padding: 0.25rem 0.45rem;
  color: #2e4b78;
  background: #ffffff;
  border: 1px solid rgba(37, 99, 235, 0.12);
  border-radius: 6px;
  font-size: 0.5rem;
  font-weight: 600;
}

.phone-chips i {
  color: #2563eb;
  font-size: 0.58rem;
}

.phone-report-mini {
  padding: 0.55rem 0.6rem;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(37, 99, 235, 0.09);
  border-radius: 10px;
}

.mini-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.45rem;
  padding: 0.24rem 0;
  color: #536982;
  font-size: 0.48rem;
  font-weight: 500;
}

.mini-row > span:first-child {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  white-space: nowrap;
}

.mini-row i {
  color: #2563eb;
  font-size: 0.55rem;
}

.mini-bar {
  display: block;
  width: 70px;
  height: 4px;
  background: #e6eefc;
  border-radius: 99px;
  overflow: hidden;
}

.mini-bar span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #38bdf8, #2563eb);
  border-radius: inherit;
}

.mini-level-74 {
  width: 74%;
}

.mini-level-58 {
  width: 58%;
}

.mini-level-32 {
  width: 32%;
}

.phone-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  margin-top: 0.65rem;
  padding: 0.62rem;
  color: #ffffff;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  border-radius: 8px;
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  box-shadow: 0 8px 16px rgba(37, 99, 235, 0.22);
}

.phone-cta i {
  font-size: 0.6rem;
}

.phone-footnote {
  margin-top: 0.5rem;
  color: #91a0b5;
  font-size: 0.45rem;
  text-align: center;
}

.float-card {
  position: absolute;
  z-index: 6;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.62rem 0.78rem;
  color: #f3f9ff;
  background: rgba(10, 20, 40, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 13px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.32);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.float-card-local {
  bottom: 122px;
  left: -12px;
}

.float-card-engine {
  top: 150px;
  right: -16px;
}

.float-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 31px;
  height: 31px;
  color: #4ade80;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.16);
  border-radius: 8px;
  font-size: 0.9rem;
}

.float-icon-cyan {
  color: #7dd3fc;
  background: rgba(56, 189, 248, 0.1);
  border-color: rgba(56, 189, 248, 0.16);
}

.float-card strong {
  display: block;
  color: #f0f7ff;
  font-size: 0.67rem;
  font-weight: 600;
  line-height: 1.35;
}

.float-card span:not(.float-icon) {
  display: block;
  margin-top: 0.1rem;
  color: rgba(214, 233, 255, 0.5);
  font-size: 0.56rem;
  line-height: 1.35;
}

.hero-stats {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 2.2rem;
  border-top: 1px solid rgba(171, 205, 255, 0.11);
}

.hero-stat {
  display: flex;
  align-items: baseline;
  gap: 0.55rem;
  padding: 1.35rem 1.5rem 1.5rem;
  border-left: 1px solid rgba(171, 205, 255, 0.08);
}

.hero-stat:first-child {
  padding-left: 0;
  border-left: 0;
}

.hero-stat strong {
  color: #f5faff;
  font-family: var(--sf-font-display);
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
}

.hero-stat span {
  color: rgba(209, 228, 251, 0.5);
  font-size: 0.68rem;
  line-height: 1.4;
}

@keyframes badgePulse {
  0% { transform: scale(0.8); opacity: 0.8; }
  70%, 100% { transform: scale(1.8); opacity: 0; }
}

@keyframes phoneFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

@keyframes phoneSheen {
  0%, 72% { transform: translateX(-120%); }
  88%, 100% { transform: translateX(120%); }
}

@media (prefers-reduced-motion: reduce) {
  .phone-shell,
  .badge-pulse::after,
  .phone-screen::before {
    animation: none !important;
  }
}

/* ==========================================================================
   06. Secciones y encabezados
   ========================================================================== */
.section {
  position: relative;
  padding: clamp(4.5rem, 8vw, 7rem) 0;
  background: var(--sf-bg);
}

.section-head {
  margin-bottom: clamp(2.2rem, 4vw, 3.2rem);
}

.section-head-split {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  align-items: end;
  gap: 2.5rem 4rem;
}

.section-head-center {
  max-width: 760px;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.9rem;
  color: var(--sf-blue);
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.17em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow-line {
  display: inline-block;
  width: 20px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}

.eyebrow-light {
  color: #7dd3fc;
}

.section-title {
  max-width: 720px;
  color: var(--sf-ink);
  font-size: clamp(1.95rem, 3.4vw, 2.85rem);
  font-weight: 600;
  line-height: 1.14;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.section-head-center .section-title {
  margin-right: auto;
  margin-left: auto;
}

.section-lead {
  max-width: 620px;
  color: var(--sf-muted);
  font-size: 0.94rem;
  line-height: 1.72;
}

.section-head-split .section-lead {
  padding-bottom: 0.25rem;
}

.section-head-center .section-lead {
  margin: 1.1rem auto 0;
  max-width: 650px;
}

.section-head-light .section-title {
  color: #f4f9ff;
}

.section-head-light .section-lead {
  color: rgba(214, 233, 255, 0.62);
}

.header-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.35rem;
}

.header-chips span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.6rem;
  color: var(--sf-muted);
  background: var(--sf-card);
  border: 1px solid var(--sf-line);
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 500;
}

.header-chips i {
  color: var(--sf-blue);
  font-size: 0.76rem;
}

/* ==========================================================================
   07. Servicios
   ========================================================================== */
.section-services {
  background: linear-gradient(180deg, var(--sf-bg) 0%, var(--sf-bg-soft) 100%);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem;
}

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 252px;
  padding: 1.65rem;
  background: var(--sf-card);
  border: 1px solid var(--sf-line);
  border-radius: 20px;
  box-shadow: var(--sf-shadow-sm);
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(37, 99, 235, 0.35), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(37, 99, 235, 0.2);
  box-shadow: 0 22px 50px rgba(8, 16, 34, 0.09);
}

.service-card:hover::before {
  opacity: 1;
}

.service-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  color: var(--sf-blue);
  background: var(--sf-blue-soft);
  border: 1px solid rgba(37, 99, 235, 0.1);
  border-radius: 13px;
  font-size: 1.25rem;
}

.service-index {
  color: var(--sf-muted-2);
  font-family: var(--sf-font-display);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  opacity: 0.65;
}

.service-card h3 {
  margin: 1.1rem 0 0.55rem;
  color: var(--sf-ink);
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.02em;
}

.service-card p {
  color: var(--sf-muted);
  font-size: 0.82rem;
  line-height: 1.65;
}

.service-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  margin-top: auto;
  padding-top: 1.2rem;
}

.service-tag {
  color: var(--sf-muted-2);
  font-size: 0.68rem;
  font-weight: 500;
}

.service-foot a {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  color: var(--sf-blue);
  font-size: 0.73rem;
  font-weight: 600;
}

.service-foot a:hover {
  color: var(--sf-blue-dark);
}

.service-foot a i {
  font-size: 0.72rem;
  transition: transform 0.2s ease;
}

.service-foot a:hover i {
  transform: translate(1px, -1px);
}

.service-card-featured {
  color: #eef6ff;
  background:
    radial-gradient(ellipse at 90% 8%, rgba(56, 189, 248, 0.18), transparent 48%),
    linear-gradient(150deg, #0c1a34, #081022 72%);
  border-color: rgba(56, 189, 248, 0.17);
  box-shadow: 0 20px 44px rgba(6, 12, 25, 0.2);
}

.service-card-featured:hover {
  border-color: rgba(56, 189, 248, 0.34);
  box-shadow: 0 26px 58px rgba(6, 12, 25, 0.28);
}

.service-card-featured::before {
  background: linear-gradient(90deg, transparent, rgba(56, 189, 248, 0.7), transparent);
  opacity: 1;
}

.service-glow {
  position: absolute;
  top: -50px;
  right: -40px;
  width: 190px;
  height: 190px;
  background: rgba(56, 189, 248, 0.12);
  filter: blur(38px);
  border-radius: 50%;
}

.service-icon-cyan {
  color: #7dd3fc;
  background: rgba(56, 189, 248, 0.1);
  border-color: rgba(56, 189, 248, 0.16);
}

.featured-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  align-self: flex-start;
  margin-top: 0.85rem;
  padding: 0.22rem 0.48rem;
  color: #a5e3ff;
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.16);
  border-radius: 5px;
  font-size: 0.61rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.service-card-featured h3 {
  margin-top: 0.55rem;
  color: #f4f9ff;
}

.service-card-featured p {
  color: rgba(215, 233, 253, 0.64);
}

.service-card-featured .service-index {
  color: rgba(125, 211, 252, 0.5);
}

.service-card-featured .service-tag {
  color: rgba(215, 233, 253, 0.44);
}

.service-featured-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.55rem 0.7rem;
  color: #ffffff !important;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  border: 1px solid rgba(147, 197, 253, 0.24);
  border-radius: 8px;
  font-size: 0.72rem !important;
  font-weight: 600;
  box-shadow: 0 8px 18px rgba(37, 99, 235, 0.24);
}

.service-featured-link:hover {
  background: linear-gradient(135deg, #2f6ff5, #1e40af) !important;
  color: #ffffff !important;
}

.service-featured-link:hover i {
  transform: translateX(2px) !important;
}

.services-note {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  max-width: 760px;
  margin: 1.7rem 0 0;
  color: var(--sf-muted-2);
  font-size: 0.76rem;
  line-height: 1.6;
}

.services-note i {
  margin-top: 0.15rem;
  color: var(--sf-blue);
  font-size: 0.82rem;
}

/* ==========================================================================
   08. Diagnóstico
   ========================================================================== */
.section-diagnosis {
  background:
    radial-gradient(ellipse 60% 35% at 100% 0%, rgba(56, 189, 248, 0.07), transparent 70%),
    radial-gradient(ellipse 45% 30% at 0% 40%, rgba(37, 99, 235, 0.06), transparent 70%),
    var(--sf-bg-soft);
}

.section-diagnosis::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(circle at 1px 1px, rgba(37, 99, 235, 0.09) 1px, transparent 0);
  background-size: 26px 26px;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 18%, #000 82%, transparent);
  mask-image: linear-gradient(180deg, transparent, #000 18%, #000 82%, transparent);
  opacity: 0.5;
}

.section-diagnosis .container {
  position: relative;
  z-index: 1;
}

.noscript-box {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  margin-bottom: 1.25rem;
  padding: 1rem 1.1rem;
  color: #92400e;
  background: #fffbeb;
  border: 1px solid rgba(217, 119, 6, 0.24);
  border-radius: 12px;
  font-size: 0.85rem;
}

.noscript-box i {
  margin-top: 0.15rem;
  font-size: 1.1rem;
}

.diagnosis-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 338px;
  gap: 1.35rem;
  align-items: start;
}

.wizard {
  position: relative;
  scroll-margin-top: calc(var(--sf-nav-h) + 14px);
  background: var(--sf-card);
  border: 1px solid var(--sf-line);
  border-radius: 26px;
  box-shadow: var(--sf-shadow-lg);
  overflow: hidden;
}

.wizard-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.3rem 1.55rem;
  background: var(--sf-card-2);
  border-bottom: 1px solid var(--sf-line);
}

.wizard-title {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.wizard-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  color: #ffffff;
  background: linear-gradient(135deg, #2563eb, #0891b2);
  border: 1px solid rgba(147, 197, 253, 0.3);
  border-radius: 12px;
  font-size: 1.15rem;
  box-shadow: 0 8px 18px rgba(37, 99, 235, 0.22);
}

.wizard-kicker {
  display: block;
  margin-bottom: 0.15rem;
  color: var(--sf-muted-2);
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.wizard-title h3 {
  color: var(--sf-ink);
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.local-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.28rem 0.55rem;
  color: var(--sf-muted);
  background: var(--sf-card);
  border: 1px solid var(--sf-line);
  border-radius: 999px;
  font-size: 0.64rem;
  font-weight: 500;
  white-space: nowrap;
}

.local-dot {
  width: 5px;
  height: 5px;
  background: #22b95e;
  border-radius: 50%;
  box-shadow: 0 0 0 2px rgba(34, 185, 94, 0.13);
}

.progress-track {
  display: block;
  width: 100%;
  height: 3px;
  border: 0;
  appearance: none;
  -webkit-appearance: none;
  background: var(--sf-line);
  overflow: hidden;
}

.progress-track::-webkit-progress-bar {
  background: transparent;
}

.progress-track::-webkit-progress-value {
  background: linear-gradient(90deg, #38bdf8, #2563eb);
  border-radius: 0 99px 99px 0;
  transition: width 0.4s ease;
}

.progress-track::-moz-progress-bar {
  background: linear-gradient(90deg, #38bdf8, #2563eb);
  border-radius: 0 99px 99px 0;
}

.stepper {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 1rem 1.25rem 0.9rem;
  border-bottom: 1px solid var(--sf-line);
  list-style: none;
}

.stepper::before {
  content: "";
  position: absolute;
  top: 28px;
  right: 17%;
  left: 17%;
  height: 1px;
  background: var(--sf-line-strong);
}

.step {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  min-width: 0;
}

.step-dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 27px;
  height: 27px;
  color: var(--sf-muted-2);
  background: var(--sf-card-2);
  border: 1px solid var(--sf-line-strong);
  border-radius: 50%;
  font-family: var(--sf-font-display);
  font-size: 0.64rem;
  font-weight: 600;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.step-dot .bi-check-lg {
  display: none;
  font-size: 0.7rem;
}

.step-label {
  color: var(--sf-muted-2);
  font-size: 0.68rem;
  font-weight: 500;
  line-height: 1.3;
  text-align: center;
  transition: color 0.25s ease;
}

.step.is-active .step-dot {
  color: #ffffff;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  border-color: var(--sf-blue);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.11);
}

.step.is-active .step-label {
  color: var(--sf-ink);
  font-weight: 600;
}

.step.is-done .step-dot {
  color: var(--sf-blue);
  background: var(--sf-blue-soft);
  border-color: rgba(37, 99, 235, 0.2);
}

.step.is-done .step-dot > span {
  display: none;
}

.step.is-done .step-dot .bi-check-lg {
  display: inline-block;
}

.step.is-done .step-label {
  color: var(--sf-muted);
}

.wizard-body {
  min-height: 430px;
  padding: clamp(1.3rem, 2.6vw, 2rem);
}

.step-panel[hidden] {
  display: none !important;
}

.step-panel.is-active {
  animation: stepIn 0.35s ease both;
}

@keyframes stepIn {
  from { opacity: 0; transform: translateY(7px); }
  to { opacity: 1; transform: translateY(0); }
}

.step-heading {
  margin-bottom: 1.5rem;
}

.step-kicker {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--sf-blue);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.step-heading h3 {
  margin: 0 0 0.45rem;
  color: var(--sf-ink);
  font-size: clamp(1.3rem, 2.1vw, 1.55rem);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.03em;
}

.step-heading h3:focus {
  outline: none;
}

.step-heading p {
  max-width: 590px;
  color: var(--sf-muted);
  font-size: 0.84rem;
  line-height: 1.65;
}

.os-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}

.os-option {
  position: relative;
  display: block;
  cursor: pointer;
}

.os-option input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.os-option-box {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.8rem 0.9rem;
  background: var(--sf-field);
  border: 1px solid var(--sf-line-strong);
  border-radius: 12px;
  transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.os-option:hover .os-option-box {
  border-color: rgba(37, 99, 235, 0.32);
}

.os-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  color: var(--sf-muted);
  background: var(--sf-card);
  border: 1px solid var(--sf-line);
  border-radius: 9px;
  font-size: 1.05rem;
}

.os-option-box strong {
  display: block;
  color: var(--sf-ink);
  font-size: 0.84rem;
  font-weight: 600;
  line-height: 1.3;
}

.os-option-box small {
  display: block;
  margin-top: 0.08rem;
  color: var(--sf-muted-2);
  font-size: 0.66rem;
  line-height: 1.35;
}

.os-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  margin-left: auto;
  flex-shrink: 0;
  color: transparent;
  background: transparent;
  border: 1px solid var(--sf-line-strong);
  border-radius: 50%;
  font-size: 0.65rem;
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.os-option input:checked + .os-option-box {
  background: var(--sf-blue-soft);
  border-color: rgba(37, 99, 235, 0.45);
  box-shadow: inset 0 0 0 1px rgba(37, 99, 235, 0.16);
}

.os-option input:checked + .os-option-box .os-icon {
  color: var(--sf-blue);
  border-color: rgba(37, 99, 235, 0.2);
}

.os-option input:checked + .os-option-box .os-check {
  color: #ffffff;
  background: var(--sf-blue);
  border-color: var(--sf-blue);
}

.os-option input:focus-visible + .os-option-box {
  outline: 3px solid rgba(56, 189, 248, 0.5);
  outline-offset: 2px;
}

.symptom-fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.symptom-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
}

.symptom-option {
  position: relative;
  display: block;
  cursor: pointer;
}

.symptom-option input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.symptom-box {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-height: 66px;
  padding: 0.7rem 0.8rem;
  background: var(--sf-field);
  border: 1px solid var(--sf-line);
  border-radius: 12px;
  transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.symptom-option:hover .symptom-box {
  border-color: rgba(37, 99, 235, 0.3);
  background: var(--sf-card);
}

.symptom-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  color: var(--sf-muted);
  background: var(--sf-card);
  border: 1px solid var(--sf-line);
  border-radius: 8px;
  font-size: 0.94rem;
  transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.symptom-text {
  color: var(--sf-ink-soft);
  font-size: 0.78rem;
  font-weight: 500;
  line-height: 1.4;
}

.symptom-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  margin-left: auto;
  flex-shrink: 0;
  color: transparent;
  border: 1px solid var(--sf-line-strong);
  border-radius: 5px;
  font-size: 0.66rem;
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.symptom-option input:checked + .symptom-box {
  background: var(--sf-blue-soft);
  border-color: rgba(37, 99, 235, 0.44);
  box-shadow: inset 0 0 0 1px rgba(37, 99, 235, 0.13);
}

.symptom-option input:checked + .symptom-box .symptom-icon {
  color: var(--sf-blue);
  background: #ffffff;
  border-color: rgba(37, 99, 235, 0.2);
}

.symptom-option input:checked + .symptom-box .symptom-check {
  color: #ffffff;
  background: var(--sf-blue);
  border-color: var(--sf-blue);
}

.symptom-option input:focus-visible + .symptom-box {
  outline: 3px solid rgba(56, 189, 248, 0.5);
  outline-offset: 2px;
}

.selection-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1rem;
  padding-top: 0.9rem;
  border-top: 1px dashed var(--sf-line-strong);
  color: var(--sf-muted-2);
  font-size: 0.72rem;
}

.selection-count {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--sf-muted);
  font-weight: 500;
}

.selection-count i {
  color: var(--sf-blue);
}

.selection-count.has-selection {
  color: var(--sf-blue);
  font-weight: 600;
}

.context-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6rem;
}

.context-option {
  position: relative;
  display: block;
  cursor: pointer;
}

.context-option input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.context-box {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  height: 100%;
  padding: 0.75rem 0.85rem;
  color: var(--sf-muted);
  background: var(--sf-field);
  border: 1px solid var(--sf-line);
  border-radius: 10px;
  font-size: 0.76rem;
  line-height: 1.45;
  transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.context-box i {
  margin-top: 0.1rem;
  color: var(--sf-muted-2);
  font-size: 0.92rem;
}

.context-option:hover .context-box {
  border-color: rgba(37, 99, 235, 0.28);
}

.context-option input:checked + .context-box {
  color: var(--sf-ink);
  background: var(--sf-blue-soft);
  border-color: rgba(37, 99, 235, 0.35);
}

.context-option input:checked + .context-box i {
  color: var(--sf-blue);
}

.context-option input:focus-visible + .context-box {
  outline: 3px solid rgba(56, 189, 248, 0.5);
  outline-offset: 2px;
}

.wizard-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1.1rem 1.55rem;
  background: var(--sf-card-2);
  border-top: 1px solid var(--sf-line);
}

.foot-hint {
  color: var(--sf-muted-2);
  font-size: 0.72rem;
}

/* Carga del análisis */
.analysis-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 430px;
  padding: 1.5rem 0.5rem;
  text-align: center;
}

.loading-orb {
  position: relative;
  display: grid;
  place-items: center;
  width: 88px;
  height: 88px;
  margin-bottom: 1.3rem;
  color: var(--sf-blue);
  background: var(--sf-blue-soft);
  border: 1px solid rgba(37, 99, 235, 0.15);
  border-radius: 50%;
  font-size: 1.8rem;
}

.loading-ring {
  position: absolute;
  border: 1px solid rgba(37, 99, 235, 0.2);
  border-radius: 50%;
  animation: loadingPulse 2.8s ease-out infinite;
}

.loading-ring-1 {
  inset: -14px;
}

.loading-ring-2 {
  inset: -28px;
  animation-delay: 0.7s;
}

@keyframes loadingPulse {
  0% { transform: scale(0.92); opacity: 0.8; }
  70%, 100% { transform: scale(1.18); opacity: 0; }
}

.analysis-loading .step-kicker {
  margin-bottom: 0.4rem;
}

.analysis-loading h3 {
  font-size: clamp(1.35rem, 2.4vw, 1.72rem);
  font-weight: 600;
}

.analysis-stage {
  margin-top: 0.45rem;
  color: var(--sf-muted);
  font-size: 0.84rem;
}

.analysis-progress {
  display: block;
  width: min(270px, 80%);
  height: 5px;
  margin-top: 1.25rem;
  border: 0;
  appearance: none;
  -webkit-appearance: none;
  background: var(--sf-line);
  border-radius: 99px;
  overflow: hidden;
}

.analysis-progress::-webkit-progress-bar {
  background: transparent;
}

.analysis-progress::-webkit-progress-value {
  background: linear-gradient(90deg, #38bdf8, #2563eb);
  border-radius: 99px;
  transition: width 0.45s ease;
}

.analysis-progress::-moz-progress-bar {
  background: linear-gradient(90deg, #38bdf8, #2563eb);
  border-radius: 99px;
}

.analysis-steps {
  display: grid;
  gap: 0.45rem;
  width: min(385px, 100%);
  margin-top: 1.5rem;
  padding: 1rem;
  text-align: left;
  background: var(--sf-card-2);
  border: 1px solid var(--sf-line);
  border-radius: 14px;
  list-style: none;
}

.analysis-steps li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--sf-muted-2);
  font-size: 0.74rem;
  line-height: 1.4;
  transition: color 0.25s ease;
}

.analysis-step-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 23px;
  height: 23px;
  flex-shrink: 0;
  background: var(--sf-card);
  border: 1px solid var(--sf-line);
  border-radius: 50%;
  font-size: 0.7rem;
}

.analysis-steps li.is-active {
  color: var(--sf-ink);
  font-weight: 500;
}

.analysis-steps li.is-active .analysis-step-icon {
  color: var(--sf-blue);
  border-color: rgba(37, 99, 235, 0.28);
}

.analysis-steps li.is-done {
  color: var(--sf-muted);
}

.analysis-steps li.is-done .analysis-step-icon {
  color: #15803d;
  background: rgba(34, 197, 94, 0.1);
  border-color: rgba(34, 197, 94, 0.16);
}

.analysis-note {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1.2rem;
  color: var(--sf-muted-2);
  font-size: 0.69rem;
}

.analysis-note i {
  color: var(--sf-blue);
}

/* Informe */
.report-output {
  animation: stepIn 0.4s ease both;
}

.report-print-head {
  display: none;
}

.report-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.25rem;
  padding-bottom: 1.15rem;
  border-bottom: 1px solid var(--sf-line);
}

.report-kicker {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.4rem;
  color: var(--sf-blue);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1.4;
  text-transform: uppercase;
}

.report-kicker span {
  color: var(--sf-muted-2);
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}

.report-top h3 {
  color: var(--sf-ink);
  font-size: clamp(1.4rem, 2.4vw, 1.75rem);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.03em;
}

.report-summary {
  max-width: 630px;
  margin-top: 0.55rem;
  color: var(--sf-muted);
  font-size: 0.84rem;
  line-height: 1.7;
}

.priority-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  flex-shrink: 0;
  padding: 0.5rem 0.75rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.3;
  white-space: nowrap;
}

.priority-badge::before {
  content: "";
  width: 6px;
  height: 6px;
  background: currentColor;
  border-radius: 50%;
  box-shadow: 0 0 0 3px currentColor;
  opacity: 0.8;
}

.priority-low {
  color: #15803d;
  background: rgba(34, 197, 94, 0.09);
  border-color: rgba(34, 197, 94, 0.18);
}

.priority-medium {
  color: #a16207;
  background: rgba(245, 158, 11, 0.1);
  border-color: rgba(217, 119, 6, 0.18);
}

.priority-high {
  color: #b91c1c;
  background: rgba(239, 68, 68, 0.08);
  border-color: rgba(239, 68, 68, 0.18);
}

.report-overview {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 1.2rem;
  align-items: center;
  margin-top: 1.25rem;
  padding: 1.2rem;
  background: var(--sf-card-2);
  border: 1px solid var(--sf-line);
  border-radius: 16px;
}

.report-score {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  text-align: center;
}

.score-ring {
  position: relative;
  display: grid;
  place-items: center;
  width: 132px;
  height: 132px;
  background: conic-gradient(var(--ring-color, #2563eb) 0 var(--score, 50%), rgba(37, 99, 235, 0.11) var(--score, 50%) 100%);
  border-radius: 50%;
}

.score-ring::before {
  content: "";
  position: absolute;
  inset: 10px;
  background: var(--sf-card);
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px var(--sf-line);
}

.score-ring-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: baseline;
  gap: 1px;
}

.score-ring-inner strong {
  color: var(--sf-ink);
  font-family: var(--sf-font-display);
  font-size: 2.1rem;
  font-weight: 700;
  letter-spacing: -0.06em;
  line-height: 1;
}

.score-ring-inner span {
  color: var(--sf-muted-2);
  font-size: 0.65rem;
  font-weight: 500;
}

.score-caption {
  color: var(--sf-muted-2);
  font-size: 0.68rem;
  line-height: 1.4;
}

.report-overview-copy h4 {
  margin-bottom: 0.45rem;
  color: var(--sf-ink);
  font-size: 0.94rem;
  font-weight: 600;
}

.report-overview-copy p {
  color: var(--sf-muted);
  font-size: 0.79rem;
  line-height: 1.65;
}

.report-device-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem 1.2rem;
  margin-top: 0.95rem;
  padding-top: 0.9rem;
  border-top: 1px dashed var(--sf-line-strong);
}

.report-fact {
  min-width: 0;
}

.report-fact dt {
  color: var(--sf-muted-2);
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.report-fact dd {
  margin: 0.1rem 0 0;
  color: var(--sf-ink);
  font-size: 0.79rem;
  font-weight: 500;
  overflow-wrap: anywhere;
}

.report-section {
  margin-top: 1.6rem;
}

.report-section h4 {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.75rem;
  color: var(--sf-ink);
  font-size: 0.93rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.report-section h4 i {
  color: var(--sf-blue);
  font-size: 0.92rem;
}

.report-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.report-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.32rem 0.58rem;
  color: var(--sf-ink-soft);
  background: var(--sf-card-2);
  border: 1px solid var(--sf-line);
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 500;
  line-height: 1.4;
}

.report-tag i {
  color: var(--sf-blue);
  font-size: 0.75rem;
}

.report-tag-signal {
  color: #9a3412;
  background: rgba(245, 158, 11, 0.08);
  border-color: rgba(217, 119, 6, 0.18);
}

.report-tag-signal i {
  color: #c2410c;
}

.report-description {
  padding: 0.8rem 0.95rem;
  color: var(--sf-ink-soft);
  background: var(--sf-card-2);
  border: 1px solid var(--sf-line);
  border-left: 2px solid rgba(37, 99, 235, 0.45);
  border-radius: 0 10px 10px 0;
  font-size: 0.79rem;
  line-height: 1.65;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.report-section-note {
  margin: -0.35rem 0 0.7rem;
  color: var(--sf-muted-2);
  font-size: 0.68rem;
  line-height: 1.5;
}

.report-empty {
  color: var(--sf-muted);
  font-size: 0.79rem;
  line-height: 1.6;
}

.report-two-col {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 1.5rem;
  align-items: start;
}

.causes-list {
  display: grid;
  gap: 0.6rem;
}

.cause-item {
  padding: 0.8rem 0.9rem;
  background: var(--sf-card-2);
  border: 1px solid var(--sf-line);
  border-left: 2px solid rgba(37, 99, 235, 0.55);
  border-radius: 0 10px 10px 0;
}

.cause-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}

.cause-head strong {
  color: var(--sf-ink);
  font-size: 0.79rem;
  font-weight: 600;
  line-height: 1.4;
}

.cause-tag {
  flex-shrink: 0;
  padding: 0.12rem 0.4rem;
  color: var(--sf-blue);
  background: var(--sf-blue-soft);
  border-radius: 4px;
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.5;
  white-space: nowrap;
}

.cause-tag.tag-high {
  color: #b91c1c;
  background: rgba(239, 68, 68, 0.08);
}

.cause-tag.tag-medium {
  color: #a16207;
  background: rgba(245, 158, 11, 0.1);
}

.cause-item p {
  margin-top: 0.25rem;
  color: var(--sf-muted);
  font-size: 0.74rem;
  line-height: 1.55;
}

.chart-card {
  padding: 0.9rem;
  background: var(--sf-card-2);
  border: 1px solid var(--sf-line);
  border-radius: 12px;
}

.chart-card h5 {
  margin-bottom: 0.2rem;
  color: var(--sf-ink);
  font-family: var(--sf-font-body);
  font-size: 0.74rem;
  font-weight: 600;
}

.chart-card p {
  color: var(--sf-muted-2);
  font-size: 0.64rem;
  line-height: 1.45;
}

.chart-canvas-wrap {
  position: relative;
  height: 190px;
  margin-top: 0.65rem;
}

.chart-canvas-wrap canvas {
  max-width: 100%;
}

.chart-fallback {
  display: grid;
  gap: 0.45rem;
  margin-top: 0.75rem;
}

.chart-fallback-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.45rem;
  color: var(--sf-muted);
  font-size: 0.68rem;
}

.chart-fallback-bar {
  grid-column: 1 / -1;
  height: 4px;
  background: var(--sf-line);
  border-radius: 99px;
  overflow: hidden;
}

.chart-fallback-bar span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #38bdf8, #2563eb);
  border-radius: inherit;
}

.report-list {
  display: grid;
  gap: 0.55rem;
  list-style: none;
}

.report-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  color: var(--sf-muted);
  font-size: 0.79rem;
  line-height: 1.6;
}

.report-list li i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  margin-top: 0.16rem;
  flex-shrink: 0;
  color: #15803d;
  background: rgba(34, 197, 94, 0.09);
  border-radius: 50%;
  font-size: 0.6rem;
}

.report-list.report-list-shield li i {
  color: var(--sf-blue);
  background: var(--sf-blue-soft);
}

.report-callout {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  margin-top: 1.4rem;
  padding: 0.9rem 1rem;
  background: rgba(37, 99, 235, 0.055);
  border: 1px solid rgba(37, 99, 235, 0.14);
  border-radius: 12px;
}

.report-callout-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  color: var(--sf-blue);
  background: var(--sf-card);
  border: 1px solid rgba(37, 99, 235, 0.15);
  border-radius: 8px;
  font-size: 0.92rem;
}

.report-callout h5 {
  margin-bottom: 0.25rem;
  color: var(--sf-ink);
  font-family: var(--sf-font-body);
  font-size: 0.77rem;
  font-weight: 600;
}

.report-callout p,
.report-callout ul {
  color: var(--sf-muted);
  font-size: 0.75rem;
  line-height: 1.6;
}

.report-callout ul {
  padding-left: 1rem;
}

.report-callout li + li {
  margin-top: 0.2rem;
}

.report-callout-safety {
  background: rgba(245, 158, 11, 0.065);
  border-color: rgba(217, 119, 6, 0.2);
}

.report-callout-safety .report-callout-icon {
  color: #b45309;
  border-color: rgba(217, 119, 6, 0.18);
}

.report-disclaimer {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  margin-top: 1.3rem;
  padding-top: 1rem;
  color: var(--sf-muted-2);
  border-top: 1px solid var(--sf-line);
  font-size: 0.68rem;
  line-height: 1.6;
}

.report-disclaimer i {
  margin-top: 0.12rem;
  flex-shrink: 0;
  color: var(--sf-muted-2);
}

.report-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.3rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--sf-line);
}

.report-actions .btn-sf {
  font-size: 0.8rem;
  padding: 0.68rem 0.85rem;
}

.report-actions-note {
  margin-top: 0.65rem;
  color: var(--sf-muted-2);
  font-size: 0.68rem;
  line-height: 1.55;
}

/* Aside del diagnóstico */
.diagnosis-aside {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.aside-card {
  padding: 1.25rem;
  background: var(--sf-card);
  border: 1px solid var(--sf-line);
  border-radius: 18px;
  box-shadow: var(--sf-shadow-sm);
}

.aside-card-accent {
  background:
    radial-gradient(ellipse at 100% 0%, rgba(56, 189, 248, 0.08), transparent 55%),
    var(--sf-card);
}

.aside-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  color: var(--sf-blue);
  background: var(--sf-blue-soft);
  border: 1px solid rgba(37, 99, 235, 0.1);
  border-radius: 9px;
  font-size: 0.9rem;
}

.aside-icon-cyan {
  color: #0891b2;
  background: rgba(56, 189, 248, 0.09);
  border-color: rgba(56, 189, 248, 0.15);
}

.aside-icon-green {
  color: #15803d;
  background: rgba(34, 197, 94, 0.09);
  border-color: rgba(34, 197, 94, 0.14);
}

.aside-card h4 {
  margin: 0.7rem 0 0.4rem;
  color: var(--sf-ink);
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.01em;
}

.aside-card p {
  color: var(--sf-muted);
  font-size: 0.76rem;
  line-height: 1.62;
}

.aside-list {
  display: grid;
  gap: 0.35rem;
  margin-top: 0.7rem;
  list-style: none;
}

.aside-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.35rem;
  color: var(--sf-muted);
  font-size: 0.72rem;
  line-height: 1.5;
}

.aside-list i {
  margin-top: 0.15rem;
  color: var(--sf-blue);
  font-size: 0.75rem;
}

.aside-card-tech {
  background: var(--sf-card-2);
}

.aside-tech-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.aside-mini-label {
  color: var(--sf-muted-2);
  font-size: 0.59rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.tech-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.7rem;
}

.tech-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  color: var(--sf-muted-2);
  font-size: 0.63rem;
}

.tech-meta i {
  color: var(--sf-blue);
}

.aside-card-help {
  color: #ecf5ff;
  background:
    radial-gradient(ellipse at 100% 0%, rgba(56, 189, 248, 0.16), transparent 60%),
    linear-gradient(150deg, #0d1a33, #081022);
  border-color: rgba(255, 255, 255, 0.08);
}

.aside-card-help h4 {
  color: #f4f9ff;
}

.aside-card-help p {
  color: rgba(214, 233, 255, 0.6);
}

.aside-card-help .aside-icon-green {
  color: #4ade80;
  background: rgba(34, 197, 94, 0.1);
  border-color: rgba(34, 197, 94, 0.16);
}

.aside-card-help .btn-sf-wa {
  margin-top: 0.8rem;
  font-size: 0.78rem;
  padding: 0.65rem 0.8rem;
}

.aside-location {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  margin-top: 0.55rem;
  color: rgba(214, 233, 255, 0.42);
  font-size: 0.66rem;
}

.aside-location i {
  color: #7dd3fc;
}

.aside-safety {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  padding: 0.9rem 1rem;
  color: #92400e;
  background: rgba(245, 158, 11, 0.07);
  border: 1px solid rgba(217, 119, 6, 0.18);
  border-radius: 12px;
}

.aside-safety i {
  margin-top: 0.15rem;
  flex-shrink: 0;
  color: #b45309;
  font-size: 0.9rem;
}

.aside-safety p {
  color: #8a5a12;
  font-size: 0.71rem;
  line-height: 1.55;
}

.aside-safety strong {
  font-weight: 600;
}

/* ==========================================================================
   09. Cómo funciona
   ========================================================================== */
.section-how {
  color: #eaf3ff;
  background:
    radial-gradient(ellipse 55% 60% at 15% 0%, rgba(37, 99, 235, 0.2), transparent 65%),
    radial-gradient(ellipse 45% 55% at 90% 30%, rgba(56, 189, 248, 0.1), transparent 70%),
    #070f1f;
  overflow: hidden;
}

.section-how::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(125, 211, 252, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(125, 211, 252, 0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000, transparent 80%);
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000, transparent 80%);
}

.section-how .container {
  position: relative;
  z-index: 1;
}

.process-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}

.process-grid::before {
  content: "";
  position: absolute;
  top: 150px;
  right: 8%;
  left: 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(56, 189, 248, 0.35), rgba(37, 99, 235, 0.35), transparent);
}

.process-step {
  position: relative;
  z-index: 1;
  padding: 0 0.25rem;
}

.process-number {
  display: block;
  margin-bottom: 0.75rem;
  color: rgba(125, 211, 252, 0.2);
  font-family: var(--sf-font-display);
  font-size: 2.15rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
}

.process-icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  color: #7dd3fc;
  background:
    linear-gradient(150deg, rgba(56, 189, 248, 0.13), rgba(37, 99, 235, 0.06));
  border: 1px solid rgba(56, 189, 248, 0.24);
  border-radius: 16px;
  font-size: 1.4rem;
  box-shadow: 0 0 30px rgba(37, 99, 235, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.process-step h3 {
  margin: 1rem 0 0.4rem;
  color: #f4f9ff;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.02em;
}

.process-step p {
  max-width: 235px;
  color: rgba(214, 233, 255, 0.55);
  font-size: 0.79rem;
  line-height: 1.65;
}

.process-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-top: clamp(2.5rem, 5vw, 3.8rem);
  padding: 1.35rem 1.5rem;
  background:
    radial-gradient(ellipse at 95% 10%, rgba(56, 189, 248, 0.12), transparent 50%),
    rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(125, 211, 252, 0.13);
  border-radius: 18px;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.process-cta-kicker {
  display: block;
  margin-bottom: 0.2rem;
  color: #7dd3fc;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.process-cta p {
  color: rgba(214, 233, 255, 0.66);
  font-size: 0.82rem;
  line-height: 1.55;
}

.process-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  flex-shrink: 0;
}

/* ==========================================================================
   10. Por qué elegirnos
   ========================================================================== */
.section-why {
  background: var(--sf-bg);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.why-card {
  position: relative;
  padding: 1.5rem;
  background: var(--sf-card);
  border: 1px solid var(--sf-line);
  border-radius: 18px;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.why-card:hover {
  transform: translateY(-3px);
  border-color: rgba(37, 99, 235, 0.2);
  box-shadow: var(--sf-shadow);
}

.why-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  color: var(--sf-blue);
  background: var(--sf-blue-soft);
  border: 1px solid rgba(37, 99, 235, 0.1);
  border-radius: 11px;
  font-size: 1.1rem;
}

.why-card h3 {
  margin: 1rem 0 0.4rem;
  color: var(--sf-ink);
  font-size: 0.94rem;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.02em;
}

.why-card p {
  color: var(--sf-muted);
  font-size: 0.79rem;
  line-height: 1.65;
}

.honesty-band {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1.1rem;
  margin-top: 1.2rem;
  padding: 1.35rem 1.5rem;
  color: #f2f8ff;
  background:
    radial-gradient(ellipse at 8% 0%, rgba(56, 189, 248, 0.16), transparent 48%),
    linear-gradient(140deg, #0d1a33, #071022);
  border: 1px solid rgba(125, 211, 252, 0.13);
  border-radius: 18px;
  overflow: hidden;
}

.honesty-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  color: #7dd3fc;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.18);
  border-radius: 12px;
  font-size: 1.2rem;
}

.honesty-band h3 {
  margin-bottom: 0.25rem;
  color: #f4f9ff;
  font-size: 0.94rem;
  font-weight: 600;
}

.honesty-band p {
  max-width: 650px;
  color: rgba(214, 233, 255, 0.6);
  font-size: 0.78rem;
  line-height: 1.62;
}

.honesty-band .btn-sf {
  margin-left: auto;
  flex-shrink: 0;
  font-size: 0.78rem;
  color: #f2f8ff;
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.18);
}

.honesty-band .btn-sf:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.32);
}

/* ==========================================================================
   11. Nosotros
   ========================================================================== */
.section-about {
  background:
    radial-gradient(ellipse 50% 40% at 0% 20%, rgba(37, 99, 235, 0.055), transparent 65%),
    var(--sf-bg-soft);
}

.about-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 2.5rem 4rem;
  align-items: end;
  margin-bottom: clamp(2.2rem, 4vw, 3.2rem);
}

.about-head .section-lead {
  max-width: none;
  font-size: 0.9rem;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 1.35rem;
  align-items: stretch;
}

.about-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 510px;
  padding: 1.35rem;
  color: #eef6ff;
  background:
    radial-gradient(ellipse 70% 55% at 50% 10%, rgba(37, 99, 235, 0.22), transparent 65%),
    linear-gradient(155deg, #0d1a34, #071022);
  border: 1px solid rgba(125, 211, 252, 0.12);
  border-radius: 24px;
  overflow: hidden;
}

.about-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(125, 211, 252, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(125, 211, 252, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse at center, #000, transparent 78%);
  mask-image: radial-gradient(ellipse at center, #000, transparent 78%);
}

.orbit-stage {
  position: relative;
  z-index: 1;
  flex: 1;
  display: grid;
  place-items: center;
  min-height: 380px;
  overflow: hidden;
}

.orbit-glow {
  position: absolute;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.3), transparent 68%);
  filter: blur(28px);
  border-radius: 50%;
}

.orbit-rings {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  pointer-events: none;
}

.ring {
  position: absolute;
  border: 1px solid rgba(125, 211, 252, 0.12);
  border-radius: 50%;
}

.ring-1 {
  width: 180px;
  height: 180px;
}

.ring-2 {
  width: 280px;
  height: 280px;
  border-style: dashed;
  border-color: rgba(125, 211, 252, 0.1);
  animation: orbitSpin 42s linear infinite;
}

.ring-3 {
  width: 380px;
  height: 380px;
  border-color: rgba(125, 211, 252, 0.07);
}

@keyframes orbitSpin {
  to { transform: rotate(360deg); }
}

.orbit-core {
  position: relative;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 124px;
  height: 124px;
  background: rgba(7, 16, 34, 0.72);
  border: 1px solid rgba(125, 211, 252, 0.23);
  border-radius: 32px;
  box-shadow: 0 0 70px rgba(37, 99, 235, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.09);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.orbit-core img {
  width: 96px;
  height: 96px;
  border-radius: 24px;
}

.orbit-label {
  position: absolute;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 0.32rem;
  padding: 0.4rem 0.6rem;
  color: rgba(228, 242, 255, 0.78);
  background: rgba(9, 19, 38, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  font-size: 0.66rem;
  font-weight: 500;
  line-height: 1.3;
  white-space: nowrap;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.24);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.orbit-label i {
  color: #7dd3fc;
  font-size: 0.76rem;
}

.orbit-label-1 {
  top: 12%;
  left: 3%;
}

.orbit-label-2 {
  top: 43%;
  right: 0;
}

.orbit-label-3 {
  bottom: 8%;
  left: 11%;
}

.orbit-node {
  position: absolute;
  z-index: 2;
  width: 7px;
  height: 7px;
  background: #38bdf8;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.09), 0 0 16px rgba(56, 189, 248, 0.5);
}

.orbit-node-1 {
  top: 22%;
  right: 23%;
}

.orbit-node-2 {
  bottom: 21%;
  left: 18%;
}

.orbit-node-3 {
  top: 52%;
  left: 7%;
  width: 4px;
  height: 4px;
  opacity: 0.6;
}

.orbit-caption {
  position: absolute;
  bottom: 0;
  left: 50%;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.55rem;
  color: rgba(214, 233, 255, 0.55);
  background: rgba(8, 16, 34, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 999px;
  font-size: 0.62rem;
  white-space: nowrap;
  transform: translateX(-50%);
}

.orbit-caption > span {
  width: 4px;
  height: 4px;
  background: #22b95e;
  border-radius: 50%;
}

.orbit-side-note {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.orbit-side-note i {
  margin-top: 0.1rem;
  flex-shrink: 0;
  color: #fbbf24;
  font-size: 0.95rem;
}

.orbit-side-note p {
  color: rgba(214, 233, 255, 0.52);
  font-size: 0.76rem;
  line-height: 1.55;
}

.about-content {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.mv-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  flex: 1;
}

.mv-card {
  display: flex;
  flex-direction: column;
  padding: 1.35rem;
  background: var(--sf-card);
  border: 1px solid var(--sf-line);
  border-radius: 18px;
  box-shadow: var(--sf-shadow-sm);
}

.mv-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  color: var(--sf-blue);
  background: var(--sf-blue-soft);
  border: 1px solid rgba(37, 99, 235, 0.1);
  border-radius: 10px;
  font-size: 1rem;
}

.mv-card h3 {
  margin: 0.85rem 0 0.4rem;
  color: var(--sf-ink);
  font-size: 0.94rem;
  font-weight: 600;
}

.mv-card p {
  color: var(--sf-muted);
  font-size: 0.8rem;
  line-height: 1.7;
}

.about-values {
  padding: 1.15rem 1.25rem;
  background: var(--sf-card);
  border: 1px solid var(--sf-line);
  border-radius: 16px;
}

.about-values-label {
  display: block;
  margin-bottom: 0.55rem;
  color: var(--sf-muted-2);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.value-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.value-chips span {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.3rem 0.55rem;
  color: var(--sf-ink-soft);
  background: var(--sf-card-2);
  border: 1px solid var(--sf-line);
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 500;
}

.value-chips i {
  color: var(--sf-blue);
  font-size: 0.7rem;
}

.about-location {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.95rem 1.1rem;
  background: var(--sf-card);
  border: 1px solid var(--sf-line);
  border-radius: 14px;
}

.about-location-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  color: var(--sf-blue);
  background: var(--sf-blue-soft);
  border-radius: 9px;
  font-size: 0.9rem;
}

.about-location strong {
  display: block;
  color: var(--sf-ink);
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.4;
}

.about-location span:not(.about-location-icon) {
  display: block;
  color: var(--sf-muted-2);
  font-size: 0.68rem;
  line-height: 1.4;
}

.about-location .hero-wa-link {
  margin-left: auto;
  flex-shrink: 0;
  color: var(--sf-blue);
  font-size: 0.75rem;
  font-weight: 600;
}

.about-location .hero-wa-link i {
  color: #15803d;
}

.about-location .hero-wa-link:hover {
  color: var(--sf-blue-dark);
}

/* ==========================================================================
   12. Preguntas frecuentes
   ========================================================================== */
.section-faq {
  background: var(--sf-bg);
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 1.35rem;
  align-items: start;
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.faq-accordion .accordion-item {
  background: var(--sf-card);
  border: 1px solid var(--sf-line) !important;
  border-radius: 14px !important;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq-accordion .accordion-item:has(.accordion-button:not(.collapsed)) {
  border-color: rgba(37, 99, 235, 0.2) !important;
  box-shadow: var(--sf-shadow-sm);
}

.faq-accordion .accordion-button {
  padding: 1.05rem 1.25rem;
  color: var(--sf-ink);
  background: transparent;
  border: 0;
  border-radius: 0 !important;
  font-family: var(--sf-font-display);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.45;
  box-shadow: none !important;
}

.faq-accordion .accordion-button:not(.collapsed) {
  color: var(--sf-blue);
  background: var(--sf-bg-tint);
}

.faq-accordion .accordion-button:focus-visible {
  outline: 3px solid rgba(56, 189, 248, 0.5);
  outline-offset: -3px;
}

.faq-accordion .accordion-button::after {
  width: 0.9rem;
  height: 0.9rem;
  background-size: 0.9rem;
  opacity: 0.6;
}

.faq-accordion .accordion-button:not(.collapsed)::after {
  opacity: 0.9;
}

.faq-accordion .accordion-body {
  padding: 0 1.25rem 1.1rem;
  background: var(--sf-bg-tint);
}

.faq-accordion .accordion-body p {
  color: var(--sf-muted);
  font-size: 0.82rem;
  line-height: 1.7;
}

.faq-accordion .accordion-body a {
  color: var(--sf-blue);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.faq-aside {
  position: sticky;
  top: calc(var(--sf-nav-h) + 20px);
  padding: 1.5rem;
  color: #ecf5ff;
  background:
    radial-gradient(ellipse at 100% 0%, rgba(56, 189, 248, 0.15), transparent 55%),
    linear-gradient(155deg, #0d1a34, #071022);
  border: 1px solid rgba(125, 211, 252, 0.13);
  border-radius: 20px;
  overflow: hidden;
}

.faq-aside-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: #7dd3fc;
  background: rgba(56, 189, 248, 0.09);
  border: 1px solid rgba(56, 189, 248, 0.16);
  border-radius: 12px;
  font-size: 1.1rem;
}

.faq-aside h3 {
  margin: 0.9rem 0 0.4rem;
  color: #f4f9ff;
  font-size: 1.03rem;
  font-weight: 600;
}

.faq-aside p {
  color: rgba(214, 233, 255, 0.58);
  font-size: 0.79rem;
  line-height: 1.65;
}

.faq-aside .btn-sf-wa {
  margin-top: 1rem;
  font-size: 0.8rem;
}

.faq-aside-meta {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.55rem;
  color: rgba(214, 233, 255, 0.38);
  font-size: 0.65rem;
}

.faq-aside-meta i {
  color: rgba(125, 211, 252, 0.7);
}

/* ==========================================================================
   13. Contacto
   ========================================================================== */
.section-contact {
  background:
    radial-gradient(ellipse 50% 40% at 100% 0%, rgba(56, 189, 248, 0.07), transparent 65%),
    var(--sf-bg-soft);
}

.contact-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: 1.35rem;
  align-items: start;
}

.contact-panel {
  position: relative;
  padding: clamp(1.5rem, 3vw, 2.1rem);
  color: #eef6ff;
  background:
    radial-gradient(ellipse at 90% 0%, rgba(56, 189, 248, 0.18), transparent 55%),
    linear-gradient(155deg, #0d1a34, #071022);
  border: 1px solid rgba(125, 211, 252, 0.14);
  border-radius: 24px;
  overflow: hidden;
}

.contact-panel-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.contact-panel-bg svg {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  opacity: 0.8;
}

.contact-orb {
  position: absolute;
  top: -80px;
  right: -80px;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.16), transparent 68%);
  filter: blur(22px);
  border-radius: 50%;
}

.contact-panel > *:not(.contact-panel-bg) {
  position: relative;
  z-index: 1;
}

.contact-panel .eyebrow {
  color: #7dd3fc;
}

.contact-panel h3 {
  max-width: 360px;
  color: #f4f9ff;
  font-size: clamp(1.5rem, 2.8vw, 1.95rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.035em;
}

.contact-panel-lead {
  margin-top: 0.75rem;
  color: rgba(214, 233, 255, 0.58);
  font-size: 0.84rem;
  line-height: 1.7;
}

.contact-methods {
  display: grid;
  gap: 0.55rem;
  margin: 1.4rem 0;
  list-style: none;
}

.contact-methods li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.65rem 0.8rem;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 11px;
}

.contact-method-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  color: #7dd3fc;
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.13);
  border-radius: 8px;
  font-size: 0.92rem;
}

.contact-method-wa {
  color: #4ade80;
  background: rgba(34, 197, 94, 0.08);
  border-color: rgba(34, 197, 94, 0.14);
}

.contact-methods li > div > span {
  display: block;
  color: rgba(214, 233, 255, 0.38);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  line-height: 1.4;
  text-transform: uppercase;
}

.contact-methods li > div > strong,
.contact-methods li > div > a {
  display: block;
  color: #e7f2ff;
  font-size: 0.8rem;
  font-weight: 500;
  line-height: 1.5;
}

.contact-methods li > div > a:hover {
  color: #7dd3fc;
}

.contact-panel .btn-sf-wa {
  font-size: 0.85rem;
}

.contact-panel-note {
  display: flex;
  align-items: flex-start;
  gap: 0.35rem;
  margin-top: 0.75rem;
  color: rgba(214, 233, 255, 0.4);
  font-size: 0.66rem;
  line-height: 1.55;
}

.contact-panel-note i {
  margin-top: 0.1rem;
  flex-shrink: 0;
}

.contact-form-card {
  padding: clamp(1.35rem, 3vw, 2rem);
  background: var(--sf-card);
  border: 1px solid var(--sf-line);
  border-radius: 24px;
  box-shadow: var(--sf-shadow);
}

.contact-form-head {
  margin-bottom: 1.35rem;
}

.contact-form-kicker {
  display: block;
  margin-bottom: 0.3rem;
  color: var(--sf-blue);
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-form-head h3 {
  color: var(--sf-ink);
  font-size: clamp(1.35rem, 2.3vw, 1.6rem);
  font-weight: 600;
  letter-spacing: -0.03em;
}

.contact-form-head p {
  margin-top: 0.45rem;
  color: var(--sf-muted);
  font-size: 0.79rem;
  line-height: 1.65;
}

.contact-form-head .req {
  color: var(--sf-red);
}

.consent-option {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  color: var(--sf-muted);
  font-size: 0.74rem;
  line-height: 1.55;
  cursor: pointer;
}

.consent-option input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.consent-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 0.08rem;
  color: transparent;
  background: var(--sf-field);
  border: 1px solid var(--sf-line-strong);
  border-radius: 5px;
  font-size: 0.65rem;
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.consent-option input:checked + .consent-box {
  color: #ffffff;
  background: var(--sf-blue);
  border-color: var(--sf-blue);
}

.consent-option input:focus-visible + .consent-box {
  outline: 3px solid rgba(56, 189, 248, 0.5);
  outline-offset: 2px;
}

.btn-submit {
  width: 100%;
  margin-top: 1.25rem;
  min-height: 50px;
}

.btn-submit:disabled {
  opacity: 0.75;
}

.btn-spinner {
  width: 15px;
  height: 15px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: spinner 0.7s linear infinite;
}

.btn-submit-label,
.btn-submit-loading {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn-submit-loading[hidden] {
  display: none !important;
}

@keyframes spinner {
  to { transform: rotate(360deg); }
}

.form-footnote {
  display: flex;
  align-items: flex-start;
  gap: 0.35rem;
  margin-top: 0.7rem;
  color: var(--sf-muted-2);
  font-size: 0.68rem;
  line-height: 1.55;
}

.form-footnote i {
  margin-top: 0.1rem;
  flex-shrink: 0;
  color: var(--sf-blue);
}

.wa-result {
  margin-top: 1.35rem;
  padding: 1.15rem;
  background: var(--sf-bg-tint);
  border: 1px solid rgba(37, 99, 235, 0.16);
  border-radius: 16px;
  animation: stepIn 0.35s ease both;
}

.wa-result[hidden] {
  display: none !important;
}

.wa-result.is-stale {
  background: rgba(245, 158, 11, 0.055);
  border-color: rgba(217, 119, 6, 0.22);
}

.wa-result.is-stale .wa-result-icon {
  color: #b45309;
  background: rgba(245, 158, 11, 0.1);
  border-color: rgba(217, 119, 6, 0.16);
}

.wa-result.is-stale .wa-result-note {
  color: #92400e;
  font-weight: 500;
}

.wa-result-head {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}

.wa-result-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  color: #15803d;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.14);
  border-radius: 9px;
  font-size: 1.05rem;
}

.wa-result-head h3 {
  color: var(--sf-ink);
  font-size: 0.95rem;
  font-weight: 600;
}

.wa-result-head p {
  margin-top: 0.15rem;
  color: var(--sf-muted);
  font-size: 0.74rem;
  line-height: 1.5;
}

.wa-result pre {
  max-height: 260px;
  margin: 0.9rem 0;
  padding: 0.85rem;
  color: var(--sf-ink-soft);
  background: var(--sf-card);
  border: 1px solid var(--sf-line);
  border-radius: 10px;
  font-family: var(--sf-font-body);
  font-size: 0.73rem;
  line-height: 1.65;
  white-space: pre-wrap;
  overflow: auto;
}

.wa-result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.wa-result-actions .btn-sf {
  font-size: 0.78rem;
  padding: 0.63rem 0.8rem;
}

.wa-result-note {
  margin-top: 0.65rem;
  color: var(--sf-muted-2);
  font-size: 0.66rem;
  line-height: 1.5;
}

/* ==========================================================================
   14. Footer y acciones flotantes
   ========================================================================== */
.site-footer {
  position: relative;
  padding: clamp(3.5rem, 6vw, 5rem) 0 0;
  color: rgba(224, 238, 255, 0.7);
  background: #060c19;
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: -240px;
  left: 50%;
  width: 780px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(37, 99, 235, 0.14), transparent 65%);
  filter: blur(20px);
  transform: translateX(-50%);
  pointer-events: none;
}

.site-footer .container {
  position: relative;
  z-index: 1;
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 0.8fr) minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 2.25rem;
  padding-bottom: 2.5rem;
}

.footer-brand .brand {
  display: inline-flex;
}

.footer-brand p {
  max-width: 330px;
  margin-top: 0.9rem;
  color: rgba(214, 233, 255, 0.48);
  font-size: 0.79rem;
  line-height: 1.7;
}

.footer-location {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.9rem;
  padding: 0.28rem 0.55rem;
  color: rgba(214, 233, 255, 0.58);
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  font-size: 0.66rem;
}

.footer-location i {
  color: #7dd3fc;
}

.footer-col h3 {
  margin-bottom: 0.9rem;
  color: rgba(235, 245, 255, 0.42);
  font-family: var(--sf-font-body);
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-col ul {
  display: grid;
  gap: 0.45rem;
  list-style: none;
}

.footer-col li {
  color: rgba(214, 233, 255, 0.5);
  font-size: 0.77rem;
  line-height: 1.55;
}

.footer-col a {
  color: rgba(214, 233, 255, 0.58);
  font-size: 0.77rem;
}

.footer-col a:hover {
  color: #ffffff;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
}

.footer-contact-icon {
  display: inline-flex;
  margin-top: 0.12rem;
  color: #7dd3fc;
  font-size: 0.82rem;
}

.footer-contact .btn-sf-wa {
  margin-top: 1rem;
  font-size: 0.78rem;
  padding: 0.65rem 0.8rem;
}

.footer-disclaimer {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 0.95rem 1.1rem;
  background: rgba(245, 158, 11, 0.045);
  border: 1px solid rgba(245, 158, 11, 0.13);
  border-radius: 10px;
}

.footer-disclaimer > i {
  margin-top: 0.15rem;
  flex-shrink: 0;
  color: #fbbf24;
  font-size: 0.9rem;
}

.footer-disclaimer p {
  color: rgba(214, 233, 255, 0.42);
  font-size: 0.68rem;
  line-height: 1.6;
}

.footer-disclaimer strong {
  color: rgba(235, 245, 255, 0.68);
  font-weight: 600;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.75rem;
  padding: 1.3rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.footer-bottom p,
.footer-bottom-links {
  color: rgba(214, 233, 255, 0.37);
  font-size: 0.68rem;
  line-height: 1.5;
}

.footer-bottom-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.footer-bottom-links a {
  color: rgba(214, 233, 255, 0.48);
  font-size: 0.68rem;
}

.footer-bottom-links a:hover {
  color: #ffffff;
}

.floating-actions {
  position: fixed;
  right: 1.2rem;
  bottom: 1.2rem;
  z-index: 1035;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
}

.wa-float {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  color: #ffffff;
  background: linear-gradient(135deg, #25c968, #128c4b);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  box-shadow: 0 14px 32px rgba(18, 140, 75, 0.34);
  font-size: 1.45rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.wa-float::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(37, 201, 104, 0.55);
  border-radius: 50%;
  animation: waPulse 3s ease-out infinite;
}

.wa-float:hover {
  color: #ffffff;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 18px 38px rgba(18, 140, 75, 0.42);
}

.wa-float-tooltip {
  position: absolute;
  right: calc(100% + 10px);
  top: 50%;
  padding: 0.35rem 0.55rem;
  color: #eaf3ff;
  background: rgba(8, 16, 34, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  font-size: 0.68rem;
  font-weight: 500;
  line-height: 1.4;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translate(-4px, -50%);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.wa-float:hover .wa-float-tooltip {
  opacity: 1;
  transform: translate(0, -50%);
}

@keyframes waPulse {
  0% { transform: scale(1); opacity: 0.7; }
  70%, 100% { transform: scale(1.5); opacity: 0; }
}

.back-to-top {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  color: rgba(235, 245, 255, 0.78);
  background: rgba(10, 20, 40, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  font-size: 0.95rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px) scale(0.9);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease, background-color 0.2s ease;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.back-to-top:hover {
  color: #ffffff;
  background: var(--sf-blue);
  border-color: rgba(147, 197, 253, 0.4);
}

@media (prefers-reduced-motion: reduce) {
  .wa-float::before,
  .ring-2 {
    animation: none !important;
  }
}

/* ==========================================================================
   15. SweetAlert2
   ========================================================================== */
.swal2-popup {
  color: var(--sf-ink);
  background: var(--sf-card);
  border: 1px solid var(--sf-line);
  border-radius: 18px;
  font-family: var(--sf-font-body);
  box-shadow: var(--sf-shadow-lg);
}

.swal2-title {
  color: var(--sf-ink);
  font-family: var(--sf-font-display);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.swal2-html-container {
  color: var(--sf-muted);
  font-size: 0.85rem;
  line-height: 1.6;
}

.swal2-actions {
  gap: 0.5rem;
}

.swal2-actions button {
  padding: 0.65rem 1rem;
  border: 0;
  border-radius: 9px;
  font-family: var(--sf-font-body);
  font-size: 0.82rem;
  font-weight: 600;
}

.swal2-timer-progress-bar {
  background: rgba(37, 99, 235, 0.5);
}

.sf-swal-toast {
  padding: 0.75rem 0.9rem;
  border-radius: 12px;
}

.sf-swal-toast .swal2-title {
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0;
}

/* ==========================================================================
   16. Responsive
   ========================================================================== */
@media (max-width: 1199.98px) {
  .hero-title {
    font-size: clamp(2.45rem, 4.4vw, 3.35rem);
  }

  .hero-visual {
    max-width: 450px;
  }

  .float-card-local {
    left: -4px;
  }

  .float-card-engine {
    right: -6px;
  }
}

@media (max-width: 991.98px) {
  :root {
    --sf-nav-h: 72px;
  }

  .site-nav {
    padding: 0.75rem 0;
  }

  .hero {
    padding-top: calc(var(--sf-nav-h) + 3.5rem);
  }

  .hero-copy {
    padding-bottom: 0.5rem;
  }

  .hero-title,
  .hero-lead {
    max-width: 680px;
  }

  .hero-visual {
    min-height: 625px;
    margin: 0 auto;
    padding-top: 1rem;
  }

  .hero-stats {
    margin-top: 1.2rem;
  }

  .hero-stat {
    padding: 1.15rem 1rem 1.25rem;
  }

  .section-head-split {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .section-head-split .section-lead {
    max-width: 650px;
  }

  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-card-featured {
    grid-column: auto;
  }

  .diagnosis-shell {
    grid-template-columns: 1fr;
  }

  .diagnosis-aside {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
  }

  .aside-safety {
    grid-column: 1 / -1;
  }

  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem 1.5rem;
  }

  .process-grid::before {
    display: none;
  }

  .process-step {
    padding-left: 1rem;
    border-left: 1px solid rgba(125, 211, 252, 0.12);
  }

  .process-step p {
    max-width: 330px;
  }

  .process-cta {
    align-items: flex-start;
    flex-direction: column;
  }

  .process-cta-actions {
    width: 100%;
  }

  .why-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .honesty-band {
    flex-wrap: wrap;
    align-items: flex-start;
  }

  .honesty-band > div {
    flex: 1 1 300px;
  }

  .honesty-band .btn-sf {
    margin-left: 3.7rem;
  }

  .about-head {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .about-head .section-lead {
    max-width: 680px;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-visual {
    min-height: 480px;
  }

  .about-content {
    gap: 0.85rem;
  }

  .mv-card {
    min-height: 190px;
  }

  .faq-layout {
    grid-template-columns: 1fr;
  }

  .faq-aside {
    position: static;
  }

  .contact-shell {
    grid-template-columns: 1fr;
  }

  .contact-panel {
    padding: 1.75rem;
  }

  .contact-panel h3 {
    max-width: 540px;
  }

  .contact-methods {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .contact-methods li {
    align-items: flex-start;
  }

  .footer-main {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.8fr) minmax(0, 1.1fr);
    gap: 2rem;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-brand p {
    max-width: 480px;
  }
}

@media (max-width: 767.98px) {
  .section {
    padding: 4.25rem 0;
  }

  .section-head {
    margin-bottom: 2.25rem;
  }

  .section-title {
    font-size: clamp(1.8rem, 5.8vw, 2.3rem);
  }

  .section-lead {
    font-size: 0.88rem;
  }

  .hero {
    padding-top: calc(var(--sf-nav-h) + 2.75rem);
  }

  .hero-title {
    font-size: clamp(2.25rem, 8.2vw, 3rem);
  }

  .hero-lead {
    margin-top: 1.1rem;
    font-size: 0.95rem;
  }

  .hero-actions {
    margin-top: 1.5rem;
  }

  .hero-actions .btn-sf {
    flex: 1 1 180px;
  }

  .hero-trust {
    gap: 0.45rem 0.9rem;
  }

  .hero-visual {
    min-height: 590px;
    max-width: 420px;
  }

  .float-card-local {
    bottom: 130px;
    left: -6px;
  }

  .float-card-engine {
    top: 145px;
    right: -8px;
  }

  .hero-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-stat {
    padding: 1rem;
    border-left: 1px solid rgba(171, 205, 255, 0.08);
  }

  .hero-stat:nth-child(odd) {
    padding-left: 0;
    border-left: 0;
  }

  .hero-stat:nth-child(even) {
    border-left: 1px solid rgba(171, 205, 255, 0.08);
  }

  .hero-stat:nth-child(n + 3) {
    border-top: 1px solid rgba(171, 205, 255, 0.08);
  }

  .hero-stat strong {
    font-size: 1.4rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 0;
  }

  .diagnosis-aside {
    grid-template-columns: 1fr;
  }

  .aside-safety {
    grid-column: auto;
  }

  .wizard-head {
    padding: 1.15rem 1.15rem;
  }

  .stepper {
    padding: 0.9rem 0.75rem 0.8rem;
  }

  .stepper::before {
    right: 16%;
    left: 16%;
  }

  .step-label {
    font-size: 0.63rem;
  }

  .wizard-body {
    min-height: 380px;
  }

  .wizard-foot {
    padding: 1rem 1.15rem;
  }

  .report-top {
    flex-direction: column;
    gap: 0.8rem;
  }

  .priority-badge {
    align-self: flex-start;
  }

  .report-overview {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .report-score {
    padding-bottom: 0.5rem;
    border-bottom: 1px dashed var(--sf-line-strong);
  }

  .report-two-col {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .chart-canvas-wrap {
    height: 210px;
  }

  .process-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .process-step {
    padding-left: 1rem;
  }

  .process-number {
    font-size: 1.7rem;
    margin-bottom: 0.5rem;
  }

  .process-icon {
    width: 52px;
    height: 52px;
    font-size: 1.2rem;
  }

  .process-cta-actions .btn-sf {
    flex: 1 1 160px;
  }

  .why-grid {
    grid-template-columns: 1fr;
  }

  .honesty-band {
    padding: 1.2rem;
  }

  .honesty-band .btn-sf {
    margin-left: 0;
    width: 100%;
  }

  .about-visual {
    min-height: 430px;
  }

  .orbit-stage {
    min-height: 330px;
  }

  .mv-grid {
    grid-template-columns: 1fr;
  }

  .mv-card {
    min-height: 0;
  }

  .contact-methods {
    grid-template-columns: 1fr;
  }

  .contact-form-card {
    border-radius: 20px;
  }

  .footer-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.75rem;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.55rem;
  }
}

@media (max-width: 575.98px) {
  :root {
    --sf-nav-h: 66px;
  }

  .container {
    padding-right: 1rem;
    padding-left: 1rem;
  }

  .brand {
    gap: 0.5rem;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
    border-radius: 10px;
  }

  .brand-type {
    font-size: 0.98rem;
  }

  .brand-ai {
    font-size: 0.54em;
  }

  .theme-toggle,
  .nav-toggle {
    width: 38px;
    height: 38px;
  }

  .hero {
    padding-top: calc(var(--sf-nav-h) + 2.25rem);
  }

  .hero-badge {
    font-size: 0.64rem;
    padding: 0.38rem 0.65rem;
  }

  .hero-title {
    font-size: clamp(2.05rem, 9.5vw, 2.65rem);
    line-height: 1.08;
  }

  .hero-lead {
    font-size: 0.9rem;
    line-height: 1.65;
  }

  .hero-actions {
    gap: 0.55rem;
  }

  .hero-actions .btn-sf {
    flex-basis: 100%;
    width: 100%;
    font-size: 0.88rem;
  }

  .hero-actions .hero-wa-link {
    justify-content: center;
  }

  .hero-trust {
    font-size: 0.7rem;
  }

  .hero-note {
    font-size: 0.66rem;
  }

  .hero-visual {
    min-height: 500px;
    max-width: 340px;
    padding-top: 0.5rem;
  }

  .hero-visual::before {
    width: 320px;
    height: 320px;
  }

  .hero-visual::after {
    width: 250px;
    height: 250px;
  }

  .phone-shell {
    width: 292px;
    height: 590px;
    transform: scale(0.88);
    transform-origin: top center;
    margin-bottom: -60px;
    animation: none;
  }

  .visual-sample {
    top: 0;
    right: 0;
  }

  .float-card {
    display: none;
  }

  .hero-stats {
    margin-top: 0.75rem;
  }

  .hero-stat {
    display: block;
    padding: 0.9rem 0.9rem;
  }

  .hero-stat span {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.62rem;
  }

  .hero-stat strong {
    font-size: 1.3rem;
  }

  .section {
    padding: 3.75rem 0;
  }

  .section-head-center {
    text-align: left;
  }

  .section-head-center .section-title {
    margin-left: 0;
  }

  .section-head-center .section-lead {
    margin-left: 0;
  }

  .header-chips {
    justify-content: flex-start;
  }

  .section-title {
    font-size: clamp(1.7rem, 7vw, 2rem);
  }

  .eyebrow {
    font-size: 0.62rem;
  }

  .service-card {
    padding: 1.35rem;
  }

  .services-note {
    font-size: 0.72rem;
  }

  .wizard {
    border-radius: 20px;
  }

  .wizard-head {
    padding: 1rem;
  }

  .wizard-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    font-size: 1rem;
  }

  .wizard-title {
    gap: 0.6rem;
  }

  .wizard-title h3 {
    font-size: 0.92rem;
  }

  .wizard-kicker {
    font-size: 0.58rem;
  }

  .local-badge {
    display: none;
  }

  .stepper {
    padding: 0.85rem 0.35rem 0.75rem;
  }

  .stepper::before {
    top: 25px;
    right: 15%;
    left: 15%;
  }

  .step {
    gap: 0.28rem;
  }

  .step-dot {
    width: 25px;
    height: 25px;
    font-size: 0.6rem;
  }

  .step-label {
    font-size: 0.58rem;
  }

  .wizard-body {
    min-height: 0;
    padding: 1.1rem;
  }

  .step-heading {
    margin-bottom: 1.2rem;
  }

  .step-heading h3 {
    font-size: 1.25rem;
  }

  .step-heading p {
    font-size: 0.8rem;
  }

  .os-options,
  .context-options,
  .symptom-grid {
    grid-template-columns: 1fr;
  }

  .os-option-box {
    padding: 0.72rem 0.8rem;
  }

  .symptom-box {
    min-height: 58px;
  }

  .selection-bar {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.3rem;
  }

  .wizard-foot {
    padding: 0.9rem 1rem;
  }

  .foot-hint {
    display: none;
  }

  .wizard-foot #prevStepBtn {
    padding-left: 0;
  }

  .wizard-foot #nextStepBtn {
    margin-left: auto;
  }

  .analysis-loading {
    min-height: 380px;
    padding: 1rem 0;
  }

  .loading-orb {
    width: 74px;
    height: 74px;
    font-size: 1.5rem;
  }

  .analysis-steps {
    padding: 0.8rem;
  }

  .report-section h4 {
    font-size: 0.88rem;
  }

  .report-device-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .report-actions {
    gap: 0.45rem;
  }

  .report-actions .btn-sf {
    flex: 1 1 calc(50% - 0.45rem);
    font-size: 0.72rem;
    padding: 0.62rem 0.55rem;
  }

  .report-actions #reportWhatsApp {
    flex-basis: 100%;
  }

  .report-actions #restartDiagnosisBtn {
    flex-basis: 100%;
  }

  .chart-canvas-wrap {
    height: 190px;
  }

  .aside-card {
    padding: 1.1rem;
  }

  .process-step {
    padding-left: 0.9rem;
  }

  .process-cta {
    padding: 1.15rem;
  }

  .process-cta-actions .btn-sf {
    flex-basis: 100%;
  }

  .why-card {
    padding: 1.35rem;
  }

  .honesty-band {
    gap: 0.9rem;
  }

  .honesty-icon {
    width: 40px;
    height: 40px;
  }

  .about-head .section-title {
    font-size: clamp(1.65rem, 7vw, 1.95rem);
  }

  .about-visual {
    min-height: 380px;
    padding: 1rem;
    border-radius: 20px;
  }

  .orbit-stage {
    min-height: 290px;
  }

  .ring-1 {
    width: 140px;
    height: 140px;
  }

  .ring-2 {
    width: 215px;
    height: 215px;
  }

  .ring-3 {
    width: 290px;
    height: 290px;
  }

  .orbit-core {
    width: 98px;
    height: 98px;
    border-radius: 26px;
  }

  .orbit-core img {
    width: 76px;
    height: 76px;
    border-radius: 20px;
  }

  .orbit-label {
    padding: 0.3rem 0.45rem;
    font-size: 0.56rem;
  }

  .orbit-label-1 {
    top: 10%;
    left: 0;
  }

  .orbit-label-2 {
    top: 47%;
    right: 0;
  }

  .orbit-label-3 {
    bottom: 6%;
    left: 5%;
  }

  .orbit-caption {
    bottom: 0;
    font-size: 0.55rem;
  }

  .orbit-side-note p {
    font-size: 0.71rem;
  }

  .mv-card {
    padding: 1.15rem;
  }

  .about-values {
    padding: 1rem;
  }

  .value-chips span {
    font-size: 0.66rem;
  }

  .about-location {
    flex-wrap: wrap;
  }

  .about-location .hero-wa-link {
    margin-left: 0;
    width: 100%;
    padding-top: 0.4rem;
    border-top: 1px solid var(--sf-line);
  }

  .faq-accordion .accordion-button {
    padding: 0.95rem 1rem;
    font-size: 0.83rem;
  }

  .faq-accordion .accordion-body {
    padding: 0 1rem 1rem;
  }

  .faq-aside {
    padding: 1.25rem;
  }

  .contact-panel {
    padding: 1.35rem;
    border-radius: 20px;
  }

  .contact-form-card {
    padding: 1.15rem;
  }

  .contact-methods li {
    padding: 0.6rem 0.7rem;
  }

  .wa-result {
    padding: 0.9rem;
  }

  .wa-result-actions .btn-sf {
    width: 100%;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .footer-brand {
    grid-column: auto;
  }

  .footer-col ul {
    gap: 0.4rem;
  }

  .footer-disclaimer {
    padding: 0.85rem;
  }

  .footer-bottom-links {
    gap: 0.3rem;
  }

  .floating-actions {
    right: 0.8rem;
    bottom: 0.8rem;
  }

  .wa-float {
    width: 50px;
    height: 50px;
    font-size: 1.3rem;
  }

  .wa-float-tooltip {
    display: none;
  }

  .back-to-top {
    width: 36px;
    height: 36px;
  }

  .swal2-popup {
    width: calc(100% - 2rem) !important;
    padding: 1.25rem;
  }
}

/* ==========================================================================
   17. Modo oscuro
   ========================================================================== */
[data-bs-theme="dark"] {
  --sf-bg: #070e1d;
  --sf-bg-soft: #0a1326;
  --sf-bg-tint: #0e1b35;
  --sf-surface: #0d1830;
  --sf-card: #0c172c;
  --sf-card-2: #101e38;
  --sf-field: #091326;
  --sf-blue-soft: rgba(37, 99, 235, 0.15);
  --sf-ink: #edf4ff;
  --sf-ink-soft: #d8e5f7;
  --sf-muted: #a6b6cd;
  --sf-muted-2: #8497b2;
  --sf-line: rgba(148, 163, 184, 0.15);
  --sf-line-strong: rgba(148, 163, 184, 0.25);
  --sf-shadow-sm: 0 2px 12px rgba(0, 0, 0, 0.18);
  --sf-shadow: 0 20px 55px rgba(0, 0, 0, 0.28);
  --sf-shadow-lg: 0 32px 85px rgba(0, 0, 0, 0.36);
  --bs-body-bg: var(--sf-bg);
  --bs-body-color: var(--sf-ink);
  --bs-border-color: var(--sf-line);
  --bs-link-color: #7dd3fc;
  --bs-link-hover-color: #bae6fd;
}

[data-bs-theme="dark"] body {
  background-color: var(--sf-bg);
  color: var(--sf-ink);
}

[data-bs-theme="dark"] .section-services {
  background: linear-gradient(180deg, var(--sf-bg) 0%, var(--sf-bg-soft) 100%);
}

[data-bs-theme="dark"] .section-about {
  background:
    radial-gradient(ellipse 50% 40% at 0% 20%, rgba(37, 99, 235, 0.09), transparent 65%),
    var(--sf-bg-soft);
}

[data-bs-theme="dark"] .section-diagnosis {
  background:
    radial-gradient(ellipse 60% 35% at 100% 0%, rgba(56, 189, 248, 0.08), transparent 70%),
    radial-gradient(ellipse 45% 30% at 0% 40%, rgba(37, 99, 235, 0.08), transparent 70%),
    var(--sf-bg-soft);
}

[data-bs-theme="dark"] .section-diagnosis::before {
  background-image: radial-gradient(circle at 1px 1px, rgba(125, 211, 252, 0.11) 1px, transparent 0);
  opacity: 0.35;
}

[data-bs-theme="dark"] .section-contact {
  background:
    radial-gradient(ellipse 50% 40% at 100% 0%, rgba(56, 189, 248, 0.08), transparent 65%),
    var(--sf-bg-soft);
}

[data-bs-theme="dark"] .service-card:hover,
[data-bs-theme="dark"] .why-card:hover {
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.28);
}

[data-bs-theme="dark"] .service-card-featured {
  background:
    radial-gradient(ellipse at 90% 8%, rgba(56, 189, 248, 0.2), transparent 48%),
    linear-gradient(150deg, #0e1f3d, #081022 72%);
}

[data-bs-theme="dark"] .eyebrow {
  color: #7dd3fc;
}

[data-bs-theme="dark"] .header-chips span,
[data-bs-theme="dark"] .report-tag,
[data-bs-theme="dark"] .value-chips span {
  background: var(--sf-card);
}

[data-bs-theme="dark"] .faq-accordion .accordion-button:not(.collapsed) {
  color: #7dd3fc;
}

[data-bs-theme="dark"] .faq-accordion .accordion-body a {
  color: #7dd3fc;
}

[data-bs-theme="dark"] .step-dot {
  background: var(--sf-card-2);
}

[data-bs-theme="dark"] .step.is-done .step-dot {
  color: #7dd3fc;
  background: rgba(37, 99, 235, 0.15);
  border-color: rgba(56, 189, 248, 0.24);
}

[data-bs-theme="dark"] .symptom-option input:checked + .symptom-box .symptom-icon {
  color: #93c5fd;
  background: rgba(37, 99, 235, 0.18);
  border-color: rgba(56, 189, 248, 0.18);
}

[data-bs-theme="dark"] .os-icon {
  background: var(--sf-card);
}

[data-bs-theme="dark"] .field-error {
  color: #f87171;
}

[data-bs-theme="dark"] .other-help {
  color: #fbbf24;
  background: rgba(245, 158, 11, 0.08);
}

[data-bs-theme="dark"] .info-inline {
  border-color: rgba(56, 189, 248, 0.14);
}

[data-bs-theme="dark"] .selection-count.has-selection {
  color: #7dd3fc;
}

[data-bs-theme="dark"] .analysis-steps li.is-active .analysis-step-icon {
  color: #7dd3fc;
}

[data-bs-theme="dark"] .score-ring {
  background: conic-gradient(var(--ring-color, #60a5fa) 0 var(--score, 50%), rgba(148, 163, 184, 0.16) var(--score, 50%) 100%);
}

[data-bs-theme="dark"] .score-ring::before {
  background: var(--sf-card-2);
}

[data-bs-theme="dark"] .priority-low {
  color: #4ade80;
  background: rgba(34, 197, 94, 0.1);
  border-color: rgba(34, 197, 94, 0.22);
}

[data-bs-theme="dark"] .priority-medium {
  color: #fbbf24;
  background: rgba(245, 158, 11, 0.1);
  border-color: rgba(245, 158, 11, 0.2);
}

[data-bs-theme="dark"] .priority-high {
  color: #f87171;
  background: rgba(239, 68, 68, 0.1);
  border-color: rgba(239, 68, 68, 0.22);
}

[data-bs-theme="dark"] .report-tag {
  color: var(--sf-ink-soft);
}

[data-bs-theme="dark"] .cause-tag {
  color: #93c5fd;
  background: rgba(37, 99, 235, 0.16);
}

[data-bs-theme="dark"] .cause-tag.tag-high {
  color: #fca5a5;
  background: rgba(239, 68, 68, 0.13);
}

[data-bs-theme="dark"] .cause-tag.tag-medium {
  color: #fcd34d;
  background: rgba(245, 158, 11, 0.12);
}

[data-bs-theme="dark"] .report-callout {
  background: rgba(37, 99, 235, 0.1);
  border-color: rgba(56, 189, 248, 0.18);
}

[data-bs-theme="dark"] .report-callout-safety {
  background: rgba(245, 158, 11, 0.08);
  border-color: rgba(245, 158, 11, 0.2);
}

[data-bs-theme="dark"] .report-callout-safety .report-callout-icon {
  color: #fbbf24;
}

[data-bs-theme="dark"] .report-list li i {
  color: #4ade80;
  background: rgba(34, 197, 94, 0.1);
}

[data-bs-theme="dark"] .report-list.report-list-shield li i {
  color: #7dd3fc;
  background: rgba(56, 189, 248, 0.1);
}

[data-bs-theme="dark"] .aside-safety {
  color: #fbbf24;
  background: rgba(245, 158, 11, 0.07);
  border-color: rgba(245, 158, 11, 0.16);
}

[data-bs-theme="dark"] .aside-safety p {
  color: #d8b56b;
}

[data-bs-theme="dark"] .aside-safety i {
  color: #fbbf24;
}

[data-bs-theme="dark"] .noscript-box {
  color: #fbbf24;
  background: rgba(245, 158, 11, 0.07);
  border-color: rgba(245, 158, 11, 0.18);
}

[data-bs-theme="dark"] .btn-sf-outline {
  color: var(--sf-ink);
  background: var(--sf-card);
  border-color: var(--sf-line-strong);
}

[data-bs-theme="dark"] .btn-sf-outline:hover {
  color: #93c5fd;
  background: var(--sf-bg-tint);
  border-color: rgba(56, 189, 248, 0.28);
}

[data-bs-theme="dark"] .btn-sf-link {
  color: var(--sf-muted);
}

[data-bs-theme="dark"] .btn-sf-link:hover {
  color: #7dd3fc;
}

[data-bs-theme="dark"] .sf-field {
  color: var(--sf-ink);
  background-color: var(--sf-field);
  border-color: var(--sf-line-strong);
}

[data-bs-theme="dark"] .sf-field:focus {
  background-color: var(--sf-surface);
  border-color: #60a5fa;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.2);
}

[data-bs-theme="dark"] .form-control::file-selector-button {
  background-color: var(--sf-card-2);
  color: var(--sf-ink);
}

[data-bs-theme="dark"] .wa-result {
  border-color: rgba(56, 189, 248, 0.18);
}

[data-bs-theme="dark"] .wa-result-icon {
  color: #4ade80;
}

[data-bs-theme="dark"] .swal2-popup {
  color: var(--sf-ink);
  background: var(--sf-card);
  border-color: var(--sf-line);
}

[data-bs-theme="dark"] .swal2-title {
  color: var(--sf-ink);
}

[data-bs-theme="dark"] .swal2-html-container {
  color: var(--sf-muted);
}

[data-bs-theme="dark"] .offcanvas,
[data-bs-theme="dark"] .mobile-nav {
  color-scheme: dark;
}

[data-bs-theme="dark"] ::selection {
  color: #06101f;
  background: #7dd3fc;
}

/* Ajustes de contraste sobre fondos oscuros fijos */
.section-how .eyebrow,
.section-how .process-number {
  color: rgba(125, 211, 252, 0.32);
}

.section-how .eyebrow {
  color: #7dd3fc;
}

.honesty-band p,
.contact-panel-lead,
.faq-aside p,
.aside-card-help p {
  color: rgba(214, 233, 255, 0.58);
}

/* ==========================================================================
   18. Impresión del informe
   ========================================================================== */
@media print {
  @page {
    size: A4;
    margin: 14mm;
  }

  html,
  body {
    color: #0b152b !important;
    background: #ffffff !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  body.printing-report {
    padding: 0 !important;
  }

  body.printing-report .skip-link,
  body.printing-report .site-header,
  body.printing-report .hero,
  body.printing-report .site-footer,
  body.printing-report .floating-actions,
  body.printing-report .offcanvas,
  body.printing-report .section-head,
  body.printing-report .noscript-box,
  body.printing-report .diagnosis-aside,
  body.printing-report .wizard-head,
  body.printing-report .progress-track,
  body.printing-report .stepper,
  body.printing-report .wizard-foot,
  body.printing-report .analysis-loading,
  body.printing-report .no-print {
    display: none !important;
  }

  body.printing-report main > .section:not(#diagnostico) {
    display: none !important;
  }

  body.printing-report #diagnostico {
    padding: 0 !important;
    background: #ffffff !important;
  }

  body.printing-report #diagnostico::before {
    display: none;
  }

  body.printing-report #diagnostico .container {
    width: 100% !important;
    max-width: none !important;
    padding: 0 !important;
  }

  body.printing-report .diagnosis-shell {
    display: block !important;
  }

  body.printing-report .wizard {
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    overflow: visible !important;
    background: #ffffff !important;
  }

  body.printing-report .wizard-body {
    min-height: 0 !important;
    padding: 0 !important;
  }

  body.printing-report .step-panel {
    display: none !important;
  }

  body.printing-report #step-4 {
    display: block !important;
  }

  body.printing-report .report-print-head {
    display: flex !important;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 10mm;
    padding-bottom: 4mm;
    border-bottom: 2px solid #0b152b;
  }

  .print-brand {
    display: flex;
    align-items: center;
    gap: 9px;
  }

  .print-brand img {
    width: 42px;
    height: 42px;
  }

  .print-brand strong {
    display: block;
    color: #0b152b;
    font-family: var(--sf-font-display);
    font-size: 13pt;
    letter-spacing: 0.02em;
    line-height: 1.2;
  }

  .print-brand span {
    display: block;
    margin-top: 2px;
    color: #52627a;
    font-size: 7.5pt;
  }

  .print-contact {
    color: #52627a;
    font-size: 8pt;
    line-height: 1.6;
    text-align: right;
  }

  body.printing-report .report-output {
    display: block !important;
    color: #0b152b !important;
    animation: none !important;
  }

  body.printing-report .report-top {
    gap: 10mm;
    padding-bottom: 4mm;
    border-color: #d8e0ee;
  }

  body.printing-report .report-top h3 {
    color: #0b152b !important;
    font-size: 18pt;
  }

  body.printing-report .report-kicker {
    color: #2563eb !important;
    font-size: 7pt;
  }

  body.printing-report .report-kicker span {
    color: #52627a !important;
  }

  body.printing-report .report-summary {
    color: #334155 !important;
    font-size: 9pt;
  }

  body.printing-report .priority-badge {
    border: 1px solid #cbd5e1 !important;
    font-size: 8pt;
  }

  body.printing-report .report-overview {
    background: #f4f7fd !important;
    border-color: #dfe6f2 !important;
    break-inside: avoid;
  }

  body.printing-report .score-ring {
    background: conic-gradient(var(--ring-color, #2563eb) 0 var(--score, 50%), #dbe5f5 var(--score, 50%) 100%) !important;
  }

  body.printing-report .score-ring::before {
    background: #f4f7fd !important;
  }

  body.printing-report .score-ring-inner strong,
  body.printing-report .report-section h4,
  body.printing-report .cause-head strong,
  body.printing-report .report-overview-copy h4,
  body.printing-report .report-fact dd,
  body.printing-report .report-callout h5,
  body.printing-report .chart-card h5 {
    color: #0b152b !important;
  }

  body.printing-report .score-caption,
  body.printing-report .report-overview-copy p,
  body.printing-report .report-fact dt,
  body.printing-report .report-section p,
  body.printing-report .report-list li,
  body.printing-report .cause-item p,
  body.printing-report .report-callout p,
  body.printing-report .report-callout ul,
  body.printing-report .report-disclaimer,
  body.printing-report .chart-card p {
    color: #475569 !important;
  }

  body.printing-report .report-device-facts {
    border-color: #d8e0ee !important;
  }

  body.printing-report .report-section {
    break-inside: avoid;
  }

  body.printing-report .report-section h4 {
    font-size: 11pt;
  }

  body.printing-report .report-tag {
    color: #1e293b !important;
    background: #f4f7fd !important;
    border-color: #dfe6f2 !important;
    font-size: 7.5pt;
  }

  body.printing-report .cause-item,
  body.printing-report .chart-card {
    background: #f8faff !important;
    border-color: #dfe6f2 !important;
    break-inside: avoid;
  }

  body.printing-report .cause-item {
    border-left-color: #2563eb !important;
  }

  body.printing-report .cause-tag {
    color: #1d4ed8 !important;
    background: #eef4ff !important;
  }

  body.printing-report .report-list {
    gap: 3px;
  }

  body.printing-report .report-list li i {
    color: #15803d !important;
    background: #eaf7ef !important;
  }

  body.printing-report .report-callout {
    background: #f2f7ff !important;
    border-color: #d7e3f7 !important;
    break-inside: avoid;
  }

  body.printing-report .report-callout-safety {
    background: #fff8e8 !important;
    border-color: #f0dcb2 !important;
  }

  body.printing-report .report-callout-icon {
    color: #2563eb !important;
    background: #ffffff !important;
  }

  body.printing-report .report-disclaimer {
    border-color: #d8e0ee !important;
    font-size: 7pt;
  }

  body.printing-report .report-two-col {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 6mm;
  }

  body.printing-report .chart-canvas-wrap {
    height: 52mm;
  }

  body.printing-report .chart-card {
    padding: 4mm;
  }

  body.printing-report .report-actions,
  body.printing-report .report-actions-note {
    display: none !important;
  }

  body.printing-report a {
    color: #0b152b !important;
    text-decoration: none;
  }

  body.printing-report .report-output a[href]::after {
    content: none !important;
  }
}

