/*
Theme Name: Smarters Pro
Theme URI: https://eurostream.example
Author: Safae
Author URI: https://eurostream.example
Description: Tema premium de streaming/IPTV con estilo editorial: negro y amarillo lima, tipografía Anton, ticker en directo, mosaico y precios. Convertido desde el diseño Smarters Pro.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: eurostream-ed
*/

:root {
  --bg:           #0a0a0a;
  --bg-2:         #141414;
  --bg-3:         #1c1c1c;
  --line:         #2a2a2a;
  --line-2:       #3a3a3a;

  --yellow:       #d9ff00;
  --yellow-soft:  #b8d900;
  --orange:       #ff5b04;
  --red:          #ff2d2d;
  --live:         #ff0044;

  --white:        #fafafa;
  --text:         #e5e5e5;
  --muted:        #8a8a8a;
  --dim:          #555;

  --font-display: 'Anton', Impact, sans-serif;
  --font-body:    'Bricolage Grotesque', sans-serif;
  --font-mono:    'JetBrains Mono', monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-variation-settings: "opsz" 14, "wght" 400;
  font-size: 16px;
  line-height: 1.55;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.7'/%3E%3C/svg%3E");
  opacity: 0.05;
  z-index: -1;
  pointer-events: none;
}

.container { max-width: 1320px; margin: 0 auto; padding: 0 32px; }
.container-narrow { max-width: 1100px; margin: 0 auto; padding: 0 32px; }
.container-full { padding: 0 32px; }

/* ═══════════════ NAV ═══════════════ */
nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(10, 10, 10, 0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 60px;
  padding: 18px 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.logo-box {
  background: var(--yellow);
  color: var(--bg);
  padding: 6px 10px;
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 1px;
  line-height: 1;
}

.logo-suffix {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--white);
  letter-spacing: 1px;
  line-height: 1;
}

.nav-menu {
  display: flex;
  gap: 36px;
  list-style: none;
  justify-self: start;
}

.nav-menu a {
  color: var(--text);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: color 0.2s ease;
  position: relative;
}

.nav-menu a:hover { color: var(--yellow); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-self: end;
}

.nav-trial {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  color: var(--yellow);
  border: 2px solid var(--yellow);
  padding: 10px 16px;
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.nav-trial:hover {
  background: var(--yellow);
  color: var(--bg);
}

.nav-cta {
  background: var(--yellow);
  color: var(--bg);
  padding: 12px 22px;
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: all 0.2s ease;
  border: 2px solid var(--yellow);
}

.nav-cta:hover {
  background: transparent;
  color: var(--yellow);
}

/* Hamburguesa (solo móvil) */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0 10px;
  background: transparent;
  border: 2px solid var(--line-2);
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--white);
  transition: transform 0.25s ease, opacity 0.2s ease;
}
nav.is-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
nav.is-open .nav-toggle span:nth-child(2) { opacity: 0; }
nav.is-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ═══════════════ LIVE TICKER ═══════════════ */
.ticker {
  background: var(--yellow);
  color: var(--bg);
  padding: 10px 0;
  overflow: hidden;
  border-bottom: 2px solid var(--bg);
  position: relative;
}

.ticker-track {
  display: flex;
  gap: 60px;
  white-space: nowrap;
  animation: scroll 50s linear infinite;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.ticker-item { display: inline-flex; align-items: center; gap: 12px; }
.ticker-item::before {
  content: '★';
  color: var(--bg);
}

@keyframes scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ═══════════════ HERO ═══════════════ */
.hero {
  position: relative;
  padding: 80px 0 100px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero-bg {
  position: absolute;
  top: 0; right: 0;
  width: 55%; height: 100%;
  z-index: 0;
}

.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(0.2) contrast(1.1);
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, var(--bg) 0%, rgba(10, 10, 10, 0.7) 30%, transparent 100%);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: end;
  min-height: 600px;
}

.hero-left { max-width: 620px; }

.hero-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 32px;
}

.live-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--live);
  color: var(--white);
  padding: 5px 10px;
  font-weight: 700;
}

.live-tag::before {
  content: '';
  width: 7px; height: 7px;
  background: var(--white);
  border-radius: 50%;
  animation: pulse 1.2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.4; transform: scale(0.85); }
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(72px, 13vw, 200px);
  line-height: 0.85;
  letter-spacing: -2px;
  color: var(--white);
  text-transform: uppercase;
  margin-bottom: 32px;
}

.hero h1 .accent {
  display: inline-block;
  background: var(--yellow);
  color: var(--bg);
  padding: 0 12px;
  transform: skewX(-6deg);
  margin: 0 4px;
}

.hero h1 .outline {
  -webkit-text-stroke: 2px var(--white);
  color: transparent;
}

.hero-desc {
  font-size: 18px;
  color: var(--text);
  max-width: 480px;
  margin-bottom: 36px;
  line-height: 1.55;
}

.hero-desc strong { color: var(--yellow); font-weight: 700; }

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 18px 28px;
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-y {
  background: var(--yellow);
  color: var(--bg);
}

.btn-y:hover {
  background: var(--bg);
  color: var(--yellow);
  border-color: var(--yellow);
}

.btn-w {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn-w:hover {
  background: var(--white);
  color: var(--bg);
}

.btn-arrow { transition: transform 0.2s ease; }
.btn:hover .btn-arrow { transform: translateX(4px); }

.hero-right {
  position: relative;
  text-align: right;
}

.hero-stat-block {
  display: inline-block;
  background: rgba(10, 10, 10, 0.85);
  border: 1px solid var(--line-2);
  backdrop-filter: blur(20px);
  padding: 32px 36px;
  text-align: left;
  margin-bottom: 20px;
}

.hero-stat-block:nth-child(2) { margin-right: 60px; }

.hsb-num {
  font-family: var(--font-display);
  font-size: 72px;
  line-height: 0.9;
  color: var(--yellow);
  letter-spacing: -2px;
  margin-bottom: 8px;
}

.hsb-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
}

/* ═══════════════ SECTION LABEL ═══════════════ */
section.section {
  padding: 100px 0;
  border-bottom: 1px solid var(--line);
}

.section-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.section-label::before {
  content: '';
  width: 30px;
  height: 1px;
  background: var(--yellow);
}

h2 {
  font-family: var(--font-display);
  font-size: clamp(48px, 7vw, 96px);
  line-height: 0.92;
  letter-spacing: -1px;
  color: var(--white);
  text-transform: uppercase;
  margin-bottom: 24px;
}

h2 .y { color: var(--yellow); }
h2 .outline {
  -webkit-text-stroke: 1.5px var(--white);
  color: transparent;
}

.section-intro {
  font-size: 18px;
  color: var(--muted);
  max-width: 560px;
  line-height: 1.6;
}

/* ═══════════════ CHANNELS ═══════════════ */
.channels-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  margin-top: 60px;
}

.channel {
  aspect-ratio: 1;
  background: var(--bg-2);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px;
  text-align: center;
  cursor: pointer;
  transition: all 0.25s ease;
  position: relative;
}

.channel:hover {
  background: var(--yellow);
  color: var(--bg);
  border-color: var(--yellow);
  transform: translateY(-4px);
}

.channel:hover .ch-name { color: var(--bg); }
.channel:hover .ch-cat  { color: var(--bg); opacity: 0.7; }

.ch-name {
  font-family: var(--font-display);
  font-size: 24px;
  letter-spacing: -0.5px;
  color: var(--white);
  line-height: 0.95;
  text-transform: uppercase;
  margin-bottom: 8px;
  transition: color 0.25s ease;
}

.ch-cat {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.25s ease;
}

.ch-live {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 6px;
  height: 6px;
  background: var(--live);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--live);
}

/* ═══════════════ CONTENT MOSAIC ═══════════════ */
.mosaic-section {
  position: relative;
  padding: 100px 0;
  border-bottom: 1px solid var(--line);
}

.mosaic-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: end;
  margin-bottom: 60px;
}

.mosaic-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 4px;
  grid-auto-rows: 180px;
}

.mosaic-card {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.mosaic-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(0.3) contrast(1.05);
  transition: all 0.5s ease;
}

.mosaic-card:hover img {
  filter: grayscale(0) contrast(1.1);
  transform: scale(1.04);
}

.mosaic-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(10, 10, 10, 0.9) 100%);
}

.mosaic-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  z-index: 2;
  transform: translateY(8px);
  transition: transform 0.3s ease;
}

.mosaic-card:hover .mosaic-info { transform: translateY(0); }

.mosaic-cat {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 6px;
}

.mosaic-title {
  font-family: var(--font-display);
  font-size: 24px;
  line-height: 0.95;
  letter-spacing: -0.5px;
  text-transform: uppercase;
  color: var(--white);
}

/* Mosaic layout */
.mc-1 { grid-column: span 4; grid-row: span 2; }
.mc-2 { grid-column: span 2; grid-row: span 1; }
.mc-3 { grid-column: span 2; grid-row: span 1; }
.mc-4 { grid-column: span 2; grid-row: span 2; }
.mc-5 { grid-column: span 2; grid-row: span 1; }
.mc-6 { grid-column: span 3; grid-row: span 1; }
.mc-7 { grid-column: span 3; grid-row: span 1; }
.mc-8 { grid-column: span 5; grid-row: span 1; }

/* ═══════════════ DEVICE STRIP ═══════════════ */
.device-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.device-cell {
  padding: 60px 32px;
  border-right: 1px solid var(--line);
  text-align: center;
  cursor: pointer;
  transition: background 0.25s ease;
}

.device-cell:last-child { border-right: none; }
.device-cell:hover { background: var(--bg-2); }

.dc-icon {
  font-size: 40px;
  margin-bottom: 24px;
  display: block;
}

.dc-name {
  font-family: var(--font-display);
  font-size: 28px;
  letter-spacing: -0.5px;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 8px;
}

.dc-list {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
}

/* ═══════════════ PRICING ═══════════════ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 60px;
  border-top: 2px solid var(--yellow);
  border-bottom: 2px solid var(--yellow);
}

.price-cell {
  padding: 40px 36px 36px;
  border-right: 1px solid var(--line);
  position: relative;
  display: flex;
  flex-direction: column;
}

.price-cell:last-child { border-right: none; }
.price-cell.featured {
  background: var(--yellow);
  color: var(--bg);
}

.price-cell.featured .price-name,
.price-cell.featured .price-num,
.price-cell.featured .price-period,
.price-cell.featured .price-features li,
.price-cell.featured .price-divider { color: var(--bg); }

.price-tag {
  position: absolute;
  top: -2px;
  left: -2px;
  background: var(--bg);
  color: var(--yellow);
  padding: 6px 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 700;
  border: 2px solid var(--yellow);
}

.price-name {
  font-family: var(--font-display);
  font-size: 32px;
  letter-spacing: -0.5px;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 4px;
}

.price-desc {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 36px;
}

.price-cell.featured .price-desc { color: rgba(10, 10, 10, 0.7); }

.price-amount {
  font-family: var(--font-display);
  font-size: 96px;
  line-height: 0.85;
  letter-spacing: -3px;
  color: var(--yellow);
  margin-bottom: 4px;
}

.price-cell.featured .price-amount { color: var(--bg); }

.price-amount sup {
  font-size: 36px;
  vertical-align: top;
  margin-right: 4px;
}

.price-period {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 32px;
}

.price-divider {
  height: 1px;
  background: var(--line);
  margin-bottom: 24px;
}

.price-cell.featured .price-divider { background: rgba(10, 10, 10, 0.2); }

.price-features {
  list-style: none;
  margin-bottom: 36px;
  flex-grow: 1;
}

.price-features li {
  padding: 8px 0;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  display: flex;
  align-items: start;
  gap: 12px;
}

.price-features li::before {
  content: '+';
  color: var(--yellow);
  font-weight: 700;
  flex-shrink: 0;
  font-family: var(--font-mono);
}

.price-cell.featured .price-features li::before { color: var(--bg); }

.price-btn {
  display: block;
  text-align: center;
  padding: 18px;
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  background: transparent;
  border: 2px solid var(--yellow);
  color: var(--yellow);
  transition: all 0.2s ease;
}

.price-btn:hover {
  background: var(--yellow);
  color: var(--bg);
}

.price-cell.featured .price-btn {
  background: var(--bg);
  color: var(--yellow);
  border-color: var(--bg);
}

.price-cell.featured .price-btn:hover {
  background: var(--white);
  color: var(--bg);
  border-color: var(--white);
}

/* ═══════════════ FAQ ═══════════════ */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.faq-list { display: flex; flex-direction: column; }

.faq-item {
  border-top: 1px solid var(--line);
  padding: 0;
  overflow: hidden;
}

.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-item[open] { background: var(--bg-2); }

.faq-item summary {
  padding: 24px 28px;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: -0.3px;
  text-transform: uppercase;
  color: var(--white);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  color: var(--yellow);
  font-family: var(--font-mono);
  font-weight: 700;
  transition: transform 0.25s ease;
}

.faq-item[open] summary::after { transform: rotate(45deg); }

.faq-content {
  padding: 0 28px 28px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

/* ═══════════════ CTA ═══════════════ */
.cta {
  background: var(--yellow);
  color: var(--bg);
  padding: 120px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta::before, .cta::after {
  content: '★';
  position: absolute;
  font-size: 200px;
  color: rgba(10, 10, 10, 0.1);
  font-family: var(--font-display);
}

.cta::before { top: 20px; left: 40px; }
.cta::after { bottom: 20px; right: 40px; }

.cta h2 {
  font-size: clamp(56px, 9vw, 144px);
  color: var(--bg);
  margin-bottom: 24px;
  position: relative;
  z-index: 2;
}

.cta-sub {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(10, 10, 10, 0.7);
  margin-bottom: 40px;
  position: relative;
  z-index: 2;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--bg);
  color: var(--yellow);
  padding: 22px 40px;
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: all 0.25s ease;
  border: 2px solid var(--bg);
  position: relative;
  z-index: 2;
}

.cta-btn:hover {
  background: transparent;
  color: var(--bg);
}

/* ═══════════════ FOOTER ═══════════════ */
.site-footer {
  background: var(--bg);
  padding: 80px 0 32px;
  border-top: 1px solid var(--line);
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid var(--line);
}

.footer-brand .logo { margin-bottom: 20px; }
.footer-brand p {
  font-size: 14px;
  color: var(--muted);
  max-width: 320px;
  line-height: 1.6;
}

.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 24px;
}

.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 14px; }
.footer-col a {
  color: var(--text);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s ease;
}
.footer-col a:hover { color: var(--yellow); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 32px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--dim);
  flex-wrap: wrap;
  gap: 16px;
}

/* ═══════════════ RESPONSIVE ═══════════════ */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; min-height: auto; gap: 40px; }
  .hero-bg { width: 100%; opacity: 0.3; }
  .hero-right { text-align: left; }
  .hero-stat-block:nth-child(2) { margin-right: 0; }
  .channels-grid { grid-template-columns: repeat(3, 1fr); }
  .device-strip { grid-template-columns: repeat(2, 1fr); }
  .device-cell:nth-child(2) { border-right: none; }
  .device-cell:nth-child(1), .device-cell:nth-child(2) { border-bottom: 1px solid var(--line); }
  .pricing-grid { grid-template-columns: 1fr; }
  .price-cell { border-right: none; border-bottom: 1px solid var(--line); }
  .price-cell:last-child { border-bottom: none; }
  .faq-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .mosaic-grid { grid-template-columns: repeat(4, 1fr); }
  .mc-1 { grid-column: span 4; }
  .mc-2, .mc-3, .mc-4, .mc-5, .mc-6, .mc-7, .mc-8 { grid-column: span 2; }
  .mc-4 { grid-row: span 1; }
  .mosaic-header { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .container, .container-narrow, .container-full { padding: 0 20px; }
  .nav-inner { grid-template-columns: auto 1fr; gap: 16px; }
  .nav-cta { display: none; }
  .nav-trial { padding: 9px 12px; font-size: 11px; letter-spacing: 0; }
  .nav-toggle { display: flex; }

  /* Menú desplegable */
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--bg-2);
    border-top: 1px solid var(--line);
    border-bottom: 2px solid var(--yellow);
    padding: 8px 20px 16px;
  }
  nav.is-open .nav-menu { display: flex; }
  .nav-menu li { width: 100%; }
  .nav-menu a {
    display: block;
    padding: 16px 0;
    font-size: 15px;
    border-bottom: 1px solid var(--line);
  }
  .nav-menu li:last-child a { border-bottom: none; }
  .hero h1 { font-size: 64px; }
  .channels-grid { grid-template-columns: repeat(2, 1fr); }
  .device-strip { grid-template-columns: 1fr; }
  .device-cell { border-right: none; border-bottom: 1px solid var(--line); }
  .device-cell:last-child { border-bottom: none; }
  .footer-top { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .mosaic-grid { grid-template-columns: repeat(2, 1fr); }
  .mc-1, .mc-2, .mc-3, .mc-4, .mc-5, .mc-6, .mc-7, .mc-8 { grid-column: span 2; grid-row: span 1; }
  .price-amount { font-size: 72px; }
  .hsb-num { font-size: 56px; }
}

/* ═══════════════ BLOG: LISTADO ═══════════════ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 44px;
}
.blog-card { border: 1px solid var(--line); background: var(--bg-2); transition: border-color 0.2s ease, transform 0.2s ease; }
.blog-card:hover { border-color: var(--yellow); transform: translateY(-4px); }
.blog-card-link { display: block; text-decoration: none; color: inherit; }
.blog-card-img { aspect-ratio: 1200 / 630; overflow: hidden; border-bottom: 1px solid var(--line); }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; }
.blog-card-body { padding: 22px 22px 26px; }
.blog-card-title {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 24px;
  line-height: 1.02;
  letter-spacing: -0.5px;
  color: var(--white);
  margin-bottom: 12px;
}
.blog-card-excerpt { font-size: 14px; color: var(--muted); line-height: 1.55; margin-bottom: 16px; }
.blog-card-more {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--yellow);
}
.blog-card:hover .btn-arrow { transform: translateX(4px); }

/* ═══════════════ BLOG / ARTÍCULO ═══════════════ */
.post-single { padding: 70px 0 90px; }
.post-cover { margin: 0 0 44px; border: 1px solid var(--line); }
.post-cover img { display: block; width: 100%; height: auto; }

.post-head { margin-bottom: 44px; border-bottom: 1px solid var(--line); padding-bottom: 32px; }

.post-title {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 80px);
  line-height: 0.95;
  letter-spacing: -1px;
  text-transform: uppercase;
  color: var(--white);
  margin: 14px 0 18px;
}

.post-meta {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--muted);
}

.post-content { font-size: 18px; line-height: 1.7; color: var(--text); }
.post-content h2 {
  font-family: var(--font-display);
  font-size: 34px;
  text-transform: uppercase;
  color: var(--white);
  letter-spacing: -0.5px;
  margin: 44px 0 16px;
}
.post-content h3 { font-size: 22px; font-weight: 700; color: var(--white); margin: 28px 0 12px; }
.post-content p { margin-bottom: 18px; }
.post-content strong { color: var(--white); }
.post-content em { color: var(--yellow); font-style: italic; }
.post-content a { color: var(--yellow); text-decoration: underline; text-underline-offset: 3px; }
.post-content a:hover { color: var(--white); }
.post-content ul { margin: 0 0 22px; padding-left: 0; list-style: none; }
.post-content ul li {
  position: relative;
  padding: 8px 0 8px 26px;
  border-bottom: 1px solid var(--line);
}
.post-content ul li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--yellow);
}

.post-cta {
  background: var(--bg-2);
  border: 1px solid var(--line-2);
  border-left: 4px solid var(--yellow);
  padding: 30px 32px;
  margin: 40px 0;
}
.post-cta h3 { font-family: var(--font-body); font-size: 22px; color: var(--white); margin: 0 0 8px; }
.post-cta p { font-size: 16px; color: var(--text); margin: 0 0 20px; }
.post-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--yellow);
  color: var(--bg);
  padding: 15px 26px;
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: all 0.2s ease;
}
.post-cta-btn:hover { background: var(--bg); color: var(--yellow); box-shadow: inset 0 0 0 2px var(--yellow); }

.post-nav { margin-top: 50px; border-top: 1px solid var(--line); padding-top: 30px; }

/* ═══════════════ WHATSAPP FLOTANTE ═══════════════ */
.wa-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 9999;
  width: 58px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #25d366;
  color: #fff;
  border-radius: 50%;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
  text-decoration: none;
  animation: wa-pulse 2.4s infinite;
  transition: transform 0.2s ease;
}

.wa-float:hover { transform: scale(1.08); }

@keyframes wa-pulse {
  0%   { box-shadow: 0 6px 20px rgba(0,0,0,0.35), 0 0 0 0 rgba(37,211,102,0.55); }
  70%  { box-shadow: 0 6px 20px rgba(0,0,0,0.35), 0 0 0 16px rgba(37,211,102,0); }
  100% { box-shadow: 0 6px 20px rgba(0,0,0,0.35), 0 0 0 0 rgba(37,211,102,0); }
}

@media (max-width: 640px) {
  .wa-float { width: 52px; height: 52px; right: 16px; bottom: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
