/* ============================================================
   VN23 — Plan del proyecto (Intro, Brief, User Persona, Benchmarking)
   Sistema visual "Chispa" · DGPC Cátedra Ocampo
   ============================================================ */

:root {
  --navy:        #1A4A92;
  --navy-dark:   #0F2F5E;
  --lime:        #EAFF8F;
  --lime-dark:   #9FB84A;
  --lavender:    #B8A0FF;
  --pink:        #EFB4EA;
  --sky:         #C8DCF5;
  --cream:       #FFF8E1;

  --bg:          #FAFAFA;
  --surface:     #FFFFFF;
  --text:        #14213D;
  --text-soft:   #5A6478;
  --text-muted:  #97A0B3;
  --border:      rgba(20,33,61,0.10);
  --border-strong: rgba(20,33,61,0.18);

  --font: 'Inter', system-ui, sans-serif;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --container: 1020px;
}

* , *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ─── TOPBAR ─────────────────────────────────────────────── */
.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem clamp(1.25rem, 4vw, 2.5rem);
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.topbar-brand { display: flex; align-items: baseline; gap: .6rem; }
.brand-mark { font-weight: 900; font-size: 1.15rem; letter-spacing: -0.02em; color: var(--navy); }
.brand-label { font-size: 12px; font-weight: 500; color: var(--text-muted); }

.nav-main { list-style: none; display: flex; gap: .35rem; }

.nav-main a {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-soft);
  padding: .5rem 1.1rem;
  border-radius: 100px;
  border: 1.5px solid transparent;
  transition: all .18s;
}

.nav-main a:hover,
.nav-main a.active {
  color: var(--navy);
  background: var(--sky);
  border-color: var(--sky);
}

/* ─── HERO ───────────────────────────────────────────────── */
.hero {
  background: var(--navy);
  padding: clamp(3rem, 7vw, 5.5rem) clamp(1.25rem, 4vw, 2.5rem) clamp(2.5rem, 5vw, 4rem);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  width: 480px; height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(184,160,255,0.35), transparent 70%);
  top: -220px; right: -120px;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  width: 360px; height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(234,255,143,0.18), transparent 70%);
  bottom: -180px; left: -100px;
  pointer-events: none;
}

.hero-eyebrow {
  position: relative;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 1rem;
}

.hero-title {
  position: relative;
  font-weight: 900;
  font-size: clamp(2.6rem, 7vw, 4.5rem);
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: #FFFFFF;
  margin-bottom: .85rem;
}

.hero-title span { color: var(--lime); }

.hero-logo {
  position: relative;
  display: block;
  width: clamp(220px, 32vw, 360px);
  height: auto;
  margin: 0 auto .85rem;
}

.hero-sub {
  position: relative;
  font-size: 15px;
  color: rgba(255,255,255,0.7);
  max-width: 520px;
  margin: 0 auto;
}

/* ─── MAIN ───────────────────────────────────────────────── */
.main-container {
  max-width: var(--container);
  margin: 0 auto;
  padding: clamp(2.5rem, 6vw, 4rem) clamp(1.25rem, 4vw, 2.5rem);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(20,33,61,0.04);
}

.card-header {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: 1.4rem 2rem;
  border-bottom: 1px solid var(--border);
}

.card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--sky);
  color: var(--navy);
  flex-shrink: 0;
}

.card-icon svg { width: 17px; height: 17px; }

.card-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text);
}

.card-body { padding: 2rem; }

/* ─── INTRODUCCIÓN ───────────────────────────────────────── */
.intro-lead {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.45;
  margin-bottom: 1rem;
}

.intro-text {
  font-size: 14.5px;
  color: var(--text-soft);
  line-height: 1.75;
  max-width: 740px;
}

/* ─── BRIEF ──────────────────────────────────────────────── */
.brief-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.brief-item {
  padding: 1.5rem;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--border);
}

.brief-item--problem { background: var(--cream); border-color: rgba(184,134,11,0.18); }
.brief-item--solution { background: var(--sky); border-color: var(--sky); }

.brief-item h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: .75rem;
}

.brief-item p {
  font-size: 13.5px;
  color: var(--text-soft);
  line-height: 1.65;
  margin-bottom: .75rem;
}

.brief-consequence-label {
  font-weight: 700;
  color: var(--text);
  font-size: 13px;
  margin-bottom: .4rem !important;
}

.brief-list {
  display: flex;
  flex-direction: column;
  gap: .4rem;
}

.brief-list li {
  font-size: 13px;
  color: var(--text-soft);
  padding-left: 1.1rem;
  position: relative;
  line-height: 1.5;
}

.brief-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--navy);
}

.objectives-block h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 1rem;
}

.objectives-grid {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: 1.75rem;
}

.objective-chip {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--navy);
  background: var(--lime);
  padding: .5rem 1.1rem;
  border-radius: 100px;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.1rem;
}

.pillar {
  padding: 1.1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
}

.pillar--highlight {
  background: var(--navy);
  border-color: var(--navy);
}

.pillar h4 {
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: .5rem;
}

.pillar--highlight h4 { color: var(--lime); }

.pillar p {
  font-size: 12.5px;
  color: var(--text-soft);
  line-height: 1.6;
}

.pillar--highlight p {
  color: rgba(255,255,255,0.85);
  font-weight: 500;
}

/* ─── USER PERSONA ───────────────────────────────────────── */
.persona-grid {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 2rem;
}

.persona-profile {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--cream);
  border-radius: var(--radius-md);
}

.persona-photo {
  position: relative;
  width: 110px; height: 110px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--lavender);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid var(--lavender);
}

.persona-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  position: relative;
  z-index: 2;
}

.persona-initials {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.4rem;
  color: #FFFFFF;
}

.persona-name {
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--navy);
}

.persona-facts {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  width: 100%;
  text-align: left;
}

.persona-facts div {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  border-bottom: 1px solid var(--border);
  padding-bottom: .3rem;
}

.persona-facts dt { color: var(--text-muted); font-weight: 700; }
.persona-facts dd { color: var(--text); font-weight: 500; }

.persona-quote {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  font-style: italic;
  line-height: 1.5;
  padding: 1.1rem 1.4rem;
  background: var(--sky);
  border-radius: var(--radius-md);
  border-left: 4px solid var(--navy);
  margin-bottom: 1.5rem;
}

.persona-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.persona-col h4 {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: .6rem;
  text-transform: uppercase;
  letter-spacing: .03em;
}

.persona-col p,
.persona-col li {
  font-size: 12.5px;
  color: var(--text-soft);
  line-height: 1.55;
}

.persona-col ul {
  display: flex;
  flex-direction: column;
  gap: .35rem;
}

.persona-col ul li {
  padding-left: .9rem;
  position: relative;
}

.persona-col ul li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--pink);
  font-weight: 900;
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
}

.tag-cloud span {
  font-size: 11px;
  font-weight: 600;
  color: var(--navy);
  background: var(--lavender);
  padding: .25rem .65rem;
  border-radius: 100px;
  opacity: 0.85;
}

.persona-extra {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}

.persona-extra span {
  font-size: 12px;
  color: var(--text-soft);
}

.persona-extra strong {
  color: var(--text);
  font-weight: 700;
}

/* ─── BENCHMARKING ───────────────────────────────────────── */
.bench-intro {
  font-size: 14px;
  color: var(--text-soft);
  line-height: 1.7;
  max-width: 760px;
  margin-bottom: 1.75rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.bench-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.bench-card {
  padding: 1.5rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  transition: all .2s;
}

.bench-card:hover {
  border-color: var(--navy);
  transform: translateY(-3px);
  box-shadow: 0 8px 18px rgba(20,33,61,0.07);
}

.bench-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  padding: .35rem .9rem;
  border-radius: 100px;
  margin-bottom: .9rem;
  color: var(--navy-dark);
}

.bench-tag--lavender { background: var(--lavender); color: #FFFFFF; }
.bench-tag--pink { background: var(--pink); }
.bench-tag--sky { background: var(--sky); }

.bench-card p {
  font-size: 13px;
  color: var(--text-soft);
  line-height: 1.65;
}

/* ─── SISTEMA VISUAL ─────────────────────────────────────── */
.system-grid {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.system-block h3 {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: .9rem;
}

.color-row {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
}

.color-chip {
  width: 100px;
  height: 60px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: flex-end;
  padding: .4rem .5rem;
  color: #FFFFFF;
  font-size: 10.5px;
  font-weight: 700;
  border: 1px solid var(--border);
}

.type-sample {
  padding: .5rem 0;
  border-bottom: 1px solid var(--border);
}

.type-sample--black {
  font-weight: 900;
  font-size: 1.15rem;
  color: var(--navy);
}

.type-sample--bold {
  font-weight: 700;
  font-size: .95rem;
  color: var(--text);
}

.type-sample--regular {
  font-weight: 400;
  font-size: .85rem;
  color: var(--text-soft);
  border-bottom: none;
}

.component-row {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
}

.btn-demo {
  font-size: 12.5px;
  font-weight: 700;
  padding: .55rem 1.2rem;
  border-radius: 100px;
  display: inline-block;
}

.btn-demo--primary { background: var(--navy); color: #FFFFFF; }
.btn-demo--lime { background: var(--lime); color: var(--navy-dark); }
.btn-demo--outline { background: transparent; color: var(--navy); border: 1.5px solid var(--navy); }
.btn-demo--ghost { background: transparent; color: var(--text-soft); border: 1.5px solid var(--border-strong); }

/* ─── FOOTER ─────────────────────────────────────────────── */
.main-footer {
  background: var(--navy-dark);
  padding: 2.25rem clamp(1.25rem, 4vw, 2.5rem);
  text-align: center;
}

.footer-inst {
  font-size: 13px;
  font-weight: 700;
  color: var(--lime);
  margin-bottom: .6rem;
  letter-spacing: .02em;
}

.footer-legal {
  font-size: 12px;
  color: rgba(255,255,255,0.45);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ─── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 900px) {
  .brief-grid { grid-template-columns: 1fr; }
  .pillars-grid { grid-template-columns: repeat(2, 1fr); }
  .persona-grid { grid-template-columns: 1fr; }
  .persona-cols { grid-template-columns: repeat(2, 1fr); }
  .bench-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .nav-main { gap: .15rem; }
  .nav-main a { padding: .4rem .7rem; font-size: 12px; }
  .brand-label { display: none; }
  .card-header { padding: 1.1rem 1.25rem; }
  .card-body { padding: 1.25rem; }
  .pillars-grid { grid-template-columns: 1fr; }
  .persona-cols { grid-template-columns: 1fr; }
  .color-chip { width: 80px; height: 50px; }
}

/* ─── FADE IN ────────────────────────────────────────────── */
@media (prefers-reduced-motion: no-preference) {
  .card {
    opacity: 0;
    transform: translateY(14px);
    animation: fadeUp .5s ease forwards;
  }
  .card:nth-child(1) { animation-delay: .05s; }
  .card:nth-child(2) { animation-delay: .12s; }
  .card:nth-child(3) { animation-delay: .19s; }
  .card:nth-child(4) { animation-delay: .26s; }
  .card:nth-child(5) { animation-delay: .33s; }
}

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}
