/* =======================================================
   BEATS DJS — SISTEMA DE DISEÑO HIGH-END LIMPIO (V7)
   - Cero líneas verticales en tarjetas o títulos
   - Cero cajas oscuras flotantes en páginas interiores
   - Header y navegación sólidos y nítidos
   - Alto contraste y armonía visual
   ======================================================= */

:root {
  --bg-page: #f8fafc;
  --bg-card: #ffffff;
  --bg-alt: #f1f5f9;
  
  --border: #e2e8f0;
  --border-hover: #cbd5e1;
  --border-strong: #94a3b8;

  --text-title: #0f172a;
  --text-body: #334155;
  --text-muted: #64748b;
  --text-subtle: #94a3b8;

  --primary: #4f46e5;
  --primary-hover: #4338ca;
  --primary-light: #eef2ff;

  --wa: #22c55e;
  --wa-hover: #16a34a;

  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 16px;
  --maxw: 1140px;

  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.04), 0 1px 2px rgba(15, 23, 42, 0.02);
  --shadow-md: 0 4px 14px -2px rgba(15, 23, 42, 0.06), 0 2px 6px -1px rgba(15, 23, 42, 0.03);
  --shadow-lg: 0 12px 28px -4px rgba(15, 23, 42, 0.08);

  color-scheme: light;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 85px;
}

body {
  margin: 0;
  background-color: var(--bg-page);
  color: var(--text-body);
  font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.15s ease;
}

a:hover {
  color: var(--primary-hover);
  text-decoration: underline;
}

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- Tipografía ---- */
h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin: 0;
  color: var(--text-title);
}

h1 {
  font-size: clamp(2.35rem, 5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  margin: 0.2em 0 0.4em;
  line-height: 1.15;
  color: var(--text-title);
}

/* H2 limpios: CERO LÍNEAS VERTICALES */
h2 {
  font-size: clamp(1.6rem, 3.2vw, 2.15rem);
  letter-spacing: -0.025em;
  margin: 2.4em 0 0.6em;
  color: var(--text-title);
}

h2::before, h2::after {
  display: none !important;
}

h3 {
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  margin: 1.2em 0 0.4em;
  color: var(--text-title);
}

p {
  margin: 0.85em 0;
  color: var(--text-body);
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--primary-light);
  border: 1px solid rgba(79, 70, 229, 0.2);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 0.9rem;
}

.grad-text {
  color: var(--primary);
  display: inline;
  font-weight: 800;
}

/* ---- Header Blanco Nítido ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #ffffff;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.04);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 14px;
  padding-bottom: 14px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.03em;
  color: var(--text-title);
  text-decoration: none !important;
}

.logo svg {
  width: 34px;
  height: 34px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav a {
  color: #475569;
  text-decoration: none !important;
  font-weight: 600;
  font-size: 0.92rem;
  padding: 8px 14px;
  border-radius: 8px;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  transition: all 0.15s ease;
}

.nav a:hover {
  color: var(--text-title);
  background: #f1f5f9;
}

.nav a[aria-current="page"] {
  color: var(--primary);
  background: var(--primary-light);
  border: 1px solid rgba(79, 70, 229, 0.2);
}

/* ---- Migas de pan (Breadcrumbs) ---- */
.breadcrumb {
  width: 100%;
  background: transparent;
  padding: 14px 0 8px;
  font-size: 0.88rem;
}

.breadcrumb ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.breadcrumb li+li::before {
  content: "›";
  color: var(--text-muted);
  margin-right: 8px;
  font-weight: 600;
}

.breadcrumb a {
  color: var(--text-muted);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--primary);
  text-decoration: underline;
}

.breadcrumb [aria-current="page"] {
  color: var(--text-title);
  font-weight: 700;
}

/* ---- Botones ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 700;
  text-decoration: none !important;
  border-radius: 999px;
  padding: 13px 26px;
  min-height: 48px;
  font-size: 0.98rem;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
  border: none;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--primary);
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(79, 70, 229, 0.3);
}

.btn-primary:hover {
  background: var(--primary-hover);
  box-shadow: 0 6px 20px rgba(79, 70, 229, 0.45);
}

.btn-wa {
  background: #22c55e;
  color: #ffffff !important;
  box-shadow: 0 4px 16px rgba(34, 197, 94, 0.35);
}

.btn-wa:hover {
  background: #16a34a;
  box-shadow: 0 6px 22px rgba(34, 197, 94, 0.5);
}

.btn-ghost, .btn-outline {
  border: 1px solid #0f172a;
  color: #ffffff !important;
  background: #0f172a;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.12);
}

.btn-ghost:hover, .btn-outline:hover {
  background: #1e293b;
  border-color: #1e293b;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.2);
}

/* ---- Hero Section: SIN FONDOS OSCUROS CORTADOS ---- */
.hero {
  position: relative;
  padding: 24px 0 28px;
  background: transparent;
  color: var(--text-body);
}

.hero h1 {
  color: var(--text-title);
}

/* Hero en la Homepage (Full Width con foto) */
.hero-home {
  position: relative;
  padding: 72px 0 60px;
  background:
    linear-gradient(180deg, rgba(15, 23, 42, 0.78) 0%, rgba(15, 23, 42, 0.94) 100%),
    url('../img/hero-dj-stage.jpg') center 25% / cover no-repeat;
  color: #ffffff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-home h1 {
  color: #ffffff;
}

.hero-home .grad-text {
  color: #818cf8;
}

.hero-home .kicker {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.3);
}

.hero-home .btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff !important;
}

.hero-home .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.2);
}

.hero-home .respuesta {
  background: rgba(30, 41, 59, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #e2e8f0;
}

.hero-home .respuesta strong:first-child {
  color: #ffffff;
}

.hero-home .respuesta a {
  color: #93c5fd;
}

.hero-home .stats-bar {
  background: rgba(30, 41, 59, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-home .stat-num {
  color: #ffffff;
}

.hero-home .stat-label {
  color: #94a3b8;
}

.hero-ctas, .cta-header {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 24px;
}

/* ---- Barra de Confianza / Estadísticas ---- */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin: 32px 0 0;
  padding: 22px 28px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 3px;
}

.stat-num {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--text-title);
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ---- Respuesta: CERO LÍNEAS VERTICALES ---- */
.respuesta {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 26px;
  margin: 22px 0;
  box-shadow: var(--shadow-sm);
  color: var(--text-body);
  line-height: 1.7;
}

.respuesta::before, .respuesta::after {
  display: none !important;
}

.respuesta strong:first-child {
  color: var(--text-title);
  font-weight: 700;
}

/* ---- Distinciones & Desvío: CERO LÍNEAS VERTICALES ---- */
.distinciones {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 28px;
  margin: 34px 0;
  box-shadow: var(--shadow-sm);
}

.distinciones::before, .distinciones::after {
  display: none !important;
}

.distinciones h2 {
  margin-top: 0;
  font-size: 1.45rem;
}

.distinciones ul {
  margin-bottom: 0;
}

.distinciones li strong {
  color: var(--text-title);
}

.desvio {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 26px;
  margin: 26px 0;
  display: flex;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
}

.desvio::before, .desvio::after {
  display: none !important;
}

.desvio p {
  margin: 0;
  max-width: 65ch;
  color: var(--text-body);
}

.aviso {
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: var(--radius);
  padding: 20px 24px;
  margin: 24px 0;
  color: #92400e;
}

.aviso::before, .aviso::after {
  display: none !important;
}

/* ---- Grids & Tarjetas ---- */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 22px;
  margin: 26px 0;
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-3px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-md);
}

.card h3 {
  margin-top: 0;
  margin-bottom: 8px;
  font-size: 1.25rem;
}

.card h3 a {
  color: var(--text-title);
  text-decoration: none;
}

.card h3 a:hover {
  color: var(--primary);
}

.card p {
  margin: 0;
  color: var(--text-body);
  font-size: 0.98rem;
  line-height: 1.65;
}

.card .card-link {
  margin-top: 14px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ---- Tarjetas Visuales con Fotografía ---- */
.card-visual {
  padding: 0 !important;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  background: #ffffff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.card-visual:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-md);
}

.card-thumb {
  position: relative;
  width: 100%;
  height: 185px;
  overflow: hidden;
  background: #0f172a;
}

.card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.card-visual:hover .card-thumb img {
  transform: scale(1.05);
}

.card-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(15, 23, 42, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 999px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

.card-body {
  padding: 20px 24px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-body h3 {
  margin-top: 0;
  margin-bottom: 8px;
  font-size: 1.25rem;
}

.card-body h3 a {
  color: var(--text-title);
  text-decoration: none;
}

.card-body h3 a:hover {
  color: var(--primary);
}

.card-body p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-body);
}

/* ---- Mapa rápido / Pills de Navegación ---- */
.mapa-rapido {
  list-style: none;
  padding: 0;
  margin: 24px 0 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.mapa-rapido span {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-right: 4px;
}

.mapa-rapido li {
  margin: 0;
}

.mapa-rapido a {
  display: inline-flex;
  align-items: center;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 7px 16px;
  background: #ffffff;
  border: 1px solid var(--border);
  color: var(--text-body);
  border-radius: 999px;
  text-decoration: none !important;
  box-shadow: var(--shadow-sm);
  transition: all 0.15s ease;
}

.mapa-rapido a:hover {
  background: #f1f5f9;
  color: var(--text-title);
  border-color: var(--border-hover);
}

/* ---- Tablas ---- */
.tabla-wrap {
  overflow-x: auto;
  margin: 28px 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--shadow-sm);
}

table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.96rem;
}

th, td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
}

th {
  background: #f1f5f9;
  color: var(--text-title);
  font-weight: 700;
  letter-spacing: -0.01em;
}

tr:last-child td {
  border-bottom: none;
}

tr:hover td {
  background: #f8fafc;
}

/* ---- FAQ (Acordeones limpios: CERO LÍNEAS) ---- */
.faq {
  margin: 36px 0;
}

.faq details {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 12px;
  padding: 18px 22px;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq details[open] {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-md);
}

.faq summary {
  font-weight: 700;
  color: var(--text-title);
  cursor: pointer;
  font-size: 1.05rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--text-muted);
  transition: transform 0.2s ease;
}

.faq details[open] summary::after {
  content: "−";
  color: var(--primary);
}

.faq details p {
  margin-top: 14px;
  margin-bottom: 0;
  color: var(--text-body);
  line-height: 1.7;
}

/* ---- Recursos / Enlaces relacionados ---- */
.recursos {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 30px;
  margin: 36px 0;
  box-shadow: var(--shadow-sm);
}

.recursos .bloque-titulo {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 14px;
}

.recursos ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 16px;
}

.recursos li {
  margin: 0;
}

.recursos li a {
  font-weight: 700;
  color: var(--text-title);
  display: inline-block;
  margin-bottom: 2px;
}

.recursos li a:hover {
  color: var(--primary);
}

.recursos li span {
  font-size: 0.88rem;
  color: var(--text-muted);
  display: block;
  line-height: 1.45;
}

/* ---- CTA Final ---- */
.cta-final {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  margin: 56px 0 32px;
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.cta-final h2 {
  color: #ffffff;
  justify-content: center;
  margin-top: 0;
}

.cta-final p {
  color: #cbd5e1;
  font-size: 1.15rem;
  max-width: 55ch;
  margin: 12px auto 26px;
}

.cta-final .hero-ctas {
  justify-content: center;
  margin-top: 0;
}

.cta-final .btn-ghost {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.1);
}

/* ---- Footer Sólido Dark Charcoal ---- */
.site-footer {
  background: #0f172a;
  color: #94a3b8;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 60px 0 40px;
  margin-top: 60px;
}

.site-footer a {
  color: #cbd5e1;
  text-decoration: none;
  font-weight: 400;
  transition: color 0.15s ease;
}

.site-footer a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 32px;
  margin-bottom: 48px;
}

.footer-grid h2 {
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 16px;
}

.footer-grid ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-grid li {
  margin-bottom: 10px;
  font-size: 0.92rem;
}

.footer-nap {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 26px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 0.88rem;
  color: #64748b;
}

.footer-nap a {
  color: #38bdf8;
  font-weight: 600;
}

/* ---- Botón Flotante de WhatsApp ---- */
.wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #22c55e;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(34, 197, 94, 0.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.wa-float:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 30px rgba(34, 197, 94, 0.6);
}

.wa-float svg {
  width: 32px;
  height: 32px;
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
  .site-header .container {
    flex-wrap: wrap;
  }
  .nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }
  .hero-ctas, .cta-header {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-ctas .btn, .cta-header .btn {
    width: 100%;
  }
  .stats-bar {
    grid-template-columns: 1fr 1fr;
  }
}
