/* =========================================
   HERO INDUSTRIAL OSCURO — LOGO GIGANTE
   ========================================= */
/* ============================================
   PALETA INDUSTRIAL NEÓN (variables)
============================================ */
:root {
  --mf-red: #ff2e2e;        /* rojo neón industrial */
  --mf-yellow: #ffd447;     /* amarillo neón mecánico */
  --mf-steel: #cfcfcf;      /* acero brillante */
  --mf-black: #0a0a0a;      /* negro profundo metálico */
  --mf-white: #ffffff;      /* blanco puro */
}

.mafelsa-hero {
  background: #0c0c0c;
  background-image:
    url('/assets/portfolio/mafelsa/metal-soft.jpg'),
    radial-gradient(circle at top left, rgba(255,255,255,0.08), transparent 60%),
    radial-gradient(circle at bottom right, rgba(255,255,255,0.05), transparent 60%);
  background-size: cover;
  background-blend-mode: multiply;
  padding: 160px 20px 90px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Luz industrial cálida */
.mafelsa-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: -15%;
  width: 55%;
  height: 100%;
  background: radial-gradient(circle, rgba(255,180,80,0.18), transparent 70%);
  filter: blur(90px);
  z-index: 1;
}

/* Viñeta profunda */
.mafelsa-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, transparent 40%, rgba(0,0,0,0.75) 100%);
  z-index: 1;
}

/* Contenido */
.mafelsa-hero .hero-content {
  position: relative;
  z-index: 5;
}

/* LOGO GIGANTE */
.mafelsa-hero .project-logo {
  width: 560px; /* ← AQUÍ ESTÁ EL TAMAÑO GIGANTE */
  max-width: 95%;
  margin-bottom: 35px;
  filter: drop-shadow(0 0 28px rgba(0,0,0,0.9));
}

/* Glow amarillo izquierda */
.mafelsa-hero .glow-left {
  position: absolute;
  left: 0;
  top: 0;
  width: 40%;
  height: 100%;
  background: linear-gradient(to right,
    rgba(252, 212, 71 , 0.45),
    rgba(255, 212, 71, 0)
  );
  pointer-events: none;
  z-index: 2;
}

/* Glow gris acero derecha */
.mafelsa-hero .glow-right {
  position: absolute;
  right: 0;
  top: 0;
  width: 40%;
  height: 100%;
  background: linear-gradient(to left,
    rgba(150, 150, 150, 0.35),
    rgba(150, 150, 150, 0)
  );
  pointer-events: none;
  z-index: 2;
}


/* Título */
.mafelsa-hero h1 {
  font-size: 2.9rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 12px;
}

/* Subtítulo */
.mafelsa-hero .project-subtitle {
  font-size: 1.25rem;
  color: #d0d0d0;
  max-width: 780px;
  margin: 0 auto;
}
/* =========================================
   INFO DEL PROYECTO
   ========================================= */
.project-container {
  max-width: 1200px;
  margin: auto;
  padding: 20px;
  color: var(--white-pure);
}

.project-info {
  max-width: 1100px;
  margin: 40px auto;
  padding: 20px;
  border-radius: var(--radius);
  background: rgba(10, 10, 10, 0.6);
  backdrop-filter: blur(6px);
  border: 1px solid var(--mf-yellow);
}

.project-info .info-item {
  margin-bottom: 12px;
  font-size: 1rem;
}

.info-item strong {
  color: var(--mf-yellow);
  font-size: 1rem;
}

.info-item span {
  color: var(--mf-red);
  font-size: 0.95rem;
}

/* =========================================
   CONTENIDO
   ========================================= */

.project-content {
  max-width: 1100px;
  margin: 20px auto 90px;
  padding: 0 20px;
}

.project-section {
  margin-bottom: 60px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.project-section h2 {
  font-size: 1.9rem;
  color: var(--mf-yellow);
  margin-bottom: 14px;
  text-shadow: 0 0 12px rgba(0,0,0,0.6);
}


.project-section p,
.project-section ul {
  color: #d4d4d4;
  font-size: 1.08rem;
  line-height: 1.75;
}


.project-section-entregables h2 {
  font-size: 1.9rem;
  color: var(--mf-yellow);
  margin-bottom: 14px;
  text-shadow: 0 0 12px rgba(0,0,0,0.6);
  margin-top: 30px;
}

.project-section-entregables ul{
  color: #d4d4d4;
  font-size: 1.08rem;
  line-height: 1.75;
}

/* =========================================
   GALERÍA INDUSTRIAL
   ========================================= */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}


.mockup-item figcaption {
  padding: 14px 18px;
  color: #dcdcdc;
  font-size: 0.95rem;
}

/* TARJETAS INDUSTRIALES CON GLOW Y HOVER 3D */
.mockup-item {
  background: #111;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 12px 35px rgba(0,0,0,0.75);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  position: relative;
}

/* Glow industrial */
.mockup-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(255,80,0,0.18), transparent 70%);
  opacity: 0;
  transition: opacity 0.35s ease;
  z-index: 1;
}

/* Hover 3D */
.mockup-item:hover {
  transform: translateY(-12px) scale(1.06);
  box-shadow: 0 20px 50px rgba(0,0,0,0.9);
  border-color: rgba(255,60,0,0.45);
}

.mockup-item:hover::before {
  opacity: 1;
}

/* Imagen */
.mockup-item img {
  width: 100%;
  display: block;
  position: relative;
  z-index: 2;
}

/* Texto */
.mockup-item figcaption {
  padding: 14px 18px;
  color: #dcdcdc;
  font-size: 0.95rem;
  position: relative;
  z-index: 3;
}

/* Centrar título de Mockups del proyecto en Mafelsa */
.project-section.gallery h2 {
  text-align: center;
  width: 100%;
}

/* =========================================
   SEPARADOR VISUAL ENTRE SECCIONES
   ========================================= */

.section-divider {
  width: 100%;
  height: 2px;
  background: linear-gradient(to right, transparent, rgba(244,183,58,0.4), transparent);
  margin: 60px 0;
}


/* CTA FINAL */
.cta-section {
  text-align: center;
  padding: 80px 20px;
  background: linear-gradient(to bottom, #0d0d0d, #151515);
  border-top: 1px solid rgba(255,255,255,0.05);
  margin-top: 80px;
}

.cta-section h2 {
  font-size: 2rem;
  color: var(--mf-yellow);
  margin-bottom: 12px;
}


.cta-section p {
  color: #d0d0d0;
  font-size: 1.1rem;
  margin-bottom: 25px;
}

.cta-button {
  display: inline-block;
  padding: 14px 32px;
  background: #00eaff; /* cyan */
  color: #000;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 8px 25px rgba(0,234,255,0.45);
}

.cta-button:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 35px rgba(0,234,255,0.65);
  background: #00c8dd; /* cyan más fuerte */
}



/* =========================================
   RESPONSIVE
   ========================================= */

@media (max-width: 768px) {
  .mafelsa-hero {
    padding: 130px 20px 100px;
  }

  .mafelsa-hero .project-logo {
    width: 380px;
  }

  .mafelsa-hero h1 {
    font-size: 2.3rem;
  }

  .mafelsa-hero .project-subtitle {
    font-size: 1.05rem;
  }
}



/* ============================================
   TÍTULOS DE SECCIONES (Proceso, Sistema Visual, Galería)
============================================ */
.mf-process h2,
.mf-visual h2,
.mf-gallery h2,
.mockups-section h2 {
  font-family: var(--font-primary);

  width: 100%;
  font-size: 2rem;
  color: var(--mf-yellow);
  text-shadow:
    0 0 12px rgba(255,212,71,0.6),
    0 0 22px rgba(255,212,71,0.4);
  margin-bottom: 20px;
}

.mf-gallery h2 {
  text-align: center;
}

/* ============================================
   SUBTÍTULOS (Paleta, Tipografías, Elementos)
============================================ */
.mf-visual h3 {
  font-size: 1.4rem;
  color: var(--mf-red);
  text-shadow: 0 0 10px rgba(255,46,46,0.6);
  margin-bottom: 10px;
  margin-top: 40px;
}

/* ============================================
   TEXTO GENERAL
============================================ */
.mf-process p,
.mf-visual p,
.mf-gallery p {
  color: var(--mf-white);
  font-family: var(--font-secondary);
  font-size: 1.05rem;
  line-height: 1.65;
  opacity: 0.9;
  text-shadow: 0 0 6px rgba(0,0,0,0.7);
}

/* ============================================
   PALETA DE COLOR (120×120 estilo Onda Latina)
============================================ */
.mf-visual .color-palette {
  display: flex;
  gap: 14px;
  margin-top: 15px;
}

/* PALETA DE COLOR */
.color-palette {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.mf-visual .color-swatch {
  width: 120px;
  height: 120px;
  border-radius: 10px;
  background: var(--color);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 600;
  padding-bottom: 10px;
  color: #fff;
  text-shadow: 0 0 8px rgba(0,0,0,0.6);
  box-shadow:
    0 0 15px rgba(255,46,46,0.35),
    0 0 15px rgba(255,212,71,0.35);
}

/* Swatch negro: borde + texto gris */
.mf-visual .color-swatch[style*="#0a0a0a"] {
  border: 1px solid rgba(255,255,255,0.4);
  color: #dcdcdc;
}

/* ============================================
   TIPOGRAFÍAS
============================================ */
.mf-visual .font-sample {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: var(--mf-steel);
  text-shadow: 0 0 8px rgba(207,207,207,0.6);
}

/* ============================================
   GALERÍA FINAL
============================================ */
.mf-gallery .gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-l);
  margin-top: var(--space-m);
}

.mf-gallery .gallery-item {
  background: #111;
  padding: var(--space-m);
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow:
    0 0 25px rgba(255,46,46,0.25),
    0 0 25px rgba(255,212,71,0.25);
  transition: 0.3s ease;
}

.mf-gallery .gallery-item img {
  width: 100%;
  border-radius: var(--radius);
}

.mf-gallery .gallery-item:hover {
  transform: translateY(-6px);
  box-shadow:
    0 0 35px rgba(255,46,46,0.35),
    0 0 35px rgba(255,212,71,0.35);
}

/* ============================================
   CTA (usa tu CTA global, solo ajustamos separación)
============================================ */
.mf-cta {
  margin-top: 80px;
  margin-bottom: 80px;
  text-align: center;
}

.mf-cta h2 {
  color: var(--mf-white);
  text-shadow: 0 0 10px rgba(255,212,71,0.5);
  margin-bottom: 20px;
}

