/* ═══════════════════════════════════════════
   ToolsIA — Design System v3
   Editorial-premium dark aesthetic
   Syne (display) + Manrope (body)
   Mejoras: AdSense CTR, retención, legibilidad
   y rendimiento de anuncios above-the-fold
═══════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Syne:wght@600;700;800&family=Manrope:wght@400;500;600;700&display=swap');

:root {
  /* ── Fondos ── */
  --bg:        #07070f;
  --bg2:       #0c0c1a;
  --bg3:       #111125;
  --bg4:       #16162e;

  /* ── Bordes ── */
  --border:        rgba(255,255,255,0.06);
  --border-md:     rgba(255,255,255,0.10);
  --border-hover:  rgba(99,179,237,0.30);

  /* ── Texto ──
     Mejora de legibilidad: text más brillante, text2 y text3
     con mayor contraste (WCAG AA en dark bg)               */
  --text:   #ecedf5;
  --text2:  #8a8aaa;   /* era #7a7a9a — +10% luminosidad */
  --text3:  #565680;   /* era #4a4a6a — más legible */

  /* ── Colores de acento ── */
  --accent:   #63b3ed;
  --accent2:  #9f7aea;
  --amber:    #f6ad55;
  --purple:   #b794f4;
  --green:    #68d391;
  --coral:    #fc8181;
  --gold:     #f5c030;   /* nuevo: para banners de monetización */

  /* ── Tarjetas ── */
  --card-bg:    rgba(12,12,26,0.9);
  --card-hover: rgba(99,179,237,0.035);

  /* ── Sombras ── */
  --shadow-sm:   0 1px 3px rgba(0,0,0,0.5);
  --shadow-md:   0 4px 24px rgba(0,0,0,0.45);
  --shadow-glow: 0 0 40px rgba(99,179,237,0.08);

  /* ── Espaciado de sección ──
     Reducido para que más contenido quede above-the-fold
     y haya más oportunidades de impresión de anuncio       */
  --section-pad: 4.5rem;   /* era 5.5rem */
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Manrope', sans-serif;
  font-weight: 400;
  line-height: 1.65;
  min-height: 100vh;
  overflow-x: hidden;
}

/* ─── TIPOGRAFÍA ─── */
h1, h2, h3, h4, h5 {
  font-family: 'Syne', sans-serif;
  line-height: 1.12;
  letter-spacing: -0.025em;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ─── LAYOUT ─── */
.section {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--section-pad) 2rem;
}
.section-sm { padding: 3rem 2rem; }

/* ─── FONDO GRID + VIÑETA ─── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(99,179,237,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99,179,237,0.025) 1px, transparent 1px);
  background-size: 72px 72px;
  pointer-events: none;
  z-index: 0;
}
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 55%, rgba(7,7,15,0.75) 100%);
  pointer-events: none;
  z-index: 0;
}

/* ─── NAV ─── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7,7,15,0.85);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid var(--border);
  /* Sin cambios de altura: 62px preserva la TOC sticky */
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 62px;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: -0.04em;
  color: var(--text);
  margin-right: auto;
}
.logo span { color: var(--accent); }

.logo-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent), 0 0 16px rgba(99,179,237,0.4);
}

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

.nav-links li a {
  color: var(--text2);
  font-size: 0.83rem;
  font-weight: 600;
  padding: 0.45rem 0.8rem;
  border-radius: 7px;
  letter-spacing: 0.01em;
  transition: color 0.18s, background 0.18s;
}
.nav-links li a:hover { color: var(--text); background: rgba(255,255,255,0.05); }

/* CTA newsletter en nav */
.nav-cta {
  background: var(--accent) !important;
  color: #03040d !important;
  font-weight: 700 !important;
  border-radius: 8px !important;
  padding: 0.45rem 1rem !important;
  font-size: 0.83rem !important;
  letter-spacing: 0.01em !important;
  transition: opacity 0.18s, transform 0.18s !important;
}
.nav-cta:hover { opacity: 0.85 !important; transform: translateY(-1px) !important; background: var(--accent) !important; }

/* ─── HERO ──
   Padding reducido para que las tarjetas queden
   más above-the-fold → más impresiones de anuncio  */
.hero {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 6.5rem 2rem 4.5rem;   /* era 8rem / 5.5rem */
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -300px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 900px;
  background: radial-gradient(circle at center,
    rgba(99,179,237,0.07) 0%,
    rgba(159,122,234,0.04) 40%,
    transparent 70%);
  pointer-events: none;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(99,179,237,0.07);
  border: 1px solid rgba(99,179,237,0.18);
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 0.85rem;
  border-radius: 100px;
  margin-bottom: 1.5rem;   /* era 2rem */
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.4rem);   /* ligeramente reducido */
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.04;
  max-width: 800px;
  margin: 0 auto 1.4rem;
  color: var(--text);
}

.hero h1 em {
  font-style: normal;
  background: linear-gradient(125deg, var(--accent) 0%, var(--accent2) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 1.02rem;
  color: var(--text2);
  max-width: 500px;
  margin: 0 auto 2.5rem;   /* era 3rem */
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  gap: 0.85rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;   /* era 4.5rem */
}

.btn-primary {
  background: var(--accent);
  color: #03040d;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.78rem 1.7rem;
  border-radius: 10px;
  font-family: 'Manrope', sans-serif;
  letter-spacing: 0.01em;
  transition: opacity 0.18s, transform 0.18s, box-shadow 0.18s;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(99,179,237,0.25);
}

.btn-secondary {
  background: transparent;
  color: var(--text2);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.78rem 1.7rem;
  border-radius: 10px;
  border: 1px solid var(--border-md);
  font-family: 'Manrope', sans-serif;
  transition: color 0.18s, border-color 0.18s, background 0.18s;
}
.btn-secondary:hover { color: var(--text); border-color: var(--border-hover); background: rgba(99,179,237,0.04); }

.hero-stats {
  display: flex;
  gap: 3.5rem;
  justify-content: center;
  flex-wrap: wrap;
}
.stat { text-align: center; }
.stat-num {
  font-family: 'Syne', sans-serif;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.03em;
  display: block;
  line-height: 1;
}
.stat-label {
  font-size: 0.75rem;
  color: var(--text3);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 600;
  margin-top: 0.3rem;
}

/* ─── SEPARADOR decorativo ─── */
.section-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-md), transparent);
  max-width: 1200px;
  margin: 0 auto;
}

/* ─── ENCABEZADOS DE SECCIÓN ─── */
.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 2rem;
  gap: 1rem;
  flex-wrap: wrap;
}

.section-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: clamp(1.4rem, 2.8vw, 1.9rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
}
.section-title span { color: var(--accent); }

.see-all {
  color: var(--text2);
  font-size: 0.82rem;
  font-weight: 600;
  border: 1px solid var(--border);
  padding: 0.35rem 0.85rem;
  border-radius: 7px;
  transition: color 0.18s, border-color 0.18s;
  white-space: nowrap;
}
.see-all:hover { color: var(--accent); border-color: rgba(99,179,237,0.25); }

/* ─── CARDS ─── */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.1rem;
}

.card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color 0.22s, background 0.22s, transform 0.22s, box-shadow 0.22s;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  position: relative;
}
.card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(99,179,237,0.03) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.22s;
  pointer-events: none;
}
.card:hover {
  border-color: rgba(99,179,237,0.22);
  background: var(--bg3);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md), var(--shadow-glow);
}
.card:hover::after { opacity: 1; }

.card-img {
  height: 160px;
  background: linear-gradient(145deg, var(--bg3) 0%, var(--bg4) 100%);
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.card-img.small { height: 120px; }

.card-body {
  padding: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

/* ── badges de categoría ── */
.card-category {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(99,179,237,0.07);
  border: 1px solid rgba(99,179,237,0.14);
  padding: 0.18rem 0.6rem;
  border-radius: 5px;
  width: fit-content;
  /* flex-wrap para que quepan los intent badges inline */
  flex-wrap: wrap;
  row-gap: 4px;
}
.card-category.amber  { color: var(--amber);  background: rgba(246,173,85,0.07);   border-color: rgba(246,173,85,0.14); }
.card-category.purple { color: var(--purple); background: rgba(183,148,244,0.07);  border-color: rgba(183,148,244,0.14); }
.card-category.green  { color: var(--green);  background: rgba(104,211,145,0.07);  border-color: rgba(104,211,145,0.14); }
.card-category.coral  { color: var(--coral);  background: rgba(252,129,129,0.07);  border-color: rgba(252,129,129,0.14); }

.card-title {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 0.97rem;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--text);
}
.card-title.medium { font-size: 1.05rem; }
.card-title.large  { font-size: 1.2rem; }

.card-excerpt {
  font-size: 0.83rem;
  color: var(--text2);
  line-height: 1.65;
  margin-top: 0.1rem;
  flex: 1;
}

.card-meta {
  display: flex;
  gap: 1rem;
  font-size: 0.72rem;
  color: var(--text3);
  margin-top: auto;
  padding-top: 0.85rem;
  border-top: 1px solid var(--border);
  font-weight: 500;
  letter-spacing: 0.01em;
}

/* ── CARD DESTACADA ── */
.card-featured {
  grid-column: 1 / -1;
  flex-direction: row;
  gap: 0;
}
.card-featured .card-img {
  width: 340px;
  height: auto;
  flex-shrink: 0;
  border-radius: 0;
  border-right: 1px solid var(--border);
  border-bottom: none;
}
.card-featured .card-body { padding: 2.2rem; }
.card-featured .card-title { font-size: 1.5rem; line-height: 1.2; }
.card-featured .card-excerpt { font-size: 0.9rem; }

/* ─── TOOLS GRID ─── */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.9rem;
}

.tool-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 13px;
  padding: 1.25rem;
  transition: border-color 0.2s, transform 0.2s, background 0.2s;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  position: relative;
  overflow: hidden;
  /* Crucial: text-decoration none para cards-link */
  text-decoration: none;
  color: inherit;
}
/* barra de color superior al hover */
.tool-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  opacity: 0;
  transition: opacity 0.22s;
}
.tool-card:hover { border-color: rgba(99,179,237,0.18); transform: translateY(-2px); background: var(--bg3); }
.tool-card:hover::before { opacity: 1; }

.tool-icon { font-size: 1.75rem; line-height: 1; }
.tool-name { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 0.93rem; color: var(--text); }
.tool-desc { font-size: 0.78rem; color: var(--text2); line-height: 1.55; }

.tool-badge {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--green);
  background: rgba(104,211,145,0.08);
  border: 1px solid rgba(104,211,145,0.18);
  padding: 0.15rem 0.5rem;
  border-radius: 5px;
  width: fit-content;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.tool-badge.paid {
  color: var(--amber);
  background: rgba(246,173,85,0.08);
  border-color: rgba(246,173,85,0.18);
}

/* ─── PROMPTS HIGHLIGHT BANNER ─────────────────
   FIX: estas clases estaban referenciadas en el
   responsive pero nunca definidas como base.
   Resultado: elementos sueltos apilados.
   ─────────────────────────────────────────── */
.prompts-highlight {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  background: var(--bg2);
  border: 1px solid rgba(245,192,48,0.18);
  border-radius: 16px;
  padding: 1.5rem 2rem;
  position: relative;
  overflow: hidden;
  z-index: 1;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.22s, background 0.22s, box-shadow 0.22s;
}
.prompts-highlight::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(245,192,48,0.04) 0%, transparent 65%);
  pointer-events: none;
  border-radius: 16px;
}
.prompts-highlight:hover {
  border-color: rgba(245,192,48,0.32);
  background: var(--bg3);
  box-shadow: 0 4px 28px rgba(245,192,48,0.06);
}

.prompts-highlight-icon {
  font-size: 2.6rem;
  flex-shrink: 0;
  line-height: 1;
  filter: drop-shadow(0 0 12px rgba(245,192,48,0.35));
}

.prompts-highlight-content {
  flex: 1;
  min-width: 0;
  position: relative;
}

.prompts-highlight-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.3rem;
  display: block;
}

.prompts-highlight-title {
  font-family: 'Syne', sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin-bottom: 0.4rem;
}

.prompts-highlight-desc {
  font-size: 0.83rem;
  color: var(--text2);
  line-height: 1.6;
}

.prompts-highlight-desc a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.15s;
}
.prompts-highlight-desc a:hover { color: var(--text); }

.prompts-highlight-cta {
  background: var(--gold);
  color: #03040d;
  font-weight: 700;
  font-size: 0.83rem;
  padding: 0.65rem 1.3rem;
  border-radius: 9px;
  white-space: nowrap;
  flex-shrink: 0;
  transition: opacity 0.18s, transform 0.18s, box-shadow 0.18s;
  font-family: 'Manrope', sans-serif;
  letter-spacing: 0.01em;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.prompts-highlight-cta:hover {
  opacity: 0.88;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(245,192,48,0.28);
}

/* ─── MONETIZE BANNER ────────────────────────
   Banner horizontal de monetización/CTA.
   También estaba sin estilos base definidos.
   ─────────────────────────────────────────── */
.monetize-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  background: linear-gradient(135deg, rgba(99,179,237,0.06) 0%, rgba(159,122,234,0.06) 100%);
  border: 1px solid rgba(99,179,237,0.16);
  border-radius: 16px;
  padding: 1.4rem 2rem;
  position: relative;
  overflow: hidden;
  z-index: 1;
}
.monetize-banner::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(99,179,237,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.monetize-banner-content {
  flex: 1;
  min-width: 0;
  position: relative;
}

.monetize-banner-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.3rem;
  display: block;
}

.monetize-banner-title {
  font-family: 'Syne', sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
  line-height: 1.3;
  margin-bottom: 0.3rem;
}

.monetize-banner-desc {
  font-size: 0.82rem;
  color: var(--text2);
  line-height: 1.6;
}

.monetize-banner-cta {
  background: var(--accent);
  color: #03040d;
  font-weight: 700;
  font-size: 0.83rem;
  padding: 0.65rem 1.3rem;
  border-radius: 9px;
  white-space: nowrap;
  flex-shrink: 0;
  transition: opacity 0.18s, transform 0.18s, box-shadow 0.18s;
  font-family: 'Manrope', sans-serif;
  letter-spacing: 0.01em;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.monetize-banner-cta:hover {
  opacity: 0.88;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(99,179,237,0.25);
}

/* ─── COMPARATIVAS STRIP ─── */
.comparativas-strip {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}

/* ─── NEWSLETTER ─── */
.newsletter-section {
  position: relative;
  z-index: 1;
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center;
  padding: 5rem 2rem;
  overflow: hidden;
}
.newsletter-section::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(159,122,234,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.newsletter-section h2 {
  font-size: clamp(1.7rem, 3.5vw, 2.5rem);
  margin-bottom: 0.75rem;
  position: relative;
}
.newsletter-section p { color: var(--text2); margin-bottom: 2rem; font-size: 0.97rem; position: relative; }

.input-group {
  display: flex;
  max-width: 420px;
  margin: 0 auto;
  border: 1px solid var(--border-md);
  border-radius: 11px;
  overflow: hidden;
  background: var(--bg3);
  transition: border-color 0.2s, box-shadow 0.2s;
  position: relative;
}
.input-group:focus-within {
  border-color: rgba(99,179,237,0.4);
  box-shadow: 0 0 0 3px rgba(99,179,237,0.07);
}
.input-group input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 0.85rem 1.1rem;
  color: var(--text);
  font-size: 0.875rem;
  font-family: 'Manrope', sans-serif;
  outline: none;
}
.input-group input::placeholder { color: var(--text3); }
.input-group button {
  background: var(--accent);
  color: #03040d;
  border: none;
  padding: 0.85rem 1.25rem;
  font-weight: 700;
  font-size: 0.83rem;
  cursor: pointer;
  font-family: 'Manrope', sans-serif;
  white-space: nowrap;
  transition: opacity 0.18s;
  letter-spacing: 0.01em;
}
.input-group button:hover { opacity: 0.85; }
.newsletter-note { font-size: 0.75rem; color: var(--text3); margin-top: 0.85rem; }

/* ─── LISTA POPULAR ─── */
.popular-list { display: flex; flex-direction: column; gap: 0.15rem; }
.popular-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.55rem 0.7rem;
  border-radius: 8px;
  transition: background 0.15s;
}
.popular-item:hover { background: rgba(255,255,255,0.03); }
.popular-text { font-size: 0.83rem; color: var(--text2); transition: color 0.15s; }
.popular-item:hover .popular-text { color: var(--text); }
.popular-num {
  font-family: 'Syne', sans-serif;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--text3);
  min-width: 18px;
}

/* ─── SIDEBAR ─── */
.sidebar { display: flex; flex-direction: column; gap: 1.25rem; }
.sidebar-widget {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 13px;
  padding: 1.25rem;
}
.widget-title {
  font-family: 'Syne', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.newsletter-widget h3 { font-family: 'Syne', sans-serif; font-size: 0.97rem; margin-bottom: 0.45rem; }
.newsletter-widget p { font-size: 0.8rem; color: var(--text2); margin-bottom: 1rem; line-height: 1.6; }

/* ─── TAGS DE CATEGORÍA ─── */
.cat-list { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.cat-tag {
  display: inline-block;
  background: var(--bg3);
  border: 1px solid var(--border);
  color: var(--text2);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.28rem 0.72rem;
  border-radius: 7px;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
.cat-tag:hover { color: var(--accent); border-color: rgba(99,179,237,0.22); background: rgba(99,179,237,0.04); }

/* ─── FOOTER ─── */
footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
  background: var(--bg2);
  padding: 4.5rem 2rem 2rem;
}
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-brand p { font-size: 0.83rem; color: var(--text2); line-height: 1.75; margin-top: 0.75rem; max-width: 260px; }
.footer-col h4 {
  font-family: 'Syne', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.07em;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.footer-col ul li a { font-size: 0.83rem; color: var(--text2); transition: color 0.15s; }
.footer-col ul li a:hover { color: var(--accent); }
.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: var(--text3);
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* ─── ANIMACIONES ─── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-in { animation: fadeInUp 0.45s ease both; }

/* ─── COOKIE BANNER ─── */
.cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 9999;
  background: rgba(12,12,26,0.97);
  border-top: 1px solid rgba(99,179,237,0.15);
  box-shadow: 0 -8px 48px rgba(0,0,0,0.7);
  padding: 1.2rem 2rem;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.16,1,0.3,1);
  backdrop-filter: blur(16px);
}
.cookie-banner.visible { transform: translateY(0); }
.cookie-banner-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; gap: 2rem; flex-wrap: wrap; }
.cookie-banner-text { flex: 1; min-width: 280px; }
.cookie-banner-title { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 0.97rem; margin-bottom: 0.35rem; color: var(--text); }
.cookie-banner-text p { font-size: 0.8rem; color: var(--text2); line-height: 1.6; margin: 0; }
.cookie-banner-text a { color: var(--accent); text-decoration: underline; }
.cookie-banner-actions { display: flex; gap: 0.65rem; flex-shrink: 0; flex-wrap: wrap; }
.cookie-btn-accept {
  background: var(--accent); color: #03040d; border: none;
  border-radius: 8px; padding: 0.58rem 1.15rem;
  font-weight: 700; font-size: 0.82rem; cursor: pointer;
  font-family: 'Manrope', sans-serif; white-space: nowrap;
  transition: opacity 0.15s;
}
.cookie-btn-accept:hover { opacity: 0.85; }
.cookie-btn-reject {
  background: transparent; color: var(--text2);
  border: 1px solid var(--border-md);
  border-radius: 8px; padding: 0.58rem 1.15rem;
  font-weight: 600; font-size: 0.82rem; cursor: pointer;
  font-family: 'Manrope', sans-serif; white-space: nowrap;
  transition: color 0.15s, border-color 0.15s;
}
.cookie-btn-reject:hover { color: var(--text); border-color: var(--border-md); }
.cookie-btn-config {
  background: transparent; color: var(--text3); border: none;
  padding: 0.58rem 0.75rem; font-weight: 600; font-size: 0.78rem;
  cursor: pointer; font-family: 'Manrope', sans-serif;
  text-decoration: underline; white-space: nowrap;
}

/* ══════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════ */

@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-hamburger { display: block; }

  .hero { padding: 4.5rem 1.5rem 3rem; }
  .hero-stats { gap: 2rem; }

  .card-featured { flex-direction: column; }
  .card-featured .card-img {
    width: 100%;
    height: 200px;
    border-right: none;
    border-bottom: 1px solid var(--border);
  }

  .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .section { padding: 3.5rem 1.5rem; }

  /* Banners de monetización: stack vertical en móvil */
  .monetize-banner,
  .prompts-highlight {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
  }
  .monetize-banner-cta,
  .prompts-highlight-cta { align-self: flex-start; }

  /* Comparativas: 1 columna */
  .comparativas-strip { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .articles-grid { grid-template-columns: 1fr; }
  .tools-grid { grid-template-columns: 1fr 1fr; }
  .usecase-grid { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: 2.1rem; }
  .hero-stats { gap: 1.5rem; }
  .stat-num { font-size: 1.5rem; }

  /* Chips de veredicto: wrap limpio */
  .verdict-teaser { gap: 0.4rem; }
  .verdict-chip { font-size: 0.68rem; }

  .prompts-highlight-title { font-size: 1rem; }
  .prompts-highlight-icon { font-size: 2rem; }
}