/* ==========================================================================
   LLASIME — Industrial Futurist Design System
   Palette: Hot Steel Orange · Industrial Grays · Black/Steel
   ========================================================================== */

:root {
  /* Brand — Hot Steel */
  --orange-500: #fcbe03;
  --orange-400: #ff9f1a;
  --orange-600: #e8910a;
  --orange-hot: #ff6b00;
  --orange-glow: rgba(252, 190, 3, 0.45);
  --orange-neon: rgba(255, 140, 0, 0.65);

  /* Steel & Industrial */
  --black: #050505;
  --steel-950: #0a0a0c;
  --steel-900: #111114;
  --steel-850: #16161a;
  --steel-800: #1c1c22;
  --steel-700: #2a2a32;
  --steel-600: #3d3d48;
  --steel-500: #5c5c68;
  --steel-400: #8a8a96;
  --steel-300: #b4b4be;
  --steel-200: #d6d6dc;
  --steel-100: #ececf0;

  /* Accents from logo DNA */
  --brand-blue: #2b6cb0;
  --brand-red: #c41e2a;

  /* Surfaces */
  --glass-bg: rgba(22, 22, 28, 0.62);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-highlight: rgba(255, 255, 255, 0.12);

  /* Typography */
  --font: "Plus Jakarta Sans", system-ui, sans-serif;
  --text: var(--steel-100);
  --text-muted: var(--steel-400);

  /* Layout */
  --header-h: 76px;
  --container: 1180px;
  --radius: 2px;
  --radius-md: 4px;

  /* Motion */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-steel: cubic-bezier(0.16, 1, 0.3, 1);
  --dur: 0.45s;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  font-family: var(--font);
  background: var(--steel-950);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

body.has-custom-cursor {
  cursor: none;
}

body.modal-open { overflow: hidden; }

@media (hover: none), (pointer: coarse) {
  body.has-custom-cursor { cursor: auto; }
  .cursor, .cursor-trail { display: none !important; }
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: none; background: none; }

::selection {
  background: var(--orange-500);
  color: var(--black);
}

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

main {
  position: relative;
  z-index: 2;
  background: var(--steel-950);
}

/* --------------------------------------------------------------------------
   Custom Cursor
   -------------------------------------------------------------------------- */
.cursor,
.cursor-trail {
  position: fixed;
  top: 0; left: 0;
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
  will-change: transform, width, height, background;
  opacity: 0;
}

.cursor {
  width: 12px;
  height: 12px;
  background: var(--orange-500);
  box-shadow: 0 0 12px var(--orange-glow);
  transition: width 0.2s, height 0.2s, background 0.2s, box-shadow 0.2s;
  mix-blend-mode: screen;
}

.cursor.is-hot {
  width: 42px;
  height: 42px;
  background: transparent;
  border: 1.5px solid var(--orange-400);
  box-shadow: 0 0 20px var(--orange-neon), inset 0 0 12px rgba(255, 140, 0, 0.2);
}

.cursor-trail {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(252, 190, 3, 0.35);
  transition: width 0.35s, height 0.35s, border-color 0.3s, opacity 0.3s;
  opacity: 0.7;
}

.cursor-trail.is-hot {
  width: 64px;
  height: 64px;
  border-color: var(--orange-hot);
  opacity: 1;
}

/* --------------------------------------------------------------------------
   Scroll Progress
   -------------------------------------------------------------------------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 3px;
  height: 0%;
  background: linear-gradient(180deg, var(--orange-500), var(--orange-hot));
  box-shadow: 0 0 12px var(--orange-glow);
  z-index: 9998;
  transition: height 0.05s linear;
}

@media (min-width: 900px) {
  .scroll-progress {
    top: 0;
    left: auto;
    right: 0;
    width: 3px;
    height: 0%;
  }
}

/* --------------------------------------------------------------------------
   Particles
   -------------------------------------------------------------------------- */
.particles-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
  opacity: 0.35;
}

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

.btn--sm {
  padding: 0.55rem 1rem;
  font-size: 0.75rem;
}

.btn--hot {
  color: var(--black);
  background: linear-gradient(135deg, var(--orange-500) 0%, var(--orange-400) 45%, var(--orange-hot) 100%);
  background-size: 160% 160%;
  box-shadow:
    0 0 0 1px rgba(255, 200, 80, 0.25),
    0 8px 28px rgba(252, 190, 3, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
  animation: hotSteel 6s ease-in-out infinite;
}

.btn--hot:hover {
  transform: translateY(-2px);
  box-shadow:
    0 0 0 1px rgba(255, 200, 80, 0.4),
    0 12px 36px rgba(255, 107, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.btn--ghost {
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
  border-color: var(--glass-border);
  backdrop-filter: blur(10px);
}

.btn--ghost:hover {
  border-color: var(--orange-500);
  color: var(--orange-500);
  box-shadow: 0 0 20px rgba(252, 190, 3, 0.15);
}

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

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  transition: background 0.35s var(--ease-out), box-shadow 0.35s, backdrop-filter 0.35s;
}

.site-header.is-scrolled {
  background: rgba(10, 10, 12, 0.88);
  backdrop-filter: blur(16px) saturate(1.2);
  box-shadow: 0 1px 0 var(--glass-border), 0 12px 40px rgba(0, 0, 0, 0.45);
}

.header-inner {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

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

.brand-glow {
  position: absolute;
  inset: -30% -18%;
  background: radial-gradient(ellipse at center, var(--orange-glow) 0%, transparent 70%);
  opacity: 0.9;
  filter: blur(16px);
  transition: opacity 0.4s;
  pointer-events: none;
  z-index: -1;
}

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

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-gear {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  filter: drop-shadow(0 3px 8px rgba(0, 0, 0, 0.55)) drop-shadow(0 0 14px rgba(0, 110, 200, 0.35));
}

.logo-gear img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  animation: gearSpin 12s linear infinite;
  transform-origin: 50% 50%;
}

.logo-gear--static img {
  animation: none;
}

.logo-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1;
  gap: 0.18rem;
  background: transparent;
}

.logo-name {
  font-family: var(--font);
  font-size: clamp(1.15rem, 2.6vw, 1.55rem);
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #e31b2b;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.15),
    0 2px 4px rgba(0, 0, 0, 0.65);
  background: linear-gradient(180deg, #ff4d5a 0%, #e31b2b 48%, #a0101c 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.85));
}

.logo-legal {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #e31b2b;
  opacity: 0.95;
}

.logo-rules {
  display: block;
  width: 100%;
  height: 6px;
  margin-top: 0.12rem;
  background:
    linear-gradient(90deg, #fcbe03, #ff9f1a) 0 0 / 100% 2px no-repeat,
    linear-gradient(90deg, #fcbe03, #e8910a) 0 100% / 100% 2px no-repeat;
}

.logo--footer .logo-gear,
.logo--footer .logo-gear img {
  width: 44px;
  height: 44px;
}

.logo--footer .logo-name {
  font-size: 1.25rem;
}

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

@media (prefers-reduced-motion: reduce) {
  .logo-gear img { animation: none; }
}

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

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.nav-link {
  position: relative;
  padding: 0.5rem 0.75rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--steel-300);
  transition: color 0.25s;
}

.nav-link:hover,
.nav-link.active {
  color: var(--orange-500);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0.75rem;
  right: 0.75rem;
  bottom: 0.2rem;
  height: 1px;
  background: linear-gradient(90deg, var(--orange-500), var(--orange-hot));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease-out);
  box-shadow: 0 0 8px var(--orange-glow);
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

.nav-link--accent {
  color: var(--orange-400);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  z-index: 3;
}

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

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

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

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

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

  .site-nav ul {
    flex-direction: column;
    gap: 0.5rem;
  }

  .nav-link {
    font-size: 1.25rem;
    font-weight: 200;
    letter-spacing: 0.12em;
  }
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: flex-end;
  padding: calc(var(--header-h) + 2rem) 0 5rem;
  z-index: 1;
  overflow: hidden;
  background: var(--steel-950);
}

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

.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 1.2s var(--ease-out), transform 8s linear;
}

.hero-img--active {
  opacity: 1;
  transform: scale(1);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 5, 5, 0.55) 0%, rgba(5, 5, 5, 0.28) 35%, rgba(5, 5, 5, 0.88) 100%),
    linear-gradient(90deg, rgba(5, 5, 5, 0.72) 0%, rgba(5, 5, 5, 0.25) 55%, transparent 100%);
  z-index: 1;
}

.hero-grid {
  position: absolute;
  inset: 0;
  z-index: 2;
  background-image:
    linear-gradient(rgba(252, 190, 3, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(252, 190, 3, 0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(180deg, transparent, black 30%, black 70%, transparent);
  pointer-events: none;
}

.hero-content {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
  position: relative;
  z-index: 3;
  max-width: 880px;
}

.hero-eyebrow {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 0.35rem 0.85rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange-500);
  border: 1px solid rgba(252, 190, 3, 0.35);
  background: rgba(252, 190, 3, 0.08);
  backdrop-filter: blur(8px);
  box-shadow: 0 0 20px rgba(252, 190, 3, 0.12);
}

.hero-slides-copy {
  position: relative;
  min-height: clamp(10rem, 30vw, 15rem);
  margin-bottom: 1.25rem;
}

.hero-copy {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: opacity 0.55s var(--ease-steel), transform 0.55s var(--ease-steel);
  visibility: hidden;
}

.hero-copy.is-active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  visibility: visible;
  position: relative;
}

.hero-kicker {
  margin-bottom: 0.65rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--steel-300);
}

.hero-title {
  font-size: clamp(1.85rem, 5.2vw, 3.6rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: #fff;
  text-wrap: balance;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.55);
}

.hero-accent {
  background: linear-gradient(115deg, var(--orange-500) 0%, var(--orange-400) 45%, var(--orange-hot) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 18px rgba(252, 190, 3, 0.35));
}

.hero-lead {
  max-width: 36rem;
  font-size: 1.05rem;
  font-weight: 300;
  color: var(--steel-200);
  margin-bottom: 1.75rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 1.5rem;
}

.hero-dots {
  display: flex;
  gap: 0.5rem;
}

.hero-dot {
  width: 28px;
  height: 3px;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 1px;
  transition: background 0.3s, width 0.3s, box-shadow 0.3s;
}

.hero-dot.is-active {
  width: 44px;
  background: linear-gradient(90deg, var(--orange-500), var(--orange-hot));
  box-shadow: 0 0 12px var(--orange-glow);
}

.scroll-hint {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  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);
}

.scroll-hint__line {
  width: 1px;
  height: 40px;
  background: linear-gradient(180deg, var(--orange-500), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

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

/* --------------------------------------------------------------------------
   Sections common
   -------------------------------------------------------------------------- */
.section {
  position: relative;
  z-index: 2;
  padding: 5.5rem 0;
  background: var(--steel-950);
}

.section-head {
  max-width: 640px;
  margin-bottom: 3rem;
}

.section-tag {
  display: inline-block;
  margin-bottom: 0.85rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--orange-500);
}

.section-tag--hot {
  padding: 0.25rem 0.7rem;
  border: 1px solid rgba(252, 190, 3, 0.4);
  background: rgba(252, 190, 3, 0.08);
  box-shadow: 0 0 16px rgba(252, 190, 3, 0.15);
}

.section-title {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 1rem;
  color: var(--steel-100);
}

.section-lead {
  font-size: 1.05rem;
  font-weight: 300;
  color: var(--text-muted);
}

/* Reveal — ALWAYS visible (landing must never hide content) */
.reveal,
.reveal.is-visible,
[data-reveal] {
  opacity: 1 !important;
  transform: none !important;
  visibility: visible !important;
}

/* Glass */
.glass {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(18px) saturate(1.15);
  box-shadow:
    inset 0 1px 0 var(--glass-highlight),
    0 20px 50px rgba(0, 0, 0, 0.35);
}

/* --------------------------------------------------------------------------
   About / Stats
   -------------------------------------------------------------------------- */
.about {
  background:
    radial-gradient(ellipse 60% 40% at 10% 0%, rgba(252, 190, 3, 0.06), transparent),
    var(--steel-950);
}

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

@media (min-width: 768px) {
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
}

.stat-card {
  padding: 1.75rem 1.25rem;
  text-align: center;
  border-radius: var(--radius-md);
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--orange-500), transparent);
  opacity: 0.7;
}

.stat-number {
  display: block;
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, var(--steel-100), var(--orange-500));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1.1;
  margin-bottom: 0.35rem;
}

.stat-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--steel-400);
}

.pillars {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 700px) {
  .pillars { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1000px) {
  .pillars { grid-template-columns: repeat(4, 1fr); }
}

.pillar {
  padding: 1.5rem 0;
  border-top: 1px solid var(--steel-700);
}

.pillar i {
  font-size: 1.4rem;
  color: var(--orange-500);
  margin-bottom: 1rem;
  filter: drop-shadow(0 0 8px var(--orange-glow));
}

.pillar h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  letter-spacing: 0.02em;
}

.pillar p {
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   Services — 3D tilt cards
   -------------------------------------------------------------------------- */
.services {
  background: var(--steel-900);
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

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

.service-card {
  position: relative;
  padding: 2rem 1.75rem;
  background: var(--steel-850);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  transform-style: preserve-3d;
  transition: border-color 0.35s, box-shadow 0.35s;
  overflow: hidden;
  will-change: transform;
}

.service-card__glow {
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(252, 190, 3, 0.18), transparent 45%);
  opacity: 0;
  transition: opacity 0.35s;
  pointer-events: none;
}

.service-card:hover {
  border-color: rgba(252, 190, 3, 0.35);
  box-shadow:
    0 0 0 1px rgba(252, 190, 3, 0.15),
    0 25px 50px rgba(0, 0, 0, 0.45),
    0 0 40px rgba(252, 190, 3, 0.08);
}

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

.service-card__icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  margin-bottom: 1.25rem;
  border: 1px solid rgba(252, 190, 3, 0.3);
  background: rgba(252, 190, 3, 0.06);
  color: var(--orange-500);
  font-size: 1.25rem;
  transform: translateZ(30px);
  box-shadow: 0 0 20px rgba(252, 190, 3, 0.12);
}

.service-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  transform: translateZ(24px);
}

.service-card ul {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  transform: translateZ(16px);
}

.service-card li {
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--steel-300);
  padding-left: 1rem;
  position: relative;
}

.service-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 1px;
  background: var(--orange-500);
}

/* --------------------------------------------------------------------------
   Catalog — Showroom Masonry
   -------------------------------------------------------------------------- */
.catalog {
  background:
    radial-gradient(ellipse 50% 30% at 80% 10%, rgba(255, 107, 0, 0.07), transparent),
    var(--steel-950);
}

.catalog-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.filter-btn {
  padding: 0.55rem 1rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--steel-400);
  border: 1px solid var(--steel-700);
  border-radius: var(--radius);
  background: transparent;
  transition: color 0.25s, border-color 0.25s, background 0.25s, box-shadow 0.25s;
}

.filter-btn:hover,
.filter-btn.active {
  color: var(--orange-500);
  border-color: rgba(252, 190, 3, 0.5);
  background: rgba(252, 190, 3, 0.08);
  box-shadow: 0 0 16px rgba(252, 190, 3, 0.12);
}

.catalog-masonry {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  grid-auto-flow: dense;
}

@media (min-width: 640px) {
  .catalog-masonry {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1000px) {
  .catalog-masonry {
    grid-template-columns: repeat(12, 1fr);
  }

  .product-card { grid-column: span 4; }
  .product-card--lg { grid-column: span 6; grid-row: span 2; }
  .product-card--wide { grid-column: span 8; }
  .product-card--tall { grid-column: span 4; grid-row: span 2; }
}

.product-card {
  display: flex;
  flex-direction: column;
  background: var(--steel-850);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.35s, transform 0.35s var(--ease-out), box-shadow 0.35s, opacity 0.4s;
}

.product-card.is-hidden {
  display: none;
}

.product-card:hover {
  border-color: rgba(252, 190, 3, 0.35);
  transform: translateY(-4px);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.45), 0 0 30px rgba(252, 190, 3, 0.08);
}

.product-card__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 11;
  background: var(--steel-800);
}

.product-card--lg .product-card__media,
.product-card--tall .product-card__media {
  aspect-ratio: auto;
  flex: 1;
  min-height: 220px;
}

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

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

.product-card__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(5, 5, 5, 0.75) 100%);
  opacity: 0.6;
  transition: opacity 0.4s;
  pointer-events: none;
}

.product-card:hover .product-card__shade {
  opacity: 1;
  background: linear-gradient(180deg, rgba(5, 5, 5, 0.2), rgba(5, 5, 5, 0.85));
}

.product-code {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  z-index: 2;
  padding: 0.3rem 0.55rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--orange-500);
  background: rgba(5, 5, 5, 0.7);
  border: 1px solid rgba(252, 190, 3, 0.35);
  backdrop-filter: blur(8px);
}

.product-card__body {
  padding: 1.25rem 1.35rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  flex-shrink: 0;
}

.product-card__body h3 {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.product-card__body p {
  font-size: 0.875rem;
  font-weight: 300;
  color: var(--steel-400);
  flex: 1;
}

/* WhatsApp metallic button */
.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  margin-top: 0.5rem;
  padding: 0.75rem 1.1rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #e8ffe8;
  border-radius: var(--radius);
  border: 1px solid rgba(80, 220, 120, 0.45);
  background:
    linear-gradient(145deg, #1a3d28 0%, #25d366 35%, #128c4a 70%, #0d5c32 100%);
  background-size: 200% 200%;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.08) inset,
    0 1px 0 rgba(180, 255, 200, 0.35) inset,
    0 8px 24px rgba(18, 140, 74, 0.35),
    0 0 20px rgba(37, 211, 102, 0.2);
  transition: transform 0.25s, box-shadow 0.25s, background-position 0.4s;
  animation: metalGreen 5s ease-in-out infinite;
}

.btn-whatsapp:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.15) inset,
    0 1px 0 rgba(200, 255, 220, 0.5) inset,
    0 12px 32px rgba(18, 140, 74, 0.5),
    0 0 32px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp i { font-size: 1.1rem; }

.btn-whatsapp--block {
  width: 100%;
  margin-top: 1.25rem;
}

@keyframes metalGreen {
  0%, 100% { background-position: 0% 40%; }
  50% { background-position: 100% 60%; }
}

/* --------------------------------------------------------------------------
   Projects / Timeline
   -------------------------------------------------------------------------- */
.projects {
  background: var(--steel-900);
  overflow: hidden;
}

.timeline-wrap {
  overflow-x: auto;
  padding: 1rem 0 2.5rem;
  scrollbar-width: thin;
  scrollbar-color: var(--orange-500) var(--steel-800);
}

.timeline {
  display: flex;
  gap: 0;
  width: max-content;
  padding: 0 max(1rem, calc((100vw - var(--container)) / 2));
  position: relative;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 28px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--steel-600) 5%, var(--orange-500) 50%, var(--steel-600) 95%, transparent);
}

.timeline-item {
  position: relative;
  width: min(280px, 75vw);
  padding: 4rem 1.5rem 0 0;
  margin-right: 1.5rem;
}

.timeline-item::before {
  content: "";
  position: absolute;
  top: 20px;
  left: 0;
  width: 16px;
  height: 16px;
  border-radius: 1px;
  background: var(--steel-900);
  border: 2px solid var(--orange-500);
  box-shadow: 0 0 14px var(--orange-glow);
  transform: rotate(45deg);
}

.timeline-year {
  display: block;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  color: var(--orange-500);
  margin-bottom: 0.65rem;
}

.timeline-item h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

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

.partners-strip {
  border-top: 1px solid var(--steel-700);
  padding-top: 2.5rem;
}

.partners-label {
  text-align: center;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--steel-500);
  margin-bottom: 1.5rem;
}

.partners-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2rem 2.5rem;
}

.partners-row img {
  height: 42px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
  filter: grayscale(1) brightness(1.2) contrast(0.9);
  opacity: 0.55;
  transition: filter 0.3s, opacity 0.3s;
}

.partners-row img:hover {
  filter: none;
  opacity: 1;
}

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */
.contact {
  background:
    radial-gradient(ellipse 40% 50% at 0% 100%, rgba(252, 190, 3, 0.08), transparent),
    var(--steel-950);
}

.contact-grid {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 860px) {
  .contact-grid {
    grid-template-columns: 1.3fr 0.7fr;
    align-items: start;
  }
}

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

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

.contact-list i {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(252, 190, 3, 0.3);
  color: var(--orange-500);
  flex-shrink: 0;
  background: rgba(252, 190, 3, 0.05);
}

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

.contact-list a,
.contact-list span {
  display: block;
  font-weight: 500;
  color: var(--steel-100);
}

.contact-list a:hover { color: var(--orange-500); }

.contact-panel {
  padding: 2rem;
  border-radius: var(--radius-md);
}

.contact-panel h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.contact-panel p {
  font-weight: 300;
  color: var(--steel-400);
  font-size: 0.95rem;
}

/* --------------------------------------------------------------------------
   Modal Form
   -------------------------------------------------------------------------- */
.modal[hidden] { display: none; }

.modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(6px);
  animation: fadeIn 0.3s ease;
}

.modal__panel {
  position: relative;
  width: min(100%, 520px);
  max-height: min(92vh, 720px);
  overflow-y: auto;
  padding: 2rem 1.75rem 1.75rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(252, 190, 3, 0.2);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.04),
    0 30px 80px rgba(0, 0, 0, 0.65),
    0 0 60px rgba(252, 190, 3, 0.08);
  animation: modalUp 0.45s var(--ease-steel);
}

.modal__panel h2 {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.4rem;
}

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

.modal__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: var(--steel-300);
  border: 1px solid var(--steel-700);
  transition: color 0.2s, border-color 0.2s;
}

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

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes modalUp {
  from { opacity: 0; transform: translateY(24px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.motive-fieldset {
  border: none;
}

.motive-fieldset legend {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--steel-400);
  margin-bottom: 0.75rem;
}

.motive-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
}

@media (min-width: 480px) {
  .motive-grid { grid-template-columns: repeat(3, 1fr); }
}

.motive-option {
  cursor: pointer;
}

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

.motive-option span {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  padding: 0.85rem 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-align: center;
  border: 1px solid var(--steel-700);
  background: rgba(255, 255, 255, 0.02);
  transition: border-color 0.25s, background 0.25s, box-shadow 0.25s, color 0.25s;
}

.motive-option span i {
  font-size: 1.15rem;
  color: var(--steel-400);
  transition: color 0.25s;
}

.motive-option:hover span,
.motive-option input:checked + span {
  border-color: rgba(252, 190, 3, 0.55);
  background: rgba(252, 190, 3, 0.08);
  color: var(--orange-500);
  box-shadow: 0 0 18px rgba(252, 190, 3, 0.12);
}

.motive-option:hover span i,
.motive-option input:checked + span i {
  color: var(--orange-500);
}

/* Floating labels — glass inputs */
.field {
  position: relative;
}

.field input,
.field textarea {
  width: 100%;
  padding: 1.35rem 1rem 0.65rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--steel-700);
  border-radius: var(--radius);
  color: var(--steel-100);
  outline: none;
  transition: border-color 0.25s, box-shadow 0.25s, background 0.25s;
  box-shadow:
    inset 2px 2px 6px rgba(0, 0, 0, 0.35),
    inset -1px -1px 3px rgba(255, 255, 255, 0.04);
}

.field textarea {
  resize: vertical;
  min-height: 110px;
}

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

.field--textarea label {
  top: 1.1rem;
  transform: none;
}

.field input:focus,
.field textarea:focus,
.field input:not(:placeholder-shown),
.field textarea:not(:placeholder-shown) {
  border-color: rgba(252, 190, 3, 0.55);
  background: rgba(252, 190, 3, 0.04);
  box-shadow:
    inset 2px 2px 6px rgba(0, 0, 0, 0.3),
    0 0 0 1px rgba(252, 190, 3, 0.15),
    0 0 20px rgba(252, 190, 3, 0.1);
}

.field input:focus + label,
.field textarea:focus + label,
.field input:not(:placeholder-shown) + label,
.field textarea:not(:placeholder-shown) + label {
  top: 0.4rem;
  transform: none;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange-500);
}

.btn--submit {
  width: 100%;
  min-height: 52px;
  margin-top: 0.25rem;
}

.btn--submit .btn-spinner,
.btn--submit .btn-check {
  display: none;
}

.btn--submit.is-loading .btn-label { display: none; }
.btn--submit.is-loading .btn-spinner {
  display: block;
  width: 22px;
  height: 22px;
  border: 2px solid rgba(0, 0, 0, 0.2);
  border-top-color: var(--black);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

.btn--submit.is-success {
  background: linear-gradient(135deg, #2ecc71, #27ae60);
  animation: none;
}

.btn--submit.is-success .btn-label,
.btn--submit.is-success .btn-spinner { display: none; }
.btn--submit.is-success .btn-check {
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  animation: checkPop 0.4s var(--ease-out);
}

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

@keyframes checkPop {
  from { transform: scale(0.4); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.form-status {
  min-height: 1.25rem;
  font-size: 0.85rem;
  text-align: center;
  color: var(--steel-400);
}

.form-status.is-error { color: #ff6b6b; }
.form-status.is-ok { color: #2ecc71; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
  position: relative;
  z-index: 2;
  background: var(--black);
  border-top: 1px solid var(--steel-800);
  padding-top: 3.5rem;
}

.footer-grid {
  display: grid;
  gap: 2rem;
  padding-bottom: 2.5rem;
}

@media (min-width: 700px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

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

.footer-nav h4,
.footer-social h4 {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange-500);
  margin-bottom: 1rem;
}

.footer-nav a {
  display: block;
  padding: 0.25rem 0;
  font-size: 0.9rem;
  color: var(--steel-400);
  transition: color 0.2s;
}

.footer-nav a:hover { color: var(--orange-500); }

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

.social-links a {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--steel-700);
  color: var(--steel-300);
  transition: color 0.25s, border-color 0.25s, box-shadow 0.25s;
}

.social-links a:hover {
  color: var(--orange-500);
  border-color: var(--orange-500);
  box-shadow: 0 0 16px rgba(252, 190, 3, 0.2);
}

.footer-bottom {
  border-top: 1px solid var(--steel-800);
  padding: 1.25rem 0;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: var(--steel-500);
  text-align: center;
}

/* Back top */
.back-top {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 900;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: var(--steel-800);
  border: 1px solid var(--steel-600);
  color: var(--steel-100);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.3s, visibility 0.3s, transform 0.3s, border-color 0.3s, background 0.3s;
}

.back-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-top:hover {
  border-color: var(--orange-500);
  background: rgba(252, 190, 3, 0.12);
  color: var(--orange-500);
}

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