/* =====================================================================
   Gaming Manacor — Sistema de diseño
   Base: negro grafito + blanco | Acentos: verde neón + azul eléctrico
   Estética: glassmorphism + Y2K/cyber + bold | Mood: energético + tech
   ===================================================================== */

/* -------------------- Variables -------------------- */
:root {
  /* Paleta corporativa */
  --color-graphite: #111111;
  --color-graphite-2: #181a1d;
  --color-graphite-3: #202327;
  --color-white: #ffffff;
  --color-neon: #39ff14;
  --color-blue: #00aeef;
  --color-gray: #7a7a7a;
  --color-gray-light: #b9bdc4;
  --color-line: rgba(255, 255, 255, 0.10);

  /* Superficies claras (para evitar web demasiado oscura) */
  --surface-light: #f5f7fa;
  --surface-light-2: #ffffff;
  --text-on-light: #15171a;
  --text-on-light-muted: #5b6068;

  /* Gradientes */
  --grad-accent: linear-gradient(120deg, var(--color-neon) 0%, var(--color-blue) 100%);
  --grad-accent-soft: linear-gradient(120deg, rgba(57,255,20,0.18), rgba(0,174,239,0.18));
  --grad-dark: radial-gradient(1200px 600px at 80% -10%, rgba(0,174,239,0.18), transparent 60%),
               radial-gradient(900px 500px at 0% 0%, rgba(57,255,20,0.12), transparent 55%),
               var(--color-graphite);

  /* Glassmorphism */
  --glass-bg: rgba(255, 255, 255, 0.06);
  --glass-border: rgba(255, 255, 255, 0.14);
  --glass-blur: blur(14px);

  /* Tipografía */
  --font-head: "Poppins", "Montserrat", "Inter", system-ui, sans-serif;
  --font-body: "Inter", "Roboto", "Open Sans", system-ui, sans-serif;

  /* Medidas */
  --container: 1240px;
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 28px;
  --header-h: 112px;

  /* Sombras */
  --shadow-soft: 0 10px 40px rgba(0, 0, 0, 0.35);
  --shadow-neon: 0 0 0 1px rgba(57,255,20,0.4), 0 8px 30px rgba(57,255,20,0.25);
  --shadow-blue: 0 0 0 1px rgba(0,174,239,0.4), 0 8px 30px rgba(0,174,239,0.25);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* -------------------- Reset -------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  background: var(--color-graphite);
  color: var(--color-white);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, picture, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
input, textarea, select { font-family: inherit; font-size: inherit; }
:focus-visible { outline: 3px solid var(--color-blue); outline-offset: 2px; border-radius: 6px; }

/* -------------------- Tipografía -------------------- */
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.12; font-weight: 700; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.2rem, 5.2vw, 4rem); font-weight: 800; line-height: 1.2; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
p { color: var(--color-gray-light); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-weight: 600; font-size: 0.78rem;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--color-neon);
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--grad-accent); border-radius: 2px; }

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

/* -------------------- Layout -------------------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 22px; }
.section { padding: clamp(60px, 9vw, 110px) 0; position: relative; }
.section--light { background: var(--surface-light); color: var(--text-on-light); }
.section--light p { color: var(--text-on-light-muted); }
.section--light .section-head p { color: var(--text-on-light-muted); }
.section-head { max-width: 680px; margin-bottom: 48px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { margin: 14px 0 12px; }
.section-head p { font-size: 1.05rem; }

/* Patrón de rejilla/circuito de fondo */
.grid-pattern {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at 50% 30%, black, transparent 75%);
}

/* -------------------- Botones -------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-head); font-weight: 600; font-size: 0.98rem;
  padding: 14px 26px; border-radius: 999px; cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), color .25s;
  white-space: nowrap; border: 1px solid transparent;
}
.btn svg { width: 18px; height: 18px; }
.btn--primary { background: var(--grad-accent); color: #06210a; box-shadow: var(--shadow-neon); }
.btn--primary:hover { transform: translateY(-3px); box-shadow: 0 0 0 1px rgba(57,255,20,0.6), 0 14px 40px rgba(57,255,20,0.4); }
.btn--ghost { background: var(--glass-bg); border-color: var(--glass-border); color: var(--color-white); backdrop-filter: var(--glass-blur); }
.btn--ghost:hover { transform: translateY(-3px); border-color: var(--color-blue); box-shadow: var(--shadow-blue); }
.btn--blue { background: var(--color-blue); color: #04141b; }
.btn--blue:hover { transform: translateY(-3px); box-shadow: var(--shadow-blue); }
.btn--dark { background: var(--color-graphite); color: #fff; }
.btn--dark:hover { transform: translateY(-3px); }
.btn--lg { padding: 17px 34px; font-size: 1.05rem; }
.btn--block { width: 100%; }

/* -------------------- Header -------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(17,17,17,0.72);
  backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid var(--color-line);
}
.header-inner { display: flex; align-items: center; gap: 22px; height: var(--header-h); }
.logo { display: inline-flex; align-items: center; gap: 11px; font-family: var(--font-head); font-weight: 800; font-size: 1.18rem; }
.logo img { height: 96px; width: auto; }
.site-footer .logo img { height: 96px; }
.logo span b { color: var(--color-neon); }
.logo .gm-blue { color: var(--color-blue); }

.main-nav { margin-left: auto; }
.main-nav ul { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  display: inline-block; font-family: var(--font-head); font-weight: 500; font-size: 0.96rem;
  padding: 10px 14px; border-radius: 10px; color: var(--color-gray-light);
  transition: color .2s, background .2s;
}
.main-nav a:hover, .main-nav a[aria-current="page"] { color: #fff; background: rgba(255,255,255,0.06); }
.header-cta { display: flex; align-items: center; gap: 10px; }

.menu-toggle { display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--color-line); }
.menu-toggle span { display: block; width: 20px; height: 2px; background: #fff; margin: 4px auto; border-radius: 2px; transition: .3s; }

/* -------------------- Hero -------------------- */
.hero { position: relative; background: var(--grad-dark); overflow: hidden; padding: clamp(60px, 9vw, 120px) 0 clamp(70px, 9vw, 120px); }
.hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.hero h1 { margin: 18px 0 20px; }
.hero h1 .gradient-text { display: inline; }
.hero-lead { font-size: 1.15rem; max-width: 540px; color: var(--color-gray-light); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 26px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 22px; }
.hero-trust li { display: flex; align-items: center; gap: 9px; font-size: 0.92rem; color: var(--color-gray-light); }
.hero-trust svg { width: 20px; height: 20px; color: var(--color-neon); flex: none; }

.hero-visual { position: relative; }
.hero-card {
  background: var(--glass-bg); border: 1px solid var(--glass-border); backdrop-filter: var(--glass-blur);
  border-radius: var(--radius-lg); padding: 26px; box-shadow: var(--shadow-soft);
}
.hero-card h3 { font-size: 1.15rem; margin-bottom: 6px; }
.hero-card .muted { font-size: 0.9rem; color: var(--color-gray); }
.hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 22px; }
.hero-stat { background: rgba(0,0,0,0.25); border: 1px solid var(--color-line); border-radius: var(--radius-sm); padding: 16px 12px; text-align: center; }
.hero-stat b { display: block; font-family: var(--font-head); font-size: 1.5rem; font-weight: 800; color: var(--color-neon); }
.hero-stat span { font-size: 0.78rem; color: var(--color-gray-light); }
.hero-chip {
  position: absolute; display: inline-flex; align-items: center; gap: 8px;
  background: var(--color-graphite-3); border: 1px solid var(--glass-border);
  padding: 10px 16px; border-radius: 999px; font-family: var(--font-head); font-weight: 600; font-size: 0.85rem;
  box-shadow: var(--shadow-soft);
}
.hero-chip svg { width: 18px; height: 18px; }
.hero-chip--1 { top: -18px; right: 24px; color: var(--color-neon); }
.hero-chip--2 { bottom: -18px; left: -12px; color: var(--color-blue); }

/* -------------------- Marcas (strip) -------------------- */
.brands { border-block: 1px solid var(--color-line); background: var(--color-graphite-2); }
.brands .container { display: flex; align-items: center; gap: 30px; flex-wrap: wrap; padding-block: 26px; }
.brands .label { font-family: var(--font-head); font-weight: 600; font-size: 0.82rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--color-gray); }
.brands ul { display: flex; flex-wrap: wrap; gap: 14px 30px; margin-left: auto; }
.brands li { font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; color: var(--color-gray-light); opacity: .8; transition: .2s; }
.brands li:hover { opacity: 1; color: #fff; }

/* -------------------- Grid de tarjetas genérico -------------------- */
.grid { display: grid; gap: 22px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

/* -------------------- Tarjetas de categoría -------------------- */
.cat-card {
  position: relative; display: flex; flex-direction: column; gap: 14px;
  padding: 26px; border-radius: var(--radius); overflow: hidden;
  background: var(--color-graphite-2); border: 1px solid var(--color-line);
  transition: transform .3s var(--ease), border-color .3s, box-shadow .3s;
  min-height: 178px;
}
.section--light .cat-card { background: #fff; border-color: #e7eaef; box-shadow: 0 6px 24px rgba(20,30,50,0.06); }
.cat-card::after {
  content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity .3s;
  background: var(--grad-accent-soft); z-index: 0;
}
.cat-card:hover { transform: translateY(-6px); border-color: rgba(57,255,20,0.5); box-shadow: var(--shadow-soft); }
.cat-card:hover::after { opacity: 1; }
.cat-card > * { position: relative; z-index: 1; }
.cat-icon {
  width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center;
  background: var(--grad-accent-soft); border: 1px solid var(--glass-border); color: var(--color-neon);
}
.section--light .cat-icon { color: var(--color-blue); border-color: #dfe4ec; }
.cat-icon svg { width: 28px; height: 28px; }
.cat-card h3 { font-size: 1.18rem; }
.cat-card p { font-size: 0.92rem; }
.section--light .cat-card p { color: var(--text-on-light-muted); }
.cat-card .more { margin-top: auto; font-family: var(--font-head); font-weight: 600; font-size: 0.9rem; color: var(--color-blue); display: inline-flex; align-items: center; gap: 6px; }
.cat-card .more svg { width: 16px; height: 16px; transition: transform .25s; }
.cat-card:hover .more svg { transform: translateX(4px); }

/* -------------------- Servicio técnico (destacado) -------------------- */
.tech-service { background: var(--grad-dark); position: relative; overflow: hidden; }
.tech-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 50px; align-items: center; }
.tech-list { display: grid; gap: 16px; margin: 26px 0 30px; }
.tech-list li { display: flex; gap: 14px; align-items: flex-start; }
.tech-list .tick { flex: none; width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: var(--grad-accent-soft); color: var(--color-neon); border: 1px solid var(--glass-border); }
.tech-list .tick svg { width: 17px; height: 17px; }
.tech-list h4 { font-family: var(--font-head); font-size: 1.02rem; margin-bottom: 2px; }
.tech-list p { font-size: 0.92rem; margin: 0; }
.tech-steps { display: grid; gap: 14px; }
.step-card { display: flex; gap: 16px; align-items: center; padding: 20px; border-radius: var(--radius); background: var(--glass-bg); border: 1px solid var(--glass-border); backdrop-filter: var(--glass-blur); }
.step-num { flex: none; width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; font-family: var(--font-head); font-weight: 800; font-size: 1.2rem; background: var(--grad-accent); color: #06210a; }
.step-card h4 { font-family: var(--font-head); font-size: 1.05rem; }
.step-card p { font-size: 0.9rem; margin: 0; }

/* -------------------- Ventajas / valores -------------------- */
.feature { text-align: left; padding: 28px; border-radius: var(--radius); background: var(--surface-light-2); border: 1px solid #e7eaef; box-shadow: 0 6px 24px rgba(20,30,50,0.05); }
.feature .cat-icon { background: var(--grad-accent-soft); color: var(--color-blue); border-color: #dfe4ec; margin-bottom: 16px; }
.feature h3 { font-size: 1.15rem; color: var(--text-on-light); margin-bottom: 8px; }
.feature p { font-size: 0.94rem; }

/* -------------------- Tarjetas de blog -------------------- */
.post-card {
  display: flex; flex-direction: column; overflow: hidden; border-radius: var(--radius);
  background: var(--color-graphite-2); border: 1px solid var(--color-line);
  transition: transform .3s var(--ease), border-color .3s, box-shadow .3s;
}
.section--light .post-card { background: #fff; border-color: #e7eaef; box-shadow: 0 6px 24px rgba(20,30,50,0.06); }
.post-card:hover { transform: translateY(-6px); border-color: rgba(0,174,239,0.5); box-shadow: var(--shadow-soft); }
.post-thumb { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.post-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.post-card:hover .post-thumb img { transform: scale(1.06); }
.post-tag {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  font-family: var(--font-head); font-weight: 600; font-size: 0.74rem; letter-spacing: 0.05em;
  padding: 6px 12px; border-radius: 999px; text-transform: uppercase;
  background: rgba(17,17,17,0.78); color: var(--color-neon); border: 1px solid rgba(57,255,20,0.4); backdrop-filter: blur(6px);
}
.post-body { padding: 22px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.post-meta { display: flex; flex-wrap: wrap; gap: 14px; font-size: 0.82rem; color: var(--color-gray); }
.post-meta span { display: inline-flex; align-items: center; gap: 6px; }
.post-meta svg { width: 15px; height: 15px; }
.post-card h3 { font-size: 1.2rem; }
.section--light .post-card h3 { color: var(--text-on-light); }
.post-card h3 a { transition: color .2s; }
.post-card h3 a:hover { color: var(--color-blue); }
.post-card p { font-size: 0.93rem; margin-top: -2px; }
.section--light .post-card p { color: var(--text-on-light-muted); }
.post-card .more { margin-top: auto; font-family: var(--font-head); font-weight: 600; font-size: 0.9rem; color: var(--color-blue); display: inline-flex; align-items: center; gap: 6px; }
.post-card .more svg { width: 16px; height: 16px; transition: transform .25s; }
.post-card:hover .more svg { transform: translateX(4px); }

/* -------------------- Blog: lista sin imagen -------------------- */
.post-list { display: grid; gap: 16px; }
.post-item { position: relative; }
.post-item > a {
  display: grid; grid-template-columns: 1fr auto; gap: 18px 28px; align-items: center;
  padding: 26px 30px; border-radius: var(--radius);
  background: var(--color-graphite-2); border: 1px solid var(--color-line);
  border-left: 3px solid transparent;
  transition: transform .3s var(--ease), border-color .3s, box-shadow .3s, background .3s;
}
.post-item > a:hover {
  transform: translateX(5px);
  border-color: rgba(0,174,239,0.35); border-left-color: var(--color-neon);
  box-shadow: var(--shadow-soft);
}
.post-item .pi-main { min-width: 0; }
.post-item .post-meta { margin-bottom: 12px; }
.post-item .pi-top { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; flex-wrap: wrap; }
.post-item .pi-cat {
  font-family: var(--font-head); font-weight: 600; font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 999px; color: var(--color-neon);
  background: var(--grad-accent-soft); border: 1px solid var(--glass-border);
}
.post-item h3 { font-size: clamp(1.15rem, 2.2vw, 1.45rem); margin-bottom: 8px; transition: color .2s; }
.post-item > a:hover h3 { color: var(--color-blue); }
.post-item p { font-size: 0.96rem; color: var(--color-gray-light); margin: 0; max-width: 70ch; }
.post-item .pi-arrow {
  width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; flex: none;
  border: 1px solid var(--glass-border); color: var(--color-blue);
  transition: background .3s, color .3s, transform .3s;
}
.post-item .pi-arrow svg { width: 22px; height: 22px; }
.post-item > a:hover .pi-arrow { background: var(--grad-accent); color: #06210a; transform: translateX(3px); }

@media (max-width: 600px) {
  .post-item > a { grid-template-columns: 1fr; padding: 22px; }
  .post-item .pi-arrow { display: none; }
}

/* -------------------- CTA band -------------------- */
.cta-band { position: relative; overflow: hidden; }
.cta-box {
  position: relative; z-index: 2; border-radius: var(--radius-lg); overflow: hidden;
  padding: clamp(40px, 6vw, 64px); text-align: center;
  background: var(--grad-dark); border: 1px solid var(--glass-border);
}
.cta-box h2 { margin-bottom: 14px; }
.cta-box p { max-width: 560px; margin: 0 auto 28px; font-size: 1.05rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* -------------------- Footer -------------------- */
.site-footer { background: var(--color-graphite-2); border-top: 1px solid var(--color-line); padding-top: 70px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 50px; }
.footer-brand p { font-size: 0.92rem; margin: 16px 0 20px; max-width: 320px; }
.footer-col h4 { font-family: var(--font-head); font-size: 0.82rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--color-gray); margin-bottom: 18px; }
.footer-col ul { display: grid; gap: 11px; }
.footer-col a { font-size: 0.94rem; color: var(--color-gray-light); transition: color .2s; }
.footer-col a:hover { color: var(--color-neon); }
.footer-contact li { display: flex; gap: 11px; align-items: flex-start; font-size: 0.94rem; color: var(--color-gray-light); margin-bottom: 12px; }
.footer-contact svg { width: 19px; height: 19px; color: var(--color-blue); flex: none; margin-top: 2px; }
.footer-social { display: flex; gap: 12px; }
.footer-social a { width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; background: rgba(255,255,255,0.05); border: 1px solid var(--color-line); transition: .25s; }
.footer-social a:hover { background: var(--grad-accent); color: #06210a; transform: translateY(-3px); }
.footer-social svg { width: 20px; height: 20px; }
.footer-bottom { border-top: 1px solid var(--color-line); padding: 24px 0; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; }
.footer-bottom p, .footer-bottom a { font-size: 0.86rem; color: var(--color-gray); }
.footer-bottom .legal-links { display: flex; gap: 20px; }
.footer-bottom a:hover { color: var(--color-gray-light); }

/* -------------------- WhatsApp flotante -------------------- */
.whatsapp-btn {
  position: fixed; bottom: 24px; right: 24px; z-index: 999;
  width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center;
  background: #25d366; box-shadow: 0 8px 30px rgba(37,211,102,0.5);
  transition: transform .25s var(--ease);
  animation: wa-pulse 2.4s infinite;
}
.whatsapp-btn:hover { transform: scale(1.08); }
.whatsapp-btn svg { width: 32px; height: 32px; }
@keyframes wa-pulse {
  0% { box-shadow: 0 8px 30px rgba(37,211,102,0.5), 0 0 0 0 rgba(37,211,102,0.5); }
  70% { box-shadow: 0 8px 30px rgba(37,211,102,0.5), 0 0 0 16px rgba(37,211,102,0); }
  100% { box-shadow: 0 8px 30px rgba(37,211,102,0.5), 0 0 0 0 rgba(37,211,102,0); }
}

/* -------------------- Banner cookies -------------------- */
.cookie-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 1000;
  max-width: 560px; margin-inline: auto;
  background: var(--color-graphite-3); border: 1px solid var(--glass-border);
  border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-soft);
  transform: translateY(140%); transition: transform .4s var(--ease);
}
.cookie-banner.is-visible { transform: translateY(0); }
.cookie-banner p { font-size: 0.9rem; margin-bottom: 16px; }
.cookie-banner a { color: var(--color-blue); text-decoration: underline; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cookie-actions .btn { padding: 11px 20px; font-size: 0.9rem; }
.cookie-prefs { display: none; margin: 4px 0 14px; padding-top: 14px; border-top: 1px solid var(--color-line); }
.cookie-prefs.is-open { display: block; }
.cookie-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 8px 0; font-size: 0.88rem; }
.switch { position: relative; width: 44px; height: 24px; flex: none; }
.switch input { opacity: 0; width: 0; height: 0; }
.switch .slider { position: absolute; inset: 0; background: #44484e; border-radius: 999px; transition: .3s; }
.switch .slider::before { content: ""; position: absolute; width: 18px; height: 18px; left: 3px; top: 3px; background: #fff; border-radius: 50%; transition: .3s; }
.switch input:checked + .slider { background: var(--color-neon); }
.switch input:checked + .slider::before { transform: translateX(20px); }
.switch input:disabled + .slider { opacity: .6; cursor: not-allowed; }

/* -------------------- Page hero (interiores) -------------------- */
.page-hero { background: var(--grad-dark); position: relative; overflow: hidden; padding: clamp(50px, 7vw, 84px) 0 clamp(40px, 6vw, 60px); }
.page-hero .container { position: relative; z-index: 2; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 0.85rem; color: var(--color-gray); margin-bottom: 18px; }
.breadcrumb a:hover { color: var(--color-neon); }
.breadcrumb svg { width: 14px; height: 14px; opacity: .6; }
.breadcrumb [aria-current] { color: var(--color-gray-light); }
.page-hero h1 { max-width: 760px; margin-bottom: 14px; }
.page-hero p { max-width: 620px; font-size: 1.08rem; }
.page-hero--center .container { text-align: center; }
.page-hero--center .eyebrow { justify-content: center; }
.page-hero--center h1, .page-hero--center p { margin-inline: auto; }

/* -------------------- Blog: filtros + paginación -------------------- */
.blog-filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.chip {
  font-family: var(--font-head); font-weight: 500; font-size: 0.9rem;
  padding: 9px 18px; border-radius: 999px; border: 1px solid var(--color-line);
  background: var(--color-graphite-2); color: var(--color-gray-light); transition: .25s;
}
.chip:hover { color: #fff; border-color: var(--color-blue); }
.chip.is-active { background: var(--grad-accent); color: #06210a; border-color: transparent; font-weight: 600; }

.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 54px; }
.pagination a, .pagination span {
  min-width: 44px; height: 44px; padding: 0 14px; border-radius: 12px; display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 600; font-size: 0.95rem;
  border: 1px solid var(--color-line); background: var(--color-graphite-2); color: var(--color-gray-light); transition: .25s;
}
.pagination a:hover { border-color: var(--color-blue); color: #fff; }
.pagination .is-active { background: var(--grad-accent); color: #06210a; border-color: transparent; }
.pagination .is-disabled { opacity: .4; pointer-events: none; }

.blog-layout { display: grid; grid-template-columns: 1fr 320px; gap: 48px; align-items: start; }
.sidebar { display: grid; gap: 26px; position: sticky; top: calc(var(--header-h) + 22px); }
.widget { background: var(--color-graphite-2); border: 1px solid var(--color-line); border-radius: var(--radius); padding: 24px; }
.widget h3 { font-size: 1.05rem; margin-bottom: 16px; }
.widget--cta { background: var(--grad-dark); border-color: var(--glass-border); }
.widget-list li { padding: 10px 0; border-bottom: 1px solid var(--color-line); }
.widget-list li:last-child { border-bottom: 0; }
.widget-list a { font-size: 0.94rem; color: var(--color-gray-light); display: flex; justify-content: space-between; gap: 10px; transition: color .2s; }
.widget-list a:hover { color: var(--color-neon); }
.widget-list .count { color: var(--color-gray); font-size: 0.82rem; }
.widget-search { display: flex; gap: 8px; }
.widget-search input { flex: 1; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--color-line); background: rgba(0,0,0,0.3); color: #fff; }
.widget-search input::placeholder { color: var(--color-gray); }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-cloud a { font-size: 0.82rem; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--color-line); color: var(--color-gray-light); transition: .2s; }
.tag-cloud a:hover { border-color: var(--color-neon); color: var(--color-neon); }

/* -------------------- Artículo (detalle) -------------------- */
.article-wrap { max-width: 820px; margin-inline: auto; }
.article-hero-img { width: 100%; aspect-ratio: 16/8; object-fit: cover; border-radius: var(--radius-lg); margin-bottom: 40px; border: 1px solid var(--color-line); }
.article-meta-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 18px; margin-bottom: 28px; padding-bottom: 24px; border-bottom: 1px solid var(--color-line); }
.author { display: flex; align-items: center; gap: 12px; }
.author img { width: 46px; height: 46px; border-radius: 50%; border: 2px solid var(--color-neon); }
.author b { font-family: var(--font-head); font-size: 0.95rem; display: block; }
.author span { font-size: 0.82rem; color: var(--color-gray); }
.article-meta-bar .dot { color: var(--color-gray); }
.article-meta-bar .meta-item { display: inline-flex; align-items: center; gap: 7px; font-size: 0.88rem; color: var(--color-gray-light); }
.article-meta-bar .meta-item svg { width: 16px; height: 16px; color: var(--color-blue); }

.prose { font-size: 1.06rem; }
.prose > * + * { margin-top: 1.3em; }
.prose p { color: var(--color-gray-light); }
.prose h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-top: 1.8em; padding-top: .2em; }
.prose h3 { font-size: 1.3rem; margin-top: 1.5em; color: #fff; }
.prose a { color: var(--color-blue); text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover { color: var(--color-neon); }
.prose strong { color: #fff; }
.prose ul, .prose ol { display: grid; gap: 10px; padding-left: 4px; }
.prose ul li, .prose ol li { position: relative; padding-left: 30px; color: var(--color-gray-light); }
.prose ul li::before { content: ""; position: absolute; left: 4px; top: 11px; width: 9px; height: 9px; border-radius: 3px; background: var(--grad-accent); }
.prose ol { counter-reset: li; }
.prose ol li { counter-increment: li; }
.prose ol li::before { content: counter(li); position: absolute; left: 0; top: 0; width: 22px; height: 22px; font-family: var(--font-head); font-size: 0.78rem; font-weight: 700; display: grid; place-items: center; border-radius: 6px; background: var(--grad-accent-soft); color: var(--color-neon); border: 1px solid var(--glass-border); }
.prose blockquote {
  border-left: 3px solid var(--color-neon); padding: 6px 0 6px 24px; margin-left: 0;
  font-family: var(--font-head); font-size: 1.18rem; font-weight: 500; color: #fff; font-style: normal;
}
.prose figure img { border-radius: var(--radius); border: 1px solid var(--color-line); }
.prose figcaption { font-size: 0.84rem; color: var(--color-gray); text-align: center; margin-top: 10px; }
.callout { background: var(--glass-bg); border: 1px solid var(--glass-border); border-left: 3px solid var(--color-blue); border-radius: var(--radius-sm); padding: 22px 24px; backdrop-filter: var(--glass-blur); }
.callout p { margin: 0; }
.callout strong { color: var(--color-blue); }

.article-tags { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--color-line); }
.article-tags .label { font-family: var(--font-head); font-weight: 600; font-size: 0.85rem; color: var(--color-gray); }
.share-bar { display: flex; align-items: center; gap: 12px; margin-top: 26px; }
.share-bar .label { font-family: var(--font-head); font-weight: 600; font-size: 0.9rem; }
.share-bar a { width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; background: rgba(255,255,255,0.05); border: 1px solid var(--color-line); transition: .25s; }
.share-bar a:hover { background: var(--grad-accent); color: #06210a; transform: translateY(-3px); }
.share-bar svg { width: 19px; height: 19px; }

.author-box { display: flex; gap: 20px; align-items: center; margin-top: 46px; padding: 26px; border-radius: var(--radius); background: var(--color-graphite-2); border: 1px solid var(--color-line); }
.author-box img { width: 76px; height: 76px; border-radius: 50%; flex: none; border: 2px solid var(--color-blue); }
.author-box h4 { font-family: var(--font-head); font-size: 1.1rem; margin-bottom: 4px; }
.author-box p { font-size: 0.92rem; margin: 0; }

/* -------------------- Utilidades -------------------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
/* Honeypot: oculto sin display:none para no bloquear el campo a bots simples */
.hp-field { position: absolute; left: -9999px; top: -9999px; width: 1px; height: 1px; opacity: 0; }
.section-foot { text-align: center; margin-top: 46px; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* -------------------- Responsive -------------------- */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { max-width: 460px; }
  .tech-grid { grid-template-columns: 1fr; gap: 36px; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .blog-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; grid-template-columns: repeat(2, 1fr); display: grid; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .main-nav { position: fixed; inset: var(--header-h) 0 0 0; background: rgba(12,12,12,0.97); backdrop-filter: blur(20px); transform: translateX(100%); transition: transform .35s var(--ease); padding: 24px; overflow-y: auto; }
  .main-nav.is-open { transform: none; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 4px; }
  .main-nav a { padding: 14px 16px; font-size: 1.05rem; }
  .menu-toggle { display: block; margin-left: auto; }
  .header-cta .btn:not(.menu-toggle) { display: none; }
  .header-cta .btn--primary { display: inline-flex; padding: 10px 18px; }
  .grid--3, .grid--4, .grid--2 { grid-template-columns: 1fr; }
  .brands ul { margin-left: 0; }
  .sidebar { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .article-meta-bar { gap: 12px; }
  .author-box { flex-direction: column; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
