/* ==========================================================================
   EvalSer — landing estática
   Paleta: #050911 / #0a1424 · acentos teal #2de2c5 e índigo #7c8cff
   Mobile-first, sin dependencias externas.
   ========================================================================== */

:root {
  --bg: #050911;
  --bg-deep: #03060c;
  --surface: #0a1424;
  --surface-2: #0e1c31;
  --text: #eef5ff;
  --text-soft: #c9d6e6;
  --muted: #96a9c2;
  --teal: #2de2c5;
  --teal-bright: #55eed7;
  --indigo: #7c8cff;
  --border: rgba(151, 174, 206, 0.16);
  --border-soft: rgba(151, 174, 206, 0.09);
  --danger: #ff8fa3;
  --focus: #9df7e7;
  --radius: 18px;
  --container: 1180px;
  --header-h: 68px;
  --font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas,
    "Liberation Mono", monospace;
}

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

html {
  scroll-behavior: auto;
  -webkit-text-size-adjust: 100%;
  scrollbar-color: rgba(124, 140, 255, 0.42) var(--bg);
}

body {
  margin: 0;
  min-width: 280px;
  background-color: var(--bg);
  background-image:
    radial-gradient(1100px 620px at 12% -12%, rgba(124, 140, 255, 0.14), transparent 62%),
    radial-gradient(900px 540px at 92% -2%, rgba(45, 226, 197, 0.075), transparent 58%);
  background-repeat: no-repeat;
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
h4,
p,
ul,
ol {
  margin: 0;
}

h1,
h2,
h3,
h4 {
  color: var(--text);
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: -0.02em;
}

ul,
ol {
  padding: 0;
}

svg {
  display: block;
  flex: none;
  max-width: 100%;
}

a {
  color: var(--teal);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--teal-bright);
}

button,
input,
textarea {
  font: inherit;
}

button {
  color: inherit;
}

::selection {
  background: rgba(45, 226, 197, 0.3);
  color: #ffffff;
}

[hidden] {
  display: none !important;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 32px);
}

#inicio,
#producto,
#precios,
#faq,
#contacto {
  scroll-margin-top: calc(var(--header-h) + 20px);
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  transform: translateY(-160%);
  border-radius: 10px;
  padding: 10px 16px;
  background: var(--teal);
  color: #03110e;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s ease;
}

.skip-link:focus-visible {
  transform: translateY(0);
  outline-color: #03110e;
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  background: rgba(5, 9, 17, 0.72);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  transition: background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--border-soft);
  background: rgba(5, 9, 17, 0.92);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.28);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-radius: 10px;
  color: var(--text);
  text-decoration: none;
}

.brand:hover {
  color: var(--text);
}

.brand__mark {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: contain;
  flex: 0 0 auto;
}

.brand__name {
  font-size: 1.18rem;
  font-weight: 750;
  letter-spacing: -0.03em;
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: rgba(124, 140, 255, 0.06);
  cursor: pointer;
}

.nav-toggle:hover {
  border-color: rgba(45, 226, 197, 0.38);
  background: rgba(45, 226, 197, 0.06);
}

.nav-toggle__bars {
  display: grid;
  gap: 4px;
  width: 18px;
}

.nav-toggle__bars span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--text);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.primary-nav {
  padding: 0;
}

.nav-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  list-style: none;
}

.nav-list a {
  display: block;
  border-radius: 8px;
  padding: 12px 10px;
  color: var(--text-soft);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
}

.nav-list a:hover {
  background: rgba(124, 140, 255, 0.07);
  color: var(--text);
}

.nav-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  margin-top: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--border-soft);
}

.nav-login {
  display: block;
  padding: 10px;
  border-radius: 8px;
  color: var(--text-soft);
  font-size: 0.95rem;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
}

.nav-login:hover {
  background: rgba(124, 140, 255, 0.07);
  color: var(--text);
}

html.js .primary-nav {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  display: none;
  max-height: calc(100dvh - var(--header-h));
  overflow-y: auto;
  border-bottom: 1px solid var(--border);
  padding: 12px clamp(20px, 5vw, 32px) 20px;
  background: #060c17;
  box-shadow: 0 26px 46px rgba(0, 0, 0, 0.45);
}

html.js .primary-nav.is-open {
  display: block;
}

/* Fallback sin JavaScript: menú desplegado y sin botón inútil. */
html:not(.js) .nav-toggle {
  display: none;
}

html:not(.js) .site-header__inner {
  flex-wrap: wrap;
  padding-block: 14px;
}

html:not(.js) .primary-nav {
  flex: 1 0 100%;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border-soft);
}

/* --------------------------------------------------------------------------
   Botones
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 12px 20px;
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 650;
  line-height: 1.1;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s ease, background-color 0.18s ease,
    border-color 0.18s ease, box-shadow 0.18s ease, color 0.18s ease;
}

.btn__icon {
  transition: transform 0.18s ease;
}

.btn:hover .btn__icon {
  transform: translateX(2px);
}

.btn--primary {
  background: linear-gradient(135deg, var(--teal) 0%, #65edd8 100%);
  color: #03110e;
  box-shadow: 0 10px 30px rgba(45, 226, 197, 0.16);
}

.btn--primary:hover {
  background: linear-gradient(135deg, #57e9d1 0%, #7af0dc 100%);
  color: #03110e;
  box-shadow: 0 14px 38px rgba(45, 226, 197, 0.24);
  transform: translateY(-1px);
}

.btn--ghost {
  border-color: rgba(151, 174, 206, 0.24);
  background: rgba(124, 140, 255, 0.045);
  color: var(--text);
}

.btn--ghost:hover {
  border-color: rgba(45, 226, 197, 0.48);
  background: rgba(45, 226, 197, 0.055);
  color: var(--text);
  transform: translateY(-1px);
}

.btn--sm {
  padding: 10px 16px;
  border-radius: 10px;
  font-size: 0.84rem;
}

.btn--lg {
  border-radius: 14px;
  padding: 15px 24px;
  font-size: 0.98rem;
}

.btn--block {
  width: 100%;
}

.btn:disabled {
  opacity: 0.72;
  cursor: progress;
  transform: none !important;
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  overflow: hidden;
  padding-top: clamp(42px, 7vw, 84px);
  padding-bottom: clamp(56px, 7vw, 88px);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(124, 140, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124, 140, 255, 0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 55% 25%, #000 10%, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 70% at 55% 25%, #000 10%, transparent 75%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  top: -22%;
  right: -18%;
  width: 56vw;
  height: 56vw;
  min-width: 420px;
  min-height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124, 140, 255, 0.13), transparent 65%);
  pointer-events: none;
}

.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(42px, 7vw, 64px);
  align-items: center;
}

.hero__copy {
  max-width: 680px;
  animation: float-in 0.7s cubic-bezier(0.2, 0.7, 0.25, 1) both;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--teal);
  font-family: var(--font-mono);
  font-size: 0.69rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  line-height: 1.2;
  text-transform: uppercase;
}

.eyebrow__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 4px rgba(45, 226, 197, 0.1);
}

.hero h1 {
  max-width: 20ch;
  margin: 20px 0 22px;
  font-size: clamp(2.4rem, 4.5vw, 3.6rem);
  font-weight: 750;
  line-height: 1.035;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.text-gradient {
  color: #e8fffb;
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .text-gradient {
    background-image: linear-gradient(100deg, #f4fffd 0%, #2de2c5 54%, #b6beff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
}

.hero__subtitle {
  max-width: 56ch;
  margin-bottom: 28px;
  color: #abbcd0;
  font-size: clamp(1rem, 1.4vw, 1.08rem);
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}

.hero__note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: var(--muted);
  font-size: 0.81rem;
  line-height: 1.55;
}

.hero__note svg {
  margin-top: 2px;
  color: var(--teal);
}

.hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 20px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border-soft);
  list-style: none;
}

.hero__facts li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.hero__facts li::before {
  content: "";
  width: 5px;
  height: 5px;
  border: 1px solid var(--teal);
  transform: rotate(45deg);
}

/* Panel visual del hero */

.hero__visual {
  position: relative;
  width: 100%;
  max-width: 560px;
  margin-inline: auto;
}

.hero__glow {
  position: absolute;
  inset: 6% -8% -12%;
  z-index: 0;
  border-radius: 40%;
  background:
    radial-gradient(circle at 62% 38%, rgba(45, 226, 197, 0.16), transparent 58%),
    radial-gradient(circle at 20% 80%, rgba(124, 140, 255, 0.15), transparent 60%);
  filter: blur(34px);
  pointer-events: none;
}

.hero-panel {
  position: relative;
  z-index: 1;
  overflow: hidden;
  border: 1px solid rgba(151, 174, 206, 0.2);
  border-radius: 22px;
  background: linear-gradient(158deg, rgba(15, 31, 52, 0.97), rgba(5, 11, 20, 0.99));
  box-shadow:
    0 34px 80px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.045);
  animation: float-in 0.85s cubic-bezier(0.2, 0.7, 0.25, 1) 0.12s both;
}

.hero-panel::before {
  content: "";
  position: absolute;
  z-index: 3;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(45, 226, 197, 0.75),
    rgba(124, 140, 255, 0.55),
    transparent
  );
  pointer-events: none;
}

.hero-panel__top {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 15px;
  border-bottom: 1px solid var(--border-soft);
  color: #8296ae;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.03em;
}

.window-dots {
  display: flex;
  gap: 4px;
}

.window-dots span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #34445b;
}

.window-dots span:nth-child(1) {
  background: rgba(255, 143, 163, 0.65);
}

.window-dots span:nth-child(2) {
  background: rgba(124, 140, 255, 0.65);
}

.window-dots span:nth-child(3) {
  background: rgba(45, 226, 197, 0.65);
}

.hero-panel__path {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.hero-panel__live {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  color: var(--teal);
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}

.pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
  animation: pulse 2.3s ease-in-out infinite;
}

.hero-panel__body {
  position: relative;
  overflow: hidden;
  padding: 8px 8px 6px;
  background: radial-gradient(circle at 50% 42%, rgba(45, 226, 197, 0.05), transparent 62%);
}

.hero-panel__body::after {
  content: "";
  position: absolute;
  top: -45%;
  left: 0;
  right: 0;
  height: 45%;
  background: linear-gradient(180deg, transparent, rgba(45, 226, 197, 0.065), transparent);
  pointer-events: none;
  animation: scan 7s linear infinite;
}

.surface-map {
  display: block;
  width: 100%;
  height: auto;
}

.report-float {
  position: absolute;
  right: 14px;
  bottom: 14px;
  display: flex;
  align-items: center;
  gap: 9px;
  max-width: calc(100% - 28px);
  padding: 10px 12px;
  border: 1px solid rgba(45, 226, 197, 0.28);
  border-radius: 12px;
  background: rgba(7, 16, 29, 0.9);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.42);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.report-float__icon {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(45, 226, 197, 0.1);
  color: var(--teal);
}

.report-float__text {
  display: flex;
  flex-direction: column;
  line-height: 1.35;
  min-width: 0;
}

.report-float strong {
  color: var(--text);
  font-size: 0.71rem;
  white-space: nowrap;
}

.report-float__text span {
  color: var(--muted);
  font-size: 0.63rem;
  white-space: nowrap;
}

.hero-panel__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border-top: 1px solid var(--border-soft);
  background: rgba(5, 11, 20, 0.42);
}

.engine {
  padding: 3px 7px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: rgba(124, 140, 255, 0.05);
  color: #adbed3;
  font-family: var(--font-mono);
  font-size: 0.59rem;
  letter-spacing: 0.05em;
}

.hero-panel__sla {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-left: auto;
  color: #adbed3;
  font-size: 0.61rem;
  white-space: nowrap;
}

.hero-panel__sla svg {
  color: var(--teal);
}

/* --------------------------------------------------------------------------
   Secciones y tarjetas de valor
   -------------------------------------------------------------------------- */

.section {
  position: relative;
  padding-block: clamp(60px, 8vw, 96px);
}

.section-head {
  max-width: 680px;
  margin-bottom: clamp(32px, 5vw, 52px);
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.section-head h2 {
  margin: 12px 0 15px;
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  letter-spacing: -0.035em;
}

.section-head > p:not(.eyebrow) {
  max-width: 62ch;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.72;
}

.section-head--center > p:not(.eyebrow) {
  margin-inline: auto;
}

.value-grid {
  display: grid;
  gap: 16px;
}

.value-card {
  position: relative;
  overflow: hidden;
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(165deg, rgba(14, 28, 49, 0.78), rgba(7, 15, 27, 0.78));
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.value-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(420px 220px at 15% 0%, rgba(124, 140, 255, 0.1), transparent 65%);
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}

.value-card:hover {
  transform: translateY(-2px);
  border-color: rgba(45, 226, 197, 0.28);
}

.value-card:hover::after {
  opacity: 1;
}

.value-card > * {
  position: relative;
  z-index: 1;
}

.value-card__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(45, 226, 197, 0.18);
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(45, 226, 197, 0.12), rgba(124, 140, 255, 0.08));
  color: var(--teal);
}

.value-card h3 {
  margin: 18px 0 10px;
  font-size: 1.1rem;
}

.value-card p {
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.7;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 16px;
  list-style: none;
}

.tag-list li {
  padding: 3px 8px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: rgba(5, 11, 20, 0.55);
  color: #b9c8da;
  font-family: var(--font-mono);
  font-size: 0.61rem;
  letter-spacing: 0.05em;
}

.flow-panel {
  display: grid;
  gap: 26px;
  margin-top: 18px;
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(11, 23, 41, 0.85), rgba(5, 12, 22, 0.9));
}

.flow-panel__head h3 {
  margin-top: 10px;
  font-size: 1.25rem;
}

.flow-steps {
  display: grid;
  gap: 22px;
  list-style: none;
}

.flow-steps li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.flow-steps li + li {
  padding-top: 22px;
  border-top: 1px solid var(--border-soft);
}

.flow-steps__num {
  flex: none;
  padding: 7px 8px;
  border: 1px solid rgba(45, 226, 197, 0.24);
  border-radius: 8px;
  background: rgba(45, 226, 197, 0.05);
  color: var(--teal);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  line-height: 1;
}

.flow-steps h4 {
  margin-bottom: 4px;
  font-size: 0.95rem;
}

.flow-steps p {
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.62;
}

/* --------------------------------------------------------------------------
   Precios
   -------------------------------------------------------------------------- */

.section--pricing {
  border-block: 1px solid var(--border-soft);
  background-image:
    radial-gradient(900px 500px at 50% 0%, rgba(124, 140, 255, 0.1), transparent 64%),
    linear-gradient(180deg, rgba(7, 15, 27, 0.66), rgba(5, 9, 17, 0));
  background-repeat: no-repeat;
}

.pricing-grid {
  display: grid;
  gap: 16px;
}

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 24px 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(170deg, rgba(14, 28, 49, 0.86), rgba(6, 14, 26, 0.9));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.plan__head h3 {
  font-size: 1.06rem;
  letter-spacing: 0;
}

.plan__desc {
  min-height: 3.2em;
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.77rem;
  line-height: 1.45;
}

.plan__price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 5px;
  margin: 16px 0 4px;
  color: var(--text);
}

.plan__amount {
  font-size: 2.35rem;
  font-weight: 750;
  letter-spacing: -0.045em;
  line-height: 1;
}

.plan__amount--small {
  font-size: 1.95rem;
}

.plan__from {
  align-self: center;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.plan__period {
  color: var(--muted);
  font-size: 0.77rem;
}

.plan__meta {
  min-height: 1.35em;
  color: #8296ae;
  font-size: 0.71rem;
}

.plan__features {
  display: grid;
  gap: 10px;
  margin: 16px 0 auto;
  padding: 18px 0 22px;
  border-top: 1px solid var(--border-soft);
  list-style: none;
}

.plan__features li {
  position: relative;
  padding-left: 24px;
  color: var(--text-soft);
  font-size: 0.84rem;
  line-height: 1.45;
}

.plan__features li::before {
  content: "✓";
  position: absolute;
  top: -1px;
  left: 0;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 700;
}

.plan__badge {
  position: absolute;
  top: 18px;
  right: 16px;
  padding: 5px 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--teal), #7af0dc);
  color: #04110f;
  font-family: var(--font-mono);
  font-size: 0.57rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.plan--featured {
  border-color: rgba(45, 226, 197, 0.45);
  background: linear-gradient(170deg, rgba(17, 43, 55, 0.8), rgba(9, 22, 35, 0.95));
  box-shadow:
    0 20px 50px rgba(45, 226, 197, 0.07),
    inset 0 1px 0 rgba(45, 226, 197, 0.16);
}

.plan--featured::before {
  content: "";
  position: absolute;
  top: 0;
  left: 18px;
  right: 18px;
  height: 2px;
  border-radius: 0 0 2px 2px;
  background: linear-gradient(90deg, var(--teal), var(--indigo));
}

.pricing-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  max-width: 820px;
  margin: 28px auto 0;
  color: #8da1b9;
  font-size: 0.76rem;
  line-height: 1.6;
}

.pricing-note svg {
  margin-top: 2px;
  color: var(--indigo);
}

.pricing-help {
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.86rem;
  text-align: center;
}

.pricing-help a {
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 840px;
  margin-inline: auto;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(10, 20, 36, 0.62);
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.faq-item[open] {
  border-color: rgba(45, 226, 197, 0.3);
  background: rgba(12, 26, 43, 0.82);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 19px 22px;
  color: var(--text-soft);
  font-size: 0.97rem;
  font-weight: 600;
  line-height: 1.45;
  list-style: none;
  cursor: pointer;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  flex: none;
  color: var(--teal);
  font-size: 1.35rem;
  font-weight: 300;
  line-height: 1;
}

.faq-item[open] summary {
  color: var(--text);
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item summary:hover {
  color: var(--text);
}

.faq-item summary:focus-visible {
  border-radius: 14px;
  outline: 2px solid var(--teal);
  outline-offset: -3px;
}

.faq-item__answer {
  padding: 0 22px 21px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.75;
}

.faq-item__answer p {
  max-width: 68ch;
}

.faq-item__answer a {
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   Contacto
   -------------------------------------------------------------------------- */

.section--contact {
  padding-top: clamp(42px, 6vw, 68px);
}

.contact-panel {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: linear-gradient(150deg, rgba(12, 26, 45, 0.96), rgba(5, 12, 23, 0.98));
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.28);
}

.contact-intro {
  position: relative;
  padding: clamp(26px, 5vw, 44px);
}

.contact-intro::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(540px 300px at 0% 0%, rgba(45, 226, 197, 0.1), transparent 65%);
  pointer-events: none;
}

.contact-intro > * {
  position: relative;
}

.contact-intro h2 {
  margin: 14px 0;
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  letter-spacing: -0.035em;
}

.contact-intro__lead {
  max-width: 44ch;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.7;
}

.contact-list {
  display: grid;
  gap: 11px;
  margin: 26px 0;
  list-style: none;
}

.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: var(--text-soft);
  font-size: 0.87rem;
  line-height: 1.55;
}

.contact-list svg {
  margin-top: 2px;
  color: var(--teal);
}

.contact-direct {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 20px;
  border-top: 1px solid var(--border-soft);
}

.contact-direct span {
  color: #8296ae;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-direct a {
  align-self: flex-start;
  color: var(--teal);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
}

.contact-direct a:hover {
  text-decoration: underline;
}

.contact-form-wrap {
  padding: clamp(26px, 5vw, 44px);
  border-top: 1px solid var(--border);
  background: rgba(7, 15, 28, 0.62);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-grid {
  display: grid;
  gap: 16px;
}

.field label {
  display: block;
  margin-bottom: 7px;
  color: var(--text-soft);
  font-size: 0.8rem;
  font-weight: 600;
}

.req {
  color: var(--teal);
}

.optional {
  color: #7e92aa;
  font-size: 0.73rem;
  font-weight: 400;
}

.field input,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 11px;
  background: #071120;
  color: var(--text);
  font: inherit;
  font-size: 0.92rem;
  line-height: 1.4;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

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

.field input::placeholder,
.field textarea::placeholder {
  color: #71849c;
  opacity: 1;
}

.field input:hover,
.field textarea:hover {
  border-color: rgba(151, 174, 206, 0.3);
}

.field input:focus-visible,
.field textarea:focus-visible {
  border-color: var(--teal);
  background: #081426;
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

.field--invalid input,
.field--invalid textarea {
  border-color: rgba(255, 143, 163, 0.72);
}

.field--invalid input:focus-visible,
.field--invalid textarea:focus-visible {
  outline-color: var(--danger);
}

.field__error {
  margin-top: 6px;
  color: #ffacb8;
  font-size: 0.76rem;
  line-height: 1.4;
}

.field input:-webkit-autofill,
.field textarea:-webkit-autofill {
  -webkit-text-fill-color: var(--text);
  box-shadow: 0 0 0 1000px #071120 inset;
  caret-color: var(--text);
}

.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  border: 0 !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}

.contact-form__submit {
  margin-top: 2px;
}

.form-note {
  color: #7f93ab;
  font-size: 0.72rem;
  line-height: 1.55;
}

.form-note a {
  color: var(--teal);
}

.form-note--noscript {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--border-soft);
}

.form-alert {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 18px;
  padding: 14px 15px;
  border: 1px solid;
  border-radius: 12px;
  font-size: 0.84rem;
  line-height: 1.5;
}

.form-alert svg {
  margin-top: 2px;
}

.form-alert strong {
  display: block;
  margin-bottom: 2px;
  font-size: 0.87rem;
}

.form-alert p {
  margin: 0;
}

.form-alert--success {
  border-color: rgba(45, 226, 197, 0.35);
  background: rgba(45, 226, 197, 0.07);
  color: #c8f8ee;
}

.form-alert--success svg {
  color: var(--teal);
}

.form-alert--error {
  border-color: rgba(255, 143, 163, 0.35);
  background: rgba(255, 143, 163, 0.07);
  color: #ffd4da;
}

.form-alert--error svg {
  color: var(--danger);
}

.form-alert__fallback {
  margin-top: 5px !important;
  color: #e7b9c0;
  font-size: 0.78rem;
}

.form-alert a {
  color: #ffffff;
  font-weight: 600;
}

.form-alert:focus {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

.spinner {
  display: none;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(3, 17, 14, 0.3);
  border-top-color: #03110e;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

.btn.is-loading .spinner {
  display: inline-block;
}

.btn.is-loading .btn__icon {
  display: none;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
  padding: clamp(44px, 6vw, 64px) 0 26px;
  border-top: 1px solid var(--border-soft);
  background: var(--bg-deep);
}

.footer-grid {
  display: grid;
  gap: 32px;
}

.footer-brand .brand {
  width: fit-content;
}

.footer-brand p {
  max-width: 36ch;
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.7;
}

.footer-title {
  margin-bottom: 13px;
  color: #8296ae;
  font-family: var(--font-mono);
  font-size: 0.67rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-links {
  display: grid;
  gap: 9px;
  list-style: none;
}

.footer-links li {
  color: #96a9c2;
  font-size: 0.83rem;
}

.footer-links a {
  color: #b9c8da;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--teal);
  text-decoration: underline;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  margin-top: 38px;
  padding-top: 20px;
  border-top: 1px solid var(--border-soft);
  color: #7b8fa7;
  font-size: 0.72rem;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (min-width: 560px) {
  .form-grid {
    grid-template-columns: 1fr 1fr;
  }

  .field--full {
    grid-column: 1 / -1;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px 24px;
  }

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

@media (min-width: 620px) {
  .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .plan:last-child {
    grid-column: 1 / -1;
    justify-self: center;
    width: calc(50% - 9px);
  }
}

@media (min-width: 700px) {
  .value-grid {
    grid-template-columns: 1fr 1fr;
    gap: 18px;
  }
}

@media (min-width: 800px) {
  .flow-panel {
    grid-template-columns: 0.7fr 1.3fr;
    align-items: start;
    gap: 36px;
    padding: 32px;
  }

  .flow-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
  }

  .flow-steps li {
    flex-direction: column;
    gap: 12px;
  }

  .flow-steps li + li {
    padding-top: 0;
    padding-left: 20px;
    border-top: 0;
    border-left: 1px solid var(--border-soft);
  }
}

@media (min-width: 861px) {
  :root {
    --header-h: 76px;
  }

  .nav-toggle {
    display: none;
  }

  .site-header__inner {
    min-height: var(--header-h);
  }

  .primary-nav,
  html.js .primary-nav {
    position: static;
    display: flex;
    align-items: center;
    gap: 36px;
    max-height: none;
    overflow: visible;
    border: 0;
    padding: 0;
    background: none;
    box-shadow: none;
  }

  .nav-list {
    flex-direction: row;
    align-items: center;
    gap: 6px;
  }

  .nav-list a {
    padding: 8px 10px;
    font-size: 0.9rem;
  }

  .nav-actions {
    flex-direction: row;
    align-items: center;
    gap: 16px;
    margin: 0;
    padding: 0;
    border: 0;
  }

  .nav-login {
    padding: 8px 4px;
    font-size: 0.9rem;
  }

  html:not(.js) .site-header__inner {
    flex-wrap: nowrap;
    padding-block: 0;
  }

  html:not(.js) .primary-nav {
    flex: 0 1 auto;
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
  }
}

@media (min-width: 900px) {
  .footer-grid {
    grid-template-columns: 1.5fr 0.8fr 1fr 0.8fr;
    gap: 32px;
  }

  .footer-brand {
    grid-column: auto;
  }
}

@media (min-width: 1000px) {
  .contact-panel {
    grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  }

  .contact-form-wrap {
    border-top: 0;
    border-left: 1px solid var(--border);
  }

  .contact-intro,
  .contact-form-wrap {
    padding: 44px;
  }
}

@media (min-width: 960px) {
  .hero {
    padding-top: 92px;
    padding-bottom: 96px;
  }

  .hero__grid {
    grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
    gap: clamp(40px, 6vw, 72px);
  }

  .hero__visual {
    justify-self: end;
  }
}

@media (min-width: 1000px) {
  .pricing-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .plan:last-child {
    grid-column: auto;
    justify-self: stretch;
    width: auto;
  }
}

@media (min-width: 1000px) and (max-width: 1099px) {
  .pricing-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .plan {
    grid-column: span 2;
  }

  .plan:nth-child(4) {
    grid-column: 2 / span 2;
  }

  .plan:nth-child(5) {
    grid-column: 4 / span 2;
  }
}

@media (min-width: 1100px) {
  .pricing-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
  }

  .plan {
    padding: 22px 18px;
  }

  .plan__amount {
    font-size: 2.05rem;
  }

  .plan__amount--small {
    font-size: 1.8rem;
  }

  .plan__desc {
    font-size: 0.73rem;
  }

  .plan__features li {
    padding-left: 21px;
    font-size: 0.78rem;
  }

  .plan__badge {
    top: 16px;
    right: 12px;
    padding: 4px 6px;
    font-size: 0.53rem;
  }

  .plan .btn {
    padding: 11px 10px;
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  .report-float {
    display: none;
  }

  .hero-panel__sla {
    margin-left: 0;
  }

  .hero-panel__top {
    gap: 8px;
  }
}

@media (max-width: 430px) {
  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero__actions .btn {
    width: 100%;
  }
}

/* --------------------------------------------------------------------------
   Movimiento
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .hero-panel__body::after {
    display: none;
  }
}

@keyframes float-in {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
    box-shadow: 0 0 0 0 rgba(45, 226, 197, 0.32);
  }
  50% {
    opacity: 0.55;
    box-shadow: 0 0 0 5px rgba(45, 226, 197, 0);
  }
}

@keyframes scan {
  0% {
    transform: translateY(0);
    opacity: 0;
  }
  8% {
    opacity: 1;
  }
  88% {
    opacity: 1;
  }
  100% {
    transform: translateY(330%);
    opacity: 0;
  }
}

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

/* --------------------------------------------------------------------------
   Accesibilidad forzada / impresión
   -------------------------------------------------------------------------- */

@media (forced-colors: active) {
  .btn,
  .plan,
  .value-card,
  .faq-item,
  .contact-panel,
  .hero-panel {
    border: 1px solid CanvasText;
  }

  .field input:focus-visible,
  .field textarea:focus-visible {
    outline: 3px solid Highlight;
  }

  .text-gradient {
    background: none;
    -webkit-background-clip: border-box;
    background-clip: border-box;
    color: CanvasText;
  }
}

@media print {
  .site-header,
  .hero__visual,
  .contact-form-wrap,
  .skip-link {
    display: none !important;
  }

  body {
    background: #ffffff;
    color: #111111;
  }

  .hero,
  .section,
  .site-footer {
    padding-block: 24px;
  }

  .hero h1,
  .section-head h2,
  .plan h3,
  .value-card h3,
  .faq-item summary,
  .contact-intro h2 {
    color: #111111;
  }

  .text-gradient {
    background: none !important;
    -webkit-background-clip: border-box !important;
    background-clip: border-box !important;
    color: #111111 !important;
  }

  .hero__subtitle,
  .section-head p,
  .value-card p,
  .plan__features li,
  .faq-item__answer,
  .contact-intro__lead {
    color: #333333;
  }
}


/* Botón flotante de WhatsApp */
.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #ffffff;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22), 0 2px 8px rgba(37, 211, 102, 0.35);
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.whatsapp-float:hover {
  background: #1ebe5b;
  color: #ffffff;
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.25), 0 3px 10px rgba(37, 211, 102, 0.45);
}

.whatsapp-float:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 3px;
}

.whatsapp-float svg {
  width: 31px;
  height: 31px;
}

.contact-direct__wa {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-weight: 650;
}

.contact-direct__wa::before {
  content: "●";
  color: #25d366;
  font-size: 8px;
  line-height: 1;
}

@media (max-width: 640px) {
  .whatsapp-float {
    right: 16px;
    bottom: 16px;
    width: 52px;
    height: 52px;
  }

  .whatsapp-float svg {
    width: 28px;
    height: 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .whatsapp-float {
    transition: none;
  }
}
