:root{
  --bg:#050505;
  --panel:#10100f;
  --panel2:#151412;
  --line:#2c2922;
  --lineGold:#4b4029;
  --text:#f1eee8;
  --muted:#aaa39a;
  --soft:#7d766c;
  --gold:#d6b36a;
  --gold2:#a88445;
  --blue:#2b6dff;
  --danger:#ff7474;
  --radius:18px;
}

*{box-sizing:border-box}

html,body{
  margin:0;
  min-height:100%;
  background:#050505;
  color:var(--text);
  font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
}

body{
  background:
    radial-gradient(circle at 72% 5%,rgba(59,94,160,.22),transparent 28%),
    radial-gradient(circle at 25% 20%,rgba(214,179,106,.08),transparent 25%),
    linear-gradient(180deg,#070707 0%,#050505 100%);
  padding-bottom:92px;
}

a{
  color:inherit;
  text-decoration:none;
}

button,input,textarea,select{
  font:inherit;
}

.app-top{
  position:sticky;
  top:0;
  z-index:50;
  height:76px;
  display:grid;
  grid-template-columns:42px 1fr auto;
  align-items:center;
  gap:12px;
  padding:0 18px;
  background:rgba(5,5,5,.92);
  backdrop-filter:blur(16px);
  border-bottom:1px solid rgba(214,179,106,.12);
}

.hamb{
  font-size:28px;
  color:#d8d2c7;
  line-height:1;
}

.brand{
  justify-self:start;
  display:flex;
  align-items:center;
  gap:12px;
  font-size:24px;
  font-weight:600;
  letter-spacing:.12em;
  color:#f6f2eb;
}

.brand::before{
  content:"";
  width:34px;
  height:28px;
  display:block;
  background:
    linear-gradient(90deg,var(--gold) 0 20%,transparent 20% 28%,#c9c1b5 28% 45%,transparent 45% 55%,var(--blue) 55% 75%,transparent 75%),
    linear-gradient(90deg,var(--gold),var(--blue));
  mask:
    linear-gradient(#000 0 0) 0 8px/3px 12px no-repeat,
    linear-gradient(#000 0 0) 9px 0/3px 28px no-repeat,
    linear-gradient(#000 0 0) 18px 6px/3px 16px no-repeat,
    linear-gradient(#000 0 0) 27px 3px/3px 22px no-repeat;
}

.top-actions{
  display:flex;
  align-items:center;
  gap:8px;
}

.top-actions a{
  color:var(--muted);
  font-size:14px;
}

.top-actions form{
  margin:0;
}

.logout-btn{
  height:48px;
  padding:0 24px;
  border:0;
  border-radius:18px;
  background:linear-gradient(135deg,#d8bb70,#a88445);
  color:#070707;
  font-weight:900;
  letter-spacing:.08em;
}

.app-wrap{
  width:min(980px,100%);
  margin:0 auto;
  padding:0 22px 40px;
}

/* HERO IGUAL A LA REFERENCIA */
.hero-premium{
  position:relative;
  min-height:385px;
  overflow:hidden;
  border:1px solid rgba(214,179,106,.16);
  border-top:0;
  border-radius:0 0 28px 28px;
  background:
    linear-gradient(90deg,rgba(5,5,5,.98) 0%,rgba(5,5,5,.88) 45%,rgba(5,5,5,.50) 100%),
    radial-gradient(circle at 78% 34%,rgba(214,179,106,.22),transparent 18%),
    linear-gradient(135deg,#0b0b0a,#11100e 58%,#050505);
  box-shadow:0 30px 80px rgba(0,0,0,.45);
}

.hero-bg{
  position:absolute;
  inset:0;
  opacity:.56;
  background:
    linear-gradient(90deg,rgba(0,0,0,.95) 0%,rgba(0,0,0,.58) 43%,rgba(0,0,0,.18) 100%),
    radial-gradient(circle at 75% 38%,rgba(214,179,106,.22),transparent 18%),
    linear-gradient(110deg,transparent 52%,rgba(30,30,28,.9) 53%,rgba(8,8,8,.4) 100%);
}

.hero-bg::after{
  content:"";
  position:absolute;
  right:34px;
  top:72px;
  width:360px;
  height:240px;
  opacity:.45;
  background:
    radial-gradient(ellipse at 50% 40%,rgba(214,179,106,.20),transparent 40%),
    linear-gradient(90deg,transparent 0 20%,rgba(255,255,255,.10) 21% 22%,transparent 23% 32%,rgba(255,255,255,.08) 33% 34%,transparent 35% 100%);
  clip-path:polygon(15% 18%,75% 0,100% 100%,0 100%);
  filter:blur(.3px);
}

.hero-copy{
  position:relative;
  z-index:2;
  padding:50px 34px 18px;
  max-width:520px;
}

.hero-copy h1{
  margin:0;
  color:#f4f0ea;
  font-family:Georgia,"Times New Roman",serif;
  font-weight:400;
  font-size:43px;
  line-height:1.25;
  letter-spacing:.19em;
}

.hero-copy h1 span{
  color:#477cff;
}

.gold-line{
  width:42px;
  height:1px;
  margin:20px 0 24px;
  background:var(--gold);
}

.hero-copy p{
  margin:0;
  max-width:360px;
  color:#d0cbc3;
  font-size:20px;
  line-height:1.55;
}

.hero-actions{
  position:relative;
  z-index:2;
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:16px;
  padding:24px 34px 34px;
}

.action-card{
  min-height:86px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:16px;
  padding:14px 16px;
  border:1px solid rgba(214,179,106,.52);
  border-radius:6px;
  background:rgba(8,8,8,.50);
  color:#f4f0ea;
  cursor:pointer;
  text-align:left;
}

.action-card.active-blue{
  border-color:rgba(43,109,255,.75);
}

.action-card .ico{
  color:var(--gold);
  font-size:30px;
  font-weight:300;
}

.action-card.active-blue .ico{
  color:var(--blue);
}

.action-card b{
  font-size:18px;
  line-height:1.25;
  font-weight:500;
}

/* Paneles */
.access-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px;
  margin-top:24px;
}

.hidden-panel{
  display:none;
  margin-top:22px;
}

.panel-card{
  position:relative;
  background:rgba(17,17,16,.92);
  border:1px solid rgba(214,179,106,.20);
  border-radius:24px;
  padding:28px;
  box-shadow:0 25px 70px rgba(0,0,0,.36);
}

.panel-card h2{
  margin:0 0 20px;
  color:#f4f0ea;
  font-size:32px;
  line-height:1.1;
}

.panel-card p{
  color:var(--muted);
}

.close-x{
  position:absolute;
  top:18px;
  right:18px;
  width:40px;
  height:40px;
  border:1px solid rgba(214,179,106,.28);
  border-radius:50%;
  background:transparent;
  color:var(--gold);
  font-size:24px;
}

form{
  display:grid;
  gap:14px;
}

input,textarea,select{
  width:100%;
  min-height:56px;
  padding:16px 18px;
  border:1px solid rgba(214,179,106,.17);
  border-radius:16px;
  background:#050505;
  color:#f1eee8;
  outline:none;
  font-size:16px;
}

textarea{
  min-height:150px;
  resize:vertical;
}

input::placeholder,
textarea::placeholder{
  color:#827b72;
}

input:focus,
textarea:focus,
select:focus{
  border-color:rgba(214,179,106,.55);
}

form button,
.outline-btn{
  min-height:56px;
  border:1px solid rgba(214,179,106,.45);
  border-radius:16px;
  background:transparent;
  color:var(--gold);
  font-weight:800;
  cursor:pointer;
}

form button:last-child{
  background:linear-gradient(135deg,#d8bb70,#a88445);
  border:0;
  color:#050505;
  font-weight:900;
  letter-spacing:.04em;
}

.budget-box,
.plazo-box{
  display:grid;
  gap:12px;
  padding:14px;
  border:1px solid rgba(214,179,106,.18);
  border-radius:18px;
  background:#090909;
}

/* Secciones */
.section-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin:34px 0 16px;
  padding-top:18px;
  border-top:1px solid rgba(214,179,106,.12);
}

.section-head span{
  color:var(--gold);
  font-size:15px;
  letter-spacing:.22em;
  font-weight:700;
}

.section-head a{
  color:#d7d0c5;
}

/* Servicios como referencia */
.service-strip{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
}

.service-tile{
  overflow:hidden;
  min-height:230px;
  border:1px solid rgba(214,179,106,.20);
  border-radius:14px;
  background:#11110f;
}

.tile-img{
  height:104px;
  position:relative;
  background:
    linear-gradient(180deg,rgba(0,0,0,.05),rgba(0,0,0,.55)),
    radial-gradient(circle at 40% 35%,rgba(214,179,106,.30),transparent 30%),
    #191815;
}

.tile-img::before{
  content:"";
  position:absolute;
  left:18px;
  top:16px;
  width:38px;
  height:38px;
  border:1px solid rgba(214,179,106,.45);
  border-radius:50%;
}

.tile-img::after{
  content:"";
  position:absolute;
  left:31px;
  top:27px;
  width:12px;
  height:14px;
  border-left:2px solid var(--gold);
  border-right:2px solid var(--gold);
}

.tile-img.drum{
  background:
    linear-gradient(180deg,rgba(0,0,0,.05),rgba(0,0,0,.55)),
    radial-gradient(ellipse at 55% 55%,rgba(214,179,106,.35),transparent 32%),
    linear-gradient(135deg,#24201a,#070707);
}

.tile-img.bass{
  background:
    linear-gradient(180deg,rgba(0,0,0,.05),rgba(0,0,0,.55)),
    radial-gradient(ellipse at 65% 45%,rgba(70,94,180,.45),transparent 33%),
    linear-gradient(135deg,#151414,#090909);
}

.tile-img.mic{
  background:
    linear-gradient(180deg,rgba(0,0,0,.05),rgba(0,0,0,.55)),
    radial-gradient(ellipse at 65% 45%,rgba(214,179,106,.30),transparent 30%),
    linear-gradient(135deg,#1a1712,#070707);
}

.service-tile h3{
  margin:18px 18px 6px;
  font-size:24px;
  font-weight:500;
}

.service-tile p{
  margin:0 18px 20px;
  color:var(--muted);
}

.tile-bottom{
  display:flex;
  justify-content:space-between;
  gap:10px;
  margin:0 18px 16px;
  color:#d9d1c4;
  font-size:14px;
}

.tile-bottom b{
  color:var(--gold);
  font-weight:700;
}

.service-tile small{
  display:block;
  margin:0 18px 18px;
  color:var(--soft);
}

/* Proyectos como referencia */
.project-list{
  display:grid;
  gap:10px;
}

.project-row{
  display:grid;
  grid-template-columns:96px 1fr 210px 24px;
  gap:18px;
  align-items:center;
  min-height:112px;
  padding:10px;
  border:1px solid rgba(214,179,106,.16);
  border-radius:12px;
  background:rgba(17,17,16,.72);
}

.project-img{
  width:96px;
  height:92px;
  border-radius:10px;
  position:relative;
  background:
    radial-gradient(circle at 50% 40%,rgba(214,179,106,.25),transparent 32%),
    linear-gradient(135deg,#141414,#050505);
}

.project-img::after{
  content:"";
  position:absolute;
  right:-6px;
  top:8px;
  width:12px;
  height:12px;
  background:var(--blue);
  border-radius:50%;
}

.project-img.img1{
  background:
    linear-gradient(180deg,rgba(0,0,0,.1),rgba(0,0,0,.65)),
    radial-gradient(circle at 60% 40%,rgba(255,255,255,.18),transparent 28%),
    #151515;
}

.project-img.img2{
  background:
    linear-gradient(180deg,rgba(0,0,0,.1),rgba(0,0,0,.65)),
    radial-gradient(circle at 45% 35%,rgba(151,52,255,.52),transparent 32%),
    #111;
}

.project-info h3{
  margin:0 0 8px;
  font-size:22px;
  font-weight:500;
}

.project-info p{
  margin:0;
  color:var(--muted);
  line-height:1.45;
}

.project-info small{
  display:block;
  color:var(--soft);
  margin-top:8px;
}

.project-side{
  display:grid;
  gap:8px;
  color:#c7c0b6;
}

.project-side span{
  color:#c7c0b6;
}

.project-side b{
  color:var(--gold);
  font-weight:700;
}

.chev{
  color:#f2eee8;
  font-size:34px;
  font-weight:200;
}

/* bottom nav */
.bottom-nav{
  position:fixed;
  left:0;
  right:0;
  bottom:0;
  z-index:60;
  height:82px;
  display:grid;
  grid-template-columns:repeat(5,1fr);
  align-items:center;
  background:rgba(8,8,8,.94);
  backdrop-filter:blur(16px);
  border-top:1px solid rgba(214,179,106,.14);
}

.bottom-nav a,
.bottom-nav button{
  height:82px;
  border:0;
  background:transparent;
  color:#8e877e;
  display:grid;
  place-items:center;
  gap:3px;
  font-size:28px;
  cursor:pointer;
}

.bottom-nav span{
  display:block;
  font-size:12px;
}

.bottom-nav .on{
  color:var(--gold);
}

.bottom-nav button{
  width:62px;
  height:62px;
  place-self:center;
  border:1px solid rgba(214,179,106,.42);
  border-radius:50%;
  color:var(--gold);
}

/* Responsive real mobile */
@media(max-width:760px){
  .app-top{
    height:82px;
    padding:0 22px;
    grid-template-columns:1fr auto;
  }

  .hamb{
    display:none;
  }

  .brand{
    font-size:20px;
    letter-spacing:.14em;
  }

  .top-actions a{
    display:none;
  }

  .logout-btn{
    height:56px;
    border-radius:18px;
    padding:0 26px;
    font-size:20px;
  }

  .app-wrap{
    padding:0 22px 34px;
  }

  .hero-premium{
    min-height:470px;
    margin:0 -22px;
    border-left:0;
    border-right:0;
    border-radius:0 0 28px 28px;
  }

  .hero-copy{
    padding:34px 34px 10px;
  }

  .hero-copy h1{
    font-size:44px;
    line-height:1.22;
    letter-spacing:.18em;
  }

  .hero-copy p{
    font-size:22px;
    line-height:1.55;
  }

  .hero-actions{
    grid-template-columns:1fr;
    gap:12px;
    padding:22px 34px 30px;
  }

  .action-card{
    min-height:74px;
    justify-content:flex-start;
    border-radius:7px;
  }

  .access-grid{
    grid-template-columns:1fr;
  }

  .service-strip{
    display:flex;
    overflow-x:auto;
    gap:14px;
    padding-bottom:6px;
    margin-right:-22px;
  }

  .service-tile{
    flex:0 0 240px;
  }

  .project-row{
    grid-template-columns:92px 1fr 20px;
    gap:14px;
  }

  .project-side{
    grid-column:2 / 3;
    grid-row:2;
    display:block;
  }

  .project-side span{
    display:block;
    margin-bottom:4px;
  }

  .chev{
    grid-column:3;
    grid-row:1 / span 2;
  }

  .panel-card{
    padding:24px;
  }
}

@media(max-width:420px){
  .hero-copy h1{
    font-size:37px;
  }

  .hero-copy p{
    font-size:19px;
  }

  .brand{
    font-size:18px;
  }

  .project-info h3{
    font-size:19px;
  }
}

/* FIX mobile: evitar superposición de Panel / Perfil con menú hamburguesa */
@media (max-width: 760px){
  .top-actions{
    display:none !important;
  }

  .app-top{
    position:relative;
    z-index:50;
  }

  .brand{
    max-width:calc(100% - 72px);
  }
}

/* === PREMIUM FIX GLOBAL CDI MÚSICOS === */

/* El header no debe mostrar links sueltos: todo va por hamburguesa / bottom nav */
.app-top .top-actions{
  display:none !important;
}

/* Header limpio premium */
.app-top{
  min-height:82px;
  padding:18px 28px !important;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  background:rgba(0,0,0,.92);
  backdrop-filter:blur(18px);
  border-bottom:1px solid rgba(214,179,106,.12);
  position:sticky;
  top:0;
  z-index:80;
}

.brand{
  max-width:260px;
  line-height:1.05;
}

/* Contenido centrado, no pegado a la izquierda */
.wrap{
  width:min(1120px, calc(100% - 36px));
  margin:0 auto;
  padding:36px 0 110px;
}

/* Cards premium */
.card,
.panel-card,
.preview-profile{
  border:1px solid rgba(214,179,106,.16);
  border-radius:24px;
  background:
    radial-gradient(circle at 85% 0%, rgba(214,179,106,.09), transparent 34%),
    rgba(10,10,10,.86);
  box-shadow:0 24px 70px rgba(0,0,0,.35);
  padding:28px;
}

/* Formularios: campos claramente editables */
input,
textarea,
select{
  width:100%;
  background:rgba(255,255,255,.075) !important;
  border:1px solid rgba(255,255,255,.16) !important;
  color:#f5f1e8 !important;
  border-radius:16px !important;
  padding:15px 16px !important;
  min-height:52px;
  outline:none;
  transition:border-color .18s, background .18s, box-shadow .18s;
}

textarea{
  min-height:130px;
  resize:vertical;
}

input::placeholder,
textarea::placeholder{
  color:rgba(245,241,232,.45) !important;
}

input:focus,
textarea:focus,
select:focus{
  background:rgba(255,255,255,.105) !important;
  border-color:rgba(214,179,106,.65) !important;
  box-shadow:0 0 0 4px rgba(214,179,106,.10);
}

/* Labels más claros */
label{
  display:block;
  margin:18px 0 8px;
  color:#d6b36a;
  font-size:12px;
  letter-spacing:.08em;
  text-transform:uppercase;
  font-weight:700;
}

/* Perfil: no usar barras kilométricas */
form{
  max-width:760px;
}

.profile-form,
.card form{
  width:100%;
}

/* Botones más finos */
button,
.btn{
  border-radius:16px !important;
  min-height:52px;
  padding:0 22px !important;
  font-weight:800;
  letter-spacing:.04em;
}

/* Mobile */
@media(max-width:760px){
  .app-top{
    min-height:74px;
    padding:14px 16px !important;
  }

  .wrap{
    width:calc(100% - 28px);
    padding-top:24px;
  }

  .card,
  .panel-card,
  .preview-profile{
    padding:22px 18px;
    border-radius:22px;
  }

  form{
    max-width:100%;
  }

  input,
  textarea,
  select{
    font-size:16px;
  }
}
