/* leandrosepulveda.com — estilos de la página principal.
   Sin dependencias externas, sin fuentes de terceros. */

:root {
  --bg: #0f0f1a;
  --bg-soft: #151526;
  --panel: #191a2c;
  --panel-2: #202138;
  --line: rgba(232, 199, 102, 0.22);
  --line-soft: rgba(255, 255, 255, 0.1);
  --gold: #e8c766;
  --gold-strong: #f2d98a;
  --text: #f5f6fa;
  --muted: #b8bfd0;
  --dark: #12121f;
  --ok: #6ee7a8;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  --max: 1120px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(60rem 30rem at 80% -10%, rgba(232, 199, 102, 0.12), transparent 60%),
    radial-gradient(40rem 24rem at -10% 20%, rgba(90, 48, 176, 0.14), transparent 60%);
  pointer-events: none;
}

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

a {
  color: var(--gold-strong);
  text-underline-offset: 3px;
}

a:hover {
  color: #fff3c4;
}

:focus-visible {
  outline: 3px solid #7fd1ff;
  outline-offset: 3px;
  border-radius: 4px;
}

h1,
h2,
h3,
h4 {
  margin: 0 0 0.5em;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.4rem);
}

h2 {
  font-size: clamp(1.6rem, 3.6vw, 2.4rem);
}

h3 {
  font-size: 1.15rem;
}

p {
  margin: 0 0 1em;
}

ul,
ol {
  margin: 0 0 1em;
  padding-left: 1.2em;
}

li {
  margin-bottom: 0.35em;
}

section {
  padding: 4.5rem 0;
}

section:target,
[id] {
  scroll-margin-top: 6rem;
}

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 100;
  background: var(--gold);
  color: var(--dark);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
}

.skip-link:focus {
  top: 1rem;
}

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

/* Cabecera */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(15, 15, 26, 0.92);
  border-bottom: 1px solid var(--line-soft);
  backdrop-filter: blur(10px);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--text);
  text-decoration: none;
  font-weight: 800;
  letter-spacing: -0.01em;
}

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--dark);
  font-size: 0.85rem;
  font-weight: 900;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0;
}

.nav {
  display: none;
  margin-left: auto;
  gap: 1.15rem;
  font-size: 0.92rem;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
}

.nav a:hover,
.nav a[aria-current="true"] {
  color: var(--gold-strong);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-left: auto;
}

.lang-switch {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 2px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.lang-switch a,
.lang-switch span {
  display: inline-block;
  padding: 0.3rem 0.55rem;
  border-radius: 999px;
  color: var(--muted);
  text-decoration: none;
}

.lang-switch a:hover {
  color: var(--gold-strong);
}

.lang-switch [aria-current="true"] {
  background: var(--gold);
  color: var(--dark);
}

.menu {
  position: relative;
}

.menu summary {
  list-style: none;
  cursor: pointer;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.45rem 0.8rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text);
}

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

.menu[open] summary {
  border-color: var(--gold);
  color: var(--gold-strong);
}

.menu-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 0.6rem);
  min-width: 220px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  padding: 0.5rem;
  display: grid;
}

.menu-panel a {
  padding: 0.65rem 0.75rem;
  border-radius: 8px;
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
}

.menu-panel a:hover {
  background: rgba(232, 199, 102, 0.12);
  color: var(--gold-strong);
}

/* Botones */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 46px;
  padding: 0.7rem 1.15rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-weight: 800;
  font-size: 0.95rem;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--gold);
  color: var(--dark);
}

.btn-primary:hover {
  background: var(--gold-strong);
  color: var(--dark);
}

.btn-secondary {
  border-color: var(--gold);
  color: var(--gold-strong);
  background: transparent;
}

.btn-secondary:hover {
  background: rgba(232, 199, 102, 0.12);
  color: #fff3c4;
}

.btn-ghost {
  border-color: var(--line-soft);
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
}

.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold-strong);
}

.btn-sm {
  min-height: 38px;
  padding: 0.45rem 0.9rem;
  font-size: 0.85rem;
}

.btn-block {
  width: 100%;
}

/* Hero */
.hero {
  padding: 3.5rem 0 3rem;
}

/* Franja de video (animación de fondo, de extremo a extremo) */
.media-band {
  position: relative;
  width: 100%;
  height: 256px;
  overflow: hidden;
  background: var(--dark);
  border-bottom: 1px solid var(--line-soft);
}

.media-band video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.45;
  filter: saturate(0.8) contrast(1.05);
}

.media-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 90% at 75% 10%, rgba(232, 199, 102, 0.1), transparent 65%),
    linear-gradient(180deg, rgba(15, 15, 26, 0.62) 0%, rgba(15, 15, 26, 0.9) 100%);
  pointer-events: none;
}

.video-toggle {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  color: var(--muted);
  background: rgba(15, 15, 26, 0.6);
  border: 1px solid var(--line-soft);
  border-radius: 50%;
  cursor: pointer;
  backdrop-filter: blur(6px);
}

.video-toggle svg {
  width: 13px;
  height: 13px;
  fill: currentColor;
}

.video-toggle .icon-play {
  display: none;
}

.video-toggle[aria-pressed="true"] .icon-pause {
  display: none;
}

.video-toggle[aria-pressed="true"] .icon-play {
  display: block;
}

.video-toggle:hover {
  color: var(--gold-strong);
  border-color: var(--line);
  background: rgba(15, 15, 26, 0.85);
}

.hero-grid {
  display: grid;
  gap: 2.5rem;
  align-items: start;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  padding: 0.35rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--gold-strong);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.lead {
  font-size: clamp(1.02rem, 2vw, 1.2rem);
  color: var(--muted);
  max-width: 60ch;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.6rem 0 0.9rem;
}

.hero-note {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1rem;
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.hero-note span::before {
  content: "✓";
  color: var(--ok);
  margin-right: 0.35rem;
  font-weight: 900;
}

.hero-card {
  background: linear-gradient(160deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.hero-card .kicker {
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-card h2 {
  font-size: 1.35rem;
  margin-top: 0.4rem;
}

.hero-card p {
  color: var(--muted);
  font-size: 0.94rem;
}

.hero-card .btn {
  margin-top: 0.4rem;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.2rem;
}

.check-list li {
  position: relative;
  padding-left: 1.35rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.58em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
}

/* Franja de confianza */
.trust-strip {
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, 0.02);
}

.trust-grid {
  display: grid;
  gap: 1rem;
  padding: 1.25rem 0;
}

.trust-item {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  color: var(--muted);
  font-size: 0.9rem;
}

.trust-item strong {
  color: var(--text);
  display: block;
  font-size: 0.92rem;
}

.trust-item .dot {
  flex: none;
  width: 9px;
  height: 9px;
  margin-top: 0.5rem;
  border-radius: 50%;
  background: var(--gold);
}

/* Secciones */
.section-alt {
  background: rgba(255, 255, 255, 0.025);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.section-head {
  max-width: 66ch;
  margin-bottom: 2rem;
}

.kicker {
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.section-sub {
  color: var(--muted);
  font-size: 1.02rem;
}

.grid {
  display: grid;
  gap: 1.1rem;
}

.card {
  background: var(--panel);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 1.35rem;
}

.card h3 {
  margin-bottom: 0.35rem;
}

.card p {
  color: var(--muted);
  font-size: 0.93rem;
  margin-bottom: 0.8rem;
}

.card .meta {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.45rem;
}

.card .card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--gold-strong);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  font-family: inherit;
}

.card .card-link:hover {
  text-decoration: underline;
}

/* Producto principal */
.product-feature {
  display: grid;
  gap: 1.5rem;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.product-feature h3 {
  font-size: 1.5rem;
}

.product-feature .problem {
  color: var(--gold-strong);
  font-weight: 600;
}

.product-panel {
  background: var(--bg-soft);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  padding: 1.25rem;
}

.product-panel h4 {
  font-size: 0.95rem;
  color: var(--muted);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1rem;
}

/* Planes */
.plans {
  display: grid;
  gap: 1.1rem;
}

.plan {
  display: flex;
  flex-direction: column;
  background: var(--panel);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 1.35rem;
}

.plan.recommended {
  border-color: var(--gold);
  box-shadow: 0 0 0 1px rgba(232, 199, 102, 0.25), var(--shadow);
}

.plan .badge {
  align-self: flex-start;
  margin-bottom: 0.7rem;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  background: var(--gold);
  color: var(--dark);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.plan h3 {
  margin-bottom: 0.2rem;
}

.plan .for {
  color: var(--muted);
  font-size: 0.88rem;
  min-height: 2.6em;
}

.plan ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1.1rem;
  flex: 1;
}

.plan li {
  position: relative;
  padding-left: 1.25rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.plan li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.58em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

.plan .price-note {
  color: var(--text);
  font-size: 0.86rem;
  font-weight: 700;
  margin: 0 0 0.9rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--line-soft);
}

.plans-note {
  margin-top: 1.2rem;
  color: var(--muted);
  font-size: 0.9rem;
}

/* Hardware */
.hardware {
  display: grid;
  gap: 1.5rem;
  align-items: center;
}

.hardware-panel {
  background: linear-gradient(160deg, rgba(232, 199, 102, 0.14), var(--panel));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.hardware-panel .big {
  font-size: 2rem;
  font-weight: 900;
  color: var(--gold-strong);
  line-height: 1;
  margin-bottom: 0.4rem;
}

/* Pasos */
.steps {
  display: grid;
  gap: 1rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.step {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 1.2rem;
}

.step-num {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--dark);
  font-weight: 900;
  font-size: 0.9rem;
  margin-bottom: 0.8rem;
}

.step p {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0;
}

/* FAQ */
.faq {
  display: grid;
  gap: 0.7rem;
  max-width: 840px;
}

.faq details {
  background: var(--panel);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  padding: 0.2rem 1rem;
}

.faq details[open] {
  border-color: var(--line);
}

.faq summary {
  cursor: pointer;
  padding: 0.95rem 0;
  font-weight: 700;
  color: var(--text);
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

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

.faq summary::after {
  content: "+";
  color: var(--gold);
  font-size: 1.3rem;
  line-height: 1;
}

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

.faq details p {
  color: var(--muted);
  font-size: 0.93rem;
  margin: 0 0 0.95rem;
}

/* Laboratorio */
.lab-group + .lab-group {
  margin-top: 2.2rem;
}

.lab-group h3 {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.15rem;
  margin-bottom: 0.3rem;
}

.lab-group > p {
  color: var(--muted);
  font-size: 0.92rem;
  margin-bottom: 1rem;
}

.lab-grid {
  display: grid;
  gap: 0.9rem;
}

.lab-card {
  background: var(--panel);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  padding: 1rem;
}

.lab-card h4 {
  margin: 0 0 0.25rem;
  font-size: 1rem;
}

.lab-card p {
  color: var(--muted);
  font-size: 0.87rem;
  margin: 0 0 0.55rem;
}

.lab-card a {
  font-size: 0.86rem;
  font-weight: 700;
}

.chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.chip-list a {
  display: inline-block;
  padding: 0.4rem 0.7rem;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.82rem;
  text-decoration: none;
}

.chip-list a:hover {
  border-color: var(--gold);
  color: var(--gold-strong);
}

/* Contacto */
.contact {
  border-top: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(232, 199, 102, 0.1), transparent 60%);
}

.contact-card {
  display: grid;
  gap: 1.5rem;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem;
  box-shadow: var(--shadow);
}

.contact-links {
  display: grid;
  gap: 0.7rem;
  align-content: start;
}

.contact-links .btn {
  width: 100%;
}

.contact-meta {
  color: var(--muted);
  font-size: 0.88rem;
  margin: 0;
}

.contact-meta strong {
  color: var(--text);
}

/* Pie */
.site-footer {
  border-top: 1px solid var(--line-soft);
  padding: 2rem 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.footer-grid {
  display: grid;
  gap: 1.2rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
}

.footer-nav a {
  color: var(--muted);
  text-decoration: none;
}

.footer-nav a:hover {
  color: var(--gold-strong);
}

/* Diálogo de video */
.video-dialog {
  width: min(920px, calc(100% - 2rem));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0;
  background: var(--panel);
  color: var(--text);
  box-shadow: var(--shadow);
}

.video-dialog::backdrop {
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(4px);
}

.video-dialog .dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--line-soft);
}

.video-dialog h2 {
  font-size: 1.05rem;
  margin: 0;
}

.dialog-close {
  border: 0;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
}

.dialog-close:hover {
  background: rgba(232, 199, 102, 0.2);
  color: var(--gold-strong);
}

.video-dialog video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}

.dialog-note {
  margin: 0;
  padding: 0.8rem 1rem;
  color: var(--muted);
  font-size: 0.82rem;
}

/* Descargas */
.dl-group + .dl-group {
  margin-top: 3rem;
}

.dl-group > h2 {
  font-size: 1.4rem;
  margin-bottom: 0.4rem;
}

.dl-group > p {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 1.2rem;
}

.dl-list {
  display: grid;
  gap: 0.9rem;
}

.dl-item {
  background: var(--panel);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  padding: 1.1rem 1.2rem;
}

.dl-item-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.4rem 0.8rem;
  margin-bottom: 0.35rem;
}

.dl-item-head h3 {
  margin: 0;
  font-size: 1.05rem;
}

.dl-item-head .size {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 600;
}

.dl-item p {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 0.7rem;
}

.dl-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
  margin-bottom: 0.7rem;
}

.hash-box {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.6rem;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  padding: 0.6rem 0.7rem;
}

.hash-box .hash-label {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hash-box code {
  flex: 1 1 100%;
  color: var(--gold-strong);
  font-family: ui-monospace, "SFMono-Regular", "Consolas", monospace;
  font-size: 0.74rem;
  line-height: 1.5;
  word-break: break-all;
}

.hash-box button {
  font: inherit;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gold-strong);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.3rem 0.7rem;
  cursor: pointer;
}

.hash-box button:hover {
  background: rgba(232, 199, 102, 0.14);
}

.notice {
  margin-top: 1.2rem;
  padding: 0.9rem 1rem;
  border-left: 3px solid var(--gold);
  background: rgba(232, 199, 102, 0.08);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.notice strong {
  color: var(--text);
}

/* Páginas legales */
.legal {
  max-width: 800px;
  margin: 0 auto;
  padding: 3.5rem 0;
}

.legal h1 {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
}

.legal h2 {
  font-size: 1.25rem;
  margin-top: 2rem;
}

.legal p,
.legal li {
  color: var(--muted);
}

.legal .updated {
  color: var(--gold);
  font-size: 0.85rem;
  font-weight: 700;
}

.legal .back {
  display: inline-block;
  margin-top: 2rem;
  font-weight: 700;
}

/* Utilidades */
.text-gold {
  color: var(--gold-strong);
}.muted {
  color: var(--muted);
}

.center {
  text-align: center;
}

.mt-2 {
  margin-top: 2rem;
}

.mt-1 {
  margin-top: 1rem;
}

.small {
  font-size: 0.85rem;
}

.stack > * + * {
  margin-top: 0.8rem;
}

/* Móvil estrecho */
@media (max-width: 519px) {
  /* Se oculta visualmente el nombre, pero se mantiene en el árbol de
     accesibilidad para que el enlace de inicio tenga un nombre legible. */
  .brand > span:last-child {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
  }

  .header-actions {
    gap: 0.4rem;
  }

  .btn-sm {
    padding: 0.45rem 0.7rem;
  }
}

/* Escritorio */
@media (min-width: 640px) {
  .media-band {
    height: 320px;
  }

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

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

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

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

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

@media (min-width: 900px) {
  .media-band {
    height: 384px;
  }

  .nav {
    display: flex;
  }

  .menu {
    display: none;
  }

  .header-actions {
    margin-left: 0;
  }

  .hero-grid {
    grid-template-columns: 1.35fr 0.85fr;
    gap: 3rem;
  }

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

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

  .product-feature {
    grid-template-columns: 1.4fr 0.8fr;
    gap: 2rem;
    padding: 2rem;
  }

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

  .hardware {
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
  }

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

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

  .contact-card {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    padding: 2rem;
  }

  .footer-grid {
    grid-template-columns: 1fr auto;
    align-items: center;
  }
}

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

  .media-band video {
    display: none;
  }

  .video-toggle {
    display: none;
  }

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