:root{
  --bg: #fff3fb;
  --bg2:#f6fbff;
  --card: rgba(255,255,255,.72);
  --stroke: rgba(255,79,179,.22);
  --text:#1b1220;
  --muted:#5f5167;

  --p1:#ff4fb3;
  --p2:#7c3aed;
  --p3:#22d3ee;

  --shadow: 0 12px 40px rgba(30, 10, 35, .12);
  --radius: 18px;
  --blur: 14px;
}

[data-theme="dark"]{
  --bg: #0b0610;
  --bg2:#070a10;
  --card: rgba(20,16,27,.62);
  --stroke: rgba(255,79,179,.22);
  --text:#f7edf6;
  --muted:#c7b7ce;
  --shadow: 0 14px 55px rgba(0,0,0,.35);
}

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

body{
  margin:0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:var(--text);
  background:
    radial-gradient(1000px 500px at 10% 10%, rgba(255,79,179,.22), transparent 60%),
    radial-gradient(900px 600px at 90% 20%, rgba(34,211,238,.22), transparent 60%),
    radial-gradient(900px 600px at 70% 90%, rgba(124,58,237,.18), transparent 60%),
    linear-gradient(180deg, var(--bg), var(--bg2));
}

a{ color: inherit; }
.container{
  max-width: 1060px;
  margin: 0 auto;
  padding: 92px 18px 44px;
}

/* blobs */
.blob{
  position: fixed;
  filter: blur(46px);
  opacity: .55;
  z-index: -1;
}
.blob-1{
  width: 340px; height: 340px;
  background: radial-gradient(circle at 30% 30%, rgba(255,79,179,.9), rgba(124,58,237,.35));
  top: -90px; left: -90px;
  border-radius: 40% 60% 60% 40% / 50% 40% 60% 50%;
}
.blob-2{
  width: 380px; height: 380px;
  background: radial-gradient(circle at 40% 40%, rgba(34,211,238,.85), rgba(255,79,179,.25));
  bottom: -120px; right: -120px;
  border-radius: 55% 45% 35% 65% / 45% 55% 45% 55%;
}

.card{
  background: var(--card);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(var(--blur));
  -webkit-backdrop-filter: blur(var(--blur));
}

.topbar{
  position: fixed;
  top: 14px; left: 0; right: 0;
  z-index: 50;
  pointer-events: none;
}
.topbar__inner{
  pointer-events: auto;
  max-width: 1060px;
  margin: 0 auto;
  padding: 10px 14px;
  border-radius: 16px;
  background: rgba(255,255,255,.55);
  border: 1px solid rgba(255,79,179,.18);
  backdrop-filter: blur(12px);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
}
[data-theme="dark"] .topbar__inner{
  background: rgba(10,8,14,.55);
}

.brand{ display:flex; align-items:center; gap:10px; }
.brand__dot{
  width: 10px; height:10px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--p1), var(--p2), var(--p3));
  box-shadow: 0 0 0 4px rgba(255,79,179,.16);
}
.brand__name{ font-weight: 800; letter-spacing: .2px; }

.topbar__actions{ display:flex; gap:10px; align-items:center; }

.btn{
  display:inline-flex;
  align-items:center;
  gap:10px;
  border-radius: 12px;
  padding: 10px 12px;
  border: 1px solid rgba(255,79,179,.20);
  text-decoration:none;
  font-weight: 700;
  font-size: .9rem;
  cursor:pointer;
  background: transparent;
  color: var(--text);
}
.btn .icon svg{
  width: 18px; height: 18px;
  color: currentColor;
}
.btn--primary{
  background: linear-gradient(90deg, var(--p1), var(--p2));
  color: white;
  border-color: rgba(255,255,255,.18);
}
.btn--ghost{
  background: rgba(255,255,255,.35);
}
[data-theme="dark"] .btn--ghost{
  background: rgba(10,8,14,.35);
}

.section{ margin-top: 22px; }
.section__head{
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap: 12px;
  margin: 22px 4px 14px;
}
.section__head h2{ margin:0; font-size: 1.35rem; }
.section__head p{ margin:0; color: var(--muted); }

.hero{
  padding: 22px;
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 18px;
}

.kicker{ display:flex; gap:10px; flex-wrap:wrap; margin-bottom: 12px; }

.pill{
  display:inline-flex;
  align-items:center;
  padding: 8px 12px;
  border-radius: 999px;
  font-weight: 800;
  font-size: .82rem;
  border: 1px solid rgba(255,79,179,.25);
  background: rgba(255,255,255,.45);
}
.pill--soft{
  font-weight: 700;
  background: linear-gradient(90deg, rgba(255,79,179,.12), rgba(124,58,237,.12), rgba(34,211,238,.10));
}
.pill--meter{
  background: linear-gradient(90deg, rgba(255,79,179,.16), rgba(124,58,237,.16));
}

.hero__title{
  margin: 0;
  font-size: 2.15rem;
  line-height: 1.1;
  letter-spacing: -0.6px;
  background: linear-gradient(90deg, var(--p1), var(--p2), var(--p3));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__subtitle{
  margin: 10px 0 14px;
  color: var(--muted);
  font-weight: 600;
}

.meta{
  display:flex;
  flex-wrap:wrap;
  gap: 10px 12px;
  margin: 10px 0 16px;
}
.meta__item{
  display:inline-flex;
  align-items:center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 12px;
  border: 1px solid rgba(255,79,179,.18);
  background: rgba(255,255,255,.35);
  text-decoration:none;
  color: var(--text);
  font-weight: 700;
  font-size: .88rem;
}
[data-theme="dark"] .meta__item{ background: rgba(10,8,14,.28); }

.hero__cta{ display:flex; gap: 10px; flex-wrap:wrap; }

.statGrid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.stat{
  border-radius: 16px;
  padding: 14px;
  border: 1px solid rgba(255,79,179,.18);
  background: rgba(255,255,255,.35);
}
[data-theme="dark"] .stat{ background: rgba(10,8,14,.28); }

.stat__num{
  font-size: 1.25rem;
  font-weight: 900;
}
.stat__label{ color: var(--muted); font-weight: 700; margin-top: 4px; }

.miniCard{
  margin-top: 12px;
  border-radius: 16px;
  padding: 14px;
  border: 1px solid rgba(255,79,179,.18);
  background: rgba(255,255,255,.35);
}
[data-theme="dark"] .miniCard{ background: rgba(10,8,14,.28); }
.miniCard__title{ font-weight: 900; margin-bottom: 10px; }

.chips{ display:flex; flex-wrap:wrap; gap: 8px; }
.chips--tight{ margin-top: 12px; }
.chip{
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,79,179,.20);
  background: rgba(255,255,255,.45);
  font-weight: 800;
  font-size: .82rem;
}
.chip--soft{
  background: linear-gradient(90deg, rgba(255,79,179,.10), rgba(124,58,237,.10));
}
[data-theme="dark"] .chip{ background: rgba(10,8,14,.35); }

.grid2{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.lead{ margin: 6px 0 0; color: var(--text); }
.muted{ color: var(--muted); font-weight: 600; }

.subhead{ margin: 0 0 10px; }
.skillBlock{ margin-top: 14px; }
.skillBlock__title{
  font-weight: 900;
  margin-bottom: 8px;
  color: var(--muted);
}

.divider{
  height: 1px;
  background: rgba(255,79,179,.20);
  margin: 16px 0;
}

.timeline{ padding: 18px; }
.timeline__item{
  display:grid;
  grid-template-columns: 18px 1fr;
  gap: 14px;
  padding: 6px 4px;
}
.timeline__dot{
  width: 12px; height: 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--p1), var(--p2));
  margin-top: 8px;
  box-shadow: 0 0 0 4px rgba(255,79,179,.14);
}
.timeline__content{ padding-bottom: 6px; }
.row{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap: 12px;
}
.jobTitle{ margin: 0; font-size: 1.05rem; }
.company{ margin: 6px 0 0; color: var(--muted); font-weight: 700; }
.date{
  margin: 0;
  color: var(--muted);
  font-weight: 800;
  font-size: .9rem;
  white-space: nowrap;
}

.bullets{ margin: 12px 0 0; padding-left: 18px; }
.bullets li{ margin: 10px 0; }

.langRow{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,79,179,.16);
}
.langRow:last-child{ border-bottom: none; }

.footer{ margin-top: 22px; }
.footer__inner{
  padding: 16px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap: 12px;
}
.footer__links{ display:flex; gap: 12px; flex-wrap:wrap; }
.footer__links a{
  text-decoration:none;
  font-weight: 900;
  color: var(--muted);
}
.footer__links a:hover{ color: var(--text); }

.toast{
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(20,16,27,.72);
  color: #fff;
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 12px 40px rgba(0,0,0,.25);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
  font-weight: 800;
  z-index: 60;
}
.toast.show{
  opacity: 1;
  transform: translateX(-50%) translateY(-4px);
}

/* Responsive */
@media (max-width: 960px){
  .hero{ grid-template-columns: 1fr; }
  .row{ flex-direction: column; }
  .date{ white-space: normal; }
}

@media (max-width: 780px){
  .grid2{ grid-template-columns: 1fr; }
  .topbar__actions .btn{ padding: 10px; }
  .topbar__actions .btn span:not(.icon){ display:none; } /* deja solo iconos en mobile */
  .hero__title{ font-size: 1.75rem; }
}
