/* ==========================================================================
   INELEA PRO — Industrial Futurist Design System
   Palette: Industrial Red #e10600 · Steel · Black
   ========================================================================== */

:root {
  --red: #e10600;
  --red-hot: #ff2a1f;
  --red-deep: #9a0400;
  --amber: #f4b214;
  --steel-100: #e8eaed;
  --steel-200: #c5c9d0;
  --steel-400: #8b929e;
  --steel-600: #4a5160;
  --steel-700: #2e3440;
  --steel-800: #1a1e26;
  --steel-900: #0c0e12;
  --black: #050608;
  --white: #f5f6f8;
  --wa-metal: #1f8f4e;
  --wa-bright: #25d366;
  --wa-glow: #3dff8a;

  /* Aliases (legacy orange names → red) */
  --orange: var(--red);
  --orange-hot: var(--red-hot);
  --orange-deep: var(--red-deep);

  --glass: rgba(26, 30, 38, 0.55);
  --glass-border: rgba(225, 6, 0, 0.28);
  --glass-highlight: rgba(255, 255, 255, 0.06);

  --font: "Barlow", "Segoe UI", system-ui, sans-serif;
  --font-display: "Oswald", "Arial Narrow", sans-serif;
  --radius: 10px;
  --radius-btn: 12px;
  --header-h: 96px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  --hot-steel: linear-gradient(135deg, #ff4d42 0%, #e10600 40%, #9a0400 70%, #ff2a1f 100%);
  --metal: linear-gradient(145deg, #3a4150 0%, #1a1e26 45%, #4a5160 70%, #2e3440 100%);
  --brushed: linear-gradient(
    110deg,
    #2a303c 0%,
    #6a7385 18%,
    #2e3440 36%,
    #8b929e 50%,
    #1a1e26 68%,
    #5a6272 84%,
    #0c0e12 100%
  );
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font);
  background: var(--steel-900);
  color: var(--steel-200);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
  border: none;
  background: none;
}

.container {
  width: min(1200px, calc(100% - 2rem));
  margin-inline: auto;
}

.container-wide {
  width: min(1400px, calc(100% - 2rem));
  margin-inline: auto;
}

/* --------------------------------------------------------------------------
   Scroll progress
   -------------------------------------------------------------------------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  z-index: 9998;
  background: rgba(255, 255, 255, 0.04);
}

.scroll-progress__bar {
  width: 100%;
  height: 0%;
  background: var(--hot-steel);
  box-shadow: 0 0 12px rgba(225, 6, 0, 0.6);
  transition: height 0.05s linear;
}

.scroll-progress--top {
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
}

.scroll-progress--top .scroll-progress__bar {
  height: 100%;
  width: 0%;
  transition: width 0.05s linear;
}

@media (max-width: 768px) {
  .scroll-progress {
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
  }
  .scroll-progress__bar {
    height: 100%;
    width: 0%;
  }
}

/* --------------------------------------------------------------------------
   Particles canvas
   -------------------------------------------------------------------------- */
#particles {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.3;
}

/* --------------------------------------------------------------------------
   Reveal animations
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

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

.reveal-delay-1 {
  transition-delay: 0.1s;
}
.reveal-delay-2 {
  transition-delay: 0.2s;
}
.reveal-delay-3 {
  transition-delay: 0.3s;
}
.reveal-delay-4 {
  transition-delay: 0.4s;
}

/* --------------------------------------------------------------------------
   Header / Nav
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease),
    backdrop-filter 0.4s var(--ease);
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: transparent;
  transition: background 0.4s var(--ease);
  pointer-events: none;
}

.site-header.is-scrolled {
  background: rgba(12, 14, 18, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(225, 6, 0, 0.15), 0 8px 32px rgba(0, 0, 0, 0.4);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1400px, calc(100% - 2rem));
  margin-inline: auto;
  position: relative;
  z-index: 1;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  position: relative;
  z-index: 2;
}

.brand__glow {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 140px;
  height: 70px;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse, rgba(225, 6, 0, 0.55) 0%, transparent 70%);
  filter: blur(18px);
  opacity: 1;
  transition: opacity 0.5s ease;
  pointer-events: none;
  z-index: -1;
}

.site-header.is-scrolled .brand__glow {
  opacity: 0.35;
}

.brand__logo {
  height: 80px;
  width: auto;
  max-width: min(280px, 58vw);
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.65))
    drop-shadow(0 0 14px rgba(225, 6, 0, 0.35));
  transition: transform 0.4s var(--ease), filter 0.4s var(--ease);
}

.brand:hover .brand__logo {
  transform: scale(1.04);
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.7))
    drop-shadow(0 0 18px rgba(225, 6, 0, 0.5));
}

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

.nav__list {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav__link {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--steel-200);
  position: relative;
  padding: 0.35rem 0;
  transition: color 0.3s ease;
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--hot-steel);
  transition: width 0.35s var(--ease);
}

.nav__link:hover,
.nav__link.is-active {
  color: var(--white);
}

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

.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.25rem;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--hot-steel);
  background-size: 200% 200%;
  border: 1px solid rgba(255, 77, 66, 0.4);
  border-radius: var(--radius-btn);
  box-shadow: 0 0 20px rgba(225, 6, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transition: transform 0.3s var(--ease), box-shadow 0.3s ease, filter 0.3s ease;
  animation: steel-shimmer 4s ease infinite;
}

.nav__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 32px rgba(225, 6, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  width: 36px;
  padding: 6px;
  z-index: 10;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--white);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

@media (max-width: 960px) {
  .nav-toggle {
    display: flex;
  }

  .nav {
    position: fixed;
    inset: 0;
    background: rgba(5, 6, 8, 0.96);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    gap: 2.5rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
  }

  .nav.is-open {
    opacity: 1;
    visibility: visible;
  }

  .nav__list {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }

  .nav__link {
    font-size: 1.1rem;
  }
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 1rem 1.75rem;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1px solid transparent;
  border-radius: var(--radius-btn);
  transition: transform 0.3s var(--ease), box-shadow 0.3s ease, background 0.3s ease,
    border-color 0.3s ease, color 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn--primary {
  color: var(--white);
  background: var(--hot-steel);
  background-size: 200% 200%;
  border-color: rgba(255, 77, 66, 0.35);
  box-shadow: 0 0 24px rgba(225, 6, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  animation: steel-shimmer 5s ease infinite;
}

.btn--primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 40px rgba(225, 6, 0, 0.45);
}

.btn--ghost {
  color: var(--white);
  background: var(--glass);
  border-color: var(--glass-border);
  backdrop-filter: blur(12px);
}

.btn--ghost:hover {
  border-color: var(--orange);
  box-shadow: 0 0 20px rgba(225, 6, 0, 0.2);
  transform: translateY(-2px);
}

.btn--wa {
  color: #04140a;
  font-weight: 800;
  background: linear-gradient(145deg, #3dff8a 0%, #25d366 30%, #1a7a42 60%, #2ee872 100%);
  background-size: 200% 200%;
  border: 1px solid rgba(61, 255, 138, 0.5);
  box-shadow: 0 0 18px rgba(37, 211, 102, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.35),
    inset 0 -2px 6px rgba(0, 0, 0, 0.2);
  animation: steel-shimmer 3.5s ease infinite;
  padding: 0.75rem 1.1rem;
  font-size: 0.72rem;
  width: 100%;
}

.btn--wa:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 0 28px rgba(37, 211, 102, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

@keyframes steel-shimmer {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  z-index: 1;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__media img,
.hero__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  animation: hero- ken 28s ease-in-out infinite alternate;
}

@keyframes hero-ken {
  from {
    transform: scale(1.05) translate(0, 0);
  }
  to {
    transform: scale(1.12) translate(-2%, -1%);
  }
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 6, 8, 0.55) 0%, rgba(5, 6, 8, 0.35) 40%, rgba(12, 14, 18, 0.92) 100%),
    radial-gradient(ellipse at 70% 30%, rgba(225, 6, 0, 0.18) 0%, transparent 55%),
    linear-gradient(90deg, rgba(5, 6, 8, 0.7) 0%, transparent 50%);
  z-index: 1;
}

.hero__grid {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image:
    linear-gradient(rgba(225, 6, 0, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(225, 6, 0, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 75%);
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 2;
  width: min(1100px, calc(100% - 2rem));
  padding: calc(var(--header-h) + 2rem) 0 4rem;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--red-hot);
  margin-bottom: 1.5rem;
}

.hero__eyebrow::before {
  content: "";
  width: 40px;
  height: 1px;
  background: var(--hot-steel);
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.75rem);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1.5rem;
  max-width: 18ch;
}

.hero__title strong {
  display: block;
  font-weight: 700;
  background: var(--hot-steel);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 30px rgba(225, 6, 0, 0.35));
}

.hero__title .char {
  display: inline-block;
  opacity: 0;
  transform: translateY(1.2em);
  animation: char-in 0.7s var(--ease-out) forwards;
}

@keyframes char-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero__lead {
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 300;
  color: var(--steel-200);
  max-width: 36rem;
  margin-bottom: 2.5rem;
  border-left: 2px solid var(--orange);
  padding-left: 1.25rem;
}

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

.hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--steel-400);
}

.hero__scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--orange), transparent);
  animation: scroll-pulse 2s ease infinite;
}

@keyframes scroll-pulse {
  0%,
  100% {
    opacity: 0.3;
    transform: scaleY(0.7);
    transform-origin: top;
  }
  50% {
    opacity: 1;
    transform: scaleY(1);
  }
}

/* --------------------------------------------------------------------------
   Sections shared
   -------------------------------------------------------------------------- */
.section {
  position: relative;
  z-index: 1;
  padding: clamp(4rem, 10vw, 7.5rem) 0;
}

.section--dark {
  background: linear-gradient(180deg, transparent, rgba(5, 6, 8, 0.5));
}

.section__header {
  margin-bottom: clamp(2.5rem, 6vw, 4rem);
  max-width: 40rem;
}

.section__eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.85rem;
}

.section__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1rem;
}

.section__title strong {
  font-weight: 700;
  background: var(--hot-steel);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section__lead {
  font-size: 1.05rem;
  font-weight: 300;
  color: var(--steel-400);
}

/* --------------------------------------------------------------------------
   About / Stats
   -------------------------------------------------------------------------- */
.about {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.about__visual {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 1px solid var(--glass-border);
}

.about__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.05) saturate(0.9);
}

.about__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 40%, rgba(225, 6, 0, 0.25));
  pointer-events: none;
}

.about__frame {
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  pointer-events: none;
  z-index: 1;
}

.about__badge {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  padding: 1.25rem;
  background: var(--glass);
  backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  z-index: 2;
}

.about__badge strong {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--orange-hot);
  margin-bottom: 0.35rem;
}

.about__text p {
  margin-bottom: 1.25rem;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 2.5rem;
  background: rgba(225, 6, 0, 0.15);
  border: 1px solid var(--glass-border);
}

.stat {
  padding: 1.5rem 1.25rem;
  background: var(--steel-800);
  text-align: center;
}

.stat__num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.02em;
  background: var(--hot-steel);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 0.4rem;
}

.stat__label {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--steel-400);
}

@media (max-width: 900px) {
  .about {
    grid-template-columns: 1fr;
  }
  .about__visual {
    aspect-ratio: 16 / 10;
    max-height: 360px;
  }
}

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

/* --------------------------------------------------------------------------
   Services 3D cards
   -------------------------------------------------------------------------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  perspective: 1200px;
}

.service-card {
  position: relative;
  padding: 2rem 1.75rem;
  background: var(--glass);
  backdrop-filter: blur(14px);
  border: 1px solid var(--glass-border);
  transform-style: preserve-3d;
  transition: transform 0.15s ease-out, box-shadow 0.3s ease, border-color 0.3s ease;
  will-change: transform;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(225, 6, 0, 0.12), transparent 50%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.service-card:hover {
  border-color: rgba(225, 6, 0, 0.5);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45), 0 0 30px rgba(225, 6, 0, 0.12);
}

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

.service-card__icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  margin-bottom: 1.5rem;
  background: var(--metal);
  border: 1px solid rgba(225, 6, 0, 0.3);
  color: var(--orange-hot);
  font-size: 1.4rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 0 20px rgba(225, 6, 0, 0.15);
  transform: translateZ(30px);
}

.service-card__title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 0.75rem;
  transform: translateZ(20px);
}

.service-card__text {
  font-size: 0.95rem;
  color: var(--steel-400);
  font-weight: 300;
  transform: translateZ(15px);
}

@media (max-width: 900px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

/* --------------------------------------------------------------------------
   Catalog Showroom
   -------------------------------------------------------------------------- */
.catalog {
  background:
    radial-gradient(ellipse at 20% 0%, rgba(225, 6, 0, 0.08) 0%, transparent 45%),
    linear-gradient(180deg, var(--steel-900), var(--black) 40%, var(--steel-900));
}

.catalog .section__header {
  max-width: 48rem;
}

.catalog-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 2.5rem;
}

.filter-btn {
  padding: 0.55rem 1.1rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--steel-400);
  border: 1px solid rgba(139, 146, 158, 0.25);
  border-radius: 10px;
  background: rgba(26, 30, 38, 0.5);
  transition: color 0.3s ease, border-color 0.3s ease, background 0.3s ease,
    box-shadow 0.3s ease;
}

.filter-btn:hover,
.filter-btn.is-active {
  color: var(--white);
  border-color: var(--orange);
  background: rgba(225, 6, 0, 0.12);
  box-shadow: 0 0 16px rgba(225, 6, 0, 0.2);
}

.catalog-masonry {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 180px;
  gap: 1rem;
}

.product-card {
  position: relative;
  grid-column: span 4;
  grid-row: span 2;
  overflow: hidden;
  border: 1px solid var(--glass-border);
  background: var(--steel-800);
  isolation: isolate;
}

.product-card--lg {
  grid-column: span 6;
  grid-row: span 3;
}

.product-card--tall {
  grid-column: span 4;
  grid-row: span 3;
}

.product-card--wide {
  grid-column: span 8;
  grid-row: span 2;
}

.product-card__media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease), filter 0.5s ease;
}

.product-card:hover .product-card__media img {
  transform: scale(1.18);
  filter: brightness(0.55) contrast(1.1);
}

.product-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 25%, rgba(5, 6, 8, 0.92) 100%);
  z-index: 1;
  transition: background 0.4s ease;
}

.product-card:hover .product-card__overlay {
  background: linear-gradient(180deg, rgba(5, 6, 8, 0.2) 0%, rgba(5, 6, 8, 0.95) 100%);
}

.product-card__body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 1.5rem;
  transform: translateY(8px);
  transition: transform 0.4s var(--ease);
}

.product-card:hover .product-card__body {
  transform: translateY(0);
}

.product-card__code {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange-hot);
  margin-bottom: 0.4rem;
}

.product-card__title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.product-card__desc {
  font-size: 0.85rem;
  color: var(--steel-400);
  margin-bottom: 1rem;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.4s ease, margin 0.4s ease;
}

.product-card:hover .product-card__desc {
  max-height: 80px;
  opacity: 1;
}

@media (max-width: 1000px) {
  .catalog-masonry {
    grid-template-columns: repeat(6, 1fr);
    grid-auto-rows: 160px;
  }
  .product-card,
  .product-card--lg,
  .product-card--tall,
  .product-card--wide {
    grid-column: span 3;
    grid-row: span 2;
  }
  .product-card--lg {
    grid-column: span 6;
    grid-row: span 2;
  }
}

@media (max-width: 640px) {
  .catalog-masonry {
    grid-template-columns: 1fr;
    grid-auto-rows: 280px;
  }
  .product-card,
  .product-card--lg,
  .product-card--tall,
  .product-card--wide {
    grid-column: span 1;
    grid-row: span 1;
  }
  .product-card__desc {
    max-height: 60px;
    opacity: 1;
  }
}

/* --------------------------------------------------------------------------
   Timeline / Projects
   -------------------------------------------------------------------------- */
.timeline-wrap {
  overflow-x: auto;
  padding-bottom: 1.5rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.timeline-wrap::-webkit-scrollbar {
  height: 4px;
}

.timeline-wrap::-webkit-scrollbar-thumb {
  background: var(--orange);
}

.timeline {
  display: flex;
  gap: 0;
  min-width: max-content;
  padding: 2rem 0 1rem;
  position: relative;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 2.85rem;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--orange), var(--amber), var(--orange), transparent);
}

.timeline__item {
  width: min(320px, 80vw);
  padding: 0 1.5rem;
  scroll-snap-align: start;
  position: relative;
}

.timeline__dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--hot-steel);
  border: 2px solid var(--steel-900);
  box-shadow: 0 0 16px rgba(225, 6, 0, 0.6);
  margin-bottom: 1.75rem;
  position: relative;
  z-index: 1;
}

.timeline__year {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  color: var(--orange);
  margin-bottom: 0.5rem;
}

.timeline__card {
  padding: 1.5rem;
  background: var(--glass);
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.timeline__card:hover {
  border-color: rgba(225, 6, 0, 0.45);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  transform: translateY(-4px);
}

.timeline__card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.timeline__card p {
  font-size: 0.9rem;
  color: var(--steel-400);
  font-weight: 300;
}

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */
.contact-panel {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 2rem;
  align-items: stretch;
}

.contact-info {
  padding: 2.5rem;
  background: var(--glass);
  backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  position: relative;
  overflow: hidden;
}

.contact-info::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -30%;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(225, 6, 0, 0.25), transparent 70%);
  pointer-events: none;
}

.contact-info h3 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 300;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1rem;
}

.contact-info h3 strong {
  font-weight: 700;
}

.contact-info > p {
  color: var(--steel-400);
  margin-bottom: 2rem;
  font-weight: 300;
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-list i {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  background: var(--metal);
  border: 1px solid rgba(225, 6, 0, 0.3);
  color: var(--orange-hot);
  flex-shrink: 0;
}

.contact-list span {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--steel-400);
  display: block;
  margin-bottom: 0.2rem;
}

.contact-list a,
.contact-list strong {
  color: var(--white);
  font-weight: 600;
}

.contact-form-shell {
  padding: 2.5rem;
  background: linear-gradient(160deg, rgba(26, 30, 38, 0.85), rgba(12, 14, 18, 0.95));
  border: 1px solid var(--glass-border);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.03), 0 30px 60px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(20px);
  position: relative;
}

.contact-form-shell::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 0 40px rgba(225, 6, 0, 0.04);
}

.motivo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.motivo-option {
  cursor: pointer;
}

.motivo-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.motivo-option__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 0.5rem;
  text-align: center;
  border: 1px solid rgba(139, 146, 158, 0.2);
  border-radius: var(--radius);
  background: rgba(12, 14, 18, 0.6);
  box-shadow: inset 4px 4px 8px rgba(0, 0, 0, 0.4), inset -2px -2px 6px rgba(255, 255, 255, 0.03);
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease,
    background 0.3s ease;
}

.motivo-option__card i {
  font-size: 1.25rem;
  color: var(--steel-400);
  transition: color 0.3s ease;
}

.motivo-option__card span {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--steel-400);
}

.motivo-option input:checked + .motivo-option__card,
.motivo-option:hover .motivo-option__card {
  border-color: var(--orange);
  background: rgba(225, 6, 0, 0.1);
  box-shadow: 0 0 20px rgba(225, 6, 0, 0.2), inset 0 0 12px rgba(225, 6, 0, 0.08);
  transform: translateY(-2px);
}

.motivo-option input:checked + .motivo-option__card i,
.motivo-option:hover .motivo-option__card i,
.motivo-option input:checked + .motivo-option__card span,
.motivo-option:hover .motivo-option__card span {
  color: var(--orange-hot);
}

.field {
  position: relative;
  margin-bottom: 1.35rem;
}

.field input,
.field textarea {
  width: 100%;
  padding: 1.35rem 1rem 0.65rem;
  background: rgba(12, 14, 18, 0.7);
  border: 1px solid rgba(139, 146, 158, 0.2);
  border-radius: var(--radius);
  color: var(--white);
  box-shadow: inset 3px 3px 8px rgba(0, 0, 0, 0.45), inset -1px -1px 4px rgba(255, 255, 255, 0.03);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  outline: none;
  resize: vertical;
  min-height: 52px;
}

.field textarea {
  min-height: 120px;
  padding-top: 1.5rem;
}

.field label {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.9rem;
  color: var(--steel-400);
  pointer-events: none;
  transition: top 0.25s var(--ease), transform 0.25s var(--ease), font-size 0.25s var(--ease),
    color 0.25s ease;
}

.field textarea ~ label {
  top: 1.35rem;
  transform: none;
}

.field input:focus ~ label,
.field input:not(:placeholder-shown) ~ label,
.field textarea:focus ~ label,
.field textarea:not(:placeholder-shown) ~ label {
  top: 0.45rem;
  transform: none;
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange-hot);
}

.field input:focus,
.field textarea:focus {
  border-color: var(--orange);
  box-shadow: inset 3px 3px 8px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(225, 6, 0, 0.3),
    0 0 20px rgba(225, 6, 0, 0.12);
}

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

.btn-submit {
  width: 100%;
  margin-top: 0.5rem;
  min-height: 56px;
  position: relative;
}

.btn-submit__label,
.btn-submit__spinner,
.btn-submit__check {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.btn-submit__spinner,
.btn-submit__check {
  position: absolute;
  opacity: 0;
  transform: scale(0.8);
  pointer-events: none;
}

.btn-submit.is-loading .btn-submit__label {
  opacity: 0;
  transform: scale(0.8);
}

.btn-submit.is-loading .btn-submit__spinner {
  opacity: 1;
  transform: scale(1);
}

.btn-submit.is-success .btn-submit__label,
.btn-submit.is-success .btn-submit__spinner {
  opacity: 0;
  transform: scale(0.8);
}

.btn-submit.is-success .btn-submit__check {
  opacity: 1;
  transform: scale(1);
}

.spinner {
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.25);
  border-top-color: var(--white);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.form-alert {
  padding: 0.85rem 1rem;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  border: 1px solid transparent;
  display: none;
}

.form-alert.is-visible {
  display: block;
}

.form-alert--error {
  background: rgba(220, 53, 69, 0.12);
  border-color: rgba(220, 53, 69, 0.35);
  color: #ff8a96;
}

.form-alert--success {
  background: rgba(37, 211, 102, 0.12);
  border-color: rgba(37, 211, 102, 0.35);
  color: #7dffb0;
}

@media (max-width: 900px) {
  .contact-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .motivo-grid,
  .field-row {
    grid-template-columns: 1fr;
  }
  .contact-info,
  .contact-form-shell {
    padding: 1.5rem;
  }
}

/* Floating contact trigger */
.fab-contact {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  z-index: 900;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  background: var(--hot-steel);
  background-size: 200% 200%;
  color: var(--white);
  font-size: 1.25rem;
  border: 1px solid rgba(255, 77, 66, 0.4);
  border-radius: 18px;
  box-shadow: 0 8px 30px rgba(225, 6, 0, 0.4);
  animation: steel-shimmer 4s ease infinite;
  transition: transform 0.3s var(--ease);
}

.fab-contact:hover {
  transform: scale(1.08);
}

/* Modal */
.modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-items: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.modal.is-open {
  opacity: 1;
  visibility: visible;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 6, 8, 0.8);
  backdrop-filter: blur(8px);
}

.modal__dialog {
  position: relative;
  width: min(520px, 100%);
  max-height: min(90vh, 720px);
  overflow-y: auto;
  background: linear-gradient(160deg, rgba(26, 30, 38, 0.95), rgba(12, 14, 18, 0.98));
  border: 1px solid var(--glass-border);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.55), 0 0 40px rgba(225, 6, 0, 0.1);
  padding: 2rem;
  transform: translateY(24px) scale(0.97);
  transition: transform 0.4s var(--ease);
}

.modal.is-open .modal__dialog {
  transform: translateY(0) scale(1);
}

.modal__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: var(--steel-400);
  border: 1px solid rgba(139, 146, 158, 0.25);
  transition: color 0.3s ease, border-color 0.3s ease;
}

.modal__close:hover {
  color: var(--white);
  border-color: var(--orange);
}

.modal__title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 300;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 0.35rem;
}

.modal__title strong {
  font-weight: 700;
}

.modal__sub {
  color: var(--steel-400);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
  position: relative;
  z-index: 1;
  padding: 4rem 0 2rem;
  background: var(--black);
  border-top: 1px solid rgba(225, 6, 0, 0.15);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-brand__logo {
  height: 72px;
  width: auto;
  max-width: 260px;
  object-fit: contain;
  margin-bottom: 1.25rem;
  filter: drop-shadow(0 0 12px rgba(225, 6, 0, 0.3));
}

.footer-brand p {
  font-size: 0.9rem;
  color: var(--steel-400);
  font-weight: 300;
  max-width: 28ch;
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1.25rem;
}

.footer-col a {
  display: block;
  font-size: 0.9rem;
  color: var(--steel-400);
  margin-bottom: 0.65rem;
  transition: color 0.3s ease, padding-left 0.3s ease;
}

.footer-col a:hover {
  color: var(--orange-hot);
  padding-left: 4px;
}

.socials {
  display: flex;
  gap: 0.65rem;
  margin-top: 1.25rem;
}

.socials a {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(139, 146, 158, 0.25);
  color: var(--steel-200);
  margin: 0;
  transition: border-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

.socials a:hover {
  border-color: var(--orange);
  color: var(--orange-hot);
  box-shadow: 0 0 16px rgba(225, 6, 0, 0.25);
  padding-left: 0;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.8rem;
  color: var(--steel-600);
}

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

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

/* --------------------------------------------------------------------------
   Reduced motion
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
  html {
    scroll-behavior: auto;
  }
}
