/* ==========================================================================
   angelsoldado.com — neon aqua/fucsia · mobile-first
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --bg: #07070e;
  --bg-1: #0c0d18;
  --card: rgba(255, 255, 255, 0.04);
  --stroke: rgba(255, 255, 255, 0.09);
  --text: #f4f6fb;
  --muted: #9aa4bb;

  --aqua: #2ee6ff;
  --fuchsia: #ff2e9a;
  --grad: linear-gradient(100deg, var(--aqua), var(--fuchsia));

  --radius: 18px;
  --font-display: 'Anton', Impact, sans-serif;
  --font-body: 'Space Grotesk', system-ui, sans-serif;
}

@property --ang {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}

/* Fondo: blobs neón aqua/fucsia que derivan despacio */
body::before {
  content: '';
  position: fixed;
  inset: -20%;
  z-index: -1;
  background:
    radial-gradient(38% 30% at 18% 12%, rgba(46, 230, 255, 0.14), transparent 70%),
    radial-gradient(40% 34% at 85% 20%, rgba(255, 46, 154, 0.12), transparent 70%),
    radial-gradient(45% 40% at 50% 95%, rgba(255, 46, 154, 0.09), transparent 70%),
    radial-gradient(35% 30% at 8% 80%, rgba(46, 230, 255, 0.08), transparent 70%);
  filter: blur(50px);
  animation: drift 28s ease-in-out infinite alternate;
}

@keyframes drift {
  from { transform: translate3d(-2%, -1%, 0) rotate(-1deg); }
  to   { transform: translate3d(2%, 2%, 0) rotate(1.5deg); }
}

img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }

[hidden] { display: none !important; }

::selection { background: var(--fuchsia); color: #fff; }

:focus-visible {
  outline: 2px solid var(--aqua);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------- Utilidades ---------- */
.wrap {
  width: min(1120px, 100% - 2.5rem);
  margin-inline: auto;
}

.section { padding: clamp(3.5rem, 10vw, 6.5rem) 0; }

.eyebrow {
  margin: 0 0 0.6rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--aqua);
}

.section-title {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.9rem, 6vw, 3rem);
  line-height: 1.08;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.glow { filter: drop-shadow(0 0 22px rgba(255, 46, 154, 0.35)); }

.muted { color: var(--muted); }

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 48px;
  padding: 0.8rem 1.5rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.98rem;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.btn svg { width: 19px; height: 19px; flex: none; }

.btn-primary {
  background: var(--grad);
  color: #05060c;
  box-shadow: 0 10px 34px rgba(255, 46, 154, 0.32), 0 4px 18px rgba(46, 230, 255, 0.18);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 44px rgba(255, 46, 154, 0.42), 0 6px 24px rgba(46, 230, 255, 0.28);
}

.btn-ghost {
  border-color: var(--stroke);
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover { border-color: var(--aqua); color: var(--aqua); transform: translateY(-2px); }

.btn-small { min-height: 40px; padding: 0.45rem 1.05rem; font-size: 0.88rem; }
.btn-block { width: 100%; }
.btn-danger { color: #ff7aa8; }
.btn-danger:hover { border-color: var(--fuchsia); color: var(--fuchsia); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  transition: background 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(7, 7, 14, 0.78);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--stroke);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.7rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  font-weight: 700;
}
.brand img { width: 40px; height: 40px; border-radius: 50%; }
.brand-name { font-size: 1.02rem; letter-spacing: 0.01em; }
.brand-name em { font-style: normal; color: var(--fuchsia); }
.brand-tld { color: var(--muted); font-weight: 500; font-size: 0.85em; }

.site-nav { display: none; }

.header-cta { margin-left: auto; }

@media (min-width: 720px) {
  .site-nav {
    display: flex;
    gap: 1.4rem;
    margin-left: auto;
  }
  .site-nav a {
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--muted);
    transition: color 0.2s ease;
  }
  .site-nav a:hover { color: var(--aqua); }
  .header-cta { margin-left: 0.6rem; }
}

/* ---------- Hero ---------- */
.hero { padding: clamp(3rem, 9vw, 6rem) 0 clamp(2.5rem, 6vw, 4rem); }

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-avatar {
  position: relative;
  width: 140px;
  height: 140px;
  margin-bottom: 1.8rem;
  animation: float 6s ease-in-out infinite alternate;
}
.hero-avatar::before,
.hero-avatar::after {
  content: '';
  position: absolute;
  inset: -7px;
  border-radius: 50%;
  background: conic-gradient(from var(--ang, 0deg), var(--aqua), var(--fuchsia), var(--aqua));
  animation: spin-ang 5s linear infinite;
}
.hero-avatar::after { filter: blur(20px); opacity: 0.55; z-index: -1; }
.hero-avatar img {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--bg-1);
}

@keyframes float {
  from { transform: translateY(-6px); }
  to   { transform: translateY(8px); }
}
@keyframes spin-ang { to { --ang: 360deg; } }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 1.1rem;
  padding: 0.42rem 1rem;
  border: 1px solid var(--stroke);
  border-radius: 999px;
  background: var(--card);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--aqua);
  box-shadow: 0 0 12px var(--aqua);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(0.6); opacity: 0.6; }
}

.hero-title {
  margin: 0 0 1.1rem;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.7rem, 11.5vw, 5.6rem);
  line-height: 1.02;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

.hero-lead {
  margin: 0 0 1.8rem;
  max-width: 58ch;
  font-size: clamp(1rem, 2.6vw, 1.18rem);
  color: var(--muted);
}
.hero-lead strong { color: var(--text); }

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
  margin-bottom: 1.1rem;
}
.hero-cta .btn { flex: 1 1 220px; max-width: 300px; }
@media (min-width: 560px) {
  .hero-cta .btn { flex: 0 1 auto; }
}

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

/* ---------- Ticker ---------- */
.ticker {
  overflow: hidden;
  border-block: 1px solid var(--stroke);
  padding: 0.85rem 0;
  background: rgba(255, 255, 255, 0.02);
}
.ticker-track {
  display: flex;
  width: max-content;
  animation: marquee 26s linear infinite;
}
.ticker-group {
  display: flex;
  align-items: center;
  gap: 2.2rem;
  padding-right: 2.2rem;
  white-space: nowrap;
}
.ticker-group span {
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.ticker-group i {
  font-style: normal;
  color: var(--fuchsia);
  text-shadow: 0 0 12px rgba(255, 46, 154, 0.7);
}
@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ---------- Tarjetas de temas ---------- */
.cards {
  display: grid;
  gap: 1rem;
  margin-top: 2.2rem;
}
@media (min-width: 700px) { .cards { grid-template-columns: repeat(3, 1fr); } }

.card {
  position: relative;
  padding: 1.6rem;
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  background: var(--card);
  backdrop-filter: blur(8px);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.card:hover {
  transform: translateY(-5px);
  border-color: rgba(46, 230, 255, 0.35);
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(46, 230, 255, 0.12);
}

.icon-chip {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  margin-bottom: 1.1rem;
  border: 1px solid var(--stroke);
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(46, 230, 255, 0.12), rgba(255, 46, 154, 0.12));
}
.icon-chip svg { width: 24px; height: 24px; }
.cards .card:nth-child(odd) .icon-chip { color: var(--aqua); }
.cards .card:nth-child(even) .icon-chip { color: var(--fuchsia); }

.card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.12rem;
  font-weight: 700;
}
.card p { margin: 0; font-size: 0.95rem; color: var(--muted); }

/* ---------- Vídeos ---------- */
.videos-grid {
  display: grid;
  gap: 1.2rem;
  margin-top: 2.2rem;
}
@media (min-width: 640px) { .videos-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .videos-grid { grid-template-columns: repeat(3, 1fr); } }

.video-card { overflow: hidden; padding: 0; }

.video-thumb {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  padding: 0;
  border: 0;
  background: #000;
  overflow: hidden;
}
.video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease, opacity 0.3s ease;
}
.video-thumb:hover img { transform: scale(1.05); opacity: 0.85; }

.video-play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}
.video-play::before {
  content: '';
  position: absolute;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: var(--grad);
  box-shadow: 0 8px 30px rgba(255, 46, 154, 0.5);
  transition: transform 0.3s ease;
}
.video-thumb:hover .video-play::before { transform: scale(1.12); }
.video-play svg {
  position: relative;
  width: 24px;
  height: 24px;
  color: #05060c;
  margin-left: 3px;
}

.video-thumb iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-info { padding: 1.1rem 1.2rem 1.3rem; }
.video-info h3 { margin: 0 0 0.4rem; font-size: 1.03rem; }
.video-info p {
  margin: 0 0 0.6rem;
  font-size: 0.9rem;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.video-info time {
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--aqua);
}

/* Estado vacío: teaser con la miniatura real */
.videos-empty { margin-top: 2.2rem; }
.teaser {
  position: relative;
  margin: 0;
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  overflow: hidden;
}
.teaser img { width: 100%; }
.teaser figcaption {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  gap: 0.7rem;
  padding: clamp(1.2rem, 4vw, 2rem);
  background: linear-gradient(180deg, rgba(7, 7, 14, 0) 25%, rgba(7, 7, 14, 0.94) 75%);
}
.teaser-tag {
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  background: var(--grad);
  color: #05060c;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.teaser p { margin: 0; max-width: 46ch; font-size: clamp(0.95rem, 2.4vw, 1.08rem); }

/* ---------- Newsletter ---------- */
.news-card {
  position: relative;
  display: grid;
  gap: 1.8rem;
  padding: clamp(1.6rem, 5vw, 3rem);
  border: 1px solid transparent;
  border-radius: calc(var(--radius) + 6px);
  background:
    linear-gradient(var(--bg-1), var(--bg-1)) padding-box,
    conic-gradient(from var(--ang, 0deg), var(--aqua), var(--fuchsia), var(--aqua)) border-box;
  animation: spin-ang 7s linear infinite;
}
@media (min-width: 860px) {
  .news-card { grid-template-columns: 1fr 1fr; align-items: center; gap: 3rem; }
}

.news-text p:last-child { margin-bottom: 0; color: var(--muted); }

.news-form { display: grid; gap: 0.9rem; }

.field label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.84rem;
  font-weight: 600;
}
.field .opt { color: var(--muted); font-weight: 400; }

.field input {
  width: 100%;
  min-height: 48px;
  padding: 0.8rem 1rem;
  border: 1px solid var(--stroke);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  font: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.field input::placeholder { color: var(--muted); opacity: 0.7; }
.field input:focus {
  outline: none;
  border-color: var(--aqua);
  box-shadow: 0 0 0 3px rgba(46, 230, 255, 0.18);
}

.hp {
  position: absolute !important;
  left: -9999px !important;
  height: 0;
  opacity: 0;
}

.form-note { margin: 0; font-size: 0.78rem; color: var(--muted); }
.form-msg { margin: 0; min-height: 1.3em; font-size: 0.92rem; font-weight: 600; }
.form-msg.is-error { color: #ff7aa8; }
.form-msg.is-ok { color: var(--aqua); }

.news-success {
  display: grid;
  justify-items: center;
  gap: 0.5rem;
  padding: 2rem 1rem;
  text-align: center;
}
.news-success svg { width: 52px; height: 52px; color: var(--aqua); filter: drop-shadow(0 0 16px rgba(46, 230, 255, 0.6)); }
.news-success h3 { margin: 0; font-size: 1.4rem; }
.news-success p { margin: 0; color: var(--muted); }

/* ---------- Sobre mí ---------- */
.about-grid {
  display: grid;
  gap: 2.2rem;
  align-items: center;
}
@media (min-width: 900px) { .about-grid { grid-template-columns: 0.75fr 1.25fr; gap: 3.5rem; } }

.about-media { display: grid; place-items: center; }
.about-media img {
  width: min(300px, 72%);
  border-radius: 32px;
  border: 1px solid var(--stroke);
  background:
    radial-gradient(70% 70% at 30% 25%, rgba(46, 230, 255, 0.18), transparent 70%),
    radial-gradient(70% 70% at 75% 80%, rgba(255, 46, 154, 0.18), transparent 70%),
    var(--bg-1);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.5);
}

.about-text p { color: var(--muted); }
.about-text p strong { color: var(--text); }

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 1.4rem 0 0;
  padding: 0;
  list-style: none;
}
.chips li {
  padding: 0.4rem 0.95rem;
  border: 1px solid var(--stroke);
  border-radius: 999px;
  background: var(--card);
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--muted);
}

/* ---------- CTA final ---------- */
.cta-final { text-align: center; }
.cta-final .section-title { font-size: clamp(2.1rem, 8vw, 4rem); }
.cta-final p { max-width: 52ch; margin: 0 auto 1.8rem; color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--stroke);
  padding: 2.8rem 0;
  background: rgba(255, 255, 255, 0.02);
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.3rem;
  text-align: center;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.footer-brand img { width: 34px; height: 34px; border-radius: 50%; }
.footer-brand p { margin: 0; font-size: 0.95rem; color: var(--muted); }
.footer-brand strong { color: var(--text); }

.socials { display: flex; gap: 0.8rem; }
.socials a {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--stroke);
  border-radius: 12px;
  color: var(--muted);
  transition: color 0.25s ease, border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.socials a:hover {
  color: var(--aqua);
  border-color: var(--aqua);
  transform: translateY(-3px);
  box-shadow: 0 8px 26px rgba(46, 230, 255, 0.22);
}
.socials svg { width: 20px; height: 20px; }

.footer-note { margin: 0; font-size: 0.82rem; color: var(--muted); }

/* ==========================================================================
   ADMIN (/admin)
   ========================================================================== */

.admin-wrap {
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 2rem 0;
}

.login-card {
  width: min(420px, 100%);
  padding: 2.2rem;
  text-align: center;
}
.login-card img {
  width: 76px;
  height: 76px;
  margin: 0 auto 1rem;
  border-radius: 50%;
}
.login-card h1 {
  margin: 0 0 0.3rem;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.9rem;
  text-transform: uppercase;
}
.login-card > p { margin: 0 0 1.6rem; font-size: 0.9rem; color: var(--muted); }
.login-card form { display: grid; gap: 0.9rem; text-align: left; }

.panel { padding: 2rem 0 4.5rem; }

.panel-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 2rem;
}
.panel-top .brand img { width: 36px; height: 36px; }
.panel-top-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.admin-email { font-size: 0.85rem; color: var(--muted); }

.stats {
  display: grid;
  gap: 1rem;
  margin-bottom: 1.6rem;
}
@media (min-width: 700px) { .stats { grid-template-columns: repeat(3, 1fr); } }

.stat { text-align: center; padding: 1.3rem; }
.stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: 2.5rem;
  line-height: 1;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat-label {
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.panel-card { margin-top: 1.4rem; padding: 1.4rem; }
.panel-card-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1.1rem;
}
.panel-card-head h2 { margin: 0; font-size: 1.15rem; }
.panel-card-head .btn { margin-left: auto; }

.empty-hint {
  margin: 0;
  padding: 1.6rem 1rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.92rem;
}

/* Tabla de leads: tabla en desktop, tarjetas en móvil */
.table { width: 100%; border-collapse: collapse; }
.table th {
  padding: 0.65rem 0.8rem;
  border-bottom: 1px solid var(--stroke);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: left;
  color: var(--muted);
}
.table td {
  padding: 0.75rem 0.8rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.92rem;
  vertical-align: middle;
}
.table tbody tr:hover { background: rgba(255, 255, 255, 0.02); }

@media (max-width: 759px) {
  .table, .table tbody, .table tr, .table td { display: block; width: 100%; }
  .table thead { display: none; }
  .table tr {
    margin-bottom: 0.9rem;
    padding: 0.9rem 1rem;
    border: 1px solid var(--stroke);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.02);
  }
  .table td {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 0.3rem 0;
    border: 0;
    word-break: break-word;
  }
  .table td::before {
    content: attr(data-label);
    flex: none;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted);
  }
  .table td[data-label=""]::before { display: none; }
  .table td.cell-actions { justify-content: flex-end; }
}

.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid var(--stroke);
  border-radius: 10px;
  background: transparent;
  color: var(--muted);
  transition: color 0.2s ease, border-color 0.2s ease;
}
.icon-btn:hover { color: var(--fuchsia); border-color: var(--fuchsia); }
.icon-btn svg { width: 17px; height: 17px; }

/* Gestión de vídeos en el panel */
.video-form {
  display: grid;
  gap: 0.9rem;
  margin-bottom: 1.4rem;
  padding-bottom: 1.4rem;
  border-bottom: 1px solid var(--stroke);
}
@media (min-width: 700px) {
  .video-form { grid-template-columns: 1fr 1fr; }
  .video-form .field-full { grid-column: 1 / -1; }
}

.video-rows { display: grid; }
.video-row {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.video-row:last-child { border-bottom: 0; }
.video-row img {
  width: 92px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 8px;
  flex: none;
}
.video-row .video-row-title { font-size: 0.93rem; font-weight: 600; }
.video-row .video-row-date { font-size: 0.76rem; color: var(--muted); }
.video-row .icon-btn { margin-left: auto; flex: none; }

/* ==========================================================================
   HERRAMIENTAS — sección de la landing + catálogo /herramientas
   ========================================================================== */

.tool-spotlight {
  display: grid;
  gap: 1.5rem;
  margin-top: 2rem;
  overflow: hidden;
  border: 1px solid var(--stroke);
  border-radius: calc(var(--radius) + 6px);
  background: var(--card);
}
.tool-spotlight-media { min-height: 240px; overflow: hidden; }
.tool-spotlight-media img { width: 100%; height: 100%; object-fit: cover; }
.tool-spotlight-copy { align-self: center; padding: 0 1.5rem 1.8rem; }
.tool-spotlight-copy h3 { margin: 1rem 0 0.7rem; font-family: var(--font-display); font-size: clamp(1.8rem, 5vw, 2.7rem); font-weight: 400; line-height: 1.05; text-transform: uppercase; }
.tool-spotlight-copy p { color: var(--muted); }
.tool-spotlight-note { font-size: 0.86rem; }
@media (min-width: 820px) {
  .tool-spotlight { grid-template-columns: 1.2fr 0.8fr; }
  .tool-spotlight-copy { padding: 2.4rem; }
}

.tools-page { min-height: 100vh; }
.tools-header .header-cta { margin-left: auto; }
.tools-hero { padding: clamp(5rem, 13vw, 9rem) 0 clamp(2rem, 5vw, 4rem); text-align: center; }
.tools-hero .hero-title { margin-inline: auto; max-width: 900px; }
.tools-lead { max-width: 64ch; margin: 0 auto 1.5rem; color: var(--muted); font-size: clamp(1rem, 2.5vw, 1.16rem); }
.access-chip { display: inline-flex; align-items: center; gap: 0.55rem; padding: 0.45rem 0.9rem; border: 1px solid rgba(255, 46, 154, 0.35); border-radius: 999px; background: rgba(255, 46, 154, 0.08); color: #ff91ba; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.access-chip .access-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--fuchsia); box-shadow: 0 0 10px var(--fuchsia); }
.access-chip.is-unlocked { border-color: rgba(46, 230, 255, 0.4); background: rgba(46, 230, 255, 0.08); color: var(--aqua); }
.access-chip.is-unlocked .access-dot { background: var(--aqua); box-shadow: 0 0 10px var(--aqua); }

.tools-unlock { padding-top: 1rem; }
.unlock-card { display: grid; gap: 2rem; padding: clamp(1.5rem, 5vw, 3rem); border: 1px solid transparent; border-radius: calc(var(--radius) + 6px); background: linear-gradient(var(--bg-1), var(--bg-1)) padding-box, var(--grad) border-box; }
.unlock-copy > p:last-of-type { color: var(--muted); }
.unlock-points { display: grid; gap: 0.55rem; margin: 1.3rem 0 0; padding: 0; list-style: none; }
.unlock-points li { color: var(--muted); font-size: 0.9rem; }
.unlock-points li::before { content: '✓'; margin-right: 0.6rem; color: var(--aqua); font-weight: 700; }
.unlock-ready { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; padding: 1.2rem; border: 1px solid rgba(46, 230, 255, 0.3); border-radius: 16px; background: rgba(46, 230, 255, 0.07); }
.unlock-ready > svg { width: 38px; height: 38px; color: var(--aqua); }
.unlock-ready strong, .unlock-ready span { display: block; }
.unlock-ready span { color: var(--muted); font-size: 0.85rem; }
.unlock-ready .btn { margin-left: auto; }
@media (min-width: 820px) { .unlock-card { grid-template-columns: 1fr 1fr; align-items: center; } }

.category-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 2rem; }
.category-head .section-title { margin-bottom: 0; }
.category-count { padding: 0.35rem 0.8rem; border: 1px solid var(--stroke); border-radius: 999px; color: var(--muted); font-size: 0.78rem; }
.tool-products { display: grid; gap: 1.5rem; }
.tool-product-card { display: grid; overflow: hidden; border: 1px solid var(--stroke); border-radius: calc(var(--radius) + 6px); background: var(--card); }
.tool-product-media { position: relative; min-height: 300px; overflow: hidden; }
.tool-product-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(7, 7, 14, 0.7)); pointer-events: none; }
.tool-product-media img { width: 100%; height: 100%; object-fit: cover; object-position: left top; }
.tool-status { position: absolute; z-index: 1; top: 1rem; left: 1rem; padding: 0.35rem 0.8rem; border-radius: 999px; background: var(--grad); color: #05060c; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.13em; text-transform: uppercase; }
.tool-product-content { padding: clamp(1.5rem, 5vw, 3rem); }
.tool-icon { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 1.2rem; border: 1px solid rgba(46, 230, 255, 0.3); border-radius: 15px; color: var(--aqua); background: rgba(46, 230, 255, 0.08); }
.tool-icon svg { width: 25px; height: 25px; }
.tool-product-content h3 { margin: 0 0 0.8rem; font-family: var(--font-display); font-size: clamp(2rem, 6vw, 3rem); font-weight: 400; line-height: 1; text-transform: uppercase; }
.tool-product-content > p:not(.eyebrow) { color: var(--muted); }
.tool-features { display: grid; gap: 0.65rem; margin: 1.4rem 0 1.8rem; padding: 0; list-style: none; }
.tool-features li { font-size: 0.9rem; color: var(--muted); }
.tool-features li::before { content: '//'; margin-right: 0.65rem; color: var(--fuchsia); font-weight: 700; }
.tool-link { min-width: 220px; }
@media (min-width: 900px) {
  .tool-product-card { grid-template-columns: 1.15fr 0.85fr; }
  .tool-product-media { min-height: 520px; }
  .tool-product-card-reverse { grid-template-columns: 0.85fr 1.15fr; }
  .tool-product-card-reverse .tool-product-media { order: 2; }
}
.tools-coming { display: flex; align-items: center; gap: 0.8rem; margin-top: 1.2rem; padding: 1.1rem 1.3rem; border: 1px dashed var(--stroke); border-radius: 14px; }
.tools-coming p { margin: 0; color: var(--muted); font-size: 0.9rem; }
.tools-coming strong { color: var(--text); }

/* ---------- Reduced motion ---------- */
@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;
  }
  .reveal { opacity: 1; transform: none; }
}
