:root {
  --bg: #0a0a0c;
  --bg-elevated: #15151a;
  --bg-card: #1a1a22;
  --border: rgba(255,255,255,0.08);
  --border-strong: rgba(255,255,255,0.16);
  --text: #f5f5f7;
  --text-muted: #9a9aa3;
  --text-dim: #6a6a73;
  --brand: #dc0203;
  --brand-bright: #f70d10;
  --brand-glow: rgba(220,2,3,0.25);
  --success: #2ea043;
  --warn: #d29922;
  --danger: #f85149;
}

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

html, body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.5;
  min-height: 100vh;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(800px 600px at 0% 0%, rgba(220,2,3,0.08), transparent 60%),
    radial-gradient(700px 500px at 100% 100%, rgba(247,13,16,0.06), transparent 60%);
  pointer-events: none;
}

a { color: var(--brand-bright); text-decoration: none; }
a:hover { text-decoration: underline; }

h1,h2,h3,h4 { font-weight: 600; line-height: 1.25; letter-spacing: -0.01em; }
h1 { font-size: 1.8rem; margin-bottom: 0.5rem; }
h2 { font-size: 1.4rem; margin-bottom: 0.5rem; }
h3 { font-size: 1.15rem; margin-bottom: 0.4rem; }

.container { max-width: 1200px; margin: 0 auto; padding: 24px; }
.container-sm { max-width: 480px; margin: 0 auto; padding: 24px; }

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 16px;
}

.btn {
  display: inline-block;
  padding: 10px 18px;
  background: var(--brand);
  color: #fff;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 500;
  transition: background 0.15s;
}
.btn:hover { background: var(--brand-bright); text-decoration: none; }
.btn-ghost { background: transparent; border: 1px solid var(--border-strong); }
.btn-ghost:hover { background: var(--bg-elevated); }
.btn-danger { background: var(--danger); }
.btn-sm { padding: 6px 12px; font-size: 0.85rem; }

.input, input[type=text], input[type=email], input[type=password], input[type=number], input[type=url], input[type=tel], textarea, select {
  width: 100%;
  padding: 10px 12px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  color: var(--text);
  font-size: 0.95rem;
  font-family: inherit;
}
.input:focus, input:focus, textarea:focus, select:focus {
  outline: 0;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-glow);
}

label { display: block; font-size: 0.85rem; color: var(--text-muted); margin-bottom: 4px; margin-top: 12px; }

.field { margin-bottom: 12px; }
.muted { color: var(--text-muted); font-size: 0.9rem; }
.dim { color: var(--text-dim); }
.error { color: var(--danger); font-size: 0.85rem; margin-top: 4px; }
.success { color: var(--success); }
.pill { display: inline-block; padding: 2px 10px; background: var(--bg-elevated); border-radius: 12px; font-size: 0.75rem; }
.pill-live { background: var(--brand); color: #fff; animation: livePulse 1.4s ease-in-out infinite; }
.pill-ok { background: var(--success); color: #fff; }
.pill-warn { background: var(--warn); color: #000; }
.pill-dim { color: var(--text-muted); }

@keyframes livePulse {
  0%, 100% { box-shadow: 0 0 0 0 var(--brand-glow); }
  50% { box-shadow: 0 0 0 6px transparent; }
}

table { width: 100%; border-collapse: collapse; }
th, td { padding: 10px 12px; text-align: left; border-bottom: 1px solid var(--border); }
th { color: var(--text-muted); font-size: 0.8rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.05em; }
tr:hover td { background: rgba(255,255,255,0.02); }

.flex { display: flex; gap: 12px; align-items: center; }
.flex-between { display: flex; justify-content: space-between; align-items: center; }
.grid { display: grid; gap: 16px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 768px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.kpi { padding: 18px; background: var(--bg-card); border: 1px solid var(--border); border-radius: 10px; text-align: center; }
.kpi-value { font-size: 2rem; font-weight: 600; }
.kpi-label { font-size: 0.85rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; }

/* Layout admin */
.admin-shell { display: grid; grid-template-columns: 220px 1fr; min-height: 100vh; }
.admin-sidebar { background: var(--bg-elevated); border-right: 1px solid var(--border); padding: 20px 0; }
.admin-sidebar .brand { padding: 0 20px 20px; border-bottom: 1px solid var(--border); margin-bottom: 16px; font-weight: 600; }
.admin-sidebar a {
  display: block; padding: 10px 20px; color: var(--text-muted); text-decoration: none;
  font-size: 0.95rem; border-left: 3px solid transparent;
}
.admin-sidebar a:hover { color: var(--text); background: var(--bg-card); }
.admin-sidebar a.active { color: var(--text); background: var(--bg-card); border-left-color: var(--brand); }
.admin-main { padding: 24px 32px; max-width: 1200px; }

/* Auth pages */
.auth-shell {
  min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 20px;
}
.auth-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: 14px;
  padding: 36px; width: 100%; max-width: 420px;
}
.auth-logo {
  width: 80px; height: 80px; margin: 0 auto 16px;
  background: url('/img/logo.jpg') center/cover; border-radius: 14px;
  filter: drop-shadow(0 4px 12px var(--brand-glow));
}
.auth-title { text-align: center; margin-bottom: 4px; }
.auth-subtitle { text-align: center; color: var(--text-muted); margin-bottom: 20px; font-size: 0.9rem; }
.auth-footer { text-align: center; margin-top: 16px; font-size: 0.9rem; color: var(--text-muted); }

/* Subscriber */
.sub-shell { min-height: 100vh; }
.sub-header {
  background: var(--bg-elevated); border-bottom: 1px solid var(--border);
  padding: 14px 24px; display: flex; align-items: center; justify-content: space-between;
}
.sub-header .brand { font-weight: 600; }
.event-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: 10px;
  overflow: hidden;
}
.event-cover {
  width: 100%; height: 160px;
  background: linear-gradient(135deg, var(--brand) 0%, rgba(0,0,0,0.5) 100%);
}
.event-cover.has-cover { background-size: cover; background-position: center; }
.event-body { padding: 14px; }

/* Reproductor */
.player-shell { background: #000; border-radius: 10px; overflow: hidden; }
.player-shell video { width: 100%; display: block; }

/* Settings tokens */
.settings-group {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: 10px;
  padding: 20px; margin-bottom: 16px;
}
.settings-group h3 { margin-bottom: 12px; text-transform: capitalize; }

/* Footer firma cliente */
footer { text-align: center; padding: 30px 20px 20px; font-size: 0.75rem; color: var(--text-dim); letter-spacing: 0.02em; }

/* === PANEL SUSCRIPTOR REDISENADO === */
.panel-shell { display: grid; grid-template-columns: 240px 1fr; min-height: 100vh; }
.panel-sidebar {
  background: var(--bg-elevated); border-right: 1px solid var(--border);
  padding: 24px 0; position: sticky; top: 0; height: 100vh; overflow-y: auto;
}
.panel-sidebar .brand-block {
  padding: 0 20px 20px; border-bottom: 1px solid var(--border); margin-bottom: 14px;
  display: flex; align-items: center; gap: 10px;
}
.panel-sidebar .brand-logo { width: 36px; height: 36px; background: url('/img/logo.jpg') center/cover; border-radius: 8px; }
.panel-sidebar .brand-text { font-weight: 600; font-size: 0.95rem; line-height: 1.1; }
.panel-sidebar nav a {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 20px; color: var(--text-muted); text-decoration: none;
  font-size: 0.95rem; border-left: 3px solid transparent;
}
.panel-sidebar nav a:hover { color: var(--text); background: var(--bg-card); }
.panel-sidebar nav a.active { color: var(--text); background: var(--bg-card); border-left-color: var(--brand); }
.panel-sidebar nav a svg { width: 18px; height: 18px; flex-shrink: 0; }
.panel-sidebar .sub-status {
  margin: 16px 20px; padding: 12px;
  background: var(--bg-card); border-radius: 10px; font-size: 0.85rem;
}
.panel-sidebar .sub-status .pill { margin-right: 4px; }
.panel-sidebar .user-block {
  margin-top: auto; padding: 20px; border-top: 1px solid var(--border); position: absolute; bottom: 0; left: 0; right: 0;
  background: var(--bg-elevated);
}
.panel-sidebar .user-block .uname { font-size: 0.9rem; font-weight: 500; }
.panel-sidebar .user-block .uemail { font-size: 0.75rem; color: var(--text-muted); margin-bottom: 8px; }
.panel-main { padding: 24px 32px 60px; max-width: 1280px; }
@media (max-width: 900px) {
  .panel-shell { grid-template-columns: 1fr; }
  .panel-sidebar { position: relative; height: auto; }
  .panel-sidebar .user-block { position: relative; }
}

/* Hero destacado */
.hero-featured {
  position: relative; margin-bottom: 32px; border-radius: 14px; overflow: hidden;
  min-height: 320px; display: flex; align-items: flex-end; padding: 28px;
  background: linear-gradient(135deg, var(--brand) 0%, #4a0a0c 100%);
}
.hero-featured.has-cover::before {
  content: ''; position: absolute; inset: 0; background-size: cover; background-position: center;
  background-image: var(--hero-bg);
}
.hero-featured::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(10,10,12,0.85) 100%);
}
.hero-featured > div { position: relative; z-index: 1; max-width: 700px; }
.hero-featured .hero-eyebrow { display: inline-block; padding: 4px 10px; border-radius: 6px; background: var(--brand); color: #fff; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.05em; margin-bottom: 12px; }
.hero-featured h2 { font-size: 2rem; margin-bottom: 8px; }
.hero-featured .hero-meta { color: rgba(255,255,255,0.8); font-size: 0.95rem; margin-bottom: 16px; }

/* Cards rediseñadas */
.cards-row {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 18px; margin-bottom: 36px;
}
.evcard {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px;
  overflow: hidden; transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
  position: relative;
}
.evcard:hover { transform: translateY(-4px); border-color: var(--brand); box-shadow: 0 10px 30px rgba(220,2,3,0.15); }
.evcard-cover {
  position: relative; aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--bg-elevated), var(--bg)); background-size: cover; background-position: center;
}
.evcard-cover.no-cover { background: linear-gradient(135deg, var(--brand) 0%, rgba(0,0,0,0.6) 100%); }
.evcard-cover .ovr-top-left { position: absolute; top: 10px; left: 10px; }
.evcard-cover .ovr-bottom-left { position: absolute; bottom: 10px; left: 10px; right: 10px; }
.evcard-body { padding: 14px 16px 16px; }
.evcard-body h3 { font-size: 1.05rem; margin-bottom: 4px; line-height: 1.3; }
.evcard-body .meta { font-size: 0.85rem; color: var(--text-muted); }
.evcard-body .meta-row { display: flex; gap: 8px; align-items: center; margin-top: 4px; }
.evcard .play-overlay {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity 0.2s; background: rgba(0,0,0,0.4);
}
.evcard:hover .play-overlay { opacity: 1; }
.evcard .play-icon {
  width: 60px; height: 60px; border-radius: 50%; background: var(--brand);
  display: flex; align-items: center; justify-content: center;
}
.evcard .play-icon svg { width: 24px; height: 24px; fill: #fff; margin-left: 3px; }

/* Section header */
.section-h {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: 14px;
}
.section-h h2 { font-size: 1.3rem; }
.section-h .count { color: var(--text-muted); font-size: 0.85rem; }

/* Banner CTA */
.cta-banner {
  background: linear-gradient(135deg, rgba(220,2,3,0.15), rgba(247,13,16,0.05));
  border: 1px solid var(--brand);
  border-radius: 12px; padding: 24px; margin-bottom: 32px;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
}
.cta-banner h3 { margin-bottom: 4px; }
.cta-banner p { color: var(--text-muted); font-size: 0.9rem; }

/* Empty state */
.empty-state {
  text-align: center; padding: 40px 20px; color: var(--text-muted);
  background: var(--bg-card); border: 1px dashed var(--border); border-radius: 12px;
}
.empty-state svg { width: 48px; height: 48px; stroke: var(--text-dim); margin-bottom: 12px; }

/* === FIX iconos SVG panel suscriptor (override con !important) === */
.panel-sidebar nav a > svg {
  width: 18px !important; height: 18px !important;
  min-width: 18px; min-height: 18px; max-width: 18px; max-height: 18px;
  flex-shrink: 0;
}
.empty-state > svg {
  width: 48px !important; height: 48px !important;
  min-width: 48px; min-height: 48px; max-width: 48px; max-height: 48px;
}
.evcard .play-icon > svg {
  width: 24px !important; height: 24px !important;
  min-width: 24px; min-height: 24px; max-width: 24px; max-height: 24px;
}

/* ============================================================
   === PANEL SUSCRIPTOR v2 — Netflix style ===================
   ============================================================ */

body.netflix { background: #0a0a0a; color: #fff; }
.nx-shell { min-height: 100vh; background: #0a0a0a; }

/* Topbar */
.nx-topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; gap: 32px;
  padding: 14px 48px;
  background: linear-gradient(180deg, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.6) 60%, transparent 100%);
  transition: background 0.25s;
}
.nx-topbar.scrolled { background: rgba(10,10,10,0.96); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.nx-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; }
.nx-logo-img { width: 34px; height: 34px; background: url('/img/logo.jpg') center/cover; border-radius: 6px; }
.nx-logo-text { font-weight: 700; letter-spacing: -0.01em; font-size: 1.05rem; }
.nx-nav { display: flex; gap: 22px; flex: 1; }
.nx-nav a {
  color: #e5e5e5; text-decoration: none; font-size: 0.9rem; font-weight: 400;
  transition: color 0.2s;
}
.nx-nav a:hover { color: #b3b3b3; }
.nx-nav a.active { font-weight: 600; color: #fff; }
.nx-user { display: flex; align-items: center; gap: 12px; }
.nx-user-avatar {
  width: 32px; height: 32px; border-radius: 4px;
  background: linear-gradient(135deg, var(--brand), #b00); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.85rem;
}
.nx-user-menu { position: relative; }
.nx-user-menu-btn { background: none; border: 0; color: #fff; cursor: pointer; padding: 0; display: flex; align-items: center; gap: 8px; }
.nx-user-menu-dd {
  position: absolute; top: calc(100% + 10px); right: 0;
  background: rgba(0,0,0,0.92); border: 1px solid rgba(255,255,255,0.1); border-radius: 6px;
  min-width: 220px; padding: 8px 0; display: none;
  box-shadow: 0 12px 40px rgba(0,0,0,0.6);
}
.nx-user-menu.open .nx-user-menu-dd { display: block; }
.nx-user-menu-dd a, .nx-user-menu-dd button {
  display: block; width: 100%; text-align: left; background: none; border: 0;
  padding: 10px 16px; color: #e5e5e5; text-decoration: none; font-size: 0.88rem; cursor: pointer;
}
.nx-user-menu-dd a:hover, .nx-user-menu-dd button:hover { background: rgba(255,255,255,0.05); color: #fff; }
.nx-user-menu-dd .sep { height: 1px; background: rgba(255,255,255,0.1); margin: 6px 0; }

/* Hero billboard */
.nx-hero {
  position: relative; height: 80vh; min-height: 560px; max-height: 800px;
  margin-bottom: -120px;
  display: flex; align-items: flex-end;
  padding: 0 48px 160px;
}
.nx-hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background-size: cover; background-position: center top;
}
.nx-hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(77deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.5) 35%, transparent 70%),
    linear-gradient(180deg, transparent 30%, rgba(10,10,10,0.4) 70%, #0a0a0a 100%);
}
.nx-hero-bg.no-cover { background: linear-gradient(135deg, #1a1a1a, #0a0a0a); }
.nx-hero-content { position: relative; z-index: 1; max-width: 600px; }
.nx-hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.85rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase;
  color: #fff; margin-bottom: 16px;
}
.nx-hero-eyebrow .live-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--brand);
  box-shadow: 0 0 12px var(--brand); animation: pulse 1.5s infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.4; } }
.nx-hero-title {
  font-size: clamp(2rem, 4.5vw, 3.4rem); font-weight: 800;
  line-height: 1; letter-spacing: -0.02em; margin-bottom: 16px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.5);
}
.nx-hero-meta {
  font-size: 1.05rem; color: rgba(255,255,255,0.85); line-height: 1.4; margin-bottom: 22px;
  text-shadow: 0 1px 6px rgba(0,0,0,0.7);
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.nx-hero-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.nx-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 26px; border-radius: 4px; font-weight: 600; font-size: 1rem;
  border: 0; cursor: pointer; text-decoration: none; transition: opacity 0.2s, background 0.2s;
}
.nx-btn-play { background: #fff; color: #0a0a0a; }
.nx-btn-play:hover { background: rgba(255,255,255,0.75); }
.nx-btn-info { background: rgba(109,109,110,0.7); color: #fff; }
.nx-btn-info:hover { background: rgba(109,109,110,0.4); }
.nx-btn-cta { background: var(--brand); color: #fff; }
.nx-btn-cta:hover { background: #b00; }

/* Filas horizontales scrolleables */
.nx-content { position: relative; z-index: 5; padding: 0 48px 60px; }
.nx-row { margin-bottom: 40px; }
.nx-row-title {
  font-size: 1.4rem; font-weight: 700; margin-bottom: 14px; letter-spacing: -0.01em;
  display: flex; align-items: baseline; gap: 12px;
}
.nx-row-title .count { font-size: 0.85rem; color: #777; font-weight: 400; }
.nx-row-scroller {
  display: grid; grid-auto-flow: column; grid-auto-columns: 280px;
  gap: 8px; overflow-x: auto; overflow-y: visible;
  scroll-snap-type: x mandatory; padding: 12px 0;
  scrollbar-width: thin; scrollbar-color: #333 transparent;
}
.nx-row-scroller::-webkit-scrollbar { height: 6px; }
.nx-row-scroller::-webkit-scrollbar-track { background: transparent; }
.nx-row-scroller::-webkit-scrollbar-thumb { background: #333; border-radius: 3px; }
.nx-row-scroller::-webkit-scrollbar-thumb:hover { background: #555; }

/* Tile card Netflix-style */
.nx-tile {
  position: relative; scroll-snap-align: start;
  border-radius: 4px; overflow: hidden;
  background: #1a1a1a;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.25s, z-index 0s 0.25s;
  cursor: pointer; text-decoration: none; color: inherit;
  display: block;
}
.nx-tile:hover {
  transform: scale(1.08); z-index: 2; transition-delay: 0s;
  box-shadow: 0 24px 60px rgba(0,0,0,0.7);
}
.nx-tile-cover {
  aspect-ratio: 16/9; background-size: cover; background-position: center;
  background-color: #1a1a1a; position: relative;
}
.nx-tile-cover.no-cover {
  background: linear-gradient(135deg, var(--brand) 0%, #2a0507 100%);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.4); font-size: 2rem;
}
.nx-tile-badge {
  position: absolute; top: 10px; left: 10px;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 8px; border-radius: 3px;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase;
  background: rgba(0,0,0,0.7); color: #fff;
}
.nx-tile-badge.live { background: var(--brand); }
.nx-tile-badge.live::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%; background: #fff;
  animation: pulse 1.5s infinite;
}
.nx-tile-badge.upcoming { background: rgba(0,0,0,0.7); color: #f5c518; }
.nx-tile-info {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 38px 12px 10px;
  background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.95) 100%);
  opacity: 1;
}
.nx-tile:hover .nx-tile-info { opacity: 1; }
.nx-tile-info h4 { font-size: 0.95rem; font-weight: 600; margin-bottom: 2px; }
.nx-tile-info .sub { font-size: 0.78rem; color: #b3b3b3; }
.nx-tile-static {
  padding: 8px 2px; font-size: 0.85rem;
}
.nx-tile-static h4 { font-size: 0.95rem; font-weight: 500; margin-bottom: 2px; }
.nx-tile-static .sub { font-size: 0.78rem; color: #999; }

/* Empty state minimalista */
.nx-empty {
  padding: 30px 20px; color: #666; font-size: 0.95rem;
  border: 1px dashed #2a2a2a; border-radius: 6px; text-align: center;
}

/* CTA banner para no-subs */
.nx-cta {
  margin: 24px 0 32px;
  padding: 32px;
  background: linear-gradient(135deg, rgba(220,2,3,0.18) 0%, rgba(220,2,3,0.04) 100%);
  border: 1px solid rgba(220,2,3,0.3);
  border-radius: 8px;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  flex-wrap: wrap;
}
.nx-cta-text h3 { font-size: 1.5rem; font-weight: 700; margin-bottom: 6px; letter-spacing: -0.01em; }
.nx-cta-text p { color: #ccc; font-size: 0.95rem; }

/* Plans grid */
.nx-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; margin-bottom: 48px; }
.nx-plan {
  background: #181818; border: 1px solid #2a2a2a; border-radius: 8px;
  padding: 28px 24px; text-align: center; position: relative; transition: border-color 0.2s, transform 0.2s;
}
.nx-plan:hover { border-color: #444; transform: translateY(-2px); }
.nx-plan.featured { border-color: var(--brand); background: linear-gradient(180deg, rgba(220,2,3,0.08) 0%, #181818 100%); }
.nx-plan .badge-popular {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--brand); color: #fff; padding: 4px 14px; border-radius: 12px;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase;
}
.nx-plan h4 { font-size: 1.2rem; font-weight: 600; margin-bottom: 6px; }
.nx-plan .price { font-size: 2.2rem; font-weight: 800; letter-spacing: -0.02em; margin: 14px 0 4px; }
.nx-plan .price .cur { font-size: 1rem; color: #999; font-weight: 500; }
.nx-plan .interval { font-size: 0.85rem; color: #999; margin-bottom: 16px; }
.nx-plan .desc { font-size: 0.88rem; color: #b3b3b3; min-height: 44px; margin-bottom: 18px; line-height: 1.4; }

/* Footer del panel */
.nx-footer {
  border-top: 1px solid #1a1a1a; padding: 32px 48px;
  color: #777; font-size: 0.8rem; text-align: center;
}

@media (max-width: 768px) {
  .nx-topbar { padding: 12px 20px; gap: 16px; }
  .nx-nav { gap: 12px; font-size: 0.85rem; overflow-x: auto; }
  .nx-hero { padding: 0 20px 100px; min-height: 480px; height: 70vh; }
  .nx-content { padding: 0 20px 40px; }
  .nx-footer { padding: 24px 20px; }
  .nx-row-scroller { grid-auto-columns: 220px; }
  .nx-hero-title { font-size: 2rem; }
}

/* Stats widgets — band debajo del topbar antes del hero */
.nx-stats {
  position: relative; z-index: 5; padding: 96px 48px 0;
}
.nx-stats-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}
.nx-stat {
  background: linear-gradient(180deg, #161616 0%, #0f0f0f 100%);
  border: 1px solid rgba(255,255,255,0.06); border-radius: 8px;
  padding: 18px 20px; position: relative; overflow: hidden;
}
.nx-stat::before {
  content: ''; position: absolute; top: 0; left: 0; width: 3px; height: 100%;
  background: var(--brand); opacity: 0.7;
}
.nx-stat.muted::before { background: #444; }
.nx-stat.warn::before { background: #f5c518; }
.nx-stat-label {
  font-size: 0.72rem; color: #888; text-transform: uppercase; letter-spacing: 0.08em;
  margin-bottom: 8px; font-weight: 600;
}
.nx-stat-value {
  font-size: 1.6rem; font-weight: 700; letter-spacing: -0.02em; line-height: 1.1;
  color: #fff; margin-bottom: 4px;
}
.nx-stat-sub { font-size: 0.82rem; color: #999; }
.nx-stat-icon {
  position: absolute; top: 14px; right: 14px; width: 22px; height: 22px;
  opacity: 0.4;
}

/* Cuando hay stats, el hero se acomoda */
.nx-stats + .nx-hero { margin-top: 24px; }

@media (max-width: 768px) {
  .nx-stats { padding: 80px 20px 0; }
}

/* ============================================================
   === MOBILE FIRST — pase completo ===========================
   ============================================================ */

/* Wrapper para tablas con scroll horizontal */
.table-wrap {
  width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch;
  border: 1px solid var(--border); border-radius: 8px;
  background: var(--bg-card);
}
.table-wrap table { margin: 0; border-radius: 0; min-width: 600px; }
.table-wrap > table { border: 0; }

/* Inputs: font-size 16px para evitar zoom auto iOS */
input, select, textarea, button {
  font-size: 16px;
}
@media (min-width: 768px) {
  input, select, textarea, button { font-size: inherit; }
}

/* Tap targets minimos 44px */
.btn, button, a.btn, .pill, nav a {
  min-height: 38px;
}
.btn-sm { min-height: 32px; }

/* === Admin shell responsive: sidebar -> topbar mobile === */
@media (max-width: 900px) {
  .admin-shell {
    grid-template-columns: 1fr !important;
    display: block !important;
  }
  .admin-sidebar {
    position: fixed; top: 0; left: 0; right: 0;
    width: auto; height: auto; max-height: 100vh; overflow-y: auto;
    padding: 0; z-index: 100;
    background: var(--bg-elevated); border-right: 0; border-bottom: 1px solid var(--border);
    transform: translateY(-100%); transition: transform 0.25s;
  }
  .admin-sidebar.open { transform: translateY(0); padding: 12px 0 16px; }
  .admin-sidebar .brand {
    position: fixed; top: 0; left: 0; right: 0; z-index: 99;
    background: var(--bg-elevated); padding: 14px 56px 14px 16px;
    border-bottom: 1px solid var(--border);
    font-size: 0.95rem; transform: translateY(0); margin: 0;
  }
  .admin-sidebar.open .brand { position: relative; padding: 14px 16px; }
  .admin-sidebar a { padding: 12px 16px; }
  .admin-sidebar hr { margin: 8px 16px; }
  .admin-main { padding-top: 64px !important; padding-left: 14px !important; padding-right: 14px !important; }
  .admin-hamburger {
    position: fixed; top: 8px; right: 8px; z-index: 110;
    width: 42px; height: 42px; border-radius: 8px;
    background: var(--bg-card); border: 1px solid var(--border); color: var(--text);
    display: flex; align-items: center; justify-content: center; cursor: pointer;
  }
  .admin-hamburger svg { width: 22px; height: 22px; }
}
@media (min-width: 901px) { .admin-hamburger { display: none; } }

/* === Productor responsive === */
@media (max-width: 700px) {
  .sub-header {
    flex-direction: column; align-items: flex-start; gap: 10px; padding: 12px 16px;
  }
  .sub-header nav { flex-wrap: wrap; gap: 8px; width: 100%; }
  .sub-shell .container { padding: 14px !important; }
  .sub-shell table { font-size: 0.85rem; }
}

/* === Subscriber Netflix mobile tuning === */
@media (max-width: 768px) {
  .nx-topbar { padding: 10px 14px; gap: 10px; }
  .nx-logo-text { display: none; }
  .nx-nav { gap: 12px; font-size: 0.82rem; overflow-x: auto; flex-wrap: nowrap; -webkit-overflow-scrolling: touch; }
  .nx-nav::-webkit-scrollbar { display: none; }
  .nx-user-menu-dd { right: -8px; min-width: 200px; }
  .nx-stats { padding: 76px 14px 0; }
  .nx-stats-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .nx-stat { padding: 12px 14px; }
  .nx-stat-value { font-size: 1.2rem; }
  .nx-hero {
    padding: 0 16px 80px; min-height: 420px; height: 60vh;
    margin-bottom: -60px;
  }
  .nx-hero-title { font-size: 1.7rem; line-height: 1.1; }
  .nx-hero-meta { font-size: 0.9rem; -webkit-line-clamp: 2; }
  .nx-hero-actions { gap: 8px; }
  .nx-btn { padding: 10px 18px; font-size: 0.9rem; }
  .nx-content { padding: 0 14px 40px; }
  .nx-row { margin-bottom: 28px; }
  .nx-row-title { font-size: 1.1rem; margin-bottom: 10px; }
  .nx-row-scroller { grid-auto-columns: 65vw; padding: 8px 0; }
  .nx-tile:hover { transform: scale(1.02); }
  .nx-cta { padding: 20px; flex-direction: column; align-items: flex-start; }
  .nx-cta-text h3 { font-size: 1.2rem; }
  .nx-plans { grid-template-columns: 1fr; gap: 12px; }
  .nx-footer { padding: 20px 14px; }
}
@media (max-width: 400px) {
  .nx-stats-grid { grid-template-columns: 1fr; }
}

/* === Public landing / auth responsive === */
@media (max-width: 700px) {
  .container { padding: 14px !important; }
  .auth-card, .public-card { margin: 16px 12px !important; padding: 22px 18px !important; }
  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.3rem; }
  h3 { font-size: 1.1rem; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr !important; gap: 12px; }
  .row, .row-2col, .row-3col { flex-direction: column; }
  .card { padding: 16px; }
}

/* === Forms responsive === */
@media (max-width: 700px) {
  .form-grid, .field-row {
    display: flex !important; flex-direction: column;
    gap: 10px; width: 100%;
  }
  .form-grid > *, .field-row > * { width: 100%; max-width: 100%; }
  input[type=text], input[type=email], input[type=password], input[type=number],
  input[type=tel], input[type=date], input[type=datetime-local], select, textarea {
    width: 100% !important; max-width: 100%; box-sizing: border-box;
  }
  .btn-group { flex-direction: column; gap: 8px; }
  .btn-group .btn { width: 100%; justify-content: center; }
}

/* === Watch (reproductor) responsive === */
@media (max-width: 768px) {
  .watch-shell { padding: 0 !important; }
  .watch-player { border-radius: 0; }
  .watch-info { padding: 14px; }
  .watch-info h1 { font-size: 1.3rem; }
}

/* Imagenes nunca desbordan */
img, video { max-width: 100%; height: auto; }

/* Cards de eventos en grids viejos: collapse */
@media (max-width: 600px) {
  .cards-row { grid-template-columns: 1fr !important; }
}

/* === Hamburger Netflix-style === */
.nx-burger {
  display: none;
  background: transparent; border: 0; color: #fff; cursor: pointer;
  width: 40px; height: 40px; border-radius: 6px;
  align-items: center; justify-content: center;
  margin-left: auto;
}
.nx-burger:hover { background: rgba(255,255,255,0.08); }
.nx-burger.active { background: rgba(255,255,255,0.12); }
.nx-nav-logout { display: none; }
.nx-nav-logout button {
  background: none; border: 0; color: #b3b3b3; font-size: 0.95rem; cursor: pointer; padding: 0;
  font-family: inherit; text-align: left;
}

@media (max-width: 768px) {
  .nx-burger { display: flex; }
  .nx-user { order: -1; }
  /* Nav se transforma en drawer */
  .nx-nav {
    position: fixed; top: 56px; left: 0; right: 0;
    background: rgba(10,10,10,0.98); backdrop-filter: blur(12px);
    flex-direction: column !important; gap: 0;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    transform: translateY(-110%); transition: transform 0.25s ease;
    overflow: visible; height: auto;
    max-height: calc(100vh - 56px); overflow-y: auto;
  }
  .nx-nav.open { transform: translateY(0); }
  .nx-nav a, .nx-nav .nx-nav-logout button {
    padding: 14px 22px; font-size: 1rem; color: #e5e5e5;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    display: block; width: 100%;
  }
  .nx-nav a.active { color: #fff; font-weight: 600; background: rgba(255,255,255,0.04); }
  .nx-nav-logout { display: block; border-top: 1px solid rgba(255,255,255,0.08); margin-top: 4px; }
  .nx-nav-logout form { width: 100%; }
  /* Avatar dropdown en mobile se oculta — la nav drawer ya tiene todo */
  .nx-user { display: none; }
}

/* Landing public-nav: alinear botones a la derecha en mobile */
@media (max-width: 600px) {
  .public-nav { padding: 12px 14px; }
  .public-nav .brand { font-size: 0.95rem; }
  .public-nav .nav-links { display: flex; gap: 8px; align-items: center; }
  .public-nav .nav-links .btn { padding: 8px 12px; font-size: 0.85rem; }
}

/* === Fix: linea visible bajo topbar al cerrar drawer mobile === */
@media (max-width: 768px) {
  .nx-nav {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    border-bottom: 0 !important;
    transition: opacity 0.2s ease, transform 0.25s ease, visibility 0s 0.25s, border-color 0s 0.25s;
  }
  .nx-nav.open {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    border-bottom: 1px solid rgba(255,255,255,0.08) !important;
    transition: opacity 0.2s ease, transform 0.25s ease, visibility 0s 0s, border-color 0s 0s;
  }
}

/* === Cover pick (click sobre imagen para cambiar) === */
.cover-form { display: inline-block; margin: 0; }
.cover-pick {
  display: inline-block; position: relative; cursor: pointer;
  border-radius: 6px; overflow: hidden;
  border: 1px solid var(--border);
  transition: border-color 0.15s;
}
.cover-pick:hover { border-color: var(--brand); }
.cover-thumb-big {
  width: 120px; height: 70px;
  background: var(--bg-elevated) center/cover;
  display: block;
}
.cover-thumb-big.empty {
  display: flex; align-items: center; justify-content: center;
  color: var(--text-dim); font-size: 0.75rem; text-align: center; padding: 0 8px;
}
.cover-pick-overlay {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,0.6); color: #fff; font-size: 0.85rem; font-weight: 600;
  opacity: 0; transition: opacity 0.15s;
  letter-spacing: 0.04em; text-transform: uppercase;
}
.cover-pick:hover .cover-pick-overlay { opacity: 1; }
.cover-pick:active .cover-thumb-big { transform: scale(0.97); }

@media (max-width: 600px) {
  /* En mobile siempre mostrar el "Cambiar" arriba para que se entienda */
  .cover-pick-overlay {
    opacity: 1; background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,0.75) 100%);
    align-items: flex-end; padding-bottom: 6px; font-size: 0.7rem;
  }
  .cover-thumb-big { width: 100px; height: 58px; }
}

/* === Panel productor: cards mobile-friendly === */
.prod-header { margin-bottom: 18px; }
.prod-events-list { display: flex; flex-direction: column; gap: 14px; }

.prod-event-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px;
  display: grid;
  grid-template-columns: 140px 1fr auto;
  gap: 16px;
  align-items: start;
  transition: border-color 0.15s;
}
.prod-event-card:hover { border-color: var(--border-strong); }
.prod-event-live { border-color: rgba(220,2,3,0.4); background: linear-gradient(180deg, rgba(220,2,3,0.04), transparent); }
.prod-event-awaiting_end { border-color: rgba(210,153,34,0.4); }
.prod-event-ended, .prod-event-cancelled { opacity: 0.7; }

.pec-cover { width: 140px; }
.pec-cover .cover-pick { width: 100%; display: block; }
.pec-cover .cover-thumb-big { width: 100%; height: 80px; border-radius: 8px; }

.pec-body { min-width: 0; }
.pec-name { font-size: 1.1rem; margin-bottom: 8px; font-weight: 600; }
.pec-status { margin-bottom: 10px; display: flex; align-items: center; flex-wrap: wrap; gap: 4px; }
.pec-meta {
  display: grid; grid-template-columns: auto 1fr; gap: 4px 12px;
  margin: 0; font-size: 0.82rem; color: var(--text-muted);
}
.pec-meta dt { font-weight: 600; color: var(--text-dim); }
.pec-meta dd { margin: 0; }

.pec-actions { display: flex; flex-direction: column; gap: 6px; align-items: stretch; }
.pec-actions .btn { white-space: nowrap; }

@media (max-width: 700px) {
  .prod-event-card {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .pec-cover { width: 100%; }
  .pec-cover .cover-thumb-big { height: 160px; aspect-ratio: 16/9; }
  .pec-actions {
    flex-direction: row; flex-wrap: wrap;
    border-top: 1px solid var(--border); padding-top: 10px;
  }
  .pec-actions > * { flex: 1 1 auto; min-width: 0; }
  .pec-actions .btn { width: 100%; justify-content: center; min-height: 42px; }
  .pec-name { font-size: 1.05rem; }
  .pec-meta { font-size: 0.85rem; }
}

/* layouts/productor.blade.php: header responsive */
.sub-header {
  flex-wrap: wrap; gap: 10px;
}
@media (max-width: 500px) {
  .sub-shell .container { padding: 12px !important; }
  .sub-header .brand { font-size: 0.95rem; }
  .sub-header nav { width: 100%; justify-content: space-between; flex-wrap: wrap; }
}

/* Encoder config blocks (productor monitor + admin events) */
.encoder-block {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px;
}
.encoder-title {
  font-weight: 700; font-size: 1rem; margin-bottom: 6px;
  color: var(--text); letter-spacing: -0.01em;
}
.encoder-sub { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 4px; }
.encoder-url { transition: background 0.15s; }
.encoder-url:hover { background: #0a0a0a; }

@media (max-width: 700px) {
  .encoder-block { padding: 12px; }
  .encoder-block .encoder-url { font-size: 0.7rem !important; }
}

/* === Hero carrusel landing publica === */
.hero-carousel {
  position: relative; width: 100%; overflow: hidden;
  height: 70vh; min-height: 480px; max-height: 700px;
  background: #0a0a0c;
}
.hc-track {
  display: flex; height: 100%;
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}
.hc-slide {
  flex: 0 0 100%;
  position: relative;
  background-size: cover; background-position: center;
  display: flex; align-items: flex-end;
  padding: 0 48px 80px;
}
.hc-slide:not(.has-cover) {
  background: linear-gradient(135deg, var(--brand) 0%, #1a0506 100%);
}
.hc-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(77deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.55) 40%, transparent 80%),
    linear-gradient(180deg, transparent 40%, rgba(10,10,12,0.85) 100%);
}
.hc-content {
  position: relative; z-index: 1; max-width: 640px;
}
.hc-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.85rem; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; color: #fff; margin-bottom: 16px;
}
.hc-eyebrow .live-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--brand);
  box-shadow: 0 0 12px var(--brand);
  animation: pulse 1.5s infinite;
}
.hc-content h1 {
  font-size: clamp(2rem, 5vw, 3.6rem); font-weight: 800;
  line-height: 1.05; letter-spacing: -0.02em; margin-bottom: 14px;
  color: #fff;
  text-shadow: 0 2px 16px rgba(0,0,0,0.5);
}
.hc-content p {
  font-size: 1.05rem; color: rgba(255,255,255,0.85);
  line-height: 1.5; margin-bottom: 24px; max-width: 560px;
  text-shadow: 0 1px 8px rgba(0,0,0,0.6);
}
.hc-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.hc-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(0,0,0,0.45); color: #fff;
  border: 1px solid rgba(255,255,255,0.15);
  font-size: 1.8rem; line-height: 1; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  z-index: 5; opacity: 0.6; transition: opacity 0.2s, background 0.2s;
}
.hc-nav:hover { opacity: 1; background: rgba(0,0,0,0.7); }
.hc-prev { left: 18px; }
.hc-next { right: 18px; }

.hc-dots {
  position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 8px; z-index: 5;
}
.hc-dot {
  width: 28px; height: 4px; border-radius: 2px;
  background: rgba(255,255,255,0.35); border: 0; cursor: pointer;
  transition: background 0.2s, width 0.2s;
}
.hc-dot:hover { background: rgba(255,255,255,0.6); }
.hc-dot.active { background: var(--brand); width: 36px; }

@media (max-width: 768px) {
  .hero-carousel { height: 60vh; min-height: 380px; }
  .hc-slide { padding: 0 20px 70px; }
  .hc-content h1 { font-size: 1.8rem; }
  .hc-content p { font-size: 0.92rem; -webkit-line-clamp: 2; }
  .hc-nav { width: 38px; height: 38px; font-size: 1.4rem; }
  .hc-prev { left: 8px; } .hc-next { right: 8px; }
}

/* === Public nav: logo + slogan === */
.public-nav .brand { display: flex; align-items: center; gap: 10px; padding: 0; }
.public-nav .brand-logo {
  height: 36px; width: 36px; border-radius: 6px;
  object-fit: cover; display: block;
}
.public-nav .brand-slogan {
  flex: 1; text-align: center;
  font-size: 0.92rem; color: var(--text-muted);
  letter-spacing: 0.02em; font-style: italic;
  padding: 0 14px;
}
.public-nav .nav-links { display: flex; align-items: center; gap: 10px; }

/* Boton "Crear cuenta" con texto negro */
.btn-cta-dark, .btn.btn-cta-dark {
  color: #0a0a0a !important;
  background: #fff !important;
  font-weight: 600;
}
.btn-cta-dark:hover { background: rgba(255,255,255,0.85) !important; color: #0a0a0a !important; }

@media (max-width: 700px) {
  .public-nav .brand-slogan { display: none; }
  .public-nav .brand-logo { height: 32px; width: 32px; }
}

/* Carrusel mobile: foto centrada sin recortes raros */
@media (max-width: 768px) {
  .hero-carousel { height: auto; min-height: 0; max-height: none; }
  .hc-track { height: auto; }
  .hc-slide {
    aspect-ratio: 16 / 10;
    background-position: 50% 50% !important;
    background-size: cover !important;
    padding: 0 16px 60px;
    align-items: flex-end;
  }
  .hc-overlay {
    background:
      linear-gradient(180deg, transparent 40%, rgba(10,10,12,0.78) 78%, rgba(10,10,12,0.95) 100%);
  }
  .hc-content { max-width: 100%; }
  .hc-content h1 { font-size: 1.5rem; line-height: 1.15; margin-bottom: 8px; }
  .hc-content p { font-size: 0.88rem; margin-bottom: 14px; }
  .hc-dots { bottom: 14px; }
  .hc-nav { display: none; }
}

/* Eyebrow de fecha en carrusel: chip amarillo letras negras */
.hc-eyebrow-date {
  background: #f5c518 !important;
  color: #0a0a0a !important;
  padding: 6px 14px;
  border-radius: 6px;
  letter-spacing: 0.02em;
  font-weight: 700;
  text-transform: none;
  font-size: 0.88rem;
  display: inline-block;
}
@media (max-width: 768px) {
  .hc-eyebrow-date { font-size: 0.78rem; padding: 5px 10px; }
}

/* Slogan nav: bigger + bold */
.public-nav .brand-slogan {
  font-size: 1.05rem !important;
  font-weight: 700 !important;
  font-style: normal !important;
  color: var(--text) !important;
  letter-spacing: -0.005em;
}
@media (max-width: 900px) {
  .public-nav .brand-slogan { font-size: 0.95rem !important; }
}

/* Logo nav: mas grande */
.public-nav .brand-logo {
  height: 56px !important;
  width: 56px !important;
  border-radius: 10px !important;
}
.public-nav { padding: 14px 24px; }
@media (max-width: 700px) {
  .public-nav .brand-logo { height: 44px !important; width: 44px !important; }
  .public-nav { padding: 10px 14px; }
}

/* Promo debajo del carrusel: menos imponente que el original hero */
.landing-hero-promo {
  min-height: auto; padding: 60px 24px;
  background: linear-gradient(180deg, transparent 0%, rgba(220,2,3,0.04) 50%, transparent 100%);
}
.landing-hero-promo .landing-logo { width: 96px; height: 96px; margin-bottom: 18px; }
.landing-hero-promo .landing-h1 { font-size: clamp(1.6rem, 4vw, 2.6rem); margin-bottom: 10px; }
.landing-hero-promo .landing-claim { font-size: 1.05rem; margin-bottom: 24px; }

/* Logo nav todavia mas grande + transicion suave */
.public-nav {
  position: sticky; top: 0; z-index: 50;
  transition: padding 0.25s ease, background 0.25s ease;
}
.public-nav .brand-logo {
  height: 80px !important; width: 80px !important;
  border-radius: 12px !important;
  transition: height 0.25s ease, width 0.25s ease, border-radius 0.25s ease;
}
.public-nav { padding: 18px 28px; }

/* Estado scrolled: header compacto */
.public-nav.scrolled {
  padding: 8px 24px;
  background: rgba(10,10,12,0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.public-nav.scrolled .brand-logo {
  height: 42px !important; width: 42px !important;
  border-radius: 8px !important;
}
.public-nav.scrolled .brand-slogan {
  font-size: 0.85rem !important;
  transition: font-size 0.25s ease;
}

@media (max-width: 700px) {
  .public-nav .brand-logo { height: 60px !important; width: 60px !important; }
  .public-nav { padding: 12px 14px; }
  .public-nav.scrolled .brand-logo { height: 36px !important; width: 36px !important; }
  .public-nav.scrolled { padding: 6px 14px; }
}

/* Carrusel dots: mas pequeños */
.hc-dot {
  width: 8px !important;
  height: 8px !important;
  border-radius: 50% !important;
}
.hc-dot.active {
  width: 10px !important;
  height: 10px !important;
}
.hc-dots { gap: 6px !important; bottom: 18px !important; }
@media (max-width: 768px) {
  .hc-dots { bottom: 10px !important; }
}

/* Dots como miniaturas del cover */
.hc-dot {
  width: 56px !important;
  height: 32px !important;
  border-radius: 4px !important;
  background-color: rgba(255,255,255,0.15);
  background-size: cover !important;
  background-position: center !important;
  opacity: 0.55;
  border: 2px solid transparent !important;
  transition: opacity 0.2s, border-color 0.2s, transform 0.2s;
  padding: 0;
  flex-shrink: 0;
}
.hc-dot:hover { opacity: 0.9; }
.hc-dot.active {
  opacity: 1;
  border-color: var(--brand) !important;
  transform: scale(1.05);
  width: 56px !important;
  height: 32px !important;
}
.hc-dots {
  gap: 6px !important;
  bottom: 18px !important;
  padding: 0 12px;
  max-width: 90%;
  overflow-x: auto;
  scrollbar-width: none;
}
.hc-dots::-webkit-scrollbar { display: none; }

@media (max-width: 768px) {
  .hc-dot { width: 44px !important; height: 26px !important; }
  .hc-dot.active { width: 44px !important; height: 26px !important; }
  .hc-dots { bottom: 10px !important; }
}
