/* ==========================================================================
   00. LIGHT STUDIO NAVBAR & CONCEPT HERO SHOWCASE (MOCKUP EDITION)
   ========================================================================== */
.portfolio-page #globalNavbar {
  background: rgba(246, 247, 249, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.portfolio-page #globalNavbar .nav-brand-logo.pf-nav-logo-light {
  height: 36px;
  width: auto;
  filter: none;
}

.portfolio-page #globalNavbar .nav-link {
  color: #1a1a1e;
  font-weight: 600;
}

.portfolio-page #globalNavbar .nav-link:hover {
  color: var(--accent-blue);
}

.portfolio-page #globalNavbar .nav-link.is-active {
  color: #0a0a0c;
  position: relative;
}

.portfolio-page #globalNavbar .nav-link.is-active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent-blue);
  border-radius: 2px;
}

.portfolio-page #globalNavbar .nav-lang-btn {
  color: #555963;
}

.portfolio-page #globalNavbar .nav-lang-btn.is-active {
  color: #0a0a0c;
  font-weight: 700;
}

.portfolio-page #globalNavbar .nav-cta {
  background: var(--accent-blue);
  color: #ffffff;
  border-radius: 999px;
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(0, 113, 227, 0.35);
  border: none;
}

.portfolio-page #globalNavbar .nav-cta:hover {
  background: #0077ed;
  box-shadow: 0 6px 18px rgba(0, 113, 227, 0.45);
  transform: translateY(-1px);
}

/* --- CONCEPT HERO SECTION --- */
.pf-concept-hero {
  background: radial-gradient(ellipse 95% 80% at 75% 40%, #ffffff 0%, #f4f5f8 55%, #e7e9ee 100%);
  position: relative;
  overflow: hidden;
  padding: 130px 48px 48px 48px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.pf-hero-canvas {
  max-width: 1560px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 1.35fr;
  gap: 40px;
  align-items: center;
  min-height: 520px;
  position: relative;
}

/* COLUMNA IZQUIERDA */
.pf-hero-col-left {
  display: flex;
  flex-direction: column;
  z-index: 2;
}

.pf-hero-badge-wrap {
  margin-bottom: 24px;
}

.pf-concept-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--accent-blue);
  background: rgba(0, 113, 227, 0.08);
  border: 1px solid rgba(0, 113, 227, 0.22);
  padding: 5px 14px;
  border-radius: 999px;
  font-weight: 600;
}

.pf-concept-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-blue);
  box-shadow: 0 0 8px rgba(0, 113, 227, 0.6);
  display: inline-block;
}

.pf-concept-title {
  font-family: var(--font-primary);
  font-size: clamp(2.8rem, 5.2vw, 4.75rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.04em;
  color: #0a0a0c;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.pf-title-blue {
  color: var(--accent-blue);
}

.pf-concept-lead {
  font-family: var(--font-primary);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: #555a66;
  max-width: 500px;
  margin-bottom: 32px;
}

.pf-concept-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.pf-btn-black {
  font-family: var(--font-primary);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #ffffff;
  background: #0a0a0c;
  border: 1px solid #0a0a0c;
  padding: 13px 26px;
  border-radius: 999px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.25s var(--ease-smooth);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.pf-btn-black:hover {
  background: #202126;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.22);
}

.pf-btn-ghost {
  font-family: var(--font-primary);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #1a1a1e;
  background: rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.12);
  padding: 13px 26px;
  border-radius: 999px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.25s var(--ease-smooth);
}

.pf-btn-ghost:hover {
  background: rgba(0, 0, 0, 0.08);
  border-color: rgba(0, 0, 0, 0.2);
  transform: translateY(-2px);
}

.pf-concept-metrics {
  display: flex;
  align-items: flex-start;
  gap: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  width: 100%;
}

.pf-metric-years {
  flex: 0 0 95px;
}

.pf-metric-sectors {
  flex: 1 1 220px;
}

.pf-metric-reach {
  flex: 1 1 200px;
}

.pf-metric-col {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.pf-metric-val {
  font-family: var(--font-primary);
  font-size: 0.8125rem;
  font-weight: 700;
  color: #0a0a0c;
  letter-spacing: -0.01em;
}

.pf-metric-lbl {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  color: #7a808c;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* COLUMNA DERECHA: ESCENARIO VISUAL */
.pf-hero-col-right {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  height: 100%;
  min-height: 480px;
}

.pf-hero-stage-center {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  height: 100%;
  min-height: 480px;
}

.pf-hero-main-img {
  max-width: 95%;
  max-height: 480px;
  width: auto;
  height: auto;
  object-fit: contain !important;
  filter: drop-shadow(0 24px 48px rgba(0, 0, 0, 0.18));
  transition: opacity 0.3s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: block;
  margin: auto;
}

.pf-hero-main-img.is-transitioning {
  opacity: 0;
  transform: scale(0.96);
}

/* INDICADOR VERTICAL Y NAVEGACIÓN DERECHA */
.pf-hero-vertical-rail {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  height: 100%;
  min-height: 440px;
  padding-left: 20px;
  flex: 0 0 160px;
  z-index: 3;
}

.pf-vertical-track {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 26px;
  padding-left: 18px;
  border-left: 2px solid rgba(0, 0, 0, 0.1);
  margin-top: 10px;
}

.pf-vertical-item {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  text-align: left;
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.06em;
  color: #7a808c;
  font-weight: 500;
  transition: all 0.2s ease;
  position: relative;
}

.pf-vertical-item:hover {
  color: #0a0a0c;
}

.pf-vertical-item.is-active {
  color: var(--accent-blue);
  font-weight: 700;
}

.pf-vertical-item.is-active::before {
  content: '';
  position: absolute;
  left: -20px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--accent-blue);
  border-radius: 2px;
}

.pf-hero-arrows {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 16px;
}

.pf-arrow-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.15);
  color: #0a0a0c;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.pf-arrow-btn:hover {
  border-color: #0a0a0c;
  transform: scale(1.05);
}

.pf-arrow-btn.is-solid {
  background: #0a0a0c;
  color: #ffffff;
  border-color: #0a0a0c;
}

.pf-arrow-btn.is-solid:hover {
  background: var(--accent-blue);
  border-color: var(--accent-blue);
}

/* --- DECK DE 4 TARJETAS INFERIORES (FULL-BLEED CINEMATIC) --- */
.pf-hero-deck-wrap {
  max-width: 1560px;
  margin: 36px auto 0 auto;
  width: 100%;
}

.pf-hero-deck {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  width: 100%;
}

.pf-deck-card {
  background: #090a0d;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  height: 155px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.2);
}

.pf-deck-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.32);
  border-color: rgba(0, 113, 227, 0.6);
}

.pf-deck-card.is-active {
  border-color: var(--accent-blue);
  box-shadow: 0 0 26px rgba(0, 113, 227, 0.45);
  transform: translateY(-5px);
}

.pf-deck-media {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #07080a;
}

.pf-deck-img {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: cover !important;
  object-position: center !important;
  padding: 0 !important;
  margin: 0 !important;
  display: block !important;
  filter: brightness(0.82) contrast(1.1);
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), filter 0.3s ease;
}

.pf-deck-card:hover .pf-deck-img {
  transform: scale(1.06);
  filter: brightness(0.95) contrast(1.15);
}

.pf-deck-card.is-active .pf-deck-img {
  filter: brightness(1) contrast(1.15);
}

.pf-deck-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.35) 45%, rgba(0, 0, 0, 0.88) 100%);
  pointer-events: none;
  z-index: 1;
}

.pf-deck-num {
  position: absolute;
  top: 10px;
  right: 14px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  color: #ffffff;
  z-index: 2;
  letter-spacing: 0.06em;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.9);
}

.pf-deck-info {
  position: absolute;
  bottom: 14px;
  left: 16px;
  right: 16px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.pf-deck-title {
  font-family: var(--font-primary);
  font-size: 1.0625rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.01em;
  line-height: 1.2;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9);
}

.pf-deck-cat {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.9);
}


/**
 * CREATIVE DESIGN AGENCY · PORTFOLIO STYLES
 * High-end editorial gallery with filtering, responsive grid & lightbox modal
 * Matching dark luxury Apple / Nórtika aesthetic & Neue Montreal typography
 */

/* --------------------------------------------------------------------------
   00. HERO COMPACT OVERRIDE FOR PORTFOLIO
   -------------------------------------------------------------------------- */
.portfolio-page .sp-hero {
  min-height: auto;
  padding: 130px 48px 50px 48px;
}

.pf-mobile-break {
  display: none;
}

@media (max-width: 768px) {
  .pf-mobile-break {
    display: inline;
  }
}

/* --------------------------------------------------------------------------
   01. SECCIÓN PRINCIPAL CON SIDEBAR IZQUIERDO Y SHOWCASES
   -------------------------------------------------------------------------- */
.pf-main-section {
  padding: 40px 48px 120px 48px;
  background: #000000;
  position: relative;
  min-height: 100vh;
}

.pf-main-layout {
  max-width: 1560px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  gap: 48px;
  position: relative;
}

/* --------------------------------------------------------------------------
   02. SIDEBAR DE NAVEGACIÓN Y FILTROS (LADO IZQUIERDO)
   -------------------------------------------------------------------------- */
.pf-sidebar-sticky {
  flex: 0 0 300px;
  width: 300px;
  position: sticky;
  top: 96px;
  max-height: calc(100vh - 116px);
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 8px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.15) transparent;
  z-index: 40;
}

.pf-sidebar-sticky::-webkit-scrollbar {
  width: 5px;
}

.pf-sidebar-sticky::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 3px;
}

.pf-sidebar-inner {
  background: #09090c;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.pf-sidebar-header {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.pf-sidebar-badge {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent-blue);
  letter-spacing: 0.1em;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}

.pf-sidebar-dot {
  width: 7px;
  height: 7px;
  background: var(--accent-blue);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent-blue);
  display: inline-block;
}

.pf-count-badge {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: #9ca3af;
  letter-spacing: 0.04em;
}

.pf-sidebar-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pf-sidebar-label {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: #6b7280;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
}

/* FILTRO DE DISCIPLINAS (PÍLDORAS VERTICALES TIPO MENÚ) */
.pf-filter-pills {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.pf-filter-btn {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: #9ca3af;
  font-family: var(--font-primary);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 10px 14px;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s var(--ease-smooth);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  width: 100%;
  text-align: left;
}

.pf-filter-btn span {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent-blue);
}

.pf-filter-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  transform: translateX(2px);
}

.pf-filter-btn.is-active {
  background: #ffffff;
  border-color: #ffffff;
  color: #000000;
  font-weight: 700;
  transform: translateX(2px);
  box-shadow: 0 4px 16px rgba(255, 255, 255, 0.15);
}

.pf-filter-btn.is-active span {
  color: #000000;
  font-weight: 700;
}

/* FILTRO DE MARCAS (PÍLDORAS VERTICALES CON CONTADOR) */
.pf-brand-pills {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.pf-brand-btn {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  color: #9ca3af;
  font-family: var(--font-primary);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  padding: 8px 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s var(--ease-smooth);
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.pf-brand-name {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pf-brand-count-badge {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  background: rgba(255, 255, 255, 0.06);
  padding: 2px 7px;
  border-radius: 999px;
  color: #9ca3af;
  transition: all 0.2s ease;
}

.pf-brand-btn:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  transform: translateX(2px);
}

.pf-brand-btn.is-active {
  background: rgba(0, 113, 227, 0.2);
  border-color: var(--accent-blue);
  color: #ffffff;
  font-weight: 600;
  box-shadow: 0 0 16px rgba(0, 113, 227, 0.25);
  transform: translateX(2px);
}

.pf-brand-btn.is-active .pf-brand-count-badge {
  background: var(--accent-blue);
  color: #ffffff;
}

/* FOOTER LATERAL */
.pf-sidebar-footer {
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pf-sidebar-footer-text {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: #6b7280;
  letter-spacing: 0.06em;
}

.pf-sidebar-cta-btn {
  font-family: var(--font-primary);
  font-size: 0.75rem;
  font-weight: 600;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 9px 14px;
  border-radius: 8px;
  text-align: center;
  transition: all 0.2s ease;
  text-decoration: none;
  display: block;
}

.pf-sidebar-cta-btn:hover {
  background: var(--accent-blue);
  border-color: var(--accent-blue);
  color: #ffffff;
}

/* --------------------------------------------------------------------------
   03. COLUMNA PRINCIPAL DE CASOS DE ESTUDIO (DERECHA)
   -------------------------------------------------------------------------- */
.pf-main-content {
  flex: 1 1 0;
  min-width: 0;
}

.pf-showcases-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 64px;
}

.pf-brand-showcase {
  scroll-margin-top: 100px;
  background: #09090c;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.35s var(--ease-smooth);
  position: relative;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.65);
}

.pf-brand-showcase:hover {
  border-color: rgba(0, 113, 227, 0.25);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.8), 0 0 30px rgba(0, 113, 227, 0.08);
}

.pf-brand-showcase.is-hidden {
  display: none !important;
}

/* --- BRAND HEADER --- */
.pf-brand-header {
  padding: 36px 40px 28px 40px;
  background: linear-gradient(180deg, #101116 0%, #09090c 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pf-brand-header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.pf-brand-index {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--accent-blue);
  letter-spacing: 0.1em;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}

.pf-index-dot {
  width: 7px;
  height: 7px;
  background: var(--accent-blue);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent-blue);
  display: inline-block;
}

.pf-brand-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.pf-brand-tag {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  color: #9ca3af;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 4px 10px;
  border-radius: 999px;
}

.pf-brand-count-pill {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  color: #10b981;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  padding: 4px 12px;
  border-radius: 999px;
}

.pf-brand-title-wrap {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.pf-brand-title {
  font-family: var(--font-primary);
  font-size: clamp(1.8rem, 3.2vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #ffffff;
  line-height: 1.15;
}

.pf-brand-subtitle {
  font-family: var(--font-primary);
  font-size: 1.0625rem;
  color: #9ca3af;
  line-height: 1.5;
  font-weight: 400;
}

.pf-brand-overview {
  font-family: var(--font-primary);
  font-size: 0.9375rem;
  color: #c5c5cb;
  line-height: 1.7;
  max-width: 980px;
  margin-top: 4px;
}

.pf-brand-meta-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 12px;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
}

.pf-brand-meta-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.pf-brand-meta-item-wide {
  grid-column: span 1;
}

.pf-meta-lbl {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: #6b7280;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: block;
}

.pf-meta-val {
  font-family: var(--font-primary);
  font-size: 0.875rem;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.4;
}

/* --- BRAND VIEWER & STAGE --- */
.pf-brand-viewer {
  display: flex;
  flex-direction: column;
  background: #09090c;
}

.pf-stage-container {
  display: flex;
  flex-direction: column;
  position: relative;
}

.pf-stage-frame {
  position: relative;
  width: 100%;
  height: 560px;
  background: radial-gradient(circle at 50% 50%, #15161b 0%, #060608 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 36px;
  overflow: hidden;
}

.pf-stage-img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain !important;
  object-position: center;
  display: block;
  margin: auto;
  filter: drop-shadow(0 16px 36px rgba(0, 0, 0, 0.75));
  transition: opacity 0.25s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: zoom-in;
}

.pf-stage-img:hover {
  transform: scale(1.02);
}

.pf-stage-img.is-transitioning {
  opacity: 0;
}

/* STAGE CONTROLS */
.pf-stage-counter-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 6px 14px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: #ffffff;
  z-index: 4;
}

.pf-counter-num {
  color: var(--accent-blue);
  font-weight: 600;
}

.pf-counter-title {
  color: #e5e7eb;
  max-width: 320px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pf-stage-zoom-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  font-family: var(--font-primary);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 7px 16px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  z-index: 4;
}

.pf-stage-zoom-btn:hover {
  background: #ffffff;
  color: #000000;
  border-color: #ffffff;
}

.pf-stage-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  font-size: 1.6rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 5;
  user-select: none;
}

.pf-stage-prev {
  left: 20px;
}

.pf-stage-next {
  right: 20px;
}

.pf-stage-nav-btn:hover {
  background: var(--accent-blue);
  border-color: var(--accent-blue);
  transform: translateY(-50%) scale(1.08);
}

/* STAGE CAPTION BAR */
.pf-stage-caption-bar {
  padding: 24px 36px;
  background: #0c0d11;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.pf-stage-caption-left {
  flex: 1 1 540px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.pf-stage-category-pill {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--accent-blue);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
}

.pf-stage-photo-title {
  font-family: var(--font-primary);
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.01em;
}

.pf-stage-photo-desc {
  font-family: var(--font-primary);
  font-size: 0.875rem;
  color: #9ca3af;
  line-height: 1.5;
}

.pf-stage-caption-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  flex: 0 0 auto;
}

.pf-stage-tags-label {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  color: #6b7280;
  letter-spacing: 0.08em;
}

.pf-stage-tags-wrap {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.pf-tag-badge {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: #d1d5db;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 4px 10px;
  border-radius: 999px;
}

/* --- THUMBNAIL STRIP --- */
.pf-brand-gallery-strip-wrap {
  padding: 20px 36px 28px 36px;
  background: #08080a;
}

.pf-gallery-strip-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.pf-strip-title {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.06em;
}

.pf-strip-hint {
  font-family: var(--font-primary);
  font-size: 0.75rem;
  color: #6b7280;
}

.pf-toggle-subgrid-btn {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.06em;
  color: #9ca3af;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 6px 14px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.pf-toggle-subgrid-btn:hover {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.08);
}

.pf-brand-thumbs-strip {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 8px;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
}

.pf-brand-thumbs-strip::-webkit-scrollbar {
  height: 6px;
}

.pf-brand-thumbs-strip::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 3px;
}

.pf-thumb-item {
  flex: 0 0 136px;
  background: #111216;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 8px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: left;
  transition: all 0.25s ease;
  position: relative;
}

.pf-thumb-item:hover {
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

.pf-thumb-item.is-active {
  border-color: var(--accent-blue);
  background: rgba(0, 113, 227, 0.12);
  box-shadow: 0 0 16px rgba(0, 113, 227, 0.35);
}

.pf-thumb-num {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  color: var(--accent-blue);
  font-weight: 600;
}

.pf-thumb-media {
  width: 100%;
  height: 75px;
  background: #060608;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.pf-thumb-img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain !important;
  object-position: center;
  display: block;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.5));
}

.pf-thumb-caption {
  font-family: var(--font-primary);
  font-size: 0.6875rem;
  color: #9ca3af;
  line-height: 1.3;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.pf-thumb-item.is-active .pf-thumb-caption {
  color: #ffffff;
  font-weight: 600;
}

/* --- EXPANDED SUBGRID OF BRAND PHOTOS --- */
.pf-brand-subgrid {
  display: none;
  padding: 0 36px 36px 36px;
  background: #08080a;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.pf-brand-subgrid.is-expanded {
  display: block;
  animation: fadeInSubgrid 0.3s ease;
}

@keyframes fadeInSubgrid {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

.pf-subgrid-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.pf-subgrid-card {
  background: #0f1015;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: all 0.25s ease;
}

.pf-subgrid-card:hover {
  border-color: var(--accent-blue);
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.6);
}

.pf-subgrid-media {
  position: relative;
  width: 100%;
  height: 240px;
  background: radial-gradient(circle at center, #17181e 0%, #060608 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.pf-subgrid-img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain !important;
  object-position: center;
  display: block;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.6));
  transition: transform 0.3s ease;
}

.pf-subgrid-card:hover .pf-subgrid-img {
  transform: scale(1.04);
}

.pf-subgrid-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.pf-subgrid-card:hover .pf-subgrid-overlay {
  opacity: 1;
}

.pf-subgrid-zoom-btn {
  font-family: var(--font-primary);
  font-size: 0.75rem;
  font-weight: 600;
  color: #000000;
  background: #ffffff;
  padding: 6px 14px;
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.5);
}

.pf-subgrid-num {
  position: absolute;
  top: 10px;
  left: 10px;
  font-family: var(--font-mono);
  font-size: 0.625rem;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.pf-subgrid-info {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.pf-subgrid-cat {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--accent-blue);
  letter-spacing: 0.08em;
}

.pf-subgrid-title {
  font-family: var(--font-primary);
  font-size: 0.875rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.3;
}

.pf-subgrid-desc {
  font-family: var(--font-primary);
  font-size: 0.75rem;
  color: #9ca3af;
  line-height: 1.4;
}

/* --------------------------------------------------------------------------
   03. LIGHTBOX MODAL DE PROYECTO
   -------------------------------------------------------------------------- */
.pf-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.pf-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.pf-modal-content {
  background: #0d0d11;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  max-width: 1000px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.8);
  transform: translateY(20px);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.pf-modal.is-open .pf-modal-content {
  transform: translateY(0);
}

.pf-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.2s ease;
}

.pf-modal-close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.05);
}

.pf-modal-img-wrap {
  width: 100%;
  min-height: 420px;
  max-height: 70vh;
  background: radial-gradient(circle at center, #15161a 0%, #050507 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.pf-modal-img {
  max-width: 100%;
  max-height: 65vh;
  width: auto;
  height: auto;
  object-fit: contain !important;
  border-radius: 8px;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.75));
}

.pf-modal-body {
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.pf-modal-tag {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  letter-spacing: 0.12em;
  color: var(--accent-blue);
  text-transform: uppercase;
}

.pf-modal-title {
  font-family: var(--font-primary);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.pf-modal-desc {
  font-family: var(--font-primary);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: #c5c5cb;
}

.pf-modal-meta-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.pf-meta-box {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.pf-meta-box-label {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: #6b7280;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pf-meta-box-val {
  font-family: var(--font-primary);
  font-size: 0.9375rem;
  font-weight: 600;
  color: #ffffff;
}

/* --------------------------------------------------------------------------
   04. RESPONSIVE BREAKPOINTS
   -------------------------------------------------------------------------- */
@media (max-width: 1200px) {
  .pf-main-layout {
    gap: 32px;
  }

  .pf-sidebar-sticky {
    flex: 0 0 260px;
    width: 260px;
  }

  .pf-brand-meta-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 1024px) {
  .pf-main-section {
    padding: 30px 24px 80px 24px;
  }

  .pf-main-layout {
    flex-direction: column;
    gap: 36px;
  }

  .pf-sidebar-sticky {
    flex: 0 0 auto;
    width: 100%;
    position: static;
    max-height: none;
    padding-right: 0;
  }

  .pf-sidebar-inner {
    padding: 20px;
    gap: 16px;
  }

  .pf-filter-pills {
    flex-direction: row;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 6px;
    -webkit-overflow-scrolling: touch;
  }

  .pf-filter-btn {
    flex: 0 0 auto;
    width: auto;
    white-space: nowrap;
    padding: 8px 14px;
  }

  .pf-brand-pills {
    flex-direction: row;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 6px;
    -webkit-overflow-scrolling: touch;
  }

  .pf-brand-btn {
    flex: 0 0 auto;
    width: auto;
    white-space: nowrap;
    gap: 8px;
    padding: 6px 12px;
  }

  .pf-sidebar-footer {
    display: none;
  }

  .pf-stage-frame {
    height: 440px;
    padding: 24px;
  }
}

@media (max-width: 768px) {
  .pf-main-section {
    padding: 20px 16px 60px 16px;
  }

  .pf-main-layout {
    gap: 24px;
  }

  .pf-sidebar-inner {
    padding: 16px;
    border-radius: 16px;
  }

  .pf-showcases-container {
    gap: 40px;
  }

  .pf-brand-header {
    padding: 24px 20px;
  }

  .pf-brand-meta-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 14px;
  }

  .pf-stage-frame {
    height: 320px;
    padding: 16px;
  }

  .pf-stage-nav-btn {
    width: 38px;
    height: 38px;
    font-size: 1.3rem;
  }

  .pf-stage-prev {
    left: 10px;
  }

  .pf-stage-next {
    right: 10px;
  }

  .pf-stage-counter-badge {
    top: 12px;
    left: 12px;
    font-size: 0.6875rem;
    padding: 4px 10px;
  }

  .pf-counter-title {
    max-width: 160px;
  }

  .pf-stage-zoom-btn {
    top: 12px;
    right: 12px;
    font-size: 0.6875rem;
    padding: 5px 10px;
  }

  .pf-stage-caption-bar {
    padding: 18px 20px;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .pf-stage-caption-right {
    align-items: flex-start;
  }

  .pf-stage-tags-wrap {
    justify-content: flex-start;
  }

  .pf-brand-gallery-strip-wrap {
    padding: 16px 20px 24px 20px;
  }

  .pf-thumb-item {
    flex: 0 0 110px;
    padding: 6px;
  }

  .pf-thumb-media {
    height: 60px;
  }

  .pf-brand-subgrid {
    padding: 0 20px 24px 20px;
  }

  .pf-subgrid-grid {
    grid-template-columns: 1fr;
  }

  .pf-modal-img-wrap {
    min-height: 260px;
    max-height: 50vh;
    padding: 16px;
  }

  .pf-modal-img {
    max-height: 45vh;
  }

  .pf-modal {
    padding: 16px;
  }
  
  .pf-modal-body {
    padding: 24px;
  }
  
  .pf-modal-meta-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

@media (max-width: 1200px) {
  .pf-hero-canvas {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
}

@media (max-width: 1024px) {
  .pf-concept-hero {
    padding: 100px 24px 36px 24px;
  }

  .pf-hero-canvas {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .pf-hero-col-right {
    min-height: 380px;
  }

  .pf-hero-deck {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .pf-concept-hero {
    padding: 90px 16px 24px 16px;
  }

  .pf-concept-title {
    font-size: 2.25rem;
  }

  .pf-concept-lead {
    font-size: 0.9375rem;
  }

  .pf-concept-metrics {
    gap: 16px;
  }

  .pf-hero-col-right {
    flex-direction: column;
    align-items: center;
    min-height: 320px;
  }

  .pf-hero-vertical-rail {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: auto;
    padding-left: 0;
    margin-top: 20px;
  }

  .pf-vertical-track {
    flex-direction: row;
    gap: 14px;
    padding-left: 0;
    border-left: none;
    border-bottom: 2px solid rgba(0, 0, 0, 0.1);
    padding-bottom: 6px;
  }

  .pf-vertical-item.is-active::before {
    left: 0;
    right: 0;
    bottom: -8px;
    top: auto;
    width: 100%;
    height: 3px;
  }

  .pf-hero-deck {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .pf-deck-card {
    height: 110px;
  }
}

@media (max-width: 768px) {
  .pf-concept-metrics {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 16px !important;
    flex-wrap: wrap !important;
  }
  .pf-metric-reach {
    grid-column: span 2 !important;
  }
  .pf-hero-vertical-rail {
    flex-direction: column !important;
    align-items: flex-start !important;
    width: 100% !important;
    gap: 14px !important;
  }
  .pf-vertical-track {
    flex-direction: column !important;
    border-left: 2px solid rgba(0, 0, 0, 0.1) !important;
    border-bottom: none !important;
    padding-left: 12px !important;
    gap: 12px !important;
  }
  .pf-vertical-item.is-active::before {
    left: -14px !important;
    top: 0 !important;
    bottom: 0 !important;
    width: 3px !important;
    height: auto !important;
  }
}


/* ==========================================================================
   05. SISTEMA EDITORIAL DE 9 CASOS DE ESTUDIO (MOCKUPS & BENTO GRIDS GUÍAS)
   ========================================================================== */

.pf-editorial-master-section {
  position: relative;
  width: 100%;
  background: #fbfbfd;
  color: #111114;
  padding: 40px 0 80px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.pf-editorial-master-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 40px;
}

/* --- PROYECTO SHOWCASE CONTAINER --- */
.pf-editorial-project {
  display: none;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.pf-editorial-project.is-active {
  display: block;
  opacity: 1;
  transform: translateY(0);
  animation: pfProjectEntrance 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes pfProjectEntrance {
  0% {
    opacity: 0;
    transform: translateY(16px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- 1. HERO DEL PROYECTO (STAGE + PRODUCT VISUAL + VERTICAL RAIL) --- */
.pf-p-hero-stage {
  display: grid;
  grid-template-columns: minmax(320px, 1.15fr) minmax(340px, 1.25fr) minmax(220px, 0.75fr);
  gap: 36px;
  align-items: center;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 28px;
  padding: 48px;
  box-shadow: 0 20px 50px -15px rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
}

/* COLUMNA IZQUIERDA */
.pf-p-hero-left {
  display: flex;
  flex-direction: column;
}

.pf-p-hero-meta-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.pf-p-tags-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pf-p-tag {
  font-family: var(--font-mono, monospace);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #111114;
  background: rgba(0, 0, 0, 0.04);
  padding: 4px 10px;
  border-radius: 6px;
}

.pf-p-index-num {
  font-family: var(--font-mono, monospace);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #888894;
}

.pf-p-title {
  font-family: var(--font-primary, sans-serif);
  font-size: clamp(2rem, 3.4vw, 3.125rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.035em;
  line-height: 1.05;
  color: #0a0a0d;
  margin: 0 0 12px 0;
}

.pf-p-subtitle {
  font-family: var(--font-primary, sans-serif);
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.4;
  color: #4b5563;
  margin: 0 0 18px 0;
}

.pf-p-lead {
  font-family: var(--font-primary, sans-serif);
  font-size: 0.9375rem;
  line-height: 1.68;
  color: #64748b;
  margin: 0 0 28px 0;
  max-width: 480px;
}

.pf-p-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.pf-p-btn-view {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #0a0a0d;
  color: #ffffff;
  padding: 13px 26px;
  border-radius: 30px;
  font-family: var(--font-mono, monospace);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-decoration: none;
  transition: all 0.25s ease;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.pf-p-btn-view:hover {
  background: #2563eb;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.25);
  color: #ffffff;
}

.pf-arr-down {
  transition: transform 0.25s ease;
}

.pf-p-btn-view:hover .pf-arr-down {
  transform: translateY(3px);
}

.pf-p-btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  color: #111114;
  border: 1px solid rgba(0, 0, 0, 0.15);
  padding: 13px 22px;
  border-radius: 30px;
  font-family: var(--font-mono, monospace);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: all 0.25s ease;
}

.pf-p-btn-ghost:hover {
  background: #0a0a0d;
  color: #ffffff;
  border-color: #0a0a0d;
  transform: translateY(-2px);
}

/* ESCENARIO CENTRAL */
.pf-p-hero-center {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 420px;
  padding: 20px;
}

.pf-p-hero-img-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pf-p-hero-img {
  max-width: 100%;
  max-height: 380px;
  width: auto;
  height: auto;
  object-fit: contain !important;
  display: block;
  filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.12));
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 2;
}

.pf-p-hero-stage:hover .pf-p-hero-img {
  transform: scale(1.03) translateY(-4px);
}

.pf-p-hero-pedestal-shadow {
  position: absolute;
  bottom: 12px;
  width: 70%;
  height: 24px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
  filter: blur(6px);
  z-index: 1;
}

/* COLUMNA DERECHA: VERTICAL RAIL */
.pf-p-hero-right {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-left: 1px solid rgba(0, 0, 0, 0.08);
  padding-left: 36px;
  min-height: 420px;
}

.pf-p-rail-wrap {
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: space-between;
}

.pf-p-rail-title {
  font-family: var(--font-mono, monospace);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #94a3b8;
  margin-bottom: 16px;
}

.pf-p-rail-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pf-p-rail-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: none;
  border: none;
  padding: 6px 8px;
  border-radius: 8px;
  cursor: pointer;
  text-align: left;
  transition: all 0.2s ease;
  position: relative;
}

.pf-p-rail-num {
  font-family: var(--font-mono, monospace);
  font-size: 0.6875rem;
  font-weight: 700;
  color: #94a3b8;
  width: 24px;
  transition: color 0.2s ease;
}

.pf-p-rail-name {
  font-family: var(--font-primary, sans-serif);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #64748b;
  flex: 1;
  transition: color 0.2s ease;
}

.pf-p-rail-line {
  width: 0;
  height: 2px;
  background: #0a0a0d;
  transition: width 0.25s ease;
}

.pf-p-rail-item:hover .pf-p-rail-name {
  color: #0a0a0d;
}

.pf-p-rail-item:hover .pf-p-rail-num {
  color: #0a0a0d;
}

.pf-p-rail-item.is-active {
  background: rgba(0, 0, 0, 0.04);
}

.pf-p-rail-item.is-active .pf-p-rail-name {
  color: #0a0a0d;
  font-weight: 800;
}

.pf-p-rail-item.is-active .pf-p-rail-num {
  color: #2563eb;
}

.pf-p-rail-item.is-active .pf-p-rail-line {
  width: 18px;
  background: #2563eb;
}

.pf-p-rail-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.pf-p-circle-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: #111114;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04);
}

.pf-p-circle-arrow:hover {
  background: #0a0a0d;
  color: #ffffff;
  border-color: #0a0a0d;
  transform: scale(1.08);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

/* --- 2. EDITORIAL: EL PROYECTO & FICHA TÉCNICA --- */
.pf-p-editorial-section {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 56px;
  margin-top: 48px;
  padding: 48px;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 24px;
}

.pf-p-editorial-left {
  display: flex;
  flex-direction: column;
}

.pf-p-section-tag {
  font-family: var(--font-mono, monospace);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #2563eb;
  margin-bottom: 12px;
}

.pf-p-editorial-headline {
  font-family: var(--font-primary, sans-serif);
  font-size: clamp(1.5rem, 2.2vw, 2.125rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.2;
  color: #0a0a0d;
  margin: 0 0 20px 0;
}

.pf-p-editorial-narrative {
  font-family: var(--font-primary, sans-serif);
  font-size: 0.9375rem;
  line-height: 1.72;
  color: #4b5563;
  margin: 0;
  max-width: 580px;
}

/* FICHA TÉCNICA */
.pf-p-editorial-right {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.pf-p-meta-table {
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.pf-p-meta-row {
  display: grid;
  grid-template-columns: 130px 1fr;
  align-items: baseline;
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.pf-p-meta-col-lbl {
  font-family: var(--font-mono, monospace);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #94a3b8;
}

.pf-p-meta-col-val {
  font-family: var(--font-primary, sans-serif);
  font-size: 0.875rem;
  font-weight: 600;
  color: #111114;
  line-height: 1.45;
}

.pf-p-meta-row-wide {
  grid-template-columns: 130px 1fr;
}

/* --- 3. FOTOGRAFÍAS DEL PROYECTO (BENTO GRID SIN CORTES) --- */
.pf-p-gallery-section {
  margin-top: 48px;
  padding: 48px;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 24px;
}

.pf-p-gallery-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 36px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.pf-p-gallery-heading {
  display: flex;
  align-items: center;
  gap: 12px;
}

.pf-p-gallery-title {
  font-family: var(--font-primary, sans-serif);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #0a0a0d;
  margin: 0;
}

.pf-p-gallery-total {
  font-family: var(--font-mono, monospace);
  font-size: 0.875rem;
  font-weight: 700;
  color: #64748b;
}

.pf-p-gallery-filters {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.pf-p-pill {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.12);
  color: #4b5563;
  padding: 7px 16px;
  border-radius: 20px;
  font-family: var(--font-mono, monospace);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: all 0.2s ease;
}

.pf-p-pill:hover {
  border-color: #0a0a0d;
  color: #0a0a0d;
}

.pf-p-pill.is-active {
  background: #0a0a0d;
  color: #ffffff;
  border-color: #0a0a0d;
}

/* BENTO GRID */
.pf-p-bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 240px;
  gap: 20px;
}

.pf-bento-card {
  position: relative;
  background: #fbfbfd;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.25s ease, opacity 0.3s ease;
}

.pf-bento-card.is-hidden {
  display: none !important;
}

.pf-bento-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 0, 0, 0.2);
  box-shadow: 0 20px 36px -10px rgba(0, 0, 0, 0.12);
}

/* Bento Span Modifiers */
.pf-bento-hero {
  grid-column: span 2;
  grid-row: span 2;
}

.pf-bento-tall {
  grid-column: span 1;
  grid-row: span 2;
}

.pf-bento-wide {
  grid-column: span 2;
  grid-row: span 1;
}

.pf-bento-standard {
  grid-column: span 1;
  grid-row: span 1;
}

/* BENTO MEDIA CONTAINER (ZERO CROPPING) */
.pf-bento-media {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at center, #ffffff 0%, #f4f4f7 100%);
  padding: 16px;
  overflow: hidden;
}

.pf-bento-img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain !important;
  display: block;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.08));
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.pf-bento-card:hover .pf-bento-img {
  transform: scale(1.05);
}

/* OVERLAY */
.pf-bento-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 10, 13, 0.65) 0%, rgba(10, 10, 13, 0.2) 40%, rgba(10, 10, 13, 0.85) 100%);
  opacity: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 18px;
  transition: opacity 0.3s ease;
  z-index: 3;
}

.pf-bento-card:hover .pf-bento-overlay,
.pf-bento-card:focus-visible .pf-bento-overlay {
  opacity: 1;
}

.pf-bento-overlay-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.pf-bento-num {
  font-family: var(--font-mono, monospace);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #e2e8f0;
}

.pf-bento-tag {
  font-family: var(--font-mono, monospace);
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(4px);
  padding: 3px 8px;
  border-radius: 4px;
}

.pf-bento-overlay-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}

.pf-bento-card-title {
  font-family: var(--font-primary, sans-serif);
  font-size: 0.875rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.35;
  margin: 0;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
}

.pf-bento-zoom-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #2563eb;
  color: #ffffff;
  font-family: var(--font-mono, monospace);
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 6px 10px;
  border-radius: 6px;
  white-space: nowrap;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

/* Subtle Caption below on standard view */
.pf-bento-caption {
  display: none;
}

/* --- 4. DETALLES DEL PROYECTO: PROCESO Y ENTREGABLES (4 COLUMNAS) --- */
.pf-p-process-section {
  margin-top: 48px;
  padding: 48px;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 24px;
}

.pf-p-process-header {
  margin-bottom: 32px;
}

.pf-p-process-main-title {
  font-family: var(--font-primary, sans-serif);
  font-size: clamp(1.375rem, 2vw, 1.75rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #0a0a0d;
  margin: 8px 0 0 0;
}

.pf-p-process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.pf-p-process-card {
  background: #fbfbfd;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 18px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.pf-p-process-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 0, 0, 0.18);
  box-shadow: 0 14px 28px -6px rgba(0, 0, 0, 0.06);
}

.pf-p-process-num {
  font-family: var(--font-mono, monospace);
  font-size: 0.8125rem;
  font-weight: 800;
  color: #2563eb;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}

.pf-p-process-card-title {
  font-family: var(--font-primary, sans-serif);
  font-size: 0.9375rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #0a0a0d;
  margin: 0 0 10px 0;
  text-transform: uppercase;
}

.pf-p-process-card-desc {
  font-family: var(--font-primary, sans-serif);
  font-size: 0.8125rem;
  line-height: 1.6;
  color: #64748b;
  margin: 0;
}

/* --- 5. BOTTOM PAGER DE TRANSICIÓN ENTRE PROYECTOS --- */
.pf-p-footer-pager {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 48px;
  padding: 36px 48px;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 24px;
}

.pf-p-pager-btn {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 10px 14px;
  border-radius: 12px;
  transition: all 0.2s ease;
}

.pf-p-pager-btn:hover {
  background: rgba(0, 0, 0, 0.04);
}

.pf-p-pager-prev {
  text-align: left;
  align-items: flex-start;
}

.pf-p-pager-next {
  text-align: right;
  align-items: flex-end;
}

.pf-p-pager-sub {
  font-family: var(--font-mono, monospace);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #94a3b8;
  transition: color 0.2s ease;
}

.pf-p-pager-name {
  font-family: var(--font-primary, sans-serif);
  font-size: 1.0625rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #0a0a0d;
  transition: color 0.2s ease;
}

.pf-p-pager-btn:hover .pf-p-pager-sub {
  color: #2563eb;
}

.pf-p-pager-btn:hover .pf-p-pager-name {
  color: #2563eb;
}

.pf-p-pager-progress-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.pf-p-pager-num {
  font-family: var(--font-mono, monospace);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #64748b;
}

.pf-p-pager-track {
  width: 140px;
  height: 4px;
  background: rgba(0, 0, 0, 0.08);
  border-radius: 2px;
  overflow: hidden;
}

.pf-p-pager-fill {
  height: 100%;
  background: #0a0a0d;
  border-radius: 2px;
  transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   RESPONSIVE DESIGN (TABLET & MOBILE)
   ========================================================================== */
@media (max-width: 1200px) {
  .pf-p-hero-stage {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  
  .pf-p-hero-right {
    grid-column: span 2;
    border-left: none;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    padding-left: 0;
    padding-top: 32px;
    min-height: auto;
  }

  .pf-p-rail-nav {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }

  .pf-p-process-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pf-p-bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pf-bento-hero {
    grid-column: span 2;
    grid-row: span 2;
  }

  .pf-bento-tall {
    grid-column: span 1;
    grid-row: span 2;
  }

  .pf-bento-wide {
    grid-column: span 2;
    grid-row: span 1;
  }
}

@media (max-width: 900px) {
  .pf-editorial-master-inner {
    padding: 0 20px;
  }

  .pf-p-hero-stage,
  .pf-p-editorial-section,
  .pf-p-gallery-section,
  .pf-p-process-section,
  .pf-p-footer-pager {
    padding: 28px 20px;
    border-radius: 20px;
  }

  .pf-p-hero-stage {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .pf-p-hero-center {
    min-height: 300px;
  }

  .pf-p-hero-right {
    grid-column: span 1;
  }

  .pf-p-rail-nav {
    grid-template-columns: repeat(2, 1fr);
  }

  .pf-p-editorial-section {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .pf-p-meta-row {
    grid-template-columns: 110px 1fr;
  }

  .pf-p-bento-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 240px;
  }

  .pf-bento-hero,
  .pf-bento-tall,
  .pf-bento-wide,
  .pf-bento-standard {
    grid-column: span 1;
    grid-row: span 1;
    min-height: 240px;
  }

  .pf-p-process-grid {
    grid-template-columns: 1fr;
  }

  .pf-p-footer-pager {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
    text-align: center;
  }
}

/* --- FOOTER & CTA REFINEMENTS --- */
.editorial-footer {
  background: #000000;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 80px 0 40px 0;
}

.editorial-footer .footer-container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 40px;
}

.editorial-footer .footer-top-row {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1.2fr 1.3fr 1fr;
  gap: 36px;
  margin-bottom: 60px;
}

.editorial-footer .footer-brand-unit {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.editorial-footer .footer-brand-logo {
  height: 38px;
  width: auto;
  object-fit: contain;
  object-position: left;
}

.editorial-footer .footer-tagline {
  font-family: var(--font-primary, sans-serif);
  font-size: 0.875rem;
  color: #888894;
  line-height: 1.6;
  max-width: 320px;
  margin: 0;
}

.editorial-footer .footer-nav-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.editorial-footer .footer-col-label {
  font-family: var(--font-mono, monospace);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #64748b;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.editorial-footer .footer-nav-col a {
  font-family: var(--font-primary, sans-serif);
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.2s ease;
}

.editorial-footer .footer-nav-col a:hover {
  color: #2563eb;
}

.editorial-footer .footer-plain-text {
  font-family: var(--font-primary, sans-serif);
  font-size: 0.875rem;
  color: #888894;
  line-height: 1.5;
}

.editorial-footer .footer-bottom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 28px;
}

.editorial-footer .footer-copyright {
  font-family: var(--font-mono, monospace);
  font-size: 0.75rem;
  color: #64748b;
  letter-spacing: 0.06em;
}

.editorial-footer .footer-back-to-top {
  font-family: var(--font-mono, monospace);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #ffffff;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 8px 18px;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.editorial-footer .footer-back-to-top:hover {
  background: #ffffff;
  color: #000000;
  border-color: #ffffff;
  transform: translateY(-2px);
}

@media (max-width: 1024px) {
  .editorial-footer .footer-top-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
}

@media (max-width: 600px) {
  .editorial-footer {
    padding: 60px 0 32px 0;
  }

  .editorial-footer .footer-container {
    padding: 0 20px;
  }

  .editorial-footer .footer-top-row {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .editorial-footer .footer-bottom-row {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
}
