/* ═══════════════════════════════════════════════════════════════
   AIRNOX — ACERO PAGE  |  Silver & Steel Design System
   
   Palette:
   --acero-bg          : #f5f6f8   (light silver page background)
   --acero-surface     : #ffffff   (card surfaces)
   --acero-border      : #dde2ea   (dividers)
   --acero-steel-1     : #c8cfd9   (steel light)
   --acero-steel-2     : #9aaabb   (steel mid)
   --acero-steel-3     : #6b7a8d   (steel dark)
   --acero-accent      : #0a2240   (deep navy — title identity color)
   --acero-accent-2    : #1d5fa8   (royal blue — CTA / highlights)
   --acero-text        : #1a2232   (primary text)
   --acero-text-2      : #4b5a6b   (secondary text)
   --acero-shine       : linear-gradient(135deg, #e8edf4 0%, #f5f6f8 50%, #dde2ea 100%)
═══════════════════════════════════════════════════════════════ */

/* ── Reset & Base ──────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body.page-acero {
  font-family: 'Inter', 'Outfit', sans-serif;
  background-color: #f5f6f8;
  color: #1a2232;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ── CSS Variables ─────────────────────────────────────────── */
:root {
  --acero-bg: #f5f6f8;
  --acero-bg-alt: #eef0f5;
  --acero-surface: #ffffff;
  --acero-border: #dde2ea;
  --acero-steel-1: #c8cfd9;
  --acero-steel-2: #9aaabb;
  --acero-steel-3: #6b7a8d;
  --acero-accent: #0a2240;
  --acero-accent-2: #1d5fa8;
  --acero-accent-3: #2d7dd2;
  --acero-text: #1a2232;
  --acero-text-2: #4b5a6b;
  --acero-text-3: #7a8a9b;
  --acero-shine: linear-gradient(135deg, #e8edf4 0%, #f5f6f8 50%, #dde2ea 100%);
  --acero-shine-card: linear-gradient(160deg, #ffffff 0%, #f0f3f8 100%);
  --acero-radius: 14px;
  --acero-radius-sm: 8px;
  --acero-shadow: 0 4px 20px rgba(10, 34, 64, 0.08);
  --acero-shadow-lg: 0 12px 48px rgba(10, 34, 64, 0.14);
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Typography Identity ───────────────────────────────────── */
.section-label {
  font-family: 'Outfit', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--acero-accent-2);
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 900;
  line-height: 1.1;
  color: var(--acero-accent);
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--acero-text-2);
  max-width: 600px;
  line-height: 1.7;
  margin-bottom: 2rem; /* Reducido de 3rem */
}

/* ── Animations ────────────────────────────────────────────── */
@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes shimmerMove {
  0% {
    background-position: -200% center;
  }

  100% {
    background-position: 200% center;
  }
}

@keyframes scrollPulse {

  0%,
  100% {
    transform: scaleY(1);
    opacity: 1;
  }

  50% {
    transform: scaleY(0.5);
    opacity: 0.5;
  }
}

.reveal-up {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
  transition-delay: var(--delay, 0s);
}

.reveal-up.visible {
  opacity: 1;
  transform: translateY(0);
}


.reveal-hero {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}

.reveal-hero.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ══════════════════════════════════════════════════════════════
   NAVBAR
══════════════════════════════════════════════════════════════ */
.acero-nav {
  position: fixed;
  top: 1.2rem;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 2.4rem);
  max-width: 1240px;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(1rem, 4vw, 2.5rem);
  height: 64px;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 100px;
  transition: all var(--transition);
}

.acero-nav.scrolled {
  top: 0.8rem;
  background: rgba(245, 246, 248, 0.8);
  box-shadow: 0 8px 32px rgba(10, 34, 64, 0.22);
  border-color: rgba(255, 255, 255, 0.5);
}

.acero-nav__logo img {
  height: 38px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 1px 4px rgba(0, 0, 0, 0.12));
  transition: transform var(--transition);
}

.acero-nav__logo:hover img {
  transform: scale(1.04);
}

.acero-nav__links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.acero-nav__link {
  font-family: 'Outfit', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--acero-text-2);
  text-decoration: none;
  position: relative;
  transition: color var(--transition);
}

.acero-nav__link::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--acero-accent-2);
  border-radius: 2px;
  transition: width var(--transition);
}

.acero-nav__link:hover,
.acero-nav__link.active {
  color: var(--acero-accent);
}

.acero-nav__link:hover::after,
.acero-nav__link.active::after {
  width: 100%;
}

.acero-nav__cta {
  font-family: 'Outfit', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  color: #fff;
  background: var(--acero-accent);
  padding: 0.55rem 1.4rem;
  border-radius: 50px;
  text-decoration: none;
  letter-spacing: 0.03em;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 4px 16px rgba(10, 34, 64, 0.2);
}

.acero-nav__cta:hover {
  background: var(--acero-accent-2);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(29, 95, 168, 0.3);
}

.acero-nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.acero-nav__burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--acero-accent);
  border-radius: 2px;
  transition: var(--transition);
}

.acero-nav__burger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.acero-nav__burger.active span:nth-child(2) {
  opacity: 0;
}

.acero-nav__burger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ══════════════════════════════════════════════════════════════
   HERO — Background image ONLY in this section
══════════════════════════════════════════════════════════════ */
.acero-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-image: url('../img/acero_fondo.png');
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
}

/* Gradient overlay — brightens to white on the left, fade at bottom */
.acero-hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg,
      rgba(245, 246, 248, 0.96) 0%,
      rgba(245, 246, 248, 0.78) 45%,
      rgba(245, 246, 248, 0.10) 100%),
    linear-gradient(to bottom, transparent 60%, rgba(245, 246, 248, 0.95) 100%);
  z-index: 1;
}

.acero-hero__content {
  position: relative;
  z-index: 2;
  max-width: 850px;
  padding: clamp(6rem, 12vw, 10rem) clamp(1.5rem, 6vw, 5rem) 4rem;
}

.acero-hero__tag {
  display: inline-block;
  font-family: 'Outfit', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--acero-accent-2);
  background: rgba(29, 95, 168, 0.1);
  border: 1px solid rgba(29, 95, 168, 0.2);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  margin-bottom: 1.6rem;
}

.acero-hero__title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 900;
  line-height: 1.05;
  color: var(--acero-accent);
  letter-spacing: -0.04em;
  margin-bottom: 1.4rem;
}

.acero-hero__title em {
  font-style: normal;
  color: var(--acero-accent-2);
  position: relative;
}

.acero-hero__desc {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: var(--acero-text-2);
  line-height: 1.75;
  max-width: 520px;
  margin-bottom: 2.5rem;
}

.acero-hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Scroll indicator */
.acero-hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.scroll-line {
  width: 2px;
  height: 50px;
  background: linear-gradient(to bottom, var(--acero-accent-2), transparent);
  border-radius: 2px;
  animation: scrollPulse 2s ease-in-out infinite;
}

/* ══════════════════════════════════════════════════════════════
   BUTTONS
══════════════════════════════════════════════════════════════ */
.btn-primary-acero {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  background: var(--acero-accent);
  padding: 0.85rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  letter-spacing: 0.02em;
  box-shadow: 0 6px 24px rgba(10, 34, 64, 0.22);
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}

.btn-primary-acero:hover {
  background: var(--acero-accent-2);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(29, 95, 168, 0.32);
}

.btn-primary-acero svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.btn-primary-acero--white {
  background: #fff;
  color: var(--acero-accent);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.15);
}

.btn-primary-acero--white:hover {
  background: var(--acero-bg);
  color: var(--acero-accent-2);
}

.btn-ghost-acero {
  display: inline-flex;
  align-items: center;
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--acero-accent);
  background: transparent;
  border: 2px solid rgba(10, 34, 64, 0.25);
  padding: 0.8rem 1.8rem;
  border-radius: 50px;
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: border-color var(--transition), background var(--transition), color var(--transition), transform var(--transition);
}

.btn-ghost-acero:hover {
  border-color: var(--acero-accent);
  background: rgba(10, 34, 64, 0.05);
  transform: translateY(-2px);
}

.btn-ghost-acero--dark {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}

.btn-ghost-acero--dark:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

/* ══════════════════════════════════════════════════════════════
   STATS STRIP
══════════════════════════════════════════════════════════════ */
.acero-stats {
  background: var(--acero-surface);
  border-top: 1px solid var(--acero-border);
  border-bottom: 1px solid var(--acero-border);
  padding: 2.5rem 0;
}

.acero-stats__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 5vw, 3rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
  min-width: 120px;
}

.stat-num {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 900;
  color: var(--acero-accent);
  line-height: 1;
  letter-spacing: -0.04em;
}

.stat-suffix {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  font-weight: 900;
  color: var(--acero-accent-2);
  line-height: 1;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--acero-text-3);
  font-weight: 500;
  margin-top: 0.35rem;
  letter-spacing: 0.02em;
}

.stat-divider {
  width: 1px;
  height: 48px;
  background: var(--acero-border);
  flex-shrink: 0;
}

/* ══════════════════════════════════════════════════════════════
   SECTIONS — Base
══════════════════════════════════════════════════════════════ */
.acero-section {
  padding: clamp(2.5rem, 5vw, 4.5rem) 0; /* Reducido de 4rem-7rem */
  background: var(--acero-bg);
}

.acero-section--light {
  background: var(--acero-surface);
  border-top: 1px solid var(--acero-border);
  border-bottom: 1px solid var(--acero-border);
}

.acero-section__inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 5vw, 3rem);
}

/* ══════════════════════════════════════════════════════════════
   PRODUCTS GRID
══════════════════════════════════════════════════════════════ */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.product-card {
  background: var(--acero-surface);
  border: 1px solid var(--acero-border);
  border-radius: var(--acero-radius);
  padding: 2.2rem 2rem;
  position: relative;
  overflow: hidden;
  transition: all var(--transition);
  cursor: default;
  display: flex;
  flex-direction: column;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.product-card > * {
  position: relative;
  z-index: 2;
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--acero-accent), var(--acero-accent-2));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--acero-shadow-lg);
  border-color: var(--acero-steel-1);
}

.product-card:hover::before {
  transform: scaleX(1);
}

.product-card__icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: #fff;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: all var(--transition);
  position: relative;
}

.product-card__icon::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0.12;
  transition: opacity var(--transition);
}

/* Colores vibrantes para los iconos */
#prod-cocina .product-card__icon { background: linear-gradient(135deg, #3b82f6, #2563eb); color: #fff; }
#prod-mesas .product-card__icon { background: linear-gradient(135deg, #6366f1, #4f46e5); color: #fff; }
#prod-tanques .product-card__icon { background: linear-gradient(135deg, #06b6d4, #0891b2); color: #fff; }
#prod-estructuras .product-card__icon { background: linear-gradient(135deg, #0f172a, #334155); color: #fff; }
#prod-pasamanos .product-card__icon { background: linear-gradient(135deg, #64748b, #94a3b8); color: #fff; }
#prod-especiales .product-card__icon { background: linear-gradient(135deg, #8b5cf6, #7c3aed); color: #fff; }

.product-card:hover .product-card__icon {
  transform: translateY(-8px) rotate(5deg) scale(1.1);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

/* ---- Background Images for Product Cards (Atmospheric) ---- */
.product-card::after {
  content: '';
  position: absolute;
  inset: 0;
  /* background-image: var(--bg-image, none); */
  background-color: transparent;
  pointer-events: none;
  z-index: 0;
}

.product-card:hover::after {
  opacity: 1;
}

.product-card > * {
  position: relative;
  z-index: 2;
}

.product-card__icon svg {
  width: 28px;
  height: 28px;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.product-card__title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--acero-accent);
  margin-bottom: 0.6rem;
  letter-spacing: -0.02em;
}

.product-card__desc {
  font-size: 0.9rem;
  color: var(--acero-text-2);
  line-height: 1.65;
  margin-bottom: 1.2rem;
}

.product-card__tag {
  font-family: 'Outfit', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--acero-accent-2);
  background: rgba(29, 95, 168, 0.08);
  border: 1px solid rgba(29, 95, 168, 0.15);
  padding: 0.3rem 0.8rem;
  border-radius: 50px;
}

/* ══════════════════════════════════════════════════════════════
   SECTORES
══════════════════════════════════════════════════════════════ */
.acero-sectores {
  padding: clamp(4rem, 8vw, 7rem) 0;
  background: var(--acero-accent);
  position: relative;
  overflow: hidden;
}

.acero-sectores::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 20% 50%, rgba(29, 95, 168, 0.15) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 80% 30%, rgba(45, 125, 210, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.acero-sectores .section-label {
  color: var(--acero-steel-2);
}

.acero-sectores .section-title {
  color: #fff;
}

.acero-sectores .section-sub {
  color: var(--acero-steel-2);
}

.sectores-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 3.5rem;
  justify-content: center;
}

.sector-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: 3.5rem 2.5rem;
  text-align: center;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.sector-card > * {
  position: relative;
  z-index: 2;
}

.sector-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(45, 125, 210, 0.2), transparent 70%);
  opacity: 0;
  transition: opacity 0.4s;
}

.sector-card:hover {
  transform: translateY(-12px) scale(1.02);
  background: rgba(255, 255, 255, 0.07);
  border-color: var(--acero-accent-2);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.sector-card:hover::before {
  opacity: 1;
}

.sector-card__icon {
  width: 90px;
  height: 90px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 50%;
  margin: 0 auto 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--acero-accent-2);
  transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.sector-card__icon svg {
  width: 40px;
  height: 40px;
  transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.sector-card:hover .sector-card__icon {
  background: var(--acero-accent-2);
  color: #fff;
  transform: rotateY(180deg);
  box-shadow: 0 0 30px rgba(45, 125, 210, 0.5);
}

.sector-card:hover .sector-card__icon svg {
  transform: rotateY(-180deg) scale(1.2);
}

.sector-card__title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1.2rem;
  position: relative;
  letter-spacing: -0.02em;
}

.sector-card__desc {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
  position: relative;
  transition: color 0.3s;
}

.sector-card:hover .sector-card__desc {
  color: rgba(255, 255, 255, 0.9);
}


/* Glow and Numbers removed and replaced by new design system */



/* Old sector components cleaned up */


/* ══════════════════════════════════════════════════════════════
   PORTFOLIO / TRABAJOS REALIZADOS
══════════════════════════════════════════════════════════════ */
/* ══════════════════════════════════════════════════════════════
   PORTFOLIO DINÁMICO — CAROUSEL GRID
   Fixed 2 rows of 3 on Desktop, responsive on Mobile
══════════════════════════════════════════════════════════════ */
.portfolio-dynamic-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.project-mini-card {
  position: relative;
  background: #0d2a4a; /* Fallback dark blue */
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4/3;
  min-height: 200px; /* Safety min-height */
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 10;
}

.project-mini-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(10, 34, 64, 0.25);
}

.card-carousel {
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 1;
}

.card-carousel__track {
  width: 100%;
  height: 100%;
}

.card-carousel__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1s ease-in-out, visibility 1s ease-in-out;
}

.card-carousel__slide.active {
  opacity: 1;
  visibility: visible;
}

.card-carousel__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.9);
  transition: transform 1s ease;
}

.project-mini-card:hover .card-carousel__slide img {
  transform: scale(1.05);
}

.project-mini-card__info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.8rem 1.4rem 1.2rem;
  background: linear-gradient(to top, 
    rgba(10, 34, 64, 0.95) 0%, 
    rgba(10, 34, 64, 0.6) 60%, 
    transparent 100%);
  z-index: 5;
  pointer-events: none;
}

.project-mini-card__title {
  color: #fff;
  font-family: 'Outfit', sans-serif;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.3;
  margin: 0;
}

.project-mini-card__line {
  width: 24px;
  height: 2px;
  background: var(--acero-accent-2);
  margin-top: 10px;
  transition: width 0.4s ease;
}

.project-mini-card:hover .project-mini-card__line {
  width: 50px;
}

.portfolio-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 4rem;
  background: var(--acero-bg-alt);
  border: 2px dashed var(--acero-border);
  border-radius: 12px;
  color: var(--acero-text-3);
  font-family: 'Outfit', sans-serif;
}

/* Responsive grid */
@media (max-width: 992px) {
  .portfolio-dynamic-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .portfolio-dynamic-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }
}

/* ══════════════════════════════════════════════════════════════
   PROCESO
══════════════════════════════════════════════════════════════ */
.proceso-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}

.proceso-step {
  display: grid;
  grid-template-columns: 80px 1px 1fr;
  gap: 0 2rem;
  align-items: start;
  padding-bottom: 2.5rem;
}

.proceso-step:last-child {
  padding-bottom: 0;
}

.proceso-step__num {
  font-family: 'Outfit', sans-serif;
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--acero-accent);
  letter-spacing: -0.05em;
  line-height: 1;
  padding-top: 0.1rem;
  text-align: right;
  padding-right: 1rem;
  opacity: 0.12;
  transition: opacity var(--transition);
}

.proceso-step:hover .proceso-step__num {
  opacity: 1;
  color: var(--acero-accent-2);
}

.proceso-step__line {
  width: 1px;
  background: linear-gradient(to bottom, var(--acero-accent-2), var(--acero-border));
  align-self: stretch;
  margin: 4px 0;
}

.proceso-step:last-child .proceso-step__line {
  display: none;
}

.proceso-step__body {
  padding-bottom: 0.5rem;
}

.proceso-step__title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--acero-accent);
  letter-spacing: -0.02em;
  margin-bottom: 0.4rem;
  transition: color var(--transition);
}

.proceso-step:hover .proceso-step__title {
  color: var(--acero-accent-2);
}

.proceso-step__desc {
  font-size: 0.92rem;
  color: var(--acero-text-2);
  line-height: 1.65;
}

/* ══════════════════════════════════════════════════════════════
   CALIDAD SECTION
══════════════════════════════════════════════════════════════ */
.acero-calidad {
  padding: clamp(4rem, 8vw, 7rem) 0;
  background: var(--acero-shine);
  border-top: 1px solid var(--acero-border);
}

.calidad-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.5rem;
}

.calidad-card {
  background: var(--acero-surface);
  border: 1px solid var(--acero-border);
  border-radius: var(--acero-radius);
  padding: 2rem;
  transition: transform var(--transition), box-shadow var(--transition);
  position: relative;
  overflow: hidden;
}

.calidad-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--acero-steel-1), var(--acero-accent-2));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.calidad-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--acero-shadow-lg);
}

.calidad-card:hover::after {
  transform: scaleX(1);
}

.calidad-card__icon {
  width: 44px;
  height: 44px;
  color: var(--acero-accent-2);
  margin-bottom: 1rem;
  transition: transform var(--transition);
}

.calidad-card:hover .calidad-card__icon {
  transform: rotate(-8deg) scale(1.1);
}

.calidad-card__icon svg {
  width: 100%;
  height: 100%;
}

.calidad-card h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 800;
  color: var(--acero-accent);
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.calidad-card p {
  font-size: 0.88rem;
  color: var(--acero-text-2);
  line-height: 1.6;
}

/* ══════════════════════════════════════════════════════════════
   CTA FINAL
══════════════════════════════════════════════════════════════ */
.acero-cta {
  padding: clamp(3rem, 5vw, 5rem) 0;
  background: linear-gradient(135deg, var(--acero-accent) 0%, #0d3060 50%, var(--acero-accent-2) 100%);
  position: relative;
  overflow: hidden;
}

.acero-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 60% at 20% 50%, rgba(45, 125, 210, 0.25) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 80% 60%, rgba(200, 207, 217, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.acero-cta__inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 5vw, 3rem);
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  align-items: center;
  gap: 4rem;
}

.acero-cta__content {
  text-align: left;
}

.acero-cta__tag {
  display: inline-block;
  font-family: 'Outfit', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  margin-bottom: 1.5rem;
}

.acero-cta__title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin-bottom: 1rem;
}

.acero-cta__sub {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

.acero-cta__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-submit-acero {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  background: #fff;
  color: var(--acero-accent);
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 800;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.btn-submit-acero:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.2);
  background: var(--acero-accent-3);
  color: #fff;
}

@media (max-width: 992px) {
  .acero-cta__inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

/* ══════════════════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════════════════ */
.acero-footer {
  background: #020617;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 5rem;
  position: relative;
  overflow: hidden;
}

.acero-footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(29, 95, 168, 0.2) 50%, transparent);
}

.footer-main-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 4rem;
  padding-bottom: 5rem;
}

.brand-text {
  color: rgba(255, 255, 255, 0.5);
  max-width: 320px;
  line-height: 1.7;
  font-size: 0.95rem;
  margin-bottom: 2rem;
}

.social-links-acero {
  display: flex;
  gap: 1rem;
}

.social-btn-acero {
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: all 0.3s ease;
}

.social-btn-acero:hover {
  background: var(--acero-accent-2);
  border-color: var(--acero-accent-2);
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(45, 125, 210, 0.3);
}

.social-btn-acero svg {
  width: 22px;
  height: 22px;
}

.footer-h {
  font-family: 'Outfit', sans-serif;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 2rem;
  position: relative;
}

.footer-h::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -0.8rem;
  width: 30px;
  height: 2px;
  background: var(--acero-accent-2);
}

.footer-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.footer-list li {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.list-label {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.3);
  letter-spacing: 0.05em;
}

.footer-list a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 0.95rem;
  display: inline-block;
}

.footer-list a:hover {
  color: var(--acero-accent-2);
  transform: translateX(5px);
}

.acero-footer__bottom {
  background: rgba(0, 0, 0, 0.4);
  border-top: 1px solid rgba(255, 255, 255, 0.03);
  padding: 1.5rem 0;
}

.bottom-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.4);
}

.bottom-flex strong {
  color: #fff;
}

.back-link {
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  color: var(--acero-accent-2);
  text-decoration: none;
  transition: opacity 0.3s;
}

.back-link:hover {
  opacity: 0.8;
}

@media (max-width: 1024px) {
  .footer-main-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
  .footer-brand {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  .footer-main-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer-brand {
    grid-column: span 1;
  }
  .brand-text {
    margin: 0 auto 2rem;
  }
  .social-links-acero {
    justify-content: center;
  }
  .footer-h::after {
    left: 50%;
    transform: translateX(-50%);
  }
  .bottom-flex {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }
}

/* ══════════════════════════════════════════════════════════════
   SCROLL TO TOP BUTTON
══════════════════════════════════════════════════════════════ */
.scroll-top-btn {
  position: fixed;
  bottom: 7.5rem;
  right: 2rem;
  z-index: 300;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--acero-accent);
  color: #fff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(10, 34, 64, 0.3);
  opacity: 0;
  transform: translateY(10px) scale(0.9);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease, background var(--transition);
}

.scroll-top-btn.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.scroll-top-btn:hover {
  background: var(--acero-accent-2);
  transform: translateY(-3px) scale(1.05);
}

.scroll-top-btn svg {
  width: 18px;
  height: 18px;
}

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════════════════ */
@media (max-width: 900px) {
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .portfolio-item--large {
    grid-column: span 2;
  }

  .acero-nav__links {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: rgba(245, 246, 248, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem 2rem 2rem;
    gap: 1.2rem;
    border-bottom: 1px solid var(--acero-border);
    box-shadow: 0 12px 40px rgba(10, 34, 64, 0.1);
  }

  .acero-nav__links.open {
    display: flex;
  }

  .acero-nav__burger {
    display: flex;
  }

  .proceso-step {
    grid-template-columns: 60px 1px 1fr;
    gap: 0 1rem;
  }
}

@media (max-width: 640px) {
  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .portfolio-item--large {
    grid-column: span 1;
  }

  .acero-stats__inner {
    flex-direction: column;
    gap: 1.5rem;
  }

  .stat-divider {
    width: 80px;
    height: 1px;
  }

  .acero-hero__actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .acero-cta__actions {
    flex-direction: column;
    align-items: center;
  }

  .proceso-step {
    grid-template-columns: 50px 1fr;
  }

  .proceso-step__line {
    display: none;
  }

  .acero-footer__inner {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .acero-hero__content {
    padding-top: 5.5rem;
  }
}

/* ══════════════════════════════════════════════════════════════
   FORMULARIO ACERO (REFINADO GLASS)
══════════════════════════════════════════════════════════════ */
.quote-form-acero {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 2.5rem 3rem;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem; /* Espacio ideal entre etiqueta e input */
  position: relative;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.quote-form-acero label {
  font-family: 'Outfit', sans-serif;
  font-size: 0.78rem;
  font-weight: 800; /* Más peso para legibilidad */
  color: var(--acero-accent-2); /* Volver al color acento vibrante */
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-left: 2px;
  opacity: 1;
}

.quote-form-acero input,
.quote-form-acero textarea,
.quote-form-acero select {
  width: 100%;
  padding: 0.8rem 1.2rem;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  transition: all 0.35s ease;
}

.quote-form-acero input:focus,
.quote-form-acero textarea:focus,
.quote-form-acero select:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--acero-accent-2);
  box-shadow: 0 0 0 5px rgba(29, 95, 168, 0.2);
  transform: translateY(-2px);
}

.btn-submit-acero {
  align-self: flex-start; /* Alinear a la izquierda o centro según prefieras, probaremos left */
  width: auto;
  min-width: 260px;
  margin-top: 1rem;
  background: #fff;
  color: #0a2240;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-weight: 900;
  letter-spacing: 0.05em;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-submit-acero:hover {
  transform: translateX(10px); /* Efecto de empuje hacia la derecha */
  background: var(--acero-accent-2);
  color: #fff;
  box-shadow: 0 15px 35px rgba(29, 95, 168, 0.3);
}

@media (max-width: 992px) {
  .quote-form-acero {
    padding: 2.5rem 2rem;
  }
}

@media (max-width: 768px) {
  .form-row {
    grid-template-columns: 1fr;
    gap: 1.8rem;
  }
  .btn-submit-acero {
    width: 100%;
    align-self: center;
  }
  .btn-submit-acero:hover {
    transform: translateY(-5px);
  }
}

/* ══════════════════════════════════════════════════════════════
   NEW FOOTER STYLES
   ══════════════════════════════════════════════════════════════ */
.acero-footer {
  background: #0f172a;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 4rem 0 0;
  color: #fff;
}

.acero-footer__content {
  padding-bottom: 3rem;
}

.footer-flex {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 3rem;
  flex-wrap: wrap;
}

.footer-brand {
  flex: 1;
  min-width: 250px;
}

.footer-social {
  flex: 0 1 auto;
}

.social-icon-acero {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.1);
  transition: all 0.3s ease;
}

.social-icon-acero:hover {
  color: #fff !important;
  background: var(--acero-accent-2);
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(29, 95, 168, 0.4);
}

.acero-footer__bottom {
  background: rgba(0, 0, 0, 0.2);
  padding: 2rem 0;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

@media (max-width: 768px) {
  .footer-flex {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}