/* Portafolio — estilos aislados del layout general
   Mantiene estética "oscura/dorada" sin romper el resto del sitio. */

:root {
  --pf-yellow: #ffd700;
  --pf-gray: rgba(240, 237, 228, 0.86);
  --pf-dark: #080808;
  --pf-glow: rgba(255, 215, 0, 0.4);
}

.pf-page {
  padding-top: 108px; /* nav fixed */
  padding-bottom: 72px;
}

.pf-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding-inline: 16px;
}

.pf-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--pf-yellow);
  margin-bottom: 14px;
}
.pf-kicker::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--pf-yellow);
}

.pf-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(42px, 5.2vw, 72px);
  line-height: 1.02;
  letter-spacing: 0.02em;
  margin-bottom: 12px;
  background: none !important;
  -webkit-background-clip: unset !important;
  background-clip: unset !important;
  -webkit-text-fill-color: currentColor !important;
  color: rgba(240,237,228,0.98);
}

.pf-lead {
  color: rgba(240,237,228,0.65);
  font-size: 16px;
  line-height: 1.8;
  max-width: 75ch;
  margin-bottom: 28px;
}

.pf-section-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(24px, 3.5vw, 34px);
  letter-spacing: 0.06em;
  margin: 38px 0 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(245,197,66,0.22);
  background: none !important;
  -webkit-background-clip: unset !important;
  background-clip: unset !important;
  -webkit-text-fill-color: currentColor !important;
  color: rgba(240,237,228,0.96);
}

.pf-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 16px;
}

.pf-card {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 14px;
  padding: 18px 18px 16px;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  position: relative;
  overflow: hidden;
}
.pf-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(245,197,66,0.10) 0%, transparent 55%);
  opacity: 0;
  transition: opacity 0.35s ease;
}
.pf-card:hover {
  transform: translateY(-3px);
  border-color: rgba(245,197,66,0.22);
  box-shadow: 0 18px 48px rgba(0,0,0,0.35);
}
.pf-card:hover::before { opacity: 1; }

.pf-card > * { position: relative; z-index: 1; }

.pf-card h3 {
  margin: 0 0 10px;
  font-size: 16px;
  font-weight: 700;
  color: rgba(240,237,228,0.96);
  background: none !important;
  -webkit-background-clip: unset !important;
  background-clip: unset !important;
  -webkit-text-fill-color: currentColor !important;
}

.pf-card p {
  margin: 0;
  color: rgba(240,237,228,0.78);
  line-height: 1.75;
  font-size: 14px;
}

.pf-cta {
  margin-top: 34px;
  border: 1px solid rgba(245,197,66,0.22);
  border-radius: 18px;
  padding: 18px;
  background: linear-gradient(135deg, rgba(245,197,66,0.10) 0%, rgba(255,255,255,0.02) 60%);
}
.pf-cta h2 {
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 1.35;
  background: none !important;
  -webkit-background-clip: unset !important;
  background-clip: unset !important;
  -webkit-text-fill-color: currentColor !important;
  color: rgba(240,237,228,0.96);
}
.pf-cta p {
  margin: 0 0 12px;
  color: rgba(240,237,228,0.78);
  line-height: 1.75;
}
.pf-cta-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

@media (max-width: 900px) {
  .pf-page { padding-top: 94px; }
}

