/* Layout: plano de ingeniería — banda azul con retícula técnica en el inicio, secciones claras con columnas que se apilan en móvil */
:root {
  --navy: #0B2A4A;
  --navy-2: #12355B;
  --red: #C8102E;
  --red-ink: #A50D26;
  --paper: #FFFFFF;
  --mist: #EEF2F7;
  --line: #D5DEE8;
  --ink: #1A2330;
  --ink-soft: #46525F;
  --on-navy: #FFFFFF;
  --on-navy-soft: #C9D6E4;
  --font-display: "Archivo", "Arial Narrow", "Helvetica Neue", sans-serif;
  --font-body: "IBM Plex Sans", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --wrap: 1120px;
  --gutter-l: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--navy); }
a:hover { color: var(--red-ink); }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.1; text-wrap: balance; margin: 0; }
p { margin: 0; text-wrap: pretty; }

.wrap {
  max-width: var(--wrap);
  margin-inline: auto;
  padding-left: var(--gutter-l);
  padding-right: var(--gutter-r);
}

/* ---------- Encabezado ---------- */
.site-header {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 50;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
}
.brand {
  display: flex;
  align-items: baseline;
  gap: 10px;
  text-decoration: none;
  color: var(--navy);
}
.brand strong { font-family: var(--font-display); font-weight: 800; font-size: 1.25rem; letter-spacing: -0.01em; }
.brand span { font-family: var(--font-mono); font-size: 0.75rem; color: var(--red-ink); letter-spacing: 0.04em; }
.brand:hover { color: var(--navy); }

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--navy);
  border-radius: 6px;
  cursor: pointer;
}
.nav-toggle svg { width: 22px; height: 22px; }

.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.site-nav a {
  display: block;
  padding: 10px 12px;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--ink-soft);
  border-bottom: 2px solid transparent;
}
.site-nav a:hover { color: var(--navy); }
.site-nav a.is-active { color: var(--navy); border-bottom-color: var(--red); }
.site-nav a.nav-cta {
  background: var(--navy);
  color: var(--on-navy);
  border-radius: 6px;
  border-bottom: 0;
  margin-left: 8px;
}
.site-nav a.nav-cta:hover { background: var(--navy-2); color: var(--on-navy); }

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding-left: var(--gutter-l);
    padding-right: var(--gutter-r);
    padding-block: 8px 16px;
  }
  .site-nav[data-open="false"] { display: none; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav a { padding: 12px 4px; border-bottom: 1px solid var(--line); }
  .site-nav a.is-active { border-bottom-color: var(--red); }
  .site-nav a.nav-cta { margin: 12px 0 0 0; text-align: center; }
}

/* ---------- Inicio ---------- */
.hero {
  background-color: var(--navy);
  background-image:
    linear-gradient(rgba(201, 214, 228, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 214, 228, 0.08) 1px, transparent 1px),
    linear-gradient(rgba(201, 214, 228, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 214, 228, 0.04) 1px, transparent 1px);
  background-size: 96px 96px, 96px 96px, 24px 24px, 24px 24px;
  color: var(--on-navy);
}
.hero .wrap {
  padding-block: 64px 56px;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.9fr);
  gap: 48px;
  align-items: center;
}
.hero-copy { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #F2C4CB;
}
.hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.2rem); font-weight: 700; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.tags li {
  font-size: 0.85rem;
  font-weight: 500;
  padding: 4px 12px;
  border: 1px solid rgba(201, 214, 228, 0.45);
  border-radius: 999px;
  color: var(--on-navy-soft);
}
.tags li:first-child { background: var(--red); border-color: var(--red); color: var(--on-navy); }
.lema {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.2rem, 5.6vw, 4rem);
  line-height: 1;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.lema em { font-style: normal; color: #FF8A9B; }
.hero-text { color: var(--on-navy-soft); font-size: 1.08rem; max-width: 60ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  font-size: 1rem;
  border: 2px solid transparent;
  cursor: pointer;
  font-family: var(--font-body);
}
.btn-primary { background: var(--red); color: var(--on-navy); }
.btn-primary:hover { background: var(--red-ink); color: var(--on-navy); }
.btn-ghost { border-color: rgba(201, 214, 228, 0.6); color: var(--on-navy); }
.btn-ghost:hover { border-color: var(--on-navy); color: var(--on-navy); }
.btn-dark { background: var(--navy); color: var(--on-navy); }
.btn-dark:hover { background: var(--navy-2); color: var(--on-navy); }
.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--mist); color: var(--navy); }
.profile-links { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 0.9rem; }
.profile-links a { color: var(--on-navy-soft); text-underline-offset: 3px; }
.profile-links a:hover { color: var(--on-navy); }

.hero-figure { margin: 0; justify-self: end; width: 100%; max-width: 380px; position: relative; }
.photo-arch {
  position: relative;
  aspect-ratio: 1 / 1;
  max-width: 100%;
  border-radius: 200px 200px 4px 4px;
  background: linear-gradient(180deg, #2A5A8C 0%, #1B4370 100%);
  border-bottom: 6px solid var(--red);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.photo-arch img { width: 100%; height: auto; display: block; }
.hero-figure figcaption {
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--on-navy-soft);
  letter-spacing: 0.03em;
}

.facts { background: var(--mist); border-bottom: 1px solid var(--line); }
.facts .wrap { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.fact { padding-block: 20px; padding-inline: 20px; border-left: 1px solid var(--line); display: flex; flex-direction: column; gap: 2px; }
.fact:first-child { border-left: 0; padding-left: 0; }
.fact b { font-family: var(--font-display); font-size: 1.35rem; color: var(--navy); font-weight: 800; }
.fact span { font-size: 0.88rem; color: var(--ink-soft); line-height: 1.35; }

@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: minmax(0, 1fr); gap: 36px; padding-block: 40px 44px; }
  .hero-figure { justify-self: start; max-width: 300px; order: -1; }
  .facts .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fact { padding-inline: 12px; }
  .fact:nth-child(odd) { border-left: 0; padding-left: 0; }
  .fact:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* ---------- Secciones ---------- */
.section { padding-block: 80px; }
.section.alt { background: var(--mist); }
.section-head { display: flex; flex-direction: column; gap: 12px; margin-bottom: 40px; max-width: 70ch; }
.kicker {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red-ink);
}
.section h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); color: var(--navy); font-weight: 800; }
.section-head p { color: var(--ink-soft); font-size: 1.08rem; }
@media (max-width: 600px) { .section { padding-block: 56px; } }

.idea {
  margin: 0 0 48px 0;
  padding: 28px 32px;
  background: var(--navy);
  color: var(--on-navy);
  border-radius: 4px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 24px;
  align-items: center;
}
.idea-label { font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: #F2C4CB; writing-mode: vertical-rl; transform: rotate(180deg); }
.idea p { font-family: var(--font-display); font-size: clamp(1.25rem, 2.4vw, 1.7rem); font-weight: 600; line-height: 1.3; }
@media (max-width: 600px) {
  .idea { grid-template-columns: minmax(0, 1fr); padding: 22px 20px; gap: 10px; }
  .idea-label { writing-mode: horizontal-tb; transform: none; }
}

.commitments { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.commitment {
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 4px solid var(--navy);
  padding: 26px 26px 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}
.commitment header { display: flex; gap: 14px; align-items: baseline; }
.commitment .num { font-family: var(--font-display); font-weight: 800; font-size: 2.2rem; color: var(--red); line-height: 1; }
.commitment h3 { font-size: 1.3rem; color: var(--navy); font-weight: 700; }
.commitment .problem { color: var(--ink-soft); font-size: 0.97rem; }
.commitment ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }
.commitment li::marker { color: var(--red); }
.commitment .goal {
  margin-top: auto;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--navy);
  background: var(--mist);
  padding: 10px 14px;
  border-radius: 4px;
}
.commitment .goal span { font-family: var(--font-mono); font-weight: 500; font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--red-ink); margin-right: 6px; }
@media (max-width: 760px) { .commitments { grid-template-columns: minmax(0, 1fr); } }

.subhead { font-size: 1.5rem; color: var(--navy); font-weight: 800; margin: 64px 0 24px; }

.days { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; counter-reset: day; }
.days li { counter-increment: day; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.days li::before {
  content: counter(day);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--on-navy);
  font-family: var(--font-display);
  font-weight: 800;
  display: grid;
  place-items: center;
  box-shadow: 0 0 0 6px var(--paper);
  position: relative;
  z-index: 1;
}
.days-track { position: relative; }
.days-track::before { content: ""; position: absolute; left: 20px; right: 20px; top: 19px; height: 2px; background: var(--line); }
.days strong { color: var(--navy); display: block; }
.days p { font-size: 0.95rem; color: var(--ink-soft); }
@media (max-width: 860px) {
  .days { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .days li { flex-direction: row; align-items: flex-start; gap: 16px; }
  .days li::before { flex: none; }
  .days-track::before { left: 19px; right: auto; top: 20px; bottom: 20px; width: 2px; height: auto; }
}

.roadmap { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.year { background: var(--mist); padding: 24px; border-radius: 4px; display: flex; flex-direction: column; gap: 10px; }
.year h4 { margin: 0; display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.year h4 b { font-family: var(--font-display); font-size: 2rem; color: var(--navy); font-weight: 800; font-variant-numeric: tabular-nums; }
.year h4 span { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--red-ink); }
.year ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 4px; font-size: 0.97rem; }
.year li::marker { color: var(--red); }
@media (max-width: 860px) { .roadmap { grid-template-columns: minmax(0, 1fr); } }

.plan-cta { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; }
.plan-cta p { color: var(--ink-soft); }

/* ---------- Trayectoria ---------- */
.career { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 0.8fr); gap: 40px; align-items: start; }
.career h3 { font-size: 1.15rem; color: var(--navy); margin-bottom: 18px; font-weight: 700; display: flex; align-items: center; gap: 10px; }
.career h3::before { content: ""; width: 18px; height: 3px; background: var(--red); }
.timeline { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--line); display: flex; flex-direction: column; gap: 18px; }
.timeline li { position: relative; padding-left: 20px; }
.timeline li::before { content: ""; position: absolute; left: -6px; top: 8px; width: 10px; height: 10px; border-radius: 50%; background: var(--paper); border: 2px solid var(--navy); }
.timeline li.now::before { background: var(--red); border-color: var(--red); }
.timeline time { font-family: var(--font-mono); font-size: 0.8rem; color: var(--red-ink); font-variant-numeric: tabular-nums; display: block; }
.timeline strong { display: block; color: var(--navy); line-height: 1.35; }
.timeline span { font-size: 0.93rem; color: var(--ink-soft); }
.career-figure { margin: 0; display: flex; flex-direction: column; gap: 12px; }
.photo-panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-bottom: 4px solid var(--red);
  border-radius: 4px;
  padding-top: 20px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
}
.photo-panel img { width: 92%; height: auto; display: block; }
.career-figure blockquote { margin: 0; font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; color: var(--navy); line-height: 1.3; border-left: 3px solid var(--red); padding-left: 14px; }
@media (max-width: 960px) {
  .career { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .career-figure { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 240px) minmax(0, 1fr); align-items: center; gap: 20px; }
}
@media (max-width: 640px) {
  .career { grid-template-columns: minmax(0, 1fr); }
  .career-figure { grid-template-columns: minmax(0, 1fr); }
  .career-figure .photo-panel { max-width: 320px; }
}

/* ---------- Resultados ---------- */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat { padding: 28px 24px; border-left: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat b { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.4rem, 5vw, 3.4rem); color: var(--navy); line-height: 1; font-variant-numeric: tabular-nums; }
.stat strong { color: var(--ink); font-size: 1rem; }
.stat span { color: var(--ink-soft); font-size: 0.9rem; line-height: 1.4; }
@media (max-width: 860px) {
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat { padding: 22px 14px; }
  .stat:nth-child(odd) { border-left: 0; padding-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
}
.teaching { margin-top: 36px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.teaching div { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.teaching h3 { font-size: 1.05rem; color: var(--navy); font-weight: 700; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.chips li { font-size: 0.88rem; padding: 5px 12px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); }
@media (max-width: 640px) { .teaching { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Impacto ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.filter {
  min-height: 44px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  font: 500 0.92rem var(--font-body);
  cursor: pointer;
}
.filter:hover { border-color: var(--navy); }
.filter[aria-pressed="true"] { background: var(--navy); color: var(--on-navy); border-color: var(--navy); }
.filter .count { font-family: var(--font-mono); font-size: 0.78rem; opacity: 0.75; margin-left: 4px; }
.projects { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.project {
  border: 1px solid var(--line);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--paper);
  min-width: 0;
}
.project .meta { display: flex; justify-content: space-between; gap: 10px; font-family: var(--font-mono); font-size: 0.78rem; color: var(--red-ink); flex-wrap: wrap; }
.project h3 { font-size: 1.12rem; color: var(--navy); font-weight: 700; line-height: 1.25; }
.project p { font-size: 0.95rem; color: var(--ink-soft); }
.project .role { margin-top: auto; font-size: 0.85rem; font-weight: 600; color: var(--ink); padding-top: 8px; border-top: 1px dashed var(--line); }
.project a { font-size: 0.9rem; font-weight: 600; }
@media (max-width: 960px) { .projects { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .projects { grid-template-columns: minmax(0, 1fr); } }

.awards { margin-top: 48px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.award { display: flex; gap: 14px; align-items: flex-start; min-width: 0; }
.award svg { flex: none; width: 32px; height: 32px; color: var(--red); }
.award b { font-family: var(--font-mono); font-size: 0.8rem; color: var(--red-ink); display: block; }
.award strong { color: var(--navy); display: block; line-height: 1.3; }
.award span { font-size: 0.9rem; color: var(--ink-soft); }
@media (max-width: 760px) { .awards { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Contacto ---------- */
.contact { background: var(--navy); color: var(--on-navy); }
.contact .wrap { padding-block: 80px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 48px; }
.contact h2 { color: var(--on-navy); font-size: clamp(1.8rem, 3.6vw, 2.6rem); font-weight: 800; }
.contact .kicker { color: #F2C4CB; }
.contact-info { display: flex; flex-direction: column; gap: 18px; }
.contact-info p { color: var(--on-navy-soft); font-size: 1.05rem; }
.mail-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.mail-row code { font-family: var(--font-mono); font-size: 1rem; background: rgba(255, 255, 255, 0.08); padding: 8px 12px; border-radius: 4px; user-select: all; }
.copy-btn { min-height: 44px; padding: 8px 14px; border-radius: 6px; border: 1px solid rgba(201, 214, 228, 0.6); background: transparent; color: var(--on-navy); font: 600 0.9rem var(--font-body); cursor: pointer; }
.copy-btn:hover { border-color: var(--on-navy); }
.contact-form { background: var(--paper); color: var(--ink); padding: 28px; border-radius: 4px; display: flex; flex-direction: column; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-weight: 600; font-size: 0.92rem; color: var(--navy); }
.field input, .field textarea {
  font: 1rem var(--font-body);
  padding: 12px 14px;
  border: 1px solid #A9B7C6;
  border-radius: 4px;
  background: var(--paper);
  color: var(--ink);
  width: 100%;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: 2px solid var(--navy); outline-offset: 1px; border-color: var(--navy); }
.form-note { font-size: 0.88rem; color: var(--ink-soft); }
.form-status { font-size: 0.92rem; color: var(--navy); font-weight: 600; }
@media (max-width: 860px) { .contact .wrap { grid-template-columns: minmax(0, 1fr); padding-block: 56px; } }

/* ---------- Pie ---------- */
.site-footer { background: #071C33; color: var(--on-navy-soft); font-size: 0.92rem; }
.site-footer .wrap { padding-block: 40px; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr); gap: 32px; }
.site-footer strong { color: var(--on-navy); font-family: var(--font-display); font-size: 1.1rem; display: block; margin-bottom: 6px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.site-footer a { color: var(--on-navy-soft); }
.site-footer a:hover { color: var(--on-navy); }
.site-footer .legal { grid-column: 1 / -1; border-top: 1px solid rgba(201, 214, 228, 0.2); padding-top: 18px; font-size: 0.85rem; }
@media (max-width: 760px) { .site-footer .wrap { grid-template-columns: minmax(0, 1fr); } }

.to-top {
  position: fixed;
  right: calc(16px + env(safe-area-inset-right, 0px));
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 0;
  background: var(--red);
  color: var(--on-navy);
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(11, 42, 74, 0.3);
  z-index: 40;
}
.to-top svg { width: 22px; height: 22px; }

/* La última tarjeta no queda sola en su fila */
@media (min-width: 961px) { .project:last-child:nth-child(3n+1) { grid-column: 1 / -1; } }
@media (min-width: 641px) and (max-width: 960px) { .project:last-child:nth-child(2n+1) { grid-column: 1 / -1; } }
