/* ============================================================
   QueTele — style.css v2
   Dirección: Luxury Dark Tech
   Tipografía: Syne (display) + DM Sans (body)
   Paleta: Negro profundo · Azul cristal · Ámbar dorado
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;500;600;700;800&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,300&display=swap');

/* ── Variables ─────────────────────────────────────────────── */
:root {
  --bg:          #08090d;
  --bg-2:        #0d0f18;
  --surface:     #111420;
  --surface-2:   #171a28;
  --surface-3:   #1e2233;
  --border:      rgba(255,255,255,.07);
  --border-2:    rgba(255,255,255,.12);

  --text:        #f0f2f8;
  --text-muted:  #7d8aaa;
  --text-dim:    #3d4562;

  --blue:        #3b82f6;
  --blue-2:      #60a5fa;
  --blue-glow:   rgba(59,130,246,.18);
  --blue-dim:    rgba(59,130,246,.08);

  --gold:        #f59e0b;
  --gold-2:      #fbbf24;
  --gold-glow:   rgba(245,158,11,.15);
  --gold-dim:    rgba(245,158,11,.06);

  --green:       #10b981;
  --red:         #ef4444;

  --radius:      16px;
  --radius-sm:   10px;
  --radius-lg:   24px;
  --radius-xl:   32px;

  --shadow:      0 8px 40px rgba(0,0,0,.5);
  --shadow-sm:   0 4px 16px rgba(0,0,0,.4);
  --shadow-glow: 0 0 40px rgba(59,130,246,.2);
  --shadow-gold: 0 0 40px rgba(245,158,11,.15);

  --transition: .2s cubic-bezier(.4,0,.2,1);
  --transition-slow: .4s cubic-bezier(.4,0,.2,1);

  --font-display: 'Syne', sans-serif;
  --font-body:    'DM Sans', sans-serif;
}

/* ── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  min-height: 100vh;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-2); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold-2); }

/* ── Tipografía ────────────────────────────────────────────── */
h1,h2,h3,h4,h5,h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text);
  letter-spacing: -.02em;
}
h1 { font-size: clamp(2rem, 5.5vw, 3.8rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3vw, 2.4rem); }
h3 { font-size: 1.25rem; }
p  { color: var(--text-muted); line-height: 1.7; margin-bottom: .75rem; }
strong { color: var(--text); font-weight: 600; }
code {
  font-family: 'Fira Code', monospace;
  background: var(--surface-2);
  border: 1px solid var(--border);
  padding: .15em .45em;
  border-radius: 5px;
  font-size: .85em;
  color: var(--gold-2);
}

/* ── Utilidades de texto ───────────────────────────────────── */
.gradient-text {
  background: linear-gradient(135deg, var(--blue-2) 0%, var(--gold-2) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.text-muted  { color: var(--text-muted) !important; }
.text-center { text-align: center; }
.text-gold   { color: var(--gold-2); }
.text-blue   { color: var(--blue-2); }

/* ── Layout ────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.container--narrow { max-width: 800px; }
main { min-height: 60vh; }
.section { padding: 5rem 0; }
.section__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}
.section__title {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.5vw, 1.9rem);
  font-weight: 700;
}
.section__label {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .15em;
  color: var(--gold-2);
  display: block;
  margin-bottom: .5rem;
}

/* ── Botones ───────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .7rem 1.6rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: .9rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  text-decoration: none;
  transition: all var(--transition);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
.btn-primary {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
  box-shadow: 0 4px 20px rgba(59,130,246,.3);
}
.btn-primary:hover {
  background: var(--blue-2);
  border-color: var(--blue-2);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 8px 28px rgba(59,130,246,.4);
}
.btn-gold {
  background: var(--gold);
  color: #0a0a0a;
  border-color: var(--gold);
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(245,158,11,.25);
}
.btn-gold:hover {
  background: var(--gold-2);
  color: #0a0a0a;
  transform: translateY(-1px);
  box-shadow: 0 8px 28px rgba(245,158,11,.35);
}
.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  border-color: var(--border-2);
}
.btn-ghost:hover {
  border-color: var(--blue-2);
  color: var(--blue-2);
}
.btn-danger {
  background: rgba(239,68,68,.1);
  color: var(--red);
  border-color: rgba(239,68,68,.25);
}
.btn-danger:hover { background: rgba(239,68,68,.2); }
.btn--sm  { padding: .45rem 1rem; font-size: .82rem; }
.btn--xs  { padding: .3rem .7rem; font-size: .78rem; }
.btn--lg  { padding: .9rem 2rem; font-size: 1rem; }
.btn:disabled { opacity: .4; cursor: not-allowed; transform: none !important; }

/* ── Navbar ────────────────────────────────────────────────── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 900;
  height: 68px;
  display: flex;
  align-items: center;
  background: rgba(8,9,13,.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.navbar__brand {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -.04em;
  background: linear-gradient(135deg, var(--blue-2), var(--gold-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.navbar__nav { display: flex; align-items: center; gap: 2rem; }
.navbar__link {
  font-size: .88rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--transition);
  letter-spacing: .01em;
}
.navbar__link:hover { color: var(--text); }
.navbar__toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text);
  font-size: 1.4rem;
  padding: .3rem;
}
@media (max-width: 700px) {
  .navbar__nav {
    display: none;
    position: absolute;
    top: 68px; left: 0; right: 0;
    background: rgba(8,9,13,.97);
    backdrop-filter: blur(20px);
    padding: 1.5rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    border-bottom: 1px solid var(--border);
    z-index: 800;
  }
  .navbar__nav.open { display: flex; }
  .navbar__toggle { display: block; }
}

/* ── Hero ──────────────────────────────────────────────────── */
.hero {
  min-height: calc(100vh - 68px);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 5rem 0;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 15% 50%, rgba(59,130,246,.1) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 85% 50%, rgba(245,158,11,.07) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 50% 100%, rgba(59,130,246,.06) 0%, transparent 60%);
  pointer-events: none;
}
/* Noise texture overlay */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.03'/%3E%3C/svg%3E");
  pointer-events: none;
  opacity: .4;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--gold-dim);
  border: 1px solid rgba(245,158,11,.2);
  border-radius: 100px;
  padding: .35rem 1rem;
  font-size: .75rem;
  font-weight: 700;
  color: var(--gold-2);
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 1.5rem;
}
.hero__eyebrow::before { content: '✦'; font-size: .6rem; }
.hero__title {
  font-size: clamp(2.2rem, 5.5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.08;
  margin-bottom: 1.25rem;
  letter-spacing: -.04em;
}
.hero__subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 480px;
  margin-bottom: 2.5rem;
  line-height: 1.7;
  font-weight: 300;
}
.hero__cta { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Chat preview decorativa */
.hero__visual { position: relative; }
.hero__chat-preview {
  background: var(--surface);
  border: 1px solid var(--border-2);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,.05);
  position: relative;
  backdrop-filter: blur(10px);
}
.hero__chat-preview::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(59,130,246,.2), transparent 50%, rgba(245,158,11,.15));
  z-index: -1;
  border-radius: calc(var(--radius-lg) + 1px);
}
.chat-bubble {
  display: flex;
  gap: .75rem;
  margin-bottom: 1rem;
  animation: fadeSlideUp .5s ease both;
}
.chat-bubble--user { flex-direction: row-reverse; }
.chat-bubble--user p { background: var(--blue-dim); border-color: rgba(59,130,246,.2); }
.chat-avatar {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--surface-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .85rem;
  flex-shrink: 0;
  border: 1px solid var(--border-2);
}
.chat-bubble p {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 0 12px 12px 12px;
  padding: .65rem 1rem;
  font-size: .88rem;
  color: var(--text-muted);
  margin: 0;
  max-width: 85%;
}
.chat-bubble--user p { border-radius: 12px 0 12px 12px; color: var(--text); }
.chat-bubble:nth-child(1) { animation-delay: .1s; }
.chat-bubble:nth-child(2) { animation-delay: .3s; }
.chat-bubble:nth-child(3) { animation-delay: .5s; }
.typing-indicator {
  display: flex;
  align-items: center;
  gap: .3rem;
  padding: .65rem 1rem;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 0 12px 12px 12px;
  width: fit-content;
  animation: fadeSlideUp .5s .7s ease both;
}
.typing-indicator span {
  width: 6px; height: 6px;
  background: var(--text-muted);
  border-radius: 50%;
  animation: typing 1.3s infinite;
}
.typing-indicator span:nth-child(2) { animation-delay: .2s; }
.typing-indicator span:nth-child(3) { animation-delay: .4s; }
@keyframes typing { 0%,60%,100%{opacity:.3;transform:translateY(0)} 30%{opacity:1;transform:translateY(-4px)} }
@keyframes fadeSlideUp { from{opacity:0;transform:translateY(12px)} to{opacity:1;transform:translateY(0)} }

/* ── Features ──────────────────────────────────────────────── */
.features__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.25rem;
}
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(59,130,246,.4), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}
.feature-card:hover { border-color: var(--border-2); transform: translateY(-3px); }
.feature-card:hover::before { opacity: 1; }
.feature-card__icon {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  display: block;
}
.feature-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: .5rem;
  color: var(--text);
}
.feature-card p { font-size: .88rem; margin: 0; }

/* ── TV Grid ───────────────────────────────────────────────── */
.tvs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 1.5rem;
}
.tv-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--transition);
  position: relative;
}
.tv-card:hover {
  border-color: var(--border-2);
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0,0,0,.4), 0 0 0 1px rgba(59,130,246,.15);
}
.tv-card__img {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--surface-2);
  position: relative;
}
.tv-card__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.tv-card:hover .tv-card__img img { transform: scale(1.05); }
.tv-card__img-placeholder {
  width: 100%; height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  color: var(--text-dim);
  background: linear-gradient(135deg, var(--surface-2), var(--surface-3));
}
.tv-card__gama {
  position: absolute;
  top: .75rem;
  right: .75rem;
  background: rgba(8,9,13,.85);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-2);
  border-radius: 100px;
  padding: .2rem .65rem;
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--gold-2);
}
.tv-card__body { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; }
.tv-card__brand {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--blue-2);
  margin-bottom: .3rem;
}
.tv-card__model {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: .75rem;
  line-height: 1.25;
}
.tv-card__specs {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
  margin-bottom: .85rem;
}
.tv-card__spec {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: .18rem .55rem;
  font-size: .72rem;
  color: var(--text-muted);
  font-weight: 500;
}
.tv-card__pros { flex: 1; margin-bottom: 1rem; }
.tv-card__pro {
  display: flex;
  align-items: flex-start;
  gap: .4rem;
  font-size: .83rem;
  color: var(--text-muted);
  margin-bottom: .25rem;
}
.tv-card__pro::before { content: '↗'; color: var(--green); font-weight: 700; flex-shrink: 0; font-size: .75rem; margin-top: .1rem; }
.tv-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}
.tv-card__price {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--gold-2);
}
.tv-card__footer a {
  font-size: .82rem;
  font-weight: 600;
  color: var(--blue-2);
  padding: .35rem .75rem;
  border: 1px solid rgba(59,130,246,.3);
  border-radius: 8px;
  transition: all var(--transition);
}
.tv-card__footer a:hover {
  background: var(--blue-dim);
  border-color: var(--blue-2);
  color: var(--blue-2);
}

/* ── Blog ──────────────────────────────────────────────────── */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}
.article-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--transition);
}
.article-card:hover { border-color: var(--border-2); transform: translateY(-3px); }
.article-card__img-wrap {
  display: block;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--surface-2);
}
.article-card__img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.article-card:hover .article-card__img-wrap img { transform: scale(1.04); }
.article-card__body { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; }
.article-card__date { font-size: .75rem; color: var(--text-dim); margin-bottom: .5rem; font-weight: 500; }
.article-card__title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: .5rem;
  line-height: 1.3;
}
.article-card__title a { color: var(--text); transition: color var(--transition); }
.article-card__title a:hover { color: var(--gold-2); }
.article-card__excerpt { font-size: .85rem; color: var(--text-muted); flex: 1; margin: 0; }

/* ── CTA Section ───────────────────────────────────────────── */
.cta-section { padding: 4rem 0 6rem; }
.cta-box {
  background: var(--surface);
  border: 1px solid var(--border-2);
  border-radius: var(--radius-xl);
  padding: 4rem 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-box::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 50% 120%, rgba(59,130,246,.12) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 80% -20%, rgba(245,158,11,.08) 0%, transparent 60%);
  pointer-events: none;
}
.cta-box h2 { margin-bottom: 1rem; font-size: clamp(1.5rem, 3vw, 2.2rem); }
.cta-box p { max-width: 500px; margin: 0 auto 2rem; }

/* ── Catálogo / Filtros ────────────────────────────────────── */
.catalogo-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 2rem;
  align-items: start;
}
.filtros {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  position: sticky;
  top: 84px;
}
.filtros__title {
  font-family: var(--font-display);
  font-size: .95rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: .5rem;
}
.filtros__group { margin-bottom: 1.5rem; }
.filtros__label {
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--text-dim);
  margin-bottom: .6rem;
  display: block;
}
.filtros__option {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .3rem 0;
  cursor: pointer;
  color: var(--text-muted);
  font-size: .87rem;
  transition: color var(--transition);
}
.filtros__option:hover { color: var(--text); }
.filtros__option input[type=checkbox] { accent-color: var(--blue-2); width: 14px; height: 14px; }

/* ── Detalle TV ────────────────────────────────────────────── */
.detalle-tv { padding: 2rem 0 5rem; }
.breadcrumb {
  font-size: .82rem;
  color: var(--text-dim);
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: .5rem;
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--text-muted); transition: color var(--transition); }
.breadcrumb a:hover { color: var(--text); }
.breadcrumb__sep { color: var(--text-dim); }
.detalle__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: start;
}
.detalle__gallery { position: sticky; top: 84px; }
.detalle__main-img {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16/9;
  background: var(--surface);
  border: 1px solid var(--border);
  margin-bottom: 1rem;
}
.detalle__main-img img { width: 100%; height: 100%; object-fit: cover; }
.detalle__thumbs { display: flex; gap: .5rem; flex-wrap: wrap; }
.detalle__thumb {
  width: 70px; height: 46px;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid var(--border);
  cursor: pointer;
  transition: border-color var(--transition);
}
.detalle__thumb:hover, .detalle__thumb.active { border-color: var(--blue-2); }
.detalle__thumb img { width: 100%; height: 100%; object-fit: cover; }
.detalle__brand { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--blue-2); margin-bottom: .4rem; }
.detalle__title { font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 800; margin-bottom: .5rem; letter-spacing: -.03em; }
.detalle__gama {
  display: inline-block;
  background: var(--gold-dim);
  border: 1px solid rgba(245,158,11,.2);
  border-radius: 100px;
  padding: .2rem .75rem;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--gold-2);
  margin-bottom: 1.25rem;
}
.detalle__price { font-family: var(--font-display); font-size: 2rem; font-weight: 800; color: var(--gold-2); margin-bottom: 1.5rem; }
.pros-contras {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.pros-block, .contras-block {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1rem;
}
.pros-block   { border-top: 2px solid var(--green); }
.contras-block{ border-top: 2px solid var(--red); }
.pros-block__title   { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--green); margin-bottom: .6rem; }
.contras-block__title{ font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--red);   margin-bottom: .6rem; }
.pros-block__item, .contras-block__item { font-size: .83rem; color: var(--text-muted); padding: .2rem 0; display: flex; gap: .4rem; align-items: flex-start; }
.pros-block__item::before    { content: '✓'; color: var(--green); font-weight: 700; flex-shrink: 0; }
.contras-block__item::before { content: '×'; color: var(--red);   font-weight: 700; flex-shrink: 0; }
.specs-table { width: 100%; border-collapse: collapse; margin-bottom: 1.5rem; font-size: .88rem; }
.specs-table tr { border-bottom: 1px solid var(--border); }
.specs-table td { padding: .65rem .75rem; color: var(--text-muted); }
.specs-table td:first-child { color: var(--text); font-weight: 500; width: 45%; }
.specs-table tr:hover td { background: var(--surface); }
.afiliado-btn {
  display: flex;
  align-items: center;
  gap: .85rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: .85rem 1.1rem;
  margin-bottom: .5rem;
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  font-size: .9rem;
  transition: all var(--transition);
}
.afiliado-btn:hover { border-color: var(--gold); background: var(--gold-dim); color: var(--text); }
.afiliado-btn span { flex: 1; }
.afiliado-btn__price { font-family: var(--font-display); font-weight: 700; color: var(--gold-2); }
.afiliado-btn img { height: 22px; object-fit: contain; }

/* ── Chat Widget ───────────────────────────────────────────── */
.chat-fab {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  z-index: 1000;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue) 0%, #1d4ed8 100%);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 32px rgba(59,130,246,.4), 0 0 0 0 rgba(59,130,246,.3);
  transition: all var(--transition);
  animation: fabPulse 3s infinite;
}
.chat-fab:hover {
  transform: scale(1.08);
  box-shadow: 0 12px 40px rgba(59,130,246,.5);
  animation: none;
}
.chat-fab__icon { font-size: 1.4rem; line-height: 1; }
.chat-fab__icon--close { display: none; font-size: 1.1rem; font-style: normal; }
.chat-fab[aria-expanded="true"] .chat-fab__icon--open  { display: none; }
.chat-fab[aria-expanded="true"] .chat-fab__icon--close { display: block; }
.chat-fab__pulse {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(59,130,246,.3);
  animation: fabRing 3s infinite;
}
@keyframes fabPulse {
  0%,100% { box-shadow: 0 8px 32px rgba(59,130,246,.4), 0 0 0 0 rgba(59,130,246,.2); }
  50%      { box-shadow: 0 8px 32px rgba(59,130,246,.4), 0 0 0 10px rgba(59,130,246,.0); }
}
@keyframes fabRing {
  0%   { transform: scale(1); opacity: .6; }
  70%  { transform: scale(1.3); opacity: 0; }
  100% { transform: scale(1.3); opacity: 0; }
}

.chat-panel {
  position: fixed;
  bottom: 5.5rem;
  right: 1.75rem;
  width: 390px;
  height: 620px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  background: var(--bg-2);
  border: 1px solid var(--border-2);
  border-radius: var(--radius-lg);
  box-shadow: 0 32px 80px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.06);
  transform: scale(.92) translateY(16px);
  opacity: 0;
  pointer-events: none;
  transition: transform .25s cubic-bezier(.34,1.56,.64,1), opacity .2s ease;
  overflow: hidden;
}
.chat-panel.open {
  transform: scale(1) translateY(0);
  opacity: 1;
  pointer-events: all;
}

.chat-panel__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 1.25rem;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  flex-shrink: 0;
}
.chat-header-info { display: flex; align-items: center; gap: .75rem; }
.chat-avatar-sm {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), #1d4ed8);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .95rem;
  box-shadow: 0 4px 12px rgba(59,130,246,.3);
}
.chat-header-info strong { font-size: .9rem; font-weight: 600; display: block; }
.chat-status { font-size: .72rem; color: var(--green); font-weight: 500; }
.chat-status::before { content: '●'; margin-right: .3rem; font-size: .5rem; }
.chat-header-actions { display: flex; gap: .25rem; }
.chat-action-btn {
  width: 30px; height: 30px;
  border-radius: 8px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
  font-size: .85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}
.chat-action-btn:hover { background: var(--surface-2); color: var(--text); }

.chat-messages {
  flex: 1;
  min-height: 220px;
  overflow-y: auto;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: .85rem;
  justify-content: flex-end;
}
/* Cuando el wizard está oculto, el área de mensajes ocupa todo el panel */
#chatWizard[hidden] ~ #chatMessages {
  min-height: 0;
  flex: 1;
}
.chat-messages::-webkit-scrollbar { width: 3px; }
.chat-messages::-webkit-scrollbar-track { background: transparent; }
.chat-messages::-webkit-scrollbar-thumb { background: var(--surface-3); border-radius: 3px; }

.chat-message {
  display: flex;
  gap: .6rem;
  max-width: 92%;
  animation: fadeSlideUp .2s ease both;
}
.chat-message--bot  { align-self: flex-start; }
.chat-message--user { align-self: flex-end; flex-direction: row-reverse; }

.msg-avatar {
  width: 30px; height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .8rem;
  flex-shrink: 0;
  border: 1px solid var(--border);
  background: var(--surface-2);
}
.chat-message--bot  .msg-avatar { background: linear-gradient(135deg, rgba(59,130,246,.2), rgba(59,130,246,.05)); border-color: rgba(59,130,246,.2); }
.chat-message--user .msg-avatar { background: var(--surface-2); }

.msg-bubble {
  padding: .7rem 1rem;
  border-radius: 4px 14px 14px 14px;
  font-size: .87rem;
  line-height: 1.55;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-muted);
}
.chat-message--user .msg-bubble {
  background: var(--blue-dim);
  border-color: rgba(59,130,246,.25);
  border-radius: 14px 4px 14px 14px;
  color: var(--text);
}
.msg-bubble strong { color: var(--text); }
.msg-bubble code   { font-size: .82em; }
.msg-bubble br + br { display: block; margin-top: .3rem; content: ''; }

.chat-buy-btn {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  background: var(--gold);
  color: #0a0a0a;
  border-radius: 8px;
  padding: .35rem .8rem;
  font-size: .78rem;
  font-weight: 700;
  margin-top: .5rem;
  text-decoration: none;
  transition: all var(--transition);
}
.chat-buy-btn:hover { background: var(--gold-2); color: #0a0a0a; transform: translateY(-1px); }

.chat-typing {
  padding: 0 1.25rem 1rem;
  display: flex;
  align-items: center;
  gap: .6rem;
  flex-shrink: 0;
}
.chat-typing[hidden] { display: none; }

.chat-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  padding: .5rem 1.25rem;
  border-top: 1px solid var(--border);
  flex-shrink: 0;
}
.suggestion-btn {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: .3rem .8rem;
  font-size: .78rem;
  font-family: var(--font-body);
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}
.suggestion-btn:hover { border-color: var(--blue-2); color: var(--blue-2); background: var(--blue-dim); }

.chat-panel__footer {
  padding: .85rem 1.25rem 1rem;
  border-top: 1px solid var(--border);
  background: var(--surface);
  flex-shrink: 0;
}
.chat-input-wrap {
  display: flex;
  align-items: flex-end;
  gap: .5rem;
  background: var(--bg-2);
  border: 1px solid var(--border-2);
  border-radius: 14px;
  padding: .5rem .5rem .5rem .9rem;
  transition: border-color var(--transition);
}
.chat-input-wrap:focus-within { border-color: var(--blue); }
.chat-input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  color: var(--text);
  font-family: var(--font-body);
  font-size: .88rem;
  resize: none;
  max-height: 120px;
  line-height: 1.5;
}
.chat-input::placeholder { color: var(--text-dim); }
.chat-send-btn {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--blue);
  border: none;
  cursor: pointer;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--transition);
}
.chat-send-btn:hover:not(:disabled) { background: var(--blue-2); transform: scale(1.05); }
.chat-send-btn:disabled { background: var(--surface-3); cursor: not-allowed; }
.chat-disclaimer { font-size: .68rem; color: var(--text-dim); margin-top: .6rem; text-align: center; }

/* ── Artículo ──────────────────────────────────────────────── */
.article-content { line-height: 1.85; color: var(--text-muted); }
.article-content h2 { color: var(--text); font-size: 1.5rem; margin: 2rem 0 1rem; padding-bottom: .5rem; border-bottom: 1px solid var(--border); }
.article-content h3 { color: var(--text); font-size: 1.15rem; margin: 1.5rem 0 .75rem; }
.article-content p  { margin-bottom: 1rem; }
.article-content ul, .article-content ol { padding-left: 1.5rem; margin-bottom: 1rem; }
.article-content li { margin-bottom: .35rem; }
.article-content a  { color: var(--blue-2); }
.article-content strong { color: var(--text); }

/* ── Footer ────────────────────────────────────────────────── */
footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 3.5rem 0 2rem;
  margin-top: auto;
}
.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}
.footer__brand-name {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -.03em;
  background: linear-gradient(135deg, var(--blue-2), var(--gold-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
  margin-bottom: .75rem;
}
.footer__desc { font-size: .85rem; line-height: 1.7; }
.footer__col-title { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--text); margin-bottom: .85rem; }
.footer__link { display: block; font-size: .85rem; color: var(--text-muted); margin-bottom: .4rem; transition: color var(--transition); }
.footer__link:hover { color: var(--text); }
.footer__bottom {
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer__copy { font-size: .8rem; color: var(--text-dim); }
.footer__legal { display: flex; gap: 1.25rem; }
.footer__legal a { font-size: .8rem; color: var(--text-dim); }
.footer__legal a:hover { color: var(--text-muted); }

/* ── Cookie banner ─────────────────────────────────────────── */
.cookie-banner {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1100;
  background: var(--surface-2);
  border: 1px solid var(--border-2);
  border-radius: var(--radius);
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  box-shadow: var(--shadow);
  max-width: 600px;
  width: calc(100% - 3rem);
  backdrop-filter: blur(20px);
}
.cookie-banner.hidden { display: none; }
.cookie-banner__text { font-size: .83rem; color: var(--text-muted); flex: 1; margin: 0; }
.cookie-banner__text a { color: var(--blue-2); }

/* ── Paginación ────────────────────────────────────────────── */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: .4rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}
.pagination__item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: var(--radius-sm);
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: .88rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: all var(--transition);
}
.pagination__item:hover { border-color: var(--blue-2); color: var(--blue-2); }
.pagination__item--active { background: var(--blue); border-color: var(--blue); color: #fff; }

/* ── Badges ────────────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  padding: .2rem .65rem;
  border-radius: 100px;
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.badge--green  { background: rgba(16,185,129,.1); color: var(--green); }
.badge--red    { background: rgba(239,68,68,.1);  color: var(--red); }
.badge--yellow { background: var(--gold-dim);     color: var(--gold-2); }
.badge--blue   { background: var(--blue-dim);     color: var(--blue-2); }

/* ── 404 ───────────────────────────────────────────────────── */
.page-404 { min-height: calc(100vh - 68px); display: flex; align-items: center; justify-content: center; text-align: center; padding: 2rem; }
.page-404__code { font-family: var(--font-display); font-size: clamp(5rem, 15vw, 9rem); font-weight: 900; line-height: 1; background: linear-gradient(135deg, var(--blue-2), var(--gold-2)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; margin-bottom: 1rem; }

/* ── ADMIN ─────────────────────────────────────────────────── */
.admin-body { background: #06070d; }
.admin-wrap { display: flex; min-height: 100vh; }
.admin-sidebar {
  width: 240px;
  flex-shrink: 0;
  background: var(--surface);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0; left: 0;
  height: 100vh;
  overflow-y: auto;
  z-index: 200;
  transition: transform var(--transition-slow);
}
.admin-sidebar__brand {
  padding: 1.4rem 1.5rem;
  border-bottom: 1px solid var(--border);
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -.03em;
  background: linear-gradient(135deg, var(--blue-2), var(--gold-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: flex;
  align-items: center;
  gap: .5rem;
}
.admin-sidebar__nav { padding: 1rem 0; flex: 1; }
.admin-nav__section { font-size: .65rem; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; color: var(--text-dim); padding: .85rem 1.5rem .35rem; }
.admin-nav__item {
  display: flex;
  align-items: center;
  gap: .65rem;
  padding: .65rem 1.5rem;
  color: var(--text-muted);
  font-size: .87rem;
  font-weight: 500;
  transition: all var(--transition);
  border-left: 2px solid transparent;
  text-decoration: none;
}
.admin-nav__item:hover { color: var(--text); background: var(--surface-2); }
.admin-nav__item--active { color: var(--blue-2); background: var(--blue-dim); border-left-color: var(--blue-2); }
.admin-nav__icon { font-size: .95rem; width: 18px; text-align: center; }
.admin-main { flex: 1; margin-left: 240px; min-height: 100vh; display: flex; flex-direction: column; }
.admin-topbar {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 0 1.5rem;
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
}
.admin-topbar__title { font-family: var(--font-display); font-size: .95rem; font-weight: 700; }
.admin-topbar__toggle { display: none; background: none; border: none; cursor: pointer; color: var(--text); font-size: 1.25rem; }
.admin-topbar__user { font-size: .82rem; color: var(--text-muted); }
.admin-content { flex: 1; padding: 1.75rem; }
.admin-alert { padding: .8rem 1.25rem; border-radius: var(--radius-sm); margin-bottom: 1.25rem; font-size: .88rem; font-weight: 500; }
.admin-alert--success { background: rgba(16,185,129,.1); border: 1px solid rgba(16,185,129,.2); color: var(--green); }
.admin-alert--error   { background: rgba(239,68,68,.1);  border: 1px solid rgba(239,68,68,.2);  color: var(--red); }
.admin-alert--info    { background: var(--blue-dim);     border: 1px solid rgba(59,130,246,.2); color: var(--blue-2); }
.admin-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 1.5rem; overflow: hidden; }
.admin-card__header { padding: 1.1rem 1.5rem; border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .75rem; background: var(--surface-2); }
.admin-card__header-actions { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }
.admin-card__body { padding: 1.5rem; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1rem; margin-bottom: 1.5rem; }
.stat-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.25rem; display: flex; align-items: flex-start; gap: 1rem; }
.stat-card__icon { width: 46px; height: 46px; border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; font-size: 1.3rem; flex-shrink: 0; }
.stat-card__icon--blue  { background: var(--blue-dim); }
.stat-card__icon--green { background: rgba(16,185,129,.08); }
.stat-card__icon--warn  { background: var(--gold-dim); }
.stat-card__icon--red   { background: rgba(239,68,68,.08); }
.stat-card__label { font-size: .75rem; color: var(--text-muted); margin-bottom: .2rem; }
.stat-card__value { font-family: var(--font-display); font-size: 1.6rem; font-weight: 800; color: var(--text); }
.stat-card__sub   { font-size: .75rem; color: var(--text-muted); }
.table-wrap { overflow-x: auto; }
.admin-table { width: 100%; border-collapse: collapse; font-size: .87rem; min-width: 600px; }
.admin-table thead th { background: var(--surface-2); border-bottom: 1px solid var(--border); padding: .75rem 1rem; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--text-muted); text-align: left; white-space: nowrap; }
.admin-table tbody tr { border-bottom: 1px solid var(--border); transition: background var(--transition); }
.admin-table tbody tr:hover { background: var(--surface-2); }
.admin-table tbody td { padding: .75rem 1rem; color: var(--text-muted); vertical-align: middle; }
.table-link { color: var(--text); font-weight: 500; }
.table-link:hover { color: var(--blue-2); }
.table-actions { display: flex; gap: .35rem; align-items: center; flex-wrap: wrap; }
.form-group { margin-bottom: 1.25rem; }
.form-label { display: block; font-size: .75rem; font-weight: 700; color: var(--text-muted); margin-bottom: .4rem; text-transform: uppercase; letter-spacing: .06em; }
.form-input { width: 100%; background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: .65rem .9rem; color: var(--text); font-family: var(--font-body); font-size: .9rem; outline: none; transition: border-color var(--transition); appearance: none; }
.form-input:focus { border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-dim); }
.form-input::placeholder { color: var(--text-dim); }
select.form-input { cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%237d8aaa' stroke-width='2'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .85rem center; padding-right: 2.5rem; }
.form-textarea { resize: vertical; min-height: 100px; }
.form-textarea--lg { min-height: 400px; }
.form-hint { font-size: .75rem; color: var(--text-muted); margin-top: .3rem; }
.form-grid { display: grid; gap: 1.25rem; }
.form-grid--2 { grid-template-columns: 1fr 1fr; }
.form-grid--3 { grid-template-columns: 1fr 1fr 1fr; }
.form-checkbox { display: flex; align-items: center; gap: .5rem; cursor: pointer; font-size: .9rem; color: var(--text-muted); }
.form-checkbox input[type=checkbox] { accent-color: var(--blue-2); width: 15px; height: 15px; }
.form-actions { display: flex; gap: .75rem; align-items: center; flex-wrap: wrap; margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--border); }
.chart-container { position: relative; height: 260px; width: 100%; }
.quick-actions { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 1rem; }
.quick-action { background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 1rem; text-align: center; text-decoration: none; color: var(--text-muted); font-size: .83rem; font-weight: 500; transition: all var(--transition); display: flex; flex-direction: column; align-items: center; gap: .4rem; }
.quick-action:hover { border-color: var(--blue-2); color: var(--blue-2); background: var(--blue-dim); }
.quick-action__icon { font-size: 1.4rem; }
.config-section { margin-bottom: 2rem; }
.config-section__title { font-size: .95rem; font-weight: 700; padding: 1rem 1.25rem; border-bottom: 1px solid var(--border); background: var(--surface-2); border-radius: var(--radius-sm) var(--radius-sm) 0 0; }
.config-section__body { background: var(--surface); border: 1px solid var(--border); border-top: none; padding: 1.5rem; border-radius: 0 0 var(--radius-sm) var(--radius-sm); }
.tools-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 1rem; }
.tool-card { background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 1.25rem; display: flex; flex-direction: column; align-items: flex-start; gap: .4rem; text-decoration: none; cursor: pointer; transition: all var(--transition); }
.tool-card:hover { border-color: var(--blue-2); background: var(--blue-dim); }
.tool-card__icon { font-size: 1.4rem; }
.tool-card__name { font-size: .88rem; font-weight: 700; color: var(--text); }
.tool-card__desc { font-size: .78rem; color: var(--text-muted); }
.server-info { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.server-info__item { background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 1rem; }
.server-info__label { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--text-muted); margin-bottom: .3rem; }
.server-info__value { font-size: 1rem; font-weight: 700; color: var(--text); }
.alert { padding: .75rem 1.25rem; border-radius: var(--radius-sm); margin-bottom: 1rem; font-size: .88rem; }
.alert--success { background: rgba(16,185,129,.1); border: 1px solid rgba(16,185,129,.2); color: var(--green); }
.alert--error   { background: rgba(239,68,68,.1);  border: 1px solid rgba(239,68,68,.2);  color: var(--red); }
.alert--info    { background: var(--blue-dim);     border: 1px solid rgba(59,130,246,.2); color: var(--blue-2); }
.form-section { border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 1.25rem; margin-bottom: 1.25rem; }
.form-section-title { font-size: .9rem; font-weight: 700; margin-bottom: 1rem; color: var(--text); }
.checkbox-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: .4rem; margin-top: .4rem; }
.provider-config { margin-top: 1rem; }
.current-image { margin-bottom: .75rem; }
.skeleton { background: linear-gradient(90deg, var(--surface-2) 25%, var(--surface-3) 50%, var(--surface-2) 75%); background-size: 200% 100%; animation: skeleton 1.5s infinite; border-radius: 4px; }
@keyframes skeleton { 0%{background-position:200% 0} 100%{background-position:-200% 0} }
.d-none { display: none !important; }
.mb-2 { margin-bottom: 1rem; }
.mt-2 { margin-top: 1rem; }
.gap-1 { gap: .5rem; }
.d-flex { display: flex; }

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .catalogo-layout { grid-template-columns: 220px 1fr; }
  .detalle__grid { grid-template-columns: 1fr; }
  .detalle__gallery { position: static; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { display: none; }
  .catalogo-layout { grid-template-columns: 1fr; }
  .pros-contras { grid-template-columns: 1fr; }
  .form-grid--2, .form-grid--3 { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; }
  .cta-box { padding: 2.5rem 1.5rem; }
  .chat-panel { right: 1rem; width: calc(100vw - 2rem); bottom: 5rem; height: calc(100vh - 7rem); max-height: 680px; }
  .chat-messages { scroll-behavior: auto; }
  .chat-wizard { max-height: 45%; }
  .admin-sidebar { transform: translateX(-100%); }
  .admin-sidebar.open { transform: translateX(0); box-shadow: var(--shadow); }
  .admin-main { margin-left: 0; }
  .admin-topbar__toggle { display: block; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .server-info { grid-template-columns: 1fr; }
  .cookie-banner { flex-direction: column; text-align: center; }
}
@media (max-width: 480px) {
  .tvs-grid, .articles-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .hero__cta { flex-direction: column; }
  .hero__cta .btn { width: 100%; justify-content: center; }
  .footer__bottom { flex-direction: column; text-align: center; }
  .chat-fab { bottom: 1.25rem; right: 1.25rem; width: 56px; height: 56px; }
}

/* ============================================================
   CATÁLOGO — estilos adicionales coherentes con el diseño
   ============================================================ */

/* Header del catálogo */
.catalogo-page { padding: 3rem 0 5rem; }
.catalogo-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}
.catalogo-header__title {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 800;
    margin-bottom: .25rem;
}
.catalogo-header__count { color: var(--text-muted); font-size: .9rem; margin: 0; }
.catalogo-header__num   { color: var(--gold-2); font-weight: 700; }

/* Toggle móvil */
.filters-mobile-toggle {
    display: none;
    align-items: center;
    gap: .5rem;
    background: var(--surface);
    border: 1px solid var(--border-2);
    border-radius: var(--radius-sm);
    padding: .6rem 1rem;
    color: var(--text);
    font-family: var(--font-body);
    font-size: .88rem;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 1rem;
    width: 100%;
    justify-content: center;
    transition: all var(--transition);
}
.filters-mobile-toggle:hover { border-color: var(--blue-2); color: var(--blue-2); }
.filters-badge {
    background: var(--blue);
    color: #fff;
    border-radius: 100px;
    font-size: .7rem;
    font-weight: 700;
    padding: .1rem .45rem;
    margin-left: .25rem;
}
@media (max-width: 768px) {
    .filters-mobile-toggle { display: flex; }
    .filters-sidebar {
        display: none;
        grid-column: 1 / -1;
        position: static;
        margin-bottom: 1.5rem;
    }
    .filters-sidebar.open { display: block; }
    .catalogo-layout { grid-template-columns: 1fr; }
    .filters-submit { display: flex !important; }
}

/* Sidebar filtros */
.filters-sidebar {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    position: sticky;
    top: 84px;
    max-height: calc(100vh - 104px);
    overflow-y: auto;
}
.filters-sidebar::-webkit-scrollbar { width: 3px; }
.filters-sidebar::-webkit-scrollbar-thumb { background: var(--surface-3); border-radius: 3px; }

.filters-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}
.filters-title {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-family: var(--font-display);
    font-size: .9rem;
    font-weight: 700;
    color: var(--text);
}
.filters-clear {
    font-size: .75rem;
    color: var(--text-dim);
    text-decoration: none;
    font-weight: 500;
    transition: color var(--transition);
}
.filters-clear:hover { color: var(--red); }

.filter-group { margin-bottom: 1.5rem; }
.filter-group:last-of-type { margin-bottom: 1rem; }
.filter-label {
    display: block;
    font-size: .68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: var(--text-dim);
    margin-bottom: .65rem;
}

/* Búsqueda */
.filter-search-wrap { position: relative; }
.filter-search-icon {
    position: absolute;
    left: .75rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-dim);
    pointer-events: none;
}
.filter-input {
    width: 100%;
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: .55rem .75rem;
    color: var(--text);
    font-family: var(--font-body);
    font-size: .87rem;
    outline: none;
    transition: border-color var(--transition);
}
.filter-input:focus { border-color: var(--blue); }
.filter-input::placeholder { color: var(--text-dim); }
.filter-input--search { padding-left: 2.2rem; }

/* Chips (para marca, panel, luz) */
.filter-chips {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
}
.filter-chip {
    display: inline-flex;
    align-items: center;
    padding: .28rem .75rem;
    border-radius: 100px;
    border: 1px solid var(--border);
    background: var(--surface-2);
    font-size: .78rem;
    font-weight: 500;
    color: var(--text-muted);
    cursor: pointer;
    transition: all var(--transition);
    user-select: none;
}
.filter-chip input { display: none; }
.filter-chip:hover { border-color: var(--blue-2); color: var(--blue-2); }
.filter-chip--active {
    background: var(--blue-dim);
    border-color: var(--blue-2);
    color: var(--blue-2);
    font-weight: 600;
}

/* Checks (para precio, uso, luz) */
.filter-checks { display: flex; flex-direction: column; gap: .3rem; }
.filter-check {
    display: flex;
    align-items: center;
    gap: .6rem;
    cursor: pointer;
    padding: .25rem 0;
}
.filter-check input { display: none; }
.filter-check__box {
    width: 16px;
    height: 16px;
    border-radius: 4px;
    border: 1.5px solid var(--border-2);
    background: var(--surface-2);
    flex-shrink: 0;
    transition: all var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}
.filter-check input[type=radio] ~ .filter-check__box { border-radius: 50%; }
.filter-check input:checked ~ .filter-check__box {
    background: var(--blue);
    border-color: var(--blue);
}
.filter-check input:checked ~ .filter-check__box::after {
    content: '';
    width: 5px;
    height: 5px;
    background: #fff;
    border-radius: 50%;
    display: block;
}
.filter-check input[type=checkbox]:checked ~ .filter-check__box::after {
    width: 8px;
    height: 5px;
    background: none;
    border-left: 2px solid #fff;
    border-bottom: 2px solid #fff;
    border-radius: 0;
    transform: rotate(-45deg) translateY(-1px);
}
.filter-check__label {
    font-size: .85rem;
    color: var(--text-muted);
    transition: color var(--transition);
}
.filter-check:hover .filter-check__label { color: var(--text); }
.filter-check input:checked ~ .filter-check__label { color: var(--text); font-weight: 500; }

/* Submit solo visible en móvil */
.filters-submit { display: none; width: 100%; margin-top: 1rem; }

/* Grid de TVs */
.catalogo-content {}

/* Tarjeta TV mejorada */
.tv-card__img-wrap {
    display: block;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: linear-gradient(135deg, var(--surface-2), var(--surface-3));
    position: relative;
}
.tv-card__img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}
.tv-card:hover .tv-card__img-wrap img { transform: scale(1.05); }
.tv-card__badge {
    position: absolute;
    top: .75rem;
    left: .75rem;
    padding: .2rem .65rem;
    border-radius: 100px;
    font-size: .68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .07em;
    backdrop-filter: blur(8px);
    background: rgba(8,9,13,.8);
    border: 1px solid rgba(255,255,255,.1);
}
.tv-card__badge--premium { color: var(--gold-2); border-color: rgba(245,158,11,.3); }
.tv-card__badge--alta    { color: var(--blue-2); border-color: rgba(59,130,246,.3); }
.tv-card__badge--media   { color: var(--green);  border-color: rgba(16,185,129,.3); }
.tv-card__badge--entrada { color: var(--text-muted); }

.tv-card__body { padding: 1.25rem; display: flex; flex-direction: column; flex: 1; }
.tv-card__brand {
    font-size: .68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .14em;
    color: var(--blue-2);
    margin-bottom: .3rem;
}
.tv-card__title {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: .75rem;
    line-height: 1.25;
}
.tv-card__title a { color: var(--text); transition: color var(--transition); }
.tv-card__title a:hover { color: var(--gold-2); }
.tv-card__specs { display: flex; flex-wrap: wrap; gap: .35rem; margin-bottom: .85rem; }
.spec-tag {
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: 5px;
    padding: .18rem .55rem;
    font-size: .72rem;
    color: var(--text-muted);
    font-weight: 500;
}
.tv-card__pros {
    font-size: .83rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    flex: 1;
    line-height: 1.5;
}
.tv-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}
.tv-card__price {
    font-family: var(--font-display);
    font-size: .88rem;
    font-weight: 700;
    color: var(--gold-2);
}

/* Estado vacío */
.empty-state {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 5rem 2rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    border-style: dashed;
}
.empty-state__icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--surface-2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dim);
    margin-bottom: 1.5rem;
}
.empty-state__title { font-size: 1.25rem; font-weight: 700; margin-bottom: .5rem; }
.empty-state__text  { color: var(--text-muted); font-size: .9rem; margin-bottom: 1.5rem; }
.empty-state__actions { display: flex; gap: .75rem; flex-wrap: wrap; justify-content: center; }

/* Listas dentro del chat */
.chat-list {
  margin: .5rem 0 .25rem 1rem;
  padding: 0;
  color: var(--text-muted);
}
.chat-list li {
  margin-bottom: .35rem;
  font-size: .87rem;
  line-height: 1.5;
}
.chat-message--bot .chat-list { color: var(--text-muted); }

/* Botones afiliado en tarjeta catálogo */
.tv-card__prices {
  display: flex;
  flex-direction: column;
  gap: .1rem;
}
.tv-card__afiliado-price {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  color: var(--gold-2);
}
.tv-card__actions {
  display: flex;
  align-items: center;
  gap: .4rem;
}
.btn-afiliado-card {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  background: var(--gold);
  color: #0a0a0a;
  border: none;
  border-radius: var(--radius-sm);
  padding: .4rem .75rem;
  font-size: .78rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: all var(--transition);
  cursor: pointer;
}
.btn-afiliado-card:hover {
  background: var(--gold-2);
  color: #0a0a0a;
  transform: translateY(-1px);
}
.btn-afiliado-card img { object-fit: contain; }
.btn-detalle-card {
  display: inline-flex;
  align-items: center;
  background: var(--surface-2);
  border: 1px solid var(--border-2);
  border-radius: var(--radius-sm);
  padding: .4rem .75rem;
  font-size: .78rem;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: none;
  white-space: nowrap;
  transition: all var(--transition);
}
.btn-detalle-card:hover {
  border-color: var(--blue-2);
  color: var(--blue-2);
}

/* ============================================================
   PÁGINAS LEGALES Y CONTACTO
   ============================================================ */

.legal-page {
    padding: 3rem 0 5rem;
}
.legal-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border);
}
.legal-header h1 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    margin-bottom: .5rem;
}
.legal-date {
    font-size: .8rem;
    color: var(--text-dim);
    margin: 0;
}
.legal-body {
    color: var(--text-muted);
    line-height: 1.8;
}
.legal-body h2 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text);
    margin: 2rem 0 .75rem;
    padding-bottom: .4rem;
    border-bottom: 1px solid var(--border);
}
.legal-body p { margin-bottom: .85rem; }
.legal-body ul, .legal-body ol {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}
.legal-body li { margin-bottom: .35rem; }
.legal-body a { color: var(--blue-2, #60a5fa); }
.legal-body strong { color: var(--text); }

/* Tabla de cookies */
.legal-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0 1.5rem;
    font-size: .85rem;
}
.legal-table th {
    background: var(--surface-2, #171a28);
    border: 1px solid var(--border);
    padding: .6rem .85rem;
    text-align: left;
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--text-muted);
}
.legal-table td {
    border: 1px solid var(--border);
    padding: .6rem .85rem;
    color: var(--text-muted);
    vertical-align: top;
}
.legal-table tr:hover td { background: var(--surface, #111420); }

/* Formulario de contacto */
.contact-form {
    background: var(--surface, #111420);
    border: 1px solid var(--border);
    border-radius: var(--radius, 16px);
    padding: 2rem;
}
.contact-privacy-check {
    display: flex;
    align-items: flex-start;
    gap: .75rem;
    cursor: pointer;
    font-size: .85rem;
    color: var(--text-muted);
    line-height: 1.5;
}
.contact-privacy-check input[type=checkbox] {
    accent-color: var(--blue, #3b82f6);
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    margin-top: .15rem;
}
.contact-privacy-check a { color: var(--blue-2, #60a5fa); }

/* Estado de éxito */
.contact-success {
    text-align: center;
    padding: 5rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}
.contact-success__icon { font-size: 4rem; }
.contact-success h1   { font-size: 2rem; }
.contact-success p    { color: var(--text-muted); max-width: 400px; }

/* ============================================================
   HOME — Solo chat, diseño elegante
   ============================================================ */

.home-hero {
    min-height: calc(100vh - 68px);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 3rem 0 4rem;
}

.home-hero__bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 50% 0%, rgba(59,130,246,.1) 0%, transparent 60%),
        radial-gradient(ellipse 40% 40% at 10% 80%, rgba(245,158,11,.06) 0%, transparent 60%),
        radial-gradient(ellipse 40% 40% at 90% 20%, rgba(59,130,246,.06) 0%, transparent 60%);
    pointer-events: none;
}

.home-hero__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
    position: relative;
    z-index: 1;
    max-width: 760px;
}

/* Eyebrow */
.home-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: rgba(16,185,129,.08);
    border: 1px solid rgba(16,185,129,.2);
    border-radius: 100px;
    padding: .3rem .9rem;
    font-size: .72rem;
    font-weight: 700;
    color: var(--green);
    text-transform: uppercase;
    letter-spacing: .1em;
}
.home-eyebrow__dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--green);
    animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
    0%,100% { opacity: 1; transform: scale(1); }
    50%      { opacity: .5; transform: scale(.8); }
}

/* Head */
.home-hero__head {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.home-title {
    font-size: clamp(2rem, 5.5vw, 3.4rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -.03em;
    margin: 0;
}

.home-subtitle {
    font-size: 1rem;
    color: var(--text-muted);
    max-width: 540px;
    line-height: 1.7;
    margin: 0;
    font-weight: 300;
}

/* Chat box */
.home-chat {
    width: 100%;
    background: var(--surface);
    border: 1px solid var(--border-2);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 24px 80px rgba(0,0,0,.4), inset 0 1px 0 rgba(255,255,255,.05);
}

.home-chat__messages {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: .85rem;
    min-height: 160px;
    max-height: 480px;
    overflow-y: auto;
}
/* Cuando el wizard está oculto, el área de mensajes se expande más */
#homeWizard[hidden] ~ .home-chat__typing,
.home-chat__messages.wizard-hidden {
    max-height: 600px;
}
.home-chat__messages::-webkit-scrollbar { width: 3px; }
.home-chat__messages::-webkit-scrollbar-thumb { background: var(--surface-3); border-radius: 3px; }

.home-chat__typing {
    padding: 0 1.5rem .75rem;
    display: flex;
    align-items: center;
    gap: .6rem;
}
.home-chat__typing[hidden] { display: none; }

/* Mensajes */
.home-msg {
    display: flex;
    gap: .65rem;
    max-width: 88%;
    animation: fadeSlideUp .3s ease both;
}
.home-msg--user {
    align-self: flex-end;
    flex-direction: row-reverse;
}
.home-msg__av {
    width: 32px; height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .85rem;
    flex-shrink: 0;
    background: var(--surface-2);
    border: 1px solid var(--border);
}
.home-msg--bot .home-msg__av {
    background: linear-gradient(135deg, rgba(59,130,246,.2), rgba(59,130,246,.05));
    border-color: rgba(59,130,246,.2);
}
.home-msg__bubble {
    padding: .8rem 1.1rem;
    border-radius: 4px 16px 16px 16px;
    font-size: .88rem;
    line-height: 1.6;
    background: var(--surface-2);
    border: 1px solid var(--border);
    color: var(--text-muted);
}
.home-msg--user .home-msg__bubble {
    background: var(--blue-dim);
    border-color: rgba(59,130,246,.25);
    border-radius: 16px 4px 16px 16px;
    color: var(--text);
}
.home-msg__bubble strong { color: var(--text); }

/* Botón de afiliado inline en el chat de la home */
.home-buy-btn {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    background: var(--gold);
    color: #0a0a0a;
    border-radius: 8px;
    padding: .4rem .85rem;
    font-size: .78rem;
    font-weight: 700;
    margin-top: .6rem;
    text-decoration: none;
    transition: all var(--transition);
    cursor: pointer;
    border: none;
}
.home-buy-btn:hover { background: var(--gold-2); color: #0a0a0a; transform: translateY(-1px); }

/* Typing dots */
.typing-dots { display: flex; align-items: center; gap: .3rem; padding: .6rem .9rem; background: var(--surface-2); border: 1px solid var(--border); border-radius: 0 12px 12px 12px; }
.typing-dots span { width: 6px; height: 6px; background: var(--text-muted); border-radius: 50%; animation: typing 1.3s infinite; }
.typing-dots span:nth-child(2) { animation-delay: .2s; }
.typing-dots span:nth-child(3) { animation-delay: .4s; }

/* Sugerencias */
.home-chat__suggestions {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
    padding: .75rem 1.5rem;
    border-top: 1px solid var(--border);
}
.home-suggestion {
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: 100px;
    padding: .3rem .85rem;
    font-size: .78rem;
    font-family: var(--font-body);
    color: var(--text-muted);
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
}
.home-suggestion:hover {
    border-color: var(--blue-2);
    color: var(--blue-2);
    background: var(--blue-dim);
}

/* Input footer */
.home-chat__footer {
    padding: .85rem 1.25rem 1rem;
    border-top: 1px solid var(--border);
    background: var(--surface-2);
}
.home-chat__input-wrap {
    display: flex;
    align-items: flex-end;
    gap: .5rem;
    background: var(--bg);
    border: 1px solid var(--border-2);
    border-radius: 14px;
    padding: .55rem .5rem .55rem .9rem;
    transition: border-color var(--transition);
}
.home-chat__input-wrap:focus-within { border-color: var(--blue); }
.home-chat__input {
    flex: 1;
    background: none;
    border: none;
    outline: none;
    color: var(--text);
    font-family: var(--font-body);
    font-size: .88rem;
    resize: none;
    max-height: 120px;
    line-height: 1.5;
}
.home-chat__input::placeholder { color: var(--text-dim); }
.home-chat__send {
    width: 36px; height: 36px;
    border-radius: 10px;
    background: var(--blue);
    border: none;
    cursor: pointer;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all var(--transition);
}
.home-chat__send:hover:not(:disabled) { background: var(--blue-2); transform: scale(1.05); }
.home-chat__send:disabled { background: var(--surface-3); cursor: not-allowed; }
.home-chat__disclaimer {
    font-size: .68rem;
    color: var(--text-dim);
    text-align: center;
    margin-top: .6rem;
    letter-spacing: .02em;
}

/* Prueba social */
.home-social-proof {
    width: 100%;
    text-align: center;
}
.home-social-proof__label {
    font-size: .7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: var(--text-dim);
    margin-bottom: .75rem;
}
.home-social-proof__items {
    display: flex;
    flex-direction: column;
    gap: .5rem;
}
.proof-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .6rem;
    flex-wrap: wrap;
    font-size: .82rem;
}
.proof-item__query  { color: var(--text-muted); font-style: italic; }
.proof-item__arrow  { color: var(--text-dim); }
.proof-item__result { color: var(--blue-2); font-weight: 600; }

/* Por qué nosotros */
.home-why { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.home-why__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}
.home-why__card { text-align: center; padding: 1rem; }
.home-why__icon { font-size: 2rem; margin-bottom: .75rem; }
.home-why__card h3 { font-size: 1rem; font-weight: 700; margin-bottom: .5rem; }
.home-why__card p  { font-size: .85rem; color: var(--text-muted); margin: 0; }

/* Responsive */
@media (max-width: 768px) {
    .home-hero { padding: 2rem 0 3rem; }
    .home-title { font-size: clamp(1.7rem, 7vw, 2.4rem); }
    .home-why__grid { grid-template-columns: 1fr; gap: 1.5rem; }
    .home-chat__messages { max-height: 420px; min-height: 200px; }
    .home-social-proof__items { font-size: .78rem; }
}
@media (max-width: 480px) {
    .home-chat__suggestions { gap: .3rem; }
    .home-suggestion { font-size: .72rem; padding: .25rem .65rem; }
    .proof-item { font-size: .75rem; gap: .4rem; }
}
/* ============================================================
   QueTele — nuevas_features.css
   AÑADIR AL FINAL de assets/css/style.css
   ============================================================ */

/* ── Badge "Recomendado por Roberto" en tarjeta TV ── */
.tv-card__img-wrap { position: relative; }

.tv-card__badge-roberto {
    position: absolute;
    bottom: .5rem;
    left: .5rem;
    background: linear-gradient(135deg, #f5a623, #e8940f);
    color: #111;
    font-size: .7rem;
    font-weight: 700;
    padding: .25rem .6rem;
    border-radius: 999px;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(0,0,0,.3);
    z-index: 2;
}

/* ── Badge en ficha detalle TV ── */
.detalle-badge-roberto {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    background: rgba(245,166,35,.12);
    border: 1px solid rgba(245,166,35,.4);
    color: #f5a623;
    font-size: .85rem;
    font-weight: 600;
    padding: .5rem 1rem;
    border-radius: 999px;
    margin-bottom: 1.25rem;
}

/* ── Botón alerta precio ── */
.alerta-precio-wrap { margin: 1rem 0; }

.btn-alerta-precio {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .6rem 1.25rem;
    border: 1.5px solid rgba(255,255,255,.2);
    background: transparent;
    color: inherit;
    border-radius: 999px;
    font-size: .85rem;
    cursor: pointer;
    transition: border-color .15s, background .15s;
}
.btn-alerta-precio:hover {
    border-color: rgba(255,255,255,.5);
    background: rgba(255,255,255,.05);
}

/* ── Modal alerta precio ── */
.modal-alerta {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.6);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}
.modal-alerta[hidden] { display: none; }

.modal-alerta__box {
    background: var(--bg-2, #1a1a2e);
    border: 1px solid var(--border-2, rgba(255,255,255,.1));
    border-radius: 1rem;
    padding: 2rem;
    max-width: 420px;
    width: 100%;
    position: relative;
}
.modal-alerta__box h3 { margin: 0 0 .75rem; font-size: 1.15rem; }
.modal-alerta__box p  { font-size: .9rem; opacity: .8; margin-bottom: 1rem; }
.modal-alerta__close {
    position: absolute;
    top: 1rem; right: 1rem;
    background: none; border: none;
    font-size: 1.1rem; cursor: pointer; opacity: .5;
}
.modal-alerta__close:hover { opacity: 1; }

.alerta-precio-form {
    display: flex;
    gap: .5rem;
    flex-wrap: wrap;
}
.alerta-precio-input {
    flex: 1;
    min-width: 180px;
    padding: .6rem .9rem;
    border-radius: .5rem;
    border: 1px solid var(--border-2, rgba(255,255,255,.15));
    background: var(--bg, #0f0f1a);
    color: inherit;
    font-size: .9rem;
}
.alerta-precio-nota {
    font-size: .75rem !important;
    opacity: .5 !important;
    margin-top: .75rem !important;
    margin-bottom: 0 !important;
}

/* ── Búsqueda rápida catálogo ── */
.catalogo-search-wrap {
    margin-bottom: 1.25rem;
}
.catalogo-search-input {
    width: 100%;
    padding: .65rem 1rem .65rem 2.5rem;
    border-radius: .6rem;
    border: 1px solid var(--border-2, rgba(255,255,255,.1));
    background: var(--surface, rgba(255,255,255,.04));
    color: inherit;
    font-size: .9rem;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.4)' stroke-width='2'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='m21 21-4.35-4.35'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: .75rem center;
    transition: border-color .15s;
}
.catalogo-search-input:focus {
    outline: none;
    border-color: var(--color-primary, #f5a623);
}

/* TV oculta por búsqueda */
.tv-card--hidden-search { display: none !important; }

/* Link en prueba social */
.proof-item__result--link {
    color: var(--color-primary, #f5a623);
    text-decoration: none;
    font-weight: 600;
}
.proof-item__result--link:hover { text-decoration: underline; }
