/* =========================================================
   SynCheD — Portal público (landing)
   Paleta: negro profundo + rojo señal + blanco
   ========================================================= */

:root{
  --bg:        #0a0a0a;
  --bg-soft:   #0f0f0f;
  --card:      #141414;
  --card-2:    #191919;
  --line:      #262626;
  --line-soft: #1d1d1d;
  --red:       #fe3321;
  --red-dim:   #c4271f;
  --red-glow:  rgba(254,51,33,.35);
  --white:     #ffffff;
  --gray:      #b9b9b9;
  --gray-dim:  #7d7d7d;
  --gray-faint:#565656;

  --font-display: 'Sora', 'Arial Black', Arial, sans-serif;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;

  --container: 1180px;
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }

body{
  margin: 0;
  background: var(--bg);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img{ max-width: 100%; display: block; }

a{ color: inherit; text-decoration: none; }

.wrap{
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

.eyebrow{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--red);
  margin: 0 0 14px;
}
.eyebrow::before{
  content: "";
  width: 16px; height: 2px;
  background: var(--red);
  display: inline-block;
}

h1,h2,h3{
  font-family: var(--font-display);
  font-weight: 800;
  margin: 0;
  color: var(--white);
  letter-spacing: -0.01em;
}

p{ margin: 0; }

.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 30px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .03em;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, border-color .15s ease;
  white-space: nowrap;
}
.btn:active{ transform: translateY(1px); }

.btn-primary{
  background: var(--red);
  color: var(--white);
  box-shadow: 0 6px 24px var(--red-glow);
}
.btn-primary:hover{ background: #ff4a38; box-shadow: 0 8px 30px var(--red-glow); }

.btn-ghost{
  background: transparent;
  border-color: var(--line);
  color: var(--white);
}
.btn-ghost:hover{ border-color: var(--gray-dim); }

.btn-sm{ padding: 9px 18px; font-size: 12.5px; }

/* ---------------- NAV ---------------- */
.nav{
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(10,10,10,.86);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line-soft);
}
.nav .wrap{
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.nav-brand{
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-brand img{ height: 30px; width: auto; mix-blend-mode: screen; }

.nav-links{
  display: flex;
  align-items: center;
  gap: 34px;
  list-style: none;
  margin: 0; padding: 0;
}
.nav-links button{
  background: none;
  border: none;
  color: var(--gray);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: color .15s ease, border-color .15s ease;
}
.nav-links button:hover,
.nav-links button.active{
  color: var(--white);
  border-color: var(--red);
}
.nav-actions{ display:flex; align-items:center; gap: 18px; }
.nav-catalog-link{
  font-size: 14px; font-weight: 600; color: var(--gray);
}
.nav-catalog-link:hover{ color: var(--white); }

.nav-toggle{
  display: none;
  background: none; border: 1px solid var(--line); border-radius: 8px;
  width: 40px; height: 40px; color: var(--white); cursor: pointer;
}

/* ---------------- HERO ---------------- */
.hero{
  position: relative;
  padding: 96px 0 84px;
  overflow: hidden;
  background:
    radial-gradient(720px 420px at 82% -10%, rgba(254,51,33,.16), transparent 60%),
    radial-gradient(600px 400px at 10% 110%, rgba(254,51,33,.08), transparent 60%);
}
.hero-grid{
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 56px;
  align-items: center;
}
.hero-logo{
  width: 100%;
  max-width: 430px;
  margin: 0 0 28px;
  mix-blend-mode: screen;
}
.hero h1{
  font-size: 40px;
  line-height: 1.18;
  max-width: 620px;
}
.hero h1 em{
  font-style: normal;
  color: var(--red);
}
.hero-sub{
  margin-top: 20px;
  color: var(--gray);
  font-size: 16.5px;
  max-width: 560px;
}
.hero-cta{
  margin-top: 34px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.hero-note{
  font-size: 12.5px;
  color: var(--gray-faint);
}

.bullets{
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 18px;
}
.bullet{
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  padding: 20px 18px;
}
.bullet .ic{
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.bullet .ic svg{ width: 22px; height: 22px; stroke: var(--red); }
.bullet h3{
  font-size: 14.5px;
  font-weight: 700;
  font-family: var(--font-body);
  margin-bottom: 6px;
}
.bullet p{ font-size: 12.8px; color: var(--gray-dim); line-height: 1.45; }

/* Pulse / waveform signature element */
.pulse-wrap{
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 20px;
  background: linear-gradient(180deg, #101010, #0b0b0b);
  border: 1px solid var(--line-soft);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pulse-wrap .glow{
  position: absolute; inset: -20%;
  background: radial-gradient(closest-side, var(--red-glow), transparent 70%);
  filter: blur(10px);
  opacity: .6;
}
.pulse-line{
  position: relative;
  width: 84%;
}
.pulse-line svg{ width: 100%; height: auto; overflow: visible; }
.pulse-line path{
  fill: none;
  stroke: var(--red);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 620;
  stroke-dashoffset: 620;
  animation: draw 2.6s ease-in-out infinite;
  filter: drop-shadow(0 0 6px var(--red-glow));
}
@keyframes draw{
  0%   { stroke-dashoffset: 620; }
  45%  { stroke-dashoffset: 0; }
  85%  { stroke-dashoffset: 0; opacity: 1;}
  100% { stroke-dashoffset: -620; opacity: 1; }
}
.pulse-caption{
  position: absolute;
  bottom: 18px; left: 0; right: 0;
  text-align: center;
  font-size: 11.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gray-faint);
  font-weight: 700;
}

/* ---------------- SECTION HEADERS ---------------- */
.section{ padding: 88px 0; border-top: 1px solid var(--line-soft); }
.section-head{
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.section-head h2{ font-size: 28px; }
.section-head p{ color: var(--gray-dim); font-size: 14.5px; max-width: 480px; }

/* ---------------- CATALOGO ---------------- */
.catalog-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.track{
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  padding: 18px;
  transition: border-color .15s ease, transform .15s ease;
}
.track:hover{ border-color: #3a3a3a; transform: translateY(-2px); }
.track-top{
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 16px;
}
.play-btn{
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--card-2);
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  color: var(--gray-dim);
  cursor: not-allowed;
  position: relative;
}
.play-btn svg{ width: 14px; height: 14px; }
.tier{
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--gray-dim);
}
.tier.alta{ background: var(--red); border-color: var(--red); color: var(--white); }
.tier.media{ border-color: var(--red-dim); color: var(--red); }
.tier.baja{ color: var(--gray-dim); }

.track h4{
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 4px;
  color: var(--white);
}
.track .artist{ font-size: 12.5px; color: var(--gray-dim); margin-bottom: 10px; }
.track .genre{
  font-size: 11px;
  color: var(--gray-faint);
  border-top: 1px solid var(--line-soft);
  padding-top: 10px;
}

.catalog-foot{
  margin-top: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding: 20px 24px;
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: 14px;
}
.catalog-foot p{ font-size: 13.5px; color: var(--gray); }
.catalog-foot strong{ color: var(--white); }

/* ---------------- INFO TABS ---------------- */
.tabs-bar{
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--line-soft);
  margin-bottom: 32px;
}
.tab-btn{
  background: none;
  border: none;
  color: var(--gray-dim);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 13.5px;
  padding: 12px 6px;
  margin-right: 26px;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transform: translateY(1px);
}
.tab-btn.active{ color: var(--white); border-color: var(--red); }
.tab-panel{ display: none; }
.tab-panel.active{ display: block; animation: fade .25s ease; }
@keyframes fade{ from{opacity:0; transform: translateY(4px);} to{opacity:1; transform:none;} }

.info-columns{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.info-columns.single{ grid-template-columns: 1fr; max-width: 760px; }
.info-columns h3{
  font-family: var(--font-body);
  font-size: 15px;
  margin-bottom: 10px;
  color: var(--white);
}
.info-columns p, .info-columns li{ color: var(--gray); font-size: 14px; line-height: 1.7; }
.info-columns ul{ margin: 0; padding-left: 18px; }
.legal-note{
  margin-top: 26px;
  font-size: 12px;
  color: var(--gray-faint);
  border-top: 1px solid var(--line-soft);
  padding-top: 16px;
}

.faq-item{
  border-bottom: 1px solid var(--line-soft);
}
.faq-q{
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14.5px;
  padding: 18px 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  gap: 16px;
}
.faq-q .plus{
  flex: none;
  width: 20px; height: 20px;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--gray-dim);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
  transition: transform .2s ease, color .2s ease, border-color .2s ease;
}
.faq-item.open .faq-q .plus{ transform: rotate(45deg); color: var(--red); border-color: var(--red); }
.faq-a{
  max-height: 0;
  overflow: hidden;
  transition: max-height .25s ease;
}
.faq-item.open .faq-a{ max-height: 220px; }
.faq-a p{
  padding: 0 4px 20px;
  color: var(--gray-dim);
  font-size: 13.8px;
  max-width: 700px;
}

.contact-grid{
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 48px;
}
.contact-info .item{ margin-bottom: 22px; }
.contact-info .label{
  font-size: 11px; text-transform: uppercase; letter-spacing: .1em;
  color: var(--gray-faint); font-weight: 700; margin-bottom: 6px;
}
.contact-info .value{ font-size: 15px; color: var(--white); }

.form-row{ margin-bottom: 16px; }
.form-row label{
  display: block; font-size: 12px; color: var(--gray-dim);
  margin-bottom: 7px; font-weight: 600;
}
.form-row input, .form-row textarea, .form-row select{
  width: 100%;
  background: var(--card-2);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 14px;
}
.form-row textarea{ resize: vertical; min-height: 90px; }
.form-row input:focus, .form-row textarea:focus, .form-row select:focus{
  outline: none; border-color: var(--red);
}
.form-note{ font-size: 11.5px; color: var(--gray-faint); margin-top: 10px; }

/* ---------------- FOOTER ---------------- */
.footer{
  border-top: 1px solid var(--line-soft);
  padding: 46px 0 36px;
}
.footer .wrap{
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
}
.footer-brand{ display: flex; align-items: center; gap: 10px; }
.footer-brand img{ height: 22px; mix-blend-mode: screen; }
.footer-brand span{ font-size: 12.5px; color: var(--gray-faint); }
.footer-links{ display: flex; gap: 22px; list-style: none; margin:0; padding:0; }
.footer-links button{
  background: none; border: none; color: var(--gray-dim);
  font-size: 12.5px; cursor: pointer; font-family: var(--font-body);
}
.footer-links button:hover{ color: var(--white); }
.footer-copy{ font-size: 11.5px; color: var(--gray-faint); }

/* ---------------- RESPONSIVE ---------------- */
@media (max-width: 980px){
  .hero-grid{ grid-template-columns: 1fr; }
  .pulse-wrap{ order: -1; max-width: 420px; margin: 0 auto; }
  .catalog-grid{ grid-template-columns: repeat(2,1fr); }
  .info-columns{ grid-template-columns: 1fr; }
  .contact-grid{ grid-template-columns: 1fr; }
}
@media (max-width: 720px){
  .nav-links, .nav-catalog-link{ display: none; }
  .nav-toggle{ display: flex; align-items: center; justify-content: center; }
  .bullets{ grid-template-columns: 1fr; }
  .catalog-grid{ grid-template-columns: 1fr; }
  .hero h1{ font-size: 30px; }
  .wrap{ padding: 0 20px; }
  .section{ padding: 64px 0; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce){
  .pulse-line path{ animation: none; stroke-dashoffset: 0; }
  html{ scroll-behavior: auto; }
}

/* Focus visibility */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible{
  outline: 2px solid var(--red);
  outline-offset: 2px;
}

/* =========================================================
   AUTH PAGES (login / registro)
   ========================================================= */
.auth-section{
  padding: 64px 0 100px;
  min-height: calc(100vh - 76px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  background:
    radial-gradient(720px 420px at 82% -10%, rgba(254,51,33,.14), transparent 60%),
    radial-gradient(600px 400px at 10% 110%, rgba(254,51,33,.07), transparent 60%);
}
.auth-card{
  width: 100%;
  max-width: 440px;
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  padding: 40px 36px;
}
.auth-card.wide{ max-width: 720px; }
.auth-head{ text-align: center; margin-bottom: 30px; }
.auth-head .badge-dot{
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--red);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px;
}
.auth-head .badge-dot svg{ width: 22px; height: 22px; stroke: var(--white); fill: none; stroke-width: 2; }
.auth-head h1{ font-size: 22px; margin-bottom: 8px; }
.auth-head p{ color: var(--gray-dim); font-size: 13.5px; }

.auth-card .form-row input,
.auth-card .form-row select{ padding: 13px 14px; font-size: 14.5px; }
.auth-card .btn{ width: 100%; margin-top: 6px; }
.field-link{
  display: block;
  text-align: right;
  font-size: 12px;
  color: var(--gray-dim);
  margin: -8px 0 18px;
}
.field-link:hover{ color: var(--red); }

.auth-divider{
  display: flex; align-items: center; gap: 14px;
  margin: 28px 0 22px;
  color: var(--gray-faint); font-size: 11px; text-transform: uppercase; letter-spacing: .08em;
}
.auth-divider::before, .auth-divider::after{
  content: ""; flex: 1; height: 1px; background: var(--line-soft);
}
.auth-foot{ text-align: center; }
.auth-foot p{ font-size: 13.5px; color: var(--gray-dim); margin-bottom: 14px; }

.form-grid-2{ display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }

.dropzone{
  border: 1.5px dashed var(--line);
  border-radius: 12px;
  padding: 26px 18px;
  text-align: center;
  cursor: pointer;
  transition: border-color .15s ease, background .15s ease;
  background: var(--card-2);
}
.dropzone:hover{ border-color: var(--red-dim); background: #1c1414; }
.dropzone svg{ width: 26px; height: 26px; stroke: var(--gray-dim); margin: 0 auto 10px; display:block; }
.dropzone .dz-title{ font-size: 13.5px; font-weight: 600; color: var(--white); margin-bottom: 4px; }
.dropzone .dz-sub{ font-size: 11.5px; color: var(--gray-faint); }
.dropzone.has-file{ border-color: var(--red); background: #1c1414; }
.dropzone .dz-file{ display:none; font-size: 12.5px; color: var(--red); margin-top: 8px; font-weight: 600; }
.dropzone.has-file .dz-file{ display:block; }
.dropzone.has-file .dz-title, .dropzone.has-file .dz-sub { display:none; }

.success-panel{
  text-align: center;
  padding: 20px 0 4px;
}
.success-panel .badge-dot{ background: #163d1f; }
.success-panel .badge-dot svg{ stroke: #3fd16a; }
.success-panel h2{ font-size: 19px; margin-bottom: 10px; }
.success-panel p{ color: var(--gray-dim); font-size: 13.5px; max-width: 360px; margin: 0 auto 24px; }

/* =========================================================
   APP SHELL (dashboard interno de la empresa cliente)
   ========================================================= */
.app-shell{ display: flex; min-height: 100vh; }

.app-sidebar{
  width: 256px;
  flex: none;
  background: var(--bg-soft);
  border-right: 1px solid var(--line-soft);
  display: flex;
  flex-direction: column;
  padding: 22px 16px;
  position: sticky;
  top: 0;
  height: 100vh;
}
.app-sidebar-logo{
  display: flex;
  align-items: center;
  padding: 4px 8px 22px;
}
.app-sidebar-logo img{ height: 26px; mix-blend-mode: screen; }

.app-nav{ list-style: none; margin: 0; padding: 0; flex: 1; }
.app-nav li{ margin-bottom: 4px; }
.app-nav a, .app-nav .app-nav-disabled{
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 12px;
  border-radius: 10px;
  color: var(--gray);
  font-size: 14px;
  font-weight: 600;
  transition: background .15s ease, color .15s ease;
}
.app-nav a svg, .app-nav-disabled svg{ width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.8; flex: none; }
.app-nav a:hover{ background: var(--card); color: var(--white); }
.app-nav a.active{ background: var(--red); color: var(--white); }
.app-nav-disabled{ color: var(--gray-faint); cursor: default; }
.app-nav-tag{
  margin-left: auto;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: .04em;
  background: var(--line-soft);
  color: var(--gray-faint);
  padding: 3px 7px;
  border-radius: 999px;
  font-weight: 700;
}
.app-sidebar-foot{ border-top: 1px solid var(--line-soft); padding-top: 14px; }
.app-sidebar-foot a{ color: var(--gray-dim); }
.app-sidebar-foot a:hover{ color: var(--white); }

.app-main{ flex: 1; min-width: 0; }
.app-topbar{
  height: 76px;
  border-bottom: 1px solid var(--line-soft);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  position: sticky;
  top: 0;
  background: rgba(10,10,10,.9);
  backdrop-filter: blur(8px);
  z-index: 20;
}
.app-topbar h1{ font-size: 19px; }
.app-topbar-right{ display: flex; align-items: center; gap: 16px; }
.app-company{ display: flex; align-items: center; gap: 10px; }
.app-company .avatar{
  width: 34px; height: 34px; border-radius: 50%;
  background: linear-gradient(135deg, var(--red), var(--red-dim));
  display: flex; align-items: center; justify-content: center;
  font-size: 12.5px; font-weight: 700; color: var(--white);
}
.app-company .meta{ line-height: 1.3; }
.app-company .meta .name{ font-size: 13px; font-weight: 700; color: var(--white); }
.app-company .meta .role{ font-size: 11px; color: var(--gray-faint); }

.app-content{ padding: 32px; max-width: 1180px; }
.app-mobile-toggle{
  display: none;
  background: none; border: 1px solid var(--line); border-radius: 8px;
  width: 38px; height: 38px; color: var(--white); cursor: pointer;
}

/* Stat cards */
.stat-grid{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 32px; }
.stat-card{
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  padding: 22px 22px 20px;
}
.stat-card .stat-label{ font-size: 12px; color: var(--gray-dim); font-weight: 600; margin-bottom: 10px; }
.stat-card .stat-value{ font-family: var(--font-display); font-size: 34px; font-weight: 700; color: var(--white); }
.stat-card .stat-value.accent{ color: var(--red); }

/* Status pipeline */
.status-row{ display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 32px; }
.status-chip{
  flex: 1; min-width: 150px;
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  padding: 16px 18px;
  display: flex; align-items: center; justify-content: space-between;
}
.status-chip .dot{ width: 9px; height: 9px; border-radius: 50%; margin-right: 10px; flex: none; }
.status-chip .label{ font-size: 12.5px; color: var(--gray); font-weight: 600; display:flex; align-items:center; }
.status-chip .count{ font-family: var(--font-display); font-size: 20px; font-weight: 700; color: var(--white); }
.dot.st-ingresada{ background: #8c8c8c; }
.dot.st-aprobada{ background: #3fa9d1; }
.dot.st-pago{ background: #e0b23f; }
.dot.st-autorizada, .dot.st-finalizada{ background: #3fd16a; }
.dot.st-proceso{ background: var(--red); }

/* Section card with title */
.panel{
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  padding: 26px;
  margin-bottom: 28px;
}
.panel-head{ display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.panel-head h2{ font-size: 16px; }
.panel-head .see-all{ font-size: 12.5px; color: var(--gray-dim); font-weight: 600; }
.panel-head .see-all:hover{ color: var(--red); }

/* Activity list */
.activity-item{
  display: flex; gap: 14px; align-items: flex-start;
  padding: 13px 0;
  border-bottom: 1px solid var(--line-soft);
}
.activity-item:last-child{ border-bottom: none; padding-bottom: 0; }
.activity-item .dot-ico{
  width: 30px; height: 30px; border-radius: 50%; flex: none;
  background: var(--card-2); border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
}
.activity-item .dot-ico svg{ width: 14px; height: 14px; stroke: var(--red); fill:none; stroke-width: 2; }
.activity-item .txt{ font-size: 13.5px; color: var(--white); }
.activity-item .time{ font-size: 11.5px; color: var(--gray-faint); margin-top: 2px; }

/* Quick links grid */
.quicklink-grid{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.quicklink{
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  padding: 20px;
  transition: border-color .15s ease, transform .15s ease;
}
.quicklink:hover{ border-color: #3a3a3a; transform: translateY(-2px); }
.quicklink .ic{
  width: 36px; height: 36px; border-radius: 10px;
  background: var(--card-2); border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.quicklink .ic svg{ width: 18px; height: 18px; stroke: var(--red); fill: none; stroke-width: 1.8; }
.quicklink h3{ font-family: var(--font-body); font-size: 14.5px; margin-bottom: 6px; }
.quicklink p{ font-size: 12px; color: var(--gray-dim); line-height: 1.4; }

/* Tables */
.table-wrap{ overflow-x: auto; }
table.data-table{ width: 100%; border-collapse: collapse; min-width: 720px; }
.data-table th{
  text-align: left; font-size: 11px; text-transform: uppercase; letter-spacing: .06em;
  color: var(--gray-faint); font-weight: 700; padding: 0 14px 12px; border-bottom: 1px solid var(--line-soft);
}
.data-table td{
  padding: 16px 14px; font-size: 13.5px; color: var(--gray); border-bottom: 1px solid var(--line-soft); vertical-align: middle;
}
.data-table tr:last-child td{ border-bottom: none; }
.data-table td.strong{ color: var(--white); font-weight: 600; }
.data-table td.num{ text-align: right; font-variant-numeric: tabular-nums; }

.badge-status{
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11.5px; font-weight: 700; letter-spacing: .02em;
  padding: 5px 11px; border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--gray);
  white-space: nowrap;
}
.badge-status .dot{ width: 7px; height: 7px; border-radius: 50%; margin: 0; }
.badge-status.ingresada{ color: #c9c9c9; border-color: #3a3a3a; }
.badge-status.aprobada{ color: #7ec9e8; border-color: #2b5062; }
.badge-status.pago{ color: #f0c766; border-color: #6b551f; }
.badge-status.autorizada, .badge-status.finalizada{ color: #6fe090; border-color: #1f5a35; }
.badge-status.proceso{ color: var(--red); border-color: var(--red-dim); }

.icon-btn{
  width: 32px; height: 32px; border-radius: 8px;
  background: var(--card-2); border: 1px solid var(--line);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--gray-dim); cursor: pointer;
}
.icon-btn:hover{ color: var(--white); border-color: var(--gray-dim); }
.icon-btn svg{ width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2; }
.icon-btn[disabled]{ opacity: .4; cursor: not-allowed; }
.icon-btn[disabled]:hover{ color: var(--gray-dim); border-color: var(--line); }

/* Filter tabs (licencias) */
.filter-tabs{ display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 22px; }
.filter-tab{
  background: var(--card); border: 1px solid var(--line-soft); color: var(--gray-dim);
  font-size: 12.5px; font-weight: 600; padding: 9px 16px; border-radius: 999px; cursor: pointer;
}
.filter-tab.active{ background: var(--red); border-color: var(--red); color: var(--white); }

/* Search / filters bar (catálogo) */
.search-bar{
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr auto;
  gap: 12px;
  margin-bottom: 22px;
}
.search-bar input, .search-bar select{
  width: 100%;
  background: var(--card-2);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 13.5px;
}
.search-bar input:focus, .search-bar select:focus{ outline: none; border-color: var(--red); }
.search-bar button{ white-space: nowrap; }

.results-bar{
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 16px; flex-wrap: wrap; gap: 10px;
}
.results-count{ font-size: 13px; color: var(--gray-dim); }
.per-page{ display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--gray-dim); }
.per-page select{
  background: var(--card-2); border: 1px solid var(--line); border-radius: 8px;
  color: var(--white); padding: 6px 10px; font-size: 12.5px;
}

/* Track rows for catálogo (app version, list style) */
.track-list{ display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; }
.track-row{
  display: flex; align-items: center; gap: 16px;
  background: var(--card); border: 1px solid var(--line-soft); border-radius: 12px;
  padding: 14px 16px;
}
.track-row .play-toggle{
  width: 42px; height: 42px; border-radius: 50%; flex: none;
  background: var(--card-2); border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  color: var(--red); cursor: pointer; position: relative;
}
.track-row .play-toggle svg{ width: 15px; height: 15px; fill: currentColor; stroke: none; }
.track-row .play-toggle.playing{ border-color: var(--red); }
.track-row .play-toggle .ring{
  position: absolute; inset: -4px; border-radius: 50%;
  border: 2px solid var(--red); opacity: 0; transform: scale(.85);
}
.track-row .play-toggle.playing .ring{ animation: ringpulse 1.4s ease-out infinite; }
@keyframes ringpulse{
  0%{ opacity: .55; transform: scale(.85); }
  100%{ opacity: 0; transform: scale(1.25); }
}
.track-row .info{ flex: 1; min-width: 0; }
.track-row .info h4{ font-size: 14.5px; color: var(--white); margin: 0 0 3px; font-weight: 700; }
.track-row .info .meta{ font-size: 12px; color: var(--gray-dim); }
.track-row .meta span + span::before{ content: "·"; margin: 0 6px; color: var(--gray-faint); }
.track-row .tier{ flex: none; }
.track-row .add-btn{ flex: none; }
.track-row .mini-progress{
  height: 3px; background: var(--line); border-radius: 3px; overflow: hidden; margin-top: 8px; width: 100%; max-width: 220px;
}
.track-row .mini-progress i{ display: block; height: 100%; width: 0%; background: var(--red); transition: width .2s linear; }
.track-row .track-video{
  margin-top: 10px; width: 220px; max-width: 100%; aspect-ratio: 16/9;
  border-radius: 8px; overflow: hidden; border: 1px solid var(--line-soft); background: #000;
}
.track-row .track-video > div, .track-row .track-video iframe{ width: 100%; height: 100%; display: block; border: 0; }

/* Pagination */
.pagination{ display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 8px; }
.pagination button{
  min-width: 34px; height: 34px; padding: 0 8px;
  background: var(--card); border: 1px solid var(--line-soft); border-radius: 8px;
  color: var(--gray-dim); font-size: 13px; font-weight: 600; cursor: pointer;
}
.pagination button.active{ background: var(--red); border-color: var(--red); color: var(--white); }
.pagination button:disabled{ opacity: .35; cursor: not-allowed; }

/* Cart / bolsa de compra */
.cart-item{
  background: var(--card-2);
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  padding: 16px 18px;
  margin-bottom: 12px;
}
.cart-item-top{ display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; gap: 12px; }
.cart-item-top h4{ font-size: 14px; color: var(--white); margin: 0 0 2px; }
.cart-item-top .meta{ font-size: 11.5px; color: var(--gray-faint); }
.cart-item-remove{ flex:none; }
.cart-params{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 10px;
  margin-bottom: 12px;
}

/* Modal (crear proyecto) */
.modal-overlay{
  position: fixed; inset: 0; background: rgba(5,5,5,.72);
  display: none; align-items: center; justify-content: center;
  z-index: 100; padding: 20px;
  backdrop-filter: blur(2px);
}
.modal-overlay.open{ display: flex; }
.modal-card{
  width: 100%; max-width: 520px;
  background: var(--card); border: 1px solid var(--line-soft); border-radius: 16px;
  padding: 30px 30px 26px;
  max-height: 88vh; overflow-y: auto;
}
.modal-card h2{ font-size: 19px; margin-bottom: 6px; }
.modal-card .sub{ font-size: 13px; color: var(--gray-dim); margin-bottom: 22px; }
.modal-actions{ display: flex; gap: 12px; margin-top: 22px; }
.modal-actions .btn{ flex: 1; }

/* El modal reutiliza el estilo de píldoras .filter-tabs / .filter-tab (ver Licencias y pagos) */
.modal-card .filter-tabs{ margin-bottom: 20px; }

/* Lista de proyectos existentes (tab 2) */
.existing-project-list{ display: flex; flex-direction: column; gap: 10px; margin-bottom: 4px; }
.existing-project-option{
  display: flex; align-items: center; gap: 14px;
  padding: 14px 16px; border: 1px solid var(--line-soft); border-radius: 12px;
  cursor: pointer; transition: border-color .15s ease, background .15s ease;
}
.existing-project-option:hover{ border-color: var(--gray-dim); }
.existing-project-option.selected{ border-color: var(--red); background: var(--card-2); }
.existing-project-option .radio{
  width: 17px; height: 17px; border-radius: 50%; border: 1.5px solid var(--gray-dim);
  flex: none; position: relative;
}
.existing-project-option.selected .radio{ border-color: var(--red); }
.existing-project-option.selected .radio::after{
  content: ""; position: absolute; inset: 3px; border-radius: 50%; background: var(--red);
}
.existing-project-option .info h4{ font-size: 13.5px; margin-bottom: 2px; }
.existing-project-option .info p{ font-size: 11.5px; color: var(--gray-faint); }
.existing-project-empty{ text-align: center; padding: 30px 10px; color: var(--gray-dim); font-size: 13px; }
.cart-params .field label{
  display: block; font-size: 10.5px; text-transform: uppercase; letter-spacing: .04em;
  color: var(--gray-faint); font-weight: 700; margin-bottom: 6px;
}
.cart-params select{
  width: 100%; background: var(--bg); border: 1px solid var(--line); border-radius: 8px;
  color: var(--white); padding: 9px 10px; font-size: 12.5px;
}
.cart-item-value{
  display: flex; align-items: center; justify-content: space-between;
  border-top: 1px solid var(--line-soft); padding-top: 12px;
}
.cart-item-value .base{ font-size: 11.5px; color: var(--gray-faint); }
.cart-item-value .amount{ font-family: var(--font-display); font-size: 17px; font-weight: 700; color: var(--red); }

.cart-total-bar{
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px;
  background: var(--card); border: 1px solid var(--line-soft); border-radius: 14px; padding: 22px 26px;
  margin-top: 8px;
}
.cart-total-bar .label{ font-size: 13px; color: var(--gray-dim); margin-bottom: 4px; }
.cart-total-bar .amount{ font-family: var(--font-display); font-size: 28px; font-weight: 700; color: var(--white); }
.cart-empty{ text-align: center; padding: 50px 20px; color: var(--gray-dim); font-size: 13.5px; }
.cart-empty svg{ width: 34px; height: 34px; stroke: var(--gray-faint); fill: none; stroke-width: 1.5; margin: 0 auto 14px; display:block; }

/* Project detail accordion (reuse faq pattern styling tweaks) */
.project-card{
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  margin-bottom: 16px;
  overflow: hidden;
}
.project-head{
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 22px; cursor: pointer;
}
.project-head .left{ display: flex; align-items: center; gap: 16px; }
.project-head .ic{
  width: 42px; height: 42px; border-radius: 10px; flex: none;
  background: var(--card-2); border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
}
.project-head .ic svg{ width: 19px; height: 19px; stroke: var(--red); fill: none; stroke-width: 1.8; }
.project-head h3{ font-family: var(--font-body); font-size: 15px; margin-bottom: 3px; }
.project-head .sub{ font-size: 12px; color: var(--gray-faint); }
.project-head .right{ display: flex; align-items: center; gap: 14px; flex: none; }
.project-head .chevron{
  width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center; color: var(--gray-dim);
  transition: transform .2s ease;
}
.project-card.open .project-head .chevron{ transform: rotate(180deg); }
.project-body{ max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.project-card.open .project-body{ max-height: 900px; }
.project-body-in{ padding: 0 22px 22px; border-top: 1px solid var(--line-soft); }
.project-track{
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 14px 0; border-bottom: 1px solid var(--line-soft);
}
.project-track:last-child{ border-bottom: none; }
.project-track .name{ font-size: 13.5px; color: var(--white); font-weight: 600; }
.project-track .artist{ font-size: 11.5px; color: var(--gray-faint); }
.project-track-right{ text-align: right; flex: none; }
.project-track-right .val{ font-size: 13px; color: var(--white); font-weight: 600; }
.project-track-right .date{ font-size: 11px; color: var(--gray-faint); margin-top: 2px; }
.project-footer{
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px;
  padding-top: 16px; margin-top: 4px; border-top: 1px solid var(--line-soft);
}
.project-footer .label{ font-size: 12px; color: var(--gray-dim); margin-bottom: 3px; }
.project-footer .amount{ font-family: var(--font-display); font-size: 18px; font-weight: 700; color: var(--white); }

/* Responsive app shell */
@media (max-width: 980px){
  .stat-grid{ grid-template-columns: 1fr; }
  .quicklink-grid{ grid-template-columns: 1fr; }
  .search-bar{ grid-template-columns: 1fr 1fr; }
  .cart-params{ grid-template-columns: repeat(2,1fr); }
  .form-grid-2{ grid-template-columns: 1fr; }
}
@media (max-width: 860px){
  .app-sidebar{
    position: fixed; left: 0; top: 0; z-index: 60;
    transform: translateX(-100%);
    transition: transform .2s ease;
    box-shadow: 20px 0 40px rgba(0,0,0,.5);
  }
  .app-sidebar.open{ transform: translateX(0); }
  .app-mobile-toggle{ display: flex; align-items: center; justify-content: center; }
  .app-content{ padding: 22px 18px; }
  .app-topbar{ padding: 0 18px; }
  .app-company .meta{ display: none; }
}
@media (max-width: 640px){
  .search-bar{ grid-template-columns: 1fr; }
  .track-row{ flex-wrap: wrap; }
  .cart-params{ grid-template-columns: 1fr 1fr; }
  .track-row .add-btn{ margin-left: auto; }
}
