/* ============================================================
   PÁGINA PROYECTOS / PORTAFOLIO
   Diseño mobile-first. Escala con min-width (móvil -> desktop).
   ============================================================ */

.pf {
  --pf-red: #c0392b;
  --pf-red-dark: #a01f12;
  --pf-ink: #111827;
  --pf-ink-soft: #44505f;
  --pf-line: #e1e7ef;
  --pf-bg: #f6f8fb;
  --pf-card: #ffffff;
  background: var(--pf-bg);
  color: var(--pf-ink);
}

/* Oculto visualmente pero accesible para lectores de pantalla. */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ============================================================
   DETALLE DE PROYECTO
   Layout: artículo centrado con header, galería protagonista,
   ficha técnica en chips y secciones numeradas.
   ============================================================ */

.pf-detail__article {
  max-width: 960px;
  margin: 0 auto;
  padding: clamp(5rem, 9vw, 7rem) 1.25rem clamp(3rem, 6vw, 5rem);
}

.pf-detail__header {
  margin-bottom: clamp(1.5rem, 4vw, 2.2rem);
}

.pf-detail__back {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--pf-ink-soft);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  padding: 0.4rem 0.7rem 0.4rem 0;
  margin-bottom: 1.4rem;
  border-radius: 6px;
  transition: color 0.18s ease, transform 0.18s ease;
}
.pf-detail__back:hover {
  color: var(--pf-red);
  transform: translateX(-2px);
}
.pf-detail__back i { font-size: 0.85rem; }

.pf-detail__meta-strip {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.9rem;
  padding: 0;
  margin: 0 0 1.1rem;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--pf-ink-soft);
}

.pf-detail__meta-item {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  letter-spacing: 0.02em;
}
.pf-detail__meta-item i {
  font-size: 0.78rem;
  color: #94a0ae;
}
.pf-detail__meta-item--accent {
  color: var(--pf-red);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.pf-detail__meta-item--accent i { color: var(--pf-red); }
.pf-detail__meta-item + .pf-detail__meta-item::before {
  content: '';
  width: 4px;
  height: 4px;
  margin-right: 0.45rem;
  border-radius: 50%;
  background: #cdd5df;
}

.pf-detail__title {
  margin: 0 0 0.85rem;
  color: var(--pf-ink);
  font-size: clamp(1.85rem, 4.2vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.015em;
}

.pf-detail__intro {
  margin: clamp(1.4rem, 3.5vw, 2rem) 0 0;
  max-width: 760px;
  color: var(--pf-ink-soft);
  font-size: clamp(1rem, 2.2vw, 1.12rem);
  line-height: 1.7;
}

/* --- Galería --- */
.pf-gallery { margin: 0; }

.pf-gallery__stage {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: 12px;
  overflow: hidden;
  background: #1a1f2a;
  border: 1px solid var(--pf-line, #e1e7ef);
  box-shadow: 0 18px 45px rgba(17, 24, 39, 0.14);
}

.pf-gallery__main {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  cursor: zoom-in;
  animation: pf-img-fade 0.25s ease;
}

@keyframes pf-img-fade {
  from { opacity: 0.45; }
  to { opacity: 1; }
}

/* Flechas anterior / siguiente sobre la imagen */
.pf-gallery__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 50%;
  background: rgba(17, 24, 39, 0.55);
  color: #fff;
  font-size: 1.05rem;
  cursor: pointer;
  backdrop-filter: blur(3px);
  transition: background 0.2s ease, transform 0.1s ease;
}
.pf-gallery__nav:hover { background: rgba(17, 24, 39, 0.78); }
.pf-gallery__nav:active { transform: translateY(-50%) scale(0.94); }
.pf-gallery__nav--prev { left: 0.6rem; }
.pf-gallery__nav--next { right: 0.6rem; }
.pf-gallery__nav:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.85);
  outline-offset: 2px;
}

/* Botón "ver completa" */
.pf-gallery__expand {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 10px;
  background: rgba(17, 24, 39, 0.55);
  color: #fff;
  font-size: 0.95rem;
  cursor: pointer;
  backdrop-filter: blur(3px);
  transition: background 0.2s ease;
}
.pf-gallery__expand:hover { background: rgba(17, 24, 39, 0.78); }
.pf-gallery__expand:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.85);
  outline-offset: 2px;
}

/* Contador "N / total" */
.pf-gallery__count {
  position: absolute;
  bottom: 0.65rem;
  left: 0.65rem;
  background: rgba(17, 24, 39, 0.62);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  backdrop-filter: blur(3px);
}

.pf-gallery__thumbs {
  list-style: none;
  display: flex;
  gap: 0.5rem;
  margin: 0.75rem 0 0;
  padding: 0 0 0.25rem;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.pf-gallery__thumbs::-webkit-scrollbar { display: none; }

.pf-gallery__thumb {
  flex: 0 0 auto;
  scroll-snap-align: start;
  width: 72px;
  height: 56px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  background: #eef2f7;
  opacity: 0.72;
  transition: opacity 0.18s ease, border-color 0.18s ease, transform 0.1s ease;
}
.pf-gallery__thumb:hover { opacity: 1; }
.pf-gallery__thumb.is-active { opacity: 1; }
.pf-gallery__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.pf-gallery__thumb:hover { border-color: #c9d2dd; }
.pf-gallery__thumb:active { transform: scale(0.96); }
.pf-gallery__thumb.is-active { border-color: var(--pf-red, #c0392b); }
.pf-gallery__thumb:focus-visible {
  outline: 3px solid rgba(192, 57, 43, 0.35);
  outline-offset: 2px;
}

/* Desktop: miniaturas en columna a la izquierda, imagen grande a la derecha. */
@media (min-width: 768px) {
  .pf-gallery[data-gallery] {
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 0.8rem;
    align-items: start;
  }
  .pf-gallery[data-gallery] .pf-gallery__stage {
    grid-column: 2;
    grid-row: 1;
    aspect-ratio: 16 / 10;
  }
  .pf-gallery[data-gallery] .pf-gallery__thumbs {
    grid-column: 1;
    grid-row: 1;
    flex-direction: column;
    overflow-x: visible;
    overflow-y: auto;
    margin: 0;
    padding: 0;
    max-height: 540px;
  }
  .pf-gallery[data-gallery] .pf-gallery__thumb {
    width: 76px;
    height: 58px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pf-gallery__main { animation: none; }
}

/* --- Lightbox (visor a pantalla completa) --- */
.pf-lightbox {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: clamp(0.8rem, 4vw, 2.5rem);
  background: rgba(10, 14, 20, 0.94);
  backdrop-filter: blur(4px);
  touch-action: pan-y;
}
.pf-lightbox.is-open { display: flex; }

.pf-lightbox__img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  animation: pf-img-fade 0.2s ease;
}

.pf-lightbox__close,
.pf-lightbox__nav {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  cursor: pointer;
  border-radius: 50%;
  transition: background 0.2s ease, transform 0.1s ease;
}
.pf-lightbox__close:hover,
.pf-lightbox__nav:hover { background: rgba(255, 255, 255, 0.28); }
.pf-lightbox__close:active,
.pf-lightbox__nav:active { transform: scale(0.94); }
.pf-lightbox__close:focus-visible,
.pf-lightbox__nav:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.9);
  outline-offset: 2px;
}

.pf-lightbox__close {
  top: 0.9rem;
  right: 0.9rem;
  width: 46px;
  height: 46px;
  font-size: 1.3rem;
}

.pf-lightbox__nav {
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  font-size: 1.25rem;
}
.pf-lightbox__nav:active { transform: translateY(-50%) scale(0.94); }
.pf-lightbox__nav--prev { left: 0.7rem; }
.pf-lightbox__nav--next { right: 0.7rem; }

.pf-lightbox__count {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
}

@media (min-width: 640px) {
  .pf-lightbox__close { width: 50px; height: 50px; }
}

/* ---------------- FICHA TÉCNICA ---------------- */
.pf-detail__ficha {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0;
  margin: clamp(1.4rem, 3vw, 2rem) 0 0;
  padding: 1rem 1.2rem;
  background: var(--pf-card);
  border: 1px solid var(--pf-line);
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(17, 24, 39, 0.05);
}

.pf-detail__ficha-item {
  padding: 0.4rem 1rem;
  border-left: 1px solid var(--pf-line);
}
.pf-detail__ficha-item:first-child { border-left: none; }

.pf-detail__ficha-label {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0 0 0.2rem;
  color: var(--pf-ink-soft);
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.pf-detail__ficha-label i {
  font-size: 0.78rem;
  color: var(--pf-red);
}

.pf-detail__ficha-value {
  margin: 0;
  color: var(--pf-ink);
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.35;
}

@media (max-width: 600px) {
  .pf-detail__ficha {
    grid-template-columns: 1fr 1fr;
    padding: 0.5rem 0.5rem;
  }
  .pf-detail__ficha-item {
    padding: 0.7rem 0.9rem;
    border-left: none;
    border-top: 1px solid var(--pf-line);
  }
  .pf-detail__ficha-item:first-child,
  .pf-detail__ficha-item:nth-child(2) { border-top: none; }
  .pf-detail__ficha-item:nth-child(odd) {
    border-right: 1px solid var(--pf-line);
  }
}

/* ---------------- BODY (alcance + steps + cta) ---------------- */
.pf-detail__body {
  margin-top: clamp(2rem, 5vw, 3rem);
}

.pf-detail__section {
  margin-bottom: clamp(1.6rem, 4vw, 2.4rem);
}

.pf-detail__h2 {
  margin: 0 0 1rem;
  color: var(--pf-ink);
  font-size: clamp(1.35rem, 2.6vw, 1.7rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
}

/* Checklist de alcance */
.pf-detail__checklist {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 0.65rem 1.2rem;
  margin: 0;
  padding: 0;
}

.pf-detail__checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  color: var(--pf-ink);
  font-size: 0.98rem;
  line-height: 1.55;
}

.pf-detail__checklist i {
  flex: 0 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  margin-top: 0.18rem;
  border-radius: 50%;
  background: rgba(192, 57, 43, 0.1);
  color: var(--pf-red);
  font-size: 0.72rem;
}

/* Pasos numerados (El proyecto / El trabajo / El resultado) */
.pf-detail__steps {
  display: grid;
  gap: 1rem;
  margin: clamp(1.6rem, 4vw, 2.4rem) 0;
}

.pf-detail__step {
  position: relative;
  background: var(--pf-card);
  border: 1px solid var(--pf-line);
  border-radius: 12px;
  padding: clamp(1.2rem, 3vw, 1.7rem) clamp(1.2rem, 3vw, 1.7rem) clamp(1.2rem, 3vw, 1.7rem) clamp(3.4rem, 7vw, 4.4rem);
  box-shadow: 0 6px 18px rgba(17, 24, 39, 0.05);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.pf-detail__step:hover {
  border-color: #d4dbe4;
  box-shadow: 0 12px 26px rgba(17, 24, 39, 0.08);
}

.pf-detail__step-num {
  position: absolute;
  top: clamp(1.2rem, 3vw, 1.7rem);
  left: clamp(1.2rem, 3vw, 1.7rem);
  color: var(--pf-red);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.pf-detail__step .pf-detail__h2 {
  margin: 0 0 0.55rem;
  font-size: clamp(1.2rem, 2.3vw, 1.45rem);
}

.pf-detail__step p {
  margin: 0;
  color: var(--pf-ink-soft);
  font-size: 1rem;
  line-height: 1.7;
}

/* CTA final del detalle */
.pf-detail__cta {
  margin-top: clamp(2rem, 5vw, 3rem);
  border-radius: 16px;
  background: linear-gradient(135deg, var(--pf-red) 0%, var(--pf-red-dark) 100%);
  box-shadow: 0 20px 45px rgba(160, 31, 18, 0.25);
  overflow: hidden;
}

.pf-detail__cta-inner {
  padding: clamp(1.8rem, 5vw, 2.6rem) clamp(1.3rem, 4vw, 2.4rem);
  color: #fff;
  text-align: center;
}

.pf-detail__cta h2 {
  margin: 0 0 0.55rem;
  font-size: clamp(1.4rem, 4vw, 1.9rem);
  line-height: 1.2;
  color: #fff;
}

.pf-detail__cta p {
  margin: 0 auto 1.4rem;
  max-width: 520px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 1rem;
  line-height: 1.6;
}

.pf-detail__cta-actions {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  align-items: stretch;
}

@media (min-width: 560px) {
  .pf-detail__cta-actions {
    flex-direction: row;
    justify-content: center;
  }
  .pf-detail__cta-actions .pf-btn { min-width: 200px; }
}

/* ---------------- HERO ---------------- */
.pf-hero {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(2.5rem, 11vw, 4.5rem) 1.25rem clamp(1.25rem, 4vw, 2rem);
  text-align: center;
}

.pf-kicker {
  display: inline-block;
  color: var(--pf-red);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-size: 0.76rem;
}

.pf-hero h1 {
  margin: 0.55rem 0 0.85rem;
  color: var(--pf-ink);
  font-size: clamp(2.05rem, 8.5vw, 3.5rem);
  line-height: 1.04;
  letter-spacing: -0.02em;
}

.pf-hero__intro {
  margin: 0 auto;
  max-width: 600px;
  color: var(--pf-ink-soft);
  font-size: clamp(1rem, 3.6vw, 1.1rem);
  line-height: 1.7;
}

/* ---------------- GRID ---------------- */
.pf-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.1rem;
  max-width: 1180px;
  margin: 0 auto;
  padding: 1.2rem 1.25rem clamp(2.5rem, 7vw, 4.5rem);
}

/* ---------------- CARD ---------------- */
.pf-card {
  display: flex;
  flex-direction: column;
  background: var(--pf-card);
  border: 1px solid var(--pf-line);
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 6px 18px rgba(17, 24, 39, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.pf-card[hidden] {
  display: none !important;
}

.pf-card:hover,
.pf-card:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 22px 40px rgba(17, 24, 39, 0.14);
  border-color: #d4dbe4;
}

.pf-card:focus-visible {
  outline: 3px solid rgba(192, 57, 43, 0.35);
  outline-offset: 2px;
}

.pf-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #eef2f7;
}

.pf-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.pf-card:hover .pf-card__media img {
  transform: scale(1.06);
}

.pf-card__badge {
  position: absolute;
  top: 0.8rem;
  left: 0.8rem;
  background: rgba(17, 24, 39, 0.78);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  backdrop-filter: blur(4px);
}

.pf-card__count {
  position: absolute;
  bottom: 0.8rem;
  right: 0.8rem;
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  background: rgba(17, 24, 39, 0.78);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 800;
  padding: 0.32rem 0.65rem;
  border-radius: 999px;
  backdrop-filter: blur(4px);
  transition: background 0.2s ease;
}
.pf-card__count i { font-size: 0.78rem; }
.pf-card:hover .pf-card__count { background: rgba(192, 57, 43, 0.92); }

.pf-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.1rem 1.2rem 1.25rem;
  flex: 1;
}

.pf-card__title {
  margin: 0;
  font-size: 1.16rem;
  line-height: 1.25;
  color: var(--pf-ink);
}

.pf-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  margin: 0;
  color: var(--pf-ink-soft);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.pf-card__meta-sep { color: #c0c8d2; }

.pf-card__text {
  margin: 0;
  color: var(--pf-ink-soft);
  font-size: 0.95rem;
  line-height: 1.6;
}

.pf-card__cta {
  margin-top: auto;
  padding-top: 0.55rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--pf-red);
  font-weight: 800;
  font-size: 0.93rem;
}

.pf-card__cta i {
  transition: transform 0.2s ease;
}

.pf-card:hover .pf-card__cta i {
  transform: translateX(4px);
}

/* ---------------- AVISOS / VACÍO ---------------- */
.pf-notice {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.pf-aviso {
  background: #fef2f2;
  border: 1px solid #fca5a5;
  color: #991b1b;
  border-radius: 12px;
  padding: 0.9rem 1.1rem;
  font-weight: 600;
}

.pf-empty {
  background: #fff;
  border: 1px dashed var(--pf-line);
  border-radius: 12px;
  padding: 1.6rem;
  text-align: center;
  color: var(--pf-ink-soft);
}

.pf-empty a {
  color: var(--pf-red);
  font-weight: 800;
}

/* ---------------- CTA FINAL ---------------- */
.pf-cta-wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.25rem clamp(3rem, 8vw, 5rem);
}

.pf-cta {
  border-radius: 18px;
  background: linear-gradient(135deg, var(--pf-red) 0%, var(--pf-red-dark) 100%);
  color: #fff;
  text-align: center;
  padding: clamp(1.9rem, 6vw, 3rem) clamp(1.3rem, 4vw, 2.5rem);
  box-shadow: 0 20px 45px rgba(160, 31, 18, 0.28);
}

.pf-cta h2 {
  margin: 0 0 0.55rem;
  font-size: clamp(1.5rem, 5.5vw, 2.2rem);
  line-height: 1.15;
}

.pf-cta p {
  margin: 0 auto 1.4rem;
  max-width: 520px;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.6;
}

.pf-cta__actions {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  align-items: stretch;
}

.pf-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 52px;
  padding: 0.9rem 1.4rem;
  border-radius: 12px;
  font-weight: 800;
  font-size: 1rem;
  text-decoration: none;
  transition: transform 0.12s ease, opacity 0.2s ease;
}

.pf-btn:active {
  transform: scale(0.98);
}

.pf-btn--primary {
  background: #fff;
  color: var(--pf-red);
}

.pf-btn--ghost {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.pf-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* ---------------- RESPONSIVE (escala hacia arriba) ---------------- */
@media (min-width: 640px) {
  .pf-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.3rem;
  }

  .pf-cta__actions {
    flex-direction: row;
    justify-content: center;
  }

  .pf-btn {
    min-width: 210px;
  }
}

@media (min-width: 1024px) {
  .pf-hero {
    padding-top: clamp(4rem, 7vw, 6rem);
  }

  .pf-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.6rem;
  }
}

/* ---------------- ANIMACIÓN DE ENTRADA (autocontenida) ---------------- */
@media (prefers-reduced-motion: no-preference) {
  .pf-card {
    animation: pf-fade-up 0.5s ease both;
  }

  .pf-card:nth-child(2) { animation-delay: 0.05s; }
  .pf-card:nth-child(3) { animation-delay: 0.1s; }
  .pf-card:nth-child(4) { animation-delay: 0.15s; }
  .pf-card:nth-child(5) { animation-delay: 0.2s; }
  .pf-card:nth-child(6) { animation-delay: 0.25s; }

  @keyframes pf-fade-up {
    from {
      opacity: 0;
      transform: translateY(16px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}
