/* ══════════════════════════════════════════════════════════════
   DomoticaFacil — Tema "Tech Dark" sobre Bootstrap 5
   ══════════════════════════════════════════════════════════════ */
:root {
  --dark:  #070B14;
  --dark2: #0D1421;
  --dark3: #131C2E;
  --cyan:  #00D4FF;
  --cyan-2:#0099BB;
  --green: #10B981;
  --purple:#7C3AED;
  --amber: #F59E0B;
  --red:   #EF4444;
  --white: #FFFFFF;
  --text:  #C8D4F0;
  --soft:  rgba(255,255,255,.55);
  --line:  rgba(255,255,255,.07);
  --line-c:rgba(0,212,255,.18);
  --radius: 14px;
  --topbar-h: 36px;
  --nav-h: 72px;
  --font-display: 'Barlow Condensed', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;

  /* Bootstrap overrides */
  --bs-body-bg: var(--dark);
  --bs-body-color: var(--text);
  --bs-body-font-family: var(--font-body);
  --bs-primary: #00D4FF;
  --bs-primary-rgb: 0,212,255;
  --bs-link-color: #00D4FF;
  --bs-link-color-rgb: 0,212,255;
  --bs-link-hover-color: #33DDFF;
  --bs-border-color: rgba(255,255,255,.1);
  --bs-emphasis-color: #fff;
  --bs-secondary-bg: #131C2E;
  --bs-tertiary-bg: #0D1421;
}
[data-bs-theme=dark] { --bs-body-bg: var(--dark); --bs-body-color: var(--text); }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 20px); }
body { background: var(--dark); color: var(--text); font-family: var(--font-body); line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: var(--cyan); text-decoration: none; transition: color .2s; }
a:hover { color: #33DDFF; }
img { max-width: 100%; }
::selection { background: rgba(0,212,255,.3); color: #fff; }
.text-cyan { color: var(--cyan) !important; }
.text-soft { color: var(--soft) !important; }
.bg-dark0 { background: var(--dark); }
h1,h2,h3,h4,h5,h6 { color: var(--white); }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }

/* ── Botones ───────────────────────────────────── */
.btn { --bs-btn-font-weight: 600; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; gap: .5rem; transition: all .2s ease; }
.btn-neon { background: linear-gradient(135deg, var(--cyan), var(--cyan-2)); color: var(--dark); border: 0; box-shadow: 0 4px 20px rgba(0,212,255,.35); }
.btn-neon:hover, .btn-neon:focus { color: var(--dark); box-shadow: 0 6px 30px rgba(0,212,255,.6); transform: translateY(-2px); }
.btn-outline-neon { border: 2px solid rgba(0,212,255,.45); color: var(--cyan); background: transparent; }
.btn-outline-neon:hover, .btn-outline-neon:focus { background: rgba(0,212,255,.1); border-color: var(--cyan); color: var(--cyan); }
.btn-gradient { background: linear-gradient(135deg, var(--cyan), var(--purple)); color: #fff; border: 0; box-shadow: 0 4px 24px rgba(124,58,237,.35); }
.btn-gradient:hover { color: #fff; box-shadow: 0 6px 32px rgba(0,212,255,.45); transform: translateY(-2px); }
.btn-ghost { background: rgba(255,255,255,.06); color: rgba(255,255,255,.7); border: 1px solid rgba(255,255,255,.14); }
.btn-ghost:hover { background: rgba(255,255,255,.12); color: #fff; }
.btn-amazon { background: linear-gradient(180deg, #FFD814, #F7CA00); color: #0F1111; border: 1px solid #F2C200; font-weight: 700; box-shadow: 0 4px 18px rgba(247,202,0,.25); }
.btn-amazon:hover, .btn-amazon:focus { background: linear-gradient(180deg, #FFE24D, #FFD814); color: #0F1111; transform: translateY(-2px); box-shadow: 0 6px 24px rgba(247,202,0,.4); }

/* ── Cabecera ──────────────────────────────────── */
.site-header { transition: transform .3s ease; }
.topbar { height: var(--topbar-h); background: var(--dark); border-bottom: 1px solid rgba(0,212,255,.12); font-size: .76rem; align-items: center; transition: margin .3s ease; }
.topbar-left { display: flex; gap: 18px; color: rgba(255,255,255,.5); }
.topbar-left i { color: var(--cyan); margin-right: 4px; }
.topbar-social, .footer-social { display: flex; gap: 6px; }
.topbar-social a { width: 26px; height: 26px; display: inline-flex; align-items: center; justify-content: center; color: rgba(255,255,255,.45); border-radius: 6px; }
.topbar-social a:hover { color: var(--cyan); background: rgba(0,212,255,.08); }
.topbar-search { position: relative; }
.topbar-search i { position: absolute; left: 9px; top: 50%; transform: translateY(-50%); font-size: .72rem; color: rgba(255,255,255,.35); }
.topbar-search input { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); color: #fff; border-radius: 20px; padding: 3px 12px 3px 26px; font-size: .74rem; width: 170px; transition: width .25s, border-color .2s; }
.topbar-search input:focus { outline: none; width: 220px; border-color: var(--cyan); }
.site-header.scrolled .topbar { margin-top: calc(var(--topbar-h) * -1); }

.main-nav { min-height: var(--nav-h); background: rgba(7,11,20,.92); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid rgba(0,212,255,.18); padding: 0; }
.site-header.scrolled .main-nav { background: rgba(7,11,20,.98); box-shadow: 0 10px 40px rgba(0,0,0,.45); }
.nav-logo { display: flex; align-items: center; gap: 12px; color: #fff; }
.nav-logo:hover { color: #fff; }
.nav-logo-icon { width: 42px; height: 42px; flex-shrink: 0; background: linear-gradient(135deg, var(--cyan), var(--purple)); border-radius: 11px; display: inline-flex; align-items: center; justify-content: center; font-size: 1.3rem; color: #fff; box-shadow: 0 0 20px rgba(0,212,255,.4); }
.nav-logo-img { height: 44px; width: auto; object-fit: contain; }
.nav-logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.nav-logo-text span { font-size: 1.12rem; font-weight: 800; color: #fff; letter-spacing: -.01em; }
.nav-logo-text small { font-size: .62rem; color: var(--cyan); letter-spacing: 2.4px; text-transform: uppercase; }
.nav-toggle { border: 1px solid rgba(255,255,255,.15); color: #fff; font-size: 1.5rem; padding: 2px 10px; border-radius: 8px; }
.nav-toggle:focus { box-shadow: none; }
.nav-links .nav-link { color: rgba(255,255,255,.72); font-size: .88rem; font-weight: 500; padding: 8px 13px !important; border-radius: 8px; display: flex; align-items: center; gap: 6px; white-space: nowrap; }
.nav-links .nav-link:hover, .nav-links .nav-link.active, .nav-links .show > .nav-link { color: var(--cyan); background: rgba(0,212,255,.08); }
.nav-links .nav-link i { font-size: .95rem; }
.nav-links .dropdown-toggle::after { border: 0; content: "\F282"; font-family: bootstrap-icons; font-size: .6rem; vertical-align: middle; margin-left: 2px; transition: transform .2s; }
.nav-links .show > .dropdown-toggle::after { transform: rotate(180deg); }
.nav-cta { background: linear-gradient(135deg, var(--cyan), var(--purple)) !important; color: #fff !important; padding: 8px 18px !important; font-weight: 600 !important; box-shadow: 0 0 16px rgba(0,212,255,.3); margin-left: 6px; }
.nav-cta:hover { box-shadow: 0 0 28px rgba(0,212,255,.6); }
.nav-mega { --bs-dropdown-bg: var(--dark2); --bs-dropdown-border-color: rgba(0,212,255,.2); background: var(--dark2); border: 1px solid rgba(0,212,255,.2); border-radius: 14px; padding: 10px; min-width: 260px; box-shadow: 0 20px 60px rgba(0,0,0,.6), 0 0 40px rgba(0,212,255,.05); margin-top: 8px !important; }
.nav-mega-item { display: flex !important; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 9px; color: rgba(255,255,255,.72); font-size: .86rem; }
.nav-mega-item i { color: var(--cyan); width: 18px; font-size: .95rem; }
.nav-mega-item:hover, .nav-mega-item:focus { background: rgba(0,212,255,.1); color: #fff; }

@media (min-width: 992px) {
  .nav-dropdown:hover > .dropdown-menu { display: block; animation: fadeDown .2s ease; }
  .nav-dropdown > .dropdown-menu { left: 50%; transform: translateX(-50%); }
  .nav-dropdown:hover > .nav-link { color: var(--cyan); background: rgba(0,212,255,.08); }
}
@keyframes fadeDown { from { opacity: 0; margin-top: 0; } to { opacity: 1; margin-top: 8px; } }
@media (max-width: 991.98px) {
  .main-nav .navbar-collapse { background: var(--dark); margin: 0 -12px; padding: 10px 16px 16px; border-top: 1px solid rgba(0,212,255,.12); max-height: calc(100vh - var(--nav-h)); overflow-y: auto; }
  .nav-mega { box-shadow: none; border: 0; background: rgba(255,255,255,.03); margin: 4px 0 8px !important; }
  .nav-cta { margin: 8px 0 0; justify-content: center; }
}

/* ── Hero ──────────────────────────────────────── */
.hero { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; position: relative; overflow: hidden; padding-top: calc(var(--nav-h) + var(--topbar-h)); background: var(--dark); isolation: isolate; }
.hero-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -3; }
.hero-yt { position: absolute; inset: 0; z-index: -3; pointer-events: none; overflow: hidden; }
.hero-yt iframe { position: absolute; top: 50%; left: 50%; width: 177.78vh; height: 56.25vw; min-width: 100%; min-height: 100%; transform: translate(-50%, -50%); border: 0; }
.hero-slider { position: absolute; inset: 0; z-index: -3; }
.hero-slide { position: absolute; inset: 0; background: center/cover no-repeat; opacity: 0; transition: opacity 1.5s ease; transform: scale(1.05); }
.hero-slide.active { opacity: 1; animation: kenburns 12s ease-out forwards; }
@keyframes kenburns { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero-overlay { position: absolute; inset: 0; z-index: -2; background: linear-gradient(135deg, rgba(7,11,20,.88) 0%, rgba(7,11,20,.62) 100%); }
.hero-bg-grid { position: absolute; inset: 0; z-index: -1; pointer-events: none; background-image: linear-gradient(rgba(0,212,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(0,212,255,.06) 1px, transparent 1px); background-size: 60px 60px; mask-image: radial-gradient(ellipse at center, #000 30%, transparent 80%); -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 80%); }
.hero-glow { position: absolute; top: 15%; left: 5%; width: 520px; height: 520px; z-index: -1; background: radial-gradient(circle, rgba(0,212,255,.14) 0%, transparent 70%); pointer-events: none; animation: float 9s ease-in-out infinite; }
.hero-glow2 { position: absolute; bottom: 5%; right: 3%; width: 420px; height: 420px; z-index: -1; background: radial-gradient(circle, rgba(124,58,237,.13) 0%, transparent 70%); pointer-events: none; animation: float 11s ease-in-out infinite reverse; }
@keyframes float { 0%,100% { transform: translate(0,0); } 50% { transform: translate(30px,-20px); } }
.hero-content { padding-top: 60px; padding-bottom: 90px; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(0,212,255,.1); border: 1px solid rgba(0,212,255,.3); color: var(--cyan); padding: 6px 14px; border-radius: 30px; font-size: .74rem; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 24px; }
.hero-title { font-family: var(--font-display); font-size: clamp(2.6rem, 5.6vw, 4.8rem); font-weight: 800; line-height: 1.02; color: #fff; margin-bottom: 22px; letter-spacing: -.01em; }
.hero-title .accent { background: linear-gradient(90deg, var(--cyan), #7DD3FC 50%, #A78BFA); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub { font-size: 1.07rem; color: rgba(255,255,255,.66); max-width: 540px; margin-bottom: 36px; line-height: 1.75; }
.hero-card { background: linear-gradient(135deg, rgba(13,20,33,.92), rgba(19,28,46,.92)); border: 1px solid rgba(0,212,255,.22); border-radius: 18px; padding: 28px; box-shadow: 0 0 60px rgba(0,212,255,.12), 0 30px 80px rgba(0,0,0,.4); backdrop-filter: blur(8px); }
.hero-card-title { color: var(--cyan); font-size: .74rem; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 20px; font-weight: 600; }
.smart-device { display: flex; align-items: center; gap: 14px; padding: 12px 16px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.07); border-radius: 11px; margin-bottom: 10px; transition: all .3s; }
.smart-device:hover { background: rgba(0,212,255,.08); border-color: rgba(0,212,255,.22); transform: translateX(4px); }
.device-icon { width: 40px; height: 40px; border-radius: 9px; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0; }
.device-icon.cyan { background: rgba(0,212,255,.15); color: var(--cyan); }
.device-icon.green { background: rgba(16,185,129,.15); color: var(--green); }
.device-icon.purple { background: rgba(124,58,237,.18); color: #A78BFA; }
.device-icon.amber { background: rgba(245,158,11,.15); color: var(--amber); }
.device-name { flex: 1; color: #fff; font-size: .9rem; font-weight: 500; }
.device-status { font-size: .75rem; color: var(--green); font-weight: 600; display: flex; align-items: center; gap: 6px; }
.device-status::before { content: ''; width: 7px; height: 7px; background: var(--green); border-radius: 50%; box-shadow: 0 0 8px var(--green); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .35; } }
.hero-mini-stat { text-align: center; background: rgba(0,212,255,.06); border: 1px solid rgba(0,212,255,.15); border-radius: 10px; padding: 12px 6px; height: 100%; }
.hero-mini-stat strong { display: block; font-family: var(--font-display); font-size: 1.6rem; font-weight: 800; color: var(--cyan); line-height: 1.1; }
.hero-mini-stat span { font-size: .68rem; color: rgba(255,255,255,.5); line-height: 1.2; display: block; }
.hero-scroll { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,.4); font-size: 1.3rem; animation: bounce 2s infinite; }
.hero-scroll:hover { color: var(--cyan); }
@keyframes bounce { 0%,100% { transform: translate(-50%,0); } 50% { transform: translate(-50%,8px); } }

/* ── Secciones ─────────────────────────────────── */
.section { padding: 96px 0; position: relative; }
.section-dark { background: var(--dark2); }
.section-header { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.section-header h2, .display-title { font-family: var(--font-display); font-size: clamp(1.9rem, 3.2vw, 2.9rem); font-weight: 800; color: #fff; margin-bottom: 14px; line-height: 1.1; }
.section-header p { color: var(--soft); font-size: 1.02rem; margin: 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 6px; color: var(--cyan); font-size: .74rem; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; margin-bottom: 10px; }

/* ── Estadísticas ──────────────────────────────── */
.stats-bar { background: var(--dark2); border: 1px solid rgba(0,212,255,.15); border-radius: var(--radius); overflow: hidden; }
.stat-item { padding: 32px 20px; text-align: center; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat-item i { font-size: 1.8rem; color: var(--cyan); margin-bottom: 8px; display: block; }
.stat-number { display: block; font-family: var(--font-display); font-size: 2.7rem; font-weight: 800; color: #fff; line-height: 1; margin-bottom: 6px; }
.stat-label { color: rgba(255,255,255,.5); font-size: .78rem; text-transform: uppercase; letter-spacing: 1px; }
@media (min-width: 992px) { .stat-item { border-bottom: 0; } .stat-item:last-child { border-right: 0; } }

/* ── Categorías ────────────────────────────────── */
.cat-card { display: block; background: var(--dark); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; transition: all .3s; position: relative; overflow: hidden; color: inherit; }
.section-dark .cat-card { background: var(--dark3); }
.cat-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--card-color, var(--cyan)); opacity: 0; transition: opacity .3s; }
.cat-card::after { content: ''; position: absolute; width: 180px; height: 180px; right: -60px; bottom: -60px; border-radius: 50%; background: var(--card-color, var(--cyan)); opacity: 0; filter: blur(50px); transition: opacity .3s; }
.cat-card:hover { border-color: var(--card-color, var(--cyan)); box-shadow: 0 12px 40px rgba(0,0,0,.35); transform: translateY(-5px); color: inherit; }
.cat-card:hover::before { opacity: 1; }
.cat-card:hover::after { opacity: .15; }
.cat-icon { width: 56px; height: 56px; border-radius: 13px; display: flex; align-items: center; justify-content: center; font-size: 1.6rem; margin-bottom: 18px; background: rgba(255,255,255,.06); color: var(--card-color, var(--cyan)); transition: all .3s; }
.cat-card:hover .cat-icon { background: var(--card-color, var(--cyan)); color: var(--dark); transform: scale(1.05) rotate(-4deg); }
.cat-card h3 { font-size: 1.06rem; font-weight: 700; margin-bottom: 8px; }
.cat-card p { color: rgba(255,255,255,.5); font-size: .87rem; line-height: 1.6; margin-bottom: 16px; }
.cat-link { color: var(--card-color, var(--cyan)); font-size: .85rem; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; transition: gap .2s; }
.cat-card:hover .cat-link { gap: 10px; }

/* ── Tarjetas de artículo ──────────────────────── */
.article-card { background: var(--dark2); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: all .3s; display: flex; flex-direction: column; color: inherit; }
.article-card:hover { border-color: rgba(0,212,255,.28); box-shadow: 0 16px 44px rgba(0,0,0,.45); transform: translateY(-5px); color: inherit; }
.article-img { height: 210px; background: var(--dark3) center/cover no-repeat; position: relative; overflow: hidden; }
.article-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(7,11,20,.6)); }
.article-img-placeholder { height: 100%; display: flex; align-items: center; justify-content: center; font-size: 3.2rem; color: rgba(0,212,255,.18); background: radial-gradient(circle at 30% 30%, rgba(0,212,255,.08), transparent 60%), radial-gradient(circle at 70% 70%, rgba(124,58,237,.08), transparent 60%); }
.article-cat { position: absolute; top: 12px; left: 12px; z-index: 1; background: var(--c, var(--cyan)); color: var(--dark); padding: 3px 11px; border-radius: 20px; font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .4px; }
.article-body { padding: 22px 24px 24px; flex: 1; display: flex; flex-direction: column; }
.article-body h3 { font-size: 1.04rem; font-weight: 700; color: #fff; margin-bottom: 10px; line-height: 1.4; }
.article-card:hover h3 { color: var(--cyan); }
.article-body p { color: rgba(255,255,255,.52); font-size: .87rem; line-height: 1.6; flex: 1; margin-bottom: 16px; }
.article-meta { display: flex; justify-content: space-between; align-items: center; font-size: .76rem; color: rgba(255,255,255,.38); }
.article-meta .read-more { color: var(--cyan); font-weight: 600; display: inline-flex; align-items: center; gap: 4px; transition: gap .2s; }
.article-card:hover .read-more { gap: 8px; }

/* ── Features / protocolos ─────────────────────── */
.feature-list { display: flex; flex-direction: column; gap: 14px; }
.feature-item { display: flex; gap: 16px; align-items: center; padding: 16px 18px; background: rgba(255,255,255,.03); border: 1px solid var(--line); border-radius: 12px; transition: all .2s; color: rgba(255,255,255,.78); }
.feature-item:hover { border-color: rgba(0,212,255,.25); transform: translateX(4px); }
.feature-icon { width: 42px; height: 42px; border-radius: 10px; background: rgba(0,212,255,.12); display: flex; align-items: center; justify-content: center; color: var(--cyan); font-size: 1.2rem; flex-shrink: 0; }
.protocol-showcase { background: var(--dark2); border: 1px solid rgba(0,212,255,.2); border-radius: 18px; padding: 32px; box-shadow: 0 0 60px rgba(0,212,255,.06); }
.section-dark .protocol-showcase { background: var(--dark3); }
.protocol-title { color: var(--cyan); font-size: .74rem; letter-spacing: 2px; text-transform: uppercase; font-weight: 600; margin-bottom: 18px; }
.protocol-item { display: flex; align-items: center; justify-content: space-between; padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,.06); }
.protocol-item:last-child { border-bottom: 0; }
.protocol-name { color: #fff; font-size: .92rem; font-weight: 500; display: flex; align-items: center; gap: 10px; }
.protocol-name i { color: var(--cyan); }
.protocol-badge { font-size: .7rem; padding: 3px 10px; border-radius: 20px; font-weight: 600; white-space: nowrap; }
.badge-wifi { background: rgba(0,212,255,.15); color: var(--cyan); }
.badge-zwave { background: rgba(124,58,237,.18); color: #A78BFA; }
.badge-zigbee { background: rgba(16,185,129,.15); color: var(--green); }
.badge-bt { background: rgba(59,130,246,.15); color: #60A5FA; }
.badge-matter { background: rgba(245,158,11,.15); color: #FCD34D; }
.badge-knx { background: rgba(239,68,68,.15); color: #F87171; }

/* ── CTA ───────────────────────────────────────── */
.cta-band { padding: 0 0 96px; }
.cta-inner { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; padding: 44px 48px; border-radius: 22px; background: linear-gradient(120deg, #0077B6 0%, var(--purple) 100%); position: relative; overflow: hidden; box-shadow: 0 30px 80px rgba(124,58,237,.25); }
.cta-inner::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px); background-size: 40px 40px; }
.cta-inner > * { position: relative; }
.cta-inner h2 { font-family: var(--font-display); font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 800; margin-bottom: 6px; }
.cta-inner p { color: rgba(255,255,255,.8); margin: 0; }

/* ── Page hero ─────────────────────────────────── */
.page-hero { position: relative; overflow: hidden; isolation: isolate; background: linear-gradient(135deg, var(--dark) 0%, var(--dark2) 100%); padding: calc(var(--nav-h) + var(--topbar-h) + 44px) 0 48px; border-bottom: 1px solid rgba(0,212,255,.1); }
.page-hero::after { content: ''; position: absolute; right: -100px; top: -100px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(0,212,255,.12), transparent 70%); z-index: -1; }
.page-hero h1 { font-family: var(--font-display); font-size: clamp(2.1rem, 4.2vw, 3.4rem); font-weight: 800; color: #fff; margin-bottom: 8px; line-height: 1.08; max-width: 900px; }
.page-hero p { color: var(--soft); max-width: 640px; margin: 0; }
.page-hero-meta { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 14px; font-size: .84rem; color: rgba(255,255,255,.5); }
.page-hero-meta i { color: var(--cyan); margin-right: 4px; }
.df-breadcrumb { --bs-breadcrumb-divider-color: rgba(255,255,255,.25); --bs-breadcrumb-item-active-color: rgba(255,255,255,.45); font-size: .8rem; margin-bottom: 14px; }
.df-breadcrumb a { color: rgba(255,255,255,.55); }
.df-breadcrumb a:hover { color: var(--cyan); }

/* ── Filtros / búsqueda ────────────────────────── */
.filter-bar { display: flex; gap: 8px; flex-wrap: wrap; }
.filter-btn { padding: 7px 16px; border-radius: 20px; font-size: .82rem; font-weight: 600; background: rgba(255,255,255,.05); color: rgba(255,255,255,.62); border: 1px solid rgba(255,255,255,.1); transition: all .2s; display: inline-flex; align-items: center; gap: 6px; }
.filter-btn:hover, .filter-btn.active { background: rgba(0,212,255,.14); color: var(--cyan); border-color: rgba(0,212,255,.42); }
.search-inline { position: relative; min-width: 240px; }
.search-inline i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: rgba(255,255,255,.35); }
.search-inline .form-control { padding-left: 38px; border-radius: 30px; }
.results-count { color: rgba(255,255,255,.4); font-size: .82rem; margin-bottom: 18px; }
.empty-state { text-align: center; padding: 80px 0; color: rgba(255,255,255,.35); }
.empty-state i { font-size: 3rem; display: block; margin-bottom: 12px; }
.df-pagination { --bs-pagination-bg: var(--dark2); --bs-pagination-border-color: var(--line); --bs-pagination-color: var(--text); --bs-pagination-hover-bg: rgba(0,212,255,.1); --bs-pagination-hover-color: var(--cyan); --bs-pagination-active-bg: var(--cyan); --bs-pagination-active-border-color: var(--cyan); --bs-pagination-active-color: var(--dark); gap: 6px; }
.df-pagination .page-link { border-radius: 10px !important; min-width: 40px; text-align: center; }

/* ── Formularios ───────────────────────────────── */
.form-control, .form-select { background-color: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); color: #fff; border-radius: 10px; padding: .65rem .95rem; }
.form-control:focus, .form-select:focus { background-color: rgba(0,212,255,.05); border-color: var(--cyan); color: #fff; box-shadow: 0 0 0 .2rem rgba(0,212,255,.15); }
.form-control::placeholder { color: rgba(255,255,255,.3); }
.form-label { font-size: .83rem; font-weight: 600; color: rgba(255,255,255,.62); }
.form-check-input { background-color: rgba(255,255,255,.08); border-color: rgba(255,255,255,.25); }
.form-check-input:checked { background-color: var(--cyan); border-color: var(--cyan); }
.form-select option { background: var(--dark2); }

/* ── Detalle artículo ──────────────────────────── */
.reading-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 1040; background: linear-gradient(90deg, var(--cyan), var(--purple)); box-shadow: 0 0 10px rgba(0,212,255,.6); }
.article-content { background: var(--dark2); border: 1px solid var(--line); border-radius: 18px; padding: clamp(22px, 4vw, 44px); color: rgba(255,255,255,.78); line-height: 1.85; font-size: 1.02rem; }
.article-cover { width: 100%; border-radius: 12px; margin-bottom: 28px; aspect-ratio: 2/1; object-fit: cover; }
.article-lead { font-size: 1.12rem; color: rgba(255,255,255,.85); border-left: 3px solid var(--cyan); padding-left: 18px; margin-bottom: 28px; }
.article-html h2 { font-family: var(--font-display); font-size: 1.7rem; color: var(--cyan); font-weight: 700; margin: 36px 0 14px; }
.article-html h2:first-child { margin-top: 0; }
.article-html h3 { font-size: 1.18rem; color: #fff; font-weight: 600; margin: 26px 0 10px; }
.article-html p { margin-bottom: 16px; }
.article-html ul, .article-html ol { padding-left: 0; margin-bottom: 20px; list-style: none; }
.article-html ol { counter-reset: n; }
.article-html li { margin-bottom: 9px; padding-left: 28px; position: relative; }
.article-html ul > li::before { content: "\F26A"; font-family: bootstrap-icons; position: absolute; left: 0; top: 1px; color: var(--cyan); font-size: .95rem; }
.article-html ol > li::before { counter-increment: n; content: counter(n); position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: rgba(0,212,255,.15); color: var(--cyan); font-size: .7rem; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.article-html img { max-width: 100%; height: auto; border-radius: 12px; margin: 24px 0; }
.article-html a { color: var(--cyan); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(0,212,255,.4); }
.article-html strong { color: #fff; }
.article-html blockquote { border-left: 3px solid var(--purple); background: rgba(124,58,237,.08); padding: 14px 20px; border-radius: 0 10px 10px 0; margin: 20px 0; color: rgba(255,255,255,.85); }
.article-html table { width: 100%; margin: 20px 0; border-collapse: collapse; font-size: .92rem; }
.article-html th, .article-html td { border: 1px solid rgba(255,255,255,.1); padding: 10px 12px; }
.article-html th { background: rgba(0,212,255,.08); color: #fff; }
.article-html iframe { max-width: 100%; border-radius: 12px; }
.article-html pre, .article-html code { background: rgba(0,0,0,.35); color: #7DD3FC; border-radius: 6px; padding: 2px 6px; }
.article-html pre { padding: 16px; overflow: auto; }
.article-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); color: rgba(255,255,255,.4); }
.tag { font-size: .78rem; padding: 4px 12px; border-radius: 20px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); color: rgba(255,255,255,.65); }
.tag:hover { color: var(--cyan); border-color: rgba(0,212,255,.4); }
.article-share { display: flex; align-items: center; gap: 8px; margin-top: 20px; font-size: .85rem; color: rgba(255,255,255,.45); }
.article-share a, .article-share button { width: 36px; height: 36px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: rgba(255,255,255,.06); color: rgba(255,255,255,.65); border: 0; transition: all .2s; }
.article-share a:hover, .article-share button:hover { background: var(--cyan); color: var(--dark); }
.affiliate-disclosure { display: flex; gap: 10px; align-items: flex-start; font-size: .82rem; color: rgba(255,255,255,.6); background: rgba(245,158,11,.07); border: 1px solid rgba(245,158,11,.22); border-radius: 10px; padding: 10px 14px; margin-bottom: 24px; }
.affiliate-disclosure i { color: var(--amber); margin-top: 2px; }
.article-products { margin-top: 40px; padding-top: 30px; border-top: 1px solid var(--line); }
.article-products h2 { font-family: var(--font-display); font-size: 1.6rem; color: #fff; margin-bottom: 18px; }
.article-products h2 i { color: var(--cyan); }

.sidebar-sticky { top: calc(var(--nav-h) + 20px) !important; z-index: 1; }
.sidebar-widget { background: var(--dark2); border: 1px solid var(--line); border-radius: 14px; padding: 22px; margin-bottom: 20px; }
.sidebar-widget h4 { color: #fff; font-size: .95rem; font-weight: 700; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 1px solid rgba(0,212,255,.15); }
.sidebar-widget h4 i { color: var(--cyan); margin-right: 4px; }
.related-item { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.05); align-items: center; color: inherit; }
.related-item:last-child { border-bottom: 0; }
.related-thumb { width: 58px; height: 46px; border-radius: 8px; flex-shrink: 0; background: var(--dark3) center/cover; display: flex; align-items: center; justify-content: center; color: rgba(0,212,255,.3); }
.related-item strong { display: block; color: rgba(255,255,255,.8); font-size: .84rem; font-weight: 600; line-height: 1.35; transition: color .2s; }
.related-item small { color: rgba(255,255,255,.35); font-size: .73rem; }
.related-item:hover strong { color: var(--cyan); }
.protocol-row { display: flex; align-items: center; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,.05); color: rgba(255,255,255,.72); font-size: .87rem; }
.protocol-row:last-child { border-bottom: 0; }
.protocol-row i { color: var(--cyan); margin-right: 6px; }
.protocol-row:hover { color: #fff; }
.toc-widget nav a { display: block; padding: 6px 0 6px 12px; font-size: .84rem; color: rgba(255,255,255,.6); border-left: 2px solid rgba(255,255,255,.08); }
.toc-widget nav a.lvl-3 { padding-left: 24px; font-size: .8rem; }
.toc-widget nav a:hover, .toc-widget nav a.active { color: var(--cyan); border-left-color: var(--cyan); }
.sidebar-cta { text-align: center; background: linear-gradient(160deg, rgba(0,212,255,.1), rgba(124,58,237,.12)); border-color: rgba(0,212,255,.2); }
.sidebar-cta > i { font-size: 2rem; color: var(--cyan); }
.sidebar-cta h5 { font-size: 1rem; margin: 8px 0 4px; }
.sidebar-cta p { font-size: .84rem; color: var(--soft); }

/* ── Productos ─────────────────────────────────── */
.product-card { background: var(--dark2); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: all .3s; }
.section-dark .product-card { background: var(--dark3); }
.product-card:hover { border-color: rgba(247,202,0,.35); box-shadow: 0 16px 44px rgba(0,0,0,.45); transform: translateY(-5px); }
.product-img { position: relative; display: block; aspect-ratio: 4/3; background: #fff; overflow: hidden; }
.product-img img { width: 100%; height: 100%; object-fit: contain; padding: 18px; transition: transform .4s; }
.product-card:hover .product-img img { transform: scale(1.05); }
.product-img-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 3.2rem; color: rgba(0,212,255,.35); background: radial-gradient(circle at 30% 30%, rgba(0,212,255,.12), transparent 60%), radial-gradient(circle at 70% 70%, rgba(124,58,237,.12), transparent 60%), var(--dark3); }
.product-img-placeholder.big { aspect-ratio: 1; font-size: 6rem; border-radius: 18px; }
.product-badge { position: absolute; top: 12px; left: 12px; background: linear-gradient(135deg, var(--amber), #F97316); color: #1a1205; font-size: .68rem; font-weight: 800; padding: 4px 10px; border-radius: 20px; text-transform: uppercase; letter-spacing: .4px; }
.product-badge.static { position: static; }
.product-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.product-cat { font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--c, var(--cyan)); margin-bottom: 6px; }
.product-body h3 { font-size: 1rem; line-height: 1.38; font-weight: 700; margin-bottom: 8px; }
.product-body h3 a { color: #fff; }
.product-body h3 a:hover { color: var(--cyan); }
.product-body p { font-size: .84rem; color: rgba(255,255,255,.52); margin-bottom: 10px; flex: 1; }
.product-compat { font-size: .76rem; color: rgba(255,255,255,.45); margin-bottom: 14px; }
.product-compat i { color: var(--green); }
.product-actions { margin-top: auto; display: flex; flex-direction: column; gap: 8px; }
.product-alt { font-size: .75rem; color: rgba(255,255,255,.5); text-align: center; }
.product-alt:hover { color: var(--cyan); }
.product-inline { display: flex; gap: 22px; align-items: center; background: linear-gradient(135deg, rgba(0,212,255,.05), rgba(124,58,237,.06)); border: 1px solid rgba(0,212,255,.2); border-radius: 16px; padding: 18px; margin: 26px 0; }
.product-inline-img { width: 170px; flex-shrink: 0; aspect-ratio: 1; border-radius: 12px; background: #fff; overflow: hidden; display: block; }
.product-inline-img img { width: 100%; height: 100%; object-fit: contain; padding: 10px; margin: 0 !important; border-radius: 0 !important; }
.product-inline-img .product-img-placeholder { font-size: 2.6rem; }
.product-inline-body { flex: 1; min-width: 0; }
.product-inline-kicker { font-size: .7rem; text-transform: uppercase; letter-spacing: 1.5px; font-weight: 700; color: var(--amber); }
.product-inline h4 { font-size: 1.12rem; margin: 2px 0 6px; }
.product-inline h4 a { color: #fff; text-decoration: none !important; }
.product-inline h4 a:hover { color: var(--cyan); }
.product-inline p { font-size: .9rem; color: rgba(255,255,255,.62); margin-bottom: 8px; }
.product-inline .btn-amazon { text-decoration: none !important; }
.product-inline .product-alt { text-decoration: none !important; }
.pros-mini { list-style: none; padding: 0 !important; margin: 0 0 6px !important; display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: .82rem; }
.pros-mini li { padding: 0 !important; margin: 0 !important; color: rgba(255,255,255,.7); }
.pros-mini li::before { display: none !important; }
.pros-mini i { color: var(--green); }
@media (max-width: 575.98px) { .product-inline { flex-direction: column; align-items: stretch; } .product-inline-img { width: 100%; aspect-ratio: 16/10; } }
.store-switch { display: inline-flex; align-items: center; gap: 4px; background: rgba(255,255,255,.04); border: 1px solid var(--line); border-radius: 30px; padding: 4px; font-size: .8rem; }
.store-switch span { color: rgba(255,255,255,.45); padding: 0 8px; }
.store-switch a { padding: 5px 12px; border-radius: 20px; color: rgba(255,255,255,.65); font-weight: 600; }
.store-switch a.active { background: rgba(247,202,0,.15); color: #FFD814; }
.product-gallery { position: relative; background: #fff; border-radius: 18px; overflow: hidden; aspect-ratio: 1; display: flex; align-items: center; justify-content: center; }
.product-gallery img { width: 100%; height: 100%; object-fit: contain; padding: 30px; }
.product-brand { font-size: .76rem; text-transform: uppercase; letter-spacing: 2px; color: var(--cyan); font-weight: 700; margin-bottom: 4px; }
.compat-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 20px; color: var(--green); }
.compat-chips span { font-size: .78rem; padding: 3px 11px; border-radius: 20px; background: rgba(16,185,129,.1); border: 1px solid rgba(16,185,129,.25); color: #6EE7B7; }
.buy-box { background: var(--dark2); border: 1px solid rgba(247,202,0,.25); border-radius: 16px; padding: 22px; box-shadow: 0 0 40px rgba(247,202,0,.05); }
.buy-note { font-size: .76rem; color: rgba(255,255,255,.45); margin: 12px 0 0; text-align: center; }
.buy-note i { color: var(--green); }
.pros-box, .cons-box { border-radius: 14px; padding: 18px 20px; height: 100%; }
.pros-box { background: rgba(16,185,129,.07); border: 1px solid rgba(16,185,129,.22); }
.cons-box { background: rgba(239,68,68,.06); border: 1px solid rgba(239,68,68,.2); }
.pros-box h5 { color: #6EE7B7; font-size: .95rem; }
.cons-box h5 { color: #FCA5A5; font-size: .95rem; }
.pros-box ul, .cons-box ul { padding-left: 18px; margin: 0; font-size: .88rem; }
.pros-box li, .cons-box li { margin-bottom: 4px; }
.list-links a { display: block; padding: 8px 0; border-bottom: 1px solid var(--line); color: rgba(255,255,255,.75); }
.list-links a:hover { color: var(--cyan); }
.affiliate-mini { font-size: .76rem; color: rgba(255,255,255,.38); }

/* ── Contacto / nosotros ───────────────────────── */
.contact-info h2, .about-text h2 { font-family: var(--font-display); font-size: 2.2rem; color: #fff; font-weight: 800; margin-bottom: 12px; }
.contact-info > p, .about-text p { color: var(--soft); margin-bottom: 28px; line-height: 1.75; }
.about-text p { margin-bottom: 16px; }
.contact-item { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 20px; }
.ci-icon { width: 46px; height: 46px; flex-shrink: 0; background: rgba(0,212,255,.12); border: 1px solid rgba(0,212,255,.2); border-radius: 11px; display: flex; align-items: center; justify-content: center; color: var(--cyan); font-size: 1.15rem; }
.contact-item strong { display: block; color: rgba(255,255,255,.4); font-size: .74rem; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 2px; }
.contact-item span, .contact-item a { color: #fff; font-size: .93rem; }
.contact-form-wrap { background: var(--dark2); border: 1px solid rgba(0,212,255,.16); border-radius: 18px; padding: clamp(22px, 4vw, 38px); box-shadow: 0 30px 80px rgba(0,0,0,.25); }
.contact-ok { text-align: center; padding: 40px 0; }
.contact-ok > i { font-size: 3.4rem; color: var(--green); display: block; margin-bottom: 12px; }
.legal-mini { font-size: .72rem; color: rgba(255,255,255,.35); margin: 0; }
.value-card { background: var(--dark2); border: 1px solid var(--line); border-radius: 16px; padding: 28px; height: 100%; transition: all .3s; }
.value-card:hover { border-color: rgba(0,212,255,.25); transform: translateY(-4px); }
.value-card i { font-size: 1.8rem; color: var(--cyan); }
.value-card h3 { font-size: 1.1rem; margin: 12px 0 6px; }
.value-card p { color: var(--soft); font-size: .9rem; margin: 0; }
.legal-draft { background: rgba(245,158,11,.08); border: 1px dashed rgba(245,158,11,.4); color: #FCD34D; padding: 10px 14px; border-radius: 10px; font-size: .86rem; }

/* ── Pie ───────────────────────────────────────── */
.footer { background: var(--dark); border-top: 1px solid rgba(0,212,255,.12); position: relative; }
.footer::before { content: ''; position: absolute; top: -1px; left: 10%; right: 10%; height: 1px; background: linear-gradient(90deg, transparent, var(--cyan), transparent); }
.footer-top { padding: 64px 0 40px; }
.footer-brand p { color: rgba(255,255,255,.42); font-size: .87rem; line-height: 1.7; margin: 14px 0 22px; max-width: 360px; }
.footer-social a { width: 36px; height: 36px; background: rgba(255,255,255,.06); border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: rgba(255,255,255,.55); font-size: .9rem; }
.footer-social a:hover { background: var(--cyan); color: var(--dark); }
.footer-col h4 { color: #fff; font-size: .82rem; font-weight: 700; margin-bottom: 18px; text-transform: uppercase; letter-spacing: 1.2px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 10px; }
.footer-col li a { color: rgba(255,255,255,.45); font-size: .87rem; display: inline-flex; align-items: center; gap: 6px; word-break: break-all; }
.footer-col li a:hover { color: var(--cyan); }
.footer-col li a i { font-size: .72rem; }
.affiliate-note { display: flex; gap: 10px; font-size: .76rem; color: rgba(255,255,255,.38); border-top: 1px solid var(--line); padding-top: 22px; }
.affiliate-note i { color: var(--amber); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.06); padding: 18px 0; font-size: .8rem; color: rgba(255,255,255,.3); }
.footer-legal { display: flex; flex-wrap: wrap; gap: 16px; }
.footer-legal a { color: rgba(255,255,255,.4); }
.footer-legal a:hover { color: var(--cyan); }
.footer-admin-link { color: rgba(255,255,255,.18) !important; }
.footer-credit { margin-top: 10px; text-align: center; font-size: .75rem; color: rgba(255,255,255,.35); }
.footer-credit a { color: rgba(255,255,255,.55); font-weight: 600; }
.footer-credit a:hover { color: var(--cyan); }

/* ── Flotantes ─────────────────────────────────── */
.whatsapp-float { position: fixed; bottom: 26px; right: 26px; z-index: 1030; width: 56px; height: 56px; background: #25D366; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.6rem; color: #fff; box-shadow: 0 6px 24px rgba(37,211,102,.45); transition: transform .2s; }
.whatsapp-float:hover { transform: scale(1.1); color: #fff; }
.whatsapp-float::after { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25D366; animation: ring 2s infinite; }
@keyframes ring { from { transform: scale(1); opacity: .8; } to { transform: scale(1.6); opacity: 0; } }
.back-to-top { position: fixed; right: 26px; bottom: 94px; z-index: 1029; width: 42px; height: 42px; border-radius: 12px; border: 1px solid rgba(0,212,255,.3); background: rgba(13,20,33,.9); color: var(--cyan); display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .25s; }
.back-to-top.show { opacity: 1; visibility: visible; transform: none; }
body:not(:has(.whatsapp-float)) .back-to-top { bottom: 26px; }
.back-to-top:hover { background: var(--cyan); color: var(--dark); }
.cookie-bar { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 1060; background: rgba(13,20,33,.97); border: 1px solid rgba(0,212,255,.25); border-radius: 16px; padding: 16px 4px; box-shadow: 0 20px 60px rgba(0,0,0,.6); backdrop-filter: blur(10px); font-size: .84rem; color: rgba(255,255,255,.75); animation: slideUp .4s ease; }
.cookie-bar i { color: var(--cyan); }
@keyframes slideUp { from { transform: translateY(30px); opacity: 0; } to { transform: none; opacity: 1; } }

/* ── Popup ─────────────────────────────────────── */
.site-popup .modal-content { background: var(--dark2); border: 1px solid rgba(0,212,255,.3); border-radius: 18px; overflow: hidden; box-shadow: 0 24px 80px rgba(0,0,0,.7), 0 0 60px rgba(0,212,255,.12); }
.site-popup .modal-backdrop, .modal-backdrop.show { opacity: .8; }
.popup-timer { height: 4px; background: rgba(255,255,255,.08); }
.popup-timer span { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--cyan), var(--purple)); }
.popup-close { position: absolute; top: 14px; right: 14px; z-index: 5; background-color: rgba(0,0,0,.4); border-radius: 50%; padding: 10px; opacity: .9; }
.popup-media { width: 100%; max-height: 280px; object-fit: cover; display: block; }
.popup-title { font-family: var(--font-display); font-size: 2rem; font-weight: 800; margin-bottom: 6px; }
.popup-sub { color: var(--cyan); font-weight: 600; margin-bottom: 10px; }
.popup-text { color: rgba(255,255,255,.7); margin: 0; }
.popup-count { text-align: center; color: rgba(255,255,255,.3); font-size: .76rem; margin: 14px 0 0; }

/* ── 404 ───────────────────────────────────────── */
.not-found { min-height: 80vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: calc(var(--nav-h) + 80px) 24px 80px; position: relative; isolation: isolate; }
.nf-code { font-family: var(--font-display); font-size: clamp(6rem, 18vw, 10rem); font-weight: 800; line-height: 1; background: linear-gradient(135deg, var(--cyan), var(--purple)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.not-found p { color: var(--soft); margin-bottom: 24px; }

/* ── Animaciones de entrada ────────────────────── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ── Responsive ────────────────────────────────── */
@media (max-width: 991.98px) {
  .hero { min-height: auto; }
  .hero-content { padding-top: 70px; padding-bottom: 100px; }
  .section { padding: 72px 0; }
  .cta-inner { padding: 32px 26px; }
}
@media (max-width: 767.98px) {
  :root { --topbar-h: 0px; --nav-h: 64px; }
  .container-xl { padding-left: 16px; padding-right: 16px; }
  .section { padding: 60px 0; }
  .section-header { margin-bottom: 36px; }
  .stat-number { font-size: 2.1rem; }
  .whatsapp-float { right: 16px; bottom: 16px; width: 52px; height: 52px; }
  .back-to-top { right: 20px; bottom: 80px; }
  .cookie-bar { left: 8px; right: 8px; bottom: 8px; }
}

/* Tarjetas de producto dentro del contenido del artículo */
.article-html .product-card a, .article-html .product-inline a, .article-html a.btn { text-decoration: none; }
.article-html .btn-amazon, .article-html .btn-amazon:hover { color: #0F1111; }
.article-html .btn-outline-neon { color: var(--cyan); }
.article-html .product-card h3 { font-family: var(--font-body); font-size: 1rem; margin: 0 0 8px; color: #fff; }
.article-html .product-card p { margin-bottom: 10px; }
@media (max-width: 767.98px) {
  .row.g-5 { --bs-gutter-x: 1.5rem; --bs-gutter-y: 2rem; }
}
.product-detail > .article-lead:first-child, .product-detail > .product-brand:first-child { margin-top: 0; }

/* ═══════════ Tarjetas de producto estilo tienda (tipo Amazon) ═══════════ */
.product-card, .section-dark .product-card { background: #fff; border: 1px solid #e3e6e6; border-radius: 12px; color: #0F1111; box-shadow: 0 2px 8px rgba(0,0,0,.18); }
.product-card:hover { border-color: #d5d9d9; box-shadow: 0 14px 38px rgba(0,0,0,.45); transform: translateY(-4px); }
.product-img { aspect-ratio: 1 / 1; background: #fff; border-bottom: 1px solid #f0f2f2; }
.product-img img { padding: 22px; }
.product-badge { top: 10px; left: 10px; background: #232F3E; color: #fff; border-radius: 4px; font-size: .66rem; letter-spacing: .3px; padding: 4px 9px; box-shadow: 0 2px 6px rgba(0,0,0,.2); }
.product-body { padding: 14px 16px 16px; }
.product-cat { color: #565959; font-size: .66rem; letter-spacing: .8px; margin-bottom: 4px; }
.product-body h3 { font-family: var(--font-body); font-size: .95rem; font-weight: 500; line-height: 1.35; margin-bottom: 6px;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.product-body h3 a { color: #0F1111; }
.product-body h3 a:hover { color: #C7511F; text-decoration: underline; }
.product-body p { color: #565959; font-size: .82rem; }
.product-feats { list-style: none; padding: 0; margin: 4px 0 10px; font-size: .8rem; color: #333; flex: 1; }
.product-feats li { position: relative; padding-left: 14px; margin-bottom: 3px; line-height: 1.35; }
.product-feats li::before { content: ''; position: absolute; left: 3px; top: .55em; width: 5px; height: 5px; border-radius: 50%; background: #565959; }
.product-compat { color: #007600; font-size: .76rem; margin-bottom: 12px; }
.product-compat i { color: #007600; }
.product-actions { gap: 6px; }
.product-card .btn-amazon { border-radius: 100px; font-size: .86rem; font-weight: 600; padding: 9px 12px; box-shadow: 0 2px 5px rgba(213,217,217,.5); }
.product-card .btn-amazon:hover { transform: none; }
.product-card .product-alt { color: #007185; }
.product-card .product-alt:hover { color: #C7511F; text-decoration: underline; }
.product-more { font-size: .78rem; color: #007185; text-align: center; font-weight: 500; }
.product-more:hover { color: #C7511F; text-decoration: underline; }
.product-img-placeholder { background: #f7f8f8; color: #c4c8c8; }

/* Valoración con estrellas */
.rating { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin: 2px 0 8px; font-size: .8rem; line-height: 1; }
.stars { color: #FFA41C; display: inline-flex; gap: 1px; font-size: .92rem; }
.stars-num { color: #007185; font-weight: 600; }
.stars-label { color: #565959; font-size: .72rem; }
.product-inline .stars-num, .product-detail .stars-num { color: var(--cyan); }
.product-inline .stars-label, .product-detail .stars-label { color: rgba(255,255,255,.55); }
.product-detail .rating { font-size: .95rem; margin-bottom: 14px; }
.product-detail .stars { font-size: 1.15rem; }

/* Rejilla de productos más compacta en pantallas grandes */
@media (max-width: 575.98px) {
  .product-body h3 { font-size: .88rem; }
  .product-feats { display: none; }
}
/* Las listas del artículo no deben afectar a las tarjetas de producto insertadas */
.article-html .product-feats { margin: 4px 0 10px; }
.article-html .product-feats li { padding-left: 14px; margin-bottom: 3px; color: #333; }
.article-html .product-feats > li::before { content: ''; font-family: inherit; left: 3px; top: .55em; width: 5px; height: 5px; border-radius: 50%; background: #565959; font-size: 0; }
.article-html .product-card a { text-decoration: none; }
