:root{
  --clr-neon:#9772FB;
  --clr-bg:#0b0b0c;
  --accent:#764AF1;
  --ink:#141417;
}

.container-home {
  max-width: 90rem;
  margin: 0 auto;
  padding: 2rem 1.2rem;
  padding-top: 1.5rem;
}

.About {
  margin: 1rem auto;
  display: grid;
  justify-content: center;
  align-items: center;
  grid-gap: 1rem;
  text-align: left; /* mejor que justify */
}

/* ======= HERO ======= */
.About-hero { text-align:center; }

.About h1 {
  text-align: center;
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.1;
  background: linear-gradient(92deg, #111 0%, #5b4bff 45%, #a50399 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  position: relative;
  padding-bottom: .6rem;
  margin-bottom: .3rem;
}
.About h1::after{
  content:"";
  display:block;
  width:min(220px, 40%);
  height:3px;
  margin:.6rem auto 0;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, #9772FB 35%, #a50399 65%, transparent);
  opacity:.8;
}

.About-sub{
  max-width: 72ch;
  margin: .5rem auto 1rem;
  text-align:center;
  opacity:.85;
  font-size: clamp(1.2rem, 1.8vw, 1.15rem);
}

/* ======= Copy ======= */
.About-parrafo {
  margin-top: 1.5rem;
  font-size: clamp(1.05rem, 1.8vw, 1.5rem);
  display: grid;
  gap: 1.4rem;
  font-weight: 350;
  line-height: 1.8;
  font-family: 'Tinos', serif;
  max-width: 72ch;
  margin-left:auto; margin-right:auto;
  color: var(--ink);
}
.About-parrafo p:first-of-type::first-letter{
  float: left;
  font-size: 3.1rem;
  line-height: .9;
  padding-right: .3rem;
  margin-top: .1rem;
  font-weight: 700;
  color: var(--accent);
  text-shadow: 0 6px 16px rgba(118,74,241,.25);
}
.About-parrafo strong{ position:relative; font-weight:700; }
.About-parrafo strong::after{
  content:""; position:absolute; left:0; right:0; bottom:-2px;
  height:.35em; border-radius:4px;
  background: linear-gradient(90deg, rgba(151,114,251,.25), rgba(167,3,153,.2));
  transform: scaleX(0.4); transform-origin:left; transition: transform .25s ease;
}
.About-parrafo strong:hover::after{ transform: scaleX(1); }

/* ======= Avatar + CHIP ======= */
.About-content {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: .8rem;
}

/* foto */
.About-content-picture { transition: transform .35s ease, filter .35s ease; }
.About-content-picture:hover { transform: scale(1.03); filter: saturate(1.06) brightness(1.03); }
.About-content-picture img {
  width: clamp(84px, 12vw, 110px);
  margin: .5rem;
  border-radius: 50%;
  box-shadow: 0 20px 50px rgba(27,9,55,.25), 0 8px 18px rgba(0,0,0,.08);
}

/* CHIP: renombrado para no chocar con el layout */
/* CHIP simple: un solo texto */
.badge{
  display:inline-flex; align-items:center; justify-content:center;
  background:#000; border-radius:999px; padding:.25rem .7rem;
  box-shadow: 0 10px 24px rgba(0,0,0,.12);
}

.badge__text{
  color:#F2F2F2;
  font-weight:700;
  letter-spacing:1pt;
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  position:relative;
  text-shadow:
    -1px -1px 0 #764AF1,
     1px -1px 0 #764AF1,
     1px  1px 0 #764AF1,
    -1px  1px 0 #764AF1,
     0   6px 14px rgba(118,74,241,.35); /* glow sutil */
}

/* Si quieres conservar el emoji del monitor, deja esto; si no, bórralo */
.badge__text::after{ content:" 🖥️"; }


/* ======= CTAs ======= */
.About-ctas{
  display:flex; gap:.75rem; justify-content:center; flex-wrap:wrap; margin:.5rem 0 1rem;
}
.btn{
  display:inline-flex; align-items:center; gap:.5rem;
  padding:.65rem 1rem; border-radius:999px;
  text-decoration:none; font-weight:700;
  border:1.5px solid #111; color:#111; background:#fff;
  box-shadow: 0 10px 30px rgba(0,0,0,.06);
  transition: transform .08s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  font-size: clamp(1.2rem, 1.6vw, 1.4rem);
}
.btn:hover{ transform: translateY(-1px); box-shadow: 0 16px 40px rgba(0,0,0,.1); }
.btn-primary{ background:#111; color:#fff; }
.btn-outline{ background:transparent; color:#111; }

/* ======= Highlights ======= */
.About-highlights{
  display:grid; gap:.75rem; margin:1.2rem auto 0; padding:0; list-style:none;
  grid-template-columns:repeat(auto-fit, minmax(260px, 1fr)); max-width: 980px;
}
.About-highlights li{
  background: rgba(17,17,17,.04);
  border: 1px solid rgba(17,17,17,.06);
  border-radius: 999px;
  padding:.6rem .9rem;
  font-size: 1.3rem;
}

/* ======= Portafolio link ======= */
.About-span{
  font-size: clamp(1.05rem, 1.8vw, 1.15rem);
  padding: 1.5rem 0;
  font-weight: 400;
  text-align:center;
}
.About-span a{
  display:inline-flex; align-items:center; gap:.5rem;
  text-decoration:none; font-weight:700;
  border-bottom: 2px solid transparent;
}
.About-span a:hover{ border-color: currentColor; }

/* ======= Responsive fino ======= */
@media (max-width: 768px){
  .container-home{ padding: 1.2rem .8rem; }
  .About-content{ flex-direction: column; gap:.5rem; }
  .About-sub{ font-size: 1.25rem; padding: 0 .4rem; }
  .About-parrafo{ font-size: 1.05rem; line-height: 1.75; }
  .About-highlights{ grid-template-columns: 1fr; }
  .btn{ width: 100%; justify-content:center; }
}

/* Accesibilidad */
@media (prefers-reduced-motion: reduce){
  .About-content-picture, .btn, .About-parrafo strong::after { transition: none !important; }
}
