
:root{
  --bg:#080808;
  --panel:#101010;
  --panel2:#151515;
  --gold:#c99552;
  --gold2:#efc37d;
  --text:#f4f4f4;
  --muted:#a5a5a5;
  --line:rgba(201,149,82,.22);
  --line-soft:rgba(255,255,255,.08);
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}

body{
  margin:0;
  min-height:100vh;
  font-family:"Montserrat",system-ui,sans-serif;
  background:
    radial-gradient(circle at 50% 0,rgba(201,149,82,.09),transparent 26%),
    linear-gradient(180deg,#101010,#060606 55%,#030303);
  color:var(--text);
}

a{text-decoration:none;color:inherit}
button,input{font:inherit}

.page-shell{
  min-height:100vh;
  padding:26px 14px;
}

.card{
  width:min(100%,720px);
  margin:auto;
  background:
    radial-gradient(circle at 50% 12%,rgba(201,149,82,.07),transparent 24%),
    linear-gradient(180deg,#0c0c0c,#070707);
  border:1px solid rgba(255,255,255,.06);
  border-radius:24px;
  overflow:hidden;
  box-shadow:0 40px 100px rgba(0,0,0,.55);
}



.profile{
  text-align:center;
  padding:18px 24px 20px;
}

.avatar-wrap{
  width:210px;
  height:210px;
  margin:0 auto 20px;
  border-radius:50%;
  padding:4px;
  background:linear-gradient(135deg,#6f4b21,var(--gold2),#6f4b21);
  box-shadow:
    0 0 0 14px rgba(201,149,82,.03),
    0 0 70px rgba(201,149,82,.12);
}

.avatar,
.avatar-fallback{
  display:none;
  place-items:center;
  font-size:60px;
  font-weight:800;
  color:var(--gold2);
  padding:18px;
}

.avatar-fallback-logo{
  width:100%;
  height:100%;
  object-fit:contain;
  display:block;
}

.avatar-fallback{
  display:none;
  place-items:center;
  font-size:60px;
  font-weight:800;
  color:var(--gold2);
}

.profile h1{
  margin:0;
  font-size:clamp(30px,7vw,46px);
  letter-spacing:-.04em;
}



.gold-line{
  height:1px;
  width:min(330px,80%);
  margin:auto;
  background:linear-gradient(90deg,transparent,var(--gold),transparent);
}

.contact-list{
  padding:12px 20px 8px;
  display:grid;
  gap:10px;
}

.contact-item{
  display:grid;
  grid-template-columns:52px 1fr 24px;
  gap:14px;
  align-items:center;
  min-height:74px;
  padding:12px 16px;
  background:linear-gradient(180deg,#141414,#0f0f0f);
  border:1px solid var(--line-soft);
  border-radius:18px;
  transition:.22s;
}

.contact-item:hover{
  transform:translateY(-2px);
  border-color:rgba(201,149,82,.38);
  background:linear-gradient(180deg,#181818,#101010);
}

.icon-box{
  width:44px;
  height:44px;
  display:grid;
  place-items:center;
  color:var(--gold2);
  border:1px solid var(--line);
  border-radius:12px;
  background:
    radial-gradient(circle at 30% 20%, rgba(201,149,82,.12), transparent 60%),
    linear-gradient(180deg,#131313,#0d0d0d);
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.02);
}

.contact-icon{
  width:22px;
  height:22px;
  display:block;
  color:var(--gold2);
}

.contact-icon svg{
  width:100%;
  height:100%;
  display:block;
  fill:currentColor;
}

.contact-copy span{
  display:block;
  color:#d3d3d3;
  font-size:12px;
  margin-bottom:3px;
}

.contact-copy strong{
  font-size:14px;
  font-weight:600;
}

.arrow{
  color:var(--gold2);
  font-size:28px;
  text-align:center;
}

.socials{
  display:flex;
  justify-content:center;
  gap:18px;
  padding:22px 18px 14px;
}

.social-link{
  width:56px;
  height:56px;
  display:grid;
  place-items:center;
  border:1px solid rgba(201,149,82,.55);
  border-radius:50%;
  background:
    radial-gradient(circle at 30% 20%, rgba(201,149,82,.12), transparent 55%),
    linear-gradient(180deg,#141414,#0e0e0e);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.02),
    0 8px 22px rgba(0,0,0,.22);
  transition:.22s;
}

.social-link:hover{
  background:
    radial-gradient(circle at 30% 20%, rgba(201,149,82,.18), transparent 58%),
    linear-gradient(180deg,#181818,#101010);
  border-color:rgba(239,195,125,.85);
  transform:translateY(-3px);
  box-shadow:
    0 10px 28px rgba(0,0,0,.28),
    0 0 24px rgba(201,149,82,.12);
}

.social-svg{
  width:24px;
  height:24px;
  color:var(--gold2);
  display:block;
}

.social-svg svg{
  width:100%;
  height:100%;
  display:block;
  fill:currentColor;
}

.actions{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
  padding:12px 20px 26px;
}

.btn{
  min-height:54px;
  border-radius:14px;
  cursor:pointer;
  font-weight:700;
  transition:.22s;
}

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

.btn-gold{
  color:white;
  border:1px solid #d8a865;
  background:linear-gradient(135deg,#6b4720,#b27d3e,#704b22);
}

.btn-outline{
  color:#eee;
  border:1px solid rgba(201,149,82,.45);
  background:#111;
}

.more{
  margin:0 20px 24px;
  padding:20px;
  border:1px solid var(--line);
  border-radius:22px;
  background:#0d0d0d;
}

.more-head{
  display:flex;
  gap:13px;
  align-items:flex-start;
  margin-bottom:16px;
}

.spark{
  color:var(--gold2);
  font-size:24px;
}

.more h2{
  margin:0 0 3px;
  font-size:18px;
}

.more p{
  margin:0;
  color:var(--muted);
  font-size:12px;
}

.more-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:14px;
}

.mini-card{
  position:relative;
  min-height:196px;
  padding:16px;
  display:flex;
  flex-direction:column;
  justify-content:flex-start;
  gap:7px;
  border:1px solid var(--line-soft);
  border-radius:18px;
  background:
    radial-gradient(circle at 20% 0,rgba(201,149,82,.07),transparent 35%),
    #121212;
  transition:.2s;
  overflow:hidden;
}

.mini-card:hover{
  border-color:rgba(201,149,82,.42);
  transform:translateY(-3px);
  box-shadow:0 16px 36px rgba(0,0,0,.26);
}

.mini-logo-wrap{
  width:100%;
  height:66px;
  display:flex;
  align-items:center;
  justify-content:flex-start;
  margin-bottom:6px;
  overflow:hidden;
}

.mini-logo{
  width:auto;
  height:auto;
  max-width:100%;
  max-height:60px;
  object-fit:contain;
  object-position:left center;
  display:block;
  filter:drop-shadow(0 8px 18px rgba(0,0,0,.20));
}

.mini-logo-evoluciona{
  max-width:210px;
  max-height:54px;
}

.mini-logo-one{
  max-width:160px;
  max-height:52px;
}

.mini-logo-marciano{
  max-width:100px;
  max-height:58px;
}

.mini-logo-ikal{
  max-width:140px;
  max-height:54px;
}

.mini-kicker{
  color:var(--gold2);
  font-size:9px;
  font-weight:800;
  letter-spacing:.10em;
  text-transform:uppercase;
}

.mini-card b{
  font-size:14px;
  line-height:1.25;
}

.mini-card small{
  color:#999;
  font-size:10px;
  line-height:1.5;
  padding-right:18px;
}

.mini-arrow{
  position:absolute;
  right:14px;
  bottom:10px;
  color:var(--gold2);
  font-size:24px;
}

footer{
  padding:6px 20px 24px;
  text-align:center;
  color:#777;
  font-size:10px;
}

footer p{margin:4px 0}
footer a{color:#bbb;font-weight:600}

/* MODAL QR */
.modal-backdrop{
  position:fixed;
  inset:0;
  z-index:9999;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:18px;
  background:rgba(0,0,0,.80);
  backdrop-filter:blur(10px);
  opacity:0;
  visibility:hidden;
  transition:.22s ease;
}

.modal-backdrop.open{
  opacity:1;
  visibility:visible;
}

.share-modal{
  position:relative;
  width:min(92vw,360px);
  max-height:90vh;
  overflow:auto;
  padding:24px 22px 20px;
  border:1px solid rgba(201,149,82,.30);
  border-radius:24px;
  background:
    radial-gradient(circle at 50% 0,rgba(201,149,82,.10),transparent 32%),
    linear-gradient(180deg,#171717,#0a0a0a);
  box-shadow:
    0 30px 90px rgba(0,0,0,.72),
    0 0 40px rgba(201,149,82,.08);
  text-align:center;
  transform:translateY(14px) scale(.98);
  transition:.22s ease;
}

.modal-backdrop.open .share-modal{
  transform:translateY(0) scale(1);
}

.modal-close{
  position:absolute;
  top:12px;
  right:12px;
  width:34px;
  height:34px;
  display:grid;
  place-items:center;
  border:1px solid rgba(255,255,255,.08);
  border-radius:50%;
  background:#101010;
  color:#ddd;
  font-size:23px;
  line-height:1;
  cursor:pointer;
}

.modal-badge{
  width:46px;
  height:46px;
  margin:0 auto 12px;
  display:grid;
  place-items:center;
  border:1px solid rgba(201,149,82,.40);
  border-radius:50%;
  color:var(--gold2);
  font-size:13px;
  font-weight:800;
  letter-spacing:.08em;
  background:rgba(201,149,82,.06);
}

.share-modal h2{
  margin:0 0 7px;
  font-size:22px;
}

.share-modal > p{
  margin:0 auto 16px;
  max-width:280px;
  color:var(--muted);
  font-size:12px;
  line-height:1.5;
}

.qr-shell{
  width:216px;
  height:216px;
  margin:0 auto 14px;
  padding:10px;
  border-radius:18px;
  background:#fff;
  display:grid;
  place-items:center;
  overflow:hidden;
  box-shadow:0 12px 30px rgba(0,0,0,.32);
}

#qrCode{
  width:196px;
  height:196px;
  display:grid;
  place-items:center;
  overflow:hidden;
}

#qrCode img,
#qrCode canvas{
  width:196px !important;
  height:196px !important;
  max-width:196px !important;
  max-height:196px !important;
  display:block !important;
}

.qr-shell{
  position:relative;
}

.qr-logo-badge{
  position:absolute;
  left:50%;
  top:50%;
  transform:translate(-50%,-50%);
  width:58px;
  height:58px;
  border-radius:50%;
  background:#ffffff;
  border:4px solid #ffffff;
  box-shadow:
    0 10px 28px rgba(0,0,0,.18),
    0 0 0 1px rgba(0,0,0,.04);
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  z-index:3;
}

.qr-logo-img{
  width:40px;
  height:40px;
  object-fit:contain;
  display:block;
}

@media(max-width:600px){
  .qr-logo-badge{
    width:54px;
    height:54px;
  }

  .qr-logo-img{
    width:36px;
    height:36px;
  }
}

.modal-url{
  width:100%;
  margin:0 auto 14px;
  padding:10px 12px;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  border:1px solid var(--line-soft);
  border-radius:10px;
  background:#0b0b0b;
  color:#8f8f8f;
  font-size:10px;
}

.modal-actions{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
}

.modal-actions .btn{
  min-height:46px;
  padding:0 10px;
  font-size:11px;
}

.copy-status{
  display:block;
  min-height:16px;
  margin-top:8px;
  color:var(--gold2);
  font-size:10px;
}

body.modal-open{
  overflow:hidden;
}

@media(max-width:600px){
  .page-shell{padding:0}

  .card{
    border-radius:0;
    min-height:100vh;
  }

    .avatar-wrap{
    width:156px;
    height:156px;
  }

  .profile{
    padding-top:18px;
  }

  .contact-list{
    padding-left:14px;
    padding-right:14px;
  }

  .actions{
    grid-template-columns:1fr;
    padding-left:14px;
    padding-right:14px;
  }

  .more{
    margin-left:14px;
    margin-right:14px;
  }

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

  .mini-card{
    min-height:170px;
  }

  .mini-logo-wrap{
    height:60px;
  }

  .mini-logo-evoluciona{
    max-width:190px;
    max-height:48px;
  }

  .mini-logo-one{
    max-width:145px;
    max-height:48px;
  }

  .mini-logo-marciano{
    max-width:90px;
    max-height:54px;
  }

  .mini-logo-ikal{
    max-width:125px;
    max-height:50px;
  }

  .socials{
    gap:14px;
    padding:20px 14px 12px;
  }

  .social-link{
    width:52px;
    height:52px;
  }

  .social-svg{
    width:22px;
    height:22px;
  }

  .share-modal{
    width:min(92vw,340px);
    padding:22px 18px 18px;
  }

  .qr-shell{
    width:202px;
    height:202px;
    padding:9px;
  }

  #qrCode,
  #qrCode img,
  #qrCode canvas{
    width:184px !important;
    height:184px !important;
    max-width:184px !important;
    max-height:184px !important;
  }

  .modal-actions{
    grid-template-columns:1fr;
  }
}


/* =========================================================
   AJUSTE PERFIL DE MARCA
========================================================= */

.profile-brand{
  padding-top:32px;
}

.avatar-wrap-brand{
  background:
    radial-gradient(circle at 50% 50%, rgba(201,149,82,.18), transparent 78%),
    linear-gradient(135deg,#7b592d,#d9b06c,#a47a41);
  box-shadow:
    0 0 0 10px rgba(201,149,82,.05),
    0 0 55px rgba(201,149,82,.14);
}

.avatar-brand{
  padding:18px;
  background:#0d0d0d;
  object-fit:contain;
}

.profile-tagline{
  margin:10px 0 10px;
  color:var(--gold2);
  font-size:15px;
  font-weight:700;
  letter-spacing:.03em;
}

.profile-desc{
  margin:0 auto 4px;
  max-width:560px;
  color:#d0d0d0;
  font-size:15px;
  line-height:1.6;
}

.profile-meta,
.profile-desc-small{
  display:none !important;
}

@media(max-width:600px){
  .avatar-brand{
    padding:16px;
  }

  .profile-tagline{
    font-size:14px;
  }

  .profile-desc{
    font-size:14px;
    max-width:320px;
  }
}


/* =========================================================
   PERFIL FINAL DE MARCA
========================================================= */

.profile-brand{
  padding-top:30px;
  text-align:center;
}

.avatar-wrap-brand{
  width:190px;
  height:190px;
  margin:0 auto 22px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  background:linear-gradient(135deg,#8a6532,#dcb36d,#b28346);
  box-shadow:
    0 0 0 10px rgba(201,149,82,.05),
    0 0 55px rgba(201,149,82,.14);
}

.avatar-brand{
  width:78%;
  height:78%;
  object-fit:contain;
  background:transparent !important;
  display:block !important;
  padding:0;
}

.avatar-fallback{
  display:none;
  width:78%;
  height:78%;
  place-items:center;
  background:transparent;
}

.avatar-fallback-logo{
  width:100%;
  height:100%;
  object-fit:contain;
  display:block;
}

.profile-brand h1{
  margin:0;
  font-size:clamp(30px,6vw,46px);
  line-height:1.08;
  letter-spacing:-.04em;
}

.profile-tagline,
.profile-meta,
.profile-desc,
.profile-desc-small,
.role{
  display:none !important;
}

@media(max-width:600px){
  .avatar-wrap-brand{
    width:160px;
    height:160px;
    margin-bottom:18px;
  }

  .avatar-brand,
  .avatar-fallback{
    width:76%;
    height:76%;
  }

  .profile-brand h1{
    font-size:clamp(26px,7vw,38px);
  }
}


/* =========================================================
   AJUSTE: LOGO SIN FONDO AMARILLO
========================================================= */

.avatar-wrap-brand{
  width:190px !important;
  height:190px !important;
  margin:0 auto 22px !important;
  border-radius:50% !important;
  overflow:hidden !important;
  background:transparent !important;
  box-shadow:none !important;
  border:none !important;
  padding:0 !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
}

.avatar-brand{
  width:100% !important;
  height:100% !important;
  border-radius:50% !important;
  object-fit:cover !important;
  background:transparent !important;
  display:block !important;
  padding:0 !important;
}

.avatar-fallback{
  width:100% !important;
  height:100% !important;
  border-radius:50% !important;
  background:transparent !important;
  display:none;
  place-items:center !important;
  padding:0 !important;
}

.avatar-fallback-logo{
  width:100% !important;
  height:100% !important;
  object-fit:cover !important;
  border-radius:50% !important;
  display:block !important;
}

@media(max-width:600px){
  .avatar-wrap-brand{
    width:160px !important;
    height:160px !important;
    margin-bottom:18px !important;
  }
}


/* =========================================================
   AJUSTE FINO DEL LOGO PRINCIPAL
========================================================= */

.avatar-wrap-brand{
  width:190px !important;
  height:190px !important;
  margin:0 auto 22px !important;
  border-radius:50% !important;
  overflow:hidden !important;
  background:#050505 !important;
  box-shadow:
    0 0 0 1px rgba(255,255,255,.05),
    0 10px 35px rgba(0,0,0,.35) !important;
  border:none !important;
  padding:0 !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
}

.avatar-brand{
  width:100% !important;
  height:100% !important;
  border-radius:50% !important;
  object-fit:contain !important;
  object-position:center center !important;
  background:#050505 !important;
  display:block !important;
  padding:14px !important;
}

.avatar-fallback{
  width:100% !important;
  height:100% !important;
  border-radius:50% !important;
  background:#050505 !important;
  display:none;
  place-items:center !important;
  padding:14px !important;
}

.avatar-fallback-logo{
  width:100% !important;
  height:100% !important;
  object-fit:contain !important;
  object-position:center center !important;
  border-radius:0 !important;
  display:block !important;
}

@media(max-width:600px){
  .avatar-wrap-brand{
    width:160px !important;
    height:160px !important;
    margin-bottom:18px !important;
  }

  .avatar-brand,
  .avatar-fallback{
    padding:12px !important;
  }
}


/* =========================================================
   V2 PREMIUM - BLOQUES DE IDENTIDAD
========================================================= */

.profile-brand{
  padding-top:34px !important;
  text-align:center;
}

.brand-subtitle{
  margin:10px 0 18px;
  color:var(--gold2);
  font-size:15px;
  font-weight:700;
  letter-spacing:.04em;
  text-transform:uppercase;
}

.brand-intro{
  width:min(100%, 620px);
  margin:0 auto 14px;
  padding:18px 18px 16px;
  border:1px solid rgba(201,149,82,.18);
  border-radius:18px;
  background:
    radial-gradient(circle at 50% 0, rgba(201,149,82,.08), transparent 40%),
    linear-gradient(180deg,#121212,#0c0c0c);
  box-shadow:0 12px 32px rgba(0,0,0,.18);
}

.brand-statement{
  margin:0 0 14px !important;
  max-width:540px;
  margin-inline:auto !important;
  color:#dedede !important;
  font-size:14px !important;
  line-height:1.65 !important;
}

.brand-chips{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:10px;
}

.brand-chips span{
  padding:8px 12px;
  border-radius:999px;
  border:1px solid rgba(201,149,82,.24);
  background:rgba(201,149,82,.06);
  color:#f1f1f1;
  font-size:11px;
  font-weight:600;
}

.ecosystem-panel{
  margin:6px 20px 18px;
  padding:20px;
  border:1px solid rgba(201,149,82,.2);
  border-radius:22px;
  background:
    radial-gradient(circle at 10% 0, rgba(201,149,82,.08), transparent 38%),
    linear-gradient(180deg,#121212,#0d0d0d);
}

.section-kicker{
  color:var(--gold2);
  font-size:10px;
  font-weight:800;
  letter-spacing:.14em;
  text-transform:uppercase;
  margin-bottom:8px;
}

.ecosystem-panel h2{
  margin:0 0 8px;
  font-size:22px;
  line-height:1.15;
}

.ecosystem-panel p{
  margin:0 0 18px;
  color:#b8b8b8;
  font-size:13px;
  line-height:1.65;
}

.ecosystem-logos{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:12px;
}

.eco-logo-item{
  min-height:90px;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:14px;
  border:1px solid rgba(255,255,255,.06);
  border-radius:16px;
  background:linear-gradient(180deg,#151515,#101010);
}

.eco-logo-item img{
  max-width:100%;
  max-height:52px;
  object-fit:contain;
  display:block;
}

.section-title-row{
  display:flex;
  align-items:center;
  gap:14px;
  padding:0 20px 10px;
}

.section-title-row h3{
  margin:0;
  color:#ffffff;
  font-size:16px;
  white-space:nowrap;
}

.section-line{
  flex:1;
  height:1px;
  background:linear-gradient(90deg, transparent, rgba(201,149,82,.45), transparent);
}

.contact-list{
  padding-top:4px !important;
}

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

.btn-site{
  min-height:54px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:14px;
  color:#f1f1f1;
  font-weight:700;
  border:1px solid rgba(255,255,255,.09);
  background:linear-gradient(180deg,#161616,#0f0f0f);
}

.btn-site:hover{
  transform:translateY(-2px);
  border-color:rgba(201,149,82,.32);
}

.more{
  margin-top:8px !important;
}

@media(max-width:600px){
  .brand-subtitle{
    font-size:13px;
    margin-bottom:14px;
  }

  .brand-intro{
    padding:16px 14px 14px;
  }

  .brand-statement{
    font-size:13px !important;
  }

  .ecosystem-panel{
    margin-left:14px;
    margin-right:14px;
    padding:16px;
  }

  .ecosystem-panel h2{
    font-size:19px;
  }

  .ecosystem-panel p{
    font-size:12px;
  }

  .ecosystem-logos{
    grid-template-columns:1fr;
  }

  .eco-logo-item{
    min-height:78px;
  }

  .section-title-row{
    padding-left:14px;
    padding-right:14px;
  }

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